ReactOS  0.4.13-dev-257-gfabbd7c
nt_native.h File Reference
#include <excpt.h>
#include <ntdef.h>
#include <ntstatus.h>
#include <string.h>
#include <DEVIOCTL.H>
#include <NTDDSTOR.H>
#include <NTDDDISK.H>
Include dependency graph for nt_native.h:

Go to the source code of this file.

Classes

struct  _RTL_QUERY_REGISTRY_TABLE
 
struct  _TIME_FIELDS
 
struct  _GENERIC_MAPPING
 
struct  _IO_STATUS_BLOCK
 
struct  _FILE_BASIC_INFORMATION
 
struct  _FILE_STANDARD_INFORMATION
 
struct  _FILE_POSITION_INFORMATION
 
struct  _FILE_ALIGNMENT_INFORMATION
 
struct  _FILE_NETWORK_OPEN_INFORMATION
 
struct  _FILE_DISPOSITION_INFORMATION
 
struct  _FILE_END_OF_FILE_INFORMATION
 
struct  _FILE_FULL_EA_INFORMATION
 
struct  _FILE_FS_DEVICE_INFORMATION
 
struct  _KEY_BASIC_INFORMATION
 
struct  _KEY_NODE_INFORMATION
 
struct  _KEY_FULL_INFORMATION
 
struct  _KEY_WRITE_TIME_INFORMATION
 
struct  _KEY_VALUE_BASIC_INFORMATION
 
struct  _KEY_VALUE_FULL_INFORMATION
 
struct  _KEY_VALUE_PARTIAL_INFORMATION
 
struct  _KEY_VALUE_ENTRY
 
struct  _OBJECT_NAME_INFORMATION
 
struct  _CLIENT_ID
 
struct  _FLOATING_SAVE_AREA
 
struct  _CONTEXT
 
struct  ENVIRONMENT_INFORMATION
 
struct  STARTUP_ARGUMENT
 
struct  RTL_HEAP_DEFINITION
 
struct  StackInfo_t
 
struct  _RTL_HEAP_PARAMETERS
 

Macros

#define BOOL   BOOLEAN
 
#define DWORD   ULONG
 
#define LPVOID   PVOID
 
#define LPDWORD   PULONG
 
#define APIENTRY   __stdcall
 
#define FASTCALL   _fastcall
 
#define DELETE   (0x00010000L)
 
#define READ_CONTROL   (0x00020000L)
 
#define WRITE_DAC   (0x00040000L)
 
#define WRITE_OWNER   (0x00080000L)
 
#define SYNCHRONIZE   (0x00100000L)
 
#define STANDARD_RIGHTS_REQUIRED   (0x000F0000L)
 
#define STANDARD_RIGHTS_READ   (READ_CONTROL)
 
#define STANDARD_RIGHTS_WRITE   (READ_CONTROL)
 
#define STANDARD_RIGHTS_EXECUTE   (READ_CONTROL)
 
#define STANDARD_RIGHTS_ALL   (0x001F0000L)
 
#define SPECIFIC_RIGHTS_ALL   (0x0000FFFFL)
 
#define ACCESS_SYSTEM_SECURITY   (0x01000000L)
 
#define MAXIMUM_ALLOWED   (0x02000000L)
 
#define GENERIC_READ   (0x80000000L)
 
#define GENERIC_WRITE   (0x40000000L)
 
#define GENERIC_EXECUTE   (0x20000000L)
 
#define GENERIC_ALL   (0x10000000L)
 
#define RTL_QUERY_REGISTRY_SUBKEY   0x00000001
 
#define RTL_QUERY_REGISTRY_TOPKEY   0x00000002
 
#define RTL_QUERY_REGISTRY_REQUIRED   0x00000004
 
#define RTL_QUERY_REGISTRY_NOVALUE   0x00000008
 
#define RTL_QUERY_REGISTRY_NOEXPAND   0x00000010
 
#define RTL_QUERY_REGISTRY_DIRECT   0x00000020
 
#define RTL_QUERY_REGISTRY_DELETE   0x00000040
 
#define RTL_REGISTRY_ABSOLUTE   0
 
#define RTL_REGISTRY_SERVICES   1
 
#define RTL_REGISTRY_CONTROL   2
 
#define RTL_REGISTRY_WINDOWS_NT   3
 
#define RTL_REGISTRY_DEVICEMAP   4
 
#define RTL_REGISTRY_USER   5
 
#define RTL_REGISTRY_MAXIMUM   6
 
#define RTL_REGISTRY_HANDLE   0x40000000
 
#define RTL_REGISTRY_OPTIONAL   0x80000000
 
#define NLS_MB_CODE_PAGE_TAG   (*NlsMbCodePageTag)
 
#define NLS_MB_OEM_CODE_PAGE_TAG   (*NlsMbOemCodePageTag)
 
#define RtlAnsiStringToUnicodeSize(STRING)
 
#define ASSERT(exp)
 
#define ASSERTMSG(msg, exp)
 
#define DEVICE_TYPE   ULONG
 
#define CTL_CODE(DeviceType, Function, Method, Access)
 
#define METHOD_BUFFERED   0
 
#define METHOD_IN_DIRECT   1
 
#define METHOD_OUT_DIRECT   2
 
#define METHOD_NEITHER   3
 
#define FILE_ANY_ACCESS   0
 
#define FILE_READ_ACCESS   ( 0x0001 )
 
#define FILE_WRITE_ACCESS   ( 0x0002 )
 
#define FILE_READ_DATA   ( 0x0001 )
 
#define FILE_LIST_DIRECTORY   ( 0x0001 )
 
#define FILE_WRITE_DATA   ( 0x0002 )
 
#define FILE_ADD_FILE   ( 0x0002 )
 
#define FILE_APPEND_DATA   ( 0x0004 )
 
#define FILE_ADD_SUBDIRECTORY   ( 0x0004 )
 
#define FILE_CREATE_PIPE_INSTANCE   ( 0x0004 )
 
#define FILE_READ_EA   ( 0x0008 )
 
#define FILE_WRITE_EA   ( 0x0010 )
 
#define FILE_EXECUTE   ( 0x0020 )
 
#define FILE_TRAVERSE   ( 0x0020 )
 
#define FILE_DELETE_CHILD   ( 0x0040 )
 
#define FILE_READ_ATTRIBUTES   ( 0x0080 )
 
#define FILE_WRITE_ATTRIBUTES   ( 0x0100 )
 
#define FILE_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0x1FF)
 
#define FILE_GENERIC_READ
 
#define FILE_GENERIC_WRITE
 
#define FILE_GENERIC_EXECUTE
 
#define FILE_SHARE_READ   0x00000001
 
#define FILE_SHARE_WRITE   0x00000002
 
#define FILE_SHARE_DELETE   0x00000004
 
#define FILE_SHARE_VALID_FLAGS   0x00000007
 
#define FILE_ATTRIBUTE_READONLY   0x00000001
 
#define FILE_ATTRIBUTE_HIDDEN   0x00000002
 
#define FILE_ATTRIBUTE_SYSTEM   0x00000004
 
#define FILE_ATTRIBUTE_DIRECTORY   0x00000010
 
#define FILE_ATTRIBUTE_ARCHIVE   0x00000020
 
#define FILE_ATTRIBUTE_NORMAL   0x00000080
 
#define FILE_ATTRIBUTE_TEMPORARY   0x00000100
 
#define FILE_ATTRIBUTE_RESERVED0   0x00000200
 
#define FILE_ATTRIBUTE_RESERVED1   0x00000400
 
#define FILE_ATTRIBUTE_COMPRESSED   0x00000800
 
#define FILE_ATTRIBUTE_OFFLINE   0x00001000
 
#define FILE_ATTRIBUTE_PROPERTY_SET   0x00002000
 
#define FILE_ATTRIBUTE_VALID_FLAGS   0x00003fb7
 
#define FILE_ATTRIBUTE_VALID_SET_FLAGS   0x00003fa7
 
#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 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_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_RESERVE_OPFILTER   0x00100000
 
#define FILE_TRANSACTED_MODE   0x00200000
 
#define FILE_OPEN_OFFLINE_FILE   0x00400000
 
#define FILE_VALID_OPTION_FLAGS   0x007fffff
 
#define FILE_VALID_PIPE_OPTION_FLAGS   0x00000032
 
#define FILE_VALID_MAILSLOT_OPTION_FLAGS   0x00000032
 
#define FILE_VALID_SET_FLAGS   0x00000036
 
#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_WRITE_TO_END_OF_FILE   0xffffffff
 
#define FILE_USE_FILE_POINTER_POSITION   0xfffffffe
 
#define FILE_BYTE_ALIGNMENT   0x00000000
 
#define FILE_WORD_ALIGNMENT   0x00000001
 
#define FILE_LONG_ALIGNMENT   0x00000003
 
#define FILE_QUAD_ALIGNMENT   0x00000007
 
#define FILE_OCTA_ALIGNMENT   0x0000000f
 
#define FILE_32_BYTE_ALIGNMENT   0x0000001f
 
#define FILE_64_BYTE_ALIGNMENT   0x0000003f
 
#define FILE_128_BYTE_ALIGNMENT   0x0000007f
 
#define FILE_256_BYTE_ALIGNMENT   0x000000ff
 
#define FILE_512_BYTE_ALIGNMENT   0x000001ff
 
#define MAXIMUM_FILENAME_LENGTH   256
 
#define FILE_REMOVABLE_MEDIA   0x00000001
 
#define FILE_READ_ONLY_DEVICE   0x00000002
 
#define FILE_FLOPPY_DISKETTE   0x00000004
 
#define FILE_WRITE_ONCE_MEDIA   0x00000008
 
#define FILE_REMOTE_DEVICE   0x00000010
 
#define FILE_DEVICE_IS_MOUNTED   0x00000020
 
#define FILE_VIRTUAL_VOLUME   0x00000040
 
#define _FILESYSTEMFSCTL_
 
#define FSCTL_REQUEST_OPLOCK_LEVEL_1   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_REQUEST_OPLOCK_LEVEL_2   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_REQUEST_BATCH_OPLOCK   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_OPLOCK_BREAK_ACKNOWLEDGE   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_OPBATCH_ACK_CLOSE_PENDING   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_OPLOCK_BREAK_NOTIFY   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 5, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_LOCK_VOLUME   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 6, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_UNLOCK_VOLUME   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 7, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_DISMOUNT_VOLUME   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 8, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_IS_VOLUME_MOUNTED   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 10, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_IS_PATHNAME_VALID   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 11, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_MARK_VOLUME_DIRTY   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 12, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_QUERY_RETRIEVAL_POINTERS   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 14, METHOD_NEITHER, FILE_ANY_ACCESS)
 
#define FSCTL_GET_COMPRESSION   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 15, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_SET_COMPRESSION   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 16, METHOD_BUFFERED, FILE_READ_DATA | FILE_WRITE_DATA)
 
#define FSCTL_MARK_AS_SYSTEM_HIVE   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 19, METHOD_NEITHER, FILE_ANY_ACCESS)
 
#define FSCTL_OPLOCK_BREAK_ACK_NO_2   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 20, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_INVALIDATE_VOLUMES   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 21, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_QUERY_FAT_BPB   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 22, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_REQUEST_FILTER_OPLOCK   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 23, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_FILESYSTEM_GET_STATISTICS   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 24, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define KEY_QUERY_VALUE   (0x0001)
 
#define KEY_SET_VALUE   (0x0002)
 
#define KEY_CREATE_SUB_KEY   (0x0004)
 
#define KEY_ENUMERATE_SUB_KEYS   (0x0008)
 
#define KEY_NOTIFY   (0x0010)
 
#define KEY_CREATE_LINK   (0x0020)
 
#define KEY_READ
 
#define KEY_WRITE
 
#define KEY_EXECUTE
 
#define KEY_ALL_ACCESS
 
#define REG_OPTION_RESERVED   (0x00000000L)
 
#define REG_OPTION_NON_VOLATILE   (0x00000000L)
 
#define REG_OPTION_VOLATILE   (0x00000001L)
 
#define REG_OPTION_CREATE_LINK   (0x00000002L)
 
#define REG_OPTION_BACKUP_RESTORE   (0x00000004L)
 
#define REG_OPTION_OPEN_LINK   (0x00000008L)
 
#define REG_LEGAL_OPTION
 
#define REG_CREATED_NEW_KEY   (0x00000001L)
 
#define REG_OPENED_EXISTING_KEY   (0x00000002L)
 
#define REG_WHOLE_HIVE_VOLATILE   (0x00000001L)
 
#define REG_REFRESH_HIVE   (0x00000002L)
 
#define REG_NO_LAZY_FLUSH   (0x00000004L)
 
#define OBJ_NAME_PATH_SEPARATOR   ((WCHAR)L'\\')
 
#define OBJECT_TYPE_CREATE   (0x0001)
 
#define OBJECT_TYPE_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | 0x1)
 
#define DIRECTORY_QUERY   (0x0001)
 
#define DIRECTORY_TRAVERSE   (0x0002)
 
#define DIRECTORY_CREATE_OBJECT   (0x0004)
 
#define DIRECTORY_CREATE_SUBDIRECTORY   (0x0008)
 
#define DIRECTORY_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | 0xF)
 
#define SYMBOLIC_LINK_QUERY   (0x0001)
 
#define SYMBOLIC_LINK_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | 0x1)
 
#define SECTION_QUERY   0x0001
 
#define SECTION_MAP_WRITE   0x0002
 
#define SECTION_MAP_READ   0x0004
 
#define SECTION_MAP_EXECUTE   0x0008
 
#define SECTION_EXTEND_SIZE   0x0010
 
#define SECTION_ALL_ACCESS
 
#define SEGMENT_ALL_ACCESS   SECTION_ALL_ACCESS
 
#define PAGE_NOACCESS   0x01
 
#define PAGE_READONLY   0x02
 
#define PAGE_READWRITE   0x04
 
#define PAGE_WRITECOPY   0x08
 
#define PAGE_EXECUTE   0x10
 
#define PAGE_EXECUTE_READ   0x20
 
#define PAGE_EXECUTE_READWRITE   0x40
 
#define PAGE_EXECUTE_WRITECOPY   0x80
 
#define PAGE_GUARD   0x100
 
#define PAGE_NOCACHE   0x200
 
#define MEM_COMMIT   0x1000
 
#define MEM_RESERVE   0x2000
 
#define MEM_DECOMMIT   0x4000
 
#define MEM_RELEASE   0x8000
 
#define MEM_FREE   0x10000
 
#define MEM_PRIVATE   0x20000
 
#define MEM_MAPPED   0x40000
 
#define MEM_RESET   0x80000
 
#define MEM_TOP_DOWN   0x100000
 
#define MEM_LARGE_PAGES   0x20000000
 
#define SEC_RESERVE   0x4000000
 
#define PROCESS_ALL_ACCESS
 
#define MAXIMUM_PROCESSORS   32
 
#define THREAD_TERMINATE   (0x0001)
 
#define THREAD_SET_INFORMATION   (0x0020)
 
#define THREAD_ALL_ACCESS
 
#define SIZE_OF_80387_REGISTERS   80
 
#define CONTEXT_i386   0x00010000
 
#define CONTEXT_i486   0x00010000
 
#define CONTEXT_CONTROL   (CONTEXT_i386 | 0x00000001L)
 
#define CONTEXT_INTEGER   (CONTEXT_i386 | 0x00000002L)
 
#define CONTEXT_SEGMENTS   (CONTEXT_i386 | 0x00000004L)
 
#define CONTEXT_FLOATING_POINT   (CONTEXT_i386 | 0x00000008L)
 
#define CONTEXT_DEBUG_REGISTERS   (CONTEXT_i386 | 0x00000010L)
 
#define CONTEXT_FULL
 
#define REG_NONE   ( 0 )
 
#define REG_SZ   ( 1 )
 
#define REG_EXPAND_SZ   ( 2 )
 
#define REG_BINARY   ( 3 )
 
#define REG_DWORD   ( 4 )
 
#define REG_DWORD_LITTLE_ENDIAN   ( 4 )
 
#define REG_DWORD_BIG_ENDIAN   ( 5 )
 
#define REG_LINK   ( 6 )
 
#define REG_MULTI_SZ   ( 7 )
 
#define REG_RESOURCE_LIST   ( 8 )
 
#define REG_FULL_RESOURCE_DESCRIPTOR   ( 9 )
 
#define REG_RESOURCE_REQUIREMENTS_LIST   ( 10 )
 
#define NtCurrentProcess()   ( (HANDLE) -1 )
 
#define HEAP_NO_SERIALIZE   0x00000001
 
#define HEAP_GROWABLE   0x00000002
 
#define HEAP_GENERATE_EXCEPTIONS   0x00000004
 
#define HEAP_ZERO_MEMORY   0x00000008
 
#define HEAP_REALLOC_IN_PLACE_ONLY   0x00000010
 
#define HEAP_TAIL_CHECKING_ENABLED   0x00000020
 
#define HEAP_FREE_CHECKING_ENABLED   0x00000040
 
#define HEAP_DISABLE_COALESCE_ON_FREE   0x00000080
 
#define HEAP_CREATE_ALIGN_16   0x00010000
 
#define HEAP_CREATE_ENABLE_TRACING   0x00020000
 
#define HEAP_SETTABLE_USER_VALUE   0x00000100
 
#define HEAP_SETTABLE_USER_FLAG1   0x00000200
 
#define HEAP_SETTABLE_USER_FLAG2   0x00000400
 
#define HEAP_SETTABLE_USER_FLAG3   0x00000800
 
#define HEAP_SETTABLE_USER_FLAGS   0x00000E00
 
#define HEAP_CLASS_0   0x00000000
 
#define HEAP_CLASS_1   0x00001000
 
#define HEAP_CLASS_2   0x00002000
 
#define HEAP_CLASS_3   0x00003000
 
#define HEAP_CLASS_4   0x00004000
 
#define HEAP_CLASS_5   0x00005000
 
#define HEAP_CLASS_6   0x00006000
 
#define HEAP_CLASS_7   0x00007000
 
#define HEAP_CLASS_8   0x00008000
 
#define HEAP_CLASS_MASK   0x0000F000
 
#define HEAP_MAXIMUM_TAG   0x0FFF
 
#define HEAP_GLOBAL_TAG   0x0800
 
#define HEAP_PSEUDO_TAG_FLAG   0x8000
 
#define HEAP_TAG_SHIFT   16
 
#define HEAP_MAKE_TAG_FLAGS(b, o)   ((ULONG)((b) + ((o) << 16)))
 
#define HEAP_TAG_MASK   (HEAP_MAXIMUM_TAG << HEAP_TAG_SHIFT)
 
#define HEAP_CREATE_VALID_MASK
 

Typedefs

typedef struct _KTHREADPKTHREAD
 
typedef struct _ETHREADPETHREAD
 
typedef struct _EPROCESSPEPROCESS
 
typedef struct _PEBPPEB
 
typedef struct _KINTERRUPTPKINTERRUPT
 
typedef struct _IO_TIMERPIO_TIMER
 
typedef struct _OBJECT_TYPEPOBJECT_TYPE
 
typedef struct _CALLBACK_OBJECTPCALLBACK_OBJECT
 
