mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:02:16 +00:00
[NDK] Minor header improvements
- Remove some duplicated prototypes - Fix a few mismatching annotations
This commit is contained in:
parent
9563c07146
commit
684072fe12
2 changed files with 20 additions and 48 deletions
|
@ -851,7 +851,7 @@ RtlVirtualUnwind(
|
|||
_In_ ULONG64 ControlPc,
|
||||
_In_ PRUNTIME_FUNCTION FunctionEntry,
|
||||
_Inout_ PCONTEXT Context,
|
||||
_Outptr_ PVOID* HandlerData,
|
||||
_Out_ PVOID* HandlerData,
|
||||
_Out_ PULONG64 EstablisherFrame,
|
||||
_Inout_opt_ PKNONVOLATILE_CONTEXT_POINTERS ContextPointers
|
||||
);
|
||||
|
@ -1868,9 +1868,24 @@ RtlCharToInteger(
|
|||
//
|
||||
#ifdef NTOS_MODE_USER
|
||||
|
||||
unsigned short __cdecl _byteswap_ushort(unsigned short);
|
||||
unsigned long __cdecl _byteswap_ulong (unsigned long);
|
||||
unsigned __int64 __cdecl _byteswap_uint64(unsigned __int64);
|
||||
_Check_return_
|
||||
unsigned short
|
||||
__cdecl
|
||||
_byteswap_ushort(
|
||||
_In_ unsigned short _Short);
|
||||
|
||||
_Check_return_
|
||||
unsigned long
|
||||
__cdecl
|
||||
_byteswap_ulong(
|
||||
_In_ unsigned long _Long);
|
||||
|
||||
_Check_return_
|
||||
unsigned __int64
|
||||
__cdecl
|
||||
_byteswap_uint64(
|
||||
_In_ unsigned __int64 _Int64);
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma intrinsic(_byteswap_ushort)
|
||||
#pragma intrinsic(_byteswap_ulong)
|
||||
|
@ -3838,50 +3853,6 @@ DbgCommandString(
|
|||
_In_ PCCH Command
|
||||
);
|
||||
|
||||
//
|
||||
// Generic Table Functions
|
||||
//
|
||||
#if defined(NTOS_MODE_USER) || defined(_NTIFS_)
|
||||
NTSYSAPI
|
||||
PVOID
|
||||
NTAPI
|
||||
RtlInsertElementGenericTable(
|
||||
_In_ PRTL_GENERIC_TABLE Table,
|
||||
_In_reads_bytes_(BufferSize) PVOID Buffer,
|
||||
_In_ CLONG BufferSize,
|
||||
_Out_opt_ PBOOLEAN NewElement
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
PVOID
|
||||
NTAPI
|
||||
RtlInsertElementGenericTableFull(
|
||||
_In_ PRTL_GENERIC_TABLE Table,
|
||||
_In_reads_bytes_(BufferSize) PVOID Buffer,
|
||||
_In_ CLONG BufferSize,
|
||||
_Out_opt_ PBOOLEAN NewElement,
|
||||
_In_ PVOID NodeOrParent,
|
||||
_In_ TABLE_SEARCH_RESULT SearchResult
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
RtlIsGenericTableEmpty(
|
||||
_In_ PRTL_GENERIC_TABLE Table
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
PVOID
|
||||
NTAPI
|
||||
RtlLookupElementGenericTableFull(
|
||||
_In_ PRTL_GENERIC_TABLE Table,
|
||||
_In_ PVOID Buffer,
|
||||
_Out_ PVOID *NodeOrParent,
|
||||
_Out_ TABLE_SEARCH_RESULT *SearchResult
|
||||
);
|
||||
#endif
|
||||
|
||||
//
|
||||
// Handle Table Functions
|
||||
//
|
||||
|
|
|
@ -443,6 +443,7 @@ ZwOpenProcessToken(
|
|||
_In_ ACCESS_MASK DesiredAccess,
|
||||
_Out_ PHANDLE TokenHandle);
|
||||
|
||||
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||
NTSYSAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue