BOOL WINAPI VerQueryValueW( LPCVOID pBlock, LPCWSTR lpSubBlock,
LPVOID *lplpBuffer, PUINT puLen )
{
- static const WCHAR nullW[] = { 0 };
static const WCHAR rootW[] = { '\\', 0 };
static const WCHAR varfileinfoW[] = { '\\','V','a','r','F','i','l','e','I','n','f','o',
'\\','T','r','a','n','s','l','a','t','i','o','n', 0 };
if (!pBlock)
return FALSE;
- if (lpSubBlock == NULL || lpSubBlock[0] == nullW[0])
+ if (!lpSubBlock || !lpSubBlock[0])
lpSubBlock = rootW;
if ( VersionInfoIs16( info ) )
/* Figure out where the file should go; shared files default to the
system directory */
- GetSystemDirectoryW(systemDir, sizeof(systemDir)/sizeof(WCHAR));
+ GetSystemDirectoryW(systemDir, ARRAY_SIZE(systemDir));
curDir = &emptyW;
if(flags & VFFF_ISSHAREDFILE)
reactos/dll/win32/usp10 # Synced to WineStaging-4.0
reactos/dll/win32/uxtheme # Forked
reactos/dll/win32/vbscript # Synced to WineStaging-4.0
-reactos/dll/win32/version # Synced to WineStaging-3.9
+reactos/dll/win32/version # Synced to WineStaging-4.0
reactos/dll/win32/vssapi # Synced to WineStaging-2.9
reactos/dll/win32/wbemdisp # Synced to WineStaging-3.3
reactos/dll/win32/wbemprox # Synced to WineStaging-3.9