Re: GetShellWindow() [resend]
Earnie Boyd <earnie_boyd-/[email protected]> Sat, 09 Aug 2003 07:50:12 -0400
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <[email protected]> |
Martin Fuchs wrote: > Add declaration of GetShellWindow(). > > Here is a link to the online documentation: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/getshellwindow.asp > Better, but, a ChangeLog entry isn't a difference of the ChangeLog file. A ChangeLog entry is the wording and white space you want added to the ChangeLog file. You can include the ChangeLog entry in the front of the the differences file and ``patch'' will ignore it. > > Index: ChangeLog > =================================================================== > RCS file: /cvs/src/src/winsup/w32api/ChangeLog,v > retrieving revision 1.422 > diff -u -p -d -r1.422 ChangeLog > --- ChangeLog 3 Aug 2003 09:09:07 -0000 1.422 > +++ ChangeLog 9 Aug 2003 11:33:11 -0000 > @@ -1,3 +1,7 @@ > +2003-08-09 Martin Fuchs <[email protected]> > + > + * include/winuser.h: Add GetShellWindow(). > + > 2003-08-01 Danny Smith <[email protected]> > > * include/shlobj.h (SHELLFLAGSTATE): Add structure. > Index: include/winuser.h > =================================================================== > RCS file: /cvs/src/src/winsup/w32api/include/winuser.h,v > retrieving revision 1.44 > diff -u -p -d -r1.44 winuser.h > --- include/winuser.h 26 Jul 2003 11:58:24 -0000 1.44 > +++ include/winuser.h 9 Aug 2003 07:58:27 -0000 > @@ -3060,6 +3060,9 @@ DWORD WINAPI GetQueueStatus(UINT); > BOOL WINAPI GetScrollInfo(HWND,int,LPSCROLLINFO); > int WINAPI GetScrollPos(HWND,int); > BOOL WINAPI GetScrollRange(HWND,int,LPINT,LPINT); > +#if WINVER>=0x0400 You've identified the wrong version. Minimum OS is Win2000 so WINVER >= 0x0500 is what you need. > +HWND WINAPI GetShellWindow(); > +#endif > HMENU WINAPI GetSubMenu(HMENU,int); > DWORD WINAPI GetSysColor(int); > HBRUSH WINAPI GetSysColorBrush(int); > Earnie. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01