ReactOS  0.4.13-dev-464-g6b95727
winver.h
Go to the documentation of this file.
1 #ifndef VER_H
2 #define VER_H
3 
4 #include <specstrings.h>
5 #include <verrsrc.h>
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 #ifndef RC_INVOKED
12 
25 
26 DWORD
27 WINAPI
30  _In_ LPCSTR lpwstrFilename,
31  _Out_ LPDWORD lpdwHandle);
32 
33 DWORD
34 WINAPI
37  _In_ LPCWSTR lpwstrFilename,
38  _Out_ LPDWORD lpdwHandle);
39 
40 #ifdef UNICODE
41 #define VerFindFile VerFindFileW
42 #define VerQueryValue VerQueryValueW
43 #define VerInstallFile VerInstallFileW
44 #define GetFileVersionInfoSize GetFileVersionInfoSizeW
45 #define GetFileVersionInfo GetFileVersionInfoW
46 #define VerLanguageName VerLanguageNameW
47 #define VerQueryValue VerQueryValueW
48 #define GetFileVersionInfoSizeEx GetFileVersionInfoSizeExW
49 #else
50 #define VerQueryValue VerQueryValueA
51 #define VerFindFile VerFindFileA
52 #define VerInstallFile VerInstallFileA
53 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
54 #define GetFileVersionInfo GetFileVersionInfoA
55 #define VerLanguageName VerLanguageNameA
56 #define VerQueryValue VerQueryValueA
57 #define GetFileVersionInfoSizeEx GetFileVersionInfoSizeExA
58 #endif /* UNICODE */
59 
60 #endif /* !RC_INVOKED */
61 
62 #ifdef __cplusplus
63 }
64 #endif
65 
66 #endif /* VER_H */
DWORD WINAPI GetFileVersionInfoSizeA(LPCSTR, PDWORD)
DWORD WINAPI VerInstallFileW(DWORD, LPCWSTR, LPCWSTR, LPCWSTR, LPCWSTR, LPCWSTR, LPWSTR, PUINT)
Definition: version.c:1615
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
BOOL WINAPI GetFileVersionInfoA(LPCSTR, DWORD, DWORD, PVOID)
Definition: version.c:858
char * LPSTR
Definition: xmlstorage.h:182
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD WINAPI VerLanguageNameW(DWORD, LPWSTR, DWORD)
Definition: lang.c:1689
#define _Out_
Definition: no_sal2.h:323
DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR, PDWORD)
const char * LPCSTR
Definition: xmlstorage.h:183
DWORD WINAPI VerFindFileA(DWORD, LPCSTR, LPCSTR, LPCSTR, LPSTR, PUINT, LPSTR, PUINT)
Definition: version.c:1199
BOOL WINAPI GetFileVersionInfoW(LPCWSTR, DWORD, DWORD, PVOID)
Definition: version.c:850
#define WINAPI
Definition: msvc.h:8
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD WINAPI GetFileVersionInfoSizeExA(_In_ DWORD dwFlags, _In_ LPCSTR lpwstrFilename, _Out_ LPDWORD lpdwHandle)
BOOL WINAPI VerQueryValueW(LPCVOID, LPCWSTR, LPVOID *, PUINT)
Definition: version.c:1054
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD WINAPI VerFindFileW(DWORD, LPCWSTR, LPCWSTR, LPCWSTR, LPWSTR, PUINT, LPWSTR, PUINT)
Definition: version.c:1302
DWORD WINAPI VerInstallFileA(DWORD, LPCSTR, LPCSTR, LPCSTR, LPCSTR, LPCSTR, LPSTR, PUINT)
Definition: version.c:1444
#define _In_
Definition: no_sal2.h:204
DWORD * PDWORD
Definition: pedump.c:68
DWORD WINAPI GetFileVersionInfoSizeExW(_In_ DWORD dwFlags, _In_ LPCWSTR lpwstrFilename, _Out_ LPDWORD lpdwHandle)
CONST void * LPCVOID
Definition: windef.h:191
BOOL WINAPI VerQueryValueA(LPCVOID, LPCSTR, LPVOID *, PUINT)
Definition: version.c:998
uint32_t * LPDWORD
Definition: typedefs.h:57
WCHAR * LPWSTR
Definition: xmlstorage.h:184
unsigned int * PUINT
Definition: ndis.h:50
DWORD WINAPI VerLanguageNameA(DWORD, LPSTR, DWORD)
Definition: lang.c:1678