ReactOS  0.4.12-dev-43-g63b00d8
winternl.h File Reference
#include <windef.h>
Include dependency graph for winternl.h:

Go to the source code of this file.

Classes

struct  _STRING
 
struct  _UNICODE_STRING
 
struct  _RTL_USER_PROCESS_PARAMETERS
 
struct  _PEB_LDR_DATA
 
struct  _LDR_DATA_TABLE_ENTRY
 
struct  _PEB
 
struct  _TEB
 
struct  _OBJECT_ATTRIBUTES
 
struct  _IO_STATUS_BLOCK
 
struct  _KEY_VALUE_ENTRY
 
struct  _PROCESS_BASIC_INFORMATION
 
struct  _PUBLIC_OBJECT_BASIC_INFORMATION
 
struct  __PUBLIC_OBJECT_TYPE_INFORMATION
 
struct  _SYSTEM_BASIC_INFORMATION
 
struct  _SYSTEM_PERFORMANCE_INFORMATION
 
struct  _SYSTEM_TIMEOFDAY_INFORMATION
 
struct  _SYSTEM_PROCESS_INFORMATION
 
struct  _SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
 
struct  _SYSTEM_INTERRUPT_INFORMATION
 
struct  _SYSTEM_EXCEPTION_INFORMATION
 
struct  _SYSTEM_REGISTRY_QUOTA_INFORMATION
 
struct  _SYSTEM_LOOKASIDE_INFORMATION
 
struct  _SYSTEM_POLICY_INFORMATION
 
struct  _WINSTATIONINFORMATIONW
 

Macros

#define _WINTERNL_
 
#define NT_SUCCESS(Status)   (((NTSTATUS)(Status)) >= 0)
 
#define NT_INFORMATION(Status)   ((((ULONG)(Status)) >> 30) == 1)
 
#define NT_WARNING(Status)   ((((ULONG)(Status)) >> 30) == 2)
 
#define NT_ERROR(Status)   ((((ULONG)(Status)) >> 30) == 3)
 
#define INTERNAL_TS_ACTIVE_CONSOLE_ID   (*((volatile ULONG*)0x7ffe02d8))
 
#define LOGONID_CURRENT   ((ULONG)-1)
 
#define SERVERNAME_CURRENT   ((HANDLE)NULL)
 
#define FILE_DIRECTORY_FILE   0x00000001
 
#define FILE_WRITE_THROUGH   0x00000002
 
#define FILE_SEQUENTIAL_ONLY   0x00000004
 
#define FILE_NO_INTERMEDIATE_BUFFERING   0x00000008
 
#define FILE_SYNCHRONOUS_IO_ALERT   0x00000010
 
#define FILE_SYNCHRONOUS_IO_NONALERT   0x00000020
 
#define FILE_NON_DIRECTORY_FILE   0x00000040
 
#define FILE_CREATE_TREE_CONNECTION   0x00000080
 
#define FILE_COMPLETE_IF_OPLOCKED   0x00000100
 
#define FILE_NO_EA_KNOWLEDGE   0x00000200
 
#define FILE_OPEN_REMOTE_INSTANCE   0x00000400
 
#define FILE_RANDOM_ACCESS   0x00000800
 
#define FILE_DELETE_ON_CLOSE   0x00001000
 
#define FILE_OPEN_BY_FILE_ID   0x00002000
 
#define FILE_OPEN_FOR_BACKUP_INTENT   0x00004000
 
#define FILE_NO_COMPRESSION   0x00008000
 
#define FILE_OPEN_REQUIRING_OPLOCK   0x00010000
 
#define FILE_RESERVE_OPFILTER   0x00100000
 
#define FILE_OPEN_REPARSE_POINT   0x00200000
 
#define FILE_OPEN_NO_RECALL   0x00400000
 
#define FILE_OPEN_FOR_FREE_SPACE_QUERY   0x00800000
 
#define FILE_SUPERSEDED   0x00000000
 
#define FILE_OPENED   0x00000001
 
#define FILE_CREATED   0x00000002
 
#define FILE_OVERWRITTEN   0x00000003
 
#define FILE_EXISTS   0x00000004
 
#define FILE_DOES_NOT_EXIST   0x00000005
 
#define FILE_VALID_OPTION_FLAGS   0x00ffffff
 
#define FILE_VALID_PIPE_OPTION_FLAGS   0x00000032
 
#define FILE_VALID_MAILSLOT_OPTION_FLAGS   0x00000032
 
#define FILE_VALID_SET_FLAGS   0x00000036
 
#define FILE_SUPERSEDE   0x00000000
 
#define FILE_OPEN   0x00000001
 
#define FILE_CREATE   0x00000002
 
#define FILE_OPEN_IF   0x00000003
 
#define FILE_OVERWRITE   0x00000004
 
#define FILE_OVERWRITE_IF   0x00000005
 
#define FILE_MAXIMUM_DISPOSITION   0x00000005
 
#define OBJ_INHERIT   0x00000002L
 
#define OBJ_PERMANENT   0x00000010L
 
#define OBJ_EXCLUSIVE   0x00000020L
 
#define OBJ_CASE_INSENSITIVE   0x00000040L
 
#define OBJ_OPENIF   0x00000080L
 
#define OBJ_OPENLINK   0x00000100L
 
#define OBJ_KERNEL_HANDLE   0x00000200L
 
#define OBJ_FORCE_ACCESS_CHECK   0x00000400L
 
#define OBJ_VALID_ATTRIBUTES   0x000007F2L
 
#define InitializeObjectAttributes(p, n, a, r, s)
 
#define RtlMoveMemory(Dest, Source, Length)   memmove((Dest),(Source),(Length))
 
#define RtlFillMemory(Dest, Length, Fill)   memset((Dest),(Fill),(Length))
 
#define RtlZeroMemory(Dest, Length)   RtlFillMemory((Dest),(Length),0)
 

Typedefs

typedef CONST charPCSZ
 
typedef struct _STRING STRING
 
typedef struct _STRINGPSTRING
 
typedef STRING ANSI_STRING
 
typedef PSTRING PANSI_STRING
 
typedef PSTRING PCANSI_STRING
 
typedef STRING OEM_STRING
 
typedef PSTRING POEM_STRING
 
typedef const STRINGPCOEM_STRING
 
typedef struct _UNICODE_STRING UNICODE_STRING
 
typedef struct _UNICODE_STRINGPUNICODE_STRING
 
typedef const UNICODE_STRINGPCUNICODE_STRING
 
typedef struct _RTL_USER_PROCESS_PARAMETERS RTL_USER_PROCESS_PARAMETERS
 
typedef struct _RTL_USER_PROCESS_PARAMETERSPRTL_USER_PROCESS_PARAMETERS
 
typedef struct _PEB_LDR_DATA PEB_LDR_DATA
 
typedef struct _PEB_LDR_DATAPPEB_LDR_DATA
 
typedef struct _LDR_DATA_TABLE_ENTRY LDR_DATA_TABLE_ENTRY
 
typedef struct _LDR_DATA_TABLE_ENTRYPLDR_DATA_TABLE_ENTRY
 
typedef VOID(NTAPIPPS_POST_PROCESS_INIT_ROUTINE) (VOID)
 
typedef struct _PEB PEB
 
typedef struct _PEBPPEB
 
typedef struct _TEB TEB
 
typedef struct _TEBPTEB
 
typedef enum _FILE_INFORMATION_CLASS FILE_INFORMATION_CLASS
 
typedef struct _OBJECT_ATTRIBUTES OBJECT_ATTRIBUTES
 
typedef struct _OBJECT_ATTRIBUTESPOBJECT_ATTRIBUTES
 
typedef struct _IO_STATUS_BLOCK IO_STATUS_BLOCK
 
typedef struct _IO_STATUS_BLOCKPIO_STATUS_BLOCK
 
typedef VOID(NTAPIPIO_APC_ROUTINE) (_In_ PVOID ApcContext, _In_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG Reserved)
 
typedef struct _KEY_VALUE_ENTRY KEY_VALUE_ENTRY
 
typedef struct _KEY_VALUE_ENTRYPKEY_VALUE_ENTRY
 
typedef enum _KEY_SET_INFORMATION_CLASS KEY_SET_INFORMATION_CLASS
 
typedef enum _PROCESSINFOCLASS PROCESSINFOCLASS
 
typedef struct _PROCESS_BASIC_INFORMATION PROCESS_BASIC_INFORMATION
 
typedef struct _PROCESS_BASIC_INFORMATIONPPROCESS_BASIC_INFORMATION
 
typedef enum _THREADINFOCLASS THREADINFOCLASS
 
typedef enum _OBJECT_INFORMATION_CLASS OBJECT_INFORMATION_CLASS
 
typedef struct _PUBLIC_OBJECT_BASIC_INFORMATION PUBLIC_OBJECT_BASIC_INFORMATION
 
typedef struct _PUBLIC_OBJECT_BASIC_INFORMATIONPPUBLIC_OBJECT_BASIC_INFORMATION
 
typedef struct __PUBLIC_OBJECT_TYPE_INFORMATION PUBLIC_OBJECT_TYPE_INFORMATION
 
typedef struct __PUBLIC_OBJECT_TYPE_INFORMATIONPPUBLIC_OBJECT_TYPE_INFORMATION
 
typedef enum _SYSTEM_INFORMATION_CLASS SYSTEM_INFORMATION_CLASS
 
typedef struct _SYSTEM_BASIC_INFORMATION SYSTEM_BASIC_INFORMATION
 
typedef struct _SYSTEM_BASIC_INFORMATIONPSYSTEM_BASIC_INFORMATION
 
typedef struct _SYSTEM_PERFORMANCE_INFORMATION SYSTEM_PERFORMANCE_INFORMATION
 
typedef struct _SYSTEM_PERFORMANCE_INFORMATIONPSYSTEM_PERFORMANCE_INFORMATION
 
typedef struct _SYSTEM_TIMEOFDAY_INFORMATION SYSTEM_TIMEOFDAY_INFORMATION
 
typedef struct _SYSTEM_TIMEOFDAY_INFORMATIONPSYSTEM_TIMEOFDAY_INFORMATION
 
typedef struct _SYSTEM_PROCESS_INFORMATION SYSTEM_PROCESS_INFORMATION
 
typedef struct _SYSTEM_PROCESS_INFORMATIONPSYSTEM_PROCESS_INFORMATION
 
typedef struct _SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
 
typedef struct _SYSTEM_PROCESSOR_PERFORMANCE_INFORMATIONPSYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
 
typedef struct _SYSTEM_INTERRUPT_INFORMATION SYSTEM_INTERRUPT_INFORMATION
 
typedef struct _SYSTEM_INTERRUPT_INFORMATIONPSYSTEM_INTERRUPT_INFORMATION
 
typedef struct _SYSTEM_EXCEPTION_INFORMATION SYSTEM_EXCEPTION_INFORMATION
 
typedef struct _SYSTEM_EXCEPTION_INFORMATIONPSYSTEM_EXCEPTION_INFORMATION
 
typedef struct _SYSTEM_REGISTRY_QUOTA_INFORMATION SYSTEM_REGISTRY_QUOTA_INFORMATION
 
typedef struct _SYSTEM_REGISTRY_QUOTA_INFORMATIONPSYSTEM_REGISTRY_QUOTA_INFORMATION
 
typedef struct _SYSTEM_LOOKASIDE_INFORMATION SYSTEM_LOOKASIDE_INFORMATION
 
typedef struct _SYSTEM_LOOKASIDE_INFORMATIONPSYSTEM_LOOKASIDE_INFORMATION
 
typedef struct _SYSTEM_POLICY_INFORMATION SYSTEM_POLICY_INFORMATION
 
typedef struct _SYSTEM_POLICY_INFORMATIONPSYSTEM_POLICY_INFORMATION
 
typedef enum _WINSTATIONINFOCLASS WINSTATIONINFOCLASS
 
typedef struct _WINSTATIONINFORMATIONW WINSTATIONINFORMATIONW
 
typedef struct _WINSTATIONINFORMATIONWPWINSTATIONINFORMATIONW
 
typedef BOOLEAN(WINAPIPWINSTATIONQUERYINFORMATIONW) (HANDLE, ULONG, WINSTATIONINFOCLASS, PVOID, ULONG, PULONG)
 

Enumerations