typedef struct _DEVICE_HANDLER_OBJECT * PDEVICE_HANDLER_OBJECT
 
typedef struct _BUS_HANDLERPBUS_HANDLER
 
typedef ULONG ACCESS_MASK
 
typedef ACCESS_MASKPACCESS_MASK
 
typedef NTSTATUS(* PRTL_QUERY_REGISTRY_ROUTINE) (IN PWSTR ValueName, IN ULONG ValueType, IN PVOID ValueData, IN ULONG ValueLength, IN PVOID Context, IN PVOID EntryContext)
 
typedef struct _RTL_QUERY_REGISTRY_TABLE RTL_QUERY_REGISTRY_TABLE
 
typedef struct _RTL_QUERY_REGISTRY_TABLEPRTL_QUERY_REGISTRY_TABLE
 
typedef struct _TIME_FIELDS TIME_FIELDS
 
typedef TIME_FIELDSPTIME_FIELDS
 
typedef struct _GENERIC_MAPPING GENERIC_MAPPING
 
typedef GENERIC_MAPPINGPGENERIC_MAPPING
 
typedef struct _IO_STATUS_BLOCK IO_STATUS_BLOCK
 
typedef struct _IO_STATUS_BLOCKPIO_STATUS_BLOCK
 
typedef VOID(* PIO_APC_ROUTINE) (IN PVOID ApcContext, IN PIO_STATUS_BLOCK IoStatusBlock, IN ULONG Reserved)
 
typedef enum _FILE_INFORMATION_CLASS FILE_INFORMATION_CLASS
 
typedef enum _FILE_INFORMATION_CLASSPFILE_INFORMATION_CLASS
 
typedef struct _FILE_BASIC_INFORMATION FILE_BASIC_INFORMATION
 
typedef struct _FILE_BASIC_INFORMATIONPFILE_BASIC_INFORMATION
 
typedef struct _FILE_STANDARD_INFORMATION FILE_STANDARD_INFORMATION
 
typedef struct _FILE_STANDARD_INFORMATIONPFILE_STANDARD_INFORMATION
 
typedef struct _FILE_POSITION_INFORMATION FILE_POSITION_INFORMATION
 
typedef struct _FILE_POSITION_INFORMATIONPFILE_POSITION_INFORMATION
 
typedef struct _FILE_ALIGNMENT_INFORMATION FILE_ALIGNMENT_INFORMATION
 
typedef struct _FILE_ALIGNMENT_INFORMATIONPFILE_ALIGNMENT_INFORMATION
 
typedef struct _FILE_NETWORK_OPEN_INFORMATION FILE_NETWORK_OPEN_INFORMATION
 
typedef struct _FILE_NETWORK_OPEN_INFORMATIONPFILE_NETWORK_OPEN_INFORMATION
 
typedef struct _FILE_DISPOSITION_INFORMATION FILE_DISPOSITION_INFORMATION
 
typedef struct _FILE_DISPOSITION_INFORMATIONPFILE_DISPOSITION_INFORMATION
 
typedef struct _FILE_END_OF_FILE_INFORMATION FILE_END_OF_FILE_INFORMATION
 
typedef struct _FILE_END_OF_FILE_INFORMATIONPFILE_END_OF_FILE_INFORMATION
 
typedef struct _FILE_FULL_EA_INFORMATION FILE_FULL_EA_INFORMATION
 
typedef struct _FILE_FULL_EA_INFORMATIONPFILE_FULL_EA_INFORMATION
 
typedef enum _FSINFOCLASS FS_INFORMATION_CLASS
 
typedef enum _FSINFOCLASSPFS_INFORMATION_CLASS
 
typedef struct _FILE_FS_DEVICE_INFORMATION FILE_FS_DEVICE_INFORMATION
 
typedef struct _FILE_FS_DEVICE_INFORMATIONPFILE_FS_DEVICE_INFORMATION
 
typedef struct _KEY_BASIC_INFORMATION KEY_BASIC_INFORMATION
 
typedef struct _KEY_BASIC_INFORMATIONPKEY_BASIC_INFORMATION
 
typedef struct _KEY_NODE_INFORMATION KEY_NODE_INFORMATION
 
typedef struct _KEY_NODE_INFORMATIONPKEY_NODE_INFORMATION
 
typedef struct _KEY_FULL_INFORMATION KEY_FULL_INFORMATION
 
typedef struct _KEY_FULL_INFORMATIONPKEY_FULL_INFORMATION
 
typedef enum _KEY_INFORMATION_CLASS KEY_INFORMATION_CLASS
 
typedef struct _KEY_WRITE_TIME_INFORMATION KEY_WRITE_TIME_INFORMATION
 
typedef struct _KEY_WRITE_TIME_INFORMATIONPKEY_WRITE_TIME_INFORMATION
 
typedef enum _KEY_SET_INFORMATION_CLASS KEY_SET_INFORMATION_CLASS
 
typedef struct _KEY_VALUE_BASIC_INFORMATION KEY_VALUE_BASIC_INFORMATION
 
typedef struct _KEY_VALUE_BASIC_INFORMATIONPKEY_VALUE_BASIC_INFORMATION
 
typedef struct _KEY_VALUE_FULL_INFORMATION KEY_VALUE_FULL_INFORMATION
 
typedef struct _KEY_VALUE_FULL_INFORMATIONPKEY_VALUE_FULL_INFORMATION
 
typedef struct _KEY_VALUE_PARTIAL_INFORMATION KEY_VALUE_PARTIAL_INFORMATION
 
typedef struct _KEY_VALUE_PARTIAL_INFORMATIONPKEY_VALUE_PARTIAL_INFORMATION
 
typedef struct _KEY_VALUE_ENTRY KEY_VALUE_ENTRY
 
typedef struct _KEY_VALUE_ENTRYPKEY_VALUE_ENTRY
 
typedef enum _KEY_VALUE_INFORMATION_CLASS KEY_VALUE_INFORMATION_CLASS
 
typedef struct _OBJECT_NAME_INFORMATION OBJECT_NAME_INFORMATION
 
typedef struct _OBJECT_NAME_INFORMATIONPOBJECT_NAME_INFORMATION
 
typedef enum _SECTION_INHERIT SECTION_INHERIT
 
typedef struct _CLIENT_ID CLIENT_ID
 
typedef CLIENT_IDPCLIENT_ID
 
typedef struct _FLOATING_SAVE_AREA FLOATING_SAVE_AREA
 
typedef FLOATING_SAVE_AREAPFLOATING_SAVE_AREA
 
typedef struct _CONTEXT CONTEXT
 
typedef CONTEXTPCONTEXT
 
typedef struct ENVIRONMENT_INFORMATIONPENVIRONMENT_INFORMATION
 
typedef struct STARTUP_ARGUMENTPSTARTUP_ARGUMENT
 
typedef struct RTL_HEAP_DEFINITIONPRTL_HEAP_DEFINITION
 
typedef VOID(* PKSTART_ROUTINE) (IN PVOID StartContext)
 
typedef struct StackInfo_t STACKINFO
 
typedef struct StackInfo_tPSTACKINFO
 
typedef NTSTATUS(* PRTL_HEAP_COMMIT_ROUTINE) (IN PVOID Base, IN OUT PVOID *CommitAddress, IN OUT PULONG CommitSize)
 
typedef struct _RTL_HEAP_PARAMETERS RTL_HEAP_PARAMETERS
 
typedef struct _RTL_HEAP_PARAMETERSPRTL_HEAP_PARAMETERS
 

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  _FSINFOCLASS {
  FileFsVolumeInformation = 1, FileFsLabelInformation, FileFsSizeInformation, FileFsDeviceInformation,
  FileFsAttributeInformation, FileFsControlInformation, FileFsFullSizeInformation, FileFsObjectIdInformation,
  FileFsDriverPathInformation, FileFsVolumeFlagsInformation, FileFsMaximumInformation, FileFsVolumeInformation = 1,
  FileFsLabelInformation, FileFsSizeInformation, FileFsDeviceInformation, FileFsAttributeInformation,
  FileFsControlInformation, FileFsQuotaQueryInformation, FileFsQuotaSetInformation, FileFsMaximumInformation,
  FileFsVolumeInformation = 1, FileFsLabelInformation, FileFsSizeInformation, FileFsDeviceInformation,
  FileFsAttributeInformation, FileFsControlInformation, FileFsFullSizeInformation, FileFsObjectIdInformation,
  FileFsDriverPathInformation, FileFsMaximumInformation, FileFsVolumeInformation = 1, FileFsLabelInformation,
  FileFsSizeInformation, FileFsDeviceInformation, FileFsAttributeInformation, FileFsControlInformation,
  FileFsFullSizeInformation, FileFsObjectIdInformation, FileFsMaximumInformation, FileFsVolumeInformation = 1,
  FileFsLabelInformation, FileFsSizeInformation, FileFsDeviceInformation, FileFsAttributeInformation,
  FileFsControlInformation, FileFsFullSizeInformation, FileFsObjectIdInformation, FileFsDriverPathInformation,
  FileFsVolumeFlagsInformation, FileFsMaximumInformation
}
 
enum  _KEY_INFORMATION_CLASS {
  KeyBasicInformation, KeyNodeInformation, KeyFullInformation, KeyBasicInformation,
  KeyNodeInformation, KeyFullInformation, KeyNameInformation, KeyCachedInformation,
  KeyFlagsInformation, KeyVirtualizationInformation, KeyHandleTagsInformation, MaxKeyInfoClass,
  KeyBasicInformation, KeyNodeInformation, KeyFullInformation, KeyNameInformation,
  KeyCachedInformation, KeyFlagsInformation, KeyVirtualizationInformation, KeyHandleTagsInformation,
  MaxKeyInfoClass
}
 
enum  _KEY_SET_INFORMATION_CLASS {
  KeyWriteTimeInformation, KeyWriteTimeInformation, KeyWow64FlagsInformation, KeyControlFlagsInformation,
  KeySetVirtualizationInformation, KeySetDebugInformation, KeySetHandleTagsInformation, MaxKeySetInfoClass,
  KeyWriteTimeInformation, KeyWow64FlagsInformation, KeyControlFlagsInformation, KeySetVirtualizationInformation,
  KeySetDebugInformation, KeySetHandleTagsInformation, MaxKeySetInfoClass
}
 
enum  _KEY_VALUE_INFORMATION_CLASS {
  KeyValueBasicInformation, KeyValueFullInformation, KeyValuePartialInformation, KeyValueBasicInformation,
  KeyValueFullInformation, KeyValuePartialInformation, KeyValueFullInformationAlign64, KeyValuePartialInformationAlign64,
  KeyValueBasicInformation, KeyValueFullInformation, KeyValuePartialInformation, KeyValueFullInformationAlign64,
  KeyValuePartialInformationAlign64, KeyValueBasicInformation, KeyValueFullInformation, KeyValuePartialInformation,
  KeyValueFullInformationAlign64, KeyValuePartialInformationAlign64
}
 
enum  _SECTION_INHERIT {
  ViewShare = 1, ViewUnmap = 2, ViewShare = 1, ViewUnmap = 2,
  ViewShare = 1, ViewUnmap = 2
}
 

Functions

NTSYSAPI NTSTATUS NTAPI RtlCharToInteger (PCSZ String, ULONG Base, PULONG Value)
 
NTSYSAPI NTSTATUS NTAPI RtlIntegerToUnicodeString (ULONG Value, ULONG Base, PUNICODE_STRING String)
 
NTSYSAPI NTSTATUS NTAPI RtlUnicodeStringToInteger (PUNICODE_STRING String, ULONG Base, PULONG Value)
 
NTSYSAPI VOID NTAPI RtlInitString (PSTRING DestinationString, PCSZ SourceString)
 
NTSYSAPI VOID NTAPI RtlInitAnsiString (PANSI_STRING DestinationString, PCSZ SourceString)
 
NTSYSAPI VOID NTAPI RtlInitUnicodeString (PUNICODE_STRING DestinationString, PCWSTR SourceString)
 
NTSYSAPI VOID NTAPI RtlCopyString (PSTRING DestinationString, PSTRING SourceString)
 
NTSYSAPI CHAR NTAPI RtlUpperChar (CHAR Character)
 
NTSYSAPI LONG NTAPI RtlCompareString (PSTRING String1, PSTRING String2, BOOLEAN CaseInSensitive)
 
NTSYSAPI BOOLEAN NTAPI RtlEqualString (PSTRING String1, PSTRING String2, BOOLEAN CaseInSensitive)
 
NTSYSAPI VOID NTAPI RtlUpperString (PSTRING DestinationString, PSTRING SourceString)
 
NTSYSAPI NTSTATUS NTAPI RtlAnsiStringToUnicodeString (PUNICODE_STRING DestinationString, PANSI_STRING SourceString, BOOLEAN AllocateDestinationString)
 
NTSYSAPI NTSTATUS NTAPI RtlUnicodeStringToAnsiString (PANSI_STRING DestinationString, PUNICODE_STRING SourceString, BOOLEAN AllocateDestinationString)
 
NTSYSAPI LONG NTAPI RtlCompareUnicodeString (PUNICODE_STRING String1, PUNICODE_STRING String2, BOOLEAN CaseInSensitive)
 
NTSYSAPI BOOLEAN NTAPI RtlEqualUnicodeString (PUNICODE_STRING String1, PUNICODE_STRING String2, BOOLEAN CaseInSensitive)
 
NTSYSAPI BOOLEAN NTAPI RtlPrefixUnicodeString (IN PUNICODE_STRING String1, IN PUNICODE_STRING String2, IN BOOLEAN CaseInSensitive)
 
NTSYSAPI NTSTATUS NTAPI RtlUpcaseUnicodeString (PUNICODE_STRING DestinationString, PUNICODE_STRING SourceString, BOOLEAN AllocateDestinationString)
 
NTSYSAPI VOID NTAPI RtlCopyUnicodeString (PUNICODE_STRING DestinationString, PUNICODE_STRING SourceString)
 
NTSYSAPI NTSTATUS NTAPI RtlAppendUnicodeStringToString (PUNICODE_STRING Destination, PUNICODE_STRING Source)
 
NTSYSAPI NTSTATUS NTAPI RtlAppendUnicodeToString (PUNICODE_STRING Destination, PWSTR Source)
 
NTSYSAPI VOID NTAPI RtlFreeUnicodeString (PUNICODE_STRING UnicodeString)
 
NTSYSAPI VOID NTAPI RtlFreeAnsiString (PANSI_STRING AnsiString)
 
NTSYSAPI ULONG NTAPI RtlxAnsiStringToUnicodeSize (PANSI_STRING AnsiString)
 
NTSYSAPI ULONG NTAPI RtlEqualMemory (CONST VOID *Source1, CONST VOID *Source2, ULONG Length)
 
NTSYSAPI VOID NTAPI RtlCopyMemory (VOID UNALIGNED *Destination, CONST VOID UNALIGNED *Source, ULONG Length)
 
NTSYSAPI VOID NTAPI RtlCopyMemory32 (VOID UNALIGNED *Destination, CONST VOID UNALIGNED *Source, ULONG Length)
 
NTSYSAPI VOID NTAPI RtlMoveMemory (VOID UNALIGNED *Destination, CONST VOID UNALIGNED *Source, ULONG Length)
 
NTSYSAPI VOID NTAPI RtlFillMemory (VOID UNALIGNED *Destination, ULONG Length, UCHAR Fill)
 
NTSYSAPI VOID NTAPI RtlZeroMemory (VOID UNALIGNED *Destination, ULONG Length)
 
NTSYSAPI ULONG NTAPI RtlCompareMemory (PVOID Source1, PVOID Source2, ULONG Length)
 
NTSYSAPI VOID NTAPI RtlTimeToTimeFields (PLARGE_INTEGER Time, PTIME_FIELDS TimeFields)
 
NTSYSAPI BOOLEAN NTAPI RtlTimeFieldsToTime (PTIME_FIELDS TimeFields, PLARGE_INTEGER Time)
 
NTSYSAPI NTSTATUS NTAPI NtEnumerateKey (IN HANDLE KeyHandle, IN ULONG Index, IN KEY_INFORMATION_CLASS KeyInformationClass, IN PVOID KeyInformation, IN ULONG Length, IN PULONG ResultLength)
 
NTSYSAPI NTSTATUS NTAPI NtOpenKey (OUT PHANDLE KeyHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes)
 
NTSYSAPI NTSTATUS NTAPI NtQueryValueKey (IN HANDLE KeyHandle, IN PUNICODE_STRING ValueName, IN KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass, IN PVOID KeyValueInformation, IN ULONG Length, IN PULONG ResultLength)
 
NTSYSAPI NTSTATUS NTAPI NtSetValueKey (IN HANDLE KeyHandle, IN PUNICODE_STRING ValueName, IN ULONG TitleIndex OPTIONAL, IN ULONG Type, IN PVOID Data, IN ULONG DataSize)
 
NTSYSAPI NTSTATUS NTAPI NtDeleteValueKey (IN HANDLE KeyHandle, IN PUNICODE_STRING ValueName)
 
NTSTATUS NTAPI NtDisplayString (PUNICODE_STRING String)
 
NTSTATUS NTAPI NtTerminateProcess (HANDLE ProcessHandle, LONG ExitStatus)
 
NTSYSAPI NTSTATUS NTAPI NtCreateThread (OUT PHANDLE phThread, IN ACCESS_MASK AccessMask, IN POBJECT_ATTRIBUTES ObjectAttributes, IN HANDLE hProcess, OUT PCLIENT_ID pClientId, IN PCONTEXT pContext, OUT PSTACKINFO pStackInfo, IN BOOLEAN bSuspended)
 
NTSTATUS NtTerminateThread (IN HANDLE ThreadHandle OPTIONAL, IN NTSTATUS ExitStatus)
 
NTSYSAPI PVOID NTAPI RtlCreateHeap (IN ULONG Flags, IN PVOID HeapBase OPTIONAL, IN ULONG ReserveSize OPTIONAL, IN ULONG CommitSize OPTIONAL, IN PVOID Lock OPTIONAL, IN PRTL_HEAP_PARAMETERS Parameters OPTIONAL)
 
NTSYSAPI PVOID NTAPI RtlDestroyHeap (IN PVOID HeapHandle)
 
PVOID NTAPI RtlAllocateHeap (HANDLE Heap, ULONG Flags, ULONG Size)
 
BOOLEAN NTAPI RtlFreeHeap (HANDLE Heap, ULONG Flags, PVOID Address)
 
NTSTATUS NTAPI NtCreateFile (OUT PHANDLE FileHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes, OUT PIO_STATUS_BLOCK IoStatusBlock, IN PLARGE_INTEGER AllocationSize OPTIONAL, IN ULONG FileAttributes, IN ULONG ShareAccess, IN ULONG CreateDisposition, IN ULONG CreateOptions, IN PVOID EaBuffer OPTIONAL, IN ULONG EaLength)
 
NTSYSAPI NTSTATUS NTAPI NtOpenFile (OUT PHANDLE phFile, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes, OUT PIO_STATUS_BLOCK pIoStatusBlock, IN ULONG ShareMode, IN ULONG OpenMode)
 
