mirror of
https://github.com/reactos/reactos.git
synced 2024-10-03 07:53:49 +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
|
@ -4732,8 +4732,21 @@ RegSaveKeyExW(HKEY hKey,
|
||||||
LPSECURITY_ATTRIBUTES lpSecurityAttributes,
|
LPSECURITY_ATTRIBUTES lpSecurityAttributes,
|
||||||
DWORD Flags)
|
DWORD Flags)
|
||||||
{
|
{
|
||||||
FIXME("RegSaveKeyExW() not implemented!\n");
|
switch (Flags)
|
||||||
return ERROR_INVALID_PARAMETER;
|
{
|
||||||
|
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 SPECIFIC_RIGHTS_ALL 0xFFFF
|
||||||
#define ACCESS_SYSTEM_SECURITY 0x1000000
|
#define ACCESS_SYSTEM_SECURITY 0x1000000
|
||||||
|
|
||||||
|
#define REG_STANDARD_FORMAT 1
|
||||||
|
#define REG_LATEST_FORMAT 2
|
||||||
|
#define REG_NO_COMPRESSION 4
|
||||||
|
|
||||||
#ifndef WIN32_NO_STATUS
|
#ifndef WIN32_NO_STATUS
|
||||||
|
|
||||||
#define STATUS_WAIT_0 ((DWORD)0x00000000)
|
#define STATUS_WAIT_0 ((DWORD)0x00000000)
|
||||||
|
|
Loading…
Reference in a new issue