enum  _FILE_INFORMATION_CLASS {
  FileDirectoryInformation = 1, FileFullDirectoryInformation, FileBothDirectoryInformation, FileBasicInformation,
  FileStandardInformation, FileInternalInformation, FileEaInformation, FileAccessInformation,
  FileNameInformation, FileRenameInformation, FileLinkInformation, FileNamesInformation,
  FileDispositionInformation, FilePositionInformation, FileFullEaInformation, FileModeInformation,
  FileAlignmentInformation, FileAllInformation, FileAllocationInformation, FileEndOfFileInformation,
  FileAlternateNameInformation, FileStreamInformation, FilePipeInformation, FilePipeLocalInformation,
  FilePipeRemoteInformation, FileMailslotQueryInformation, FileMailslotSetInformation, FileCompressionInformation,
  FileObjectIdInformation, FileCompletionInformation, FileMoveClusterInformation, FileQuotaInformation,
  FileReparsePointInformation, FileNetworkOpenInformation, FileAttributeTagInformation, FileTrackingInformation,
  FileIdBothDirectoryInformation, FileIdFullDirectoryInformation, FileValidDataLengthInformation, FileShortNameInformation,
  FileIoCompletionNotificationInformation, FileIoStatusBlockRangeInformation, FileIoPriorityHintInformation, FileSfioReserveInformation,
  FileSfioVolumeInformation, FileHardLinkInformation, FileProcessIdsUsingFileInformation, FileNormalizedNameInformation,
  FileNetworkPhysicalNameInformation, FileIdGlobalTxDirectoryInformation, FileMaximumInformation, FileDirectoryInformation = 1,
  FileFullDirectoryInformation, FileBothDirectoryInformation, FileBasicInformation, FileStandardInformation,
  FileInternalInformation, FileEaInformation, FileAccessInformation, FileNameInformation,
  FileRenameInformation, FileLinkInformation, FileNamesInformation, FileDispositionInformation,
  FilePositionInformation, FileFullEaInformation, FileModeInformation, FileAlignmentInformation,
  FileAllInformation, FileAllocationInformation, FileEndOfFileInformation, FileAlternateNameInformation,
  FileStreamInformation, FilePipeInformation, FilePipeLocalInformation, FilePipeRemoteInformation,
  FileMailslotQueryInformation, FileMailslotSetInformation, FileCompressionInformation, FileCopyOnWriteInformation,
  FileCompletionInformation, FileMoveClusterInformation, FileOleClassIdInformation, FileOleStateBitsInformation,
  FileNetworkOpenInformation, FileObjectIdInformation, FileOleAllInformation, FileOleDirectoryInformation,
  FileContentIndexInformation, FileInheritContentIndexInformation, FileOleInformation, FileMaximumInformation,
  FileDirectoryInformation = 1, FileFullDirectoryInformation, FileBothDirectoryInformation, FileBasicInformation,
  FileStandardInformation, FileInternalInformation, FileEaInformation, FileAccessInformation,
  FileNameInformation, FileRenameInformation, FileLinkInformation, FileNamesInformation,
  FileDispositionInformation, FilePositionInformation, FileFullEaInformation, FileModeInformation,
  FileAlignmentInformation, FileAllInformation, FileAllocationInformation, FileEndOfFileInformation,
  FileAlternateNameInformation, FileStreamInformation, FilePipeInformation, FilePipeLocalInformation,
  FilePipeRemoteInformation, FileMailslotQueryInformation, FileMailslotSetInformation, FileCompressionInformation,
  FileCopyOnWriteInformation, FileCompletionInformation, FileMoveClusterInformation, FileOleClassIdInformation,
  FileOleStateBitsInformation, FileNetworkOpenInformation, FileObjectIdInformation, FileOleAllInformation,
  FileOleDirectoryInformation, FileContentIndexInformation, FileInheritContentIndexInformation, FileOleInformation,
  FileMaximumInformation, FileDirectoryInformation = 1, FileDirectoryInformation = 1, FileFullDirectoryInformation,
  FileBothDirectoryInformation, FileBasicInformation, FileStandardInformation, FileInternalInformation,
  FileEaInformation, FileAccessInformation, FileNameInformation, FileRenameInformation,
  FileLinkInformation, FileNamesInformation, FileDispositionInformation, FilePositionInformation,
  FileFullEaInformation, FileModeInformation, FileAlignmentInformation, FileAllInformation,
  FileAllocationInformation, FileEndOfFileInformation, FileAlternateNameInformation, FileStreamInformation,
  FilePipeInformation, FilePipeLocalInformation, FilePipeRemoteInformation, FileMailslotQueryInformation,
  FileMailslotSetInformation, FileCompressionInformation, FileObjectIdInformation, FileCompletionInformation,
  FileMoveClusterInformation, FileQuotaInformation, FileReparsePointInformation, FileNetworkOpenInformation,
  FileAttributeTagInformation, FileTrackingInformation, FileIdBothDirectoryInformation, FileIdFullDirectoryInformation,
  FileValidDataLengthInformation, FileShortNameInformation, FileIoCompletionNotificationInformation, FileIoStatusBlockRangeInformation,
  FileIoPriorityHintInformation, FileSfioReserveInformation, FileSfioVolumeInformation, FileHardLinkInformation,
  FileProcessIdsUsingFileInformation, FileNormalizedNameInformation, FileNetworkPhysicalNameInformation, FileIdGlobalTxDirectoryInformation,
  FileIsRemoteDeviceInformation, FileAttributeCacheInformation, FileNumaNodeInformation, FileStandardLinkInformation,
  FileRemoteProtocolInformation, FileRenameInformationBypassAccessCheck, FileLinkInformationBypassAccessCheck, FileVolumeNameInformation,
  FileIdInformation, FileIdExtdDirectoryInformation, FileReplaceCompletionInformation, FileHardLinkFullIdInformation,
  FileIdExtdBothDirectoryInformation, FileMaximumInformation, FileDirectoryInformation = 1, FileFullDirectoryInformation,
  FileBothDirectoryInformation, FileBasicInformation, FileStandardInformation, FileInternalInformation,
  FileEaInformation, FileAccessInformation, FileNameInformation, FileRenameInformation,
  FileLinkInformation, FileNamesInformation, FileDispositionInformation, FilePositionInformation,
  FileFullEaInformation, FileModeInformation, FileAlignmentInformation, FileAllInformation,
  FileAllocationInformation, FileEndOfFileInformation, FileAlternateNameInformation, FileStreamInformation,
  FilePipeInformation, FilePipeLocalInformation, FilePipeRemoteInformation, FileMailslotQueryInformation,
  FileMailslotSetInformation, FileCompressionInformation, FileObjectIdInformation, FileCompletionInformation,
  FileMoveClusterInformation, FileQuotaInformation, FileReparsePointInformation, FileNetworkOpenInformation,
  FileAttributeTagInformation, FileTrackingInformation, FileIdBothDirectoryInformation, FileIdFullDirectoryInformation,
  FileValidDataLengthInformation, FileShortNameInformation, FileIoCompletionNotificationInformation, FileIoStatusBlockRangeInformation,
  FileIoPriorityHintInformation, FileSfioReserveInformation, FileSfioVolumeInformation, FileHardLinkInformation,
  FileProcessIdsUsingFileInformation, FileNormalizedNameInformation, FileNetworkPhysicalNameInformation, FileIdGlobalTxDirectoryInformation,
  FileIsRemoteDeviceInformation, FileAttributeCacheInformation, FileNumaNodeInformation, FileStandardLinkInformation,
  FileRemoteProtocolInformation, FileMaximumInformation
}
 
enum  _KEY_SET_INFORMATION_CLASS {
  KeyWriteTimeInformation, KeyWriteTimeInformation, KeyWow64FlagsInformation, KeyControlFlagsInformation,
  KeySetVirtualizationInformation, KeySetDebugInformation, KeySetHandleTagsInformation, MaxKeySetInfoClass,
  KeyWriteTimeInformation, KeyWow64FlagsInformation, KeyControlFlagsInformation, KeySetVirtualizationInformation,
  KeySetDebugInformation, KeySetHandleTagsInformation, MaxKeySetInfoClass
}
 
enum  _PROCESSINFOCLASS {
  ProcessBasicInformation = 0, ProcessDebugPort = 7, ProcessWow64Information = 26, ProcessImageFileName = 27,
  ProcessBreakOnTermination = 29, ProcessBasicInformation = 0, ProcessQuotaLimits = 1, ProcessIoCounters = 2,
  ProcessVmCounters = 3, ProcessTimes = 4, ProcessBasePriority = 5, ProcessRaisePriority = 6,
  ProcessDebugPort = 7, ProcessExceptionPort = 8, ProcessAccessToken = 9, ProcessLdtInformation = 10,
  ProcessLdtSize = 11, ProcessDefaultHardErrorMode = 12, ProcessIoPortHandlers = 13, ProcessPooledUsageAndLimits = 14,
  ProcessWorkingSetWatch = 15, ProcessUserModeIOPL = 16, ProcessEnableAlignmentFaultFixup = 17, ProcessPriorityClass = 18,
  ProcessWx86Information = 19, ProcessHandleCount = 20, ProcessAffinityMask = 21, ProcessPriorityBoost = 22,
  ProcessDeviceMap = 23, ProcessSessionInformation = 24, ProcessForegroundInformation = 25, ProcessWow64Information = 26,
  ProcessImageFileName = 27, ProcessLUIDDeviceMapsEnabled = 28, ProcessBreakOnTermination = 29, ProcessDebugObjectHandle = 30,
  ProcessDebugFlags = 31, ProcessHandleTracing = 32, ProcessExecuteFlags = 34, ProcessTlsInformation = 35,
  ProcessCookie = 36, ProcessImageInformation = 37, ProcessCycleTime = 38, ProcessPagePriority = 39,
  ProcessInstrumentationCallback = 40, ProcessThreadStackAllocation = 41, ProcessWorkingSetWatchEx = 42, ProcessImageFileNameWin32 = 43,
  ProcessImageFileMapping = 44, ProcessAffinityUpdateMode = 45, ProcessMemoryAllocationMode = 46, ProcessGroupInformation = 47,
  ProcessTokenVirtualizationEnabled = 48, ProcessConsoleHostProcess = 49, ProcessWindowInformation = 50, MaxProcessInfoClass,
  ProcessBasicInformation, ProcessQuotaLimits, ProcessIoCounters, ProcessVmCounters,
  ProcessTimes, ProcessBasePriority, ProcessRaisePriority, ProcessDebugPort,
  ProcessExceptionPort, ProcessAccessToken, ProcessLdtInformation, ProcessLdtSize,
  ProcessDefaultHardErrorMode, ProcessIoPortHandlers, ProcessPooledUsageAndLimits, ProcessWorkingSetWatch,
  ProcessUserModeIOPL, ProcessEnableAlignmentFaultFixup, ProcessPriorityClass, ProcessWx86Information,
  ProcessHandleCount, ProcessAffinityMask, ProcessPriorityBoost, ProcessDeviceMap,
  ProcessSessionInformation, ProcessForegroundInformation, ProcessWow64Information, ProcessImageFileName,
  ProcessLUIDDeviceMapsEnabled, ProcessBreakOnTermination, ProcessDebugObjectHandle, ProcessDebugFlags,
  ProcessHandleTracing, ProcessIoPriority, ProcessExecuteFlags, ProcessTlsInformation,
  ProcessCookie, ProcessImageInformation, ProcessCycleTime, ProcessPagePriority,
  ProcessInstrumentationCallback, ProcessThreadStackAllocation, ProcessWorkingSetWatchEx, ProcessImageFileNameWin32,
  ProcessImageFileMapping, ProcessAffinityUpdateMode, ProcessMemoryAllocationMode, ProcessGroupInformation,
  ProcessTokenVirtualizationEnabled, ProcessConsoleHostProcess, ProcessWindowInformation, MaxProcessInfoClass
}
 
enum  _THREADINFOCLASS {
  ThreadBasicInformation, ThreadTimes, ThreadPriority, ThreadBasePriority,
  ThreadAffinityMask, ThreadImpersonationToken, ThreadDescriptorTableEntry, ThreadEnableAlignmentFaultFixup,
  ThreadEventPair_Reusable, ThreadQuerySetWin32StartAddress, ThreadZeroTlsCell, ThreadPerformanceCount,
  ThreadAmILastThread, ThreadIdealProcessor, ThreadPriorityBoost, ThreadSetTlsArrayAddress,
  ThreadIsIoPending, ThreadHideFromDebugger, ThreadBreakOnTermination, ThreadSwitchLegacyState,
  ThreadIsTerminated, ThreadLastSystemCall, ThreadIoPriority, ThreadCycleTime,
  ThreadPagePriority, ThreadActualBasePriority, ThreadTebInformation, ThreadCSwitchMon,
  ThreadCSwitchPmu, ThreadWow64Context, ThreadGroupInformation, ThreadUmsInformation,
  ThreadCounterProfiling, ThreadIdealProcessorEx, MaxThreadInfoClass, ThreadIsIoPending = 16,
  ThreadBasicInformation, ThreadTimes, ThreadPriority, ThreadBasePriority,
  ThreadAffinityMask, ThreadImpersonationToken, ThreadDescriptorTableEntry, ThreadEnableAlignmentFaultFixup,
  ThreadEventPair_Reusable, ThreadQuerySetWin32StartAddress, ThreadZeroTlsCell, ThreadPerformanceCount,
  ThreadAmILastThread, ThreadIdealProcessor, ThreadPriorityBoost, ThreadSetTlsArrayAddress,
  ThreadIsIoPending, ThreadHideFromDebugger, ThreadBreakOnTermination, ThreadSwitchLegacyState,
  ThreadIsTerminated, ThreadLastSystemCall, ThreadIoPriority, ThreadCycleTime,
  ThreadPagePriority, ThreadActualBasePriority, ThreadTebInformation, ThreadCSwitchMon,
  ThreadCSwitchPmu, ThreadWow64Context, ThreadGroupInformation, ThreadUmsInformation,
  ThreadCounterProfiling, ThreadIdealProcessorEx, MaxThreadInfoClass, ThreadBasicInformation,
  ThreadTimes, ThreadPriority, ThreadBasePriority, ThreadAffinityMask,
  ThreadImpersonationToken, ThreadDescriptorTableEntry, ThreadEnableAlignmentFaultFixup, ThreadEventPair_Reusable,
  ThreadQuerySetWin32StartAddress, ThreadZeroTlsCell, ThreadPerformanceCount, ThreadAmILastThread,
  ThreadIdealProcessor, ThreadPriorityBoost, ThreadSetTlsArrayAddress, ThreadIsIoPending,
  ThreadHideFromDebugger, ThreadBreakOnTermination, ThreadSwitchLegacyState, ThreadIsTerminated,
  ThreadLastSystemCall, ThreadIoPriority, ThreadCycleTime, ThreadPagePriority,
  ThreadActualBasePriority, ThreadTebInformation, ThreadCSwitchMon, ThreadCSwitchPmu,
  ThreadWow64Context, ThreadGroupInformation, ThreadUmsInformation, ThreadCounterProfiling,
  ThreadIdealProcessorEx, MaxThreadInfoClass
}
 
enum  _OBJECT_INFORMATION_CLASS {
  ObjectBasicInformation, ObjectNameInformation, ObjectTypeInformation, ObjectAllTypesInformation,
  ObjectHandleInformation, ObjectBasicInformation = 0, ObjectTypeInformation = 2, ObjectBasicInformation,
  ObjectNameInformation, ObjectTypeInformation, ObjectTypesInformation, ObjectDataInformation
}
 