NTSYSAPI NTSTATUS NTAPI NtDeviceIoControlFile (IN HANDLE hFile, IN HANDLE hEvent OPTIONAL, IN PIO_APC_ROUTINE IoApcRoutine OPTIONAL, IN PVOID IoApcContext OPTIONAL, OUT PIO_STATUS_BLOCK pIoStatusBlock, IN ULONG DeviceIoControlCode, IN PVOID InBuffer OPTIONAL, IN ULONG InBufferLength, OUT PVOID OutBuffer OPTIONAL, IN ULONG OutBufferLength)
 
NTSYSAPI NTSTATUS NTAPI NtFsControlFile (IN HANDLE hFile, IN HANDLE hEvent OPTIONAL, IN PIO_APC_ROUTINE IoApcRoutine OPTIONAL, IN PVOID IoApcContext OPTIONAL, OUT PIO_STATUS_BLOCK pIoStatusBlock, IN ULONG DeviceIoControlCode, IN PVOID InBuffer OPTIONAL, IN ULONG InBufferLength, OUT PVOID OutBuffer OPTIONAL, IN ULONG OutBufferLength)
 
NTSYSAPI NTSTATUS NTAPI NtReadFile (IN HANDLE hFile, IN HANDLE hEvent OPTIONAL, IN PIO_APC_ROUTINE IoApcRoutine OPTIONAL, IN PVOID IoApcContext OPTIONAL, OUT PIO_STATUS_BLOCK pIoStatusBlock, OUT PVOID ReadBuffer, IN ULONG ReadBufferLength, IN PLARGE_INTEGER FileOffset OPTIONAL, IN PULONG LockOperationKey)
 
NTSYSAPI NTSTATUS NTAPI NtWriteFile (IN HANDLE hFile, IN HANDLE hEvent OPTIONAL, IN PIO_APC_ROUTINE IoApcRoutine OPTIONAL, IN PVOID IoApcContext OPTIONAL, OUT PIO_STATUS_BLOCK pIoStatusBlock, IN PVOID WriteBuffer, IN ULONG WriteBufferLength, IN PLARGE_INTEGER FileOffset OPTIONAL, IN PULONG LockOperationKey OPTIONAL)
 
NTSYSAPI NTSTATUS NTAPI NtQueryInformationFile (IN HANDLE hFile, OUT PIO_STATUS_BLOCK pIoStatusBlock, OUT PVOID FileInformationBuffer, IN ULONG FileInformationBufferLength, IN FILE_INFORMATION_CLASS FileInfoClass)
 
NTSYSAPI NTSTATUS NTAPI NtSetInformationFile (IN HANDLE hFile, OUT PIO_STATUS_BLOCK pIoStatusBlock, IN PVOID FileInformationBuffer, IN ULONG FileInformationBufferLength, IN FILE_INFORMATION_CLASS FileInfoClass)
 
NTSTATUS NTAPI NtClose (IN HANDLE Handle)
 
NTSYSAPI NTSTATUS NTAPI NtWaitForSingleObject (IN HANDLE hObject, IN BOOLEAN bAlertable, IN PLARGE_INTEGER Timeout)
 
NTSTATUS NTAPI NtDelayExecution (IN BOOLEAN Alertable, IN PLARGE_INTEGER DelayInterval)
 

Variables

BOOLEAN NLS_MB_CODE_PAGE_TAG
 
BOOLEAN NLS_MB_OEM_CODE_PAGE_TAG
 

Macro Definition Documentation

◆ _FILESYSTEMFSCTL_

#define _FILESYSTEMFSCTL_

Definition at line 816 of file nt_native.h.

◆ ACCESS_SYSTEM_SECURITY

#define ACCESS_SYSTEM_SECURITY   (0x01000000L)

Definition at line 77 of file nt_native.h.

◆ APIENTRY

#define APIENTRY   __stdcall

Definition at line 48 of file nt_native.h.

◆ ASSERT

#define ASSERT (   exp)

Definition at line 430 of file nt_native.h.

◆ ASSERTMSG

#define ASSERTMSG (   msg,
  exp 
)

Definition at line 431 of file nt_native.h.

◆ BOOL

static BOOL   BOOLEAN

Definition at line 43 of file nt_native.h.

Referenced by _HandlePortExists(), AccessCheckAndAuditAlarmA(), AccessCheckAndAuditAlarmW(), ApplicationPage_OnSwitchTo(), CertSaveStore(), CheckListWndProc(), cmd_mklink(), CommandMemory(), create_printer_dc(), CRYPT_AsnDecodeBasicConstraints2(), CRYPT_AsnDecodeBool(), CRYPT_AsnDecodeExtension(), CRYPT_AsnDecodeIssuingDistPoint(), d3dx_set_shader_const_state(), DECLARE_INTERFACE_(), DirList(), DPLAYX_PrivHeapAlloc(), EDIT_CheckCombo(), EDIT_WindowProc(), EditGlyphEditWndProc(), EditGlyphPreviewWndProc(), FilterAudioMuteHandler(), FilterAudioVolumeHandler(), GetFileNameFromBrowse(), GetFileNamePreview(), GetSecurityDescriptorDacl(), GetSecurityDescriptorGroup(), GetSecurityDescriptorOwner(), GetSecurityDescriptorSacl(), IntGdiGetFontResourceInfo(), IntGetIcdData(), IntGrayString(), IntInitializeImmEntryTable(), is_process_limited(), LoadNotificationDll(), MACRO_CallBoolFunc(), ME_HandleMessage(), MonitorSelWndProc(), NpGetUserNamep(), NtUserCallOneParam(), NtUserCallTwoParam(), NtUserGetClassInfo(), CTrayClockWnd::OnGetMinimumSize(), CTrayNotifyWnd::OnGetMinimumSize(), PlaySoundRoutine(), PropertyHandler_OnOff(), query_init(), ReadSettings(), SetDefaultCommConfigW(), SpecialFolderFSPath::SpecialFolderFSPath(), SQLConfigDriver(), SQLConfigDriverW(), START_TEST(), test_GetScrollBarInfo(), test_I_UpdateStore(), test_Input_unicode(), test_normal_imports(), Test_OneParamRoutine_SwapMouseButtons(), test_timer(), ui_init(), use_common(), VfdIsValidPlatform(), NotifyArea::WndProc(), WNetDisconnectDialog(), WSPGetSockOpt(), and WSPIoctl().

◆ CONTEXT_CONTROL

#define CONTEXT_CONTROL   (CONTEXT_i386 | 0x00000001L)

Definition at line 1369 of file nt_native.h.

◆ CONTEXT_DEBUG_REGISTERS

#define CONTEXT_DEBUG_REGISTERS   (CONTEXT_i386 | 0x00000010L)

Definition at line 1373 of file nt_native.h.

◆ CONTEXT_FLOATING_POINT

#define CONTEXT_FLOATING_POINT   (CONTEXT_i386 | 0x00000008L)

Definition at line 1372 of file nt_native.h.

◆ CONTEXT_FULL

#define CONTEXT_FULL
Value:
CONTEXT_SEGMENTS)
#define CONTEXT_CONTROL
Definition: nt_native.h:1369
#define CONTEXT_INTEGER
Definition: nt_native.h:1370

Definition at line 1375 of file nt_native.h.

◆ CONTEXT_i386

#define CONTEXT_i386   0x00010000

Definition at line 1364 of file nt_native.h.

◆ CONTEXT_i486

#define CONTEXT_i486   0x00010000

Definition at line 1365 of file nt_native.h.

◆ CONTEXT_INTEGER

#define CONTEXT_INTEGER   (CONTEXT_i386 | 0x00000002L)

Definition at line 1370 of file nt_native.h.

◆ CONTEXT_SEGMENTS

#define CONTEXT_SEGMENTS   (CONTEXT_i386 | 0x00000004L)

Definition at line 1371 of file nt_native.h.

◆ CTL_CODE

#define CTL_CODE (   DeviceType,
  Function,
  Method,
  Access 
)
Value:
( \
((DeviceType) << 16) | ((Access) << 14) | ((Function) << 2) | (Method) \
)
DeviceType
Definition: mmdrv.h:41
static LPOVERLAPPED_COMPLETION_ROUTINE Function
Definition: sync.c:684

Definition at line 586 of file nt_native.h.

◆ DELETE

#define DELETE   (0x00010000L)

Definition at line 57 of file nt_native.h.

◆ DEVICE_TYPE

#define DEVICE_TYPE   ULONG

Definition at line 578 of file nt_native.h.

◆ DIRECTORY_ALL_ACCESS

#define DIRECTORY_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | 0xF)

Definition at line 1259 of file nt_native.h.

◆ DIRECTORY_CREATE_OBJECT

#define DIRECTORY_CREATE_OBJECT   (0x0004)

Definition at line 1256 of file nt_native.h.

◆ DIRECTORY_CREATE_SUBDIRECTORY

#define DIRECTORY_CREATE_SUBDIRECTORY   (0x0008)

Definition at line 1257 of file nt_native.h.

◆ DIRECTORY_QUERY

#define DIRECTORY_QUERY   (0x0001)

Definition at line 1254 of file nt_native.h.

◆ DIRECTORY_TRAVERSE

#define DIRECTORY_TRAVERSE   (0x0002)

Definition at line 1255 of file nt_native.h.

◆ DWORD

static DWORD   ULONG

Definition at line 44 of file nt_native.h.

Referenced by __report_error(), _ActivateCtx(), _check_custom_policy(), _DeactivateCtx(), _enumeratorRememberedW(), _GetRandomLevel(), _HandleConfigureLPTPortCommandOK(), _HandleGetTransmissionRetryTimeout(), _heapwalk(), CTrayWindow::_Init(), _InitializeLocalSpooler(), _InitializePrintProviderList(), _LocalGetJobLevel2(), _LocalGetPrinterHandleData(), _LocalGetPrintServerHandleData(), _LocalSetPrinterHandleData(), _LocalSetPrintServerHandleData(), _OpenEnvironment(), _Success_(), AccpCalcNeededAceSize(), AccpLookupCurrentUser(), AccpOpenNamedObject(), AccRewriteGetHandleRights(), AccRewriteSetHandleRights(), acmDriverPriority(), AddAceToWindowStation(), AddDesktopItemW(), KeyTranslator::AddGlobalDef(), AddItemW(), AlignRpcPtr(), AntiMonikerImpl_GetSizeMax(), ApplyParameterStringsToMessage(), AttachToConsoleInternal(), AVIFILE_AddRecord(), AVIFILE_ComputeMoviStart(), AVIFILE_ConstructAVIStream(), AVIFILE_DestructAVIStream(), AVIFILE_LoadIndex(), AVIFILE_OpenCompressor(), AVIFILE_ReadBlock(), AVIFILE_SaveFile(), AVISaveOptionsFmtChoose(), AVISplitter_ProcessOldIndex(), bInitSURF(), BiosMiscService(), BmpDecoder_ReadHeaders(), Bri_OnTrackBar(), buffer_conversion_upload(), build_systeminfo_tree(), BuildDesktopNameList(), BuildWindowStationNameList(), CComCatCachedCategory::CacheDSA(), CDevSettings_SetPruningMode(), CertGetCTLContextProperty(), CertGetStoreProperty(), CertSaveStore(), ATL::CFileTime::CFileTime(), ChangeServiceConfigA(), ChangeServiceConfigW(), check_safearray(), CheckListWndProc(), CheckSumMappedFile(), CheckTerminalDeviceType(), ClassTest(), CLEANLOCALSTORAGE_UserMarshal(), CLEANLOCALSTORAGE_UserSize(), CLEANLOCALSTORAGE_UserUnmarshal(), ClickLockProc(), ClientRpcChannelBuffer_GetBuffer(), cmd_mklink(), co_IntSetWindowLongPtr(), COMBOEX_NCCreate(), CommConfigDialogW(), CompositeMonikerImpl_GetSizeMax(), ComputeConformanceOrVariance(), Cont_OnTrackBar(), convert_nfs4acl_2_dacl(), convert_to_wined3d_declaration(), convertHexToDWord(), ConvExecute(), ConWrite(), CopyCompClauseIMEtoClient(), CPlApplet(), create_activex_object(), create_connection_settings(), create_DataFormat(), create_object(), create_script(), CreateGroupListRoutine(), CreateGroupOrderListRoutine(), CreateInternalDeviceData(), CreateJunction(), CreateNewValue(), CreateServiceA(), CreateServiceListEntry(), CreateServiceW(), CreateTimeZoneList(), CRYPT_AsnDecodeCertInfo(), CRYPT_AsnDecodeCMSSignedInfo(), CRYPT_AsnDecodeCMSSignerInfoInternal(), CRYPT_AsnDecodeCRLInfo(), CRYPT_AsnDecodeCTL(), CRYPT_AsnDecodePKCSDigestedData(), CRYPT_AsnDecodePKCSEnvelopedData(), CRYPT_AsnDecodePKCSSignerInfoInternal(), CRYPT_AsnDecodeRecipientInfo(), CRYPT_AsnDecodeRsaPrivKey(), CRYPT_AsnDecodeRsaPubKey(), CRYPT_AsnDecodeSubtree(), CURSORICON_GetCursorDataFromANI(), d3dcompiler_parse_rdef(), d3dcompiler_parse_signature(), d3dx9_base_effect_set_vector(), D3DXCreatePolygon(), D3DXGetFVFVertexSize(), D3DXGetImageInfoFromFileInMemory(), D3DXLoadSurfaceFromMemory(), DdCreateSurface(), DECLARE_INTERFACE_(), DefineDosDeviceW(), DEVENUM_IPropertyBag_Write(), DEVENUM_ReadPins(), dialog_proc(), DIB_32BPP_BitBltSrcCopy(), DIB_32BPP_HLine(), DIB_32BPP_VLine(), DirectDrawEnumerateExA(), DirList(), DispatchSAS(), DisplayClassInstaller(), DisplayDeviceAdvancedProperties(), DisplayDlgProc(), DisplayOnInit(), DPL_CreateCompoundAddress(), draw_graphics(), DSOUND_bufpos_to_secpos(), DSOUND_PrimaryClose(), DSOUND_secpos_to_bufpos(), dump_system_info(), dword_data_state(), EditProc(), EditVariableDlgProc(), elem_wire_size(), CBandSiteBase::EnumBands(), CBaseBarSite::EnumBands(), EnumClientServiceProtocol(), EnumerateNt4ServiceSoundDevices(), EnumEventsThread(), enumFontProc(), EnumInstalledApplications(), EnumNamesW(), EnumProcesses(), ExecuteKill(), ExitWindowsDialog(), export_private_key_impl(), export_public_key_impl(), f_lseek(), f_mkfs(), FGetComponentPath(), FileAsyncReader_Length(), FileAsyncReader_Request(), FileAsyncReader_SyncRead(), FileExtractDialogWndProc(), FileTypesDlg_InitListView(), fill_attribute_table(), FillResolutionsAndColors(), FindContextAlias(), FM2_ReadFilterData(), FM2_WriteFilterData(), FNREAD(), FNWRITE(), format_from_vec4(), FTMarshalImpl_GetMarshalSizeMax(), GdiProcessSetup(), Get(), get_element_size(), get_flexible_vertex_size(), get_http_status_code(), get_stgdef(), BtrfsContextMenu::get_uac_icon(), get_url_encoding(), GetAdaptersInfo(), GetCalendarInfoW(), GetComputerNameA(), GetCurrentDPI(), GetCurrentHwProfileW(), GetDefaultCommConfigW(), GetDefaultPrinterFromRegistry(), GetDefaultPrinterW(), GetDeletedFileDetailsW(), GetDIBPixel(), GetDriverName(), GetExitCodeProcess(), GetFileInformationByHandle(), gethmsfromlargeint(), GetOwnerModuleFromTagEntry(), GetParallelPortNumber(), GetProcessAffinityMask(), GetProfile(), GetProfiles(), GetSerialPortNumber(), GetServiceInstanceList(), GetServiceInstanceListSize(), CSysTray::GetServicesEnabled(), GetSetupType(), CQueryAssociations::GetString(), GetUserWaitInterval(), GlobalMemoryStatusEx(), HardProfDlgProc(), HCR_GetFolderAttributes(), HEXEDIT_Copy(), HEXEDIT_IndexFromPoint(), HEXEDIT_Paste(), HH_AddToolbar(), CMainToolbar::HideButtonCaption(), HttpProtocol_start_downloading(), HTTPREQ_QueryOption(), HTTPSESSION_QueryOption(), i386_fetch_context_reg(), i386_stack_walk(), I_CryptReadTrustedPublisherDWORDValueFromRegistry(), IAssemblyNameImpl_GetProperty(), IAVIFile_fnEndRecord(), IAVIStream_fnFindSample(), IAVIStream_fnSetFormat(), IAVIStream_fnWriteData(), ICImageDecompress(), ICOpenFunction(), IDirectSoundCaptureBufferImpl_GetCurrentPosition(), IEWinMain(), IKsControlImpl_KsProperty(), ImmTranslateMessage(), InitDisplayDriver(), CNetConnectionPropertyUi::InitializeLANPropertiesUIDlg(), InitializePrinterList(), InitializePrintMonitor2(), InitializePrintMonitorList(), InitializePrintProcessorList(), InitializeRecycleBinDlg(), InitOurDirectory(), InputProcessorProfiles_IsEnabledLanguageProfile(), InstallDevice(), Int_EnumDependentServicesW(), IntCheckMenuItem(), interface_variant_marshal(), interface_variant_unmarshal(), IntGdiGetFontResourceInfo(), IntGetIcdData(), IntGetUnderlineState(), IntGetWindowContextHelpId(), IntInitializeImmEntryTable(), IntSetAconData(), IPersistStream_fnGetSizeMax(), is_ie_hardened(), is_process_limited(), IsNamespaceExtensionHidden(), ItemMonikerImpl_GetSizeMax(), ITERATE_FindRelatedProducts(), l_audio_arrival(), ld_clust(), lineGetCountryA(), lineGetCountryW(), lineGetTranslateCapsA(), CSettings::Load(), load_emf(), load_mapping_settings(), load_mesh_data(), load_registry_settings(), LoadDataFromRegistry(), LoadDNSSettings(), LoadFilterSettings(), LoadInitialCursorScheme(), LoadLocalizedResourcesFromINI(), LoadNotificationDll(), LoadRecoveryOptions(), LoadSettings(), LoadWinTypeFromCHM(), LocalEnumPrintProcessors(), LocalGetPrintProcessorDirectory(), LPK_ApplyMirroring(), Main_DirectDraw_GetFourCCCodes(), MainWndProc(), MainWndToolbarDockBand(), MakeSharedPacket(), map_nfs4ace_who(), marshal_nfs41_easet(), marshal_nfs41_mount(), marshal_nfs41_open(), marshal_STGMEDIUM(), marshal_WdtpInterfacePointer(), MCI_DumpCommandTable(), MCI_GetReturnType(), MCI_IsCommandTableValid(), MCI_ParseOptArgs(), MCI_SetCommandTable(), MENU_DrawMenuItem(), MENUEX_ParseResource(), MIDI_ConvertPulseToMS(), MIDI_player(), mix24(), mmioCreateChunk(), mmioDescend(), mmioDosIOProc(), MonikerMarshal_GetMarshalSizeMax(), mono_assembly_search_hook_fn(), MonSelCancelDragging(), MonthCalReload(), MouseOnApply(), MouseOnDialogInit(), MPEG3_StreamSize(), MsiSIPGetSignedDataMsg(), mswBufferAppendBlob_Hostent(), mswBufferAppendBlob_Servent(), NdrVaryingArrayBufferSize(), NdrVaryingArrayFree(), NdrVaryingArrayMarshall(), NdrVaryingArrayMemorySize(), NdrVaryingArrayUnmarshall(), NetBTWaitForNameResponse(), NetClassInstaller(), NewCtxInit(), nfs41_client_owner(), NOTEPAD_FindNext(), TaskBar::Notify(), nsChannelBSC_on_progress(), NSP_GetServiceByNameHeapAllocW(), NtUserCallHwnd(), NtUserCallHwndParamLock(), NtUserGetClipboardSequenceNumber(), NtUserSetCursorIconData(), OLEFontImpl_GetSizeMax(), OLEUTL_ReadRegistryDWORDValue(), OnBPPChanged(), OnControl(), OnDisplayDeviceChanged(), OnHScroll(), OnInitSysSettingsDialog(), OnOk(), OnSize(), OnVScroll(), OutputDebugStringA(), pack_strided_data(), parse_mesh(), parse_normals(), parse_object_members_list(), parse_skin_mesh_info(), parse_texture_coords(), parse_url_from_outside(), parse_vertex_colors(), PEN_GetObject(), PlaySoundRoutine(), PNP_HwProfFlags(), PNP_IsDockStationPresent(), PNP_RegisterNotification(), populate_size_list(), PrepareAdapterForService(), PrimaryDirectSoundBuffer_GetPosition(), PrintFileDacl(), process_vertices_strided(), ProcessList_Update(), ProcessPlayingNotes(), proxy_active(), query_init(), QUERY_REGISTRY_KEYS_ROUTINE(), QueryDWORD(), ATL::CRegKey::QueryDWORDValue(), radiobuttonlist_on_bn_clicked(), RChangeServiceConfig2A(), RChangeServiceConfigA(), RCreateServiceA(), read_properties_from_data(), ReadChmSystem(), ReadChunkIntoExtra(), ReadDisk(), ReadExtraChunk(), ReadRegDwordValue(), ReadRegistry(), receive_response(), RecycleBin5_RecycleBin5_Delete(), RecycleBin5_RecycleBin5_DeleteFile(), RecycleBin5_RecycleBin5_Restore(), RecycleBin5Enum_RecycleBinEnumList_Next(), RecycleBin5File_RecycleBinFile_GetFileName(), RecycleBinDlg(), RefreshTreeItem(), reg_cb64to32(), registry_read_previewpages(), RelocateSection(), request_query_option(), RGetServiceDisplayNameA(), RGetServiceDisplayNameW(), RGetServiceKeyNameA(), RGetServiceKeyNameW(), riff_find_chunk(), RQueryServiceConfig2A(), RQueryServiceConfig2W(), RQueryServiceConfigA(), RQueryServiceConfigW(), RtlQueryInformationActivationContext(), SampIsSetupRunning(), save_emf(), SaveSettings(), ScmAcquireServiceStartLock(), ScmControlService(), ScmCreateNewControlPipe(), ScmGetControlSetValues(), ScmGetSetupInProgress(), ScmIsDeleteFlagSet(), ScmQueryServiceLockStatusA(), ScmQueryServiceLockStatusW(), ScmReadDependencies(), ScmSendStartCommand(), SdbCreateDatabase(), SeekDisk(), ServerRpcChannelBuffer_GetBuffer(), service_main(), ServicesPageWndProc(), session_query_option(), SetClassLongA(), SetConvertStg(), SetDefaultCommConfigW(), SetDefaultPrinterW(), SetDIBitsToDeviceFromClipboard(), SetInstallationCompleted(), SetLocalTimeZone(), SetProcSpeed(), ATL::CFileTime::SetTime(), SettingsPageProc(), SETUP_CreateInterfaceList(), SETUPAPI_GetCurrentHwProfile(), SetupDiChangeState(), SetupDiGetClassDescriptionExA(), SetupDiGetDriverInfoDetailA(), SetupIsActive(), SetVolumeCallback(), SHELL_FS_HideExtension(), SHGetSettings(), ShowAppList(), CMainToolbar::ShowButtonCaption(), size_hlink_string(), SlWriteBytecode(), SockLoadHelperDll(), SOFTPUB_HashPEFile(), SoundPageProc(), START_TEST(), StartRecDlgProc(), StartupPageWndProc(), StatisticsMain(), STGMEDIUM_UserMarshal(), STGMEDIUM_UserSize(), STGMEDIUM_UserUnmarshal(), StopWatchAFORWARD(), StopWatchWFORWARD(), StorageImpl_LoadFileHeader(), StoreDriveSettings(), StrAryCpyHeapAllocA(), StrAryCpyHeapAllocWToA(), symt_array_count(), symt_fill_sym_info(), SystemClockAdviseThread(), tapiGetLocationInfoW(), taskdialog_callback_proc_timer(), test_AutoOpenWAVE(), test_brush_pens(), test_CryptInstallOssGlobal(), test_cryptTls(), test_dc_layout(), test_freethreadedmarshaldata(), Test_GetFourCCCodes(), test_GetModuleInformation(), test_heap(), test_I_UpdateStore(), test_marshal_HENHMETAFILE(), test_marshal_HGLOBAL(), test_marshal_HMETAFILE(), test_marshal_HMETAFILEPICT(), test_marshal_LPSAFEARRAY(), test_mmioSeek(), test_no_compat(), test_openCloseWAVE(), Test_PrivateData(), test_ps_userstyle(), test_region_data(), test_streamonhglobal(), test_Texture(), test_Timeouts(), test_utils(), test_with_compat(), TestMyEventProvider(), ToolsPageWndProc(), UndoAlignRpcPtr(), unmarshal_nfs41_getacl(), unmarshal_nfs41_mount(), unmarshal_nfs41_open(), unmarshal_ORPC_EXTENT_ARRAY(), unmarshal_ORPCTHAT(), unmarshal_ORPCTHIS(), UpdatePrefDlgControls(), UrlMkGetSessionOption(), use_common(), USER32_LoadResource(), VerifyObjectOwner(), VgaHorizontalRetrace(), VgaRefreshDisplay(), VgaUpdateTextCursor(), ViewTree_GetItem(), ViewTree_LoadAll(), ViewTree_LoadTree(), WdmAudGetWavePositionByLegacy(), WdtpInterfacePointer_UserMarshal(), WdtpInterfacePointer_UserSize(), WdtpInterfacePointer_UserUnmarshal(), WhichPlatformFORWARD(), wined3d_format_convert_from_float(), WineFile_OnRun(), WinHttpGetIEProxyConfigForCurrentUser(), WinHttpSetDefaultProxyConfiguration(), WinMain(), WintrustGetRegPolicyFlags(), NotifyArea::WndProc(), write_element(), WriteDisk(), WriteExtraChunk(), WriteStartupRecoveryOptions(), WSAStringToAddressA(), WSHGetWinsockMapping(), WshShell3_RegWrite(), WsNcEntryInitializeFromRegistry(), WsNcOpen(), WsNcRefreshFromRegistry(), WSPGetSockOpt(), WsSetupCatalogProtection(), WsTcOpen(), WsTcRefreshFromRegistry(), and WTSQuerySessionInformationW().

