mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
- STDCALL -> NTAPI
svn path=/trunk/; revision=37745
This commit is contained in:
parent
4de7f1ccff
commit
165bfe865b
62 changed files with 321 additions and 321 deletions
|
@ -46,7 +46,7 @@ CcInitializeCacheManager(VOID)
|
|||
* @unimplemented
|
||||
*/
|
||||
LARGE_INTEGER
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcGetFlushedValidData (
|
||||
IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
|
||||
IN BOOLEAN BcbListHeld
|
||||
|
@ -64,7 +64,7 @@ CcGetFlushedValidData (
|
|||
* @unimplemented
|
||||
*/
|
||||
PVOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcRemapBcb (
|
||||
IN PVOID Bcb
|
||||
)
|
||||
|
@ -78,7 +78,7 @@ CcRemapBcb (
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcScheduleReadAhead (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN PLARGE_INTEGER FileOffset,
|
||||
|
@ -92,7 +92,7 @@ CcScheduleReadAhead (
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcSetAdditionalCacheAttributes (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN BOOLEAN DisableReadAhead,
|
||||
|
@ -106,7 +106,7 @@ CcSetAdditionalCacheAttributes (
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcSetBcbOwnerPointer (
|
||||
IN PVOID Bcb,
|
||||
IN PVOID Owner
|
||||
|
@ -119,7 +119,7 @@ CcSetBcbOwnerPointer (
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcSetDirtyPageThreshold (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN ULONG DirtyPageThreshold
|
||||
|
@ -132,7 +132,7 @@ CcSetDirtyPageThreshold (
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcSetReadAheadGranularity (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN ULONG Granularity
|
||||
|
|
|
@ -271,7 +271,7 @@ WriteCacheSegment(PCACHE_SEGMENT CacheSeg)
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN STDCALL
|
||||
BOOLEAN NTAPI
|
||||
CcCanIWrite (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN ULONG BytesToWrite,
|
||||
|
@ -286,7 +286,7 @@ CcCanIWrite (
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
BOOLEAN STDCALL
|
||||
BOOLEAN NTAPI
|
||||
CcCopyRead (IN PFILE_OBJECT FileObject,
|
||||
IN PLARGE_INTEGER FileOffset,
|
||||
IN ULONG Length,
|
||||
|
@ -404,7 +404,7 @@ CcCopyRead (IN PFILE_OBJECT FileObject,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
BOOLEAN STDCALL
|
||||
BOOLEAN NTAPI
|
||||
CcCopyWrite (IN PFILE_OBJECT FileObject,
|
||||
IN PLARGE_INTEGER FileOffset,
|
||||
IN ULONG Length,
|
||||
|
@ -515,7 +515,7 @@ CcCopyWrite (IN PFILE_OBJECT FileObject,
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcDeferWrite (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN PCC_POST_DEFERRED_WRITE PostRoutine,
|
||||
|
@ -532,7 +532,7 @@ CcDeferWrite (
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcFastCopyRead (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN ULONG FileOffset,
|
||||
|
@ -548,7 +548,7 @@ CcFastCopyRead (
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcFastCopyWrite(
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN ULONG FileOffset,
|
||||
|
@ -562,7 +562,7 @@ CcFastCopyWrite(
|
|||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcWaitForCurrentLazyWriterActivity (
|
||||
VOID
|
||||
)
|
||||
|
@ -574,7 +574,7 @@ CcWaitForCurrentLazyWriterActivity (
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
BOOLEAN STDCALL
|
||||
BOOLEAN NTAPI
|
||||
CcZeroData (IN PFILE_OBJECT FileObject,
|
||||
IN PLARGE_INTEGER StartOffset,
|
||||
IN PLARGE_INTEGER EndOffset,
|
||||
|
|
|
@ -30,7 +30,7 @@ NTSTATUS CcRosInternalFreeCacheSegment(PCACHE_SEGMENT CacheSeg);
|
|||
* @unimplemented
|
||||
*/
|
||||
LARGE_INTEGER
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcGetDirtyPages (
|
||||
IN PVOID LogHandle,
|
||||
IN PDIRTY_PAGE_ROUTINE DirtyPageRoutine,
|
||||
|
@ -48,7 +48,7 @@ CcGetDirtyPages (
|
|||
* @implemented
|
||||
*/
|
||||
PFILE_OBJECT
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcGetFileObjectFromBcb (
|
||||
IN PVOID Bcb
|
||||
)
|
||||
|
@ -61,7 +61,7 @@ CcGetFileObjectFromBcb (
|
|||
* @unimplemented
|
||||
*/
|
||||
LARGE_INTEGER
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcGetLsnForFileObject (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
OUT PLARGE_INTEGER OldestLsn OPTIONAL
|
||||
|
@ -77,7 +77,7 @@ CcGetLsnForFileObject (
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcInitializeCacheMap (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN PCC_FILE_SIZES FileSizes,
|
||||
|
@ -99,7 +99,7 @@ CcInitializeCacheMap (
|
|||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcIsThereDirtyData (
|
||||
IN PVPB Vpb
|
||||
)
|
||||
|
@ -112,7 +112,7 @@ CcIsThereDirtyData (
|
|||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcPurgeCacheSection (
|
||||
IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
|
||||
IN PLARGE_INTEGER FileOffset OPTIONAL,
|
||||
|
@ -128,7 +128,7 @@ CcPurgeCacheSection (
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
CcSetFileSizes (IN PFILE_OBJECT FileObject,
|
||||
IN PCC_FILE_SIZES FileSizes)
|
||||
{
|
||||
|
@ -219,7 +219,7 @@ CcSetFileSizes (IN PFILE_OBJECT FileObject,
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcSetLogHandleForFile (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN PVOID LogHandle,
|
||||
|
@ -233,7 +233,7 @@ CcSetLogHandleForFile (
|
|||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcUninitializeCacheMap (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN PLARGE_INTEGER TruncateSize OPTIONAL,
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcMdlRead(
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN PLARGE_INTEGER FileOffset,
|
||||
|
@ -49,7 +49,7 @@ CcMdlRead(
|
|||
*
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcMdlReadComplete2(IN PMDL MemoryDescriptorList,
|
||||
IN PFILE_OBJECT FileObject)
|
||||
{
|
||||
|
@ -81,7 +81,7 @@ CcMdlReadComplete2(IN PMDL MemoryDescriptorList,
|
|||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcMdlReadComplete(IN PFILE_OBJECT FileObject,
|
||||
IN PMDL MdlChain)
|
||||
{
|
||||
|
@ -109,7 +109,7 @@ CcMdlReadComplete(IN PFILE_OBJECT FileObject,
|
|||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcMdlWriteComplete(IN PFILE_OBJECT FileObject,
|
||||
IN PLARGE_INTEGER FileOffset,
|
||||
IN PMDL MdlChain)
|
||||
|
@ -150,7 +150,7 @@ CcMdlWriteComplete2(
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcMdlWriteAbort (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN PMDL MdlChain
|
||||
|
@ -163,7 +163,7 @@ CcMdlWriteAbort (
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcPrepareMdlWrite (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN PLARGE_INTEGER FileOffset,
|
||||
|
|
|
@ -22,7 +22,7 @@ extern NPAGED_LOOKASIDE_LIST iBcbLookasideList;
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
BOOLEAN STDCALL
|
||||
BOOLEAN NTAPI
|
||||
CcMapData (IN PFILE_OBJECT FileObject,
|
||||
IN PLARGE_INTEGER FileOffset,
|
||||
IN ULONG Length,
|
||||
|
@ -106,7 +106,7 @@ CcMapData (IN PFILE_OBJECT FileObject,
|
|||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcPinMappedData (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN PLARGE_INTEGER FileOffset,
|
||||
|
@ -123,7 +123,7 @@ CcPinMappedData (
|
|||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcPinRead (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN PLARGE_INTEGER FileOffset,
|
||||
|
@ -147,7 +147,7 @@ CcPinRead (
|
|||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcPreparePinWrite (
|
||||
IN PFILE_OBJECT FileObject,
|
||||
IN PLARGE_INTEGER FileOffset,
|
||||
|
@ -172,7 +172,7 @@ CcPreparePinWrite (
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
CcSetDirtyPinnedData (IN PVOID Bcb,
|
||||
IN PLARGE_INTEGER Lsn)
|
||||
{
|
||||
|
@ -184,7 +184,7 @@ CcSetDirtyPinnedData (IN PVOID Bcb,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
CcUnpinData (IN PVOID Bcb)
|
||||
{
|
||||
PINTERNAL_BCB iBcb = Bcb;
|
||||
|
@ -200,7 +200,7 @@ CcUnpinData (IN PVOID Bcb)
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcUnpinDataForThread (
|
||||
IN PVOID Bcb,
|
||||
IN ERESOURCE_THREAD ResourceThreadId
|
||||
|
@ -213,7 +213,7 @@ CcUnpinDataForThread (
|
|||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcRepinBcb (
|
||||
IN PVOID Bcb
|
||||
)
|
||||
|
@ -226,7 +226,7 @@ CcRepinBcb (
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcUnpinRepinnedBcb (
|
||||
IN PVOID Bcb,
|
||||
IN BOOLEAN WriteThrough,
|
||||
|
|
|
@ -117,7 +117,7 @@ CcRosInternalFreeCacheSegment(PCACHE_SEGMENT CacheSeg);
|
|||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
CcRosTraceCacheMap (
|
||||
PBCB Bcb,
|
||||
BOOLEAN Trace )
|
||||
|
@ -818,7 +818,7 @@ CcRosGetCacheSegment(PBCB Bcb,
|
|||
return(STATUS_SUCCESS);
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
CcRosRequestCacheSegment(PBCB Bcb,
|
||||
ULONG FileOffset,
|
||||
PVOID* BaseAddress,
|
||||
|
@ -947,7 +947,7 @@ CcRosFreeCacheSegment(PBCB Bcb, PCACHE_SEGMENT CacheSeg)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
CcFlushCache(IN PSECTION_OBJECT_POINTERS SectionObjectPointers,
|
||||
IN PLARGE_INTEGER FileOffset OPTIONAL,
|
||||
IN ULONG Length,
|
||||
|
@ -1164,7 +1164,7 @@ CcRosDereferenceCache(PFILE_OBJECT FileObject)
|
|||
KeReleaseGuardedMutex(&ViewLock);
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
CcRosReleaseFileCache(PFILE_OBJECT FileObject)
|
||||
/*
|
||||
* FUNCTION: Called by the file system when a handle to a file object
|
||||
|
@ -1301,7 +1301,7 @@ CcRosInitializeFileCache(PFILE_OBJECT FileObject,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
PFILE_OBJECT STDCALL
|
||||
PFILE_OBJECT NTAPI
|
||||
CcGetFileObjectFromSectionPtrs(IN PSECTION_OBJECT_POINTERS SectionObjectPointers)
|
||||
{
|
||||
PBCB Bcb;
|
||||
|
@ -1314,7 +1314,7 @@ CcGetFileObjectFromSectionPtrs(IN PSECTION_OBJECT_POINTERS SectionObjectPointers
|
|||
return NULL;
|
||||
}
|
||||
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
CmLazyCloseThreadMain(PVOID Ignored)
|
||||
{
|
||||
LARGE_INTEGER Timeout;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
KiHaltProcessorDpcRoutine(IN PKDPC Dpc,
|
||||
IN PVOID DeferredContext,
|
||||
IN PVOID SystemArgument1,
|
||||
|
@ -36,7 +36,7 @@ KiHaltProcessorDpcRoutine(IN PKDPC Dpc,
|
|||
}
|
||||
}
|
||||
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
ShutdownThreadMain(PVOID Context)
|
||||
{
|
||||
SHUTDOWN_ACTION Action = (SHUTDOWN_ACTION)Context;
|
||||
|
@ -215,7 +215,7 @@ ShutdownThreadMain(PVOID Context)
|
|||
}
|
||||
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtSetSystemPowerState(IN POWER_ACTION SystemAction,
|
||||
IN SYSTEM_POWER_STATE MinSystemState,
|
||||
IN ULONG Flags)
|
||||
|
@ -227,7 +227,7 @@ NtSetSystemPowerState(IN POWER_ACTION SystemAction,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtShutdownSystem(IN SHUTDOWN_ACTION Action)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
|
|
|
@ -253,7 +253,7 @@ ExpAllocateLocallyUniqueId(OUT LUID *LocallyUniqueId)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtAllocateLocallyUniqueId(OUT LUID *LocallyUniqueId)
|
||||
{
|
||||
LUID NewLuid;
|
||||
|
|
|
@ -42,7 +42,7 @@ PKWIN32_DELETEMETHOD_CALLOUT ExpDesktopObjectDelete = NULL;
|
|||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
ExpWinStaObjectDelete(PVOID DeletedObject)
|
||||
{
|
||||
WIN32_DELETEMETHOD_PARAMETERS Parameters;
|
||||
|
@ -55,7 +55,7 @@ ExpWinStaObjectDelete(PVOID DeletedObject)
|
|||
}
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
ExpWinStaObjectParse(IN PVOID ParseObject,
|
||||
IN PVOID ObjectType,
|
||||
IN OUT PACCESS_STATE AccessState,
|
||||
|
@ -85,7 +85,7 @@ ExpWinStaObjectParse(IN PVOID ParseObject,
|
|||
return ExpWindowStationObjectParse(&Parameters);
|
||||
}
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
ExpDesktopDelete(PVOID DeletedObject)
|
||||
{
|
||||
WIN32_DELETEMETHOD_PARAMETERS Parameters;
|
||||
|
@ -99,7 +99,7 @@ ExpDesktopDelete(PVOID DeletedObject)
|
|||
|
||||
VOID
|
||||
INIT_FUNCTION
|
||||
STDCALL
|
||||
NTAPI
|
||||
ExpWin32kInit(VOID)
|
||||
{
|
||||
OBJECT_TYPE_INITIALIZER ObjectTypeInitializer;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
ExExtendZone(PZONE_HEADER Zone,
|
||||
PVOID Segment,
|
||||
ULONG SegmentSize)
|
||||
|
@ -69,7 +69,7 @@ ExExtendZone(PZONE_HEADER Zone,
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
ExInterlockedExtendZone(PZONE_HEADER Zone,
|
||||
PVOID Segment,
|
||||
ULONG SegmentSize,
|
||||
|
@ -101,7 +101,7 @@ ExInterlockedExtendZone(PZONE_HEADER Zone,
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
ExInitializeZone(PZONE_HEADER Zone,
|
||||
ULONG BlockSize,
|
||||
PVOID InitialSegment,
|
||||
|
|
|
@ -171,7 +171,7 @@ FsRtlIsFatDbcsLegal(IN ANSI_STRING DbcsName,
|
|||
*
|
||||
*--*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
FsRtlIsHpfsDbcsLegal(IN ANSI_STRING DbcsName,
|
||||
IN BOOLEAN WildCardsPermissible,
|
||||
IN BOOLEAN PathNamePermissible,
|
||||
|
|
|
@ -157,25 +157,25 @@ typedef enum _KD_CONTINUE_TYPE
|
|||
|
||||
typedef
|
||||
VOID
|
||||
(STDCALL*PKDP_INIT_ROUTINE)(
|
||||
(NTAPI*PKDP_INIT_ROUTINE)(
|
||||
struct _KD_DISPATCH_TABLE *DispatchTable,
|
||||
ULONG BootPhase
|
||||
);
|
||||
|
||||
typedef
|
||||
VOID
|
||||
(STDCALL*PKDP_PRINT_ROUTINE)(
|
||||
(NTAPI*PKDP_PRINT_ROUTINE)(
|
||||
LPSTR String,
|
||||
ULONG Length
|
||||
);
|
||||
|
||||
typedef
|
||||
VOID
|
||||
(STDCALL*PKDP_PROMPT_ROUTINE)(PCH String);
|
||||
(NTAPI*PKDP_PROMPT_ROUTINE)(PCH String);
|
||||
|
||||
typedef
|
||||
KD_CONTINUE_TYPE
|
||||
(STDCALL*PKDP_EXCEPTION_ROUTINE)(
|
||||
(NTAPI*PKDP_EXCEPTION_ROUTINE)(
|
||||
PEXCEPTION_RECORD ExceptionRecord,
|
||||
PCONTEXT Context,
|
||||
PKTRAP_FRAME TrapFrame
|
||||
|
@ -191,41 +191,41 @@ KdInitSystem(
|
|||
);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpScreenInit(
|
||||
struct _KD_DISPATCH_TABLE *DispatchTable,
|
||||
ULONG BootPhase
|
||||
);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpSerialInit(
|
||||
struct _KD_DISPATCH_TABLE *DispatchTable,
|
||||
ULONG BootPhase
|
||||
);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpInitDebugLog(
|
||||
struct _KD_DISPATCH_TABLE *DispatchTable,
|
||||
ULONG BootPhase
|
||||
);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpBochsInit(
|
||||
struct _KD_DISPATCH_TABLE *DispatchTable,
|
||||
ULONG BootPhase
|
||||
);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpGdbStubInit(
|
||||
struct _KD_DISPATCH_TABLE *DispatchTable,
|
||||
ULONG BootPhase);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpKdbgInit(
|
||||
struct _KD_DISPATCH_TABLE *DispatchTable,
|
||||
ULONG BootPhase);
|
||||
|
@ -242,24 +242,24 @@ KdpCallGdb(
|
|||
);
|
||||
|
||||
ULONG
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpPrintString(
|
||||
LPSTR String,
|
||||
ULONG Length);
|
||||
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpDetectConflicts(PCM_RESOURCE_LIST DriverList);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpBochsDebugPrint(
|
||||
IN PCH Message,
|
||||
IN ULONG Length
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpSafeReadMemory(
|
||||
IN ULONG_PTR Addr,
|
||||
IN LONG Len,
|
||||
|
@ -267,7 +267,7 @@ KdpSafeReadMemory(
|
|||
);
|
||||
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpSafeWriteMemory(
|
||||
IN ULONG_PTR Addr,
|
||||
IN LONG Len,
|
||||
|
@ -275,7 +275,7 @@ KdpSafeWriteMemory(
|
|||
);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpEnableSafeMem();
|
||||
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ FORCEINLINE struct _KPCR * NTHALAPI KeGetCurrentKPCR(
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KePPCInitThreadWithContext(
|
||||
PKTHREAD Thread,
|
||||
PKSYSTEM_ROUTINE SystemRoutine,
|
||||
|
@ -144,12 +144,12 @@ KePPCInitThreadWithContext(
|
|||
PCONTEXT Context);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeApplicationProcessorInitDispatcher(
|
||||
VOID);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeCreateApplicationProcessorIdleThread(
|
||||
ULONG Id);
|
||||
|
||||
|
@ -160,7 +160,7 @@ static VOID KePPCFnInit()
|
|||
|
||||
#ifdef _NTOSKRNL_ /* FIXME: Move flags above to NDK instead of here */
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KiThreadStartup(PKSYSTEM_ROUTINE SystemRoutine,
|
||||
PKSTART_ROUTINE StartRoutine,
|
||||
PVOID StartContext,
|
||||
|
|
|
@ -316,7 +316,7 @@ SeSetWorldSecurityDescriptor(
|
|||
);
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeCopyClientToken(
|
||||
IN PACCESS_TOKEN Token,
|
||||
IN SECURITY_IMPERSONATION_LEVEL Level,
|
||||
|
|
|
@ -35,7 +35,7 @@ extern BOOLEAN ExpInTextModeSetup;
|
|||
|
||||
/* PRIVATE FUNCTIONS **********************************************************/
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
IopInvalidDeviceRequest(
|
||||
PDEVICE_OBJECT DeviceObject,
|
||||
PIRP Irp)
|
||||
|
@ -493,7 +493,7 @@ IopInitializeDriverModule(
|
|||
* Internal routine used by IopAttachFilterDrivers.
|
||||
*/
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
IopAttachFilterDriversCallback(
|
||||
PWSTR ValueName,
|
||||
ULONG ValueType,
|
||||
|
@ -968,7 +968,7 @@ IopInitializeBootDrivers(VOID)
|
|||
* Guard the whole function by SEH.
|
||||
*/
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
IopUnloadDriver(PUNICODE_STRING DriverServiceName, BOOLEAN UnloadPnpDrivers)
|
||||
{
|
||||
RTL_QUERY_REGISTRY_TABLE QueryTable[2];
|
||||
|
@ -1746,7 +1746,7 @@ IopLoadUnloadDriver(PLOAD_UNLOAD_PARAMS LoadParams)
|
|||
* Status
|
||||
* implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtLoadDriver(IN PUNICODE_STRING DriverServiceName)
|
||||
{
|
||||
UNICODE_STRING CapturedDriverServiceName = {0};
|
||||
|
@ -1828,7 +1828,7 @@ NtLoadDriver(IN PUNICODE_STRING DriverServiceName)
|
|||
* implemented
|
||||
*/
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtUnloadDriver(IN PUNICODE_STRING DriverServiceName)
|
||||
{
|
||||
return IopUnloadDriver(DriverServiceName, FALSE);
|
||||
|
|
|
@ -53,7 +53,7 @@ IopDisplayLoadingMessage(PVOID ServiceName,
|
|||
|
||||
/* PRIVATE FUNCTIONS **********************************************************/
|
||||
|
||||
static NTSTATUS STDCALL
|
||||
static NTSTATUS NTAPI
|
||||
IopGetGroupOrderList(PWSTR ValueName,
|
||||
ULONG ValueType,
|
||||
PVOID ValueData,
|
||||
|
@ -95,7 +95,7 @@ IopGetGroupOrderList(PWSTR ValueName,
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static NTSTATUS STDCALL
|
||||
static NTSTATUS NTAPI
|
||||
IopCreateGroupListEntry(PWSTR ValueName,
|
||||
ULONG ValueType,
|
||||
PVOID ValueData,
|
||||
|
@ -146,7 +146,7 @@ IopCreateGroupListEntry(PWSTR ValueName,
|
|||
}
|
||||
|
||||
|
||||
static NTSTATUS STDCALL
|
||||
static NTSTATUS NTAPI
|
||||
IopCreateServiceListEntry(PUNICODE_STRING ServiceName)
|
||||
{
|
||||
RTL_QUERY_REGISTRY_TABLE QueryTable[7];
|
||||
|
|
|
@ -95,7 +95,7 @@ PWSTR ArcTypes[42] = {
|
|||
* Status
|
||||
*/
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
IopQueryDeviceDescription(
|
||||
PIO_QUERY Query,
|
||||
UNICODE_STRING RootKey,
|
||||
|
@ -449,7 +449,7 @@ EndLoop:
|
|||
* Status
|
||||
*/
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
IopQueryBusDescription(
|
||||
PIO_QUERY Query,
|
||||
UNICODE_STRING RootKey,
|
||||
|
@ -655,7 +655,7 @@ IopQueryBusDescription(
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
PCONFIGURATION_INFORMATION STDCALL
|
||||
PCONFIGURATION_INFORMATION NTAPI
|
||||
IoGetConfigurationInformation(VOID)
|
||||
{
|
||||
return(&_SystemConfigurationInformation);
|
||||
|
@ -664,7 +664,7 @@ IoGetConfigurationInformation(VOID)
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
IoReportResourceUsage(PUNICODE_STRING DriverClassName,
|
||||
PDRIVER_OBJECT DriverObject,
|
||||
PCM_RESOURCE_LIST DriverList,
|
||||
|
@ -705,7 +705,7 @@ IoReportResourceUsage(PUNICODE_STRING DriverClassName,
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
IoAssignResources(PUNICODE_STRING RegistryPath,
|
||||
PUNICODE_STRING DriverClassName,
|
||||
PDRIVER_OBJECT DriverObject,
|
||||
|
@ -796,7 +796,7 @@ IoQueryDeviceDescription(PINTERFACE_TYPE BusType OPTIONAL,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
IoReportHalResourceUsage(PUNICODE_STRING HalDescription,
|
||||
PCM_RESOURCE_LIST RawList,
|
||||
PCM_RESOURCE_LIST TranslatedList,
|
||||
|
|
|
@ -43,7 +43,7 @@ PKDP_INIT_ROUTINE InitRoutines[KdMax] = {KdpScreenInit,
|
|||
/* PRIVATE FUNCTIONS *********************************************************/
|
||||
|
||||
PCHAR
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpGetWrapperDebugMode(PCHAR Currentp2,
|
||||
PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||
{
|
||||
|
@ -84,7 +84,7 @@ KdpGetWrapperDebugMode(PCHAR Currentp2,
|
|||
}
|
||||
|
||||
PCHAR
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpGetDebugMode(PCHAR Currentp2)
|
||||
{
|
||||
PCHAR p2 = Currentp2;
|
||||
|
@ -133,7 +133,7 @@ KdpGetDebugMode(PCHAR Currentp2)
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpCallInitRoutine(ULONG BootPhase)
|
||||
{
|
||||
PLIST_ENTRY CurrentEntry;
|
||||
|
|
|
@ -30,7 +30,7 @@ ULONG KdpPort;
|
|||
/* DEBUG LOG FUNCTIONS *******************************************************/
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpPrintToLogInternal(PVOID Context)
|
||||
{
|
||||
IO_STATUS_BLOCK Iosb;
|
||||
|
@ -54,7 +54,7 @@ KdpPrintToLogInternal(PVOID Context)
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpPrintToLog(PCH String,
|
||||
ULONG StringLength)
|
||||
{
|
||||
|
@ -84,7 +84,7 @@ KdpPrintToLog(PCH String,
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpInitDebugLog(PKD_DISPATCH_TABLE DispatchTable,
|
||||
ULONG BootPhase)
|
||||
{
|
||||
|
@ -146,7 +146,7 @@ KdpInitDebugLog(PKD_DISPATCH_TABLE DispatchTable,
|
|||
/* SERIAL FUNCTIONS **********************************************************/
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpSerialDebugPrint(LPSTR Message,
|
||||
ULONG Length)
|
||||
{
|
||||
|
@ -164,7 +164,7 @@ KdpSerialDebugPrint(LPSTR Message,
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpSerialInit(PKD_DISPATCH_TABLE DispatchTable,
|
||||
ULONG BootPhase)
|
||||
{
|
||||
|
@ -205,7 +205,7 @@ KdpSerialInit(PKD_DISPATCH_TABLE DispatchTable,
|
|||
/* SCREEN FUNCTIONS **********************************************************/
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpScreenPrint(LPSTR Message,
|
||||
ULONG Length)
|
||||
{
|
||||
|
@ -214,7 +214,7 @@ KdpScreenPrint(LPSTR Message,
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpScreenInit(PKD_DISPATCH_TABLE DispatchTable,
|
||||
ULONG BootPhase)
|
||||
{
|
||||
|
@ -238,7 +238,7 @@ KdpScreenInit(PKD_DISPATCH_TABLE DispatchTable,
|
|||
/* GENERAL FUNCTIONS *********************************************************/
|
||||
|
||||
ULONG
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpPrintString(LPSTR String,
|
||||
ULONG Length)
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ BOOLEAN KiEnableTimerWatchdog = FALSE;
|
|||
BOOLEAN KdBreakAfterSymbolLoad = FALSE;
|
||||
BOOLEAN KdpBreakPending;
|
||||
BOOLEAN KdPitchDebugger = TRUE;
|
||||
VOID STDCALL PspDumpThreads(BOOLEAN SystemThreads);
|
||||
VOID NTAPI PspDumpThreads(BOOLEAN SystemThreads);
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ ULONG Kd_DEFAULT_MASK = 1 << DPFLTR_ERROR_LEVEL;
|
|||
/* PRIVATE FUNCTIONS *********************************************************/
|
||||
|
||||
ULONG
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpServiceDispatcher(ULONG Service,
|
||||
PVOID Buffer1,
|
||||
ULONG Buffer1Length)
|
||||
|
@ -224,7 +224,7 @@ KdRefreshDebuggerNotPresent(VOID)
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdDisableDebugger(VOID)
|
||||
{
|
||||
KIRQL OldIrql;
|
||||
|
@ -248,7 +248,7 @@ KdDisableDebugger(VOID)
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdEnableDebugger(VOID)
|
||||
{
|
||||
KIRQL OldIrql;
|
||||
|
@ -272,7 +272,7 @@ KdEnableDebugger(VOID)
|
|||
* @implemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdPollBreakIn(VOID)
|
||||
{
|
||||
return KdpBreakPending;
|
||||
|
@ -282,7 +282,7 @@ KdPollBreakIn(VOID)
|
|||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdPowerTransition(ULONG PowerState)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpBochsDebugPrint(IN PCH Message,
|
||||
IN ULONG Length)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ KdpBochsDebugPrint(IN PCH Message,
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpBochsInit(PKD_DISPATCH_TABLE DispatchTable,
|
||||
ULONG BootPhase)
|
||||
{
|
||||
|
|
|
@ -1282,7 +1282,7 @@ static BOOLEAN gdb_attached_yet = FALSE;
|
|||
* This function does all command procesing for interfacing to gdb.
|
||||
*/
|
||||
KD_CONTINUE_TYPE
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpGdbEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord,
|
||||
PCONTEXT Context,
|
||||
PKTRAP_FRAME TrapFrame)
|
||||
|
@ -1660,7 +1660,7 @@ KdpGdbEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord,
|
|||
|
||||
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
GspBreakIn(PKINTERRUPT Interrupt,
|
||||
PVOID ServiceContext)
|
||||
{
|
||||
|
@ -1702,14 +1702,14 @@ GspBreakIn(PKINTERRUPT Interrupt,
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpGdbDebugPrint(PCH Message, ULONG Length)
|
||||
{
|
||||
}
|
||||
|
||||
/* Initialize the GDB stub */
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpGdbStubInit(PKD_DISPATCH_TABLE WrapperTable,
|
||||
ULONG BootPhase)
|
||||
{
|
||||
|
|
|
@ -1257,7 +1257,7 @@ static BOOLEAN gdb_attached_yet = FALSE;
|
|||
* This function does all command procesing for interfacing to gdb.
|
||||
*/
|
||||
KD_CONTINUE_TYPE
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpGdbEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord,
|
||||
PCONTEXT Context,
|
||||
PKTRAP_FRAME TrapFrame)
|
||||
|
@ -1622,7 +1622,7 @@ KdpGdbEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord,
|
|||
|
||||
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
GspBreakIn(PKINTERRUPT Interrupt,
|
||||
PVOID ServiceContext)
|
||||
{
|
||||
|
@ -1664,14 +1664,14 @@ GspBreakIn(PKINTERRUPT Interrupt,
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpGdbDebugPrint(PCH Message, ULONG Length)
|
||||
{
|
||||
}
|
||||
|
||||
/* Initialize the GDB stub */
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdpGdbStubInit(PKD_DISPATCH_TABLE WrapperTable,
|
||||
ULONG BootPhase)
|
||||
{
|
||||
|
|
|
@ -1639,7 +1639,7 @@ KdbDeleteProcessHook(IN PEPROCESS Process)
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdbpGetCommandLineSettings(PCHAR p1)
|
||||
{
|
||||
PCHAR p2;
|
||||
|
|
|
@ -95,7 +95,7 @@ KdbpGetInstLength(
|
|||
|
||||
/* from i386/kdb_help.S */
|
||||
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
KdbpStackSwitchAndCall(
|
||||
IN PVOID NewStack,
|
||||
IN VOID (*Function)(VOID));
|
||||
|
@ -234,7 +234,7 @@ KdbpAttachToProcess(
|
|||
PVOID ProcessId);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdbpGetCommandLineSettings(PCHAR p1);
|
||||
|
||||
KD_CONTINUE_TYPE
|
||||
|
|
|
@ -131,7 +131,7 @@ BOOLEAN PspIsDescriptorValid(PLDT_ENTRY ldt_entry)
|
|||
(Base > Base+SegLimit) ? FALSE : TRUE*/ TRUE);
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtSetLdtEntries (ULONG Selector1,
|
||||
LDT_ENTRY LdtEntry1,
|
||||
ULONG Selector2,
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
*--*/
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KiThreadStartup(PKSYSTEM_ROUTINE SystemRoutine,
|
||||
PKSTART_ROUTINE StartRoutine,
|
||||
PVOID StartContext,
|
||||
|
@ -81,7 +81,7 @@ PKTHREAD KiLastThread = NULL;
|
|||
PKTRAP_FRAME KiLastThreadTrapFrame = NULL;
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KiDecrementerTrap(PKTRAP_FRAME TrapFrame)
|
||||
{
|
||||
KIRQL Irql;
|
||||
|
|
|
@ -191,7 +191,7 @@ KeTrapFrameToIRQTrapFrame(PKTRAP_FRAME TrapFrame,
|
|||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeUpdateRunTime(IN PKTRAP_FRAME TrapFrame,
|
||||
IN KIRQL Irql)
|
||||
{
|
||||
|
@ -301,7 +301,7 @@ KeUpdateRunTime(IN PKTRAP_FRAME TrapFrame,
|
|||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeUpdateSystemTime(IN PKTRAP_FRAME TrapFrame,
|
||||
IN KIRQL Irql,
|
||||
IN ULONG Increment)
|
||||
|
@ -365,7 +365,7 @@ KeUpdateSystemTime(IN PKTRAP_FRAME TrapFrame,
|
|||
}
|
||||
}
|
||||
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
KiInterruptDispatch2 (ULONG vector, KIRQL old_level)
|
||||
/*
|
||||
* FUNCTION: Calls all the interrupt handlers for a given irq.
|
||||
|
@ -540,7 +540,7 @@ KeDumpIrqList(VOID)
|
|||
* @implemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeConnectInterrupt(PKINTERRUPT InterruptObject)
|
||||
{
|
||||
KIRQL oldlvl,synch_oldlvl;
|
||||
|
@ -615,7 +615,7 @@ KeConnectInterrupt(PKINTERRUPT InterruptObject)
|
|||
* InterruptObject = isr to release
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeDisconnectInterrupt(PKINTERRUPT InterruptObject)
|
||||
{
|
||||
KIRQL oldlvl,synch_oldlvl;
|
||||
|
@ -671,7 +671,7 @@ KeDisconnectInterrupt(PKINTERRUPT InterruptObject)
|
|||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeInitializeInterrupt(PKINTERRUPT Interrupt,
|
||||
PKSERVICE_ROUTINE ServiceRoutine,
|
||||
PVOID ServiceContext,
|
||||
|
|
|
@ -188,7 +188,7 @@ NTAPI
|
|||
NtGetTickCount() { return __rdtsc(); }
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
NtSetLdtEntries
|
||||
(ULONG Selector1, LDT_ENTRY LdtEntry1, ULONG Selector2, LDT_ENTRY LdtEntry2)
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@ ULONG KiProfileTimeInterval = 78125; /* Default resolution 7.8ms (sysinternals)
|
|||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeInitializeProfile(PKPROFILE Profile,
|
||||
PKPROCESS Process,
|
||||
PVOID ImageBase,
|
||||
|
@ -47,7 +47,7 @@ KeInitializeProfile(PKPROFILE Profile,
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeStartProfile(PKPROFILE Profile,
|
||||
PVOID Buffer)
|
||||
{
|
||||
|
@ -136,7 +136,7 @@ KeStartProfile(PKPROFILE Profile,
|
|||
}
|
||||
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeStopProfile(PKPROFILE Profile)
|
||||
{
|
||||
KIRQL OldIrql;
|
||||
|
@ -194,7 +194,7 @@ KeStopProfile(PKPROFILE Profile)
|
|||
}
|
||||
|
||||
ULONG
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeQueryIntervalProfile(KPROFILE_SOURCE ProfileSource)
|
||||
{
|
||||
/* Check if this is the timer profile */
|
||||
|
@ -216,7 +216,7 @@ KeQueryIntervalProfile(KPROFILE_SOURCE ProfileSource)
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeSetIntervalProfile(KPROFILE_SOURCE ProfileSource,
|
||||
ULONG Interval)
|
||||
{
|
||||
|
@ -239,7 +239,7 @@ KeSetIntervalProfile(KPROFILE_SOURCE ProfileSource,
|
|||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeProfileInterrupt(PKTRAP_FRAME TrapFrame)
|
||||
{
|
||||
/* Called from HAL for Timer Profiling */
|
||||
|
@ -247,7 +247,7 @@ KeProfileInterrupt(PKTRAP_FRAME TrapFrame)
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KiParseProfileList(IN PKTRAP_FRAME TrapFrame,
|
||||
IN KPROFILE_SOURCE Source,
|
||||
IN PLIST_ENTRY ListHead)
|
||||
|
@ -297,7 +297,7 @@ KiParseProfileList(IN PKTRAP_FRAME TrapFrame,
|
|||
* shifting like we specified. -- Alex
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeProfileInterruptWithSource(IN PKTRAP_FRAME TrapFrame,
|
||||
IN KPROFILE_SOURCE Source)
|
||||
{
|
||||
|
@ -312,7 +312,7 @@ KeProfileInterruptWithSource(IN PKTRAP_FRAME TrapFrame,
|
|||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KeSetProfileIrql(IN KIRQL ProfileIrql)
|
||||
{
|
||||
/* Set the IRQL at which Profiling will run */
|
||||
|
|
|
@ -519,7 +519,7 @@ MmModifyAttributes(PMM_AVL_TABLE AddressSpace,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtAllocateVirtualMemory(IN HANDLE ProcessHandle,
|
||||
IN OUT PVOID* UBaseAddress,
|
||||
IN ULONG_PTR ZeroBits,
|
||||
|
@ -915,7 +915,7 @@ MmFreeVirtualMemory(PEPROCESS Process,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtFreeVirtualMemory(IN HANDLE ProcessHandle,
|
||||
IN PVOID* PBaseAddress,
|
||||
IN PSIZE_T PRegionSize,
|
||||
|
@ -1030,7 +1030,7 @@ MmProtectAnonMem(PMM_AVL_TABLE AddressSpace,
|
|||
return(Status);
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmQueryAnonMem(PMEMORY_AREA MemoryArea,
|
||||
PVOID Address,
|
||||
PMEMORY_BASIC_INFORMATION Info,
|
||||
|
|
|
@ -287,7 +287,7 @@ MmRequestPageMemoryConsumer(ULONG Consumer, BOOLEAN CanWait,
|
|||
return(STATUS_SUCCESS);
|
||||
}
|
||||
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
MiBalancerThread(PVOID Unused)
|
||||
{
|
||||
PVOID WaitObjects[2];
|
||||
|
|
|
@ -59,7 +59,7 @@ MmFreeContinuousPage(PVOID Context, MEMORY_AREA* MemoryArea, PVOID Address,
|
|||
*
|
||||
* @implemented
|
||||
*/
|
||||
PVOID STDCALL
|
||||
PVOID NTAPI
|
||||
MmAllocateContiguousMemorySpecifyCache(IN SIZE_T NumberOfBytes,
|
||||
IN PHYSICAL_ADDRESS LowestAcceptableAddress OPTIONAL,
|
||||
IN PHYSICAL_ADDRESS HighestAcceptableAddress,
|
||||
|
@ -152,7 +152,7 @@ MmAllocateContiguousMemorySpecifyCache(IN SIZE_T NumberOfBytes,
|
|||
*
|
||||
* @implemented
|
||||
*/
|
||||
PVOID STDCALL
|
||||
PVOID NTAPI
|
||||
MmAllocateContiguousMemory (IN ULONG NumberOfBytes,
|
||||
IN PHYSICAL_ADDRESS HighestAcceptableAddress)
|
||||
{
|
||||
|
@ -187,7 +187,7 @@ MmAllocateContiguousMemory (IN ULONG NumberOfBytes,
|
|||
*
|
||||
* @implemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
MmFreeContiguousMemory(IN PVOID BaseAddress)
|
||||
{
|
||||
MmLockAddressSpace(MmGetKernelAddressSpace());
|
||||
|
@ -223,7 +223,7 @@ MmFreeContiguousMemory(IN PVOID BaseAddress)
|
|||
*
|
||||
* @implemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
MmFreeContiguousMemorySpecifyCache(IN PVOID BaseAddress,
|
||||
IN ULONG NumberOfBytes,
|
||||
IN MEMORY_CACHING_TYPE CacheType)
|
||||
|
|
|
@ -37,7 +37,7 @@ MmUnlockPagableImageSection(IN PVOID ImageSectionHandle)
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
MmLockPagableSectionByHandle(IN PVOID ImageSectionHandle)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
@ -59,7 +59,7 @@ MmLockPagableCodeSection(IN PVOID AddressWithinSection)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
PVOID STDCALL
|
||||
PVOID NTAPI
|
||||
MmLockPagableDataSection(IN PVOID AddressWithinSection)
|
||||
{
|
||||
PVOID Handle;
|
||||
|
@ -73,7 +73,7 @@ MmLockPagableDataSection(IN PVOID AddressWithinSection)
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
MmUnlockPagableImageSection(IN PVOID ImageSectionHandle)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
@ -82,7 +82,7 @@ MmUnlockPagableImageSection(IN PVOID ImageSectionHandle)
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
PVOID STDCALL
|
||||
PVOID NTAPI
|
||||
MmPageEntireDriver(IN PVOID AddressWithinSection)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
@ -93,7 +93,7 @@ MmPageEntireDriver(IN PVOID AddressWithinSection)
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
MmResetDriverPaging(IN PVOID AddressWithinSection)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
|
|
@ -180,7 +180,7 @@ MmInitializeHandBuiltProcess(IN PEPROCESS Process,
|
|||
}
|
||||
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmCreateProcessAddressSpace(IN ULONG MinWs,
|
||||
IN PEPROCESS Process,
|
||||
IN PULONG DirectoryTableBase)
|
||||
|
@ -1044,7 +1044,7 @@ MmSetPageProtect(PEPROCESS Process, PVOID Address, ULONG flProtect)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
PHYSICAL_ADDRESS STDCALL
|
||||
PHYSICAL_ADDRESS NTAPI
|
||||
MmGetPhysicalAddress(PVOID vaddr)
|
||||
/*
|
||||
* FUNCTION: Returns the physical address corresponding to a virtual address
|
||||
|
|
|
@ -341,7 +341,7 @@ MmInitializeHandBuiltProcess(IN PEPROCESS Process,
|
|||
}
|
||||
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmCreateProcessAddressSpace(IN ULONG MinWs,
|
||||
IN PEPROCESS Process,
|
||||
IN PLARGE_INTEGER DirectoryTableBase)
|
||||
|
@ -2072,7 +2072,7 @@ MmSetPageProtect(PEPROCESS Process, PVOID Address, ULONG flProtect)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
PHYSICAL_ADDRESS STDCALL
|
||||
PHYSICAL_ADDRESS NTAPI
|
||||
MmGetPhysicalAddress(PVOID vaddr)
|
||||
/*
|
||||
* FUNCTION: Returns the physical address corresponding to a virtual address
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
*
|
||||
* @implemented
|
||||
*/
|
||||
PVOID STDCALL
|
||||
PVOID NTAPI
|
||||
MmMapIoSpace (IN PHYSICAL_ADDRESS PhysicalAddress,
|
||||
IN ULONG NumberOfBytes,
|
||||
IN MEMORY_CACHING_TYPE CacheEnable)
|
||||
|
@ -135,7 +135,7 @@ MmMapIoSpace (IN PHYSICAL_ADDRESS PhysicalAddress,
|
|||
*
|
||||
* @implemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
MmUnmapIoSpace (IN PVOID BaseAddress,
|
||||
IN ULONG NumberOfBytes)
|
||||
{
|
||||
|
@ -161,7 +161,7 @@ MmUnmapIoSpace (IN PVOID BaseAddress,
|
|||
*
|
||||
* @implemented
|
||||
*/
|
||||
PVOID STDCALL
|
||||
PVOID NTAPI
|
||||
MmMapVideoDisplay (IN PHYSICAL_ADDRESS PhysicalAddress,
|
||||
IN ULONG NumberOfBytes,
|
||||
IN MEMORY_CACHING_TYPE CacheType)
|
||||
|
@ -173,7 +173,7 @@ MmMapVideoDisplay (IN PHYSICAL_ADDRESS PhysicalAddress,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
MmUnmapVideoDisplay (IN PVOID BaseAddress,
|
||||
IN ULONG NumberOfBytes)
|
||||
{
|
||||
|
|
|
@ -185,7 +185,7 @@ static VOID MmVerifyMemoryAreas(PMM_AVL_TABLE AddressSpace)
|
|||
#define MmVerifyMemoryAreas(x)
|
||||
#endif
|
||||
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
MmDumpMemoryAreas(PMM_AVL_TABLE AddressSpace)
|
||||
{
|
||||
PMEMORY_AREA Node;
|
||||
|
@ -209,7 +209,7 @@ MmDumpMemoryAreas(PMM_AVL_TABLE AddressSpace)
|
|||
DbgPrint("Finished MmDumpMemoryAreas()\n");
|
||||
}
|
||||
|
||||
PMEMORY_AREA STDCALL
|
||||
PMEMORY_AREA NTAPI
|
||||
MmLocateMemoryAreaByAddress(
|
||||
PMM_AVL_TABLE AddressSpace,
|
||||
PVOID Address)
|
||||
|
@ -239,7 +239,7 @@ MmLocateMemoryAreaByAddress(
|
|||
return NULL;
|
||||
}
|
||||
|
||||
PMEMORY_AREA STDCALL
|
||||
PMEMORY_AREA NTAPI
|
||||
MmLocateMemoryAreaByRegion(
|
||||
PMM_AVL_TABLE AddressSpace,
|
||||
PVOID Address,
|
||||
|
@ -628,7 +628,7 @@ MmFindGapTopDown(
|
|||
}
|
||||
|
||||
|
||||
PVOID STDCALL
|
||||
PVOID NTAPI
|
||||
MmFindGap(
|
||||
PMM_AVL_TABLE AddressSpace,
|
||||
ULONG_PTR Length,
|
||||
|
@ -641,7 +641,7 @@ MmFindGap(
|
|||
return MmFindGapBottomUp(AddressSpace, Length, Granularity);
|
||||
}
|
||||
|
||||
ULONG_PTR STDCALL
|
||||
ULONG_PTR NTAPI
|
||||
MmFindGapAtAddress(
|
||||
PMM_AVL_TABLE AddressSpace,
|
||||
PVOID Address)
|
||||
|
@ -738,7 +738,7 @@ MmInitMemoryAreas(VOID)
|
|||
* @remarks Lock the address space before calling this function.
|
||||
*/
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmFreeMemoryArea(
|
||||
PMM_AVL_TABLE AddressSpace,
|
||||
PMEMORY_AREA MemoryArea,
|
||||
|
@ -880,7 +880,7 @@ MmFreeMemoryArea(
|
|||
* @remarks Lock the address space before calling this function.
|
||||
*/
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmFreeMemoryAreaByPtr(
|
||||
PMM_AVL_TABLE AddressSpace,
|
||||
PVOID BaseAddress,
|
||||
|
@ -932,7 +932,7 @@ MmFreeMemoryAreaByPtr(
|
|||
* @remarks Lock the address space before calling this function.
|
||||
*/
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmCreateMemoryArea(PMM_AVL_TABLE AddressSpace,
|
||||
ULONG Type,
|
||||
PVOID *BaseAddress,
|
||||
|
@ -1055,7 +1055,7 @@ MmMapMemoryArea(PVOID BaseAddress,
|
|||
}
|
||||
|
||||
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
MmReleaseMemoryAreaIfDecommitted(PEPROCESS Process,
|
||||
PMM_AVL_TABLE AddressSpace,
|
||||
PVOID BaseAddress)
|
||||
|
|
|
@ -882,7 +882,7 @@ MmProtectMdlSystemAddress(IN PMDL MemoryDescriptorList,
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmProbeAndLockProcessPages(IN OUT PMDL MemoryDescriptorList,
|
||||
IN PEPROCESS Process,
|
||||
IN KPROCESSOR_MODE AccessMode,
|
||||
|
@ -896,7 +896,7 @@ MmProbeAndLockProcessPages(IN OUT PMDL MemoryDescriptorList,
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmProbeAndLockSelectedPages(IN OUT PMDL MemoryDescriptorList,
|
||||
IN LARGE_INTEGER PageList[],
|
||||
IN KPROCESSOR_MODE AccessMode,
|
||||
|
|
|
@ -23,7 +23,7 @@ BOOLEAN MpwThreadShouldTerminate;
|
|||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmWriteDirtyPages(ULONG Target, PULONG Actual)
|
||||
{
|
||||
PFN_TYPE Page;
|
||||
|
@ -52,7 +52,7 @@ MmWriteDirtyPages(ULONG Target, PULONG Actual)
|
|||
return(STATUS_SUCCESS);
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmMpwThreadMain(PVOID Ignored)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
*
|
||||
* @implemented
|
||||
*/
|
||||
PVOID STDCALL
|
||||
PVOID NTAPI
|
||||
MmAllocateNonCachedMemory(IN ULONG NumberOfBytes)
|
||||
{
|
||||
PVOID Result;
|
||||
|
@ -114,7 +114,7 @@ MmFreeNonCachedPage(PVOID Context, MEMORY_AREA* MemoryArea, PVOID Address,
|
|||
*
|
||||
* @implemented
|
||||
*/
|
||||
VOID STDCALL MmFreeNonCachedMemory (IN PVOID BaseAddress,
|
||||
VOID NTAPI MmFreeNonCachedMemory (IN PVOID BaseAddress,
|
||||
IN ULONG NumberOfBytes)
|
||||
{
|
||||
MmLockAddressSpace(MmGetKernelAddressSpace());
|
||||
|
|
|
@ -1455,7 +1455,7 @@ static HDR_USED* get_block(unsigned int size, unsigned long alignment)
|
|||
return (HDR_USED*)current;
|
||||
}
|
||||
|
||||
ULONG STDCALL
|
||||
ULONG NTAPI
|
||||
ExRosQueryNonPagedPoolTag ( PVOID Addr )
|
||||
{
|
||||
HDR_USED* blk=(HDR_USED*)((ULONG_PTR)Addr - HDR_USED_SIZE);
|
||||
|
@ -1530,7 +1530,7 @@ void check_redzone_list(void)
|
|||
#endif
|
||||
|
||||
|
||||
VOID STDCALL ExFreeNonPagedPool (PVOID block)
|
||||
VOID NTAPI ExFreeNonPagedPool (PVOID block)
|
||||
/*
|
||||
* FUNCTION: Releases previously allocated memory
|
||||
* ARGUMENTS:
|
||||
|
@ -1586,7 +1586,7 @@ VOID STDCALL ExFreeNonPagedPool (PVOID block)
|
|||
KeReleaseSpinLock(&MmNpoolLock, oldIrql);
|
||||
}
|
||||
|
||||
PVOID STDCALL
|
||||
PVOID NTAPI
|
||||
ExAllocateNonPagedPoolWithTag(POOL_TYPE Type, ULONG Size, ULONG Tag, PVOID Caller)
|
||||
{
|
||||
#if defined(NPOOL_REDZONE_CHECK) || defined(NPOOL_REDZONE_CHECK_FULL)
|
||||
|
@ -1787,7 +1787,7 @@ MiInitializeNonPagedPool(VOID)
|
|||
}
|
||||
|
||||
PVOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
MiAllocateSpecialPool (IN POOL_TYPE PoolType,
|
||||
IN SIZE_T NumberOfBytes,
|
||||
IN ULONG Tag,
|
||||
|
|
|
@ -137,7 +137,7 @@ MmBuildMdlFromPages(PMDL Mdl, PPFN_TYPE Pages)
|
|||
|
||||
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmIsFileAPagingFile(PFILE_OBJECT FileObject)
|
||||
{
|
||||
ULONG i;
|
||||
|
@ -538,7 +538,7 @@ MmAllocRetrievelDescriptorList(ULONG Pairs)
|
|||
return RetDescList;
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmDumpToPagingFile(ULONG BugCode,
|
||||
ULONG BugCodeParameter1,
|
||||
ULONG BugCodeParameter2,
|
||||
|
@ -681,7 +681,7 @@ MmDumpToPagingFile(ULONG BugCode,
|
|||
return(STATUS_SUCCESS);
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmInitializeCrashDump(HANDLE PageFileHandle, ULONG PageFileNum)
|
||||
{
|
||||
PFILE_OBJECT PageFile;
|
||||
|
@ -795,7 +795,7 @@ MmInitializeCrashDump(HANDLE PageFileHandle, ULONG PageFileNum)
|
|||
return(STATUS_SUCCESS);
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtCreatePagingFile(IN PUNICODE_STRING FileName,
|
||||
IN PLARGE_INTEGER InitialSize,
|
||||
IN PLARGE_INTEGER MaximumSize,
|
||||
|
|
|
@ -27,7 +27,7 @@ EiGetPagedPoolTag(IN PVOID Block);
|
|||
ULONG NTAPI
|
||||
EiGetNonPagedPoolTag(IN PVOID Block);
|
||||
|
||||
static PVOID STDCALL
|
||||
static PVOID NTAPI
|
||||
EiAllocatePool(POOL_TYPE PoolType,
|
||||
ULONG NumberOfBytes,
|
||||
ULONG Tag,
|
||||
|
@ -70,7 +70,7 @@ EiAllocatePool(POOL_TYPE PoolType,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
PVOID STDCALL
|
||||
PVOID NTAPI
|
||||
ExAllocatePool (POOL_TYPE PoolType, ULONG NumberOfBytes)
|
||||
/*
|
||||
* FUNCTION: Allocates pool memory of a specified type and returns a pointer
|
||||
|
@ -119,7 +119,7 @@ ExAllocatePool (POOL_TYPE PoolType, ULONG NumberOfBytes)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
PVOID STDCALL
|
||||
PVOID NTAPI
|
||||
ExAllocatePoolWithTag (POOL_TYPE PoolType, ULONG NumberOfBytes, ULONG Tag)
|
||||
{
|
||||
PVOID Block;
|
||||
|
@ -147,7 +147,7 @@ ExAllocatePoolWithTag (POOL_TYPE PoolType, ULONG NumberOfBytes, ULONG Tag)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
PVOID STDCALL
|
||||
PVOID NTAPI
|
||||
ExAllocatePoolWithQuota (POOL_TYPE PoolType, ULONG NumberOfBytes)
|
||||
{
|
||||
return(ExAllocatePoolWithQuotaTag(PoolType, NumberOfBytes, TAG_NONE));
|
||||
|
@ -157,7 +157,7 @@ ExAllocatePoolWithQuota (POOL_TYPE PoolType, ULONG NumberOfBytes)
|
|||
* @implemented
|
||||
*/
|
||||
PVOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
ExAllocatePoolWithTagPriority(
|
||||
IN POOL_TYPE PoolType,
|
||||
IN SIZE_T NumberOfBytes,
|
||||
|
@ -269,7 +269,7 @@ ExFreePoolWithTag(IN PVOID Block, IN ULONG Tag)
|
|||
* @unimplemented
|
||||
*/
|
||||
SIZE_T
|
||||
STDCALL
|
||||
NTAPI
|
||||
ExQueryPoolBlockSize (
|
||||
IN PVOID PoolBlock,
|
||||
OUT PBOOLEAN QuotaCharged
|
||||
|
@ -283,7 +283,7 @@ ExQueryPoolBlockSize (
|
|||
* @unimplemented
|
||||
*/
|
||||
PVOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmAllocateMappingAddress (
|
||||
IN SIZE_T NumberOfBytes,
|
||||
IN ULONG PoolTag
|
||||
|
@ -298,7 +298,7 @@ MmAllocateMappingAddress (
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmFreeMappingAddress (
|
||||
IN PVOID BaseAddress,
|
||||
IN ULONG PoolTag
|
||||
|
@ -308,7 +308,7 @@ MmFreeMappingAddress (
|
|||
}
|
||||
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
MiRaisePoolQuota(
|
||||
IN POOL_TYPE PoolType,
|
||||
IN ULONG CurrentMaxQuota,
|
||||
|
|
|
@ -52,7 +52,7 @@ __inline LARGE_INTEGER PTE_TO_PAGE(ULONG npage)
|
|||
/* FUNCTIONS ***************************************************************/
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
MiFlushTlbIpiRoutine(PVOID Address)
|
||||
{
|
||||
if (Address == (PVOID)0xffffffff)
|
||||
|
@ -91,7 +91,7 @@ ProtectToFlags(ULONG flProtect)
|
|||
}
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmCopyMmInfo(PEPROCESS Src,
|
||||
PEPROCESS Dest,
|
||||
PPHYSICAL_ADDRESS DirectoryTableBase)
|
||||
|
@ -120,7 +120,7 @@ MmInitializeHandBuiltProcess(IN PEPROCESS Process,
|
|||
}
|
||||
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmCreateProcessAddressSpace(IN ULONG MinWs,
|
||||
IN PEPROCESS Process,
|
||||
IN PLARGE_INTEGER DirectoryTableBase)
|
||||
|
@ -180,7 +180,7 @@ MmGetPhysicalAddressProcess(PEPROCESS Process, PVOID Addr)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
PHYSICAL_ADDRESS STDCALL
|
||||
PHYSICAL_ADDRESS NTAPI
|
||||
MmGetPhysicalAddress(PVOID vaddr)
|
||||
/*
|
||||
* FUNCTION: Returns the physical address corresponding to a virtual address
|
||||
|
|
|
@ -77,7 +77,7 @@ MmInitializePagedPool(VOID)
|
|||
*
|
||||
* RETURN VALUE
|
||||
*/
|
||||
PVOID STDCALL
|
||||
PVOID NTAPI
|
||||
ExAllocatePagedPoolWithTag (IN POOL_TYPE PoolType,
|
||||
IN ULONG NumberOfBytes,
|
||||
IN ULONG Tag)
|
||||
|
@ -96,7 +96,7 @@ ExAllocatePagedPoolWithTag (IN POOL_TYPE PoolType,
|
|||
return RPoolAlloc ( MmPagedPool, NumberOfBytes, Tag, align );
|
||||
}
|
||||
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
ExFreePagedPool(IN PVOID Block)
|
||||
{
|
||||
ASSERT_IRQL_LESS_OR_EQUAL(APC_LEVEL);
|
||||
|
|
|
@ -75,7 +75,7 @@ MmGetSessionLocaleId(VOID)
|
|||
}
|
||||
|
||||
PVOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
MiCreatePebOrTeb(PEPROCESS Process,
|
||||
PVOID BaseAddress)
|
||||
{
|
||||
|
@ -139,7 +139,7 @@ MiFreeStackPage(PVOID Context,
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmDeleteKernelStack(PVOID StackBase,
|
||||
BOOLEAN GuiStack)
|
||||
{
|
||||
|
@ -159,7 +159,7 @@ MmDeleteKernelStack(PVOID StackBase,
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmDeleteTeb(PEPROCESS Process,
|
||||
PTEB Teb)
|
||||
{
|
||||
|
@ -181,7 +181,7 @@ MmDeleteTeb(PEPROCESS Process,
|
|||
}
|
||||
|
||||
PVOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmCreateKernelStack(BOOLEAN GuiStack,
|
||||
UCHAR Node)
|
||||
{
|
||||
|
@ -253,7 +253,7 @@ MmCreateKernelStack(BOOLEAN GuiStack,
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmGrowKernelStack(PVOID StackPointer)
|
||||
{
|
||||
PETHREAD Thread = PsGetCurrentThread();
|
||||
|
@ -274,7 +274,7 @@ MmGrowKernelStack(PVOID StackPointer)
|
|||
}
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmCreatePeb(PEPROCESS Process)
|
||||
{
|
||||
PPEB Peb = NULL;
|
||||
|
@ -424,7 +424,7 @@ MmCreatePeb(PEPROCESS Process)
|
|||
}
|
||||
|
||||
PTEB
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmCreateTeb(PEPROCESS Process,
|
||||
PCLIENT_ID ClientId,
|
||||
PINITIAL_TEB InitialTeb)
|
||||
|
|
|
@ -2089,7 +2089,7 @@ MmProtectSectionView(PMM_AVL_TABLE AddressSpace,
|
|||
return(Status);
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmQuerySectionView(PMEMORY_AREA MemoryArea,
|
||||
PVOID Address,
|
||||
PMEMORY_BASIC_INFORMATION Info,
|
||||
|
@ -2168,7 +2168,7 @@ MmpFreePageFileSegment(PMM_SECTION_SEGMENT Segment)
|
|||
}
|
||||
}
|
||||
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
MmpDeleteSection(PVOID ObjectBody)
|
||||
{
|
||||
PROS_SECTION_OBJECT Section = (PROS_SECTION_OBJECT)ObjectBody;
|
||||
|
@ -2239,7 +2239,7 @@ MmpDeleteSection(PVOID ObjectBody)
|
|||
}
|
||||
}
|
||||
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
MmpCloseSection(IN PEPROCESS Process OPTIONAL,
|
||||
IN PVOID Object,
|
||||
IN ACCESS_MASK GrantedAccess,
|
||||
|
@ -3477,7 +3477,7 @@ MmCreateImageSection(PROS_SECTION_OBJECT *SectionObject,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtCreateSection (OUT PHANDLE SectionHandle,
|
||||
IN ACCESS_MASK DesiredAccess,
|
||||
IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
|
||||
|
@ -3552,7 +3552,7 @@ NtCreateSection (OUT PHANDLE SectionHandle,
|
|||
*
|
||||
* REVISIONS
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtOpenSection(PHANDLE SectionHandle,
|
||||
ACCESS_MASK DesiredAccess,
|
||||
POBJECT_ATTRIBUTES ObjectAttributes)
|
||||
|
@ -3699,7 +3699,7 @@ MmMapViewOfSegment(PMM_AVL_TABLE AddressSpace,
|
|||
*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtMapViewOfSection(IN HANDLE SectionHandle,
|
||||
IN HANDLE ProcessHandle,
|
||||
IN OUT PVOID* BaseAddress OPTIONAL,
|
||||
|
@ -4029,7 +4029,7 @@ MmUnmapViewOfSegment(PMM_AVL_TABLE AddressSpace,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmUnmapViewOfSection(PEPROCESS Process,
|
||||
PVOID BaseAddress)
|
||||
{
|
||||
|
@ -4166,7 +4166,7 @@ MmUnmapViewOfSection(PEPROCESS Process,
|
|||
*
|
||||
* REVISIONS
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtUnmapViewOfSection (HANDLE ProcessHandle,
|
||||
PVOID BaseAddress)
|
||||
{
|
||||
|
@ -4222,7 +4222,7 @@ NtUnmapViewOfSection (HANDLE ProcessHandle,
|
|||
*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtQuerySection(IN HANDLE SectionHandle,
|
||||
IN SECTION_INFORMATION_CLASS SectionInformationClass,
|
||||
OUT PVOID SectionInformation,
|
||||
|
@ -4352,7 +4352,7 @@ NtQuerySection(IN HANDLE SectionHandle,
|
|||
* @todo Move the actual code to internal function MmExtendSection.
|
||||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtExtendSection(IN HANDLE SectionHandle,
|
||||
IN PLARGE_INTEGER NewMaximumSize)
|
||||
{
|
||||
|
@ -4430,7 +4430,7 @@ NtExtendSection(IN HANDLE SectionHandle,
|
|||
*
|
||||
* REVISIONS
|
||||
*/
|
||||
PVOID STDCALL
|
||||
PVOID NTAPI
|
||||
MmAllocateSection (IN ULONG Length, PVOID BaseAddress)
|
||||
{
|
||||
PVOID Result;
|
||||
|
@ -4519,7 +4519,7 @@ MmAllocateSection (IN ULONG Length, PVOID BaseAddress)
|
|||
*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmMapViewOfSection(IN PVOID SectionObject,
|
||||
IN PEPROCESS Process,
|
||||
IN OUT PVOID *BaseAddress,
|
||||
|
@ -4716,7 +4716,7 @@ MmMapViewOfSection(IN PVOID SectionObject,
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN STDCALL
|
||||
BOOLEAN NTAPI
|
||||
MmCanFileBeTruncated (IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
|
||||
IN PLARGE_INTEGER NewFileSize)
|
||||
{
|
||||
|
@ -4728,7 +4728,7 @@ MmCanFileBeTruncated (IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN STDCALL
|
||||
BOOLEAN NTAPI
|
||||
MmDisableModifiedWriteOfSection (ULONG Unknown0)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
@ -4738,7 +4738,7 @@ MmDisableModifiedWriteOfSection (ULONG Unknown0)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
BOOLEAN STDCALL
|
||||
BOOLEAN NTAPI
|
||||
MmFlushImageSection (IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
|
||||
IN MMFLUSH_TYPE FlushType)
|
||||
{
|
||||
|
@ -4761,7 +4761,7 @@ MmFlushImageSection (IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN STDCALL
|
||||
BOOLEAN NTAPI
|
||||
MmForceSectionClosed (
|
||||
IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
|
||||
IN BOOLEAN DelayClose)
|
||||
|
@ -4774,7 +4774,7 @@ MmForceSectionClosed (
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmMapViewInSystemSpace (IN PVOID SectionObject,
|
||||
OUT PVOID * MappedBase,
|
||||
IN OUT PULONG ViewSize)
|
||||
|
@ -4822,7 +4822,7 @@ MmMapViewInSystemSpace (IN PVOID SectionObject,
|
|||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmMapViewInSessionSpace (
|
||||
IN PVOID Section,
|
||||
OUT PVOID *MappedBase,
|
||||
|
@ -4837,7 +4837,7 @@ MmMapViewInSessionSpace (
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmUnmapViewInSystemSpace (IN PVOID MappedBase)
|
||||
{
|
||||
PMM_AVL_TABLE AddressSpace;
|
||||
|
@ -4856,7 +4856,7 @@ MmUnmapViewInSystemSpace (IN PVOID MappedBase)
|
|||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmUnmapViewInSessionSpace (
|
||||
IN PVOID MappedBase
|
||||
)
|
||||
|
@ -4868,7 +4868,7 @@ MmUnmapViewInSessionSpace (
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmSetBankedSection (ULONG Unknown0,
|
||||
ULONG Unknown1,
|
||||
ULONG Unknown2,
|
||||
|
@ -4936,7 +4936,7 @@ MmSetBankedSection (ULONG Unknown0,
|
|||
*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MmCreateSection (OUT PVOID * Section,
|
||||
IN ACCESS_MASK DesiredAccess,
|
||||
IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
|
||||
|
|
|
@ -568,7 +568,7 @@ MiQueryVirtualMemory(IN HANDLE ProcessHandle,
|
|||
return Status;
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
MiProtectVirtualMemory(IN PEPROCESS Process,
|
||||
IN OUT PVOID *BaseAddress,
|
||||
IN OUT PSIZE_T NumberOfBytesToProtect,
|
||||
|
@ -932,7 +932,7 @@ NtProtectVirtualMemory(IN HANDLE ProcessHandle,
|
|||
return Status;
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtQueryVirtualMemory(IN HANDLE ProcessHandle,
|
||||
IN PVOID Address,
|
||||
IN MEMORY_INFORMATION_CLASS VirtualMemoryInformationClass,
|
||||
|
|
|
@ -51,7 +51,7 @@ MmTrimUserMemory(ULONG Target, ULONG Priority, PULONG NrFreedPages)
|
|||
* @unimplemented
|
||||
*/
|
||||
ULONG
|
||||
STDCALL
|
||||
NTAPI
|
||||
MmTrimAllSystemPagableMemory (
|
||||
IN ULONG PurgeTransitionList
|
||||
)
|
||||
|
|
|
@ -108,7 +108,7 @@ PsInitializeQuotaSystem(VOID)
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
PspInheritQuota(PEPROCESS Process, PEPROCESS ParentProcess)
|
||||
{
|
||||
if (ParentProcess != NULL)
|
||||
|
@ -126,7 +126,7 @@ PspInheritQuota(PEPROCESS Process, PEPROCESS ParentProcess)
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
PspDestroyQuotaBlock(PEPROCESS Process)
|
||||
{
|
||||
PEPROCESS_QUOTA_BLOCK QuotaBlock = Process->QuotaBlock;
|
||||
|
@ -159,7 +159,7 @@ PsChargeProcessPageFileQuota(IN PEPROCESS Process,
|
|||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
PsChargePoolQuota(IN PEPROCESS Process,
|
||||
IN POOL_TYPE PoolType,
|
||||
IN SIZE_T Amount)
|
||||
|
@ -184,7 +184,7 @@ PsChargePoolQuota(IN PEPROCESS Process,
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
PsChargeProcessNonPagedPoolQuota(IN PEPROCESS Process,
|
||||
IN SIZE_T Amount)
|
||||
{
|
||||
|
@ -196,7 +196,7 @@ PsChargeProcessNonPagedPoolQuota(IN PEPROCESS Process,
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
PsChargeProcessPagedPoolQuota(IN PEPROCESS Process,
|
||||
IN SIZE_T Amount)
|
||||
{
|
||||
|
@ -208,7 +208,7 @@ PsChargeProcessPagedPoolQuota(IN PEPROCESS Process,
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
PsChargeProcessPoolQuota(IN PEPROCESS Process,
|
||||
IN POOL_TYPE PoolType,
|
||||
IN SIZE_T Amount)
|
||||
|
@ -230,7 +230,7 @@ PsChargeProcessPoolQuota(IN PEPROCESS Process,
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
PsReturnPoolQuota(IN PEPROCESS Process,
|
||||
IN POOL_TYPE PoolType,
|
||||
IN SIZE_T Amount)
|
||||
|
@ -257,7 +257,7 @@ PsReturnPoolQuota(IN PEPROCESS Process,
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
PsReturnProcessNonPagedPoolQuota(IN PEPROCESS Process,
|
||||
IN SIZE_T Amount)
|
||||
{
|
||||
|
@ -275,7 +275,7 @@ PsReturnProcessNonPagedPoolQuota(IN PEPROCESS Process,
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
PsReturnProcessPagedPoolQuota(IN PEPROCESS Process,
|
||||
IN SIZE_T Amount)
|
||||
{
|
||||
|
|
|
@ -59,14 +59,14 @@ RtlpSetInDbgPrint(IN BOOLEAN NewValue)
|
|||
}
|
||||
|
||||
KPROCESSOR_MODE
|
||||
STDCALL
|
||||
NTAPI
|
||||
RtlpGetMode()
|
||||
{
|
||||
return KernelMode;
|
||||
}
|
||||
|
||||
PVOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
RtlpAllocateMemory(ULONG Bytes,
|
||||
ULONG Tag)
|
||||
{
|
||||
|
@ -80,7 +80,7 @@ RtlpAllocateMemory(ULONG Bytes,
|
|||
#define TAG_ASTR TAG('A', 'S', 'T', 'R')
|
||||
#define TAG_OSTR TAG('O', 'S', 'T', 'R')
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
RtlpFreeMemory(PVOID Mem,
|
||||
ULONG Tag)
|
||||
{
|
||||
|
@ -93,7 +93,7 @@ RtlpFreeMemory(PVOID Mem,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
RtlAcquirePebLock(VOID)
|
||||
{
|
||||
|
||||
|
@ -102,14 +102,14 @@ RtlAcquirePebLock(VOID)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
RtlReleasePebLock(VOID)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
LdrShutdownThread(VOID)
|
||||
{
|
||||
return STATUS_SUCCESS;
|
||||
|
@ -117,14 +117,14 @@ LdrShutdownThread(VOID)
|
|||
|
||||
|
||||
PPEB
|
||||
STDCALL
|
||||
NTAPI
|
||||
RtlGetCurrentPeb(VOID)
|
||||
{
|
||||
return ((PEPROCESS)(KeGetCurrentThread()->ApcState.Process))->Peb;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
RtlDeleteHeapLock(
|
||||
PRTL_CRITICAL_SECTION CriticalSection)
|
||||
{
|
||||
|
@ -133,7 +133,7 @@ RtlDeleteHeapLock(
|
|||
}
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
RtlEnterHeapLock(
|
||||
PRTL_CRITICAL_SECTION CriticalSection)
|
||||
{
|
||||
|
@ -142,7 +142,7 @@ RtlEnterHeapLock(
|
|||
}
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
RtlInitializeHeapLock(
|
||||
PRTL_CRITICAL_SECTION CriticalSection)
|
||||
{
|
||||
|
@ -151,7 +151,7 @@ RtlInitializeHeapLock(
|
|||
}
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
RtlLeaveHeapLock(
|
||||
PRTL_CRITICAL_SECTION CriticalSection)
|
||||
{
|
||||
|
|
|
@ -26,7 +26,7 @@ extern ULONG NtOSCSDVersion;
|
|||
* @implemented
|
||||
*/
|
||||
ULONG
|
||||
STDCALL
|
||||
NTAPI
|
||||
RtlGetNtGlobalFlags(VOID)
|
||||
{
|
||||
return(NtGlobalFlag);
|
||||
|
@ -36,7 +36,7 @@ RtlGetNtGlobalFlags(VOID)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
RtlGetVersion(IN OUT PRTL_OSVERSIONINFOW lpVersionInformation)
|
||||
{
|
||||
ULONG i, MaxLength;
|
||||
|
|
|
@ -175,7 +175,7 @@ SeCreateAccessStateEx(IN PETHREAD Thread,
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeCreateAccessState(IN OUT PACCESS_STATE AccessState,
|
||||
IN PAUX_ACCESS_DATA AuxData,
|
||||
IN ACCESS_MASK Access,
|
||||
|
@ -196,7 +196,7 @@ SeCreateAccessState(IN OUT PACCESS_STATE AccessState,
|
|||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeDeleteAccessState(IN PACCESS_STATE AccessState)
|
||||
{
|
||||
PAUX_ACCESS_DATA AuxData;
|
||||
|
@ -226,7 +226,7 @@ SeDeleteAccessState(IN PACCESS_STATE AccessState)
|
|||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeSetAccessStateGenericMapping(IN PACCESS_STATE AccessState,
|
||||
IN PGENERIC_MAPPING GenericMapping)
|
||||
{
|
||||
|
|
|
@ -219,7 +219,7 @@ SepInitDACLs(VOID)
|
|||
return(TRUE);
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
SepCreateImpersonationTokenDacl(PTOKEN Token,
|
||||
PTOKEN PrimaryToken,
|
||||
PACL *Dacl)
|
||||
|
|
|
@ -187,7 +187,7 @@ SeLocateProcessImageName(IN PEPROCESS Process,
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeAuditHardLinkCreation(IN PUNICODE_STRING FileName,
|
||||
IN PUNICODE_STRING LinkName,
|
||||
IN BOOLEAN bSuccess)
|
||||
|
@ -199,7 +199,7 @@ SeAuditHardLinkCreation(IN PUNICODE_STRING FileName,
|
|||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeAuditingFileEvents(IN BOOLEAN AccessGranted,
|
||||
IN PSECURITY_DESCRIPTOR SecurityDescriptor)
|
||||
{
|
||||
|
@ -211,7 +211,7 @@ SeAuditingFileEvents(IN BOOLEAN AccessGranted,
|
|||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeAuditingFileEventsWithContext(IN BOOLEAN AccessGranted,
|
||||
IN PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||
IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext OPTIONAL)
|
||||
|
@ -224,7 +224,7 @@ SeAuditingFileEventsWithContext(IN BOOLEAN AccessGranted,
|
|||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeAuditingHardLinkEvents(IN BOOLEAN AccessGranted,
|
||||
IN PSECURITY_DESCRIPTOR SecurityDescriptor)
|
||||
{
|
||||
|
@ -236,7 +236,7 @@ SeAuditingHardLinkEvents(IN BOOLEAN AccessGranted,
|
|||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeAuditingHardLinkEventsWithContext(IN BOOLEAN AccessGranted,
|
||||
IN PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||
IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext OPTIONAL)
|
||||
|
@ -249,7 +249,7 @@ SeAuditingHardLinkEventsWithContext(IN BOOLEAN AccessGranted,
|
|||
* @unimplemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeAuditingFileOrGlobalEvents(IN BOOLEAN AccessGranted,
|
||||
IN PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||
IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext)
|
||||
|
@ -262,7 +262,7 @@ SeAuditingFileOrGlobalEvents(IN BOOLEAN AccessGranted,
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeCloseObjectAuditAlarm(
|
||||
IN PVOID Object,
|
||||
IN HANDLE Handle,
|
||||
|
@ -275,7 +275,7 @@ SeCloseObjectAuditAlarm(
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
SeDeleteObjectAuditAlarm(IN PVOID Object,
|
||||
IN HANDLE Handle)
|
||||
{
|
||||
|
@ -310,7 +310,7 @@ SeOpenObjectAuditAlarm(IN PUNICODE_STRING ObjectTypeName,
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
SeOpenObjectForDeleteAuditAlarm(IN PUNICODE_STRING ObjectTypeName,
|
||||
IN PVOID Object OPTIONAL,
|
||||
IN PUNICODE_STRING AbsoluteObjectName OPTIONAL,
|
||||
|
@ -328,7 +328,7 @@ SeOpenObjectForDeleteAuditAlarm(IN PUNICODE_STRING ObjectTypeName,
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
SePrivilegeObjectAuditAlarm(IN HANDLE Handle,
|
||||
IN PSECURITY_SUBJECT_CONTEXT SubjectContext,
|
||||
IN ACCESS_MASK DesiredAccess,
|
||||
|
@ -360,7 +360,7 @@ NtAccessCheckAndAuditAlarm(IN PUNICODE_STRING SubsystemName,
|
|||
}
|
||||
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtCloseObjectAuditAlarm(IN PUNICODE_STRING SubsystemName,
|
||||
IN PVOID HandleId,
|
||||
IN BOOLEAN GenerateOnClose)
|
||||
|
@ -370,7 +370,7 @@ NtCloseObjectAuditAlarm(IN PUNICODE_STRING SubsystemName,
|
|||
}
|
||||
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtDeleteObjectAuditAlarm(IN PUNICODE_STRING SubsystemName,
|
||||
IN PVOID HandleId,
|
||||
IN BOOLEAN GenerateOnClose)
|
||||
|
@ -380,7 +380,7 @@ NtDeleteObjectAuditAlarm(IN PUNICODE_STRING SubsystemName,
|
|||
}
|
||||
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtOpenObjectAuditAlarm(IN PUNICODE_STRING SubsystemName,
|
||||
IN PVOID HandleId,
|
||||
IN PUNICODE_STRING ObjectTypeName,
|
||||
|
@ -399,7 +399,7 @@ NtOpenObjectAuditAlarm(IN PUNICODE_STRING SubsystemName,
|
|||
}
|
||||
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtPrivilegedServiceAuditAlarm(IN PUNICODE_STRING SubsystemName,
|
||||
IN PUNICODE_STRING ServiceName,
|
||||
IN HANDLE ClientToken,
|
||||
|
@ -411,7 +411,7 @@ NtPrivilegedServiceAuditAlarm(IN PUNICODE_STRING SubsystemName,
|
|||
}
|
||||
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtPrivilegeObjectAuditAlarm(IN PUNICODE_STRING SubsystemName,
|
||||
IN PVOID HandleId,
|
||||
IN HANDLE ClientToken,
|
||||
|
|
|
@ -107,7 +107,7 @@ LsaRegisterLogonProcess(IN PLSA_STRING LogonProcessName,
|
|||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeMarkLogonSessionForTerminationNotification(IN PLUID LogonId)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
@ -118,7 +118,7 @@ SeMarkLogonSessionForTerminationNotification(IN PLUID LogonId)
|
|||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeRegisterLogonSessionTerminatedRoutine(IN PSE_LOGON_SESSION_TERMINATED_ROUTINE CallbackRoutine)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
@ -129,7 +129,7 @@ SeRegisterLogonSessionTerminatedRoutine(IN PSE_LOGON_SESSION_TERMINATED_ROUTINE
|
|||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeUnregisterLogonSessionTerminatedRoutine(IN PSE_LOGON_SESSION_TERMINATED_ROUTINE CallbackRoutine)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
|
|
@ -289,7 +289,7 @@ SeReleaseLuidAndAttributesArray (PLUID_AND_ATTRIBUTES Privilege,
|
|||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeAppendPrivileges(PACCESS_STATE AccessState,
|
||||
PPRIVILEGE_SET Privileges)
|
||||
{
|
||||
|
@ -301,7 +301,7 @@ SeAppendPrivileges(PACCESS_STATE AccessState,
|
|||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeFreePrivileges(IN PPRIVILEGE_SET Privileges)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
@ -310,7 +310,7 @@ SeFreePrivileges(IN PPRIVILEGE_SET Privileges)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
BOOLEAN STDCALL
|
||||
BOOLEAN NTAPI
|
||||
SePrivilegeCheck (PPRIVILEGE_SET Privileges,
|
||||
PSECURITY_SUBJECT_CONTEXT SubjectContext,
|
||||
KPROCESSOR_MODE PreviousMode)
|
||||
|
@ -342,7 +342,7 @@ SePrivilegeCheck (PPRIVILEGE_SET Privileges,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
BOOLEAN STDCALL
|
||||
BOOLEAN NTAPI
|
||||
SeSinglePrivilegeCheck (IN LUID PrivilegeValue,
|
||||
IN KPROCESSOR_MODE PreviousMode)
|
||||
{
|
||||
|
@ -379,7 +379,7 @@ SeSinglePrivilegeCheck (IN LUID PrivilegeValue,
|
|||
|
||||
/* SYSTEM CALLS ***************************************************************/
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtPrivilegeCheck (IN HANDLE ClientToken,
|
||||
IN PPRIVILEGE_SET RequiredPrivileges,
|
||||
OUT PBOOLEAN Result)
|
||||
|
|
|
@ -383,7 +383,7 @@ SepReleaseSecurityQualityOfService(IN PSECURITY_QUALITY_OF_SERVICE CapturedSecur
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeCaptureSecurityDescriptor(IN PSECURITY_DESCRIPTOR _OriginalSecurityDescriptor,
|
||||
IN KPROCESSOR_MODE CurrentMode,
|
||||
IN POOL_TYPE PoolType,
|
||||
|
@ -720,7 +720,7 @@ Offset += ROUND_UP(Type##Size, sizeof(ULONG)); \
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
SeQuerySecurityDescriptorInfo(IN PSECURITY_INFORMATION SecurityInformation,
|
||||
IN OUT PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||
IN OUT PULONG Length,
|
||||
|
@ -858,7 +858,7 @@ SeQuerySecurityDescriptorInfo(IN PSECURITY_INFORMATION SecurityInformation,
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeReleaseSecurityDescriptor(IN PSECURITY_DESCRIPTOR CapturedSecurityDescriptor,
|
||||
IN KPROCESSOR_MODE CurrentMode,
|
||||
IN BOOLEAN CaptureIfKernelMode)
|
||||
|
@ -882,7 +882,7 @@ SeReleaseSecurityDescriptor(IN PSECURITY_DESCRIPTOR CapturedSecurityDescriptor,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
SeSetSecurityDescriptorInfo(IN PVOID Object OPTIONAL,
|
||||
IN PSECURITY_INFORMATION _SecurityInformation,
|
||||
IN PSECURITY_DESCRIPTOR _SecurityDescriptor,
|
||||
|
@ -1073,7 +1073,7 @@ SeSetSecurityDescriptorInfo(IN PVOID Object OPTIONAL,
|
|||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeSetSecurityDescriptorInfoEx(IN PVOID Object OPTIONAL,
|
||||
IN PSECURITY_INFORMATION SecurityInformation,
|
||||
IN PSECURITY_DESCRIPTOR ModificationDescriptor,
|
||||
|
@ -1095,7 +1095,7 @@ SeSetSecurityDescriptorInfoEx(IN PVOID Object OPTIONAL,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
BOOLEAN STDCALL
|
||||
BOOLEAN NTAPI
|
||||
SeValidSecurityDescriptor(IN ULONG Length,
|
||||
IN PSECURITY_DESCRIPTOR _SecurityDescriptor)
|
||||
{
|
||||
|
@ -1231,7 +1231,7 @@ SeValidSecurityDescriptor(IN ULONG Length,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
SeDeassignSecurity(PSECURITY_DESCRIPTOR *SecurityDescriptor)
|
||||
{
|
||||
PAGED_CODE();
|
||||
|
@ -1249,7 +1249,7 @@ SeDeassignSecurity(PSECURITY_DESCRIPTOR *SecurityDescriptor)
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
SeAssignSecurityEx(IN PSECURITY_DESCRIPTOR ParentDescriptor OPTIONAL,
|
||||
IN PSECURITY_DESCRIPTOR ExplicitDescriptor OPTIONAL,
|
||||
OUT PSECURITY_DESCRIPTOR *NewDescriptor,
|
||||
|
@ -1267,7 +1267,7 @@ SeAssignSecurityEx(IN PSECURITY_DESCRIPTOR ParentDescriptor OPTIONAL,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
SeAssignSecurity(PSECURITY_DESCRIPTOR _ParentDescriptor OPTIONAL,
|
||||
PSECURITY_DESCRIPTOR _ExplicitDescriptor OPTIONAL,
|
||||
PSECURITY_DESCRIPTOR *NewDescriptor,
|
||||
|
|
|
@ -309,7 +309,7 @@ SepSidInToken(PACCESS_TOKEN _Token,
|
|||
}
|
||||
|
||||
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
SeQuerySecurityAccessMask(IN SECURITY_INFORMATION SecurityInformation,
|
||||
OUT PACCESS_MASK DesiredAccess)
|
||||
{
|
||||
|
@ -326,7 +326,7 @@ SeQuerySecurityAccessMask(IN SECURITY_INFORMATION SecurityInformation,
|
|||
}
|
||||
}
|
||||
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
SeSetSecurityAccessMask(IN SECURITY_INFORMATION SecurityInformation,
|
||||
OUT PACCESS_MASK DesiredAccess)
|
||||
{
|
||||
|
@ -351,7 +351,7 @@ SeSetSecurityAccessMask(IN SECURITY_INFORMATION SecurityInformation,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
BOOLEAN STDCALL
|
||||
BOOLEAN NTAPI
|
||||
SeAccessCheck(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||
IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext,
|
||||
IN BOOLEAN SubjectContextLocked,
|
||||
|
@ -619,7 +619,7 @@ SeAccessCheck(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
|
|||
|
||||
/* SYSTEM CALLS ***************************************************************/
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtAccessCheck(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||
IN HANDLE TokenHandle,
|
||||
IN ACCESS_MASK DesiredAccess,
|
||||
|
|
|
@ -216,7 +216,7 @@ SepFindPrimaryGroupAndDefaultOwner(PTOKEN Token,
|
|||
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
SepDuplicateToken(PTOKEN Token,
|
||||
POBJECT_ATTRIBUTES ObjectAttributes,
|
||||
BOOLEAN EffectiveOnly,
|
||||
|
@ -422,7 +422,7 @@ SeIsTokenChild(IN PTOKEN Token,
|
|||
}
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeCopyClientToken(IN PACCESS_TOKEN Token,
|
||||
IN SECURITY_IMPERSONATION_LEVEL Level,
|
||||
IN KPROCESSOR_MODE PreviousMode,
|
||||
|
@ -449,7 +449,7 @@ SeCopyClientToken(IN PACCESS_TOKEN Token,
|
|||
return(Status);
|
||||
}
|
||||
|
||||
VOID STDCALL
|
||||
VOID NTAPI
|
||||
SepDeleteToken(PVOID ObjectBody)
|
||||
{
|
||||
PTOKEN AccessToken = (PTOKEN)ObjectBody;
|
||||
|
@ -513,7 +513,7 @@ SeAssignPrimaryToken(IN PEPROCESS Process,
|
|||
}
|
||||
|
||||
PTOKEN
|
||||
STDCALL
|
||||
NTAPI
|
||||
SepCreateSystemProcessToken(VOID)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
|
@ -728,7 +728,7 @@ SepCreateSystemProcessToken(VOID)
|
|||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeFilterToken(IN PACCESS_TOKEN ExistingToken,
|
||||
IN ULONG Flags,
|
||||
IN PTOKEN_GROUPS SidsToDisable OPTIONAL,
|
||||
|
@ -744,7 +744,7 @@ SeFilterToken(IN PACCESS_TOKEN ExistingToken,
|
|||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeQueryInformationToken(IN PACCESS_TOKEN Token,
|
||||
IN TOKEN_INFORMATION_CLASS TokenInformationClass,
|
||||
OUT PVOID *TokenInformation)
|
||||
|
@ -757,7 +757,7 @@ SeQueryInformationToken(IN PACCESS_TOKEN Token,
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeQuerySessionIdToken(IN PACCESS_TOKEN Token,
|
||||
IN PULONG pSessionId)
|
||||
{
|
||||
|
@ -768,7 +768,7 @@ SeQuerySessionIdToken(IN PACCESS_TOKEN Token,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
SeQueryAuthenticationIdToken(IN PACCESS_TOKEN Token,
|
||||
OUT PLUID LogonId)
|
||||
{
|
||||
|
@ -784,7 +784,7 @@ SeQueryAuthenticationIdToken(IN PACCESS_TOKEN Token,
|
|||
* @implemented
|
||||
*/
|
||||
SECURITY_IMPERSONATION_LEVEL
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeTokenImpersonationLevel(IN PACCESS_TOKEN Token)
|
||||
{
|
||||
PAGED_CODE();
|
||||
|
@ -796,7 +796,7 @@ SeTokenImpersonationLevel(IN PACCESS_TOKEN Token)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
TOKEN_TYPE STDCALL
|
||||
TOKEN_TYPE NTAPI
|
||||
SeTokenType(IN PACCESS_TOKEN Token)
|
||||
{
|
||||
PAGED_CODE();
|
||||
|
@ -809,7 +809,7 @@ SeTokenType(IN PACCESS_TOKEN Token)
|
|||
* @implemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeTokenIsAdmin(IN PACCESS_TOKEN Token)
|
||||
{
|
||||
PAGED_CODE();
|
||||
|
@ -820,7 +820,7 @@ SeTokenIsAdmin(IN PACCESS_TOKEN Token)
|
|||
* @implemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeTokenIsRestricted(IN PACCESS_TOKEN Token)
|
||||
{
|
||||
PAGED_CODE();
|
||||
|
@ -831,7 +831,7 @@ SeTokenIsRestricted(IN PACCESS_TOKEN Token)
|
|||
* @implemented
|
||||
*/
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
NTAPI
|
||||
SeTokenIsWriteRestricted(IN PACCESS_TOKEN Token)
|
||||
{
|
||||
PAGED_CODE();
|
||||
|
@ -843,7 +843,7 @@ SeTokenIsWriteRestricted(IN PACCESS_TOKEN Token)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtQueryInformationToken(IN HANDLE TokenHandle,
|
||||
IN TOKEN_INFORMATION_CLASS TokenInformationClass,
|
||||
OUT PVOID TokenInformation,
|
||||
|
@ -1405,7 +1405,7 @@ NtQueryInformationToken(IN HANDLE TokenHandle,
|
|||
* TokenOrigin, TokenDefaultDacl
|
||||
*/
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtSetInformationToken(IN HANDLE TokenHandle,
|
||||
IN TOKEN_INFORMATION_CLASS TokenInformationClass,
|
||||
OUT PVOID TokenInformation,
|
||||
|
@ -1647,7 +1647,7 @@ NtSetInformationToken(IN HANDLE TokenHandle,
|
|||
* is correct either. -Gunnar
|
||||
* This is true. EffectiveOnly overrides SQOS.EffectiveOnly. - IAI
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtDuplicateToken(IN HANDLE ExistingTokenHandle,
|
||||
IN ACCESS_MASK DesiredAccess,
|
||||
IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
|
||||
|
@ -1747,7 +1747,7 @@ NtDuplicateToken(IN HANDLE ExistingTokenHandle,
|
|||
return Status;
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtAdjustGroupsToken(IN HANDLE TokenHandle,
|
||||
IN BOOLEAN ResetToDefault,
|
||||
IN PTOKEN_GROUPS NewState,
|
||||
|
@ -1762,7 +1762,7 @@ NtAdjustGroupsToken(IN HANDLE TokenHandle,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtAdjustPrivilegesToken (IN HANDLE TokenHandle,
|
||||
IN BOOLEAN DisableAllPrivileges,
|
||||
IN PTOKEN_PRIVILEGES NewState,
|
||||
|
@ -1940,7 +1940,7 @@ NtAdjustPrivilegesToken (IN HANDLE TokenHandle,
|
|||
return Status;
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtCreateToken(OUT PHANDLE TokenHandle,
|
||||
IN ACCESS_MASK DesiredAccess,
|
||||
IN POBJECT_ATTRIBUTES ObjectAttributes,
|
||||
|
@ -2181,7 +2181,7 @@ NtCreateToken(OUT PHANDLE TokenHandle,
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
NtOpenThreadTokenEx(IN HANDLE ThreadHandle,
|
||||
IN ACCESS_MASK DesiredAccess,
|
||||
IN BOOLEAN OpenAsSelf,
|
||||
|
@ -2349,7 +2349,7 @@ NtOpenThreadTokenEx(IN HANDLE ThreadHandle,
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NTSTATUS NTAPI
|
||||
NtOpenThreadToken(IN HANDLE ThreadHandle,
|
||||
IN ACCESS_MASK DesiredAccess,
|
||||
IN BOOLEAN OpenAsSelf,
|
||||
|
@ -2461,7 +2461,7 @@ NtFilterToken(IN HANDLE ExistingTokenHandle,
|
|||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTAPI
|
||||
NtImpersonateAnonymousToken(IN HANDLE Thread)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
static BOOLEAN MockExFreePoolCalled = FALSE;
|
||||
|
||||
static VOID STDCALL
|
||||
static VOID NTAPI
|
||||
MockExFreePool(PVOID Block)
|
||||
{
|
||||
_AssertFalse(MockExFreePoolCalled);
|
||||
|
@ -28,7 +28,7 @@ MockExFreePool(PVOID Block)
|
|||
|
||||
static BOOLEAN MockMmCreateMdlCalled = FALSE;
|
||||
|
||||
static PMDL STDCALL
|
||||
static PMDL NTAPI
|
||||
MockMmCreateMdl(PMDL Mdl,
|
||||
PVOID Base,
|
||||
ULONG Length)
|
||||
|
@ -42,7 +42,7 @@ MockMmCreateMdl(PMDL Mdl,
|
|||
|
||||
static BOOLEAN MockMmProbeAndLockPagesCalled = FALSE;
|
||||
|
||||
static VOID STDCALL
|
||||
static VOID NTAPI
|
||||
MockMmProbeAndLockPages(PMDL Mdl,
|
||||
KPROCESSOR_MODE AccessMode,
|
||||
LOCK_OPERATION Operation)
|
||||
|
@ -66,7 +66,7 @@ MockObDereferenceObject(PVOID Object)
|
|||
|
||||
static BOOLEAN MockObReferenceObjectByHandleCalled = FALSE;
|
||||
|
||||
static NTSTATUS STDCALL
|
||||
static NTSTATUS NTAPI
|
||||
MockObReferenceObjectByHandle(HANDLE Handle,
|
||||
ACCESS_MASK DesiredAccess,
|
||||
POBJECT_TYPE ObjectType,
|
||||
|
|
Loading…
Reference in a new issue