Author: gadamopoulos
Date: Thu Oct 10 09:19:45 2013
New Revision: 60595
URL:
http://svn.reactos.org/svn/reactos?rev=60595&view=rev
Log:
[shlwapi]
- QISearch should be exported by ordinal just like win2003
- Add OFFSETOFCLASS macro
Modified:
trunk/reactos/dll/win32/shlwapi/shlwapi.spec
trunk/reactos/include/psdk/shlwapi.h
Modified: trunk/reactos/dll/win32/shlwapi/shlwapi.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shlwapi/shlwapi.…
==============================================================================
--- trunk/reactos/dll/win32/shlwapi/shlwapi.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shlwapi/shlwapi.spec [iso-8859-1] Thu Oct 10 09:19:45 2013
@@ -216,7 +216,7 @@
216 stdcall -noname SHAnsiToUnicodeCP(long str ptr long)
217 stdcall -ordinal SHUnicodeToAnsi(wstr ptr ptr)
218 stdcall -noname SHUnicodeToAnsiCP(long wstr ptr long)
-219 stdcall QISearch(long long long long)
+219 stdcall -noname QISearch(long long long long)
220 stdcall -noname SHSetDefaultDialogFont(ptr long)
221 stdcall -noname SHRemoveDefaultDialogFont(ptr)
222 stdcall -noname SHGlobalCounterCreate(long)
Modified: trunk/reactos/include/psdk/shlwapi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/shlwapi.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/shlwapi.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/shlwapi.h [iso-8859-1] Thu Oct 10 09:19:45 2013
@@ -2038,6 +2038,9 @@
_In_ REFIID riid,
_Outptr_ void **ppv);
+#define OFFSETOFCLASS(base, derived) \
+ ((DWORD)(DWORD_PTR)(static_cast<base*>((derived*)8))-8)
+
#include <poppack.h>
#ifdef __cplusplus