◆ FASTCALL

#define FASTCALL   _fastcall

Definition at line 50 of file nt_native.h.

◆ FILE_128_BYTE_ALIGNMENT

#define FILE_128_BYTE_ALIGNMENT   0x0000007f

Definition at line 793 of file nt_native.h.

◆ FILE_256_BYTE_ALIGNMENT

#define FILE_256_BYTE_ALIGNMENT   0x000000ff

Definition at line 794 of file nt_native.h.

◆ FILE_32_BYTE_ALIGNMENT

#define FILE_32_BYTE_ALIGNMENT   0x0000001f

Definition at line 791 of file nt_native.h.

◆ FILE_512_BYTE_ALIGNMENT

#define FILE_512_BYTE_ALIGNMENT   0x000001ff

Definition at line 795 of file nt_native.h.

◆ FILE_64_BYTE_ALIGNMENT

#define FILE_64_BYTE_ALIGNMENT   0x0000003f

Definition at line 792 of file nt_native.h.

◆ FILE_ADD_FILE

#define FILE_ADD_FILE   ( 0x0002 )

Definition at line 632 of file nt_native.h.

◆ FILE_ADD_SUBDIRECTORY

#define FILE_ADD_SUBDIRECTORY   ( 0x0004 )

Definition at line 635 of file nt_native.h.

◆ FILE_ALL_ACCESS

#define FILE_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0x1FF)

Definition at line 651 of file nt_native.h.

◆ FILE_ANY_ACCESS

#define FILE_ANY_ACCESS   0

Definition at line 609 of file nt_native.h.

◆ FILE_APPEND_DATA

#define FILE_APPEND_DATA   ( 0x0004 )

Definition at line 634 of file nt_native.h.

◆ FILE_ATTRIBUTE_ARCHIVE

#define FILE_ATTRIBUTE_ARCHIVE   0x00000020

Definition at line 706 of file nt_native.h.

◆ FILE_ATTRIBUTE_COMPRESSED

#define FILE_ATTRIBUTE_COMPRESSED   0x00000800

Definition at line 711 of file nt_native.h.

◆ FILE_ATTRIBUTE_DIRECTORY

#define FILE_ATTRIBUTE_DIRECTORY   0x00000010

Definition at line 705 of file nt_native.h.

◆ FILE_ATTRIBUTE_HIDDEN

#define FILE_ATTRIBUTE_HIDDEN   0x00000002

Definition at line 703 of file nt_native.h.

◆ FILE_ATTRIBUTE_NORMAL

#define FILE_ATTRIBUTE_NORMAL   0x00000080

Definition at line 707 of file nt_native.h.

◆ FILE_ATTRIBUTE_OFFLINE

#define FILE_ATTRIBUTE_OFFLINE   0x00001000

Definition at line 712 of file nt_native.h.

◆ FILE_ATTRIBUTE_PROPERTY_SET

#define FILE_ATTRIBUTE_PROPERTY_SET   0x00002000

Definition at line 713 of file nt_native.h.

◆ FILE_ATTRIBUTE_READONLY

#define FILE_ATTRIBUTE_READONLY   0x00000001

Definition at line 702 of file nt_native.h.

◆ FILE_ATTRIBUTE_RESERVED0

#define FILE_ATTRIBUTE_RESERVED0   0x00000200

Definition at line 709 of file nt_native.h.

◆ FILE_ATTRIBUTE_RESERVED1

#define FILE_ATTRIBUTE_RESERVED1   0x00000400

Definition at line 710 of file nt_native.h.

◆ FILE_ATTRIBUTE_SYSTEM

#define FILE_ATTRIBUTE_SYSTEM   0x00000004

Definition at line 704 of file nt_native.h.

◆ FILE_ATTRIBUTE_TEMPORARY

#define FILE_ATTRIBUTE_TEMPORARY   0x00000100

Definition at line 708 of file nt_native.h.

◆ FILE_ATTRIBUTE_VALID_FLAGS

#define FILE_ATTRIBUTE_VALID_FLAGS   0x00003fb7

Definition at line 714 of file nt_native.h.

◆ FILE_ATTRIBUTE_VALID_SET_FLAGS

#define FILE_ATTRIBUTE_VALID_SET_FLAGS   0x00003fa7

Definition at line 715 of file nt_native.h.

◆ FILE_BYTE_ALIGNMENT

#define FILE_BYTE_ALIGNMENT   0x00000000

Definition at line 786 of file nt_native.h.

◆ FILE_COMPLETE_IF_OPLOCKED

#define FILE_COMPLETE_IF_OPLOCKED   0x00000100

Definition at line 744 of file nt_native.h.

◆ FILE_CREATE

#define FILE_CREATE   0x00000002

Definition at line 723 of file nt_native.h.

◆ FILE_CREATE_PIPE_INSTANCE

#define FILE_CREATE_PIPE_INSTANCE   ( 0x0004 )

Definition at line 636 of file nt_native.h.

◆ FILE_CREATE_TREE_CONNECTION

#define FILE_CREATE_TREE_CONNECTION   0x00000080

Definition at line 742 of file nt_native.h.

◆ FILE_CREATED

#define FILE_CREATED   0x00000002

Definition at line 770 of file nt_native.h.

◆ FILE_DELETE_CHILD

#define FILE_DELETE_CHILD   ( 0x0040 )

Definition at line 645 of file nt_native.h.

◆ FILE_DELETE_ON_CLOSE

#define FILE_DELETE_ON_CLOSE   0x00001000

Definition at line 749 of file nt_native.h.

◆ FILE_DEVICE_IS_MOUNTED

#define FILE_DEVICE_IS_MOUNTED   0x00000020

Definition at line 812 of file nt_native.h.

◆ FILE_DIRECTORY_FILE

#define FILE_DIRECTORY_FILE   0x00000001

Definition at line 734 of file nt_native.h.

◆ FILE_DOES_NOT_EXIST

#define FILE_DOES_NOT_EXIST   0x00000005

Definition at line 773 of file nt_native.h.

◆ FILE_EXECUTE

#define FILE_EXECUTE   ( 0x0020 )

Definition at line 642 of file nt_native.h.

◆ FILE_EXISTS

#define FILE_EXISTS   0x00000004

Definition at line 772 of file nt_native.h.

◆ FILE_FLOPPY_DISKETTE

#define FILE_FLOPPY_DISKETTE   0x00000004

Definition at line 809 of file nt_native.h.

◆ FILE_GENERIC_EXECUTE

#define FILE_GENERIC_EXECUTE
Value:
FILE_READ_ATTRIBUTES |\
FILE_EXECUTE |\
SYNCHRONIZE)
#define STANDARD_RIGHTS_EXECUTE
Definition: nt_native.h:67

Definition at line 668 of file nt_native.h.

◆ FILE_GENERIC_READ

#define FILE_GENERIC_READ
Value:
FILE_READ_DATA |\
FILE_READ_ATTRIBUTES |\
FILE_READ_EA |\
SYNCHRONIZE)
#define STANDARD_RIGHTS_READ
Definition: nt_native.h:65

Definition at line 653 of file nt_native.h.

◆ FILE_GENERIC_WRITE

#define FILE_GENERIC_WRITE
Value:
FILE_WRITE_DATA |\
FILE_WRITE_ATTRIBUTES |\
FILE_WRITE_EA |\
FILE_APPEND_DATA |\
SYNCHRONIZE)
#define STANDARD_RIGHTS_WRITE
Definition: nt_native.h:66

Definition at line 660 of file nt_native.h.

◆ FILE_LIST_DIRECTORY

#define FILE_LIST_DIRECTORY   ( 0x0001 )

Definition at line 629 of file nt_native.h.

◆ FILE_LONG_ALIGNMENT

#define FILE_LONG_ALIGNMENT   0x00000003

Definition at line 788 of file nt_native.h.

◆ FILE_MAXIMUM_DISPOSITION

#define FILE_MAXIMUM_DISPOSITION   0x00000005

Definition at line 727 of file nt_native.h.

◆ FILE_NO_COMPRESSION

#define FILE_NO_COMPRESSION   0x00008000

Definition at line 752 of file nt_native.h.

◆ FILE_NO_EA_KNOWLEDGE

#define FILE_NO_EA_KNOWLEDGE   0x00000200

Definition at line 745 of file nt_native.h.

◆ FILE_NO_INTERMEDIATE_BUFFERING

#define FILE_NO_INTERMEDIATE_BUFFERING   0x00000008

Definition at line 737 of file nt_native.h.

◆ FILE_NON_DIRECTORY_FILE

#define FILE_NON_DIRECTORY_FILE   0x00000040

Definition at line 741 of file nt_native.h.

◆ FILE_OCTA_ALIGNMENT

#define FILE_OCTA_ALIGNMENT   0x0000000f

Definition at line 790 of file nt_native.h.

◆ FILE_OPEN

#define FILE_OPEN   0x00000001

Definition at line 722 of file nt_native.h.

◆ FILE_OPEN_BY_FILE_ID

#define FILE_OPEN_BY_FILE_ID   0x00002000

Definition at line 750 of file nt_native.h.

◆ FILE_OPEN_FOR_BACKUP_INTENT

#define FILE_OPEN_FOR_BACKUP_INTENT   0x00004000

Definition at line 751 of file nt_native.h.

◆ FILE_OPEN_IF

#define FILE_OPEN_IF   0x00000003

Definition at line 724 of file nt_native.h.

◆ FILE_OPEN_OFFLINE_FILE

#define FILE_OPEN_OFFLINE_FILE   0x00400000

Definition at line 757 of file nt_native.h.

◆ FILE_OPENED

#define FILE_OPENED   0x00000001

Definition at line 769 of file nt_native.h.

◆ FILE_OVERWRITE

#define FILE_OVERWRITE   0x00000004

Definition at line 725 of file nt_native.h.

◆ FILE_OVERWRITE_IF

#define FILE_OVERWRITE_IF   0x00000005

Definition at line 726 of file nt_native.h.

◆ FILE_OVERWRITTEN

#define FILE_OVERWRITTEN   0x00000003

Definition at line 771 of file nt_native.h.

◆ FILE_QUAD_ALIGNMENT

#define FILE_QUAD_ALIGNMENT   0x00000007

Definition at line 789 of file nt_native.h.

◆ FILE_RANDOM_ACCESS

#define FILE_RANDOM_ACCESS   0x00000800

Definition at line 747 of file nt_native.h.

◆ FILE_READ_ACCESS

#define FILE_READ_ACCESS   ( 0x0001 )

Definition at line 610 of file nt_native.h.

◆ FILE_READ_ATTRIBUTES

#define FILE_READ_ATTRIBUTES   ( 0x0080 )

Definition at line 647 of file nt_native.h.

◆ FILE_READ_DATA

#define FILE_READ_DATA   ( 0x0001 )

Definition at line 628 of file nt_native.h.

◆ FILE_READ_EA

#define FILE_READ_EA   ( 0x0008 )

Definition at line 638 of file nt_native.h.

◆ FILE_READ_ONLY_DEVICE

#define FILE_READ_ONLY_DEVICE   0x00000002

Definition at line 808 of file nt_native.h.

◆ FILE_REMOTE_DEVICE

#define FILE_REMOTE_DEVICE   0x00000010

Definition at line 811 of file nt_native.h.

◆ FILE_REMOVABLE_MEDIA

#define FILE_REMOVABLE_MEDIA   0x00000001

Definition at line 807 of file nt_native.h.

◆ FILE_RESERVE_OPFILTER

#define FILE_RESERVE_OPFILTER   0x00100000

Definition at line 755 of file nt_native.h.

◆ FILE_SEQUENTIAL_ONLY

#define FILE_SEQUENTIAL_ONLY   0x00000004

Definition at line 736 of file nt_native.h.

◆ FILE_SHARE_DELETE

#define FILE_SHARE_DELETE   0x00000004

Definition at line 682 of file nt_native.h.

◆ FILE_SHARE_READ

#define FILE_SHARE_READ   0x00000001

