mirror of
https://github.com/reactos/reactos.git
synced 2024-08-12 14:16:30 +00:00
fixed the order of the parameters of RtlIsValidIndexHandle
svn path=/trunk/; revision=17159
This commit is contained in:
parent
6ab29bbd4b
commit
b6bbf4cd23
|
@ -1514,8 +1514,8 @@ BOOLEAN
|
||||||
STDCALL
|
STDCALL
|
||||||
RtlIsValidIndexHandle(
|
RtlIsValidIndexHandle(
|
||||||
IN PRTL_HANDLE_TABLE HandleTable,
|
IN PRTL_HANDLE_TABLE HandleTable,
|
||||||
IN OUT PRTL_HANDLE_TABLE_ENTRY *Handle,
|
IN ULONG Index,
|
||||||
IN ULONG Index
|
OUT PRTL_HANDLE_TABLE_ENTRY *Handle
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -161,13 +161,13 @@ RtlIsValidHandle(PRTL_HANDLE_TABLE HandleTable,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
RtlIsValidIndexHandle(PRTL_HANDLE_TABLE HandleTable,
|
RtlIsValidIndexHandle(IN PRTL_HANDLE_TABLE HandleTable,
|
||||||
PRTL_HANDLE_TABLE_ENTRY *Handle,
|
IN ULONG Index,
|
||||||
ULONG Index)
|
OUT PRTL_HANDLE_TABLE_ENTRY *Handle)
|
||||||
{
|
{
|
||||||
PRTL_HANDLE_TABLE_ENTRY InternalHandle;
|
PRTL_HANDLE_TABLE_ENTRY InternalHandle;
|
||||||
|
|
||||||
DPRINT("RtlIsValidIndexHandle(HandleTable %p Handle %p Index %x)\n", HandleTable, Handle, Index);
|
DPRINT("RtlIsValidIndexHandle(HandleTable %p Index %x Handle %p)\n", HandleTable, Index, Handle);
|
||||||
|
|
||||||
if (HandleTable == NULL)
|
if (HandleTable == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -148,8 +148,8 @@ RtlpFreeAtomHandle(PRTL_ATOM_TABLE AtomTable, PRTL_ATOM_TABLE_ENTRY Entry)
|
||||||
PRTL_HANDLE_TABLE_ENTRY RtlHandleEntry;
|
PRTL_HANDLE_TABLE_ENTRY RtlHandleEntry;
|
||||||
|
|
||||||
if (RtlIsValidIndexHandle(&AtomTable->RtlHandleTable,
|
if (RtlIsValidIndexHandle(&AtomTable->RtlHandleTable,
|
||||||
&RtlHandleEntry,
|
(ULONG)Entry->HandleIndex,
|
||||||
(ULONG)Entry->HandleIndex))
|
&RtlHandleEntry))
|
||||||
{
|
{
|
||||||
RtlFreeHandle(&AtomTable->RtlHandleTable,
|
RtlFreeHandle(&AtomTable->RtlHandleTable,
|
||||||
RtlHandleEntry);
|
RtlHandleEntry);
|
||||||
|
@ -198,8 +198,8 @@ RtlpGetAtomEntry(PRTL_ATOM_TABLE AtomTable, ULONG Index)
|
||||||
PRTL_HANDLE_TABLE_ENTRY RtlHandle;
|
PRTL_HANDLE_TABLE_ENTRY RtlHandle;
|
||||||
|
|
||||||
if (RtlIsValidIndexHandle(&AtomTable->RtlHandleTable,
|
if (RtlIsValidIndexHandle(&AtomTable->RtlHandleTable,
|
||||||
&RtlHandle,
|
Index,
|
||||||
Index))
|
&RtlHandle))
|
||||||
{
|
{
|
||||||
PRTL_ATOM_HANDLE AtomHandle = (PRTL_ATOM_HANDLE)RtlHandle;
|
PRTL_ATOM_HANDLE AtomHandle = (PRTL_ATOM_HANDLE)RtlHandle;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue