#include <winbase.h>
#include <winnls.h>
#include <winuser.h>
-#include <winternl.h>
+#include <wine/winternl.h>
#include <fmifs/fmifs.h>
#include <tchar.h>
UINT uID,
LPTSTR szStr,
int Siz
-)
+)
{
TCHAR szTmp[RC_STRING_MAX_SIZE];
- int res = LoadString(hInst, uID, szTmp, sizeof(szTmp));
+ int res = LoadString(hInst, uID, szTmp, sizeof(szTmp));
CharToOem(szTmp, szStr);
return(res);
}
#include <windef.h>
#include <winbase.h>
-#include <winternl.h>
+#include <wine/winternl.h>
#include <shlobj.h>
#include <undocshell.h>
#include <shlwapi.h>
if( r == ERROR_SUCCESS )
{
type = REG_BINARY;
- r = RegQueryValueExW( hkey, szwSettings,
+ r = RegQueryValueExW( hkey, szwSettings,
NULL, &type, (LPBYTE)cs, (LPDWORD)&length );
RegCloseKey( hkey );
-
+
}
/* if we can't read from the registry, create default values */
cs->fAdminsCreateCommonGroups = TRUE;
cs->fMenuEnumFilter = 96;
}
-
+
return TRUE;
}
NULL, 0, KEY_ALL_ACCESS, NULL, &hkey, NULL);
if( r == ERROR_SUCCESS )
{
- r = RegSetValueExW( hkey, szwSettings, 0,
+ r = RegSetValueExW( hkey, szwSettings, 0,
REG_BINARY, (LPBYTE) cs, cs->cLength);
RegCloseKey( hkey );
/************************************************************************
* DoEnvironmentSubst [SHELL32.53]
*
- * See DoEnvironmentSubstA.
+ * See DoEnvironmentSubstA.
*/
DWORD WINAPI DoEnvironmentSubstAW(LPVOID x, UINT y)
{