Definition at line 680 of file nt_native.h.

◆ FILE_SHARE_VALID_FLAGS

#define FILE_SHARE_VALID_FLAGS   0x00000007

Definition at line 683 of file nt_native.h.

◆ FILE_SHARE_WRITE

#define FILE_SHARE_WRITE   0x00000002

Definition at line 681 of file nt_native.h.

◆ FILE_SUPERSEDE

#define FILE_SUPERSEDE   0x00000000

Definition at line 721 of file nt_native.h.

◆ FILE_SUPERSEDED

#define FILE_SUPERSEDED   0x00000000

Definition at line 768 of file nt_native.h.

◆ FILE_SYNCHRONOUS_IO_ALERT

#define FILE_SYNCHRONOUS_IO_ALERT   0x00000010

Definition at line 739 of file nt_native.h.

◆ FILE_SYNCHRONOUS_IO_NONALERT

#define FILE_SYNCHRONOUS_IO_NONALERT   0x00000020

Definition at line 740 of file nt_native.h.

◆ FILE_TRANSACTED_MODE

#define FILE_TRANSACTED_MODE   0x00200000

Definition at line 756 of file nt_native.h.

◆ FILE_TRAVERSE

#define FILE_TRAVERSE   ( 0x0020 )

Definition at line 643 of file nt_native.h.

◆ FILE_USE_FILE_POINTER_POSITION

#define FILE_USE_FILE_POINTER_POSITION   0xfffffffe

Definition at line 780 of file nt_native.h.

◆ FILE_VALID_MAILSLOT_OPTION_FLAGS

#define FILE_VALID_MAILSLOT_OPTION_FLAGS   0x00000032

Definition at line 761 of file nt_native.h.

◆ FILE_VALID_OPTION_FLAGS

#define FILE_VALID_OPTION_FLAGS   0x007fffff

Definition at line 759 of file nt_native.h.

◆ FILE_VALID_PIPE_OPTION_FLAGS

#define FILE_VALID_PIPE_OPTION_FLAGS   0x00000032

Definition at line 760 of file nt_native.h.

◆ FILE_VALID_SET_FLAGS

#define FILE_VALID_SET_FLAGS   0x00000036

Definition at line 762 of file nt_native.h.

◆ FILE_VIRTUAL_VOLUME

#define FILE_VIRTUAL_VOLUME   0x00000040

Definition at line 813 of file nt_native.h.

◆ FILE_WORD_ALIGNMENT

#define FILE_WORD_ALIGNMENT   0x00000001

Definition at line 787 of file nt_native.h.

◆ FILE_WRITE_ACCESS

#define FILE_WRITE_ACCESS   ( 0x0002 )

Definition at line 611 of file nt_native.h.

◆ FILE_WRITE_ATTRIBUTES

#define FILE_WRITE_ATTRIBUTES   ( 0x0100 )

Definition at line 649 of file nt_native.h.

◆ FILE_WRITE_DATA

#define FILE_WRITE_DATA   ( 0x0002 )

Definition at line 631 of file nt_native.h.

◆ FILE_WRITE_EA

#define FILE_WRITE_EA   ( 0x0010 )

Definition at line 640 of file nt_native.h.

◆ FILE_WRITE_ONCE_MEDIA

#define FILE_WRITE_ONCE_MEDIA   0x00000008

Definition at line 810 of file nt_native.h.

◆ FILE_WRITE_THROUGH

#define FILE_WRITE_THROUGH   0x00000002

Definition at line 735 of file nt_native.h.

◆ FILE_WRITE_TO_END_OF_FILE

#define FILE_WRITE_TO_END_OF_FILE   0xffffffff

Definition at line 779 of file nt_native.h.

◆ FSCTL_DISMOUNT_VOLUME

Definition at line 834 of file nt_native.h.

◆ FSCTL_FILESYSTEM_GET_STATISTICS

#define FSCTL_FILESYSTEM_GET_STATISTICS   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 24, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 850 of file nt_native.h.

◆ FSCTL_GET_COMPRESSION

Definition at line 841 of file nt_native.h.

◆ FSCTL_INVALIDATE_VOLUMES

Definition at line 847 of file nt_native.h.

◆ FSCTL_IS_PATHNAME_VALID

Definition at line 837 of file nt_native.h.

◆ FSCTL_IS_VOLUME_MOUNTED

Definition at line 836 of file nt_native.h.

◆ FSCTL_LOCK_VOLUME

Definition at line 832 of file nt_native.h.

◆ FSCTL_MARK_AS_SYSTEM_HIVE

#define FSCTL_MARK_AS_SYSTEM_HIVE   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 19, METHOD_NEITHER, FILE_ANY_ACCESS)

Definition at line 845 of file nt_native.h.

◆ FSCTL_MARK_VOLUME_DIRTY

Definition at line 838 of file nt_native.h.

◆ FSCTL_OPBATCH_ACK_CLOSE_PENDING

#define FSCTL_OPBATCH_ACK_CLOSE_PENDING   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 830 of file nt_native.h.

◆ FSCTL_OPLOCK_BREAK_ACK_NO_2

#define FSCTL_OPLOCK_BREAK_ACK_NO_2   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 20, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 846 of file nt_native.h.

◆ FSCTL_OPLOCK_BREAK_ACKNOWLEDGE

#define FSCTL_OPLOCK_BREAK_ACKNOWLEDGE   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 829 of file nt_native.h.

◆ FSCTL_OPLOCK_BREAK_NOTIFY

Definition at line 831 of file nt_native.h.

◆ FSCTL_QUERY_FAT_BPB

Definition at line 848 of file nt_native.h.

◆ FSCTL_QUERY_RETRIEVAL_POINTERS

#define FSCTL_QUERY_RETRIEVAL_POINTERS   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 14, METHOD_NEITHER, FILE_ANY_ACCESS)

Definition at line 840 of file nt_native.h.

◆ FSCTL_REQUEST_BATCH_OPLOCK

#define FSCTL_REQUEST_BATCH_OPLOCK   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 828 of file nt_native.h.

◆ FSCTL_REQUEST_FILTER_OPLOCK

#define FSCTL_REQUEST_FILTER_OPLOCK   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 23, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 849 of file nt_native.h.

◆ FSCTL_REQUEST_OPLOCK_LEVEL_1

#define FSCTL_REQUEST_OPLOCK_LEVEL_1   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 826 of file nt_native.h.

◆ FSCTL_REQUEST_OPLOCK_LEVEL_2

#define FSCTL_REQUEST_OPLOCK_LEVEL_2   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 827 of file nt_native.h.

◆ FSCTL_SET_COMPRESSION

Definition at line 842 of file nt_native.h.

◆ FSCTL_UNLOCK_VOLUME

Definition at line 833 of file nt_native.h.

◆ GENERIC_ALL

#define GENERIC_ALL   (0x10000000L)

Definition at line 92 of file nt_native.h.

◆ GENERIC_EXECUTE

#define GENERIC_EXECUTE   (0x20000000L)

Definition at line 91 of file nt_native.h.

◆ GENERIC_READ

#define GENERIC_READ   (0x80000000L)

Definition at line 89 of file nt_native.h.

◆ GENERIC_WRITE

#define GENERIC_WRITE   (0x40000000L)

Definition at line 90 of file nt_native.h.

◆ HEAP_CLASS_0

#define HEAP_CLASS_0   0x00000000

Definition at line 1710 of file nt_native.h.

◆ HEAP_CLASS_1

#define HEAP_CLASS_1   0x00001000

Definition at line 1711 of file nt_native.h.

◆ HEAP_CLASS_2

#define HEAP_CLASS_2   0x00002000

Definition at line 1712 of file nt_native.h.

◆ HEAP_CLASS_3

#define HEAP_CLASS_3   0x00003000

Definition at line 1713 of file nt_native.h.

◆ HEAP_CLASS_4

#define HEAP_CLASS_4   0x00004000

Definition at line 1714 of file nt_native.h.

◆ HEAP_CLASS_5

#define HEAP_CLASS_5   0x00005000

Definition at line 1715 of file nt_native.h.

◆ HEAP_CLASS_6

#define HEAP_CLASS_6   0x00006000

Definition at line 1716 of file nt_native.h.

◆ HEAP_CLASS_7

#define HEAP_CLASS_7   0x00007000

Definition at line 1717 of file nt_native.h.

◆ HEAP_CLASS_8

#define HEAP_CLASS_8   0x00008000

Definition at line 1718 of file nt_native.h.

◆ HEAP_CLASS_MASK

#define HEAP_CLASS_MASK   0x0000F000

Definition at line 1719 of file nt_native.h.

◆ HEAP_CREATE_ALIGN_16

#define HEAP_CREATE_ALIGN_16   0x00010000

Definition at line 1701 of file nt_native.h.

◆ HEAP_CREATE_ENABLE_TRACING

#define HEAP_CREATE_ENABLE_TRACING   0x00020000

Definition at line 1702 of file nt_native.h.

◆ HEAP_CREATE_VALID_MASK

#define HEAP_CREATE_VALID_MASK
Value:
HEAP_GROWABLE | \
HEAP_GENERATE_EXCEPTIONS | \
HEAP_ZERO_MEMORY | \
HEAP_REALLOC_IN_PLACE_ONLY | \
HEAP_TAIL_CHECKING_ENABLED | \
HEAP_FREE_CHECKING_ENABLED | \
HEAP_DISABLE_COALESCE_ON_FREE | \
HEAP_CLASS_MASK | \
HEAP_CREATE_ALIGN_16 | \
HEAP_CREATE_ENABLE_TRACING)
#define HEAP_NO_SERIALIZE
Definition: nt_native.h:1692

Definition at line 1728 of file nt_native.h.

◆ HEAP_DISABLE_COALESCE_ON_FREE

#define HEAP_DISABLE_COALESCE_ON_FREE   0x00000080

Definition at line 1699 of file nt_native.h.

◆ HEAP_FREE_CHECKING_ENABLED

#define HEAP_FREE_CHECKING_ENABLED   0x00000040

Definition at line 1698 of file nt_native.h.

◆ HEAP_GENERATE_EXCEPTIONS

#define HEAP_GENERATE_EXCEPTIONS   0x00000004

Definition at line 1694 of file nt_native.h.

◆ HEAP_GLOBAL_TAG

#define HEAP_GLOBAL_TAG   0x0800

Definition at line 1722 of file nt_native.h.

◆ HEAP_GROWABLE

#define HEAP_GROWABLE   0x00000002

Definition at line 1693 of file nt_native.h.

◆ HEAP_MAKE_TAG_FLAGS

#define HEAP_MAKE_TAG_FLAGS (   b,
 
)    ((ULONG)((b) + ((o) << 16)))

Definition at line 1725 of file nt_native.h.

◆ HEAP_MAXIMUM_TAG

#define HEAP_MAXIMUM_TAG   0x0FFF

Definition at line 1721 of file nt_native.h.

◆ HEAP_NO_SERIALIZE

#define HEAP_NO_SERIALIZE   0x00000001

Definition at line 1692 of file nt_native.h.

◆ HEAP_PSEUDO_TAG_FLAG

#define HEAP_PSEUDO_TAG_FLAG   0x8000

Definition at line 1723 of file nt_native.h.

◆ HEAP_REALLOC_IN_PLACE_ONLY

#define HEAP_REALLOC_IN_PLACE_ONLY   0x00000010

Definition at line 1696 of file nt_native.h.

◆ HEAP_SETTABLE_USER_FLAG1

#define HEAP_SETTABLE_USER_FLAG1   0x00000200

Definition at line 1705 of file nt_native.h.

◆ HEAP_SETTABLE_USER_FLAG2

#define HEAP_SETTABLE_USER_FLAG2   0x00000400

Definition at line 1706 of file nt_native.h.

◆ HEAP_SETTABLE_USER_FLAG3

#define HEAP_SETTABLE_USER_FLAG3   0x00000800

Definition at line 1707 of file nt_native.h.

◆ HEAP_SETTABLE_USER_FLAGS

#define HEAP_SETTABLE_USER_FLAGS   0x00000E00

Definition at line 1708 of file nt_native.h.

◆ HEAP_SETTABLE_USER_VALUE

#define HEAP_SETTABLE_USER_VALUE   0x00000100

Definition at line 1704 of file nt_native.h.

◆ HEAP_TAG_MASK

#define HEAP_TAG_MASK   (HEAP_MAXIMUM_TAG << HEAP_TAG_SHIFT)

Definition at line 1726 of file nt_native.h.

◆ HEAP_TAG_SHIFT

#define HEAP_TAG_SHIFT   16

Definition at line 1724 of file nt_native.h.

◆ HEAP_TAIL_CHECKING_ENABLED

#define HEAP_TAIL_CHECKING_ENABLED   0x00000020

Definition at line 1697 of file nt_native.h.

◆ HEAP_ZERO_MEMORY

#define HEAP_ZERO_MEMORY   0x00000008

Definition at line 1695 of file nt_native.h.

◆ KEY_ALL_ACCESS

#define KEY_ALL_ACCESS
Value:
KEY_QUERY_VALUE |\
KEY_SET_VALUE |\
KEY_CREATE_SUB_KEY |\
KEY_ENUMERATE_SUB_KEYS |\
KEY_NOTIFY |\
KEY_CREATE_LINK) \
& \
#define SYNCHRONIZE
Definition: nt_native.h:61
#define STANDARD_RIGHTS_ALL
Definition: nt_native.h:69

Definition at line 1041 of file nt_native.h.

◆ KEY_CREATE_LINK

#define KEY_CREATE_LINK   (0x0020)

Definition at line 1021 of file nt_native.h.

◆ KEY_CREATE_SUB_KEY

#define KEY_CREATE_SUB_KEY   (0x0004)

Definition at line 1018 of file nt_native.h.

◆ KEY_ENUMERATE_SUB_KEYS

#define KEY_ENUMERATE_SUB_KEYS   (0x0008)

Definition at line 1019 of file nt_native.h.

◆ KEY_EXECUTE

#define KEY_EXECUTE
Value:
& \
#define KEY_READ
Definition: nt_native.h:1023
#define SYNCHRONIZE
Definition: nt_native.h:61

Definition at line 1037 of file nt_native.h.

◆ KEY_NOTIFY

#define KEY_NOTIFY   (0x0010)

Definition at line 1020 of file nt_native.h.

◆ KEY_QUERY_VALUE

#define KEY_QUERY_VALUE   (0x0001)

Definition at line 1016 of file nt_native.h.

◆ KEY_READ

#define KEY_READ
Value:
KEY_QUERY_VALUE |\
KEY_ENUMERATE_SUB_KEYS |\
KEY_NOTIFY) \
& \
#define STANDARD_RIGHTS_READ
Definition: nt_native.h:65
#define SYNCHRONIZE
Definition: nt_native.h:61

Definition at line 1023 of file nt_native.h.

◆ KEY_SET_VALUE

#define KEY_SET_VALUE   (0x0002)

Definition at line 1017 of file nt_native.h.

◆ KEY_WRITE

#define KEY_WRITE
Value:
KEY_SET_VALUE |\
KEY_CREATE_SUB_KEY) \
& \
#define STANDARD_RIGHTS_WRITE
Definition: nt_native.h:66
#define SYNCHRONIZE
Definition: nt_native.h:61

Definition at line 1031 of file nt_native.h.

◆ LPDWORD

◆ LPVOID

◆ MAXIMUM_ALLOWED

#define MAXIMUM_ALLOWED   (0x02000000L)

Definition at line 83 of file nt_native.h.

◆ MAXIMUM_FILENAME_LENGTH

#define MAXIMUM_FILENAME_LENGTH   256

Definition at line 801 of file nt_native.h.

◆ MAXIMUM_PROCESSORS

#define MAXIMUM_PROCESSORS   32

Definition at line 1328 of file nt_native.h.

◆ MEM_COMMIT

#define MEM_COMMIT   0x1000

Definition at line 1313 of file nt_native.h.

◆ MEM_DECOMMIT

#define MEM_DECOMMIT   0x4000

Definition at line 1315 of file nt_native.h.

◆ MEM_FREE

#define MEM_FREE   0x10000

Definition at line 1317 of file nt_native.h.

◆ MEM_LARGE_PAGES

#define MEM_LARGE_PAGES   0x20000000

Definition at line 1322 of file nt_native.h.

◆ MEM_MAPPED

#define MEM_MAPPED   0x40000

Definition at line 1319 of file nt_native.h.

◆ MEM_PRIVATE

#define MEM_PRIVATE   0x20000

Definition at line 1318 of file nt_native.h.

◆ MEM_RELEASE

#define MEM_RELEASE   0x8000

Definition at line 1316 of file nt_native.h.

◆ MEM_RESERVE

#define MEM_RESERVE   0x2000

Definition at line 1314 of file nt_native.h.

◆ MEM_RESET

#define MEM_RESET   0x80000

Definition at line 1320 of file nt_native.h.

◆ MEM_TOP_DOWN

#define MEM_TOP_DOWN   0x100000

Definition at line 1321 of file nt_native.h.

◆ METHOD_BUFFERED

#define METHOD_BUFFERED   0

Definition at line 594 of file nt_native.h.

◆ METHOD_IN_DIRECT

#define METHOD_IN_DIRECT   1

Definition at line 595 of file nt_native.h.

◆ METHOD_NEITHER

#define METHOD_NEITHER   3

Definition at line 597 of file nt_native.h.

◆ METHOD_OUT_DIRECT

#define METHOD_OUT_DIRECT   2

Definition at line 596 of file nt_native.h.

◆ NLS_MB_CODE_PAGE_TAG

#define NLS_MB_CODE_PAGE_TAG   (*NlsMbCodePageTag)

Definition at line 212 of file nt_native.h.

◆ NLS_MB_OEM_CODE_PAGE_TAG

#define NLS_MB_OEM_CODE_PAGE_TAG   (*NlsMbOemCodePageTag)

Definition at line 213 of file nt_native.h.

◆ NtCurrentProcess

#define NtCurrentProcess ( )    ( (HANDLE) -1 )

Definition at line 1657 of file nt_native.h.

◆ OBJ_NAME_PATH_SEPARATOR

#define OBJ_NAME_PATH_SEPARATOR   ((WCHAR)L'\\')

Definition at line 1240 of file nt_native.h.

◆ OBJECT_TYPE_ALL_ACCESS

#define OBJECT_TYPE_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | 0x1)

Definition at line 1248 of file nt_native.h.

◆ OBJECT_TYPE_CREATE

#define OBJECT_TYPE_CREATE   (0x0001)

Definition at line 1246 of file nt_native.h.

◆ PAGE_EXECUTE

#define PAGE_EXECUTE   0x10

Definition at line 1306 of file nt_native.h.

◆ PAGE_EXECUTE_READ

#define PAGE_EXECUTE_READ   0x20

Definition at line 1307 of file nt_native.h.

◆ PAGE_EXECUTE_READWRITE

#define PAGE_EXECUTE_READWRITE   0x40

Definition at line 1308 of file nt_native.h.

◆ PAGE_EXECUTE_WRITECOPY

#define PAGE_EXECUTE_WRITECOPY   0x80

Definition at line 1309 of file nt_native.h.

◆ PAGE_GUARD

#define PAGE_GUARD   0x100

