Fixed [Nt/Zw]LoadKey2 prototype

svn path=/trunk/; revision=1345
This commit is contained in:
Eric Kohl 2000-09-08 22:52:17 +00:00
parent 6320160bea
commit 16625529a2

View file

@ -1,5 +1,5 @@
/* $Id: zw.h,v 1.34 2000/09/03 14:48:58 ekohl Exp $ /* $Id: zw.h,v 1.35 2000/09/08 22:52:17 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -1726,16 +1726,15 @@ ZwLoadDriver(
IN PUNICODE_STRING DriverServiceName IN PUNICODE_STRING DriverServiceName
); );
//-- NtLoadKey2
/* /*
* FUNCTION: Loads a registry key. * FUNCTION: Loads a registry key.
* ARGUMENTS: * ARGUMENTS:
* KeyHandle = Handle to the registry key * KeyHandle = Handle to the registry key
ObjectAttributes = ??? * ObjectAttributes = ???
* REMARK: * REMARK:
This procedure maps to the win32 procedure RegLoadKey * This procedure maps to the win32 procedure RegLoadKey
* RETURNS: Status * RETURNS: Status
*/ */
NTSTATUS NTSTATUS
STDCALL STDCALL
NtLoadKey( NtLoadKey(
@ -1748,6 +1747,32 @@ ZwLoadKey(
PHANDLE KeyHandle, PHANDLE KeyHandle,
OBJECT_ATTRIBUTES ObjectAttributes OBJECT_ATTRIBUTES ObjectAttributes
); );
/*
* FUNCTION: Loads a registry key.
* ARGUMENTS:
* KeyHandle = Handle to the registry key
* ObjectAttributes = ???
* Unknown3 = ???
* REMARK:
* This procedure maps to the win32 procedure RegLoadKey
* RETURNS: Status
*/
NTSTATUS
STDCALL
NtLoadKey2 (
PHANDLE KeyHandle,
OBJECT_ATTRIBUTES ObjectAttributes,
ULONG Unknown3
);
NTSTATUS
STDCALL
ZwLoadKey2 (
PHANDLE KeyHandle,
OBJECT_ATTRIBUTES ObjectAttributes,
ULONG Unknown3
);
/* /*
* FUNCTION: Locks a range of bytes in a file. * FUNCTION: Locks a range of bytes in a file.
* ARGUMENTS: * ARGUMENTS:
@ -5089,31 +5114,25 @@ ZwYieldExecution(
/* --- REGISTRY --- */ /* --- REGISTRY --- */
//FIXME: NtUnloadKey needs more arguments
/* /*
* FUNCTION: Unloads a registry key. * FUNCTION: Unloads a registry key.
* ARGUMENTS: * ARGUMENTS:
* KeyHandle = Handle to the registry key * KeyHandle = Handle to the registry key
* REMARK: * REMARK:
This procedure maps to the win32 procedure RegUnloadKey * This procedure maps to the win32 procedure RegUnloadKey
* RETURNS: Status * RETURNS: Status
*/ */
NTSTATUS NTSTATUS
STDCALL STDCALL
NtUnloadKey( NtUnloadKey(
HANDLE KeyHandle HANDLE KeyHandle
); );
NTSTATUS NTSTATUS
STDCALL STDCALL
ZwUnloadKey( ZwUnloadKey(
HANDLE KeyHandle HANDLE KeyHandle
); );
NTSTATUS
STDCALL
NtLoadKey2 (
VOID
);
/* --- PLUG AND PLAY --- */ /* --- PLUG AND PLAY --- */