enum  _SYSTEM_INFORMATION_CLASS {
  SystemBasicInformation, SystemProcessorInformation, SystemPerformanceInformation, SystemTimeOfDayInformation,
  SystemPathInformation, SystemProcessInformation, SystemCallCountInformation, SystemDeviceInformation,
  SystemProcessorPerformanceInformation, SystemFlagsInformation, SystemCallTimeInformation, SystemModuleInformation,
  SystemLocksInformation, SystemStackTraceInformation, SystemPagedPoolInformation, SystemNonPagedPoolInformation,
  SystemHandleInformation, SystemObjectInformation, SystemPageFileInformation, SystemVdmInstemulInformation,
  SystemVdmBopInformation, SystemFileCacheInformation, SystemPoolTagInformation, SystemInterruptInformation,
  SystemDpcBehaviorInformation, SystemFullMemoryInformation, SystemLoadGdiDriverInformation, SystemUnloadGdiDriverInformation,
  SystemTimeAdjustmentInformation, SystemSummaryMemoryInformation, SystemNextEventIdInformation, SystemEventIdsInformation,
  SystemCrashDumpInformation, SystemExceptionInformation, SystemCrashDumpStateInformation, SystemKernelDebuggerInformation,
  SystemContextSwitchInformation, SystemRegistryQuotaInformation, SystemExtendServiceTableInformation, SystemPrioritySeperation,
  SystemPlugPlayBusInformation, SystemDockInformation, SystemPowerInformation, SystemProcessorSpeedInformation,
  SystemCurrentTimeZoneInformation, SystemLookasideInformation, SystemBasicInformation, SystemProcessorInformation,
  SystemPerformanceInformation, SystemTimeOfDayInformation, SystemPathInformation, SystemProcessInformation,
  SystemCallCountInformation, SystemDeviceInformation, SystemProcessorPerformanceInformation, SystemFlagsInformation,
  SystemCallTimeInformation, SystemModuleInformation, SystemLocksInformation, SystemStackTraceInformation,
  SystemPagedPoolInformation, SystemNonPagedPoolInformation, SystemHandleInformation, SystemObjectInformation,
  SystemPageFileInformation, SystemVdmInstemulInformation, SystemVdmBopInformation, SystemFileCacheInformation,
  SystemPoolTagInformation, SystemInterruptInformation, SystemDpcBehaviorInformation, SystemFullMemoryInformation,
  SystemLoadGdiDriverInformation, SystemUnloadGdiDriverInformation, SystemTimeAdjustmentInformation, SystemSummaryMemoryInformation,
  SystemNextEventIdInformation, SystemEventIdsInformation, SystemCrashDumpInformation, SystemExceptionInformation,
  SystemCrashDumpStateInformation, SystemKernelDebuggerInformation, SystemContextSwitchInformation, SystemRegistryQuotaInformation,
  SystemExtendServiceTableInformation, SystemPrioritySeperation, SystemPlugPlayBusInformation, SystemDockInformation,
  SystemPowerInformation, SystemProcessorSpeedInformation, SystemCurrentTimeZoneInformation, SystemLookasideInformation,
  SystemBasicInformation, SystemProcessorInformation, SystemPerformanceInformation, SystemTimeOfDayInformation,
  SystemPathInformation, SystemProcessInformation, SystemCallCountInformation, SystemDeviceInformation,
  SystemProcessorPerformanceInformation, SystemFlagsInformation, SystemCallTimeInformation, SystemModuleInformation,
  SystemLocksInformation, SystemStackTraceInformation, SystemPagedPoolInformation, SystemNonPagedPoolInformation,
  SystemHandleInformation, SystemObjectInformation, SystemPageFileInformation, SystemVdmInstemulInformation,
  SystemVdmBopInformation, SystemFileCacheInformation, SystemPoolTagInformation, SystemInterruptInformation,
  SystemDpcBehaviorInformation, SystemFullMemoryInformation, SystemLoadGdiDriverInformation, SystemUnloadGdiDriverInformation,
  SystemTimeAdjustmentInformation, SystemSummaryMemoryInformation, SystemMirrorMemoryInformation, SystemPerformanceTraceInformation,
  SystemObsolete0, SystemExceptionInformation, SystemCrashDumpStateInformation, SystemKernelDebuggerInformation,
  SystemContextSwitchInformation, SystemRegistryQuotaInformation, SystemExtendServiceTableInformation, SystemPrioritySeperation,
  SystemPlugPlayBusInformation, SystemDockInformation, SystemPowerInformationNative, SystemProcessorSpeedInformation,
  SystemCurrentTimeZoneInformation, SystemLookasideInformation, SystemTimeSlipNotification, SystemSessionCreate,
  SystemSessionDetach, SystemSessionInformation, SystemRangeStartInformation, SystemVerifierInformation,
  SystemAddVerifier, SystemSessionProcessesInformation, SystemLoadGdiDriverInSystemSpaceInformation, SystemNumaProcessorMap,
  SystemPrefetcherInformation, SystemExtendedProcessInformation, SystemRecommendedSharedDataAlignment, SystemComPlusPackage,
  SystemNumaAvailableMemory, SystemProcessorPowerInformation, SystemEmulationBasicInformation, SystemEmulationProcessorInformation,
  SystemExtendedHandleInformation, SystemLostDelayedWriteInformation, SystemBigPoolInformation, SystemSessionPoolTagInformation,
  SystemSessionMappedViewInformation, SystemHotpatchInformation, SystemObjectSecurityMode, SystemWatchDogTimerHandler,
  SystemWatchDogTimerInformation, SystemLogicalProcessorInformation, SystemWow64SharedInformationObsolete, SystemRegisterFirmwareTableInformationHandler,
  SystemFirmwareTableInformation, SystemModuleInformationEx, SystemVerifierTriageInformation, SystemSuperfetchInformation,
  SystemMemoryListInformation, SystemFileCacheInformationEx, SystemThreadPriorityClientIdInformation, SystemProcessorIdleCycleTimeInformation,
  SystemVerifierCancellationInformation, SystemProcessorPowerInformationEx, SystemRefTraceInformation, SystemSpecialPoolInformation,
  SystemProcessIdInformation, SystemErrorPortInformation, SystemBootEnvironmentInformation, SystemHypervisorInformation,
  SystemVerifierInformationEx, SystemTimeZoneInformation, SystemImageFileExecutionOptionsInformation, SystemCoverageInformation,
  SystemPrefetchPathInformation, SystemVerifierFaultsInformation, MaxSystemInfoClass, SystemBasicInformation = 0,
  SystemPerformanceInformation = 2, SystemTimeOfDayInformation = 3, SystemProcessInformation = 5, SystemProcessorPerformanceInformation = 8,
  SystemInterruptInformation = 23, SystemExceptionInformation = 33, SystemRegistryQuotaInformation = 37, SystemLookasideInformation = 45,
  SystemPolicyInformation = 134, SystemBasicInformation = 0, SystemCpuInformation = 1, SystemPerformanceInformation = 2,
  SystemTimeOfDayInformation = 3, Unknown4, SystemProcessInformation = 5, Unknown6,
  Unknown7, SystemProcessorPerformanceInformation = 8, Unknown9, Unknown10,
  SystemModuleInformation = 11, Unknown12, Unknown13, Unknown14,
  Unknown15, SystemHandleInformation = 16, Unknown17, SystemPageFileInformation = 18,
  Unknown19, Unknown20, SystemCacheInformation = 21, Unknown22,
  SystemInterruptInformation = 23, SystemDpcBehaviourInformation = 24, SystemFullMemoryInformation = 25, SystemNotImplemented6 = 25,
  SystemLoadImage = 26, SystemUnloadImage = 27, SystemTimeAdjustmentInformation = 28, SystemTimeAdjustment = 28,
  SystemSummaryMemoryInformation = 29, SystemNotImplemented7 = 29, SystemNextEventIdInformation = 30, SystemNotImplemented8 = 30,
  SystemEventIdsInformation = 31, SystemCrashDumpInformation = 32, SystemExceptionInformation = 33, SystemCrashDumpStateInformation = 34,
  SystemKernelDebuggerInformation = 35, SystemContextSwitchInformation = 36, SystemRegistryQuotaInformation = 37, SystemCurrentTimeZoneInformation = 44,
  SystemTimeZoneInformation = 44, SystemLookasideInformation = 45, SystemSetTimeSlipEvent = 46, SystemCreateSession = 47,
  SystemDeleteSession = 48, SystemInvalidInfoClass4 = 49, SystemRangeStartInformation = 50, SystemVerifierInformation = 51,
  SystemAddVerifier = 52, SystemSessionProcessesInformation = 53, SystemLoadGdiDriverInSystemSpace = 54, SystemNumaProcessorMap = 55,
  SystemPrefetcherInformation = 56, SystemExtendedProcessInformation = 57, SystemRecommendedSharedDataAlignment = 58, SystemComPlusPackage = 59,
  SystemNumaAvailableMemory = 60, SystemProcessorPowerInformation = 61, SystemEmulationBasicInformation = 62, SystemEmulationProcessorInformation = 63,
  SystemExtendedHandleInformation = 64, SystemLostDelayedWriteInformation = 65, SystemBigPoolInformation = 66, SystemSessionPoolTagInformation = 67,
  SystemSessionMappedViewInformation = 68, SystemHotpatchInformation = 69, SystemObjectSecurityMode = 70, SystemWatchdogTimerHandler = 71,
  SystemWatchdogTimerInformation = 72, SystemLogicalProcessorInformation = 73, SystemWow64SharedInformation = 74, SystemRegisterFirmwareTableInformationHandler = 75,
  SystemFirmwareTableInformation = 76, SystemModuleInformationEx = 77, SystemVerifierTriageInformation = 78, SystemSuperfetchInformation = 79,
  SystemMemoryListInformation = 80, SystemFileCacheInformationEx = 81, SystemLogicalProcessorInformationEx = 107, SystemInformationClassMax
}
 
enum  _WINSTATIONINFOCLASS { WinStationInformation = 8, WinStationInformation = 8 }
 

Functions

typedef _Return_type_success_ (return >=0) LONG NTSTATUS
 
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtCreateFile (_Out_ PHANDLE FileHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_opt_ PLARGE_INTEGER AllocationSize, _In_ ULONG FileAttributes, _In_ ULONG ShareAccess, _In_ ULONG CreateDisposition, _In_ ULONG CreateOptions, _In_reads_bytes_opt_(EaLength) PVOID EaBuffer, _In_ ULONG EaLength)
 
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtOpenFile (_Out_ PHANDLE FileHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG ShareAccess, _In_ ULONG OpenOptions)
 
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtClose (_In_ HANDLE Handle)
 
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtDeviceIoControlFile (_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG IoControlCode, _In_reads_bytes_opt_(InputBufferLength) PVOID InputBuffer, _In_ ULONG InputBufferLength, _Out_writes_bytes_opt_(OutputBufferLength) PVOID OutputBuffer, _In_ ULONG OutputBufferLength)
 
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtWaitForSingleObject (_In_ HANDLE Object, _In_ BOOLEAN Alertable, _In_opt_ PLARGE_INTEGER Timeout)
 
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtRenameKey (_In_ HANDLE KeyHandle, _In_ PUNICODE_STRING NewName)
 
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtNotifyChangeMultipleKeys (_In_ HANDLE MasterKeyHandle, _In_opt_ ULONG Count, _In_reads_opt_(Count) OBJECT_ATTRIBUTES SubordinateObjects[], _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG CompletionFilter, _In_ BOOLEAN WatchTree, _Out_writes_bytes_opt_(BufferSize) PVOID Buffer, _In_ ULONG BufferSize, _In_ BOOLEAN Asynchronous)
 
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryMultipleValueKey (_In_ HANDLE KeyHandle, _Inout_updates_(EntryCount) PKEY_VALUE_ENTRY ValueEntries, _In_ ULONG EntryCount, _Out_writes_bytes_(*BufferLength) PVOID ValueBuffer, _Inout_ PULONG BufferLength, _Out_opt_ PULONG RequiredBufferLength)
 
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtSetInformationKey (_In_ HANDLE KeyHandle, _In_ _Strict_type_match_ KEY_SET_INFORMATION_CLASS KeySetInformationClass, _In_reads_bytes_(KeySetInformationLength) PVOID KeySetInformation, _In_ ULONG KeySetInformationLength)
 
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryInformationProcess (_In_ HANDLE ProcessHandle, _In_ PROCESSINFOCLASS ProcessInformationClass, _Out_ PVOID ProcessInformation, _In_ ULONG ProcessInformationLength, _Out_opt_ PULONG ReturnLength)
 
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryInformationThread (_In_ HANDLE ThreadHandle, _In_ THREADINFOCLASS ThreadInformationClass, _Out_ PVOID ThreadInformation, _In_ ULONG ThreadInformationLength, _Out_opt_ PULONG ReturnLength)
 
 _IRQL_requires_max_ (PASSIVE_LEVEL) __kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryObject(_In_opt_ HANDLE Handle
 
_In_ OBJECT_INFORMATION_CLASS _Out_writes_bytes_opt_ (ObjectInformationLength) PVOID ObjectInformation
 
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQuerySystemInformation (_In_ SYSTEM_INFORMATION_CLASS SystemInformationClass, _Out_ PVOID SystemInformation, _In_ ULONG InformationLength, _Out_opt_ PULONG ResultLength)
 
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQuerySystemTime (_Out_ PLARGE_INTEGER SystemTime)
 
VOID NTAPI RtlInitString (PSTRING DestinationString, PCSZ SourceString)
 
VOID NTAPI RtlInitAnsiString (PANSI_STRING DestinationString, PCSZ SourceString)
 
VOID NTAPI RtlInitUnicodeString (PUNICODE_STRING DestinationString, PCWSTR SourceString)
 
VOID NTAPI RtlFreeAnsiString (PANSI_STRING AnsiString)
 
VOID NTAPI RtlFreeOemString (POEM_STRING OemString)
 
VOID NTAPI RtlFreeUnicodeString (PUNICODE_STRING UnicodeString)
 
NTSTATUS NTAPI RtlAnsiStringToUnicodeString (PUNICODE_STRING DestinationString, PCANSI_STRING SourceString, BOOLEAN AllocateDestinationString)
 
NTSTATUS NTAPI RtlUnicodeStringToAnsiString (PANSI_STRING DestinationString, PCUNICODE_STRING SourceString, BOOLEAN AllocateDestinationString)
 
NTSTATUS NTAPI RtlUnicodeStringToOemString (POEM_STRING DestinationString, PCUNICODE_STRING SourceString, BOOLEAN AllocateDestinationString)
 
NTSTATUS NTAPI RtlUnicodeToMultiByteSize (_Out_ PULONG BytesInMultiByteString, _In_reads_bytes_(BytesInUnicodeString) PWCH UnicodeString, _In_ ULONG BytesInUnicodeString)
 
NTSTATUS NTAPI RtlCharToInteger (PCSZ String, ULONG Base, PULONG Value)
 
BOOLEAN NTAPI RtlIsNameLegalDOS8Dot3 (_In_ PUNICODE_STRING Name, _Inout_opt_ POEM_STRING OemName, _Inout_opt_ PBOOLEAN NameContainsSpaces)
 
NTSTATUS NTAPI RtlLocalTimeToSystemTime (IN PLARGE_INTEGER LocalTime, _Out_ PLARGE_INTEGER SystemTime)
 
BOOLEAN NTAPI RtlTimeToSecondsSince1970 (PLARGE_INTEGER Time, PULONG ElapsedSeconds)
 
 _When_ (Status< 0, _Out_range_(>, 0)) _When_(Status >=0
 
 _Out_range_ (==, 0)) ULONG NTAPI RtlNtStatusToDosError(_In_ NTSTATUS Status)
 
NTSTATUS NTAPI RtlConvertSidToUnicodeString (PUNICODE_STRING UnicodeString, PSID Sid, BOOLEAN AllocateDestinationString)
 
ULONG NTAPI RtlUniform (PULONG Seed)
 

Variables

_In_ OBJECT_INFORMATION_CLASS ObjectInformationClass
 
_In_ OBJECT_INFORMATION_CLASS _In_ ULONG ObjectInformationLength
 
_In_ OBJECT_INFORMATION_CLASS _In_ ULONG _Out_opt_ PULONG ReturnLength
 

Macro Definition Documentation

◆ _WINTERNL_

#define _WINTERNL_

Definition at line 35 of file winternl.h.

◆ FILE_COMPLETE_IF_OPLOCKED

#define FILE_COMPLETE_IF_OPLOCKED   0x00000100

Definition at line 177 of file winternl.h.

◆ FILE_CREATE

#define FILE_CREATE   0x00000002

Definition at line 209 of file winternl.h.

◆ FILE_CREATE_TREE_CONNECTION

#define FILE_CREATE_TREE_CONNECTION   0x00000080

Definition at line 176 of file winternl.h.

◆ FILE_CREATED

#define FILE_CREATED   0x00000002

Definition at line 196 of file winternl.h.

◆ FILE_DELETE_ON_CLOSE

#define FILE_DELETE_ON_CLOSE   0x00001000

Definition at line 181 of file winternl.h.

◆ FILE_DIRECTORY_FILE

#define FILE_DIRECTORY_FILE   0x00000001

Definition at line 169 of file winternl.h.

◆ FILE_DOES_NOT_EXIST

#define FILE_DOES_NOT_EXIST   0x00000005

Definition at line 199 of file winternl.h.

◆ FILE_EXISTS

#define FILE_EXISTS   0x00000004

Definition at line 198 of file winternl.h.

◆ FILE_MAXIMUM_DISPOSITION

#define FILE_MAXIMUM_DISPOSITION   0x00000005

Definition at line 213 of file winternl.h.

◆ FILE_NO_COMPRESSION

#define FILE_NO_COMPRESSION   0x00008000

Definition at line 184 of file winternl.h.

◆ FILE_NO_EA_KNOWLEDGE

#define FILE_NO_EA_KNOWLEDGE   0x00000200

Definition at line 178 of file winternl.h.

◆ FILE_NO_INTERMEDIATE_BUFFERING

#define FILE_NO_INTERMEDIATE_BUFFERING   0x00000008

Definition at line 172 of file winternl.h.

◆ FILE_NON_DIRECTORY_FILE

#define FILE_NON_DIRECTORY_FILE   0x00000040

Definition at line 175 of file winternl.h.

◆ FILE_OPEN

#define FILE_OPEN   0x00000001

Definition at line 208 of file winternl.h.

◆ FILE_OPEN_BY_FILE_ID

#define FILE_OPEN_BY_FILE_ID   0x00002000

Definition at line 182 of file winternl.h.

◆ FILE_OPEN_FOR_BACKUP_INTENT

#define FILE_OPEN_FOR_BACKUP_INTENT   0x00004000

Definition at line 183 of file winternl.h.

◆ FILE_OPEN_FOR_FREE_SPACE_QUERY

#define FILE_OPEN_FOR_FREE_SPACE_QUERY   0x00800000

Definition at line 191 of file winternl.h.

◆ FILE_OPEN_IF

#define FILE_OPEN_IF   0x00000003

Definition at line 210 of file winternl.h.

◆ FILE_OPEN_NO_RECALL

#define FILE_OPEN_NO_RECALL   0x00400000

Definition at line 190 of file winternl.h.

◆ FILE_OPEN_REMOTE_INSTANCE

#define FILE_OPEN_REMOTE_INSTANCE   0x00000400

Definition at line 179 of file winternl.h.

◆ FILE_OPEN_REPARSE_POINT

#define FILE_OPEN_REPARSE_POINT   0x00200000

Definition at line 189 of file winternl.h.

◆ FILE_OPEN_REQUIRING_OPLOCK

#define FILE_OPEN_REQUIRING_OPLOCK   0x00010000

Definition at line 186 of file winternl.h.

Referenced by debug_create_options().

◆ FILE_OPENED

#define FILE_OPENED   0x00000001

Definition at line 195 of file winternl.h.

◆ FILE_OVERWRITE

#define FILE_OVERWRITE   0x00000004

Definition at line 211 of file winternl.h.

◆ FILE_OVERWRITE_IF

#define FILE_OVERWRITE_IF   0x00000005

Definition at line 212 of file winternl.h.

◆ FILE_OVERWRITTEN

#define FILE_OVERWRITTEN   0x00000003

Definition at line 197 of file winternl.h.

◆ FILE_RANDOM_ACCESS

#define FILE_RANDOM_ACCESS   0x00000800

Definition at line 180 of file winternl.h.

◆ FILE_RESERVE_OPFILTER

#define FILE_RESERVE_OPFILTER   0x00100000

Definition at line 188 of file winternl.h.

◆ FILE_SEQUENTIAL_ONLY

#define FILE_SEQUENTIAL_ONLY   0x00000004

Definition at line 171 of file winternl.h.

◆ FILE_SUPERSEDE

#define FILE_SUPERSEDE   0x00000000

Definition at line 207 of file winternl.h.

◆ FILE_SUPERSEDED

#define FILE_SUPERSEDED   0x00000000

Definition at line 194 of file winternl.h.

◆ FILE_SYNCHRONOUS_IO_ALERT

#define FILE_SYNCHRONOUS_IO_ALERT   0x00000010

Definition at line 173 of file winternl.h.

◆ FILE_SYNCHRONOUS_IO_NONALERT

#define FILE_SYNCHRONOUS_IO_NONALERT   0x00000020

Definition at line 174 of file winternl.h.

◆ FILE_VALID_MAILSLOT_OPTION_FLAGS

#define FILE_VALID_MAILSLOT_OPTION_FLAGS   0x00000032

Definition at line 203 of file winternl.h.

◆ FILE_VALID_OPTION_FLAGS

#define FILE_VALID_OPTION_FLAGS   0x00ffffff

Definition at line 201 of file winternl.h.

◆ FILE_VALID_PIPE_OPTION_FLAGS

#define FILE_VALID_PIPE_OPTION_FLAGS   0x00000032

Definition at line 202 of file winternl.h.

◆ FILE_VALID_SET_FLAGS

#define FILE_VALID_SET_FLAGS   0x00000036

Definition at line 204 of file winternl.h.

◆ FILE_WRITE_THROUGH

#define FILE_WRITE_THROUGH   0x00000002

Definition at line 170 of file winternl.h.

◆ InitializeObjectAttributes

#define InitializeObjectAttributes (   p,
  n,
  a,
  r,
  s 
)
Value:
{ \
(p)->Length = sizeof(OBJECT_ATTRIBUTES); \
(p)->RootDirectory = r; \
(p)->Attributes = a; \
(p)->ObjectName = n; \
(p)->SecurityQualityOfService = NULL; \
}
WCHAR RootDirectory[MAX_PATH]
Definition: format.c:74
_In_ USHORT _In_ ULONG _In_ PSOCKADDR _In_ PSOCKADDR _Reserved_ ULONG _In_opt_ PVOID _In_opt_ const WSK_CLIENT_CONNECTION_DISPATCH _In_opt_ PEPROCESS _In_opt_ PETHREAD _In_opt_ PSECURITY_DESCRIPTOR SecurityDescriptor
Definition: wsk.h:182
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
_In_ PVOID _Out_opt_ PULONG_PTR _Outptr_opt_ PCUNICODE_STRING * ObjectName
Definition: cmfuncs.h:62
GLuint n
Definition: s_context.h:57
smooth NULL
Definition: ftsmooth.c:416
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
GLdouble s
Definition: gl.h:2039
_Must_inspect_result_ _In_ USHORT _In_ PHIDP_PREPARSED_DATA _Out_writes_to_ LengthAttributes PHIDP_EXTENDED_ATTRIBUTES Attributes
Definition: hidpi.h:348
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
GLfloat GLfloat p
Definition: glext.h:8902