Definition at line 1310 of file nt_native.h.

◆ PAGE_NOACCESS

#define PAGE_NOACCESS   0x01

Definition at line 1302 of file nt_native.h.

◆ PAGE_NOCACHE

#define PAGE_NOCACHE   0x200

Definition at line 1311 of file nt_native.h.

◆ PAGE_READONLY

#define PAGE_READONLY   0x02

Definition at line 1303 of file nt_native.h.

◆ PAGE_READWRITE

#define PAGE_READWRITE   0x04

Definition at line 1304 of file nt_native.h.

◆ PAGE_WRITECOPY

#define PAGE_WRITECOPY   0x08

Definition at line 1305 of file nt_native.h.

◆ PROCESS_ALL_ACCESS

#define PROCESS_ALL_ACCESS
Value:
0xFFF)
#define SYNCHRONIZE
Definition: nt_native.h:61
#define STANDARD_RIGHTS_REQUIRED
Definition: nt_native.h:63

Definition at line 1324 of file nt_native.h.

◆ READ_CONTROL

#define READ_CONTROL   (0x00020000L)

Definition at line 58 of file nt_native.h.

◆ REG_BINARY

#define REG_BINARY   ( 3 )

Definition at line 1496 of file nt_native.h.

◆ REG_CREATED_NEW_KEY

#define REG_CREATED_NEW_KEY   (0x00000001L)

Definition at line 1084 of file nt_native.h.

◆ REG_DWORD

#define REG_DWORD   ( 4 )

Definition at line 1497 of file nt_native.h.

◆ REG_DWORD_BIG_ENDIAN

#define REG_DWORD_BIG_ENDIAN   ( 5 )

Definition at line 1499 of file nt_native.h.

◆ REG_DWORD_LITTLE_ENDIAN

#define REG_DWORD_LITTLE_ENDIAN   ( 4 )

Definition at line 1498 of file nt_native.h.

◆ REG_EXPAND_SZ

#define REG_EXPAND_SZ   ( 2 )

Definition at line 1494 of file nt_native.h.

◆ REG_FULL_RESOURCE_DESCRIPTOR

#define REG_FULL_RESOURCE_DESCRIPTOR   ( 9 )

Definition at line 1503 of file nt_native.h.

◆ REG_LEGAL_OPTION

#define REG_LEGAL_OPTION
Value:
REG_OPTION_NON_VOLATILE |\
REG_OPTION_VOLATILE |\
REG_OPTION_CREATE_LINK |\
REG_OPTION_BACKUP_RESTORE |\
REG_OPTION_OPEN_LINK)
#define REG_OPTION_RESERVED
Definition: nt_native.h:1055

Definition at line 1072 of file nt_native.h.

◆ REG_LINK

#define REG_LINK   ( 6 )

Definition at line 1500 of file nt_native.h.

◆ REG_MULTI_SZ

#define REG_MULTI_SZ   ( 7 )

Definition at line 1501 of file nt_native.h.

◆ REG_NO_LAZY_FLUSH

#define REG_NO_LAZY_FLUSH   (0x00000004L)

Definition at line 1093 of file nt_native.h.

◆ REG_NONE

#define REG_NONE   ( 0 )

Definition at line 1492 of file nt_native.h.

◆ REG_OPENED_EXISTING_KEY

#define REG_OPENED_EXISTING_KEY   (0x00000002L)

Definition at line 1085 of file nt_native.h.

◆ REG_OPTION_BACKUP_RESTORE

#define REG_OPTION_BACKUP_RESTORE   (0x00000004L)

Definition at line 1066 of file nt_native.h.

◆ REG_OPTION_CREATE_LINK

#define REG_OPTION_CREATE_LINK   (0x00000002L)

Definition at line 1063 of file nt_native.h.

◆ REG_OPTION_NON_VOLATILE

#define REG_OPTION_NON_VOLATILE   (0x00000000L)

Definition at line 1057 of file nt_native.h.

◆ REG_OPTION_OPEN_LINK

#define REG_OPTION_OPEN_LINK   (0x00000008L)

Definition at line 1070 of file nt_native.h.

◆ REG_OPTION_RESERVED

#define REG_OPTION_RESERVED   (0x00000000L)

Definition at line 1055 of file nt_native.h.

◆ REG_OPTION_VOLATILE

#define REG_OPTION_VOLATILE   (0x00000001L)

Definition at line 1060 of file nt_native.h.

◆ REG_REFRESH_HIVE

#define REG_REFRESH_HIVE   (0x00000002L)

Definition at line 1092 of file nt_native.h.

◆ REG_RESOURCE_LIST

#define REG_RESOURCE_LIST   ( 8 )

Definition at line 1502 of file nt_native.h.

◆ REG_RESOURCE_REQUIREMENTS_LIST

#define REG_RESOURCE_REQUIREMENTS_LIST   ( 10 )

Definition at line 1504 of file nt_native.h.

◆ REG_SZ

#define REG_SZ   ( 1 )

Definition at line 1493 of file nt_native.h.

◆ REG_WHOLE_HIVE_VOLATILE

#define REG_WHOLE_HIVE_VOLATILE   (0x00000001L)

Definition at line 1091 of file nt_native.h.

◆ RTL_QUERY_REGISTRY_DELETE

#define RTL_QUERY_REGISTRY_DELETE   0x00000040

Definition at line 153 of file nt_native.h.

◆ RTL_QUERY_REGISTRY_DIRECT

#define RTL_QUERY_REGISTRY_DIRECT   0x00000020

Definition at line 144 of file nt_native.h.

◆ RTL_QUERY_REGISTRY_NOEXPAND

#define RTL_QUERY_REGISTRY_NOEXPAND   0x00000010

Definition at line 139 of file nt_native.h.

◆ RTL_QUERY_REGISTRY_NOVALUE

#define RTL_QUERY_REGISTRY_NOVALUE   0x00000008

Definition at line 135 of file nt_native.h.

◆ RTL_QUERY_REGISTRY_REQUIRED

#define RTL_QUERY_REGISTRY_REQUIRED   0x00000004

Definition at line 132 of file nt_native.h.

◆ RTL_QUERY_REGISTRY_SUBKEY

#define RTL_QUERY_REGISTRY_SUBKEY   0x00000001

Definition at line 125 of file nt_native.h.

◆ RTL_QUERY_REGISTRY_TOPKEY

#define RTL_QUERY_REGISTRY_TOPKEY   0x00000002

Definition at line 129 of file nt_native.h.

◆ RTL_REGISTRY_ABSOLUTE

#define RTL_REGISTRY_ABSOLUTE   0

Definition at line 161 of file nt_native.h.

◆ RTL_REGISTRY_CONTROL

#define RTL_REGISTRY_CONTROL   2

Definition at line 163 of file nt_native.h.

◆ RTL_REGISTRY_DEVICEMAP

#define RTL_REGISTRY_DEVICEMAP   4

Definition at line 165 of file nt_native.h.

◆ RTL_REGISTRY_HANDLE

#define RTL_REGISTRY_HANDLE   0x40000000

Definition at line 168 of file nt_native.h.

◆ RTL_REGISTRY_MAXIMUM

#define RTL_REGISTRY_MAXIMUM   6

Definition at line 167 of file nt_native.h.

◆ RTL_REGISTRY_OPTIONAL

#define RTL_REGISTRY_OPTIONAL   0x80000000

Definition at line 169 of file nt_native.h.

◆ RTL_REGISTRY_SERVICES

#define RTL_REGISTRY_SERVICES   1

Definition at line 162 of file nt_native.h.

◆ RTL_REGISTRY_USER

#define RTL_REGISTRY_USER   5

Definition at line 166 of file nt_native.h.

◆ RTL_REGISTRY_WINDOWS_NT

#define RTL_REGISTRY_WINDOWS_NT   3

Definition at line 164 of file nt_native.h.

◆ RtlAnsiStringToUnicodeSize

#define RtlAnsiStringToUnicodeSize (   STRING)
Value:
( \
NLS_MB_CODE_PAGE_TAG ? \
RtlxAnsiStringToUnicodeSize(STRING) : \
)
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList
smooth NULL
Definition: ftsmooth.c:416
__wchar_t WCHAR
Definition: xmlstorage.h:180
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
std::wstring STRING
Definition: fontsub.cpp:33
unsigned char UCHAR
Definition: xmlstorage.h:181

Definition at line 404 of file nt_native.h.

◆ SEC_RESERVE

#define SEC_RESERVE   0x4000000

Definition at line 1323 of file nt_native.h.

◆ SECTION_ALL_ACCESS

#define SECTION_ALL_ACCESS
Value:
SECTION_MAP_WRITE | \
SECTION_MAP_READ | \
SECTION_MAP_EXECUTE | \
SECTION_EXTEND_SIZE)
#define SECTION_QUERY
Definition: nt_native.h:1287
#define STANDARD_RIGHTS_REQUIRED
Definition: nt_native.h:63

Definition at line 1293 of file nt_native.h.

◆ SECTION_EXTEND_SIZE

#define SECTION_EXTEND_SIZE   0x0010

Definition at line 1291 of file nt_native.h.

◆ SECTION_MAP_EXECUTE

#define SECTION_MAP_EXECUTE   0x0008

Definition at line 1290 of file nt_native.h.

◆ SECTION_MAP_READ

#define SECTION_MAP_READ   0x0004

Definition at line 1289 of file nt_native.h.

◆ SECTION_MAP_WRITE

#define SECTION_MAP_WRITE   0x0002

Definition at line 1288 of file nt_native.h.

◆ SECTION_QUERY

#define SECTION_QUERY   0x0001

Definition at line 1287 of file nt_native.h.

◆ SEGMENT_ALL_ACCESS

#define SEGMENT_ALL_ACCESS   SECTION_ALL_ACCESS

Definition at line 1300 of file nt_native.h.

◆ SIZE_OF_80387_REGISTERS

#define SIZE_OF_80387_REGISTERS   80

Definition at line 1356 of file nt_native.h.

◆ SPECIFIC_RIGHTS_ALL

#define SPECIFIC_RIGHTS_ALL   (0x0000FFFFL)

Definition at line 71 of file nt_native.h.

◆ STANDARD_RIGHTS_ALL

#define STANDARD_RIGHTS_ALL   (0x001F0000L)

Definition at line 69 of file nt_native.h.

◆ STANDARD_RIGHTS_EXECUTE

#define STANDARD_RIGHTS_EXECUTE   (READ_CONTROL)

Definition at line 67 of file nt_native.h.

◆ STANDARD_RIGHTS_READ

#define STANDARD_RIGHTS_READ   (READ_CONTROL)

Definition at line 65 of file nt_native.h.

◆ STANDARD_RIGHTS_REQUIRED

#define STANDARD_RIGHTS_REQUIRED   (0x000F0000L)

Definition at line 63 of file nt_native.h.

◆ STANDARD_RIGHTS_WRITE

#define STANDARD_RIGHTS_WRITE   (READ_CONTROL)

Definition at line 66 of file nt_native.h.

◆ SYMBOLIC_LINK_ALL_ACCESS

#define SYMBOLIC_LINK_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | 0x1)

Definition at line 1267 of file nt_native.h.

◆ SYMBOLIC_LINK_QUERY

#define SYMBOLIC_LINK_QUERY   (0x0001)

Definition at line 1265 of file nt_native.h.

◆ SYNCHRONIZE

#define SYNCHRONIZE   (0x00100000L)

Definition at line 61 of file nt_native.h.

◆ THREAD_ALL_ACCESS

#define THREAD_ALL_ACCESS
Value:
0x3FF)
#define SYNCHRONIZE
Definition: nt_native.h:61
#define STANDARD_RIGHTS_REQUIRED
Definition: nt_native.h:63

Definition at line 1339 of file nt_native.h.

◆ THREAD_SET_INFORMATION

#define THREAD_SET_INFORMATION   (0x0020)

Definition at line 1337 of file nt_native.h.

◆ THREAD_TERMINATE

#define THREAD_TERMINATE   (0x0001)

Definition at line 1336 of file nt_native.h.

◆ WRITE_DAC

#define WRITE_DAC   (0x00040000L)

Definition at line 59 of file nt_native.h.

◆ WRITE_OWNER

#define WRITE_OWNER   (0x00080000L)

Definition at line 60 of file nt_native.h.

Typedef Documentation

◆ ACCESS_MASK

static ACCESS_MASK

Definition at line 40 of file nt_native.h.

◆ CLIENT_ID

◆ CONTEXT

◆ FILE_ALIGNMENT_INFORMATION

◆ FILE_BASIC_INFORMATION

◆ FILE_DISPOSITION_INFORMATION

◆ FILE_END_OF_FILE_INFORMATION

◆ FILE_FS_DEVICE_INFORMATION

◆ FILE_FULL_EA_INFORMATION

◆ FILE_INFORMATION_CLASS

◆ FILE_NETWORK_OPEN_INFORMATION

◆ FILE_POSITION_INFORMATION

◆ FILE_STANDARD_INFORMATION

◆ FLOATING_SAVE_AREA

◆ FS_INFORMATION_CLASS

◆ GENERIC_MAPPING

◆ IO_STATUS_BLOCK

◆ KEY_BASIC_INFORMATION

◆ KEY_FULL_INFORMATION

◆ KEY_INFORMATION_CLASS

◆ KEY_NODE_INFORMATION

◆ KEY_SET_INFORMATION_CLASS

◆ KEY_VALUE_BASIC_INFORMATION

◆ KEY_VALUE_ENTRY

◆ KEY_VALUE_FULL_INFORMATION

◆ KEY_VALUE_INFORMATION_CLASS

Definition at line 135 of file reg.c.

◆ KEY_VALUE_PARTIAL_INFORMATION

◆ KEY_WRITE_TIME_INFORMATION

◆ OBJECT_NAME_INFORMATION

◆ PACCESS_MASK

Definition at line 41 of file nt_native.h.

◆ PBUS_HANDLER

Definition at line 37 of file nt_native.h.

◆ PCALLBACK_OBJECT

Definition at line 35 of file nt_native.h.

◆ PCLIENT_ID

Definition at line 1350 of file nt_native.h.

◆ PCONTEXT

typedef CONTEXT* PCONTEXT

Definition at line 1486 of file nt_native.h.

◆ PDEVICE_HANDLER_OBJECT

typedef struct _DEVICE_HANDLER_OBJECT* PDEVICE_HANDLER_OBJECT

Definition at line 36 of file nt_native.h.

◆ PENVIRONMENT_INFORMATION

◆ PEPROCESS

Definition at line 30 of file nt_native.h.

◆ PETHREAD

Definition at line 29 of file nt_native.h.

◆ PFILE_ALIGNMENT_INFORMATION

◆ PFILE_BASIC_INFORMATION

◆ PFILE_DISPOSITION_INFORMATION

◆ PFILE_END_OF_FILE_INFORMATION

◆ PFILE_FS_DEVICE_INFORMATION

◆ PFILE_FULL_EA_INFORMATION

◆ PFILE_INFORMATION_CLASS

◆ PFILE_NETWORK_OPEN_INFORMATION

◆ PFILE_POSITION_INFORMATION

◆ PFILE_STANDARD_INFORMATION

◆ PFLOATING_SAVE_AREA

Definition at line 1394 of file nt_native.h.

◆ PFS_INFORMATION_CLASS

◆ PGENERIC_MAPPING

Definition at line 570 of file nt_native.h.

◆ PIO_APC_ROUTINE

static OBJECT_ATTRIBUTES PIO_APC_ROUTINE

Definition at line 877 of file nt_native.h.

◆ PIO_STATUS_BLOCK

◆ PIO_TIMER

Definition at line 33 of file nt_native.h.

◆ PKEY_BASIC_INFORMATION

◆ PKEY_FULL_INFORMATION

◆ PKEY_NODE_INFORMATION

◆ PKEY_VALUE_BASIC_INFORMATION

◆ PKEY_VALUE_ENTRY

◆ PKEY_VALUE_FULL_INFORMATION

◆ PKEY_VALUE_PARTIAL_INFORMATION

◆ PKEY_WRITE_TIME_INFORMATION

◆ PKINTERRUPT

Definition at line 32 of file nt_native.h.

◆ PKSTART_ROUTINE

typedef VOID(* PKSTART_ROUTINE) (IN PVOID StartContext)

Definition at line 1596 of file nt_native.h.

◆ PKTHREAD

Definition at line 28 of file nt_native.h.

◆ POBJECT_NAME_INFORMATION

◆ POBJECT_TYPE

Definition at line 34 of file nt_native.h.

◆ PPEB

typedef struct _PEB* PPEB

Definition at line 31 of file nt_native.h.

◆ PRTL_HEAP_COMMIT_ROUTINE

typedef NTSTATUS(* PRTL_HEAP_COMMIT_ROUTINE) (IN PVOID Base, IN OUT PVOID *CommitAddress, IN OUT PULONG CommitSize)

Definition at line 1660 of file nt_native.h.

◆ PRTL_HEAP_DEFINITION

◆ PRTL_HEAP_PARAMETERS

◆ PRTL_QUERY_REGISTRY_ROUTINE

Definition at line 99 of file nt_native.h.

◆ PRTL_QUERY_REGISTRY_TABLE

Definition at line 122 of file reg.c.

◆ PSTACKINFO

◆ PSTARTUP_ARGUMENT

◆ PTIME_FIELDS

Definition at line 536 of file nt_native.h.

◆ RTL_HEAP_PARAMETERS

◆ RTL_QUERY_REGISTRY_TABLE

◆ SECTION_INHERIT

◆ STACKINFO

◆ TIME_FIELDS

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 890 of file nt_native.h.

