- Add some defines to winnt.h

- Partially implement RegSaveKeyExW

svn path=/trunk/; revision=39410
This commit is contained in:
Dmitry Chapyshev 2009-02-05 14:18:20 +00:00
parent f42c3f4048
commit 675ba8eacc
2 changed files with 19 additions and 2 deletions

View file

@ -4732,8 +4732,21 @@ RegSaveKeyExW(HKEY hKey,
LPSECURITY_ATTRIBUTES lpSecurityAttributes,
DWORD Flags)
{
FIXME("RegSaveKeyExW() not implemented!\n");
return ERROR_INVALID_PARAMETER;
switch (Flags)
{
case REG_STANDARD_FORMAT:
case REG_LATEST_FORMAT:
case REG_NO_COMPRESSION:
break;
default:
return ERROR_INVALID_PARAMETER;
}
FIXME("RegSaveKeyExW(): Flags ignored!\n");
return RegSaveKeyW(hKey,
lpFile,
lpSecurityAttributes);
}

View file

@ -277,6 +277,10 @@ typedef DWORD FLONG;
#define SPECIFIC_RIGHTS_ALL 0xFFFF
#define ACCESS_SYSTEM_SECURITY 0x1000000
#define REG_STANDARD_FORMAT 1
#define REG_LATEST_FORMAT 2
#define REG_NO_COMPRESSION 4
#ifndef WIN32_NO_STATUS
#define STATUS_WAIT_0 ((DWORD)0x00000000)