File Index Symbol Index

#include <winapifamily.h>
#ifndef VER_H
#define VER_H
#include <SpecStrings.h> #include <verrsrc.h>
#ifdef __cplusplus
extern
"C"
{
#endif
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
#ifndef RC_INVOKED /* RC doesn't need to see the rest of this */
/* ----- Function prototypes ----- */
DWORD
VerFindFileA
( );
DWORD
VerFindFileW
( );
#ifdef UNICODE
#define VerFindFile VerFindFileW
#else
#define VerFindFile VerFindFileA #endif // !UNICODE
#endif // RC_INVOKED
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion #pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#ifndef RC_INVOKED
DWORD
VerInstallFileA
( );
DWORD
VerInstallFileW
( );
#ifdef UNICODE
#define VerInstallFile VerInstallFileW
#else
#define VerInstallFile VerInstallFileA #endif // !UNICODE
#endif // RC_INVOKED
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion #pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
#ifndef RC_INVOKED
/* Returns size of version info in bytes */
DWORD
GetFileVersionInfoSizeA
( );
/* Returns size of version info in bytes */
DWORD
GetFileVersionInfoSizeW
( );
#ifdef UNICODE
#define GetFileVersionInfoSize GetFileVersionInfoSizeW
#else
#define GetFileVersionInfoSize GetFileVersionInfoSizeA #endif // !UNICODE
/* Read version info into buffer */
BOOL
GetFileVersionInfoA
( );
/* Read version info into buffer */
BOOL
GetFileVersionInfoW
( );
#ifdef UNICODE
#define GetFileVersionInfo GetFileVersionInfoW
#else
#define GetFileVersionInfo GetFileVersionInfoA #endif // !UNICODE
#endif // RC_INVOKED
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion #pragma region Application or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
#ifndef RC_INVOKED
#ifdef UNICODE
#define GetFileVersionInfoSizeEx GetFileVersionInfoSizeExW
#else
#define GetFileVersionInfoSizeEx GetFileVersionInfoSizeExA #endif // !UNICODE
#ifdef UNICODE
#define GetFileVersionInfoEx GetFileVersionInfoExW
#else
#define GetFileVersionInfoEx GetFileVersionInfoExA #endif // !UNICODE
#endif // RC_INVOKED
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion #pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#ifndef RC_INVOKED
#endif /* !RC_INVOKED */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion #pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
#ifndef RC_INVOKED
DWORD
VerLanguageNameA
( );
DWORD
VerLanguageNameW
( );
#ifdef UNICODE
#define VerLanguageName VerLanguageNameW
#else
#define VerLanguageName VerLanguageNameA #endif // !UNICODE
BOOL
VerQueryValueA
( );
BOOL
VerQueryValueW
( );
#ifdef UNICODE
#define VerQueryValue VerQueryValueW
#else
#define VerQueryValue VerQueryValueA #endif // !UNICODE
#endif /* !RC_INVOKED */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#ifdef __cplusplus
}
#endif
#endif /* !VER_H */