890  {
enum _FILE_INFORMATION_CLASS * PFILE_INFORMATION_CLASS
enum _FILE_INFORMATION_CLASS FILE_INFORMATION_CLASS

◆ _FSINFOCLASS

Enumerator
FileFsVolumeInformation 
FileFsLabelInformation 
FileFsSizeInformation 
FileFsDeviceInformation 
FileFsAttributeInformation 
FileFsControlInformation 
FileFsFullSizeInformation 
FileFsObjectIdInformation 
FileFsDriverPathInformation 
FileFsVolumeFlagsInformation 
FileFsMaximumInformation 
FileFsVolumeInformation 
FileFsLabelInformation 
FileFsSizeInformation 
FileFsDeviceInformation 
FileFsAttributeInformation 
FileFsControlInformation 
FileFsQuotaQueryInformation 
FileFsQuotaSetInformation 
FileFsMaximumInformation 
FileFsVolumeInformation 
FileFsLabelInformation 
FileFsSizeInformation 
FileFsDeviceInformation 
FileFsAttributeInformation 
FileFsControlInformation 
FileFsFullSizeInformation 
FileFsObjectIdInformation 
FileFsDriverPathInformation 
FileFsMaximumInformation 
FileFsVolumeInformation 
FileFsLabelInformation 
FileFsSizeInformation 
FileFsDeviceInformation 
FileFsAttributeInformation 
FileFsControlInformation 
FileFsFullSizeInformation 
FileFsObjectIdInformation 
FileFsMaximumInformation 
FileFsVolumeInformation 
FileFsLabelInformation 
FileFsSizeInformation 
FileFsDeviceInformation 
FileFsAttributeInformation 
FileFsControlInformation 
FileFsFullSizeInformation 
FileFsObjectIdInformation 
FileFsDriverPathInformation 
FileFsVolumeFlagsInformation 
FileFsMaximumInformation 

Definition at line 995 of file nt_native.h.

◆ _KEY_INFORMATION_CLASS

Enumerator
KeyBasicInformation 
KeyNodeInformation 
KeyFullInformation 
KeyBasicInformation 
KeyNodeInformation 
KeyFullInformation 
KeyNameInformation 
KeyCachedInformation 
KeyFlagsInformation 
KeyVirtualizationInformation 
KeyHandleTagsInformation 
MaxKeyInfoClass 
KeyBasicInformation 
KeyNodeInformation 
KeyFullInformation 
KeyNameInformation 
KeyCachedInformation 
KeyFlagsInformation 
KeyVirtualizationInformation 
KeyHandleTagsInformation 
MaxKeyInfoClass 

Definition at line 1130 of file nt_native.h.

1130  {
enum _KEY_INFORMATION_CLASS KEY_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 1140 of file nt_native.h.

1140  {
enum _KEY_SET_INFORMATION_CLASS KEY_SET_INFORMATION_CLASS

◆ _KEY_VALUE_INFORMATION_CLASS

Enumerator
KeyValueBasicInformation 
KeyValueFullInformation 
KeyValuePartialInformation 
KeyValueBasicInformation 
KeyValueFullInformation 
KeyValuePartialInformation 
KeyValueFullInformationAlign64 
KeyValuePartialInformationAlign64 
KeyValueBasicInformation 
KeyValueFullInformation 
KeyValuePartialInformation 
KeyValueFullInformationAlign64 
KeyValuePartialInformationAlign64 
KeyValueBasicInformation 
KeyValueFullInformation 
KeyValuePartialInformation 
KeyValueFullInformationAlign64 
KeyValuePartialInformationAlign64 

Definition at line 1179 of file nt_native.h.

◆ _SECTION_INHERIT

Enumerator
ViewShare 
ViewUnmap 
ViewShare 
ViewUnmap 
ViewShare 
ViewUnmap 

Definition at line 1277 of file nt_native.h.

1277  {
1278  ViewShare = 1,
1279  ViewUnmap = 2
1280 } SECTION_INHERIT;
enum _SECTION_INHERIT SECTION_INHERIT

Function Documentation

◆ NtClose()

NTSTATUS NTAPI NtClose ( IN HANDLE  Handle)

Definition at line 3399 of file obhandle.c.

3400 {
3401  /* Call the internal API */
3403 }
KPROCESSOR_MODE NTAPI ExGetPreviousMode(VOID)
Definition: sysinfo.c:2982
NTSTATUS NTAPI ObpCloseHandle(IN HANDLE Handle, IN KPROCESSOR_MODE AccessMode)
Definition: obhandle.c:1727
_In_ HANDLE Handle
Definition: extypes.h:390

Referenced by _At_(), _main(), _tmain(), AccpCloseObjectHandle(), AddCodepageToRegistry(), AddFontsSettingsToRegistry(), AddHotkeySettings(), AddKbLayoutsToRegistry(), AddPartitionToDisk(), AfdBind(), AfdConnect(), AfdGetInformation(), AfdSend(), AfdSendTo(), AfdSetInformation(), BaseComputeProcessDllPath(), BaseGetNamedObjectDirectory(), BaseInitializeStaticServerData(), BasepCopyFileExW(), BasepIsProcessAllowed(), BasepMapFile(), BasepMoveFileDelayed(), BasepNotifyTrackingService(), BasepOpenFileForMove(), BasepSxsCloseHandles(), BaseSrvCleanupVDMResources(), BaseSrvCreatePairWaitHandles(), BaseSrvDestroyConsoleRecord(), BaseSrvDestroyPairWaitHandles(), BaseSrvIsVdmAllowed(), Beep(), CabinetExtractFile(), CallApphelpWithImage(), CallCacheControl(), CheckTokenMembership(), ClientThread(), CloseCabinet(), CloseDefaultKeys(), CloseDevice(), CloseHandle(), CloseIniBootLoaderStore(), closeTcpFile(), CmGetSystemDriverList(), CmInitSystem1(), CmpCreateControlSet(), CmpCreateHardwareProfile(), CmpInitializeHardwareConfiguration(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpSetSystemValues(), CmpSetupConfigurationTree(), CmpSetVersionData(), CommandDumpSector(), CommandPartInfo(), ConCfgOpenUserSettings(), ConDrvUnpause(), ConnectConsole(), ConnectRegistry(), ConSrvDeleteConsole(), ConSrvInitConsole(), ConvertNtPathToWin32Path(), create_classes_root_hkey(), create_key(), create_registry_key(), CreateBaseAcls(), CreateContext(), CreateDirectoryExW(), CreateDirectoryW(), CreateHardLinkW(), CreateIoCompletionPort(), CreateKeyTest(), CreateNestedKey(), CreatePartitionList(), CreatePipe(), CreateProcessAsUserCommon(), CreateProcessInternalW(), CreateRegistryFile(), CreateSymLinkKey(), CreateWindowStationW(), CSR_API(), CsrApiPortInitialize(), CsrCreateRemoteThread(), CsrGetProcessLuid(), CsrpCheckRequestThreads(), CsrpConnectToServer(), CsrProcessRefcountZero(), CsrSbApiRequestThread(), CsrSetProcessSecurity(), CsrSrvCreateSharedSection(), CsrThreadRefcountZero(), DbgUiIssueRemoteBreakin(), DebugActiveProcess(), DebugActiveProcessStop(), DeleteFileW(), DeleteKeyTest(), DeleteSymLinkKey(), DeleteValueTest(), DestroyProtoHive(), DismountVolume(), do_enumeratekey(), DoesPathExist(), DumpRegistryData(), EnumerateKeyTest(), EnumerateValueTest(), ExpandSymbolicLink(), ExpCreateSystemRootLink(), ExpInitializeCallbacks(), Ext2CloseDevice(), FindClose(), FindFirstChangeNotificationW(), FindFirstFileExW(), FindFirstStreamW(), FindNTOSInstallations(), FormatEx2(), FreeConsole(), get_manifest_in_associated_manifest(), get_manifest_in_manifest_file(), get_manifest_in_pe_file(), get_registry_locale_info(), GetCallerLuid(), GetComputerIdentifier(), GetComputerNameFromRegistry(), GetCPFileNameFromRegistry(), GetDiskFreeSpaceExW(), GetDiskFreeSpaceW(), GetDisplayIdentifier(), GetDllList(), GetDosDevicesProtection(), GetDriveTypeW(), GetFileSecurityW(), GetFileSystem(), GetFileSystemName_UStr(), GetNTObjectSymbolicLinkTarget(), GetRegInt(), GetSocketInformation(), GetSourcePaths(), GetTempFileNameW(), GetTimeouts(), GetUserGeoID(), GetVolumeInformationW(), GetVolumeNameForRoot(), GRAPHICS_BUFFER_Destroy(), GRAPHICS_BUFFER_Initialize(), GuiApplyUserSettings(), GuiConsoleShowConsoleProperties(), GuiDeinitFrontEnd(), GuiInit(), GuiInitFrontEnd(), ImpersonateLoggedOnUser(), InferFileSystem(), InfOpenFile(), InfWriteFile(), IniCacheLoad(), IniCacheSave(), InitFunctionPtrs(), InitializeFmIfsOnce(), InitializeUserModePnpManager(), InitLogPort(), InstallBtrfsBootCodeToDisk(), InstallDevice(), InstallDriver(), InstallFat12BootCodeToFloppy(), InstallFat16BootCode(), InstallFat16BootCodeToDisk(), InstallFat16BootCodeToFile(), InstallFat32BootCode(), InstallFat32BootCodeToDisk(), InstallFat32BootCodeToFile(), InstallMbrBootCodeToDiskHelper(), InstallSetupInfFile(), IntAllocConsole(), IntAttachConsole(), IntGetCodePageEntry(), IopCreateRootDirectories(), IopInitializePlugPlayServices(), IopMarkBootPartition(), is_mounted_multi_device(), IsAcpiComputer(), IsShimInfrastructureDisabled(), IsThereAValidBootSector(), IsThisARootDirectory(), IsValidLanguageGroup(), IsValidNTOSInstallation(), JapaneseEra_IsFirstYearGannen(), JapaneseEra_Load(), keyed_event_thread(), KsecOpenDevice(), LdrOpenImageFileOptionsKey(), LdrpCheckForKnownDll(), LdrpCheckForLoadedDll(), LdrpCreateDllSection(), LdrpInitializeProcess(), LdrpMapDll(), LdrQueryImageFileExecutionOptionsEx(), LdrVerifyImageMatchesChecksum(), ListDirectory(), LoadModule(), LogfBackupFile(), LogfClose(), LogfCreate(), lookup_assembly(), lookup_winsxs(), LsaConnectUntrusted(), LsapCheckLogonProcess(), LsapCloseDbObject(), LsapCloseLsaPort(), LsapCreateDatabaseKeys(), LsapCreateDbObject(), LsapDeleteDbObject(), LsapDeregisterLogonProcess(), LsapEnumLogonSessions(), LsapGetLogonSessionData(), LsapGetObjectAttribute(), LsapIsDatabaseInstalled(), LsapLogonUser(), LsapOpenDbObject(), LsapRegCloseKey(), LsapRegDeleteSubKey(), LsapSetObjectAttribute(), LsarSetSecurityObject(), main(), MoveFileWithProgressW(), MyDeleteFile(), NetUserChangePassword(), NLS_EnumLanguageGroupLocales(), NLS_EnumSystemCodePages(), NLS_EnumSystemLanguageGroups(), NlsInit(), NlsUninit(), NtQueryOpenSubKeys(), ObDuplicateObject(), ObInitSystem(), ObpCreateDosDevicesDirectory(), OpenAndMapFile(), OpenBootStore_UStr(), OpenFile(), OpenWindowStationW(), nt_handle::operator=(), parse_file(), Phase1InitializationDiscard(), PipGetDriverTagPriority(), PortThreadRoutine(), PrintProcess(), PrintThreads(), PrivMoveFileIdentityW(), ProcessDisplayRegistry(), ProcessIdToSessionId(), ProcessLocaleRegistry(), QueryDosDeviceW(), ReadBlock(), RegCleanupRegistry(), RegCloseKey(), RegCopyTreeW(), RegDeleteKeyExW(), RegDeleteKeyValueW(), RegInitializeRegistry(), RegisterUncProvider(), registry_callback(), RegOverridePredefKey(), RegpCopyTree(), RegReplaceKeyW(), RegRestoreKeyW(), RegSaveKeyW(), RegSetKeyValueA(), RegSetKeyValueW(), RemoveDirectoryW(), ReplaceFileW(), ResolveArcNameNtSymLink(), RSetServiceObjectSecurity(), RtlCreateActivationContext(), RtlCreateTimerQueue(), RtlCreateUserSecurityObject(), RtlCreateUserThread(), RtlDefaultNpAcl(), RtlDeleteCriticalSection(), RtlDeleteResource(), RtlDeleteTimer(), RtlDeleteTimerQueueEx(), RtlDeregisterWaitEx(), RtlImpersonateSelf(), RtlInitializeRXact(), RtlNewSecurityGrantedAccess(), RtlpCloseKeyedEvent(), RtlpExecuteIoWorkItem(), RtlpExecuteWorkItem(), RtlpIoWorkerThreadProc(), RtlpIsIoPending(), RtlpStartWorkerThread(), RtlQueryRegistryValues(), RtlQueueWorkItem(), RtlRegisterWait(), RtlReleaseRelativeName(), RtlSetCurrentDirectory_U(), RXactpCommit(), SampRegCloseKey(), SampRegDeleteKey(), SamrSetSecurityObject(), SaveBootSector(), ScmCheckDriver(), ScmConvertToBootPathName(), ScmGetDriverStatus(), SdbCloseDatabase(), SdbDeletePermLayerKeys(), SdbpCloseMemMappedFile(), SdbpGetPermLayersInternal(), SdbpOpenMemMappedFile(), SdbRegisterDatabaseEx(), SdbSetPermLayerKeys(), SdbUnregisterDatabase(), ServerThread(), SetActiveComputerNameToRegistry(), SetComputerNameToRegistry(), SetDefaultPagefile(), SetFileAttributesW(), SetFileSecurityW(), SetGeoID(), SetLocaleInfoW(), SetMountedDeviceValue(), SetRegistryValue(), SetRosSpecificInfo(), SetSocketInformation(), SetupCopyFile(), SetupCreateSingleDirectory(), SetupDeleteFile(), SetupMoveFile(), SetUserGeoID(), SetValueTest1(), SetValueTest2(), SetVolumeLabelW(), SmExecPgm(), SmLookupSubsystem(), SmpAcquirePrivilege(), SmpConfigureObjectDirectories(), SmpCreateDynamicEnvironmentVariables(), SmpCreateVolumeDescriptors(), SmpDeletePagingFile(), SmpDereferenceSubsystem(), SmpExecPgm(), SmpExecuteImage(), SmpExecuteInitialCommand(), SmpGetPagingFileSize(), SmpGetVolumeFreeSpace(), SmpHandleConnectionRequest(), SmpInit(), SmpInitializeDosDevices(), SmpInitializeKnownDllsInternal(), SmpLoadDataFromRegistry(), SmpLoadSubSystem(), SmpProcessFileRenames(), SmpQueryRegistrySosOption(), SmpReleasePrivilege(), SmpSbCreateSession(), SmpTranslateSystemPartitionInformation(), SockCreateOrReferenceAsyncThread(), SpeakerCleanup(), START_TEST(), StartAuthenticationPort(), TerminateUserModePnpManager(), test1(), test2(), test3(), test5(), test6(), test7(), test9(), Test_ApphelpCheckRunApp(), Test_EmptyFile(), Test_ImageSection(), test_keyed_events(), Test_KeyFullInformation(), Test_KeyNameInformation(), test_mutant(), test_NtOpenKey(), Test_PageFileSection(), Test_recv(), Test_SectionContents(), test_tp_multi_wait(), TestCreateOpen_(), TestSend(), TestSendTo(), TestTcp(), TestUdp(), TH32CreateSnapshotSectionInitialize(), timer_queue_thread_proc(), UnhandledExceptionFilter(), UnMapFile(), UserpFormatMessages(), VfatFormat(), VfatxFormat(), Wait_thread_proc(), WaitNamedPipeW(), WinExec(), WritePartitions(), WSHIoctl_GetInterfaceList(), WSPAccept(), WSPBind(), WSPCloseSocket(), WSPConnect(), WSPDuplicateSocket(), WSPEnumNetworkEvents(), WSPEventSelect(), WSPGetPeerName(), WSPGetSockName(), WSPListen(), WSPRecv(), WSPRecvFrom(), WSPSelect(), WSPSend(), WSPSendTo(), WSPShutdown(), WSPSocket(), CEnumNTDirectory::~CEnumNTDirectory(), and nt_handle::~nt_handle().

◆ NtCreateFile()

◆ NtCreateThread()

NTSYSAPI NTSTATUS NTAPI NtCreateThread ( OUT PHANDLE  phThread,
IN ACCESS_MASK  AccessMask,
IN POBJECT_ATTRIBUTES  ObjectAttributes,
IN HANDLE  hProcess,
OUT PCLIENT_ID  pClientId,
IN PCONTEXT  pContext,
OUT PSTACKINFO  pStackInfo,
IN BOOLEAN  bSuspended 
)

◆ NtDelayExecution()

NTSTATUS NTAPI NtDelayExecution ( IN BOOLEAN  Alertable,
IN PLARGE_INTEGER  DelayInterval 
)

Definition at line 879 of file wait.c.

881 {
883  LARGE_INTEGER SafeInterval;
885 
886  /* Check the previous mode */
887  if (PreviousMode != KernelMode)
888  {
889  /* Enter SEH for probing */
890  _SEH2_TRY
891  {
892  /* Probe and capture the time out */
893  SafeInterval = ProbeForReadLargeInteger(DelayInterval);
894  DelayInterval = &SafeInterval;
895  }
897  {
898  /* Return the exception code */
900  }
901  _SEH2_END;
902  }
903 
904  /* Call the Kernel Function */
906  Alertable,
907  DelayInterval);
908 
909  /* Return Status */
910  return Status;
911 }
_In_ PVOID _In_ BOOLEAN Alertable
Definition: exfuncs.h:452
LONG NTSTATUS
Definition: precomp.h:26
KPROCESSOR_MODE NTAPI ExGetPreviousMode(VOID)
Definition: sysinfo.c:2982
_SEH2_TRY
Definition: create.c:4250
NTSTATUS NTAPI KeDelayExecutionThread(IN KPROCESSOR_MODE WaitMode, IN BOOLEAN Alertable, IN PLARGE_INTEGER Interval OPTIONAL)
Definition: wait.c:283
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
_In_ KPROCESSOR_MODE PreviousMode
Definition: sefuncs.h:103
#define _SEH2_YIELD(STMT_)
Definition: pseh2_64.h:8
#define ProbeForReadLargeInteger(Ptr)
Definition: probe.h:75
CCHAR KPROCESSOR_MODE
Definition: ketypes.h:7
Status
Definition: gdiplustypes.h:24
_SEH2_END
Definition: create.c:4424
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
#define _SEH2_GetExceptionCode()
Definition: pseh2_64.h:12

Referenced by CsrApiRequestThread(), NtProcessStartup(), RtlpInitializeThreadPool(), RtlpIoWorkerThreadProc(), RtlpStartWorkerThread(), SleepEx(), SmpApiLoop(), and SmpLoadSubSystemsForMuSession().

◆ NtDeleteValueKey()

NTSYSAPI NTSTATUS NTAPI NtDeleteValueKey ( IN HANDLE  KeyHandle,
IN PUNICODE_STRING  ValueName 
)

Definition at line 994 of file ntapi.c.

996 {
998  PCM_KEY_BODY KeyObject;
999  REG_DELETE_VALUE_KEY_INFORMATION DeleteValueKeyInfo;
1000  REG_POST_OPERATION_INFORMATION PostOperationInfo;
1002  UNICODE_STRING ValueNameCopy;
1003 
1004  PAGED_CODE();
1005 
1006  /* Verify that the handle is valid and is a registry key */
1008  KEY_SET_VALUE,
1010  PreviousMode,
1011  (PVOID*)&KeyObject,
1012  NULL);
1013  if (!NT_SUCCESS(Status))
1014  return Status;
1015 
1016  /* Capture the string */
1018  if (!NT_SUCCESS(Status))
1019  goto Quit;
1020 
1021  /* Make sure the name is aligned properly */
1022  if ((ValueNameCopy.Length & (sizeof(WCHAR) - 1)))
1023  {
1024  /* It isn't, so we'll fail */
1026  goto Quit;
1027  }
1028 
1029  /* Don't touch read-only keys */
1030  if (KeyObject->KeyControlBlock->ExtFlags & CM_KCB_READ_ONLY_KEY)
1031  {
1032  /* Fail */
1034  goto Quit;
1035  }
1036 
1037  /* Do the callback */
1038  DeleteValueKeyInfo.Object = (PVOID)KeyObject;
1039  DeleteValueKeyInfo.ValueName = ValueName;
1041  &DeleteValueKeyInfo);
1042  if (NT_SUCCESS(Status))
1043  {
1044  /* Call the internal API */
1045  Status = CmDeleteValueKey(KeyObject->KeyControlBlock, ValueNameCopy);
1046 
1047  /* Do the post callback */
1048  PostOperationInfo.Object = (PVOID)KeyObject;
1049  PostOperationInfo.Status = Status;
1051  &PostOperationInfo);
1052  }
1053 
1054 Quit:
1055  if (ValueNameCopy.Buffer)
1056  ReleaseCapturedUnicodeString(&ValueNameCopy, PreviousMode);
1057 
1058  /* Dereference and return status */
1059  ObDereferenceObject(KeyObject);
1060  return Status;
1061 }
static __inline NTSTATUS ProbeAndCaptureUnicodeString(OUT PUNICODE_STRING Dest, IN KPROCESSOR_MODE CurrentMode, IN const UNICODE_STRING *UnsafeSrc)
Definition: probe.h:142
Definition: cmtypes.h:856
#define KEY_SET_VALUE
Definition: nt_native.h:1017
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG _Out_ PNDIS_STRING _Out_ PNDIS_HANDLE KeyHandle
Definition: ndis.h:4711
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS NTAPI CmDeleteValueKey(IN PCM_KEY_CONTROL_BLOCK Kcb, IN UNICODE_STRING ValueName)
Definition: cmapi.c:916
KPROCESSOR_MODE NTAPI ExGetPreviousMode(VOID)
Definition: sysinfo.c:2982
VOID NTAPI ObDereferenceObject(IN PVOID Object)
Definition: obref.c:375
#define CM_KCB_READ_ONLY_KEY
Definition: cm.h:61
#define PAGED_CODE()
Definition: video.h:57
_In_ PUNICODE_STRING ValueName
Definition: cmfuncs.h:264
NTSTATUS NTAPI ObReferenceObjectByHandle(IN HANDLE Handle, IN ACCESS_MASK DesiredAccess, IN POBJECT_TYPE ObjectType, IN KPROCESSOR_MODE AccessMode, OUT PVOID *Object, OUT POBJECT_HANDLE_INFORMATION HandleInformation OPTIONAL)
Definition: obref.c:496
smooth NULL
Definition: ftsmooth.c:416
void * PVOID
Definition: retypes.h:9
struct _CM_KEY_CONTROL_BLOCK * KeyControlBlock
Definition: cm.h:229
static __inline VOID ReleaseCapturedUnicodeString(IN PUNICODE_STRING CapturedString, IN KPROCESSOR_MODE CurrentMode)
Definition: probe.h:228
_In_ KPROCESSOR_MODE PreviousMode
Definition: sefuncs.h:103
NTSTATUS Status
Definition: cmtypes.h:858
__wchar_t WCHAR
Definition: xmlstorage.h:180
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
#define STATUS_ACCESS_DENIED
Definition: udferr_usr.h:145
CCHAR KPROCESSOR_MODE
Definition: ketypes.h:7
Status
Definition: gdiplustypes.h:24
#define CmpKeyObjectType
Definition: ObTypes.c:132
NTSTATUS CmiCallRegisteredCallbacks(IN REG_NOTIFY_CLASS Argument1, IN PVOID Argument2)
Definition: cmhook.c:59
PVOID Object
Definition: cmtypes.h:857

