Moved DLLVERSIONINFO to shlwapi.h.
diff --git a/dlls/comctl32/commctrl.c b/dlls/comctl32/commctrl.c index 5e17ca5..c8e49e2 100644 --- a/dlls/comctl32/commctrl.c +++ b/dlls/comctl32/commctrl.c
@@ -13,6 +13,7 @@ #include "commctrl.h" #include "debugtools.h" #include "winerror.h" +#include "shlwapi.h" DEFAULT_DEBUG_CHANNEL(commctrl);
diff --git a/dlls/richedit/richedit.c b/dlls/richedit/richedit.c index e637784..6e11225 100644 --- a/dlls/richedit/richedit.c +++ b/dlls/richedit/richedit.c
@@ -17,6 +17,7 @@ #include "riched32.h" #include "richedit.h" #include "charlist.h" +#include "shlwapi.h" #include "rtf.h" #include "rtf2text.h"
diff --git a/dlls/shlwapi/shlwapi_main.c b/dlls/shlwapi/shlwapi_main.c index b94b975..05fa3e7 100644 --- a/dlls/shlwapi/shlwapi_main.c +++ b/dlls/shlwapi/shlwapi_main.c
@@ -12,6 +12,7 @@ #include "initguid.h" #include "wine/obj_base.h" #include "wine/obj_storage.h" +#include "shlwapi.h" DEFAULT_DEBUG_CHANNEL(shell);
diff --git a/include/shlwapi.h b/include/shlwapi.h index c120cbd..a3531c8 100644 --- a/include/shlwapi.h +++ b/include/shlwapi.h
@@ -130,6 +130,19 @@ DWORD WINAPI SHDeleteEmptyKeyW(HKEY hKey, LPCWSTR lpszSubKey); #define SHDeleteEmptyKey WINELIB_NAME_AW(SHDeleteEmptyKey) +typedef struct _DllVersionInfo { + DWORD cbSize; + DWORD dwMajorVersion; + DWORD dwMinorVersion; + DWORD dwBuildNumber; + DWORD dwPlatformID; +} DLLVERSIONINFO; + +#define DLLVER_PLATFORM_WINDOWS 0x00000001 // Windows 9x +#define DLLVER_PLATFORM_NT 0x00000002 // Windows NT + +typedef HRESULT (CALLBACK* DLLGETVERSIONPROC)(DLLVERSIONINFO *); + #ifdef __cplusplus } /* extern "C" */ #endif /* defined(__cplusplus) */
diff --git a/include/winbase.h b/include/winbase.h index 48fd255..d72e0d5 100644 --- a/include/winbase.h +++ b/include/winbase.h
@@ -882,14 +882,6 @@ DWORD nFileSizeLow; } WIN32_FILE_ATTRIBUTE_DATA, *LPWIN32_FILE_ATTRIBUTE_DATA; -typedef struct _DllVersionInfo { - DWORD cbSize; - DWORD dwMajorVersion; - DWORD dwMinorVersion; - DWORD dwBuildNumber; - DWORD dwPlatformID; -} DLLVERSIONINFO; - /* * This one seems to be a Win32 only definition. It also is defined with * WINAPI instead of CALLBACK in the windows headers.