Definition at line 236 of file winternl.h.

◆ INTERNAL_TS_ACTIVE_CONSOLE_ID

#define INTERNAL_TS_ACTIVE_CONSOLE_ID   (*((volatile ULONG*)0x7ffe02d8))

Definition at line 164 of file winternl.h.

◆ LOGONID_CURRENT

#define LOGONID_CURRENT   ((ULONG)-1)

Definition at line 165 of file winternl.h.

◆ NT_ERROR

#define NT_ERROR (   Status)    ((((ULONG)(Status)) >> 30) == 3)

Definition at line 59 of file winternl.h.

◆ NT_INFORMATION

#define NT_INFORMATION (   Status)    ((((ULONG)(Status)) >> 30) == 1)

Definition at line 51 of file winternl.h.

◆ NT_SUCCESS

#define NT_SUCCESS (   Status)    (((NTSTATUS)(Status)) >= 0)

Definition at line 47 of file winternl.h.

◆ NT_WARNING

#define NT_WARNING (   Status)    ((((ULONG)(Status)) >> 30) == 2)

Definition at line 55 of file winternl.h.

◆ OBJ_CASE_INSENSITIVE

#define OBJ_CASE_INSENSITIVE   0x00000040L

Definition at line 228 of file winternl.h.

Referenced by _Function_class_(), _MyGetFileSystem(), _Success_(), AccpOpenNamedObject(), acpi_create_registry_table(), acpi_create_volatile_registry_tables(), AcpiRegOpenKey(), AcsHlpSendCommand(), AddCodepageToRegistry(), BtrfsDeviceAdd::AddDevice(), AddFontsSettingsToRegistry(), AddHotkeySettings(), AddKbLayoutsToRegistry(), AddPartitionToDisk(), AfdCreateSocket(), allow_degraded_mount(), BaseComputeProcessDllPath(), BaseGetNamedObjectDirectory(), BaseInitializeStaticServerData(), BasepIsProcessAllowed(), BasepMapFile(), BasepMoveFileDelayed(), BasepOpenFileForMove(), BaseSrvIsVdmAllowed(), BehaviorChecks(), BroadcastOpen(), BuildWindowStationNameList(), CabinetExtractFile(), CabinetOpen(), CallCacheControl(), CdRomCreateNamedEvent(), check_cpu(), ClassGetDeviceParameter(), ClasspIsMediaChangeDisabledDueToHardwareLimitation(), ClasspIsMediaChangeDisabledForClass(), ClasspMediaChangeDeviceInstanceOverride(), ClassPnp(), ClasspScanForSpecialInRegistry(), ClassSetDeviceParameter(), ClassUpdateInformationInRegistry(), CmGetSystemDriverList(), CmInitSystem1(), CmpAddToHiveFileList(), CmpCreateControlSet(), CmpCreateEvent(), CmpCreateHardwareProfile(), CmpCreateRegistryRoot(), CmpInitializeHardwareConfiguration(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpLinkHiveToMaster(), CmpLinkKeyToHive(), CmpOpenHiveFiles(), CmpRemoveFromHiveFileList(), CmpSetSystemValues(), CmpSetVersionData(), CommandDumpSector(), CommandPartInfo(), ConfigureSoundBlasterDevice(), ConnectRegistry(), ConvertNtPathToWin32Path(), create_file_test(), CreateBaseAcls(), CreateDesktopW(), CreateDirectoryExW(), CreateDirectoryW(), CreateDiskDeviceObject(), CreateFileW(), CreateHardLinkW(), CreateKeyTest(), CreateMailslotW(), CreateNamedPipeW(), CreatePartitionList(), CreatePipe(), CreateProcessInternalW(), CreateRegistryFile(), CreateRegistryKeyHandle(), CreateRegKey(), CreateRemoteDatabaseWorker(), CreateSymLinkKey(), CreateWindowStationW(), CSR_API(), CsrCreateSessionObjectDirectory(), CsrParseServerCommandLine(), DbgkCreateThread(), DbgkpPostFakeModuleMessages(), DbgkpSectionToFileHandle(), delete_file_test(), DeleteFileW(), DeleteKeyTest(), DeleteSymLinkKey(), DeleteValueTest(), DisconnectRegistry(), DiskAddDevice(), DiskCreateFdo(), DismountVolume(), do_enumeratekey(), DoesPathExist(), DriverEntry(), EngLoadModuleEx(), EnumDeviceKeys(), EnumerateBusKey(), EnumerateKeyTest(), EnumerateSoundDevices(), EnumerateValueTest(), EventThread(), ExpCreateSystemRootLink(), ExpGetCurrentUserUILanguage(), ExpInitializeCallbacks(), ExpLoadInitialProcess(), ExpLoadUuidSequence(), ExpSaveUuidSequence(), ExpSetCurrentUserUILanguage(), Ext2OpenDevice(), Ext2StartReaper(), ExtractFont(), FatGetCompatibilityModeValue(), FatIsFujitsuFMR(), FdoCreateRawParallelPdo(), FilterConnectCommunicationPort(), FindFirstChangeNotificationW(), FindFirstFileExW(), FindFirstStreamW(), FindNTOSInstallations(), FindProductName(), FltpOpenFilterServicesKey(), FormatEx2(), fs_ignored(), FsRecRegisterFs(), FsRtlGetTunnelParameterValue(), FsRtlpIsDfsEnabled(), get_key_value(), get_manifest_in_manifest_file(), get_manifest_in_pe_file(), GetComputerIdentifier(), GetComputerNameFromRegistry(), GetConnectionHandle(), GetCPFileNameFromRegistry(), GetDiskFreeSpaceExW(), GetDiskFreeSpaceW(), GetDisplayIdentifier(), GetDllList(), GetDosDevicesProtection(), GetDriveTypeW(), GetFileAttributesExW(), GetFileAttributesW(), GetFileSecurityW(), GetFileSystem(), GetFilterAltitude(), GetObjectType(), GetRegInt(), GetRegistryValueBuffer(), GetSourcePaths(), GetTimeouts(), GetVolumeInformationW(), GetVolumeNameForRoot(), HalpGetChipHacks(), HalpGetNMICrashFlag(), HalpOpenRegistryKey(), HalpQueryPciRegistryInfo(), i8042StoreSMBiosTables(), IniCacheLoad(), IniCacheSave(), InitializeProvider(), InstallBtrfsBootCodeToDisk(), InstallDevice(), InstallDriver(), InstallFat12BootCodeToFloppy(), InstallFat16BootCode(), InstallFat16BootCodeToDisk(), InstallFat16BootCodeToFile(), InstallFat32BootCode(), InstallFat32BootCodeToDisk(), InstallFat32BootCodeToFile(), InstallMbrBootCodeToDiskHelper(), InstallSetupInfFile(), IntCopyRegistryKey(), IntCreateNewRegistryPath(), IntDesktopObjectParse(), IntGdiAddFontResource(), IntGetFullFileName(), IntLoadFontSubstList(), IntLoadSystemFonts(), IntResolveDesktop(), IntSetupDeviceSettingsKey(), IntVideoPortMapPhysicalMemory(), IoCreateSymbolicLink(), IoCreateUnprotectedSymbolicLink(), IoDeleteSymbolicLink(), IoGetDeviceInterfaces(), IoOpenDeviceInterfaceRegistryKey(), IoOpenDeviceRegistryKey(), IopBootLog(), IopCreateDeviceKeyPath(), IopCreateDriver(), IopCreateLogFile(), IopCreateRegistryKeyEx(), IopDetectResourceConflict(), IopGetDriverObject(), IopInstallCriticalDevice(), IopIsFirmwareMapperDisabled(), IopMarkBootPartition(), IopOpenInterfaceKey(), IopOpenLinkOrRenameTarget(), IopOpenRegistryKeyEx(), IopParseDevice(), IopQueryBusDescription(), IopQueryDeviceDescription(), IopReassignSystemRoot(), IopSaveBootLogToFile(), IopSetDeviceInstanceData(), IopStartDevice(), IopStartRamdisk(), IopStoreSystemPartitionInformation(), IopUpdateControlKeyWithResources(), IopUpdateResourceMap(), IopUpdateRootKey(), IopWriteLogFile(), IoQueryDeviceDescription(), IoRegisterDeviceInterface(), IoReportHalResourceUsage(), IoSetDeviceInterfaceState(), IsAcpiComputer(), IsShimInfrastructureDisabled(), IsThereAValidBootSector(), IsThisARootDirectory(), IsValidNTOSInstallation(), KdbpSymLoadModuleSymbols(), KeI386VdmInitialize(), KernelModeTest(), KsCacheMedium(), KsecOpenDevice(), KsiCreateObjectType(), KsMapModuleName(), KspCreateObjectType(), KspEnumerateBusRegistryKeys(), KspInstallInterface(), KspOpenBusRegistryKey(), KspReadMediaCategory(), LdrOpenImageFileOptionsKey(), LdrpCheckForKnownDll(), LdrpCheckForLoadedDll(), LdrpCreateDllSection(), LdrpInitializeProcess(), LogfBackupFile(), LogfCreate(), LogMessage(), lookup_winsxs(), LpcInitSystem(), LsaConnectUntrusted(), LsapCreateDatabaseKeys(), LsapCreateDbObject(), LsapGetObjectAttribute(), LsapIsDatabaseInstalled(), LsapOpenDbObject(), LsapOpenServiceKey(), LsapRegCreateKey(), LsapRegDeleteSubKey(), LsapRegOpenKey(), LsapSetObjectAttribute(), LsaRegisterLogonProcess(), main(), MapFile(), MmCheckSystemImage(), MmLoadSystemImage(), MountMgrMountedDeviceArrival(), MountMgrQuerySymbolicLink(), MountMgrValidateBackPointer(), MountMgrVolumeMountPointChanged(), MoveFileWithProgressW(), MupGetProviderInformation(), MuppIsDfsEnabled(), my_open(), MyDeleteFile(), ndisBindMiniportsToProtocol(), NdisOpenConfigurationKeyByIndex(), NdisOpenConfigurationKeyByName(), NdisOpenFile(), NdisOpenProtocolConfiguration(), NlsInit(), NpCreatePipeEx(), NpOpenPipeEx(), NpWaitPipe(), nt_mailslot_test(), NtSetDefaultLocale(), ObCreateObjectType(), ObInitSystem(), ObpLookupEntryDirectory(), ObpLookupObjectName(), ObtClose(), ObtCreateDirectory(), ObtCreateObjects(), OnlineMountedVolumes(), open_file_test(), open_nt_file(), OpenAndMapFile(), OpenBootStore_UStr(), OpenClassesRootKey(), OpenCurrentConfigKey(), OpenDesktopW(), OpenDevice(), OpenDirectoryByHandleOrPath(), OpenFile(), OpenIniBootLoaderStore(), OpenKey(), OpenLocalMachineKey(), OpenRegistryHandlesFromSymbolicLink(), OpenRegistryKey(), OpenRegistryKeyHandle(), OpenRemoteDatabase(), OpenSubkey(), openTcpFile(), OpenUsersKey(), OpenWindowStationW(), PageFileBehaviorChecks(), PciOpenKey(), Phase1InitializationDiscard(), PnpRootCreateDevice(), PopFlushVolumes(), PopFlushVolumeWorker(), PopReadShutdownPolicy(), ProcessDisplayRegistry(), ProcessLocaleRegistry(), ProcessorSetFriendlyName(), QueryDosDeviceW(), CRegistryKey::QueryInterface(), QueryVolumeName(), read_group_mappings(), read_mappings(), read_registry(), ReadIpConfiguration(), ReconcileThisDatabaseWithMasterWorker(), RegCleanupRegistry(), RegCopyTreeW(), RegCreateKeyExW(), RegDeleteKeyExW(), RegDeleteKeyValueA(), RegDeleteKeyValueW(), RegInitializeRegistry(), RegisterUncProvider(), registry_callback(), registry_load_volume_options(), registry_mark_volume_mounted(), registry_mark_volume_unmounted_path(), RegLoadKeyW(), RegOpenKey(), RegOpenKeyExW(), RegOpenUserClassesRoot(), RegpCopyTree(), RegReplaceKeyW(), RegRestoreKeyW(), RegSaveKeyW(), RegSetKeyValueA(), RegSetKeyValueW(), RegUnLoadKeyW(), RemoveDirectoryW(), ReplaceFileW(), ResolveArcNameNtSymLink(), RtlCreateBootStatusDataFile(), RtlDoesFileExists_UstrEx(), RtlInitializeRXact(), RtlLockBootStatusData(), RtlOpenCurrentUser(), RtlpGetRegistryHandle(), RtlpMapFile(), RtlQueryRegistryValues(), RtlSetCurrentDirectory_U(), RXactpOpenTargetKey(), RxGetRegistryParameters(), RxReadRegistryParameters(), SampRegCreateKey(), SampRegDeleteKey(), SampRegOpenKey(), SaveBootSector(), ScmConvertToBootPathName(), ScsiClassAssignDriveLetter(), SdbpCreate(), SdbpOpenKey(), SdbpOpenMemMappedFile(), SearchForLegacyDrivers(), SepInitializationPhase1(), SepRegQueryHelper(), SerialPnpStartDevice(), SetComputerNameToRegistry(), SetDefaultPagefile(), SetFileAttributesW(), SetFileSecurityW(), SetGeoID(), SetMountedDeviceValue(), SetRegistryValue(), SetRosSpecificInfo(), SetupCopyFile(), SetupCreateSingleDirectory(), SetupDeleteFile(), SetupMoveFile(), SetValueTest1(), SetValueTest2(), SetVolumeLabelW(), SimpleErrorChecks(), SmLookupSubsystem(), SmpConfigureObjectDirectories(), SmpCreateDynamicEnvironmentVariables(), SmpCreateVolumeDescriptors(), SmpDeletePagingFile(), SmpExecuteImage(), SmpGetPagingFileSize(), SmpGetVolumeFreeSpace(), SmpInitializeDosDevices(), SmpInitializeKnownDllsInternal(), SmpLoadDataFromRegistry(), SmpProcessFileRenames(), SmpQueryRegistrySosOption(), SmpTranslateSystemPartitionInformation(), SockGetAsyncSelectHelperAfdHandle(), SpiBuildDeviceMap(), SpiCreatePortConfig(), SpiInitOpenKeys(), START_TEST(), StartAuthenticationPort(), SystemProcessWorker(), TCPSendIoctl(), TdiOpenDevice(), test1(), test2(), test3(), test5(), test6(), test7(), test8(), test9(), test__lcreat(), test_case_sensitive(), test_CreateDirectoryA(), test_directory_sort(), Test_KeyFullInformation(), Test_KeyNameInformation(), test_name_limits(), test_namespace_pipe(), test_NtCreateFile(), test_NtCreateKey(), test_NtOpenKey(), test_NtQueryDirectoryFile(), test_NtQueryDirectoryFile_case(), test_null_device(), test_query_attribute_information_file(), test_query_volume_information_file(), test_readonly(), test_redirection(), TestAllInformation(), TestCreateOpen_(), TestIoCreateFile(), TestKM(), TestObRootSecurity(), TestProviderInfo(), TestRelativeNames(), TestSharedCacheMap(), TestSymlinks(), TestTcpConnect(), TryConnectPort(), UDFDismountDevice(), UnhandledExceptionFilter(), UpdateGeometry(), USBAudioRegCreateMediaCategoriesKey(), UserGetLanguageID(), UserModeTest(), VfatSetRenameInformation(), VfdOpenImage(), ViCreateDriveLetter(), VideoPortIsNoVesa(), ViMountImage(), WaitNamedPipeW(), WorkerThread(), WritePartitions(), WSPSocket(), xHalIoAssignDriveLetters(), and xOpenFile().

◆ OBJ_EXCLUSIVE

◆ OBJ_FORCE_ACCESS_CHECK

#define OBJ_FORCE_ACCESS_CHECK   0x00000400L

◆ OBJ_INHERIT

◆ OBJ_KERNEL_HANDLE

#define OBJ_KERNEL_HANDLE   0x00000200L

Definition at line 231 of file winternl.h.

Referenced by _Function_class_(), _IRQL_requires_max_(), _Success_(), acpi_create_registry_table(), acpi_create_volatile_registry_tables(), AcpiOsExecute(), BtrfsDeviceAdd::AddDevice(), allow_degraded_mount(), BehaviorChecks(), BroadcastOpen(), BuildWindowStationNameList(), check_cpu(), CheckDirectorySecurity__(), CheckKeySecurity__(), ClassGetDeviceParameter(), ClasspMediaChangeDeviceInstanceOverride(), ClassPnp(), ClasspScanForSpecialInRegistry(), ClassSetDeviceParameter(), CmpAddToHiveFileList(), CmpConvertHandleToKernelHandle(), CmpCreateEvent(), CmpLinkHiveToMaster(), CmpLinkKeyToHive(), CmpOpenHiveFiles(), CmpRemoveFromHiveFileList(), CmpSetVersionData(), CreateClientPort(), CreateGreenFdo(), CreateRemoteDatabaseWorker(), DbgkCreateThread(), DbgkpPostFakeModuleMessages(), DbgkpSectionToFileHandle(), DriverEntry(), EngLoadModuleEx(), ExpGetCurrentUserUILanguage(), ExpSetCurrentUserUILanguage(), Ext2StartReaper(), ExtractFont(), FdoCreateRawParallelPdo(), FltpOpenFilterServicesKey(), fs_ignored(), FsRtlTest_OpenTestDirectory(), FsRtlTest_OpenTestFile(), GetConnectionHandle(), GetFilterAltitude(), GetObjectType(), HalpDmaAllocateChildAdapter(), i8042StoreSMBiosTables(), InitializeProvider(), IntCopyRegistryKey(), IntCreateNewRegistryPath(), IntGdiAddFontResource(), IntGetFullFileName(), IntLoadFontSubstList(), IntLoadSystemFonts(), IntResolveDesktop(), IntSetupDeviceSettingsKey(), IntVideoPortMapPhysicalMemory(), IoCreateController(), IoCreateDevice(), IoCreateSymbolicLink(), IoCreateUnprotectedSymbolicLink(), IoDeleteSymbolicLink(), IoGetDeviceInterfaces(), IoOpenDeviceInterfaceRegistryKey(), IoOpenDeviceRegistryKey(), IopCreateDeviceKeyPath(), IopCreateDriver(), IopCreateEvent(), IopCreateRegistryKeyEx(), IopDetectResourceConflict(), IopEnumerateDetectedDevices(), IopGetDeviceObjectPointer(), IopGetDriverObject(), IopInstallCriticalDevice(), IopIsFirmwareMapperDisabled(), IopOpenInterfaceKey(), IopOpenLinkOrRenameTarget(), IopOpenRegistryKeyEx(), IopSetDeviceInstanceData(), IopStartDevice(), IopStartRamdisk(), IopStoreSystemPartitionInformation(), IopUpdateControlKeyWithResources(), IopUpdateResourceMap(), IopUpdateRootKey(), IoRegisterDeviceInterface(), IoSetDeviceInterfaceState(), KdbpSymLoadModuleSymbols(), KeI386VdmInitialize(), KernelModeTest(), KmtStartThread(), KsCacheMedium(), KspCreateObjectType(), KspEnumerateBusRegistryKeys(), KspInstallInterface(), KspOpenBusRegistryKey(), MiCreateMemoryEvent(), MmCheckSystemImage(), MmLoadSystemImage(), MountMgrMountedDeviceArrival(), MountMgrQuerySymbolicLink(), MountMgrValidateBackPointer(), MountMgrVolumeMountPointChanged(), MupGetProviderInformation(), ndisBindMiniportsToProtocol(), NdisOpenConfiguration(), NdisOpenConfigurationKeyByIndex(), NdisOpenConfigurationKeyByName(), NdisOpenFile(), NdisOpenProtocolConfiguration(), NotificationCallback(), NpCreatePipeEx(), NpOpenPipeEx(), NpWaitPipe(), NtCreatePagingFile(), NtLoadKeyEx(), NtSetDefaultLocale(), NtUnloadKey2(), ObDuplicateObject(), ObpCaptureObjectCreateInformation(), ObpCreateHandle(), ObpCreateUnnamedHandle(), ObpValidateAttributes(), ObtCreateDirectory(), ObtCreateObjectTypes(), OnlineMountedVolumes(), OpenDevice(), OpenInputDevice(), OpenRegistryHandlesFromSymbolicLink(), OpenRegistryKey(), OpenRemoteDatabase(), PageFileBehaviorChecks(), PciGetBiosConfig(), PciSaveBiosConfig(), PnpRootCreateDevice(), PopAddRemoveSysCapsCallback(), PopFlushVolumes(), PopFlushVolumeWorker(), PopReadShutdownPolicy(), ProcessorSetFriendlyName(), CRegistryKey::QueryInterface(), QueryVolumeName(), read_group_mappings(), read_mappings(), read_registry(), ReadIpConfiguration(), ReconcileThisDatabaseWithMasterWorker(), registry_load_volume_options(), registry_mark_volume_mounted(), registry_mark_volume_unmounted_path(), RegOpenKey(), RtlFormatCurrentUserKeyPath(), RtlOpenCurrentUser(), RtlpGetRegistryHandle(), RtlQueryRegistryValues(), ScsiClassAssignDriveLetter(), SearchForLegacyDrivers(), SepRegQueryHelper(), SerenumDetectLegacyDevice(), SerenumDetectPnpDevice(), SermouseDetectLegacyDevice(), SimpleErrorChecks(), SpiBuildDeviceMap(), START_TEST(), StartThread(), SystemProcessTest(), SystemProcessWorker(), TdiOpenDevice(), TestAllInformation(), TestDuplicate(), TestEventConcurrent(), TestIoCreateFile(), TestObRootSecurity(), TestPhysicalMemorySection(), TestProviderInfo(), TestRelativeNames(), TestSharedCacheMap(), TestTcpConnect(), USBAudioRegCreateMediaCategoriesKey(), UserCreateWinstaDirectory(), UserGetLanguageID(), UserModeTest(), VdmpInitialize(), VfatSetRenameInformation(), VideoPortIsNoVesa(), WdmAudOpenSysAudioDevice(), WmipOpenGuidObject(), WorkerThread(), and xHalIoAssignDriveLetters().

◆ OBJ_OPENIF

◆ OBJ_OPENLINK

◆ OBJ_PERMANENT

◆ OBJ_VALID_ATTRIBUTES

#define OBJ_VALID_ATTRIBUTES   0x000007F2L

Definition at line 233 of file winternl.h.

Referenced by LpcInitSystem(), and ObpValidateAttributes().

◆ RtlFillMemory

#define RtlFillMemory (   Dest,
  Length,
  Fill 
)    memset((Dest),(Fill),(Length))

