aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-05-10 09:20:11 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-05-10 09:20:11 +0000
commitbf759a5ae676e51f0ffb3e1bb2b3cbda24a284ea (patch)
tree4699013c9ee894d74deacf6b6cd22a14be1b72a2
parent3e66a81cd11fc823e8117b8f092a7a3c0139917d (diff)
downloadnewlib-bf759a5ae676e51f0ffb3e1bb2b3cbda24a284ea.zip
newlib-bf759a5ae676e51f0ffb3e1bb2b3cbda24a284ea.tar.gz
newlib-bf759a5ae676e51f0ffb3e1bb2b3cbda24a284ea.tar.bz2
* include/shlguid.h (CGID_ShellServiceObject): Declare.
* lib/uuid.c (CGID_ShellServiceObject): Define guid. Thanks to Chris Sutcliffe <ir0nh34d#users.sourceforge.net> * include/winuser.h (SetLayeredWindowAttributes): Add prototype. * lib/user32.def (SetLayeredWindowAttributes): Add stub. * lib/uuid.c (CGID_Explorer, CGID_ShellDocView): Define guids.
-rw-r--r--winsup/w32api/ChangeLog9
-rw-r--r--winsup/w32api/include/shlguid.h1
-rw-r--r--winsup/w32api/include/winuser.h1
-rw-r--r--winsup/w32api/lib/user32.def1
-rw-r--r--winsup/w32api/lib/uuid.c3
5 files changed, 15 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index b7a4091..6cb19b0 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,12 @@
+2003-05-10 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/shlguid.h (CGID_ShellServiceObject): Declare.
+ * lib/uuid.c (CGID_ShellServiceObject): Define guid.
+ Thanks to Chris Sutcliffe <ir0nh34d#users.sourceforge.net>
+ * 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 <dannysmith@users.sourceforge.net>
* include/commctrl.h (STATUSCLASSNAME, TOOLBARCLASSNAME,
diff --git a/winsup/w32api/include/shlguid.h b/winsup/w32api/include/shlguid.h
index 72bc6af..735ad42 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 0ef5fbc..95be10e 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 c5a2b24..7514750 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 ee2bf1d..d5917ad 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 */