version: Constify a formal parameter of VerQueryValue{A|W}().
This commit is contained in:
parent
d50c62884a
commit
908903b7f1
|
@ -752,7 +752,7 @@ static BOOL WINAPI VersionInfo32_QueryValue( VS_VERSION_INFO_STRUCT32 *info, LPC
|
|||
/***********************************************************************
|
||||
* VerQueryValueA [VERSION.@]
|
||||
*/
|
||||
BOOL WINAPI VerQueryValueA( LPVOID pBlock, LPSTR lpSubBlock,
|
||||
BOOL WINAPI VerQueryValueA( LPVOID pBlock, LPCSTR lpSubBlock,
|
||||
LPVOID *lplpBuffer, UINT *puLen )
|
||||
{
|
||||
static const char rootA[] = "\\";
|
||||
|
@ -799,7 +799,7 @@ BOOL WINAPI VerQueryValueA( LPVOID pBlock, LPSTR lpSubBlock,
|
|||
/***********************************************************************
|
||||
* VerQueryValueW [VERSION.@]
|
||||
*/
|
||||
BOOL WINAPI VerQueryValueW( LPVOID pBlock, LPWSTR lpSubBlock,
|
||||
BOOL WINAPI VerQueryValueW( LPVOID pBlock, LPCWSTR lpSubBlock,
|
||||
LPVOID *lplpBuffer, UINT *puLen )
|
||||
{
|
||||
static const WCHAR rootW[] = { '\\', 0 };
|
||||
|
|
|
@ -159,8 +159,8 @@ DWORD WINAPI VerInstallFileW(UINT,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWST
|
|||
DWORD WINAPI VerLanguageNameA(UINT,LPSTR,UINT);
|
||||
DWORD WINAPI VerLanguageNameW(UINT,LPWSTR,UINT);
|
||||
#define VerLanguageName WINELIB_NAME_AW(VerLanguageName)
|
||||
BOOL WINAPI VerQueryValueA(LPVOID,LPSTR,LPVOID*,UINT*);
|
||||
BOOL WINAPI VerQueryValueW(LPVOID,LPWSTR,LPVOID*,UINT*);
|
||||
BOOL WINAPI VerQueryValueA(LPVOID,LPCSTR,LPVOID*,UINT*);
|
||||
BOOL WINAPI VerQueryValueW(LPVOID,LPCWSTR,LPVOID*,UINT*);
|
||||
#define VerQueryValue WINELIB_NAME_AW(VerQueryValue)
|
||||
DWORD WINAPI GetFileVersionInfoSizeA(LPCSTR,LPDWORD);
|
||||
DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR,LPDWORD);
|
||||
|
|
Loading…
Reference in New Issue