Referenced by CmpSetVersionData(), DeleteSymLinkKey(), DeleteValueTest(), InitFunctionPtrs(), LsapRegDeleteValue(), RegDeleteKeyValueW(), RegDeleteValueA(), RegDeleteValueW(), RtlApplyRXact(), RtlInitializeRXact(), SampRegDeleteValue(), SdbDeletePermLayerKeys(), SmpLoadDataFromRegistry(), START_TEST(), and test7().

◆ NtDeviceIoControlFile()

NTSYSAPI NTSTATUS NTAPI NtDeviceIoControlFile ( IN HANDLE  hFile,
IN HANDLE hEvent  OPTIONAL,
IN PIO_APC_ROUTINE IoApcRoutine  OPTIONAL,
IN PVOID IoApcContext  OPTIONAL,
OUT PIO_STATUS_BLOCK  pIoStatusBlock,
IN ULONG  DeviceIoControlCode,
IN PVOID InBuffer  OPTIONAL,
IN ULONG  InBufferLength,
OUT PVOID OutBuffer  OPTIONAL,
IN ULONG  OutBufferLength 
)

◆ NtDisplayString()

NTSTATUS NTAPI NtDisplayString ( PUNICODE_STRING  String)

◆ NtEnumerateKey()

NTSYSAPI NTSTATUS NTAPI NtEnumerateKey ( IN HANDLE  KeyHandle,
IN ULONG  Index,
IN KEY_INFORMATION_CLASS  KeyInformationClass,
IN PVOID  KeyInformation,
IN ULONG  Length,
IN PULONG  ResultLength 
)

◆ NtFsControlFile()

NTSYSAPI NTSTATUS NTAPI NtFsControlFile ( IN HANDLE  hFile,
IN HANDLE hEvent  OPTIONAL,
IN PIO_APC_ROUTINE IoApcRoutine  OPTIONAL,
IN PVOID IoApcContext  OPTIONAL,
OUT PIO_STATUS_BLOCK  pIoStatusBlock,
IN ULONG  DeviceIoControlCode,
IN PVOID InBuffer  OPTIONAL,
IN ULONG  InBufferLength,
OUT PVOID OutBuffer  OPTIONAL,
IN ULONG  OutBufferLength 
)

◆ NtOpenFile()

NTSYSAPI NTSTATUS NTAPI NtOpenFile ( OUT PHANDLE  phFile,
IN ACCESS_MASK  DesiredAccess,
IN POBJECT_ATTRIBUTES  ObjectAttributes,
OUT PIO_STATUS_BLOCK  pIoStatusBlock,
IN ULONG  ShareMode,
IN ULONG  OpenMode 
)

Definition at line 3951 of file file.c.

3957 {
3958  /* Call the I/O Function */
3959  return IoCreateFile(FileHandle,
3960  DesiredAccess,
3962  IoStatusBlock,
3963  NULL,
3964  0,
3965  ShareAccess,
3966  FILE_OPEN,
3967  OpenOptions,
3968  NULL,
3969  0,
3971  NULL,
3972  0);
3973 }
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
Definition: conport.c:35
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_STATUS _Out_ PNDIS_HANDLE _Out_ PUINT _In_ UINT _In_ NDIS_HANDLE _In_ NDIS_HANDLE _In_ PNDIS_STRING _In_ UINT OpenOptions
Definition: ndis.h:6013
_In_ PIO_STACK_LOCATION _Inout_ PFILE_OBJECT _Inout_ PVCB _Outptr_result_maybenull_ PDCB _In_ PDCB _In_ PDIRENT _In_ ULONG _In_ ULONG _In_ PUNICODE_STRING _In_ PACCESS_MASK _In_ USHORT ShareAccess
Definition: create.c:4157
HANDLE FileHandle
Definition: stats.c:38
smooth NULL
Definition: ftsmooth.c:416
#define FILE_OPEN
Definition: from_kernel.h:54
_In_ PIO_STACK_LOCATION _Inout_ PFILE_OBJECT _Inout_ PVCB _Outptr_result_maybenull_ PDCB _In_ PDCB _In_ PDIRENT _In_ ULONG _In_ ULONG _In_ PUNICODE_STRING _In_ PACCESS_MASK DesiredAccess
Definition: create.c:4157
static OUT PIO_STATUS_BLOCK IoStatusBlock
Definition: pipe.c:75
NTSTATUS NTAPI IoCreateFile(OUT PHANDLE FileHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes, OUT PIO_STATUS_BLOCK IoStatusBlock, IN PLARGE_INTEGER AllocationSize OPTIONAL, IN ULONG FileAttributes, IN ULONG ShareAccess, IN ULONG Disposition, IN ULONG CreateOptions, IN PVOID EaBuffer OPTIONAL, IN ULONG EaLength, IN CREATE_FILE_TYPE CreateFileType, IN PVOID ExtraCreateParameters OPTIONAL, IN ULONG Options)
Definition: file.c:3009

Referenced by AccpOpenNamedObject(), BtrfsDeviceAdd::AddDevice(), AddPartitionToDisk(), AllocConsole(), BasepMapFile(), BasepNotifyTrackingService(), BasepOpenFileForMove(), CabinetOpen(), CallCacheControl(), CommandDumpSector(), CommandPartInfo(), CreateDirectoryExW(), CreateHardLinkW(), CreatePartitionList(), CreatePipe(), CreateProcessInternalW(), DeleteFileW(), DismountVolume(), DoesPathExist(), find_devices(), FindFirstChangeNotificationW(), FindFirstFileExW(), FindNTOSInstallations(), FormatEx2(), GetDiskFreeSpaceExW(), GetDiskFreeSpaceW(), GetDriveTypeW(), GetFileSecurityW(), GetFileSystemName_UStr(), GetVolumeInformationW(), GetVolumeNameForRoot(), InferFileSystem(), InfOpenFile(), InfWriteFile(), IniCacheLoad(), InstallBtrfsBootCodeToDisk(), InstallFat12BootCodeToFloppy(), InstallFat16BootCode(), InstallFat16BootCodeToDisk(), InstallFat16BootCodeToFile(), InstallFat32BootCode(), InstallFat32BootCodeToDisk(), InstallFat32BootCodeToFile(), InstallMbrBootCodeToDiskHelper(), InstallSetupInfFile(), is_mounted_multi_device(), IsThereAValidBootSector(), IsValidNTOSInstallation(), KsecOpenDevice(), LdrpCheckForLoadedDll(), LdrpCreateDllSection(), lookup_winsxs(), main(), MapFile(), MoveFileWithProgressW(), MyDeleteFile(), NtOpenObject(), open_nt_file(), OpenAndMapFile(), OpenBootStore_UStr(), OpenDirectoryByHandleOrPath(), OpenFile(), OpenKeyboard(), openTcpFile(), PICE_open(), BtrfsDeviceAdd::populate_device_tree(), RegisterUncProvider(), RegRestoreKeyW(), RemoveDirectoryW(), ReplaceFileW(), RtlSetCurrentDirectory_U(), SaveBootSector(), SdbpOpenMemMappedFile(), SetFileAttributesW(), SetFileSecurityW(), SetupCopyFile(), SetupDeleteFile(), SetupMoveFile(), SetVolumeLabelW(), SmpCreateVolumeDescriptors(), SmpDeletePagingFile(), SmpGetPagingFileSize(), SmpGetVolumeFreeSpace(), SmpInitializeKnownDllsInternal(), SmpProcessFileRenames(), START_TEST(), Test_ImageSection(), Test_ImageSection2(), VfatFormat(), VfatxFormat(), WaitNamedPipeW(), WritePartitions(), and xOpenFile().

◆ NtOpenKey()

NTSYSAPI NTSTATUS NTAPI NtOpenKey ( OUT PHANDLE  KeyHandle,
IN ACCESS_MASK  DesiredAccess,
IN POBJECT_ATTRIBUTES  ObjectAttributes 
)

Definition at line 336 of file ntapi.c.

339 {
340  CM_PARSE_CONTEXT ParseContext = {0};
341  HANDLE Handle;
344  PAGED_CODE();
345  DPRINT("NtOpenKey(Path: %wZ, Root %x, Access: %x)\n",
346  ObjectAttributes->ObjectName, ObjectAttributes->RootDirectory, DesiredAccess);
347 
348  /* Ignore the WOW64 flag, it's not valid in the kernel */
350 
351  /* Check for user-mode caller */
352  if (PreviousMode != KernelMode)
353  {
354  /* Prepare to probe parameters */
355  _SEH2_TRY
356  {
357  /* Probe the key handle */
359  *KeyHandle = NULL;
360 
361  /* Probe object attributes */
363  sizeof(OBJECT_ATTRIBUTES),
364  sizeof(ULONG));
365  }
367  {
368  /* Return the exception code */
370  }
371  _SEH2_END;
372  }
373 
374  /* Just let the object manager handle this */
377  PreviousMode,
378  NULL,
380  &ParseContext,
381  &Handle);
382 
383  /* Only do this if we succeeded */
384  if (NT_SUCCESS(Status))
385  {
386  _SEH2_TRY
387  {
388  /* Return the handle to caller */
389  *KeyHandle = Handle;
390  }
392  {
393  /* Get the status */
395  }
396  _SEH2_END;
397  }
398 
399  DPRINT("Returning handle %x, Status %x.\n", Handle, Status);
400 
401  /* Return status */
402  return Status;
403 }
NTSTATUS NTAPI ObOpenObjectByName(IN POBJECT_ATTRIBUTES ObjectAttributes, IN POBJECT_TYPE ObjectType, IN KPROCESSOR_MODE AccessMode, IN PACCESS_STATE PassedAccessState, IN ACCESS_MASK DesiredAccess, IN OUT PVOID ParseContext, OUT PHANDLE Handle)
Definition: obhandle.c:2529
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
Definition: conport.c:35
#define KEY_WOW64_RES
Definition: cmtypes.h:47
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG _Out_ PNDIS_STRING _Out_ PNDIS_HANDLE KeyHandle
Definition: ndis.h:4711
LONG NTSTATUS
Definition: precomp.h:26
KPROCESSOR_MODE NTAPI ExGetPreviousMode(VOID)
Definition: sysinfo.c:2982
#define PAGED_CODE()
Definition: video.h:57
_SEH2_TRY
Definition: create.c:4250
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
smooth NULL
Definition: ftsmooth.c:416
void DPRINT(...)
Definition: polytest.cpp:61
_In_ HANDLE Handle
Definition: extypes.h:390
_In_ KPROCESSOR_MODE PreviousMode
Definition: sefuncs.h:103
#define _SEH2_YIELD(STMT_)
Definition: pseh2_64.h:8
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
#define ProbeForWriteHandle(Ptr)
Definition: probe.h:43
CCHAR KPROCESSOR_MODE
Definition: ketypes.h:7
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
Definition: exintrin.c:102
Status
Definition: gdiplustypes.h:24
_SEH2_END
Definition: create.c:4424
_In_ PIO_STACK_LOCATION _Inout_ PFILE_OBJECT _Inout_ PVCB _Outptr_result_maybenull_ PDCB _In_ PDCB _In_ PDIRENT _In_ ULONG _In_ ULONG _In_ PUNICODE_STRING _In_ PACCESS_MASK DesiredAccess
Definition: create.c:4157
unsigned int ULONG
Definition: retypes.h:1
#define CmpKeyObjectType
Definition: ObTypes.c:132
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
#define _SEH2_GetExceptionCode()
Definition: pseh2_64.h:12

Referenced by AddCodepageToRegistry(), AddFontsSettingsToRegistry(), BaseComputeProcessDllPath(), BasepIsProcessAllowed(), BaseSrvIsVdmAllowed(), CmGetSystemDriverList(), CmpCreateControlSet(), CmpInitializeMachineDependentConfiguration(), CmpSetSystemValues(), CreateBaseAcls(), DeleteKeyTest(), DeleteSymLinkKey(), DeleteValueTest(), do_enumeratekey(), DumpRegistryData(), EnumerateKeyTest(), EnumerateValueTest(), GetComputerIdentifier(), GetComputerNameFromRegistry(), GetCPFileNameFromRegistry(), GetDisplayIdentifier(), GetDllList(), GetDosDevicesProtection(), GetRegInt(), GetTimeouts(), InitFunctionPtrs(), InitializeFmIfsOnce(), InitializeUserModePnpManager(), InstallDevice(), IsAcpiComputer(), IsShimInfrastructureDisabled(), LsapCreateDbObject(), LsapGetObjectAttribute(), LsapOpenDbObject(), LsapRegDeleteSubKey(), LsapRegOpenKey(), NLS_RegOpenKey(), NtOpenObject(), open_classes_key(), OpenClassesRootKey(), OpenCurrentConfigKey(), OpenLocalMachineKey(), OpenRegistryKeyHandle(), OpenUsersKey(), ProcessDisplayRegistry(), ProcessLocaleRegistry(), RegCleanupRegistry(), RegCopyTreeW(), RegDeleteKeyExW(), RegDeleteKeyValueW(), RegInitializeRegistry(), registry_callback(), RegOpenKeyExW(), RegOpenUserClassesRoot(), RegpCopyTree(), RegReplaceKeyW(), RegSetKeyValueA(), RegSetKeyValueW(), SampRegDeleteKey(), SampRegOpenKey(), SdbpOpenKey(), SetActiveComputerNameToRegistry(), SetComputerNameToRegistry(), SetDefaultPagefile(), SetGeoID(), SetMountedDeviceValue(), SetRosSpecificInfo(), SmLookupSubsystem(), SmpCreateDynamicEnvironmentVariables(), SmpLoadDataFromRegistry(), SmpQueryRegistrySosOption(), SmpTranslateSystemPartitionInformation(), START_TEST(), test1(), test2(), test3(), test5(), test8(), test9(), Test_KeyFullInformation(), Test_KeyNameInformation(), TestCreateOpen_(), and UnhandledExceptionFilter().

◆ NtQueryInformationFile()

NTSYSAPI NTSTATUS NTAPI NtQueryInformationFile ( IN HANDLE  hFile,
OUT PIO_STATUS_BLOCK  pIoStatusBlock,
OUT PVOID  FileInformationBuffer,
IN ULONG  FileInformationBufferLength,
IN FILE_INFORMATION_CLASS  FileInfoClass 
)

◆ NtQueryValueKey()

◆ NtReadFile()

NTSYSAPI NTSTATUS NTAPI NtReadFile ( IN HANDLE  hFile,
IN HANDLE hEvent  OPTIONAL,
IN PIO_APC_ROUTINE IoApcRoutine  OPTIONAL,
IN PVOID IoApcContext  OPTIONAL,
OUT PIO_STATUS_BLOCK  pIoStatusBlock,
OUT PVOID  ReadBuffer,
IN ULONG  ReadBufferLength,
IN PLARGE_INTEGER FileOffset  OPTIONAL,
IN PULONG  LockOperationKey 
)

◆ NtSetInformationFile()

NTSYSAPI NTSTATUS NTAPI NtSetInformationFile ( IN HANDLE  hFile,
OUT PIO_STATUS_BLOCK  pIoStatusBlock,
IN PVOID  FileInformationBuffer,
IN ULONG  FileInformationBufferLength,
IN FILE_INFORMATION_CLASS  FileInfoClass 
)

Definition at line 3042 of file iofunc.c.

3047 {
3049  NTSTATUS Status;
3050  PIRP Irp;
3052  PIO_STACK_LOCATION StackPtr;
3054  PKEVENT Event = NULL;
3055  BOOLEAN LocalEvent = FALSE;
3056  PKNORMAL_ROUTINE NormalRoutine;
3057  PVOID NormalContext;
3058  KIRQL OldIrql;
3059  IO_STATUS_BLOCK KernelIosb;
3060  PVOID Queue;
3063  PFILE_RENAME_INFORMATION RenameInfo;
3065  PAGED_CODE();
3066  IOTRACE(