Definition at line 593 of file winternl.h.

Referenced by Allocate(), BaseSrvNLSInit(), bCopyMonoPointer(), CcRosInternalFreeVacb(), DosCopyHandleTable(), DosCreateDeviceEx(), DosCreateFile(), DosCreateFileEx(), DosKRNLInitialize(), DosLoadExecutableInternal(), DosOpenFile(), DumpMemoryTxt(), EmulatorReadMemory(), FAST486_OPCODE_HANDLER(), Fat12Format(), Fat16Format(), Fat32Format(), FatConstructLabelDirent(), FatStringTo8dot3(), Free(), FrLdrHeapDestroy(), FrLdrHeapFreeEx(), GreGetKerningPairs(), HalpReadPCIConfig(), HalpRestoreIopm(), KbdBios32Post(), KiInitializeTSS2(), LANTransmit(), MemInitialize(), MiniportSend(), MmAllocateSpecialPool(), NpCheckClientPipe_(), NpCheckServerPipe_(), NpControlPipe(), NpCreatePipeEx(), NpOpenPipeEx(), NpQueryPipe_(), NpReadPipe(), NpWaitPipe(), NpWritePipe(), OslDrawLogo(), PoolsTest(), PPBridge_MassageHeaderForLimitsDetermination(), QueryFileInfo(), ReAllocBuffer(), RtlAllocateHeap(), RtlpAllocateNonDedicated(), RtlpDphWritePageHeapBlockInformation(), RtlpGrowBlockInPlace(), RtlpPageHeapAllocate(), RtlReAllocateHeap(), RunTestCases(), START_TEST(), STDMETHODIMP_(), Test_Flags(), Test_KernelDebugger(), Test_KeyFullInformation(), Test_ProcessTimes(), TestCommonRead(), TestEventScheduling(), TestEventsGeneration(), TestFileFsAttributeInformation(), TestFileFsVolumeInformation(), TestFileInfo(), TestGetCollectionDescription(), TestGetComputerNameEx(), TestGetCurrentDirectoryA(), TestGetCurrentDirectoryW(), TestIrpHandler(), TestMutex(), TestPhysicalMemorySection(), TestQueryLink(), TestRead(), TestStackWalk4(), TestSynchronizeExecution(), TestUpcaseUnicodeString(), TestVolumeInfo(), TestWrite(), UDFBuildFreeSpaceBitmap(), UDFLoadVAT(), VfdFormatTrack(), and WlanConnect().

◆ RtlMoveMemory

#define RtlMoveMemory (   Dest,
  Source,
  Length 
)    memmove((Dest),(Source),(Length))

