From bf759a5ae676e51f0ffb3e1bb2b3cbda24a284ea Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Sat, 10 May 2003 09:20:11 +0000 Subject: [PATCH] * include/shlguid.h (CGID_ShellServiceObject): Declare. * lib/uuid.c (CGID_ShellServiceObject): Define guid. Thanks to Chris Sutcliffe * include/winuser.h (SetLayeredWindowAttributes): Add prototype. * lib/user32.def (SetLayeredWindowAttributes): Add stub. * lib/uuid.c (CGID_Explorer, CGID_ShellDocView): Define guids. --- winsup/w32api/ChangeLog | 9 +++++++++ winsup/w32api/include/shlguid.h | 1 + winsup/w32api/include/winuser.h | 1 + winsup/w32api/lib/user32.def | 1 + winsup/w32api/lib/uuid.c | 3 +++ 5 files changed, 15 insertions(+) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index b7a4091b4..6cb19b09f 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,12 @@ +2003-05-10 Danny Smith + + * include/shlguid.h (CGID_ShellServiceObject): Declare. + * lib/uuid.c (CGID_ShellServiceObject): Define guid. + Thanks to Chris Sutcliffe + * include/winuser.h (SetLayeredWindowAttributes): Add prototype. + * lib/user32.def (SetLayeredWindowAttributes): Add stub. + * lib/uuid.c (CGID_Explorer, CGID_ShellDocView): Define guids. + 2003-05-05 Danny Smith * include/commctrl.h (STATUSCLASSNAME, TOOLBARCLASSNAME, diff --git a/winsup/w32api/include/shlguid.h b/winsup/w32api/include/shlguid.h index 72bc6af49..735ad42bc 100644 --- a/winsup/w32api/include/shlguid.h +++ b/winsup/w32api/include/shlguid.h @@ -15,6 +15,7 @@ extern const GUID FMTID_Intshcut; extern const GUID FMTID_InternetSite; extern const GUID CGID_Explorer; extern const GUID CGID_ShellDocView; +extern const GUID CGID_ShellServiceObject; extern const GUID IID_INewShortcutHookA; extern const GUID IID_IShellBrowser; extern const GUID IID_IShellView; diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h index 0ef5fbc54..95be10eae 100644 --- a/winsup/w32api/include/winuser.h +++ b/winsup/w32api/include/winuser.h @@ -3361,6 +3361,7 @@ int WINAPI wvsprintfW(LPWSTR,LPCWSTR,va_list arglist); #if(WINVER >= 0x0500) BOOL WINAPI AllowSetForegroundWindow(DWORD); BOOL WINAPI LockSetForegroundWindow(UINT); +BOOL WINAPI SetLayeredWindowAttributes(HWND,COLORREF,BYTE,DWORD); #endif #ifdef UNICODE diff --git a/winsup/w32api/lib/user32.def b/winsup/w32api/lib/user32.def index c5a2b24d5..751475026 100644 --- a/winsup/w32api/lib/user32.def +++ b/winsup/w32api/lib/user32.def @@ -486,6 +486,7 @@ SetFocus@4 SetForegroundWindow@4 SetKeyboardState@4 SetLastErrorEx@8 +SetLayeredWindowAttributes@16 SetMenu@8 SetMenuContextHelpId@8 _imp__SetMenuContextHelpId@8 diff --git a/winsup/w32api/lib/uuid.c b/winsup/w32api/lib/uuid.c index ee2bf1d5b..d5917ad9f 100644 --- a/winsup/w32api/lib/uuid.c +++ b/winsup/w32api/lib/uuid.c @@ -334,3 +334,6 @@ DEFINE_GUID(OLE_DATAPATH_WMF,0x2de03,0,0,0xc0,0,0,0,0,0,0,0x46); DEFINE_GUID(OLE_DATAPATH_XBM,0x2de08,0,0,0xc0,0,0,0,0,0,0,0x46); DEFINE_GUID(SID_SContainerDispatch,0xb722be00,0x4e68,0x101b,0xa2,0xbc,0,0xaa,0,0x40,0x47,0x70); DEFINE_GUID(SID_SDataPathBrowser,0xfc4801a5,0x2ba9,0x11cf,0xa2,0x29,0,0xaa,0,0x3d,0x73,0x52); +DEFINE_GUID(CGID_Explorer,0x000214d0,0,0,0xc0,0,0,0,0,0,0,0x46); /* shlguid */ +DEFINE_GUID(CGID_ShellDocView,0x000214d1,0,0,0xc0,0,0,0,0,0,0,0x46); /* shlguid */ +DEFINE_GUID(CGID_ShellServiceObject,0x000214d2,0,0,0xc0,0,0,0,0,0,0,0x46); /* shlguid */