mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 10:44:47 +00:00
version: Constify a formal parameter of VerQueryValue{A|W}().
This commit is contained in:
parent
d50c62884a
commit
908903b7f1
2 changed files with 4 additions and 4 deletions
|
@ -752,7 +752,7 @@ static BOOL WINAPI VersionInfo32_QueryValue( VS_VERSION_INFO_STRUCT32 *info, LPC
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* VerQueryValueA [VERSION.@]
|
* VerQueryValueA [VERSION.@]
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI VerQueryValueA( LPVOID pBlock, LPSTR lpSubBlock,
|
BOOL WINAPI VerQueryValueA( LPVOID pBlock, LPCSTR lpSubBlock,
|
||||||
LPVOID *lplpBuffer, UINT *puLen )
|
LPVOID *lplpBuffer, UINT *puLen )
|
||||||
{
|
{
|
||||||
static const char rootA[] = "\\";
|
static const char rootA[] = "\\";
|
||||||
|
@ -799,7 +799,7 @@ BOOL WINAPI VerQueryValueA( LPVOID pBlock, LPSTR lpSubBlock,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* VerQueryValueW [VERSION.@]
|
* VerQueryValueW [VERSION.@]
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI VerQueryValueW( LPVOID pBlock, LPWSTR lpSubBlock,
|
BOOL WINAPI VerQueryValueW( LPVOID pBlock, LPCWSTR lpSubBlock,
|
||||||
LPVOID *lplpBuffer, UINT *puLen )
|
LPVOID *lplpBuffer, UINT *puLen )
|
||||||
{
|
{
|
||||||
static const WCHAR rootW[] = { '\\', 0 };
|
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 VerLanguageNameA(UINT,LPSTR,UINT);
|
||||||
DWORD WINAPI VerLanguageNameW(UINT,LPWSTR,UINT);
|
DWORD WINAPI VerLanguageNameW(UINT,LPWSTR,UINT);
|
||||||
#define VerLanguageName WINELIB_NAME_AW(VerLanguageName)
|
#define VerLanguageName WINELIB_NAME_AW(VerLanguageName)
|
||||||
BOOL WINAPI VerQueryValueA(LPVOID,LPSTR,LPVOID*,UINT*);
|
BOOL WINAPI VerQueryValueA(LPVOID,LPCSTR,LPVOID*,UINT*);
|
||||||
BOOL WINAPI VerQueryValueW(LPVOID,LPWSTR,LPVOID*,UINT*);
|
BOOL WINAPI VerQueryValueW(LPVOID,LPCWSTR,LPVOID*,UINT*);
|
||||||
#define VerQueryValue WINELIB_NAME_AW(VerQueryValue)
|
#define VerQueryValue WINELIB_NAME_AW(VerQueryValue)
|
||||||
DWORD WINAPI GetFileVersionInfoSizeA(LPCSTR,LPDWORD);
|
DWORD WINAPI GetFileVersionInfoSizeA(LPCSTR,LPDWORD);
|
||||||
DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR,LPDWORD);
|
DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR,LPDWORD);
|
||||||
|
|
Loading…
Reference in a new issue