Definition at line 592 of file winternl.h.

◆ RtlZeroMemory

#define RtlZeroMemory (   Dest,
  Length 
)    RtlFillMemory((Dest),(Length),0)

Definition at line 594 of file winternl.h.

◆ SERVERNAME_CURRENT

#define SERVERNAME_CURRENT   ((HANDLE)NULL)

Definition at line 166 of file winternl.h.

Typedef Documentation

◆ ANSI_STRING

Definition at line 70 of file winternl.h.

◆ FILE_INFORMATION_CLASS

◆ IO_STATUS_BLOCK

◆ KEY_SET_INFORMATION_CLASS

◆ KEY_VALUE_ENTRY

◆ LDR_DATA_TABLE_ENTRY

◆ OBJECT_ATTRIBUTES

◆ OBJECT_INFORMATION_CLASS

◆ OEM_STRING

typedef STRING OEM_STRING

Definition at line 73 of file winternl.h.

◆ PANSI_STRING

Definition at line 71 of file winternl.h.

◆ PCANSI_STRING

Definition at line 72 of file winternl.h.

◆ PCOEM_STRING

Definition at line 75 of file winternl.h.

◆ PCSZ

typedef CONST char* PCSZ

Definition at line 62 of file winternl.h.

◆ PCUNICODE_STRING

Definition at line 83 of file winternl.h.

◆ PEB

typedef struct _PEB PEB

◆ PEB_LDR_DATA

◆ PIO_APC_ROUTINE

Definition at line 294 of file winternl.h.

◆ PIO_STATUS_BLOCK

◆ PKEY_VALUE_ENTRY

◆ PLDR_DATA_TABLE_ENTRY

◆ POBJECT_ATTRIBUTES

◆ POEM_STRING

Definition at line 74 of file winternl.h.

◆ PPEB

typedef struct _PEB * PPEB

◆ PPEB_LDR_DATA

◆ PPROCESS_BASIC_INFORMATION

◆ PPS_POST_PROCESS_INIT_ROUTINE

typedef VOID(NTAPI * PPS_POST_PROCESS_INIT_ROUTINE) (VOID)

Definition at line 119 of file winternl.h.

◆ PPUBLIC_OBJECT_BASIC_INFORMATION

◆ PPUBLIC_OBJECT_TYPE_INFORMATION

◆ PROCESS_BASIC_INFORMATION

◆ PROCESSINFOCLASS

Definition at line 63 of file loader.c.

◆ PRTL_USER_PROCESS_PARAMETERS

◆ PSTRING

typedef struct _STRING * PSTRING

◆ PSYSTEM_BASIC_INFORMATION

◆ PSYSTEM_EXCEPTION_INFORMATION

◆ PSYSTEM_INTERRUPT_INFORMATION

◆ PSYSTEM_LOOKASIDE_INFORMATION

◆ PSYSTEM_PERFORMANCE_INFORMATION

◆ PSYSTEM_POLICY_INFORMATION

◆ PSYSTEM_PROCESS_INFORMATION

◆ PSYSTEM_PROCESSOR_PERFORMANCE_INFORMATION

◆ PSYSTEM_REGISTRY_QUOTA_INFORMATION

◆ PSYSTEM_TIMEOFDAY_INFORMATION

◆ PTEB

typedef struct _TEB * PTEB

◆ PUBLIC_OBJECT_BASIC_INFORMATION

◆ PUBLIC_OBJECT_TYPE_INFORMATION

◆ PUNICODE_STRING

◆ PWINSTATIONINFORMATIONW

◆ PWINSTATIONQUERYINFORMATIONW

typedef BOOLEAN(WINAPI * PWINSTATIONQUERYINFORMATIONW) (HANDLE, ULONG, WINSTATIONINFOCLASS, PVOID, ULONG, PULONG)

Definition at line 577 of file winternl.h.

◆ RTL_USER_PROCESS_PARAMETERS

◆ STRING

◆ SYSTEM_BASIC_INFORMATION

◆ SYSTEM_EXCEPTION_INFORMATION

◆ SYSTEM_INFORMATION_CLASS

◆ SYSTEM_INTERRUPT_INFORMATION

◆ SYSTEM_LOOKASIDE_INFORMATION

◆ SYSTEM_PERFORMANCE_INFORMATION

◆ SYSTEM_POLICY_INFORMATION

◆ SYSTEM_PROCESS_INFORMATION

◆ SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION

◆ SYSTEM_REGISTRY_QUOTA_INFORMATION

◆ SYSTEM_TIMEOFDAY_INFORMATION

◆ TEB

typedef struct _TEB TEB

◆ THREADINFOCLASS

◆ UNICODE_STRING

◆ WINSTATIONINFOCLASS

◆ WINSTATIONINFORMATIONW

Enumeration Type Documentation

◆ _FILE_INFORMATION_CLASS

Enumerator
FileDirectoryInformation 
FileFullDirectoryInformation 
FileBothDirectoryInformation 
FileBasicInformation 
FileStandardInformation 
FileInternalInformation 
FileEaInformation 
FileAccessInformation 
FileNameInformation 
FileRenameInformation 
FileLinkInformation 
FileNamesInformation 
FileDispositionInformation 
FilePositionInformation 
FileFullEaInformation 
FileModeInformation 
FileAlignmentInformation 
FileAllInformation 
FileAllocationInformation 
FileEndOfFileInformation 
FileAlternateNameInformation 
FileStreamInformation 
FilePipeInformation 
FilePipeLocalInformation 
FilePipeRemoteInformation 
FileMailslotQueryInformation 
FileMailslotSetInformation 
FileCompressionInformation 
FileObjectIdInformation 
FileCompletionInformation 
FileMoveClusterInformation 
FileQuotaInformation 
FileReparsePointInformation 
FileNetworkOpenInformation 
FileAttributeTagInformation 
FileTrackingInformation 
FileIdBothDirectoryInformation 
FileIdFullDirectoryInformation 
FileValidDataLengthInformation 
FileShortNameInformation 
FileIoCompletionNotificationInformation 
FileIoStatusBlockRangeInformation 
FileIoPriorityHintInformation 
FileSfioReserveInformation 
FileSfioVolumeInformation 
FileHardLinkInformation 
FileProcessIdsUsingFileInformation 
FileNormalizedNameInformation 
FileNetworkPhysicalNameInformation 
FileIdGlobalTxDirectoryInformation 
FileMaximumInformation 
FileDirectoryInformation 
FileFullDirectoryInformation 
FileBothDirectoryInformation 
FileBasicInformation 
FileStandardInformation 
FileInternalInformation 
FileEaInformation 
FileAccessInformation 
FileNameInformation 
FileRenameInformation 
FileLinkInformation 
FileNamesInformation 
FileDispositionInformation 
FilePositionInformation 
FileFullEaInformation 
FileModeInformation 
FileAlignmentInformation 
FileAllInformation 
FileAllocationInformation 
FileEndOfFileInformation 
FileAlternateNameInformation 
FileStreamInformation 
FilePipeInformation 
FilePipeLocalInformation 
FilePipeRemoteInformation 
FileMailslotQueryInformation 
FileMailslotSetInformation 
FileCompressionInformation 
FileCopyOnWriteInformation 
FileCompletionInformation 
FileMoveClusterInformation 
FileOleClassIdInformation 
FileOleStateBitsInformation 
FileNetworkOpenInformation 
FileObjectIdInformation 
FileOleAllInformation 
FileOleDirectoryInformation 
FileContentIndexInformation 
FileInheritContentIndexInformation 
FileOleInformation 
FileMaximumInformation 
FileDirectoryInformation 
FileFullDirectoryInformation 
FileBothDirectoryInformation 
FileBasicInformation 
FileStandardInformation 
FileInternalInformation 
FileEaInformation 
FileAccessInformation 
FileNameInformation 
FileRenameInformation 
FileLinkInformation 
FileNamesInformation 
FileDispositionInformation 
FilePositionInformation 
FileFullEaInformation 
FileModeInformation 
FileAlignmentInformation 
FileAllInformation 
FileAllocationInformation 
FileEndOfFileInformation 
FileAlternateNameInformation 
FileStreamInformation 
FilePipeInformation 
FilePipeLocalInformation 
FilePipeRemoteInformation 
FileMailslotQueryInformation 
FileMailslotSetInformation 
FileCompressionInformation 
FileCopyOnWriteInformation 
FileCompletionInformation 
FileMoveClusterInformation 
FileOleClassIdInformation 
FileOleStateBitsInformation 
FileNetworkOpenInformation 
FileObjectIdInformation 
FileOleAllInformation 
FileOleDirectoryInformation 
FileContentIndexInformation 
FileInheritContentIndexInformation 
FileOleInformation 
FileMaximumInformation 
FileDirectoryInformation 
FileDirectoryInformation 
FileFullDirectoryInformation 
FileBothDirectoryInformation 
FileBasicInformation 
FileStandardInformation 
FileInternalInformation 
FileEaInformation 
FileAccessInformation 
FileNameInformation 
FileRenameInformation 
FileLinkInformation 
FileNamesInformation 
FileDispositionInformation 
FilePositionInformation 
FileFullEaInformation 
FileModeInformation 
FileAlignmentInformation 
FileAllInformation 
FileAllocationInformation 
FileEndOfFileInformation 
FileAlternateNameInformation 
FileStreamInformation 
FilePipeInformation 
FilePipeLocalInformation 
FilePipeRemoteInformation 
FileMailslotQueryInformation 
FileMailslotSetInformation 
FileCompressionInformation 
FileObjectIdInformation 
FileCompletionInformation 
FileMoveClusterInformation 
FileQuotaInformation 
FileReparsePointInformation 
FileNetworkOpenInformation 
FileAttributeTagInformation 
FileTrackingInformation 
FileIdBothDirectoryInformation 
FileIdFullDirectoryInformation 
FileValidDataLengthInformation 
FileShortNameInformation 
FileIoCompletionNotificationInformation 
FileIoStatusBlockRangeInformation 
FileIoPriorityHintInformation 
FileSfioReserveInformation 
FileSfioVolumeInformation 
FileHardLinkInformation 
FileProcessIdsUsingFileInformation 
FileNormalizedNameInformation 
FileNetworkPhysicalNameInformation 
FileIdGlobalTxDirectoryInformation 
FileIsRemoteDeviceInformation 
FileAttributeCacheInformation 
FileNumaNodeInformation 
FileStandardLinkInformation 
FileRemoteProtocolInformation 
FileRenameInformationBypassAccessCheck 
FileLinkInformationBypassAccessCheck 
FileVolumeNameInformation 
FileIdInformation 
FileIdExtdDirectoryInformation 
FileReplaceCompletionInformation 
FileHardLinkFullIdInformation 
FileIdExtdBothDirectoryInformation 
FileMaximumInformation 
FileDirectoryInformation 
FileFullDirectoryInformation 
FileBothDirectoryInformation 
FileBasicInformation 
FileStandardInformation 
FileInternalInformation 
FileEaInformation 
FileAccessInformation 
FileNameInformation 
FileRenameInformation 
FileLinkInformation 
FileNamesInformation 
FileDispositionInformation 
FilePositionInformation 
FileFullEaInformation 
FileModeInformation 
FileAlignmentInformation 
FileAllInformation 
FileAllocationInformation 
FileEndOfFileInformation 
FileAlternateNameInformation 
FileStreamInformation 
FilePipeInformation 
FilePipeLocalInformation 
FilePipeRemoteInformation 
FileMailslotQueryInformation 
FileMailslotSetInformation 
FileCompressionInformation 
FileObjectIdInformation 
FileCompletionInformation 
FileMoveClusterInformation 
FileQuotaInformation 
FileReparsePointInformation 
FileNetworkOpenInformation 
FileAttributeTagInformation 
FileTrackingInformation 
FileIdBothDirectoryInformation 
FileIdFullDirectoryInformation 
FileValidDataLengthInformation 
FileShortNameInformation 
FileIoCompletionNotificationInformation 
FileIoStatusBlockRangeInformation 
FileIoPriorityHintInformation 
FileSfioReserveInformation 
FileSfioVolumeInformation 
FileHardLinkInformation 
FileProcessIdsUsingFileInformation 
FileNormalizedNameInformation 
FileNetworkPhysicalNameInformation 
FileIdGlobalTxDirectoryInformation 
FileIsRemoteDeviceInformation 
FileAttributeCacheInformation 
FileNumaNodeInformation 
FileStandardLinkInformation 
FileRemoteProtocolInformation 
FileMaximumInformation 

Definition at line 159 of file winternl.h.

