Commit a1f0d535 authored by Alexandre Julliard's avatar Alexandre Julliard

include: Use proper dllimports for version functions.

parent e5ac04db
...@@ -31,30 +31,31 @@ extern "C" { ...@@ -31,30 +31,31 @@ extern "C" {
/* function prototypes */ /* function prototypes */
DWORD WINAPI VerFindFileA(DWORD,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT,LPSTR,PUINT); DWORD WINAPI VerInstallFileA(DWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT);
DWORD WINAPI VerFindFileW(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT,LPWSTR,PUINT); DWORD WINAPI VerInstallFileW(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT);
#define VerFindFile WINELIB_NAME_AW(VerFindFile) #define VerInstallFile WINELIB_NAME_AW(VerInstallFile)
DWORD WINAPI VerInstallFileA(DWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT);
DWORD WINAPI VerInstallFileW(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT); WINBASEAPI DWORD WINAPI VerFindFileA(DWORD,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT,LPSTR,PUINT);
#define VerInstallFile WINELIB_NAME_AW(VerInstallFile) WINBASEAPI DWORD WINAPI VerFindFileW(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT,LPWSTR,PUINT);
DWORD WINAPI VerLanguageNameA(DWORD,LPSTR,DWORD); #define VerFindFile WINELIB_NAME_AW(VerFindFile)
DWORD WINAPI VerLanguageNameW(DWORD,LPWSTR,DWORD); WINBASEAPI DWORD WINAPI VerLanguageNameA(DWORD,LPSTR,DWORD);
#define VerLanguageName WINELIB_NAME_AW(VerLanguageName) WINBASEAPI DWORD WINAPI VerLanguageNameW(DWORD,LPWSTR,DWORD);
BOOL WINAPI VerQueryValueA(LPCVOID,LPCSTR,LPVOID*,PUINT); #define VerLanguageName WINELIB_NAME_AW(VerLanguageName)
BOOL WINAPI VerQueryValueW(LPCVOID,LPCWSTR,LPVOID*,PUINT); WINBASEAPI BOOL WINAPI VerQueryValueA(LPCVOID,LPCSTR,LPVOID*,PUINT);
#define VerQueryValue WINELIB_NAME_AW(VerQueryValue) WINBASEAPI BOOL WINAPI VerQueryValueW(LPCVOID,LPCWSTR,LPVOID*,PUINT);
DWORD WINAPI GetFileVersionInfoSizeA(LPCSTR,LPDWORD); #define VerQueryValue WINELIB_NAME_AW(VerQueryValue)
DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR,LPDWORD); WINBASEAPI DWORD WINAPI GetFileVersionInfoSizeA(LPCSTR,LPDWORD);
#define GetFileVersionInfoSize WINELIB_NAME_AW(GetFileVersionInfoSize) WINBASEAPI DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR,LPDWORD);
BOOL WINAPI GetFileVersionInfoA(LPCSTR,DWORD,DWORD,LPVOID); #define GetFileVersionInfoSize WINELIB_NAME_AW(GetFileVersionInfoSize)
BOOL WINAPI GetFileVersionInfoW(LPCWSTR,DWORD,DWORD,LPVOID); WINBASEAPI BOOL WINAPI GetFileVersionInfoA(LPCSTR,DWORD,DWORD,LPVOID);
#define GetFileVersionInfo WINELIB_NAME_AW(GetFileVersionInfo) WINBASEAPI BOOL WINAPI GetFileVersionInfoW(LPCWSTR,DWORD,DWORD,LPVOID);
DWORD WINAPI GetFileVersionInfoSizeExA(DWORD,LPCSTR,LPDWORD); #define GetFileVersionInfo WINELIB_NAME_AW(GetFileVersionInfo)
DWORD WINAPI GetFileVersionInfoSizeExW(DWORD,LPCWSTR,LPDWORD); WINBASEAPI DWORD WINAPI GetFileVersionInfoSizeExA(DWORD,LPCSTR,LPDWORD);
#define GetFileVersionInfoSizeEx WINELIB_NAME_AW(GetFileVersionInfoSizeEx) WINBASEAPI DWORD WINAPI GetFileVersionInfoSizeExW(DWORD,LPCWSTR,LPDWORD);
BOOL WINAPI GetFileVersionInfoExA(DWORD,LPCSTR,DWORD,DWORD,LPVOID); #define GetFileVersionInfoSizeEx WINELIB_NAME_AW(GetFileVersionInfoSizeEx)
BOOL WINAPI GetFileVersionInfoExW(DWORD,LPCWSTR,DWORD,DWORD,LPVOID); WINBASEAPI BOOL WINAPI GetFileVersionInfoExA(DWORD,LPCSTR,DWORD,DWORD,LPVOID);
#define GetFileVersionInfoEx WINELIB_NAME_AW(GetFileVersionInfoEx) WINBASEAPI BOOL WINAPI GetFileVersionInfoExW(DWORD,LPCWSTR,DWORD,DWORD,LPVOID);
#define GetFileVersionInfoEx WINELIB_NAME_AW(GetFileVersionInfoEx)
#endif /* RC_INVOKED */ #endif /* RC_INVOKED */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment