SHCoCreateInstance()
"Martin Fuchs" <[email protected]> Sat, 27 Dec 2003 23:09:20 +0100
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <001b01c3ccc6$1410ebb0$fe78a8c0@lisi> |
Changelog: 2003-11-12 Martin Fuchs [email protected] * include/shlobj.h, lib/shell32.def: added SHCoCreateInstance() Documentation: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shcocreateinstance.asp -- Martin Fuchs [email protected]
SHCoCreateInstance.patch
(application/octet-stream, 1.1 KB)
Index: include/shlobj.h =================================================================== RCS file: /cvs/src/src/winsup/w32api/include/shlobj.h,v retrieving revision 1.29 diff -u -p -d -r1.29 shlobj.h --- include/shlobj.h 8 Dec 2003 22:41:44 -0000 1.29 +++ include/shlobj.h 27 Dec 2003 22:03:49 -0000 @@ -1051,6 +1051,8 @@ typedef BROWSEINFOA BROWSEINFO,*PBROWSEI #endif #endif /* UNICODE */ +HRESULT WINAPI SHCoCreateInstance(LPCWSTR lpszCLSID, REFCLSID refClsid, IUnknown* pUnkOuter, REFIID riid, void** ppv); + #pragma pack(pop) #ifdef __cplusplus } Index: lib/shell32.def =================================================================== RCS file: /cvs/src/src/winsup/w32api/lib/shell32.def,v retrieving revision 1.6 diff -u -p -d -r1.6 shell32.def --- lib/shell32.def 13 Nov 2003 09:43:08 -0000 1.6 +++ lib/shell32.def 27 Dec 2003 22:03:49 -0000 @@ -118,6 +118,7 @@ SHCreateQueryCancelAutoPlayMoniker@4 SHCreateProcessAsUserW@4 SHCreateDirectoryExW@12 SHCreateDirectoryExA@12 +SHCoCreateInstance@20 SHChangeNotify@16 SHBrowseForFolderW@4 SHBrowseForFolderA@4