160 {
enum _FILE_INFORMATION_CLASS FILE_INFORMATION_CLASS

◆ _KEY_SET_INFORMATION_CLASS

Enumerator
KeyWriteTimeInformation 
KeyWriteTimeInformation 
KeyWow64FlagsInformation 
KeyControlFlagsInformation 
KeySetVirtualizationInformation 
KeySetDebugInformation 
KeySetHandleTagsInformation 
MaxKeySetInfoClass 
KeyWriteTimeInformation 
KeyWow64FlagsInformation 
KeyControlFlagsInformation 
KeySetVirtualizationInformation 
KeySetDebugInformation 
KeySetHandleTagsInformation 
MaxKeySetInfoClass 

Definition at line 370 of file winternl.h.

◆ _OBJECT_INFORMATION_CLASS

Enumerator
ObjectBasicInformation 
ObjectNameInformation 
ObjectTypeInformation 
ObjectAllTypesInformation 
ObjectHandleInformation 
ObjectBasicInformation 
ObjectTypeInformation 
ObjectBasicInformation 
ObjectNameInformation 
ObjectTypeInformation 
ObjectTypesInformation 
ObjectDataInformation 

Definition at line 437 of file winternl.h.

438 {
enum _OBJECT_INFORMATION_CLASS OBJECT_INFORMATION_CLASS

◆ _PROCESSINFOCLASS

Enumerator
ProcessBasicInformation 
ProcessDebugPort 
ProcessWow64Information 
ProcessImageFileName 
ProcessBreakOnTermination 
ProcessBasicInformation 
ProcessQuotaLimits 
ProcessIoCounters 
ProcessVmCounters 
ProcessTimes 
ProcessBasePriority 
ProcessRaisePriority 
ProcessDebugPort 
ProcessExceptionPort 
ProcessAccessToken 
ProcessLdtInformation 
ProcessLdtSize 
ProcessDefaultHardErrorMode 
ProcessIoPortHandlers 
ProcessPooledUsageAndLimits 
ProcessWorkingSetWatch 
ProcessUserModeIOPL 
ProcessEnableAlignmentFaultFixup 
ProcessPriorityClass 
ProcessWx86Information 
ProcessHandleCount 
ProcessAffinityMask 
ProcessPriorityBoost 
ProcessDeviceMap 
ProcessSessionInformation 
ProcessForegroundInformation 
ProcessWow64Information 
ProcessImageFileName 
ProcessLUIDDeviceMapsEnabled 
ProcessBreakOnTermination 
ProcessDebugObjectHandle 
ProcessDebugFlags 
ProcessHandleTracing 
ProcessExecuteFlags 
ProcessTlsInformation 
ProcessCookie 
ProcessImageInformation 
ProcessCycleTime 
ProcessPagePriority 
ProcessInstrumentationCallback 
ProcessThreadStackAllocation 
ProcessWorkingSetWatchEx 
ProcessImageFileNameWin32 
ProcessImageFileMapping 
ProcessAffinityUpdateMode 
ProcessMemoryAllocationMode 
ProcessGroupInformation 
ProcessTokenVirtualizationEnabled 
ProcessConsoleHostProcess 
ProcessWindowInformation 
MaxProcessInfoClass 
ProcessBasicInformation 
ProcessQuotaLimits 
ProcessIoCounters 
ProcessVmCounters 
ProcessTimes 
ProcessBasePriority 
ProcessRaisePriority 
ProcessDebugPort 
ProcessExceptionPort 
ProcessAccessToken 
ProcessLdtInformation 
ProcessLdtSize 
ProcessDefaultHardErrorMode 
ProcessIoPortHandlers 
ProcessPooledUsageAndLimits 
ProcessWorkingSetWatch 
ProcessUserModeIOPL 
ProcessEnableAlignmentFaultFixup 
ProcessPriorityClass 
ProcessWx86Information 
ProcessHandleCount 
ProcessAffinityMask 
ProcessPriorityBoost 
ProcessDeviceMap 
ProcessSessionInformation 
ProcessForegroundInformation 
ProcessWow64Information 
ProcessImageFileName 
ProcessLUIDDeviceMapsEnabled 
ProcessBreakOnTermination 
ProcessDebugObjectHandle 
ProcessDebugFlags 
ProcessHandleTracing 
ProcessIoPriority 
ProcessExecuteFlags 
ProcessTlsInformation 
ProcessCookie 
ProcessImageInformation 
ProcessCycleTime 
ProcessPagePriority 
ProcessInstrumentationCallback 
ProcessThreadStackAllocation 
ProcessWorkingSetWatchEx 
ProcessImageFileNameWin32 
ProcessImageFileMapping 
ProcessAffinityUpdateMode 
ProcessMemoryAllocationMode 
ProcessGroupInformation 
ProcessTokenVirtualizationEnabled 
ProcessConsoleHostProcess 
ProcessWindowInformation 
MaxProcessInfoClass 

Definition at line 392 of file winternl.h.

◆ _SYSTEM_INFORMATION_CLASS

Enumerator
SystemBasicInformation 
SystemProcessorInformation 
SystemPerformanceInformation 
SystemTimeOfDayInformation 
SystemPathInformation 
SystemProcessInformation 
SystemCallCountInformation 
SystemDeviceInformation 
SystemProcessorPerformanceInformation 
SystemFlagsInformation 
SystemCallTimeInformation 
SystemModuleInformation 
SystemLocksInformation 
SystemStackTraceInformation 
SystemPagedPoolInformation 
SystemNonPagedPoolInformation 
SystemHandleInformation 
SystemObjectInformation 
SystemPageFileInformation 
SystemVdmInstemulInformation 
SystemVdmBopInformation 
SystemFileCacheInformation 
SystemPoolTagInformation 
SystemInterruptInformation 
SystemDpcBehaviorInformation 
SystemFullMemoryInformation 
SystemLoadGdiDriverInformation 
SystemUnloadGdiDriverInformation 
SystemTimeAdjustmentInformation 
SystemSummaryMemoryInformation 
SystemNextEventIdInformation 
SystemEventIdsInformation 
SystemCrashDumpInformation 
SystemExceptionInformation 
SystemCrashDumpStateInformation 
SystemKernelDebuggerInformation 
SystemContextSwitchInformation 
SystemRegistryQuotaInformation 
SystemExtendServiceTableInformation 
SystemPrioritySeperation 
SystemPlugPlayBusInformation 
SystemDockInformation 
SystemPowerInformation 
SystemProcessorSpeedInformation 
SystemCurrentTimeZoneInformation 
SystemLookasideInformation 
SystemBasicInformation 
SystemProcessorInformation 
SystemPerformanceInformation 
SystemTimeOfDayInformation 
SystemPathInformation 
SystemProcessInformation 
SystemCallCountInformation 
SystemDeviceInformation 
SystemProcessorPerformanceInformation 
SystemFlagsInformation 
SystemCallTimeInformation 
SystemModuleInformation 
SystemLocksInformation 
SystemStackTraceInformation 
SystemPagedPoolInformation 
SystemNonPagedPoolInformation 
SystemHandleInformation 
SystemObjectInformation 
SystemPageFileInformation 
SystemVdmInstemulInformation 
SystemVdmBopInformation 
SystemFileCacheInformation 
SystemPoolTagInformation 
SystemInterruptInformation 
SystemDpcBehaviorInformation 
SystemFullMemoryInformation 
SystemLoadGdiDriverInformation 
SystemUnloadGdiDriverInformation 
SystemTimeAdjustmentInformation 
SystemSummaryMemoryInformation 
SystemNextEventIdInformation 
SystemEventIdsInformation 
SystemCrashDumpInformation 
SystemExceptionInformation 
SystemCrashDumpStateInformation 
SystemKernelDebuggerInformation 
SystemContextSwitchInformation 
SystemRegistryQuotaInformation 
SystemExtendServiceTableInformation 
SystemPrioritySeperation 
SystemPlugPlayBusInformation 
SystemDockInformation 
SystemPowerInformation 
SystemProcessorSpeedInformation 
SystemCurrentTimeZoneInformation 
SystemLookasideInformation 
SystemBasicInformation 
SystemProcessorInformation 
SystemPerformanceInformation 
SystemTimeOfDayInformation 
SystemPathInformation 
SystemProcessInformation 

Obsolete: Use KUSER_SHARED_DATA.

SystemCallCountInformation 
SystemDeviceInformation 
SystemProcessorPerformanceInformation 
SystemFlagsInformation 
SystemCallTimeInformation 
SystemModuleInformation 
SystemLocksInformation 
SystemStackTraceInformation 
SystemPagedPoolInformation 
SystemNonPagedPoolInformation 
SystemHandleInformation 
SystemObjectInformation 
SystemPageFileInformation 
SystemVdmInstemulInformation 
SystemVdmBopInformation 
SystemFileCacheInformation 
SystemPoolTagInformation 
SystemInterruptInformation 
SystemDpcBehaviorInformation 
SystemFullMemoryInformation 
SystemLoadGdiDriverInformation 
SystemUnloadGdiDriverInformation 
SystemTimeAdjustmentInformation 
SystemSummaryMemoryInformation 
SystemMirrorMemoryInformation 
SystemPerformanceTraceInformation 
SystemObsolete0 
SystemExceptionInformation 
SystemCrashDumpStateInformation 
SystemKernelDebuggerInformation 
SystemContextSwitchInformation 
SystemRegistryQuotaInformation 
SystemExtendServiceTableInformation 
SystemPrioritySeperation 
SystemPlugPlayBusInformation 
SystemDockInformation 
SystemPowerInformationNative 
SystemProcessorSpeedInformation 
SystemCurrentTimeZoneInformation 
SystemLookasideInformation 
SystemTimeSlipNotification 
SystemSessionCreate 
SystemSessionDetach 
SystemSessionInformation 
SystemRangeStartInformation 
SystemVerifierInformation 
SystemAddVerifier 
SystemSessionProcessesInformation 
SystemLoadGdiDriverInSystemSpaceInformation 
SystemNumaProcessorMap 
SystemPrefetcherInformation 
SystemExtendedProcessInformation 
SystemRecommendedSharedDataAlignment 
SystemComPlusPackage 
SystemNumaAvailableMemory 
SystemProcessorPowerInformation 
SystemEmulationBasicInformation 
SystemEmulationProcessorInformation 
SystemExtendedHandleInformation 
SystemLostDelayedWriteInformation 
SystemBigPoolInformation 
SystemSessionPoolTagInformation 
SystemSessionMappedViewInformation 
SystemHotpatchInformation 
SystemObjectSecurityMode 
SystemWatchDogTimerHandler 
SystemWatchDogTimerInformation 
SystemLogicalProcessorInformation 
SystemWow64SharedInformationObsolete 
SystemRegisterFirmwareTableInformationHandler 
SystemFirmwareTableInformation 
SystemModuleInformationEx 
SystemVerifierTriageInformation 
SystemSuperfetchInformation 
SystemMemoryListInformation 
SystemFileCacheInformationEx 
SystemThreadPriorityClientIdInformation 
SystemProcessorIdleCycleTimeInformation 
SystemVerifierCancellationInformation 
SystemProcessorPowerInformationEx 
SystemRefTraceInformation 
SystemSpecialPoolInformation 
SystemProcessIdInformation 
SystemErrorPortInformation 
SystemBootEnvironmentInformation 
SystemHypervisorInformation 
SystemVerifierInformationEx 
SystemTimeZoneInformation 
SystemImageFileExecutionOptionsInformation 
SystemCoverageInformation 
SystemPrefetchPathInformation 
SystemVerifierFaultsInformation 
MaxSystemInfoClass 
SystemBasicInformation 
SystemPerformanceInformation 
SystemTimeOfDayInformation 
SystemProcessInformation 
SystemProcessorPerformanceInformation 
SystemInterruptInformation 
SystemExceptionInformation 
SystemRegistryQuotaInformation 
SystemLookasideInformation 
SystemPolicyInformation 
SystemBasicInformation 
SystemCpuInformation 
SystemPerformanceInformation 
SystemTimeOfDayInformation 
Unknown4 
SystemProcessInformation 
Unknown6 
Unknown7 
SystemProcessorPerformanceInformation 
Unknown9 
Unknown10 
SystemModuleInformation 
Unknown12 
Unknown13 
Unknown14 
Unknown15 
SystemHandleInformation 
Unknown17 
SystemPageFileInformation 
Unknown19 
Unknown20 
SystemCacheInformation 
Unknown22 
SystemInterruptInformation 
SystemDpcBehaviourInformation 
SystemFullMemoryInformation 
SystemNotImplemented6 
SystemLoadImage 
SystemUnloadImage 
SystemTimeAdjustmentInformation 
SystemTimeAdjustment 
SystemSummaryMemoryInformation 
SystemNotImplemented7 
SystemNextEventIdInformation 
SystemNotImplemented8 
SystemEventIdsInformation 
SystemCrashDumpInformation 
SystemExceptionInformation 
SystemCrashDumpStateInformation 
SystemKernelDebuggerInformation 
SystemContextSwitchInformation 
SystemRegistryQuotaInformation 
SystemCurrentTimeZoneInformation 
SystemTimeZoneInformation 
SystemLookasideInformation 
SystemSetTimeSlipEvent 
SystemCreateSession 
SystemDeleteSession 
SystemInvalidInfoClass4 
SystemRangeStartInformation 
SystemVerifierInformation 
SystemAddVerifier 
SystemSessionProcessesInformation 
SystemLoadGdiDriverInSystemSpace 
SystemNumaProcessorMap 
SystemPrefetcherInformation 
SystemExtendedProcessInformation 
SystemRecommendedSharedDataAlignment 
SystemComPlusPackage 
SystemNumaAvailableMemory 
SystemProcessorPowerInformation 
SystemEmulationBasicInformation 
SystemEmulationProcessorInformation 
SystemExtendedHandleInformation 
SystemLostDelayedWriteInformation 
SystemBigPoolInformation 
SystemSessionPoolTagInformation 
SystemSessionMappedViewInformation 
SystemHotpatchInformation 
SystemObjectSecurityMode 
SystemWatchdogTimerHandler 
SystemWatchdogTimerInformation 
SystemLogicalProcessorInformation 
SystemWow64SharedInformation 
SystemRegisterFirmwareTableInformationHandler 
SystemFirmwareTableInformation 
SystemModuleInformationEx 
SystemVerifierTriageInformation 
SystemSuperfetchInformation 
SystemMemoryListInformation 
SystemFileCacheInformationEx 
SystemLogicalProcessorInformationEx 
SystemInformationClassMax 

Definition at line 470 of file winternl.h.

◆ _THREADINFOCLASS

Enumerator
ThreadBasicInformation 
ThreadTimes 
ThreadPriority 
ThreadBasePriority 
ThreadAffinityMask 
ThreadImpersonationToken 
ThreadDescriptorTableEntry 
ThreadEnableAlignmentFaultFixup 
ThreadEventPair_Reusable 
ThreadQuerySetWin32StartAddress 
ThreadZeroTlsCell 
ThreadPerformanceCount 
ThreadAmILastThread 
ThreadIdealProcessor 
ThreadPriorityBoost 
ThreadSetTlsArrayAddress 
ThreadIsIoPending 
ThreadHideFromDebugger 
ThreadBreakOnTermination 
ThreadSwitchLegacyState 
ThreadIsTerminated 
ThreadLastSystemCall 
ThreadIoPriority 
ThreadCycleTime 
ThreadPagePriority 
ThreadActualBasePriority 
ThreadTebInformation 
ThreadCSwitchMon 
ThreadCSwitchPmu 
ThreadWow64Context 
ThreadGroupInformation 
ThreadUmsInformation 
ThreadCounterProfiling 
ThreadIdealProcessorEx 
MaxThreadInfoClass 
ThreadIsIoPending 
ThreadBasicInformation 
ThreadTimes 
ThreadPriority 
ThreadBasePriority 
ThreadAffinityMask 
ThreadImpersonationToken 
ThreadDescriptorTableEntry 
ThreadEnableAlignmentFaultFixup 
ThreadEventPair_Reusable 
ThreadQuerySetWin32StartAddress 
ThreadZeroTlsCell 
ThreadPerformanceCount 
ThreadAmILastThread 
ThreadIdealProcessor 
ThreadPriorityBoost 
ThreadSetTlsArrayAddress 
ThreadIsIoPending 
ThreadHideFromDebugger 
ThreadBreakOnTermination 
ThreadSwitchLegacyState 
ThreadIsTerminated 
ThreadLastSystemCall 
ThreadIoPriority 
ThreadCycleTime 
ThreadPagePriority 
ThreadActualBasePriority 
ThreadTebInformation 
ThreadCSwitchMon 
ThreadCSwitchPmu 
ThreadWow64Context 
ThreadGroupInformation 
ThreadUmsInformation 
ThreadCounterProfiling 
ThreadIdealProcessorEx 
MaxThreadInfoClass 
ThreadBasicInformation 
ThreadTimes 
ThreadPriority 
ThreadBasePriority 
ThreadAffinityMask 
ThreadImpersonationToken 
ThreadDescriptorTableEntry 
ThreadEnableAlignmentFaultFixup 
ThreadEventPair_Reusable 
ThreadQuerySetWin32StartAddress 
ThreadZeroTlsCell 
ThreadPerformanceCount 
ThreadAmILastThread 
ThreadIdealProcessor 
ThreadPriorityBoost 
ThreadSetTlsArrayAddress 
ThreadIsIoPending 
ThreadHideFromDebugger 
ThreadBreakOnTermination 
ThreadSwitchLegacyState 
ThreadIsTerminated 
ThreadLastSystemCall 
ThreadIoPriority 
ThreadCycleTime 
ThreadPagePriority 
ThreadActualBasePriority 
ThreadTebInformation 
ThreadCSwitchMon 
ThreadCSwitchPmu 
ThreadWow64Context 
ThreadGroupInformation 
ThreadUmsInformation 
ThreadCounterProfiling 
ThreadIdealProcessorEx 
MaxThreadInfoClass 

Definition at line 421 of file winternl.h.

422 {
423  ThreadIsIoPending = 16
enum _THREADINFOCLASS THREADINFOCLASS

◆ _WINSTATIONINFOCLASS

Enumerator
WinStationInformation 
WinStationInformation 

Definition at line 563 of file winternl.h.

564 {
enum _WINSTATIONINFOCLASS WINSTATIONINFOCLASS

Function Documentation

◆ _IRQL_requires_max_()

_IRQL_requires_max_ ( PASSIVE_LEVEL  )

Definition at line 64 of file Messaging.c.

75 {
76  PFLT_SERVER_PORT_OBJECT PortObject;
78 
79  /* The caller must allow at least one connection */
80  if (MaxConnections == 0)
81  {
83  }
84 
85  /* The request must be for a kernel handle */
86  if (!(ObjectAttributes->Attributes & OBJ_KERNEL_HANDLE))
87  {
89  }
90 
91  /*
92  * Get rundown protection on the target to stop the owner
93  * from unloading whilst this port object is open. It gets
94  * removed in the FltpServerPortClose callback
95  */
96  Status = FltObjectReference(Filter);
97  if (!NT_SUCCESS(Status))
98  {
99  return Status;
100  }
101 
102  /* Create the server port object for this filter */
103  Status = ObCreateObject(KernelMode,
106  KernelMode,
107  NULL,
108  sizeof(FLT_SERVER_PORT_OBJECT),
109  0,
110  0,
111  (PVOID *)&PortObject);
112  if (NT_SUCCESS(Status))
113  {
114  /* Zero out the struct */
115  RtlZeroMemory(PortObject, sizeof(FLT_SERVER_PORT_OBJECT));
116 
117  /* Increment the ref count on the target filter */
119 
120  /* Setup the filter port object */
121  PortObject->Filter = Filter;
122  PortObject->ConnectNotify = ConnectNotifyCallback;
124  PortObject->MessageNotify = MessageNotifyCallback;
125  PortObject->Cookie = ServerPortCookie;
126  PortObject->MaxConnections = MaxConnections;
127 
128  /* Insert the object */
129  Status = ObInsertObject(PortObject,
130  NULL,
132  0,
133  NULL,
135  if (NT_SUCCESS(Status))
136  {
137  /* Lock the connection list */
139 
140  /* Add the new port object to the connection list and increment the count */
143 
144  /* Unlock the connection list*/
146  }
147  }
148 
149  if (!NT_SUCCESS(Status))
150  {
151  /* Allow the filter to be cleaned up */
153  }
154 
155  return Status;
156 }
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
Definition: conport.c:35
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135
_Must_inspect_result_ _Outptr_ PFLT_PORT * ServerPort
Definition: fltkernel.h:1873
PFLT_CONNECT_NOTIFY ConnectNotify
Definition: fltmgrint.h:191
VOID FLTAPI FltObjectDereference(_Inout_ PVOID Object)
Definition: Object.c:53
LONG NTSTATUS
Definition: precomp.h:26
#define InsertTailList(ListHead, Entry)
VOID FASTCALL ExReleaseFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:31
ULONG FltpObjectPointerReference(_In_ PFLT_OBJECT Object)
Definition: Object.c:322
LIST_ENTRY mList
Definition: fltmgrint.h:56
_Must_inspect_result_ _In_opt_ PFLT_FILTER Filter
Definition: fltkernel.h:1802
#define FILE_READ_DATA
Definition: nt_native.h:628
smooth NULL
Definition: ftsmooth.c:416
NTSTATUS NTAPI ObCreateObject(IN KPROCESSOR_MODE ProbeMode OPTIONAL, IN POBJECT_TYPE Type, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN KPROCESSOR_MODE AccessMode, IN OUT PVOID ParseContext OPTIONAL, IN ULONG ObjectSize, IN ULONG PagedPoolCharge OPTIONAL, IN ULONG NonPagedPoolCharge OPTIONAL, OUT PVOID *Object)
Definition: oblife.c:952
POBJECT_TYPE ServerPortObjectType
Definition: Messaging.c:24
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:24
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY DisconnectNotifyCallback
Definition: fltkernel.h:1873
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY ConnectNotifyCallback
Definition: fltkernel.h:1873
Status
Definition: gdiplustypes.h:24
NTSTATUS NTAPI ObInsertObject(IN PVOID Object, IN PACCESS_STATE AccessState OPTIONAL, IN ACCESS_MASK DesiredAccess, IN ULONG ObjectPointerBias, OUT PVOID *NewObject OPTIONAL, OUT PHANDLE Handle)
Definition: obhandle.c:2926
#define STANDARD_RIGHTS_ALL
Definition: nt_native.h:69
VOID FASTCALL ExAcquireFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:23
NTSTATUS FLTAPI FltObjectReference(_Inout_ PVOID Object)
Definition: Object.c:41
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID ServerPortCookie
Definition: fltkernel.h:1873
FAST_MUTEX mLock
Definition: fltmgrint.h:55
PFLT_MESSAGE_NOTIFY MessageNotify
Definition: fltmgrint.h:193
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:261
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY _In_opt_ PFLT_MESSAGE_NOTIFY _In_ LONG MaxConnections
Definition: fltkernel.h:1873
PFLT_DISCONNECT_NOTIFY DisconnectNotify
Definition: fltmgrint.h:192
#define OBJ_KERNEL_HANDLE
Definition: winternl.h:231
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY _In_opt_ PFLT_MESSAGE_NOTIFY MessageNotifyCallback
Definition: fltkernel.h:1873
FLT_MUTEX_LIST_HEAD ConnectionList
Definition: fltmgrint.h:121

◆ _Out_range_()

_Out_range_ ( )

◆ _Out_writes_bytes_opt_()

◆ _Return_type_success_()

typedef _Return_type_success_ ( return >=  0)

◆ _When_()

_When_ ( Status< 0, _Out_range_(>  ,
 
)
pure virtual

◆ NtClose()

◆ NtCreateFile()

__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtCreateFile ( _Out_ PHANDLE  FileHandle,
_In_ ACCESS_MASK  DesiredAccess,
_In_ POBJECT_ATTRIBUTES  ObjectAttributes,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_opt_ PLARGE_INTEGER  AllocationSize,
_In_ ULONG  FileAttributes,
_In_ ULONG  ShareAccess,
_In_ ULONG  CreateDisposition,
_In_ ULONG  CreateOptions,
_In_reads_bytes_opt_(EaLength) PVOID  EaBuffer,
_In_ ULONG  EaLength 
)

◆ NtDeviceIoControlFile()

__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtDeviceIoControlFile ( _In_ HANDLE  FileHandle,
_In_opt_ HANDLE  Event,
_In_opt_ PIO_APC_ROUTINE  ApcRoutine,
_In_opt_ PVOID  ApcContext,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_ ULONG  IoControlCode,
_In_reads_bytes_opt_(InputBufferLength) PVOID  InputBuffer,
_In_ ULONG  InputBufferLength,
_Out_writes_bytes_opt_(OutputBufferLength) PVOID  OutputBuffer,
_In_ ULONG  OutputBufferLength 
)

◆ NtNotifyChangeMultipleKeys()

__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtNotifyChangeMultipleKeys ( _In_ HANDLE  MasterKeyHandle,
_In_opt_ ULONG  Count,
_In_reads_opt_(Count) OBJECT_ATTRIBUTES  SubordinateObjects[],
_In_opt_ HANDLE  Event,
_In_opt_ PIO_APC_ROUTINE  ApcRoutine,
_In_opt_ PVOID  ApcContext,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_ ULONG  CompletionFilter,
_In_ BOOLEAN  WatchTree,
_Out_writes_bytes_opt_(BufferSize) PVOID  Buffer,
_In_ ULONG  BufferSize,
_In_ BOOLEAN  Asynchronous 
)

◆ NtOpenFile()

__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtOpenFile ( _Out_ PHANDLE  FileHandle,
_In_ ACCESS_MASK  DesiredAccess,
_In_ POBJECT_ATTRIBUTES  ObjectAttributes,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_ ULONG  ShareAccess,
_In_ ULONG  OpenOptions 
)

◆ NtQueryInformationProcess()

__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryInformationProcess ( _In_ HANDLE  ProcessHandle,
_In_ PROCESSINFOCLASS  ProcessInformationClass,
_Out_ PVOID  ProcessInformation,
_In_ ULONG  ProcessInformationLength,
_Out_opt_ PULONG  ReturnLength 
)

◆ NtQueryInformationThread()

__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryInformationThread ( _In_ HANDLE  ThreadHandle,
_In_ THREADINFOCLASS  ThreadInformationClass,
_Out_ PVOID  ThreadInformation,
_In_ ULONG  ThreadInformationLength,
_Out_opt_ PULONG  ReturnLength 
)

◆ NtQueryMultipleValueKey()

__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryMultipleValueKey ( _In_ HANDLE  KeyHandle,
_Inout_updates_(EntryCount) PKEY_VALUE_ENTRY  ValueEntries,
_In_ ULONG  EntryCount,
_Out_writes_bytes_ *BufferLength PVOID  ValueBuffer,
_Inout_ PULONG  BufferLength,
_Out_opt_ PULONG  RequiredBufferLength 
)

◆ NtQuerySystemInformation()

__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQuerySystemInformation ( _In_ SYSTEM_INFORMATION_CLASS  SystemInformationClass,
_Out_ PVOID  SystemInformation,
_In_ ULONG  InformationLength,
_Out_opt_ PULONG  ResultLength 
)

◆ NtQuerySystemTime()

__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQuerySystemTime ( _Out_ PLARGE_INTEGER  SystemTime)

◆ NtRenameKey()

__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtRenameKey ( _In_ HANDLE  KeyHandle,
_In_ PUNICODE_STRING  NewName 
)

◆ NtSetInformationKey()

__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtSetInformationKey ( _In_ HANDLE  KeyHandle,
_In_ _Strict_type_match_ KEY_SET_INFORMATION_CLASS  KeySetInformationClass,
_In_reads_bytes_(KeySetInformationLength) PVOID  KeySetInformation,
_In_ ULONG  KeySetInformationLength 
)

◆ NtWaitForSingleObject()

__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtWaitForSingleObject ( _In_ HANDLE  Object,
_In_ BOOLEAN  Alertable,
_In_opt_ PLARGE_INTEGER  Timeout 
)

◆ RtlAnsiStringToUnicodeString()

NTSTATUS NTAPI RtlAnsiStringToUnicodeString ( PUNICODE_STRING  DestinationString,
PCANSI_STRING  SourceString,
BOOLEAN  AllocateDestinationString 
)

◆ RtlCharToInteger()

NTSTATUS NTAPI RtlCharToInteger ( PCSZ  String,
ULONG  Base,
PULONG  Value 
)

Definition at line 261 of file unicode.c.

265 {
266  CHAR chCurrent;
267  int digit;
268  ULONG RunningTotal = 0;
269  char bMinus = 0;
270 
271  /* skip leading whitespaces */
272  while (*str != '\0' && *str <= ' ') str++;
273 
274  /* Check for +/- */
275  if (*str == '+')
276  {
277  str++;
278  }
279  else if (*str == '-')
280  {
281  bMinus = 1;
282  str++;
283  }
284 
285  /* base = 0 means autobase */
286  if (base == 0)
287  {
288  base = 10;
289 
290  if (str[0] == '0')
291  {
292  if (str[1] == 'b')
293  {
294  str += 2;
295  base = 2;
296  }
297  else if (str[1] == 'o')
298  {
299  str += 2;
300  base = 8;
301  }
302  else if (str[1] == 'x')
303  {
304  str += 2;
305  base = 16;
306  }
307  }
308  }
309  else if (base != 2 && base != 8 && base != 10 && base != 16)
310  {
312  }
313 
314  if (value == NULL) return STATUS_ACCESS_VIOLATION;
315 
316  while (*str != '\0')
317  {
318  chCurrent = *str;
319 
320  if (chCurrent >= '0' && chCurrent <= '9')
321  {
322  digit = chCurrent - '0';
323  }
324  else if (chCurrent >= 'A' && chCurrent <= 'Z')
325  {
326  digit = chCurrent - 'A' + 10;
327  }
328  else if (chCurrent >= 'a' && chCurrent <= 'z')
329  {
330  digit = chCurrent - 'a' + 10;
331  }
332  else
333  {
334  digit = -1;
335  }
336 
337  if (digit < 0 || digit >= (int)base) break;
338 
339  RunningTotal = RunningTotal * base + digit;
340  str++;
341  }
342 
343  *value = bMinus ? (0 - RunningTotal) : RunningTotal;
344  return STATUS_SUCCESS;
345 }
Definition: get.c:139
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135
char CHAR
Definition: xmlstorage.h:175
const WCHAR * str
smooth NULL
Definition: ftsmooth.c:416
#define STATUS_ACCESS_VIOLATION
Definition: ntstatus.h:228
unsigned int ULONG
Definition: retypes.h:1
return STATUS_SUCCESS
Definition: btrfs.c:2710

◆ RtlConvertSidToUnicodeString()

NTSTATUS NTAPI RtlConvertSidToUnicodeString ( PUNICODE_STRING  UnicodeString,
PSID  Sid,
BOOLEAN  AllocateDestinationString 
)

◆ RtlFreeAnsiString()

VOID NTAPI RtlFreeAnsiString ( PANSI_STRING  AnsiString)

◆ RtlFreeOemString()

◆ RtlFreeUnicodeString()

VOID NTAPI RtlFreeUnicodeString ( PUNICODE_STRING  UnicodeString)

◆ RtlInitAnsiString()

VOID NTAPI RtlInitAnsiString ( PANSI_STRING  DestinationString,
PCSZ  SourceString 
)

◆ RtlInitString()

VOID NTAPI RtlInitString ( PSTRING  DestinationString,
PCSZ  SourceString 
)

◆ RtlInitUnicodeString()

VOID NTAPI RtlInitUnicodeString ( PUNICODE_STRING  DestinationString,
PCWSTR  SourceString 
)

◆ RtlIsNameLegalDOS8Dot3()

◆ RtlLocalTimeToSystemTime()

NTSTATUS NTAPI RtlLocalTimeToSystemTime ( IN PLARGE_INTEGER  LocalTime,
_Out_ PLARGE_INTEGER  SystemTime 
)

◆ RtlTimeToSecondsSince1970()

◆ RtlUnicodeStringToAnsiString()

NTSTATUS NTAPI RtlUnicodeStringToAnsiString ( PANSI_STRING  DestinationString,
PCUNICODE_STRING  SourceString,
BOOLEAN  AllocateDestinationString 
)

◆ RtlUnicodeStringToOemString()

NTSTATUS NTAPI RtlUnicodeStringToOemString ( POEM_STRING  DestinationString,
PCUNICODE_STRING  SourceString,
BOOLEAN  AllocateDestinationString 
)

◆ RtlUnicodeToMultiByteSize()

NTSTATUS NTAPI RtlUnicodeToMultiByteSize ( _Out_ PULONG  BytesInMultiByteString,
_In_reads_bytes_(BytesInUnicodeString) PWCH  UnicodeString,
_In_ ULONG  BytesInUnicodeString 
)

◆ RtlUniform()

ULONG NTAPI RtlUniform ( PULONG  Seed)

Variable Documentation

◆ ObjectInformationClass

_In_ OBJECT_INFORMATION_CLASS ObjectInformationClass

Definition at line 465 of file winternl.h.

◆ ObjectInformationLength

_In_ OBJECT_INFORMATION_CLASS _In_ ULONG ObjectInformationLength

Definition at line 467 of file winternl.h.

◆ ReturnLength

Definition at line 467 of file winternl.h.