mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
- Add some defines to winnt.h
- Partially implement RegSaveKeyExW svn path=/trunk/; revision=39410
This commit is contained in:
parent
f42c3f4048
commit
675ba8eacc
2 changed files with 19 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue