ReactOS 0.4.15-dev-7788-g1ad9096
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(), AddNotificationDll(), Window::AppBar_Register(), CertSaveStore(), CheckListWndProc(), cmd_mklink(), CommandMemory(), create_printer_dc(), CRYPT_AsnDecodeBasicConstraints2(), CRYPT_AsnDecodeBool(), CRYPT_AsnDecodeExtension(), CRYPT_AsnDecodeIssuingDistPoint(), d3dx_set_shader_const_state(), DECLARE_INTERFACE_(), DirList(), do_register_dll(), DPLAYX_PrivHeapAlloc(), EDIT_CheckCombo(), EDIT_WindowProc(), EditGlyphEditWndProc(), EditGlyphPreviewWndProc(), FilterAudioMuteHandler(), FilterAudioVolumeHandler(), GetFileNameFromBrowse(), GetFileNamePreview(), GetSecurityDescriptorDacl(), GetSecurityDescriptorGroup(), GetSecurityDescriptorOwner(), GetSecurityDescriptorSacl(), GetSystemTimeAdjustment(), HEADER_SetUnicodeFormat(), ImeWnd_OnImeControl(), ImeWnd_OnImeSystem(), Imm32ProcessHotKey(), init_tests(), IntGdiGetFontResourceInfo(), IntGetIcdData(), IntGrayString(), is_process_limited(), IsAnyDesktopRunning(), SettingsFieldBool::Load(), CInternetToolbar::LockUnlockToolbars(), ME_HandleMessage(), MonitorSelWndProc(), MonthCalWndProc(), myAddPrinterDriverEx(), NpGetUserNamep(), NtUserCallOneParam(), NtUserCallTwoParam(), NtUserChangeClipboardChain(), NtUserGetClassInfo(), NtUserGetComboBoxInfo(), CAutoComplete::OnAutoCompStart(), CFontsDialog::OnCommand(), CDesktopBrowser::OnGetChangeNotifyServer(), CTrayClockWnd::OnGetMinimumSize(), CTrayNotifyWnd::OnGetMinimumSize(), CAutoComplete::OnShowWindow(), PlaySoundRoutine(), PrivilegeCheck(), CAC97MiniportTopology::PropertyHandler_OnOff(), query_init(), QueryColorProfile(), read_bitmap_patterns(), ReadSettings(), SetDefaultCommConfigW(), SHChangeNotifyDeregister(), ShowDeviceProperties(), SpecialFolderFSPath::SpecialFolderFSPath(), SQLConfigDriver(), SQLConfigDriverW(), START_TEST(), StatusBarLoadAndFormatString(), StatusBarLoadString(), test_allocateLuid(), test_cryptTls(), test_DeviceCapabilities(), test_dispinfo(), test_format_object(), test_GetFileVersionInfoEx(), test_GetScrollBarInfo(), test_I_UpdateStore(), test_Input_unicode(), test_lookupPrivilegeName(), test_lookupPrivilegeValue(), test_margins_default(), test_normal_imports(), Test_OneParamRoutine_SwapMouseButtons(), test_readTrustedPublisherDWORD(), test_shell_window(), test_timer(), TOOLBAR_SetRedraw(), TOOLBAR_SetUnicodeFormat(), ui_init(), UpDownWindowProc(), use_common(), VfdIsValidPlatform(), WinMain(), wmain(), 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:
#define CONTEXT_CONTROL
Definition: nt_native.h:1369
#define CONTEXT_INTEGER
Definition: nt_native.h:1370
#define CONTEXT_SEGMENTS
Definition: nt_native.h:1371

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) \
)
_In_ CDROM_SCAN_FOR_SPECIAL_INFO _In_ PCDROM_SCAN_FOR_SPECIAL_HANDLER Function
Definition: cdrom.h:1156
DeviceType
Definition: mmdrv.h:42

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 __drv_when(), __ReadFile(), __report_error(), _ActivateCtx(), _check_custom_policy(), _CrtDbgReportToFile(), _DeactivateCtx(), _enumeratorRememberedW(), _GetRandomLevel(), CDefView::_GetSnapToGrid(), _HandleConfigureLPTPortCommandOK(), _HandleGetTransmissionRetryTimeout(), _heapwalk(), CTrayWindow::_Init(), _InitializeLocalSpooler(), _InitializePrintProviderList(), _LocalGetJobLevel2(), _LocalGetPrinterHandleData(), _LocalGetPrintServerHandleData(), _LocalSetPrinterHandleData(), _LocalSetPrintServerHandleData(), _OpenEnvironment(), CRegPropertyBag::_ReadDword(), _Success_(), AboutProtocolInfo_QueryInfo(), AccpCalcNeededAceSize(), AccpLookupCurrentUser(), AccpOpenNamedObject(), AccRewriteGetHandleRights(), AccRewriteSetHandleRights(), acmDriverPriority(), AddDesktopItemW(), KeyTranslator::AddGlobalDef(), AddItemW(), AddNotificationDll(), AddPrintMonitorList(), AdjustStatusMessageWindow(), AlignRpcPtr(), AllowDesktopAccessToUser(), AllowWinstaAccessToUser(), AntiMonikerImpl_GetSizeMax(), APPINFO_QueryOption(), ApplyEventlogSettings(), ApplyParameterStringsToMessage(), ApplyRegistryValues(), assembly_get_external_files(), AttachToConsoleInternal(), AVIFILE_AddRecord(), AVIFILE_ComputeMoviStart(), AVIFILE_ConstructAVIStream(), AVIFILE_DestructAVIStream(), AVIFILE_LoadIndex(), AVIFILE_OpenCompressor(), AVIFILE_ReadBlock(), AVIFILE_SaveFile(), AVISaveOptionsFmtChoose(), AVISplitter_ProcessOldIndex(), BinaryFileCompare(), bInitSURF(), BiosMiscService(), BmpDecoder_ReadHeaders(), buffer_conversion_upload(), build_systeminfo_tree(), BuildDesktopNameList(), BuildWindowStationNameList(), CComCatCachedCategory::CacheDSA(), CActiveLanguageProfileNotifySink::CActiveLanguageProfileNotifySink(), CanBeMinimized(), CandidateListAnsiToWide(), CandidateListWideToAnsi(), CDevSettings_SetPruningMode(), CertGetCRLContextProperty(), CertGetCTLContextProperty(), CertGetStoreProperty(), CertSaveStore(), ATL::CFileTime::CFileTime(), ChangeNtProductType(), ChangeServiceConfigA(), ChangeServiceConfigW(), check_generated_effects_(), check_reg_dword(), check_safearray(), CheckForLiveCD(), CheckListWndProc(), CheckTerminalDeviceType(), ClassTest(), CLEANLOCALSTORAGE_UserMarshal(), CLEANLOCALSTORAGE_UserSize(), CLEANLOCALSTORAGE_UserUnmarshal(), ClickLockProc(), ClientRpcChannelBuffer_GetBuffer(), cmd_mklink(), CmdDebugService(), co_IntImmProcessKey(), co_IntSetWindowLongPtr(), CoInternetQueryInfo(), CommConfigDialogW(), ComponentInfo_GetDWORDValue(), CompositeMonikerImpl_GetSizeMax(), ComputeConformanceOrVariance(), convert_hash_to_blob(), convert_nfs4acl_2_dacl(), convert_to_wined3d_declaration(), convertHexToDWord(), ConvExecute(), ConWrite(), copy_bitmapinfo(), CopyStreamUI(), create_activex_object(), create_bitmap_file(), create_connection_settings(), create_DataFormat(), create_object(), create_printer_dc(), create_script(), CreateApplicationDesktopSecurity(), CreateEnhMetaFileA(), CreateGroupListRoutine(), CreateGroupOrderListRoutine(), CreateInternalDeviceData(), CreateJunction(), CreateNewValue(), CreateScreenSaverSecurity(), CreateServiceA(), CreateServiceListEntry(), CreateServiceW(), CreateWinlogonDesktopSecurity(), CreateWinstaSecurity(), CredMarshalCredentialW(), CRYPT_AsnDecodeCertInfo(), CRYPT_AsnDecodeCMSSignedInfo(), CRYPT_AsnDecodeCMSSignerInfoInternal(), CRYPT_AsnDecodeCRLInfo(), CRYPT_AsnDecodeCTL(), CRYPT_AsnDecodePKCSDigestedData(), CRYPT_AsnDecodePKCSEnvelopedData(), CRYPT_AsnDecodePKCSSignerInfoInternal(), CRYPT_AsnDecodeRecipientInfo(), CRYPT_AsnDecodeRsaPrivKey(), CRYPT_AsnDecodeRsaPubKey(), CRYPT_AsnDecodeSubtree(), CRYPT_AsnEncodeEnumerated(), CRYPT_EncodePKCSDigestedData(), CryptAcquireContextW(), CryptCATOpen(), CryptEnumProvidersW(), CSignedMsgData_AppendMessageDigestAttribute(), CTextEventSink::CTextEventSink(), CtfImmGetGuidAtom(), CtfImmIsGuidMapEnable(), CURSORICON_GetCursorDataFromANI(), d3dcompiler_parse_rdef(), d3dcompiler_parse_signature(), d3dx_effect_SetVector(), D3DXCreatePolygon(), D3DXCreatePolygonTest(), D3DXGetFVFVertexSize(), D3DXGetImageInfoFromFileInMemory(), D3DXLoadSurfaceFromMemory(), DdCreateSurface(), DECLARE_INTERFACE_(), decode_string(), 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(), elem_wire_size(), EMFDC_PolyDraw(), emfdc_polylinegon(), CBaseBarSite::EnumBands(), CBandSiteBase::EnumBands(), EnumClientServiceProtocol(), EnumerateNt4ServiceSoundDevices(), EnumEventsThread(), enumFontProc(), EnumNamesW(), EnumProcesses(), ExitWindowsDialog(), export_private_key_impl(), export_public_key_impl(), f_lseek(), f_mkfs(), fetch_next_frame32(), FGetComponentPath(), FileAsyncReader_Length(), FileAsyncReader_Request(), FileAsyncReader_SyncRead(), FileExtractDialogWndProc(), FileTypesDlg_InitListView(), fill_attribute_table(), FillResolutionsAndColors(), FindContextAlias(), FindProvRegVals(), FM2_ReadFilterData(), FM2_WriteFilterData(), FNREAD(), FNWRITE(), FontTypeChange(), format_from_vec4(), FTMarshalImpl_GetMarshalSizeMax(), FTP_FtpCreateDirectoryW(), FTP_FtpDeleteFileW(), FTP_FtpGetFileW(), FTP_FtpPutFileW(), FTP_FtpRemoveDirectoryW(), FTP_FtpRenameFileW(), FTPFILE_QueryOption(), FTPFINDNEXT_QueryOption(), FTPSESSION_QueryOption(), GdiProcessSetup(), GeneralPageProc(), generate_security_id(), Get(), get_dword_from_reg(), get_element_size(), get_feature_from_reg(), get_flexible_vertex_size(), get_http_status_code(), get_regdata(), get_sd(), get_stgdef(), get_url_encoding(), get_zone_for_scheme(), get_zone_from_reg(), GetAdaptersInfo(), CInstalledApplicationInfo::GetApplicationRegDword(), GetCalendarInfoW(), GetComputerNameA(), GetCurrentDPI(), GetCurrentHwProfileW(), CAC97MiniportTopology::GetDBValues(), GetDefaultCommConfigW(), GetDefaultPrinterFromRegistry(), GetDefaultPrinterW(), GetDeletedFileDetailsW(), GetDeletedFileTypeNameW(), GetDIBPixel(), GetDriverName(), GetExitCodeProcess(), GetFileInformationByHandle(), gethmsfromlargeint(), GetOwnerModuleFromTagEntry(), GetParallelPortNumber(), GetProcessAffinityMask(), GetProfile(), GetProfiles(), GetSerialPortNumber(), GetServiceInstanceList(), GetServiceInstanceListSize(), CSysTray::GetServicesEnabled(), GetSetupType(), CQueryAssociations::GetString(), GetStyleValue(), GetSystemTimeAdjustment(), GetUserWaitInterval(), GlobalMemoryStatusEx(), HardProfDlgProc(), hash_url(), 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(), ICreateTypeLib2_fnSaveAllChanges(), ID3DXAllocateHierarchyImpl_CreateMeshContainer(), IDirectSoundCaptureBufferImpl_GetCurrentPosition(), IEWinMain(), IKsControlImpl_KsProperty(), ImeWnd_OnImeControl(), ImeWnd_OnImeSystem(), Imm32CheckImcProcess(), Imm32CompClauseAnsiToWide(), Imm32CompClauseWideToAnsi(), Imm32CreateInputContext(), Imm32InquireIme(), Imm32InternalLockIMC(), Imm32LoadBitmapFromBytes(), Imm32MakeIMENotify(), Imm32StoreBitmapToBytes(), ImmCreateContext(), ImmCreateIMCC(), ImmGetImeMenuItemsAW(), ImmLockClientImc(), ImmSetCompositionStringAW(), import_plaintext_key(), INET_QueryOption(), ExplorerGlobals::init(), init_hash(), init_tests(), InitDisplayDriver(), TLS::Initialize(), InitializeFormList(), CNetConnectionPropertyUi::InitializeLANPropertiesUIDlg(), InitializePrinterList(), InitializePrintMonitor2(), InitializePrintMonitorList(), InitializePrintProcessorList(), InitializeRecycleBinDlg(), InitOurDirectory(), InputProcessorProfiles_IsEnabledLanguageProfile(), InstallDevice(), InstallOneService(), Int_EnumDependentServicesW(), IntCheckMenuItem(), interface_variant_marshal(), interface_variant_unmarshal(), InternalSelectEx(), INTERNET_LoadProxySettings(), IntGdiGetFontResourceInfo(), IntGetIcdData(), IntGetTopLevelWindow(), IntGetUnderlineState(), IntGetWindowContextHelpId(), IntSetAconData(), IPersistStream_fnGetSizeMax(), IPropertyStorage_fnWriteMultiple(), is_ie_hardened(), is_process_limited(), IsInternetESCEnabledLocal(), IsNamespaceExtensionHidden(), CTrayWindow::IsTaskWnd(), ItemMonikerImpl_GetSizeMax(), ITERATE_FindRelatedProducts(), JSProtocolInfo_QueryInfo(), KeyboardSpeedProc(), l_audio_arrival(), ld_clust(), lineGetCountryA(), lineGetCountryW(), lineGetTranslateCapsA(), LISTBOX_GetText(), LISTBOX_WindowProc(), ListBoxWndProc_common(), CSettings::Load(), load_emf(), load_mapping_settings(), load_mesh_data(), LoadDNSSettings(), LoadFilterSettings(), LoadInitialCursorScheme(), LoadLocalizedResourcesFromINI(), LoadRecoveryOptions(), LoadSettings(), LoadWinTypeFromCHM(), LocalEnumPrintProcessors(), LocalGetPrintProcessorDirectory(), LPK_ApplyMirroring(), Main_DirectDraw_GetFourCCCodes(), MainWndProc(), MakeSharedPacket(), map_font(), map_nfs4ace_who(), Marshal_GetMarshalSizeMax(), Marshal_MarshalInterface(), marshal_nfs41_easet(), marshal_nfs41_mount(), marshal_nfs41_open(), marshal_STGMEDIUM(), marshal_WdtpInterfacePointer(), MCI_DumpCommandTable(), MCI_GetReturnType(), MCI_IsCommandTableValid(), MCI_ParseOptArgs(), MCI_SetCommandTable(), mciSendStringW(), MENU_DrawMenuItem(), MENUEX_ParseResource(), METAFILE_AddPenObject(), metafile_deserialize_brush(), metafile_get_pen_brush_data_offset(), METAFILE_PlaybackObject(), MIDI_ConvertPulseToMS(), MIDI_player(), mix24(), mmioCreateChunk(), mmioDescend(), mmioDosIOProc(), MMSYSTEM_MidiStream_Convert(), MonikerMarshal_GetMarshalSizeMax(), mono_assembly_search_hook_fn(), MonSelCancelDragging(), MonthCalReload(), MouseOnApply(), MouseOnDialogInit(), MPEG3_StreamSize(), msi_get_patch_state(), msi_init_assembly_caches(), msi_reg_get_val_dword(), MsiSIPGetSignedDataMsg(), mswBufferAppendBlob_Hostent(), mswBufferAppendBlob_Servent(), myAddPrinterDriverEx(), NdrVaryingArrayBufferSize(), NdrVaryingArrayFree(), NdrVaryingArrayMarshall(), NdrVaryingArrayMemorySize(), NdrVaryingArrayUnmarshall(), NetBTWaitForNameResponse(), NetClassInstaller(), NewCtxInit(), nfs41_client_owner(), NOTEPAD_FindNext(), TaskBar::Notify(), nsChannelBSC_on_progress(), NSP_GetServiceByNameHeapAllocW(), NtUserCallHwnd(), NtUserCallHwndParamLock(), NtUserCheckMenuItem(), NtUserGetAppImeLevel(), NtUserGetClipboardSequenceNumber(), NtUserGetGuiResources(), NtUserGetListBoxInfo(), NtUserSetCursorIconData(), NtUserVkKeyScanEx(), OLEFontImpl_GetSizeMax(), OnBPPChanged(), CDefView::OnChangeNotify(), OnControl(), CChangeNotifyServer::OnDeliverNotification(), OnDisplayDeviceChanged(), OnHScroll(), CSearchBar::OnInitDialog(), OnInitSysSettingsDialog(), OnOk(), CChangeNotifyServer::OnRegister(), CChangeNotifyServer::OnRemoveByPID(), OnSize(), OnVScroll(), OutputDebugStringA(), pack_strided_data(), parent_wnd_notify(), parse_clr_tables(), parse_mesh(), parse_normals(), parse_skin_mesh_info(), parse_texture_coords(), parse_url_from_outside(), parse_value(), parse_vertex_colors(), ParseLines(), PEN_GetObject(), persist_stream_add_strprop(), persist_stream_save(), PersistStream_GetSizeMax(), PlaySoundRoutine(), PNP_CreateDevInst(), PNP_GetFirstLogConf(), PNP_GetNextLogConf(), PNP_HwProfFlags(), PNP_IsDockStationPresent(), populate_size_list(), PrepareAdapterForService(), PrimaryDirectSoundBuffer_GetPosition(), PrintFileDacl(), process_vertices_strided(), ProcessDetach(), ProcessList_Update(), ProcessPlayingNotes(), PropertyStorage_DictionaryWriter(), PropertyStorage_ReadDictionary(), PropertyStorage_ReadFromStream(), PropertyStorage_ReadProperty(), PropertyStorage_WriteDictionaryToStream(), PropertyStorage_WritePropertyToStream(), proxy_active(), query_init(), QUERY_REGISTRY_KEYS_ROUTINE(), QueryDWORD(), CicRegKey::QueryDword(), ATL::CRegKey::QueryDWORDValue(), QueryRemoteFonts(), r_verifyProxyEnable(), radiobuttonlist_on_bn_clicked(), RChangeServiceConfig2A(), RChangeServiceConfigA(), RCreateServiceA(), read_properties_from_data(), ReadChmSystem(), ReadChunkIntoExtra(), ReadDisk(), ReadExtraChunk(), ReadRecord(), ReadRegDwordValue(), ReadRegistry(), receive_response(), RecycleBin5_RecycleBin5_Delete(), RecycleBin5_RecycleBin5_DeleteFile(), RecycleBin5_RecycleBin5_Restore(), RecycleBin5Enum_RecycleBinEnumList_Next(), RecycleBin5File_RecycleBinFile_GetFileName(), RecycleBin5File_RecycleBinFile_GetTypeName(), RecycleBinDlg(), RefreshTreeItem(), reg_cb64to32(), RegEnumKeyExW(), registry_read_formatopts(), registry_read_maximized(), registry_read_previewpages(), RegQueryDword(), RegReadDWORD(), RelocateSection(), request_query_option(), ResProtocolInfo_QueryInfo(), RGetServiceDisplayNameA(), RGetServiceDisplayNameW(), RGetServiceKeyNameA(), RGetServiceKeyNameW(), riff_find_chunk(), RQueryServiceConfig2A(), RQueryServiceConfig2W(), RQueryServiceConfigA(), RQueryServiceConfigW(), RSAENH_CPGetProvParam(), RSAENH_CPSignHash(), RSAENH_CPVerifySignature(), RtlQueryInformationActivationContext(), SampIsSetupRunning(), save_emf(), SaveSettings(), ScmAcquireServiceStartLock(), ScmControlService(), ScmCreateNewControlPipe(), ScmGetControlSetValues(), ScmGetSetupInProgress(), ScmIsDeleteFlagSet(), ScmQueryServiceLockStatusA(), ScmQueryServiceLockStatusW(), ScmReadDependencies(), ScmSendStartCommand(), SdbCreateDatabase(), SeekDisk(), serialize(), serialize_dword(), serializeIcon(), 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(), SetupGetInfFileListW(), SetupIsActive(), SetVolumeCallback(), SHELL_FS_HideExtension(), SHGetInverseCMAP(), SHGetSettings(), SHLockShared(), ShowAppList(), CMainToolbar::ShowButtonCaption(), size_hlink_string(), SlWriteBytecode(), SockLoadHelperDll(), SoundPageProc(), _MdTimer::Start(), START_TEST(), StartRecDlgProc(), CFindFolder::StartSearch(), 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_D3DXFillCubeTexture(), test_D3DXFillTexture(), test_D3DXFillVolumeTexture(), test_dc_layout(), test_des(), test_effect_parameter_value(), test_effect_parameter_value_GetVector(), test_enum_container(), test_fdsa(), test_freethreadedmarshaldata(), test_GetCodePageInfo(), test_GetFileVersionInfoEx(), Test_GetFourCCCodes(), test_GetModuleInformation(), test_GetPrinter(), test_GetPrinterDriver(), test_GetSecurityInfo(), test_hashes(), test_heap(), test_I_UpdateStore(), test_import_export(), test_import_private(), Test_InitializeLpkHooks(), test_InternetQueryOptionA(), test_IPersistStream(), test_key_initialization(), test_key_permissions(), test_marshal_HENHMETAFILE(), test_marshal_HGLOBAL(), test_marshal_HMETAFILE(), test_marshal_HMETAFILEPICT(), test_marshal_LPSAFEARRAY(), test_maximum_allowed(), test_midiStream(), test_mmioSeek(), test_no_compat(), test_openCloseWAVE(), test_prov(), test_ps_userstyle(), test_query_process_handlecount(), test_rc2(), test_rc4(), test_region_data(), test_rsa_encrypt(), test_schannel_provider(), test_sha2(), test_streamonhglobal(), test_Texture(), test_timeouts(), test_url_action(), test_utils(), test_WinInetHttpInfo(), test_with_compat(), test_XcvDataW_MonitorUI(), test_XcvDataW_PortIsValid(), TestCommandLine(), TestMyEventProvider(), TOOLBAR_Restore(), TOOLBAR_Save(), ToolsPageWndProc(), UndoAlignRpcPtr(), TLS::Uninitialize(), UnixTimeToFileTime(), unmarshal_nfs41_getacl(), unmarshal_nfs41_mount(), unmarshal_nfs41_open(), unmarshal_ORPC_EXTENT_ARRAY(), unmarshal_ORPCTHAT(), unmarshal_ORPCTHIS(), unserialize_dword(), CAppDB::UpdateInstalled(), UpdatePrefDlgControls(), urlcache_entry_alloc(), urlcache_entry_free(), UrlCombineW(), 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(), WinHttpGetIEProxyConfigForCurrentUser(), WinHttpSetDefaultProxyConfiguration(), WinMain(), WintrustGetRegPolicyFlags(), WMSFT_append_arraydesc(), WMSFT_append_typedesc(), NotifyArea::WndProc(), write_element(), WriteDisk(), WriteExtraChunk(), WriteStartupRecoveryOptions(), WriteStringAt(), 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:
#define SYNCHRONIZE
Definition: nt_native.h:61
#define FILE_READ_ATTRIBUTES
Definition: nt_native.h:647
#define FILE_EXECUTE
Definition: nt_native.h:642
#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:
#define FILE_READ_DATA
Definition: nt_native.h:628
#define FILE_READ_EA
Definition: nt_native.h:638
#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:
#define FILE_WRITE_DATA
Definition: nt_native.h:631
#define FILE_WRITE_ATTRIBUTES
Definition: nt_native.h:649
#define FILE_APPEND_DATA
Definition: nt_native.h:634
#define STANDARD_RIGHTS_WRITE
Definition: nt_native.h:66
#define FILE_WRITE_EA
Definition: nt_native.h:640

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:
#define HEAP_FREE_CHECKING_ENABLED
Definition: nt_native.h:1698
#define HEAP_DISABLE_COALESCE_ON_FREE
Definition: nt_native.h:1699
#define HEAP_CLASS_MASK
Definition: nt_native.h:1719
#define HEAP_GENERATE_EXCEPTIONS
Definition: nt_native.h:1694
#define HEAP_TAIL_CHECKING_ENABLED
Definition: nt_native.h:1697
#define HEAP_GROWABLE
Definition: nt_native.h:1693
#define HEAP_CREATE_ALIGN_16
Definition: nt_native.h:1701
#define HEAP_REALLOC_IN_PLACE_ONLY
Definition: nt_native.h:1696
#define HEAP_CREATE_ENABLE_TRACING
Definition: nt_native.h:1702
#define HEAP_ZERO_MEMORY
Definition: nt_native.h:1695
#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:
& \
#define KEY_CREATE_SUB_KEY
Definition: nt_native.h:1018
#define KEY_QUERY_VALUE
Definition: nt_native.h:1016
#define STANDARD_RIGHTS_ALL
Definition: nt_native.h:69
#define KEY_ENUMERATE_SUB_KEYS
Definition: nt_native.h:1019
#define KEY_CREATE_LINK
Definition: nt_native.h:1021
#define KEY_NOTIFY
Definition: nt_native.h:1020
#define KEY_SET_VALUE
Definition: nt_native.h:1017

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:
((KEY_READ) \
& \
#define KEY_READ
Definition: nt_native.h:1023

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:

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:

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 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:
#define REG_OPTION_OPEN_LINK
Definition: nt_native.h:1070
#define REG_OPTION_CREATE_LINK
Definition: nt_native.h:1063
#define REG_OPTION_NON_VOLATILE
Definition: nt_native.h:1057
#define REG_OPTION_RESERVED
Definition: nt_native.h:1055
#define REG_OPTION_BACKUP_RESTORE
Definition: nt_native.h:1066
#define REG_OPTION_VOLATILE
Definition: nt_native.h:1060

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:
( \
RtlxAnsiStringToUnicodeSize(STRING) : \
)
#define NULL
Definition: types.h:112
std::wstring STRING
Definition: fontsub.cpp:33
#define NLS_MB_CODE_PAGE_TAG
Definition: nt_native.h:212
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList
unsigned char UCHAR
Definition: xmlstorage.h:181
__wchar_t WCHAR
Definition: xmlstorage.h:180

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:
#define SECTION_MAP_EXECUTE
Definition: nt_native.h:1290
#define SECTION_MAP_READ
Definition: nt_native.h:1289
#define SECTION_MAP_WRITE
Definition: nt_native.h:1288
#define SECTION_QUERY
Definition: nt_native.h:1287
#define SECTION_EXTEND_SIZE
Definition: nt_native.h:1291

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:

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 876 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 1595 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 1659 of file nt_native.h.

◆ PRTL_HEAP_DEFINITION

◆ PRTL_HEAP_PARAMETERS

◆ PRTL_QUERY_REGISTRY_ROUTINE

◆ 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 {
@ FilePositionInformation
Definition: nt_native.h:904
@ FileMoveClusterInformation
Definition: nt_native.h:921
@ FileInheritContentIndexInformation
Definition: nt_native.h:929
@ FilePipeLocalInformation
Definition: nt_native.h:914
@ FileMaximumInformation
Definition: nt_native.h:931
@ FileEndOfFileInformation
Definition: nt_native.h:910
@ FileNameInformation
Definition: nt_native.h:899
@ FileOleAllInformation
Definition: nt_native.h:926
@ FileCompressionInformation
Definition: nt_native.h:918
@ FileOleDirectoryInformation
Definition: nt_native.h:927
@ FileRenameInformation
Definition: nt_native.h:900
@ FileAllInformation
Definition: nt_native.h:908
@ FilePipeRemoteInformation
Definition: nt_native.h:915
@ FileOleInformation
Definition: nt_native.h:930
@ FileLinkInformation
Definition: nt_native.h:901
@ FileInternalInformation
Definition: nt_native.h:896
@ FileStandardInformation
Definition: nt_native.h:895
@ FileDirectoryInformation
Definition: nt_native.h:891
@ FileContentIndexInformation
Definition: nt_native.h:928
@ FileOleStateBitsInformation
Definition: nt_native.h:923
@ FileAlignmentInformation
Definition: nt_native.h:907
@ FileObjectIdInformation
Definition: nt_native.h:925
@ FileEaInformation
Definition: nt_native.h:897
@ FilePipeInformation
Definition: nt_native.h:913
@ FileAlternateNameInformation
Definition: nt_native.h:911
@ FileCopyOnWriteInformation
Definition: nt_native.h:919
@ FileNamesInformation
Definition: nt_native.h:902
@ FileMailslotSetInformation
Definition: nt_native.h:917
@ FileMailslotQueryInformation
Definition: nt_native.h:916
@ FileAllocationInformation
Definition: nt_native.h:909
@ FileCompletionInformation
Definition: nt_native.h:920
@ FileAccessInformation
Definition: nt_native.h:898
@ FileFullDirectoryInformation
Definition: nt_native.h:892
@ FileOleClassIdInformation
Definition: nt_native.h:922
@ FileNetworkOpenInformation
Definition: nt_native.h:924
@ FileStreamInformation
Definition: nt_native.h:912
@ FileModeInformation
Definition: nt_native.h:906
@ FileBasicInformation
Definition: nt_native.h:894
@ FileDispositionInformation
Definition: nt_native.h:903
@ FileFullEaInformation
Definition: nt_native.h:905
@ FileBothDirectoryInformation
Definition: nt_native.h:893
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.

995 {
1002 FileFsQuotaQueryInformation, // temporary
1003 FileFsQuotaSetInformation, // temporary
enum _FSINFOCLASS * PFS_INFORMATION_CLASS
@ FileFsControlInformation
Definition: nt_native.h:1001
@ FileFsDeviceInformation
Definition: nt_native.h:999
@ FileFsLabelInformation
Definition: nt_native.h:997
@ FileFsQuotaSetInformation
Definition: nt_native.h:1003
@ FileFsAttributeInformation
Definition: nt_native.h:1000
@ FileFsVolumeInformation
Definition: nt_native.h:996
@ FileFsSizeInformation
Definition: nt_native.h:998
@ FileFsMaximumInformation
Definition: nt_native.h:1004
@ FileFsQuotaQueryInformation
Definition: nt_native.h:1002
enum _FSINFOCLASS FS_INFORMATION_CLASS

◆ _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 {
@ KeyBasicInformation
Definition: nt_native.h:1131
@ KeyNodeInformation
Definition: nt_native.h:1132
@ KeyFullInformation
Definition: nt_native.h:1133
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
@ KeyWriteTimeInformation
Definition: nt_native.h:1141

◆ _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.

1179 {
@ KeyValueBasicInformation
Definition: nt_native.h:1180
@ KeyValuePartialInformation
Definition: nt_native.h:1182
@ KeyValueFullInformation
Definition: nt_native.h:1181
enum _KEY_VALUE_INFORMATION_CLASS KEY_VALUE_INFORMATION_CLASS
Definition: reg.c:135

◆ _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
enum _SECTION_INHERIT SECTION_INHERIT
@ ViewUnmap
Definition: nt_native.h:1279
@ ViewShare
Definition: nt_native.h:1278

Function Documentation

◆ NtClose()

NTSTATUS NTAPI NtClose ( IN HANDLE  Handle)

Definition at line 3402 of file obhandle.c.

3403{
3404 /* Call the internal API */
3406}
#define ExGetPreviousMode
Definition: ex.h:140
ULONG Handle
Definition: gdb_input.c:15
NTSTATUS NTAPI ObpCloseHandle(IN HANDLE Handle, IN KPROCESSOR_MODE AccessMode)
Definition: obhandle.c:1730

Referenced by _At_(), _main(), _tmain(), AccessCheckEmptyMappingTest(), AccessGrantedMultipleObjectsTests(), AccessGrantedNoDaclTests(), AccessGrantedTests(), AccpCloseObjectHandle(), AddCodepageToRegistry(), AddFontsSettingsToRegistry(), AddHotkeySettings(), AddKbLayoutsToRegistry(), AddPartitionToDisk(), AddVolumeToList(), AfdBind(), AfdConnect(), AfdGetInformation(), AfdSend(), AfdSendTo(), AfdSetInformation(), AllocConsole(), BaseComputeProcessDllPath(), BaseGetNamedObjectDirectory(), BaseInitializeStaticServerData(), BasepCopyFileExW(), BasepIsProcessAllowed(), BasepMapFile(), BasepMoveFileDelayed(), BasepNotifyTrackingService(), BasepOpenFileForMove(), BasepSxsCloseHandles(), BaseSrvCleanupVDMResources(), BaseSrvCreatePairWaitHandles(), BaseSrvDestroyConsoleRecord(), BaseSrvDestroyPairWaitHandles(), BaseSrvIsVdmAllowed(), Beep(), CabinetExtractFile(), CallApphelpWithImage(), CallCacheControl(), check_boot_options(), CheckForGlobalDriveLetter(), CheckTokenMembership(), clean_main(), ClientThread(), CloseCabinet(), CloseDefaultKeys(), CloseDevice(), CloseHandle(), CloseIniBootLoaderStore(), closeTcpFile(), CmGetSystemDriverList(), CmInitSystem1(), CmpCreateControlSet(), CmpCreateHardwareProfile(), CmpInitializeHardwareConfiguration(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpSetSystemValues(), CmpSetupConfigurationTree(), CmpSetVersionData(), CommandDumpSector(), CommandPartInfo(), CON_API(), ConCfgOpenUserSettings(), ConDrvDeinitInputBuffer(), 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(), CreateRemoteThread(), CreateSymbolicLinkW(), CreateSymLinkKey(), CreateWindowStationW(), CSR_API(), CsrApiPortInitialize(), CsrCreateRemoteThread(), CsrGetProcessLuid(), CsrpCheckRequestThreads(), CsrpConnectToServer(), CsrProcessRefcountZero(), CsrSbApiRequestThread(), CsrSetProcessSecurity(), CsrSrvCreateSharedSection(), CsrThreadRefcountZero(), DbgUiIssueRemoteBreakin(), DebugActiveProcess(), DebugActiveProcessStop(), DeleteFileW(), DeleteKeyTest(), DeleteSymLinkKey(), DeleteValueTest(), DenyAccessTests(), DestroyProtoHive(), DismountVolume(), do_enumeratekey(), DoesPathExist(), DumpDisk(), DumpPartition(), 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(), get_system_root(), GetCallerLuid(), GetComputerIdentifier(), GetComputerNameFromRegistry(), GetCPFileNameFromRegistry(), GetDiskFreeSpaceExW(), GetDiskFreeSpaceW(), GetDisplayIdentifier(), GetDllList(), GetDosDevicesProtection(), GetDriveTypeW(), GetFileSecurityW(), GetFileSystem(), GetFileSystemInfo(), GetFileSystemName_UStr(), GetNTObjectSymbolicLinkTarget(), GetPhysicalFileSize(), GetRegInt(), GetSocketInformation(), GetSourcePaths(), GetTempFileNameW(), GetTimeouts(), GetToken(), GetTokenProcess(), GetUserGeoID(), GetVolumeInformationW(), GetVolumeNameForRoot(), GrantedAccessTests(), GRAPHICS_BUFFER_Destroy(), GRAPHICS_BUFFER_Initialize(), GuiApplyUserSettings(), GuiConsoleShowConsoleProperties(), GuiDeinitFrontEnd(), GuiInit(), GuiInitFrontEnd(), IcmpCloseHandle(), ImpersonateLoggedOnUser(), InferFileSystem(), InfOpenFile(), InfWriteFile(), IniCacheLoad(), IniCacheSave(), InitFunctionPtrs(), InitializeFmIfsOnce(), InitializeUserModePnpManager(), InitLogPort(), InstallBootCodeToDisk(), InstallBootCodeToFile(), InstallDevice(), InstallDriver(), InstallSetupInfFile(), IntAllocConsole(), IntAttachConsole(), IntGetCodePageEntry(), IopCreateRootDirectories(), IopInitializePlugPlayServices(), IopMarkBootPartition(), is_mounted_multi_device(), IsAcpiComputer(), IsShimInfrastructureDisabled(), IsThisARootDirectory(), IsValidLanguageGroup(), IsValidNTOSInstallation(), JapaneseEra_IsFirstYearGannen(), JapaneseEra_Load(), keyed_event_thread(), KsecOpenDevice(), LdrOpenImageFileOptionsKey(), LdrpCheckForKnownDll(), LdrpCheckForLoadedDll(), LdrpCreateDllSection(), LdrpDisableProcessCompatGuidDetection(), LdrpInitializeProcess(), LdrpMapDll(), LdrQueryImageFileExecutionOptionsEx(), LdrVerifyImageMatchesChecksum(), ListDirectory(), LoadModule(), LoadSymbolsRoutine(), LogfBackupFile(), LogfClose(), LogfCreate(), lookup_assembly(), lookup_winsxs(), LsaConnectUntrusted(), LsapAddNotification(), LsapCheckLogonProcess(), LsapCloseDbObject(), LsapCloseLsaPort(), LsapCreateDatabaseKeys(), LsapCreateDbObject(), LsapDeleteDbObject(), LsapDeregisterLogonProcess(), LsapEnumLogonSessions(), LsapGetLogonSessionData(), LsapGetObjectAttribute(), LsapIsDatabaseInstalled(), LsapIsTrustedClient(), LsapLogonUser(), LsapOpenDbObject(), LsapRegCloseKey(), LsapRegDeleteSubKey(), LsapRemoveNotification(), 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=(), ParamsValidationTests(), ParamValidationNoObjsList(), parse_file(), Phase1InitializationDiscard(), PipGetDriverTagPriority(), PortThreadRoutine(), PrintProcess(), PrintThreads(), PrivMoveFileIdentityW(), ProcessDisplayRegistry(), ProcessIdToSessionId(), ProcessLocaleRegistry(), QueryDosDeviceW(), QueryTokenImpersonationTests(), QueryTokenIsSandboxInert(), QueryTokenPrivilegesAndGroupsTests(), QueryTokenRestrictedSidsTest(), ReadBlock(), ReadBootCodeFromFile(), 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(), SetRosSpecificInfo(), SetSocketInformation(), SetupCopyFile(), SetupCreateSingleDirectory(), SetupDeleteFile(), SetupMoveFile(), SetUserGeoID(), SetValueTest1(), SetValueTest2(), SetVolumeLabelW(), SmExecPgm(), SmExecuteProgram(), SmLookupSubsystem(), SmpAcquirePrivilege(), SmpConfigureObjectDirectories(), SmpCreateDynamicEnvironmentVariables(), SmpCreateVolumeDescriptors(), SmpDeletePagingFile(), SmpDereferenceSubsystem(), SmpExecPgm(), SmpExecuteImage(), SmpExecuteInitialCommand(), SmpGetPagingFileSize(), SmpGetVolumeFreeSpace(), SmpHandleConnectionRequest(), SmpInit(), SmpInitializeDosDevices(), SmpInitializeKnownDllsInternal(), SmpLoadDataFromRegistry(), SmpLoadSubSystem(), SmpProcessFileRenames(), SmpQueryRegistrySosOption(), SmpReleasePrivilege(), SmpSbCreateSession(), SmpStartCsr(), 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_RawSize(), 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(), WSPAccept(), WSPBind(), WSPCloseSocket(), WSPConnect(), WSPDuplicateSocket(), WSPEnumNetworkEvents(), WSPEventSelect(), WSPGetPeerName(), WSPGetSockName(), WSPListen(), WSPRecv(), WSPRecvFrom(), WSPSelect(), WSPSend(), WSPSendTo(), WSPShutdown(), WSPSocket(), CEnumNTDirectory::~CEnumNTDirectory(), mountmgr::~mountmgr(), 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 876 of file wait.c.

878{
880 LARGE_INTEGER SafeInterval;
882
883 /* Check the previous mode */
885 {
886 /* Enter SEH for probing */
888 {
889 /* Probe and capture the time out */
890 SafeInterval = ProbeForReadLargeInteger(DelayInterval);
891 DelayInterval = &SafeInterval;
892 }
894 {
895 /* Return the exception code */
897 }
898 _SEH2_END;
899 }
900
901 /* Call the Kernel Function */
903 Alertable,
904 DelayInterval);
905
906 /* Return Status */
907 return Status;
908}
LONG NTSTATUS
Definition: precomp.h:26
#define KeDelayExecutionThread(mode, foo, t)
Definition: env_spec_w32.h:484
#define _SEH2_END
Definition: filesup.c:22
#define _SEH2_TRY
Definition: filesup.c:19
Status
Definition: gdiplustypes.h:25
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
#define KernelMode
Definition: asm.h:34
_In_ PVOID _In_ BOOLEAN Alertable
Definition: exfuncs.h:453
#define _SEH2_GetExceptionCode()
Definition: pseh2_64.h:159
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:34
#define _SEH2_YIELD(__stmt)
Definition: pseh2_64.h:162
#define ProbeForReadLargeInteger(Ptr)
Definition: probe.h:75
CCHAR KPROCESSOR_MODE
Definition: ketypes.h:7
_In_ KPROCESSOR_MODE PreviousMode
Definition: sefuncs.h:103

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 1014 of file ntapi.c.

1016{
1018 PCM_KEY_BODY KeyObject;
1019 REG_DELETE_VALUE_KEY_INFORMATION DeleteValueKeyInfo;
1020 REG_POST_OPERATION_INFORMATION PostOperationInfo;
1022 UNICODE_STRING ValueNameCopy;
1023
1024 PAGED_CODE();
1025
1026 /* Verify that the handle is valid and is a registry key */
1031 (PVOID*)&KeyObject,
1032 NULL);
1033 if (!NT_SUCCESS(Status))
1034 return Status;
1035
1036 /* Capture the string */
1038 if (!NT_SUCCESS(Status))
1039 goto Quit;
1040
1041 /* Make sure the name is aligned properly */
1042 if (ValueNameCopy.Length & (sizeof(WCHAR) - 1))
1043 {
1044 /* It isn't, so we'll fail */
1046 goto Quit;
1047 }
1048
1049 /* Don't touch read-only keys */
1050 if (KeyObject->KeyControlBlock->ExtFlags & CM_KCB_READ_ONLY_KEY)
1051 {
1052 /* Fail */
1054 goto Quit;
1055 }
1056
1057 /* Do the callback */
1058 DeleteValueKeyInfo.Object = (PVOID)KeyObject;
1059 DeleteValueKeyInfo.ValueName = ValueName;
1061 &DeleteValueKeyInfo);
1062 if (NT_SUCCESS(Status))
1063 {
1064 /* Call the internal API */
1065 Status = CmDeleteValueKey(KeyObject->KeyControlBlock, ValueNameCopy);
1066
1067 /* Do the post callback */
1068 PostOperationInfo.Object = (PVOID)KeyObject;
1069 PostOperationInfo.Status = Status;
1071 &PostOperationInfo);
1072 }
1073
1074Quit:
1075 if (ValueNameCopy.Buffer)
1077
1078 /* Dereference and return status */
1079 ObDereferenceObject(KeyObject);
1080 return Status;
1081}
#define PAGED_CODE()
#define CmpKeyObjectType
Definition: ObTypes.c:127
#define CM_KCB_READ_ONLY_KEY
Definition: cm.h:59
NTSTATUS NTAPI CmDeleteValueKey(IN PCM_KEY_CONTROL_BLOCK Kcb, IN UNICODE_STRING ValueName)
Definition: cmapi.c:915
NTSTATUS CmiCallRegisteredCallbacks(IN REG_NOTIFY_CLASS Argument1, IN PVOID Argument2)
Definition: cmhook.c:59
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG _Out_ PNDIS_STRING _Out_ PNDIS_HANDLE KeyHandle
Definition: ndis.h:4715
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:494
static __inline NTSTATUS ProbeAndCaptureUnicodeString(OUT PUNICODE_STRING Dest, IN KPROCESSOR_MODE CurrentMode, IN const UNICODE_STRING *UnsafeSrc)
Definition: probe.h:142
static __inline VOID ReleaseCapturedUnicodeString(IN PUNICODE_STRING CapturedString, IN KPROCESSOR_MODE CurrentMode)
Definition: probe.h:239
struct _CM_KEY_CONTROL_BLOCK * KeyControlBlock
Definition: cm.h:234
Definition: cmtypes.h:858
PVOID Object
Definition: cmtypes.h:859
NTSTATUS Status
Definition: cmtypes.h:860
void * PVOID
Definition: typedefs.h:50
#define STATUS_ACCESS_DENIED
Definition: udferr_usr.h:145
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING ValueName
Definition: wdfregistry.h:243
@ RegNtPreDeleteValueKey
Definition: cmtypes.h:635
@ RegNtPostDeleteValueKey
Definition: cmtypes.h:658
#define ObDereferenceObject
Definition: obfuncs.h:203

Referenced by AddFontsSettingsToRegistry(), 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 
)

Referenced by _test_peek_pipe(), BtrfsSend::AddClone(), BtrfsDeviceAdd::AddDevice(), BtrfsPropSheet::apply_changes_file(), BtrfsSend::BrowseParent(), BtrfsPropSheet::check_file(), BtrfsRecv::cmd_chmod(), BtrfsRecv::cmd_chown(), BtrfsRecv::cmd_clone(), BtrfsRecv::cmd_mkfile(), BtrfsRecv::cmd_removexattr(), BtrfsRecv::cmd_setxattr(), BtrfsRecv::cmd_snapshot(), BtrfsRecv::cmd_subvol(), ConnectNamedPipe(), create_snapshot(), create_snapshot2(), create_subvol(), CreateDirectoryExW(), CreateSymbolicLinkW(), DeviceIoControl(), BtrfsDeviceResize::DeviceResizeDlgProc(), DisconnectNamedPipe(), DismountVolume(), BtrfsRecv::do_recv(), BtrfsDeviceResize::do_resize(), BtrfsPropSheet::do_search(), Ext2DisMountVolume(), Ext2LockVolume(), Ext2UnLockVolume(), FormatEx2(), FsRtlpRegisterProviderWithMUP(), ImpersonateNamedPipeClient(), init_func_ptrs(), BtrfsContextMenu::Initialize(), BtrfsVolPropSheet::Initialize(), InstallBootCodeToDisk(), InstallBtrfsBootCode(), BtrfsContextMenu::InvokeCommand(), BtrfsIconOverlay::IsMemberOf(), PauseBalanceW(), BtrfsScrub::PauseScrub(), PeekNamedPipe(), BtrfsContextMenu::reflink_copy(), reflink_copy2(), BtrfsBalance::RefreshBalanceDlg(), BtrfsVolPropSheet::RefreshDevList(), BtrfsScrub::RefreshScrubDlg(), BtrfsVolPropSheet::RefreshUsage(), RemoveDeviceW(), BtrfsVolPropSheet::ResetStats(), ResetStatsW(), rpcrt4_protseq_np_get_wait_array(), send_subvol(), BtrfsPropSheet::set_cmdline(), BtrfsBalance::ShowBalance(), StartBalanceW(), BtrfsScrub::StartScrub(), StartScrubW(), StopBalanceW(), BtrfsScrub::StopScrub(), StopScrubW(), test_ioctl(), test_peek(), BtrfsSend::Thread(), TransactNamedPipe(), BtrfsScrub::UpdateTextBox(), BtrfsVolPropSheet::UsageDlgProc(), VfatFormat(), and WaitNamedPipeW().

◆ 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 3952 of file file.c.

3958{
3959 /* Call the I/O Function */
3960 return IoCreateFile(FileHandle,
3964 NULL,
3965 0,
3967 FILE_OPEN,
3969 NULL,
3970 0,
3972 NULL,
3973 0);
3974}
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
Definition: conport.c:36
_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:4147
_Must_inspect_result_ _In_opt_ PFLT_INSTANCE _Out_ PHANDLE FileHandle
Definition: fltkernel.h:1231
#define FILE_OPEN
Definition: from_kernel.h:54
static OUT PIO_STATUS_BLOCK IoStatusBlock
Definition: pipe.c:75
_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:6017
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:3010
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
Definition: wdfdevice.h:2658
@ CreateFileTypeNone
Definition: iotypes.h:535

Referenced by AccpOpenNamedObject(), BtrfsDeviceAdd::AddDevice(), AddPartitionToDisk(), AddVolumeToList(), AllocConsole(), BasepMapFile(), BasepNotifyTrackingService(), BasepOpenFileForMove(), CabinetOpen(), CallCacheControl(), clean_main(), CommandDumpSector(), CommandPartInfo(), CreateDirectoryExW(), CreateHardLinkW(), CreatePartitionList(), CreatePipe(), CreateProcessInternalW(), DeleteFileW(), DismountVolume(), DoesPathExist(), DumpDisk(), DumpPartition(), find_devices(), FindFirstChangeNotificationW(), FindFirstFileExW(), FindNTOSInstallations(), FormatEx2(), GetDiskFreeSpaceExW(), GetDiskFreeSpaceW(), GetDriveTypeW(), GetFileSecurityW(), GetFileSystemInfo(), GetFileSystemName_UStr(), GetPhysicalFileSize(), GetVolumeInformationW(), GetVolumeNameForRoot(), InferFileSystem(), InfOpenFile(), InfWriteFile(), IniCacheLoad(), InstallBootCodeToDisk(), InstallBootCodeToFile(), InstallSetupInfFile(), is_mounted_multi_device(), IsValidNTOSInstallation(), KsecOpenDevice(), LdrpCheckForLoadedDll(), LdrpCreateDllSection(), lookup_winsxs(), main(), MapFile(), mountmgr::mountmgr(), MoveFileWithProgressW(), MyDeleteFile(), NtOpenObject(), open_nt_file(), OpenAndMapFile(), OpenBootStore_UStr(), OpenDirectoryByHandleOrPath(), OpenFile(), OpenKeyboard(), openTcpFile(), BtrfsDeviceAdd::populate_device_tree(), ReadBootCodeFromFile(), RegisterUncProvider(), RegRestoreKeyW(), RemoveDirectoryW(), ReplaceFileW(), RtlSetCurrentDirectory_U(), 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};
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 */
349 DesiredAccess &= ~KEY_WOW64_RES;
350
351 /* Check for user-mode caller */
353 {
354 /* Prepare to probe parameters */
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 */
378 NULL,
380 &ParseContext,
381 &Handle);
382
383 /* Only do this if we succeeded */
384 if (NT_SUCCESS(Status))
385 {
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}
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
Definition: exintrin.c:102
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:2532
#define ProbeForWriteHandle(Ptr)
Definition: probe.h:43
#define DPRINT
Definition: sndvol32.h:71
uint32_t ULONG
Definition: typedefs.h:59

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(), LdrpDisableProcessCompatGuidDetection(), 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 3096 of file iofunc.c.

3101{
3104 PIRP Irp;
3106 PIO_STACK_LOCATION StackPtr;
3108 PKEVENT Event = NULL;
3109 BOOLEAN LocalEvent = FALSE;
3110 PKNORMAL_ROUTINE NormalRoutine;
3111 PVOID NormalContext;
3112 KIRQL OldIrql;
3113 IO_STATUS_BLOCK KernelIosb;
3114 PVOID Queue;
3117 PFILE_RENAME_INFORMATION RenameInfo;
3119 PAGED_CODE();
3120 IOTRACE(IO_API_DEBUG, "FileHandle: %p\n", FileHandle);
3121
3122 /* Check if we're called from user mode */
3123 if (PreviousMode != KernelMode)
3124 {
3125 /* Validate the information class */
3126 if ((FileInformationClass < 0) ||
3129 {
3130 /* Invalid class */
3132 }
3133
3134 /* Validate the length */
3136 {
3137 /* Invalid length */
3139 }
3140
3141 /* Enter SEH for probing */
3142 _SEH2_TRY
3143 {
3144 /* Probe the I/O Status block */
3146
3147 /* Probe the information */
3149 Length,
3150 (Length == sizeof(BOOLEAN)) ?
3151 sizeof(BOOLEAN) : sizeof(ULONG));
3152 }
3154 {
3155 /* Return the exception code */
3157 }
3158 _SEH2_END;
3159 }
3160 else
3161 {
3162 /* Validate the information class */
3163 if ((FileInformationClass < 0) ||
3166 {
3167 /* Invalid class */
3169 }
3170
3171 /* Validate the length */
3173 {
3174 /* Invalid length */
3176 }
3177 }
3178
3179 /* Reference the Handle */
3185 (PVOID *)&FileObject,
3186 NULL);
3187 if (!NT_SUCCESS(Status)) return Status;
3188
3189 /* Check if this is a direct open or not */
3190 if (FileObject->Flags & FO_DIRECT_DEVICE_OPEN)
3191 {
3192 /* Get the device object */
3194 }
3195 else
3196 {
3197 /* Get the device object */
3199 }
3200
3201 DPRINT("Will call: %p\n", DeviceObject);
3202 DPRINT("Associated driver: %p (%wZ)\n", DeviceObject->DriverObject, &DeviceObject->DriverObject->DriverName);
3203
3204 /* Check if this is a file that was opened for Synch I/O */
3205 if (FileObject->Flags & FO_SYNCHRONOUS_IO)
3206 {
3207 /* Lock it */
3209 if (Status != STATUS_SUCCESS)
3210 {
3212 return Status;
3213 }
3214
3215 /* Check if the caller just wants the position */
3217 {
3218 /* Protect write in SEH */
3219 _SEH2_TRY
3220 {
3221 /* Write the offset */
3222 FileObject->CurrentByteOffset =
3224 CurrentByteOffset;
3225
3226 /* Fill out the I/O Status Block */
3229 }
3231 {
3232 /* Get the exception code */
3234 }
3235 _SEH2_END;
3236
3237 /* Update transfer count */
3239
3240 /* Release the file lock, dereference the file and return */
3243 return Status;
3244 }
3245 }
3246 else
3247 {
3248 /* Use local event */
3250 if (!Event)
3251 {
3254 }
3255
3257 LocalEvent = TRUE;
3258 }
3259
3260 /* Clear the File Object event */
3261 KeClearEvent(&FileObject->Event);
3262
3263 /* Allocate the IRP */
3264 Irp = IoAllocateIrp(DeviceObject->StackSize, TRUE);
3266
3267 /* Set the IRP */
3268 Irp->Tail.Overlay.OriginalFileObject = FileObject;
3269 Irp->Tail.Overlay.Thread = PsGetCurrentThread();
3270 Irp->RequestorMode = PreviousMode;
3271 Irp->Overlay.AsynchronousParameters.UserApcRoutine = NULL;
3272 Irp->Flags = (LocalEvent) ? IRP_SYNCHRONOUS_API : 0;
3273 Irp->UserIosb = (LocalEvent) ? &KernelIosb : IoStatusBlock;
3274 Irp->UserEvent = (LocalEvent) ? Event : NULL;
3275 Irp->AssociatedIrp.SystemBuffer = NULL;
3276 Irp->MdlAddress = NULL;
3277 Irp->UserBuffer = FileInformation;
3278
3279 /* Set the Stack Data */
3280 StackPtr = IoGetNextIrpStackLocation(Irp);
3282 StackPtr->FileObject = FileObject;
3283
3284 /* Enter SEH */
3285 _SEH2_TRY
3286 {
3287 /* Allocate a buffer */
3288 Irp->AssociatedIrp.SystemBuffer =
3290 Length,
3291 TAG_SYSB);
3292
3293 /* Copy the data into it */
3294 RtlCopyMemory(Irp->AssociatedIrp.SystemBuffer,
3296 Length);
3297 }
3299 {
3300 /* Allocating failed, clean up and return the exception code */
3303 }
3304 _SEH2_END;
3305
3306 /* Set the flags */
3307 Irp->Flags |= (IRP_BUFFERED_IO |
3310
3311 /* Set the Parameters */
3312 StackPtr->Parameters.SetFile.FileInformationClass = FileInformationClass;
3313 StackPtr->Parameters.SetFile.Length = Length;
3314
3315 /* Queue the IRP */
3317
3318 /* Update operation counts */
3320
3321 /* FIXME: Later, we can implement a lot of stuff here and avoid a driver call */
3322 /* Handle IO Completion Port quickly */
3324 {
3325 /* Check if the file object already has a completion port */
3326 if ((FileObject->Flags & FO_SYNCHRONOUS_IO) ||
3327 (FileObject->CompletionContext))
3328 {
3329 /* Fail */
3331 }
3332 else
3333 {
3334 /* Reference the Port */
3335 CompletionInfo = Irp->AssociatedIrp.SystemBuffer;
3336 Status = ObReferenceObjectByHandle(CompletionInfo->Port,
3340 (PVOID*)&Queue,
3341 NULL);
3342 if (NT_SUCCESS(Status))
3343 {
3344 /* Allocate the Context */
3346 sizeof(IO_COMPLETION_CONTEXT),
3347 IOC_TAG);
3348 if (Context)
3349 {
3350 /* Set the Data */
3351 Context->Key = CompletionInfo->Key;
3352 Context->Port = Queue;
3355 Context,
3356 NULL))
3357 {
3358 /*
3359 * Someone else set the completion port in the
3360 * meanwhile, so dereference the port and fail.
3361 */
3365 }
3366 }
3367 else
3368 {
3369 /* Dereference the Port now */
3372 }
3373 }
3374 }
3375
3376 /* Set the IRP Status */
3377 Irp->IoStatus.Status = Status;
3378 Irp->IoStatus.Information = 0;
3379 }
3383 {
3384 /* Get associated information */
3385 RenameInfo = Irp->AssociatedIrp.SystemBuffer;
3386
3387 /* Only rename if:
3388 * -> We have a name
3389 * -> In unicode
3390 * -> sizes are valid
3391 */
3392 if (RenameInfo->FileNameLength != 0 &&
3393 !(RenameInfo->FileNameLength & 1) &&
3395 {
3396 /* Properly set information received */
3398 {
3399 StackPtr->Parameters.SetFile.ClusterCount = ((PFILE_MOVE_CLUSTER_INFORMATION)RenameInfo)->ClusterCount;
3400 }
3401 else
3402 {
3403 StackPtr->Parameters.SetFile.ReplaceIfExists = RenameInfo->ReplaceIfExists;
3404 }
3405
3406 /* If we got fully path OR relative target, attempt a parent directory open */
3407 if (RenameInfo->FileName[0] == OBJ_NAME_PATH_SEPARATOR || RenameInfo->RootDirectory)
3408 {
3410 if (!NT_SUCCESS(Status))
3411 {
3412 Irp->IoStatus.Status = Status;
3413 }
3414 else
3415 {
3416 /* Call the Driver */
3418 }
3419 }
3420 else
3421 {
3422 /* Call the Driver */
3424 }
3425 }
3426 else
3427 {
3429 Irp->IoStatus.Status = Status;
3430 }
3431 }
3432 else
3433 {
3434 /* Call the Driver */
3436 }
3437
3438 /* Check if we're waiting for the IRP to complete */
3439 if (Status == STATUS_PENDING)
3440 {
3441 /* Check if this was async I/O */
3442 if (LocalEvent)
3443 {
3444 /* Then to a non-alertable wait */
3446 Executive,
3448 FALSE,
3449 NULL);
3450 if (Status == STATUS_USER_APC)
3451 {
3452 /* Abort the request */
3454 }
3455
3456 /* Set the final status */
3457 Status = KernelIosb.Status;
3458
3459 /* Enter SEH to write the IOSB back */
3460 _SEH2_TRY
3461 {
3462 /* Write it back to the caller */
3463 *IoStatusBlock = KernelIosb;
3464 }
3466 {
3467 /* Get the exception code */
3469 }
3470 _SEH2_END;
3471
3472 /* Free the event */
3474 }
3475 else
3476 {
3477 /* Wait for the IRP */
3479 Executive,
3481 (FileObject->Flags &
3482 FO_ALERTABLE_IO) != 0,
3483 NULL);
3485 {
3486 /* Abort the request */
3488 }
3489
3490 /* Set the final status */
3491 Status = FileObject->FinalStatus;
3492
3493 /* Release the file lock */
3495 }
3496 }
3497 else
3498 {
3499 /* Free the event if we had one */
3500 if (LocalEvent)
3501 {
3502 /* Clear it in the IRP for completion */
3503 Irp->UserEvent = NULL;
3505 }
3506
3507 /* Set the caller IOSB */
3508 Irp->UserIosb = IoStatusBlock;
3509
3510 /* The IRP wasn't completed, complete it ourselves */
3511 NormalRoutine = NULL;
3512 NormalContext = NULL;
3514 IopCompleteRequest(&Irp->Tail.Apc,
3515 &NormalRoutine,
3516 &NormalContext,
3517 (PVOID*)&FileObject,
3518 &NormalContext);
3520
3521 /* Release the file object if we had locked it*/
3522 if (!LocalEvent) IopUnlockFileObject(FileObject);
3523 }
3524
3525 if (TargetHandle != NULL)
3526 {
3528 }
3529
3530 /* Return the Status */
3531 return Status;
3532}
unsigned char BOOLEAN
#define OBJ_NAME_PATH_SEPARATOR
Definition: arcname_tests.c:25
_In_ PIRP Irp
Definition: csq.h:116
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
UCHAR KIRQL
Definition: env_spec_w32.h:591
#define PsGetCurrentThread()
Definition: env_spec_w32.h:81
#define KeRaiseIrql(irql, oldIrql)
Definition: env_spec_w32.h:597
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
Definition: env_spec_w32.h:478
#define KeInitializeEvent(pEvt, foo, foo2)
Definition: env_spec_w32.h:477
#define APC_LEVEL
Definition: env_spec_w32.h:695
#define KeLowerIrql(oldIrql)
Definition: env_spec_w32.h:602
#define NonPagedPool
Definition: env_spec_w32.h:307
#define PagedPool
Definition: env_spec_w32.h:308
VOID NTAPI KeClearEvent(IN PKEVENT Event)
Definition: eventobj.c:22
@ FilePositionInformation
Definition: from_kernel.h:75
@ FileMoveClusterInformation
Definition: from_kernel.h:92
@ FileMaximumInformation
Definition: from_kernel.h:112
@ FileRenameInformation
Definition: from_kernel.h:71
@ FileLinkInformation
Definition: from_kernel.h:72
@ FileCompletionInformation
Definition: from_kernel.h:91
#define InterlockedCompareExchangePointer
Definition: interlocked.h:129
UCHAR IopSetOperationLength[]
Definition: io_i.h:69
ACCESS_MASK IopSetOperationAccess[]
Definition: io_i.h:161
static __inline NTSTATUS IopLockFileObject(_In_ PFILE_OBJECT FileObject, _In_ KPROCESSOR_MODE WaitMode)
Definition: io_x.h:12
FORCEINLINE VOID IopQueueIrpToThread(IN PIRP Irp)
Definition: io_x.h:49
static __inline VOID IopUpdateTransferCount(IN IOP_TRANSFER_TYPE Type, IN ULONG TransferCount)
Definition: io_x.h:116
static __inline VOID IopUpdateOperationCount(IN IOP_TRANSFER_TYPE Type)
Definition: io_x.h:82
static __inline VOID IopUnlockFileObject(IN PFILE_OBJECT FileObject)
Definition: io_x.h:36
NTSTATUS NTAPI IopOpenLinkOrRenameTarget(OUT PHANDLE Handle, IN PIRP Irp, IN PFILE_RENAME_INFORMATION RenameInfo, IN PFILE_OBJECT FileObject)
Definition: iofunc.c:867
VOID NTAPI IopCleanupAfterException(IN PFILE_OBJECT FileObject, IN PIRP Irp OPTIONAL, IN PKEVENT Event OPTIONAL, IN PKEVENT LocalEvent OPTIONAL)
Definition: iofunc.c:27
POBJECT_TYPE IoFileObjectType
Definition: iomgr.c:36
#define ExFreePoolWithTag(_P, _T)
Definition: module.h:1109
static OUT PIO_STATUS_BLOCK OUT PVOID FileInformation
Definition: pipe.c:75
static OUT PIO_STATUS_BLOCK OUT PVOID IN ULONG IN FILE_INFORMATION_CLASS FileInformationClass
Definition: pipe.c:75
#define IO_COMPLETION_MODIFY_STATE
Definition: iotypes.h:33
VOID(NTAPI * PKNORMAL_ROUTINE)(IN PVOID NormalContext OPTIONAL, IN PVOID SystemArgument1 OPTIONAL, IN PVOID SystemArgument2 OPTIONAL)
Definition: ketypes.h:744
_In_ HANDLE _In_opt_ HANDLE _Out_opt_ PHANDLE TargetHandle
Definition: obfuncs.h:431
struct _FILE_POSITION_INFORMATION * PFILE_POSITION_INFORMATION
@ SynchronizationEvent
VOID NTAPI IopCompleteRequest(IN PKAPC Apc, IN PKNORMAL_ROUTINE *NormalRoutine, IN PVOID *NormalContext, IN PVOID *SystemArgument1, IN PVOID *SystemArgument2)
Definition: irp.c:238
POBJECT_TYPE IoCompletionType
Definition: iocomp.c:16
NTSTATUS NTAPI IopCleanupFailedIrp(IN PFILE_OBJECT FileObject, IN PKEVENT EventObject, IN PVOID Buffer OPTIONAL)
Definition: irp.c:45
@ IopOtherTransfer
Definition: io.h:263
VOID NTAPI IopAbortInterruptedIrp(IN PKEVENT EventObject, IN PIRP Irp)
Definition: irp.c:67
#define IO_API_DEBUG
Definition: io.h:21
#define IOTRACE(x, fmt,...)
Definition: io.h:47
PDEVICE_OBJECT NTAPI IoGetRelatedDeviceObject(IN PFILE_OBJECT FileObject)
Definition: device.c:1539
PDEVICE_OBJECT NTAPI IoGetAttachedDevice(PDEVICE_OBJECT DeviceObject)
Definition: device.c:1385
PIRP NTAPI IoAllocateIrp(IN CCHAR StackSize, IN BOOLEAN ChargeQuota)
Definition: irp.c:615
#define IoCallDriver
Definition: irp.c:1225
#define STATUS_ALERTED
Definition: ntstatus.h:80
#define STATUS_USER_APC
Definition: ntstatus.h:78
#define STATUS_PENDING
Definition: ntstatus.h:82
#define STATUS_INVALID_INFO_CLASS
Definition: ntstatus.h:240
NTSTATUS NTAPI ObCloseHandle(IN HANDLE Handle, IN KPROCESSOR_MODE AccessMode)
Definition: obhandle.c:3379
#define IRP_MJ_SET_INFORMATION
Definition: rdpdr.c:49
#define ProbeForWriteIoStatusBlock(Ptr)
Definition: probe.h:52
#define STATUS_SUCCESS
Definition: shellext.h:65
PFILE_OBJECT FileObject
Definition: iotypes.h:3169
struct _NAMED_PIPE_CREATE_PARAMETERS * Parameters
Definition: iotypes.h:3128
#define IOC_TAG
Definition: tag.h:69
#define TAG_IO
Definition: tag.h:80
#define TAG_SYSB
Definition: tag.h:96
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255
#define RtlCopyMemory(Destination, Source, Length)
Definition: typedefs.h:263
#define STATUS_INFO_LENGTH_MISMATCH
Definition: udferr_usr.h:133
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:550
_Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP _In_ WDFQUEUE Queue
Definition: wdfdevice.h:2225
_In_ WDFREQUEST _In_opt_ PFN_WDF_REQUEST_COMPLETION_ROUTINE _In_opt_ __drv_aliasesMem WDFCONTEXT CompletionContext
Definition: wdfrequest.h:898
__drv_aliasesMem FORCEINLINE PIO_STACK_LOCATION IoGetNextIrpStackLocation(_In_ PIRP Irp)
Definition: iofuncs.h:2695
#define IRP_DEALLOCATE_BUFFER
#define FO_ALERTABLE_IO
Definition: iotypes.h:1777
#define IRP_SYNCHRONOUS_API
struct _FILE_MOVE_CLUSTER_INFORMATION * PFILE_MOVE_CLUSTER_INFORMATION
#define IRP_DEFER_IO_COMPLETION
#define FO_DIRECT_DEVICE_OPEN
Definition: iotypes.h:1787
* PFILE_OBJECT
Definition: iotypes.h:1998
#define FO_SYNCHRONOUS_IO
Definition: iotypes.h:1776
#define IRP_BUFFERED_IO
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
Definition: kefuncs.h:778
@ Executive
Definition: ketypes.h:415

Referenced by BtrfsPropSheet::apply_changes_file(), BaseMarkFileForDelete(), BasepNotifyTrackingService(), CabinetExtractFile(), BtrfsRecv::cmd_utimes(), BtrfsRecv::cmd_write(), CreateHardLinkW(), CreateIoCompletionPort(), CreateSymbolicLinkW(), DeleteFileW(), init_func_ptrs(), LogfpSetFileSize(), MoveFileWithProgressW(), MyDeleteFile(), PrivMoveFileIdentityW(), ProtectBootIni(), BtrfsContextMenu::reflink_copy(), reflink_copy2(), RemoveDirectoryW(), RtlSetIoCompletionCallback(), send_subvol(), BtrfsSend::SendDlgProc(), SetAttributesOnFile(), SetEndOfFile(), SetFileAttributesByHandle(), SetFileAttributesW(), SetFileCompletionNotificationModes(), SetFileInformationByHandle(), SetFilePointer(), SetFilePointerEx(), SetFileShortNameW(), SetFileTime(), SetFileValidData(), SetLastWriteTime(), SetMailslotInfo(), SetNamedPipeHandleState(), SetupCopyFile(), SetupDeleteFile(), SetupMoveFile(), SmpDeletePagingFile(), SmpProcessFileRenames(), SockGetAsyncSelectHelperAfdHandle(), START_TEST(), test_junction_points(), BtrfsSend::Thread(), and UnprotectBootIni().

◆ NtSetValueKey()

NTSYSAPI NTSTATUS NTAPI NtSetValueKey ( IN HANDLE  KeyHandle,
IN PUNICODE_STRING  ValueName,
IN ULONG TitleIndex  OPTIONAL,
IN ULONG  Type,
IN PVOID  Data,
IN ULONG  DataSize 
)

Definition at line 859 of file ntapi.c.

865{
868 PCM_KEY_BODY KeyObject;
869 REG_SET_VALUE_KEY_INFORMATION SetValueKeyInfo;
870 REG_POST_OPERATION_INFORMATION PostOperationInfo;
871 UNICODE_STRING ValueNameCopy;
872
873 PAGED_CODE();
874
876
877 /* Verify that the handle is valid and is a registry key */
882 (PVOID*)&KeyObject,
883 NULL);
884 if (!NT_SUCCESS(Status))
885 return Status;
886
887 if (!DataSize)
888 Data = NULL;
889
890 /* Probe and copy the data */
891 if ((PreviousMode != KernelMode) && (DataSize != 0))
892 {
893 PVOID DataCopy = NULL;
894
896 {
898 }
900 {
902 }
903 _SEH2_END;
904
905 if (!NT_SUCCESS(Status))
906 {
907 /* Dereference and return status */
908 ObDereferenceObject(KeyObject);
909 return Status;
910 }
911
913 if (!DataCopy)
914 {
915 /* Dereference and return status */
916 ObDereferenceObject(KeyObject);
918 }
919
921 {
922 RtlCopyMemory(DataCopy, Data, DataSize);
923 }
925 {
927 }
928 _SEH2_END;
929
930 if (!NT_SUCCESS(Status))
931 {
932 /* Dereference and return status */
933 ExFreePoolWithTag(DataCopy, TAG_CM);
934 ObDereferenceObject(KeyObject);
935 return Status;
936 }
937
938 Data = DataCopy;
939 }
940
941 /* Capture the string */
943 if (!NT_SUCCESS(Status))
944 goto Quit;
945
946 DPRINT("NtSetValueKey() KH 0x%p, VN '%wZ', TI %x, T %lu, DS %lu\n",
947 KeyHandle, &ValueNameCopy, TitleIndex, Type, DataSize);
948
949 /* Make sure the name is aligned, not too long, and the data under 4GB */
950 if ((ValueNameCopy.Length > 32767) ||
951 (ValueNameCopy.Length & (sizeof(WCHAR) - 1)) ||
952 (DataSize > 0x80000000))
953 {
954 /* Fail */
956 goto Quit;
957 }
958
959 /* Ignore any null characters at the end */
960 while (ValueNameCopy.Length &&
961 !(ValueNameCopy.Buffer[ValueNameCopy.Length / sizeof(WCHAR) - 1]))
962 {
963 /* Skip it */
964 ValueNameCopy.Length -= sizeof(WCHAR);
965 }
966
967 /* Don't touch read-only keys */
968 if (KeyObject->KeyControlBlock->ExtFlags & CM_KCB_READ_ONLY_KEY)
969 {
970 /* Fail */
972 goto Quit;
973 }
974
975 /* Setup callback */
976 PostOperationInfo.Object = (PVOID)KeyObject;
977 SetValueKeyInfo.Object = (PVOID)KeyObject;
978 SetValueKeyInfo.ValueName = &ValueNameCopy;
979 SetValueKeyInfo.TitleIndex = TitleIndex;
980 SetValueKeyInfo.Type = Type;
981 SetValueKeyInfo.Data = Data;
982 SetValueKeyInfo.DataSize = DataSize;
983
984 /* Do the callback */
986 if (NT_SUCCESS(Status))
987 {
988 /* Call the internal API */
990 &ValueNameCopy,
991 Type,
992 Data,
993 DataSize);
994
995 /* Do the post-callback */
996 PostOperationInfo.Status = Status;
998 }
999
1000Quit:
1001 if (ValueNameCopy.Buffer)
1003
1004 if ((PreviousMode != KernelMode) && Data)
1006
1007 /* Dereference and return status */
1008 ObDereferenceObject(KeyObject);
1009 return Status;
1010}
Type
Definition: Type.h:7
NTSTATUS NTAPI CmSetValueKey(IN PCM_KEY_CONTROL_BLOCK Kcb, IN PUNICODE_STRING ValueName, IN ULONG Type, IN PVOID Data, IN ULONG DataLength)
Definition: cmapi.c:643
#define TAG_CM
Definition: cmlib.h:212
static ACCESS_MASK const OBJECT_ATTRIBUTES ULONG TitleIndex
Definition: reg.c:131
_In_ NDIS_STATUS _In_ ULONG _In_ USHORT _In_opt_ PVOID _In_ ULONG DataSize
Definition: ndis.h:4755
PUNICODE_STRING ValueName
Definition: cmtypes.h:713
@ RegNtPreSetValueKey
Definition: cmtypes.h:633
@ RegNtPostSetValueKey
Definition: cmtypes.h:657

Referenced by AddCodepageToRegistry(), AddFontsSettingsToRegistry(), AddHotkeySettings(), AddKbLayoutsToRegistry(), BasepMoveFileDelayed(), CmpCreateControlSet(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpSetSystemValues(), CmpSetVersionData(), CreateSymLinkKey(), do_reg_operation(), InitFunctionPtrs(), InstallDriver(), Phase1InitializationDiscard(), ProcessLocaleRegistry(), RegpCopyTree(), RegSetValueExW(), SdbRegisterDatabaseEx(), SdbSetPermLayerKeys(), SetActiveComputerNameToRegistry(), SetComputerNameToRegistry(), SetDefaultPagefile(), SetGeoID(), SetLocaleInfoW(), SetMountedDeviceValue(), SetUserGeoID(), SetValueTest1(), SetValueTest2(), SmpCreateDynamicEnvironmentVariables(), SmpTranslateSystemPartitionInformation(), START_TEST(), test2(), test3(), and test6().

◆ NtTerminateProcess()

◆ NtTerminateThread()

NTSTATUS NtTerminateThread ( IN HANDLE ThreadHandle  OPTIONAL,
IN NTSTATUS  ExitStatus 
)

Definition at line 1279 of file kill.c.

1281{
1283 PETHREAD CurrentThread = PsGetCurrentThread();
1285 PAGED_CODE();
1287 "ThreadHandle: %p ExitStatus: %d\n", ThreadHandle, ExitStatus);
1288
1289 /* Handle the special NULL case */
1290 if (!ThreadHandle)
1291 {
1292 /* Check if we're the only thread left */
1293 if (PsGetCurrentProcess()->ActiveThreads == 1)
1294 {
1295 /* This is invalid */
1297 }
1298
1299 /* Terminate us directly */
1300 goto TerminateSelf;
1301 }
1302 else if (ThreadHandle == NtCurrentThread())
1303 {
1304TerminateSelf:
1305 /* Terminate this thread */
1306 return PspTerminateThreadByPointer(CurrentThread,
1307 ExitStatus,
1308 TRUE);
1309 }
1310
1311 /* We are terminating another thread, get the Thread Object */
1312 Status = ObReferenceObjectByHandle(ThreadHandle,
1316 (PVOID*)&Thread,
1317 NULL);
1318 if (!NT_SUCCESS(Status)) return Status;
1319
1320 /* Check to see if we're running in the same thread */
1321 if (Thread != CurrentThread)
1322 {
1323 /* Terminate it */
1325
1326 /* Dereference the Thread and return */
1328 }
1329 else
1330 {
1331 /* Dereference the thread and terminate ourselves */
1333 goto TerminateSelf;
1334 }
1335
1336 /* Return status */
1337 return Status;
1338}
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
Definition: fltkernel.h:2653
#define KeGetPreviousMode()
Definition: ketypes.h:1115
_In_ NTSTATUS ExitStatus
Definition: psfuncs.h:867
#define THREAD_TERMINATE
Definition: nt_native.h:1336
NTSTATUS NTAPI PspTerminateThreadByPointer(IN PETHREAD Thread, IN NTSTATUS ExitStatus, IN BOOLEAN bSelf)
Definition: kill.c:988
POBJECT_TYPE PsThreadType
Definition: thread.c:20
#define STATUS_CANT_TERMINATE_SELF
Definition: ntstatus.h:455
#define PS_KILL_DEBUG
Definition: ps.h:25
#define PSTRACE(x, fmt,...)
Definition: ps.h:57
#define PsGetCurrentProcess
Definition: psfuncs.h:17
#define NtCurrentThread()

Referenced by _main(), BaseSrvBSMThread(), CreateRemoteThread(), CsrApiRequestThread(), CsrpCheckRequestThreads(), ExitThread(), InitializeUserModePnpManager(), PnpEventThread(), RtlExitUserThread(), RtlpExitThread(), TerminateThread(), TerminateUserModePnpManager(), and wWinMain().

◆ NtWaitForSingleObject()

◆ NtWriteFile()

◆ RtlAllocateHeap()

PVOID NTAPI RtlAllocateHeap ( HANDLE  Heap,
ULONG  Flags,
ULONG  Size 
)

◆ RtlAnsiStringToUnicodeString()

NTSYSAPI NTSTATUS NTAPI RtlAnsiStringToUnicodeString ( PUNICODE_STRING  DestinationString,
PANSI_STRING  SourceString,
BOOLEAN  AllocateDestinationString 
)

Referenced by _main(), AbortSystemShutdownA(), acpi_create_registry_table(), AreFileApisANSI(), BackupEventLogA(), BasepAnsiStringToHeapUnicodeString(), CabinetExtractFile(), CabinetFindNext(), CabinetOpen(), CallNamedPipeA(), CheckNameLegalDOS8Dot3A(), ClassNameToVersion(), ClasspIsMediaChangeDisabledDueToHardwareLimitation(), ClearEventLogA(), CmBattQueryInformation(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpInitializeSystemHive(), CmpSetVersionData(), ConvertToUnicodeString(), CreateDCA(), CreateFontA(), CreateProcessInternalW(), CsrConnectToUser(), CsrLoadServerDll(), CsrParseServerCommandLine(), DefineDosDeviceA(), dempIsFileMatch(), DllMain(), DriverEntry(), ElfrBackupELFA(), ElfrClearELFA(), ElfrOpenBELA(), ElfrOpenELA(), ElfrRegisterEventSourceA(), ElfrReportEventA(), ExpandEnvironmentStringsA(), ExpCreateSystemRootLink(), ExpInitializeExecutive(), ExtTextOutA(), FatalAppExitA(), FilenameA2W(), FontFamilyFillInfo(), FxVerifyAllocateDebugInfo(), GetBinaryTypeA(), GetEnvironmentVariableA(), GetTextExtentPoint32A(), GetTextExtentPointA(), HalpNextDriveLetter(), InitiateShutdownA(), InitiateSystemShutdownA(), InitiateSystemShutdownExA(), InternalAddAtom(), InternalFindAtom(), IntGdiLoadFontsFromMemory(), IntGetCodePageEntry(), IntGetFontLocalizedName(), IntVideoPortChildQueryText(), IoGetBootDiskInformation(), IoInitSystem(), IopCreateArcNames(), IopCreateArcNamesCd(), IopCreateArcNamesDisk(), IopMarkBootPartition(), IopReassignSystemRoot(), IopStartRamdisk(), IsDxSetupA(), KdpDebugLogInit(), LdrpLoadImportModule(), LdrpSnapThunk(), LdrpUpdateLoadCount3(), LoadModule(), LookupAccountSidA(), MiResolveImageReferences(), MiSnapThunk(), NdisAnsiStringToUnicodeString(), NdisInitializeString(), NetpAllocWStrFromAnsiStr(), NtQuerySystemEnvironmentValue(), OpenBackupEventLogA(), OpenFile(), PciGetDescriptionMessage(), PciQueryId(), PdoHandleQueryDeviceId(), PdoHandleQueryDeviceText(), PrintString(), QSI_DEF(), QueryDosDeviceA(), RegisterServiceCtrlHandlerA(), RegisterServiceCtrlHandlerExA(), RegSetValueExA(), RtlIpv4StringToAddressA(), RtlIpv4StringToAddressExA(), RtlIpv6StringToAddressA(), RtlIpv6StringToAddressExA(), RtlLargeStringToUnicodeString(), SeiAddHooks(), SerenumInitMultiSzString(), SetConsoleInputExeNameA(), SetEnvironmentVariableA(), SetFileApisToANSI(), SetFirmwareEnvironmentVariableExA(), SmpInvokeAutoChk(), SmpProcessModuleImports(), START_TEST(), TestMessageHandler(), TextOutA(), USBSTOR_ConvertToUnicodeString(), USBSTOR_PdoHandleQueryDeviceId(), USBSTOR_PdoHandleQueryDeviceText(), UserpFormatMessages(), VfdOpenImage(), and xHalIoAssignDriveLetters().

◆ RtlAppendUnicodeStringToString()

NTSYSAPI NTSTATUS NTAPI RtlAppendUnicodeStringToString ( PUNICODE_STRING  Destination,
PUNICODE_STRING  Source 
)

Referenced by _Function_class_(), _Success_(), _test_key_name(), BuildLm20LogonProfileBuffer(), BuildSubSysCommandLine(), CmBattQueryInformation(), CmpAddDriverToList(), CmpCmdHiveOpen(), CmpGetSymbolicLink(), CmpInitializeHiveList(), CmpOpenHiveFiles(), ConstructDeviceName(), CreateClassDeviceObject(), CreateDeviceName(), CreateNewVolumeName(), CreateRemoteDatabaseWorker(), CsrApiPortInitialize(), CsrSbApiPortInitialize(), EnumerateDevices(), ExpandSymbolicLink(), ExpLoadInitialProcess(), FindFile(), FltLoadFilter(), FltpOpenFilterServicesKey(), FltUnloadFilter(), GetComputerNameExW(), InsertAudioDevice(), IntCreateNewRegistryPath(), IntCreateRegistryPath(), IntGdiAddFontResourceEx(), IntGdiLoadFontsFromMemory(), IntGetFontLocalizedName(), IntLoadSystemFonts(), IoGetDeviceInterfaces(), IoOpenDeviceRegistryKey(), IopCreateDeviceInstancePath(), IopGetDriverNames(), IopGetParentIdPrefix(), IopInitializeBuiltinDriver(), IopNormalizeImagePath(), IopOpenInterfaceKey(), IopQueryBusDescription(), IopQueryDeviceDescription(), IopQueueTargetDeviceEvent(), IopSetServiceEnumData(), IopUnloadDriver(), IopUpdateResourceMap(), IoRegisterDeviceInterface(), KsCacheMedium(), KsCreateBusEnumObject(), KsMapModuleName(), KspReadMediaCategory(), LdrGetDllHandleEx(), LdrpInitializeDotLocalSupport(), LdrpInitializeProcess(), LdrpLoadDll(), LdrpLoadImportModule(), LoadSymbolsRoutine(), MiResolveImageReferences(), MmCallDllInitialize(), MmLoadSystemImage(), MountMgrValidateBackPointer(), NdisOpenFile(), OnlineMountedVolumes(), FxDevice::OpenDevicemapKeyWorker(), OpenRegistryHandlesFromSymbolicLink(), OpenRemoteDatabase(), PnpRootCreateDevice(), ReadIpConfiguration(), ReconcileThisDatabaseWithMasterWorker(), RegOpenUserClassesRoot(), RtlComputePrivatizedDllName_U(), RtlDosApplyFileIsolationRedirection_Ustr(), RtlDosSearchPath_Ustr(), RtlFormatCurrentUserKeyPath(), RtlpGetRegistryHandle(), RxFirstCanonicalize(), SdbpMatchExe(), SdbpOpenKey(), SdbUnregisterDatabase(), SmpInvokeAutoChk(), SmpParseCommandLine(), TestSymlinks(), vfatGetFCBForFile(), vfatMakeFullName(), VfatSetRenameInformation(), ViCreateDriveLetter(), WaitNamedPipeW(), WdmAudOpenSysAudioDevices(), WinLdrAddDriverToList(), and WSHOpenSocket2().

◆ RtlAppendUnicodeToString()

NTSYSAPI NTSTATUS NTAPI RtlAppendUnicodeToString ( PUNICODE_STRING  Destination,
PWSTR  Source 
)

◆ RtlCharToInteger()

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

Definition at line 261 of file unicode.c.

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

Referenced by CsrParseServerCommandLine(), CsrSrvCreateSharedSection(), get_res_nameA(), and LdrpSnapThunk().

◆ RtlCompareMemory()

NTSYSAPI ULONG NTAPI RtlCompareMemory ( PVOID  Source1,
PVOID  Source2,
ULONG  Length 
)

◆ RtlCompareString()

NTSYSAPI LONG NTAPI RtlCompareString ( PSTRING  String1,
PSTRING  String2,
BOOLEAN  CaseInSensitive 
)

◆ RtlCompareUnicodeString()

NTSYSAPI LONG NTAPI RtlCompareUnicodeString ( PUNICODE_STRING  String1,
PUNICODE_STRING  String2,
BOOLEAN  CaseInSensitive 
)

Definition at line 31 of file string_lib.cpp.

36{
37 ULONG i;
38
39 if(s1->Length != s2->Length) return (-1);
40 i = memcmp(s1->Buffer, s2->Buffer, (s1->Length) ? (s1->Length) : (s2->Length));
41 return i;
42}
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
Definition: utclib.c:112
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
struct S1 s1
struct S2 s2

◆ RtlCopyMemory()

NTSYSAPI VOID NTAPI RtlCopyMemory ( VOID UNALIGNED Destination,
CONST VOID UNALIGNED Source,
ULONG  Length 
)

◆ RtlCopyMemory32()

NTSYSAPI VOID NTAPI RtlCopyMemory32 ( VOID UNALIGNED Destination,
CONST VOID UNALIGNED Source,
ULONG  Length 
)

◆ RtlCopyString()

NTSYSAPI VOID NTAPI RtlCopyString ( PSTRING  DestinationString,
PSTRING  SourceString 
)

Referenced by IopReassignSystemRoot().

◆ RtlCopyUnicodeString()

NTSYSAPI VOID NTAPI RtlCopyUnicodeString ( PUNICODE_STRING  DestinationString,
PUNICODE_STRING  SourceString 
)

Referenced by _IRQL_requires_max_(), AddNTOSInstallation(), BaseInitApphelp(), CmpCmdHiveOpen(), CmpOpenHiveFiles(), co_IntClientLoadLibrary(), CODE_SEG(), CompBattAddNewBattery(), ConstructDeviceName(), CopyUS(), CreateDeviceName(), CreateNewDriveLetterName(), CreateNewVolumeName(), DefineDosDeviceW(), DoQuery(), DriverEntry(), DuplicateUnicodeString(), ElfCreateFile(), ExpandSymbolicLink(), ExpLoadInitialProcess(), Ext2QueryRegistrySettings(), FATGetNextDirEntry(), FatSetRenameInfo(), FilterConnectCommunicationPort(), FindFile(), FltGetVolumeName(), FltGetVolumeProperties(), FltLoadFilter(), FltpAttachToFileSystemDevice(), FltpGetObjectName(), FltpOpenFilterServicesKey(), FltRegisterFilter(), FltUnloadFilter(), FsRtlFindInTunnelCache(), IntCloneMenuItems(), IntCreateAliasEntry(), IntCreateAliasHeader(), IntCreateNewRegistryPath(), IntCreateRegistryPath(), IntLoadSystemFonts(), IntMsgCreateStructW(), IntSetMenuItemInfo(), IoCreateDriver(), IopCreateDeviceInstancePath(), IopGetParentIdPrefix(), IopInitializeDriverModule(), IopNormalizeImagePath(), IopParseDevice(), IsValidNTOSInstallationByHandle(), KsAllocateObjectCreateItem(), KsAllocateObjectHeader(), LANRegisterAdapter(), LDEVOBJ_bLoadImage(), LdrGetDllHandleEx(), LdrpLoadDll(), LoadSymbolsRoutine(), LsaApLogonUserEx2(), MiQueryMemorySectionName(), MiResolveImageReferences(), MsfsCreateMailslot(), NdisMQueryAdapterInstanceName(), NdisOpenProtocolConfiguration(), nfs41_MountConfig_InitDefaults(), nfs41_MountConfig_ParseOptions(), NtGdiOpenDCW(), NtUserChangeDisplaySettings(), NtUserEnumDisplayDevices(), NtUserEnumDisplaySettings(), NtUserLoadKeyboardLayoutEx(), ObCreateObjectType(), ReadRegistryEntries(), ReadStringFromRegistry(), RtlDosSearchPath_Ustr(), RxFirstCanonicalize(), ScsiPortInitialize(), SdbpMatchExe(), SeiInitPaths(), START_TEST(), TestSymlinks(), UDFCommonCreate(), UserpDuplicateParamStringToUnicodeString(), vfatGetFCBForFile(), vfatInitFcb(), vfatInitFCBFromDirEntry(), vfatMakeFullName(), VfatSetRenameInformation(), VideoPortInitialize(), ViMountImage(), ViRemountMedia(), and WdfWriteKmdfVersionToRegistry().

◆ RtlCreateHeap()

◆ RtlDestroyHeap()

◆ RtlEqualMemory()

NTSYSAPI ULONG NTAPI RtlEqualMemory ( CONST VOID Source1,
CONST VOID Source2,
ULONG  Length 
)

◆ RtlEqualString()

NTSYSAPI BOOLEAN NTAPI RtlEqualString ( PSTRING  String1,
PSTRING  String2,
BOOLEAN  CaseInSensitive 
)

◆ RtlEqualUnicodeString()

NTSYSAPI BOOLEAN NTAPI RtlEqualUnicodeString ( PUNICODE_STRING  String1,
PUNICODE_STRING  String2,
BOOLEAN  CaseInSensitive 
)

Referenced by ArcMatchToken_UStr(), BaseIsDosApplication(), CheckForSameCurdir(), CmpDoSort(), CmpResolveDriverDependencies(), CmSetValueKey(), CreateDirectoryExW(), EngpFindGraphicsDevice(), EngpGetPDEV(), FindAdapterContextByName(), FindBitmapResource(), FindDeviceInfo(), FindExistingNTOSInstall(), GetFontFamilyInfoForSubstitutes(), HalpNextDriveLetter(), HistoryAddEntry(), HistoryCurrentBuffer(), InPortAddDevice(), IntDesktopObjectParse(), IntGdiGetFontResourceInfo(), IntIsGhostWindow(), IntLoadFontSubstList(), IntLoadSystemFonts(), IntResolveDesktop(), IoGetDeviceInterfaces(), IopFindDeviceInstanceTraverse(), IopGetRelatedDevice(), IopInitializeBuiltinDriver(), IopInstallCriticalDevice(), IsAcpiComputer(), IsDxSetupW(), IsGlobalDeviceMap(), LDEVOBJ_pLoadDriver(), LdrGetDllHandleEx(), LdrpCheckForLoadedDll(), LdrpMapDll(), LoadLibraryExW(), LocateChildDevice(), LsapLookupAccountNames(), LsapLookupBuiltinNames(), LsapLookupFullyQualifiedWellKnownName(), LsapLookupIsolatedNames(), LsapLookupIsolatedWellKnownName(), MiBuildImportsForBootDrivers(), MiResolveImageReferences(), MiUseLargeDriverPage(), MmGetSystemRoutineAddress(), MmLoadSystemImage(), MountMgrAssignDriveLetters(), MountMgrCreatePointWorker(), MountMgrMountedDeviceArrival(), MountMgrValidateBackPointer(), MountMgrVolumeMountPointCreated(), MountMgrVolumeMountPointDeleted(), MupCheckForUnregisteredProvider(), NdisEqualString(), NtGdiOpenDCW(), ObpLookupEntryDirectory(), PciUnicodeStringStrStr(), PpInitGetGroupOrderIndex(), QueryPointsFromMemory(), QueryPointsFromSymbolicLinkName(), ReconcileThisDatabaseWithMasterWorker(), RedirectSavedLink(), RegOpenKey(), RtlIsDosDeviceName_Ustr(), RtlpDosPathNameToRelativeNtPathName_Ustr(), RtlQueryEnvironmentVariable_U(), RxFcbTableLookupFcb(), RxTableLookupName_ExactLengthMatch(), SampSetAliasName(), SampSetGroupName(), SampSetUserName(), SamrLookupDomainInSamServer(), SamValidateUser(), SeiFindHookModuleInfo(), SeiFindInExclude(), SeiGetShimData(), SeiHookImports(), SeiResetEntryProcessed(), SeiSetEntryProcessed(), SmpConfigureObjectDirectories(), SmpLoadDeferedSubsystem(), SmpParseCommandLine(), SmpTranslateSystemPartitionInformation(), SSI_DEF(), START_TEST(), SubstituteFontByList(), TestAllInformation(), TestDirectoryControl(), TestDriverObject(), TestQueryLink(), vfatDirFindFile(), vfatGetFCBForFile(), and vfatGrabFCBFromTable().

◆ RtlFillMemory()

NTSYSAPI VOID NTAPI RtlFillMemory ( VOID UNALIGNED Destination,
ULONG  Length,
UCHAR  Fill 
)

◆ RtlFreeAnsiString()

◆ RtlFreeHeap()

BOOLEAN NTAPI RtlFreeHeap ( HANDLE  Heap,
ULONG  Flags,
PVOID  Address 
)

Definition at line 2267 of file heap.c.

2272{
2273 PHEAP Heap;
2274 PHEAP_ENTRY HeapEntry;
2275 USHORT TagIndex = 0;
2276 SIZE_T BlockSize;
2277 PHEAP_VIRTUAL_ALLOC_ENTRY VirtualEntry;
2280
2281 /* Freeing NULL pointer is a legal operation */
2282 if (!Ptr) return TRUE;
2283
2284 /* Get pointer to the heap and force flags */
2285 Heap = (PHEAP)HeapPtr;
2286 Flags |= Heap->ForceFlags;
2287
2288 /* Call special heap */
2290 return RtlDebugFreeHeap(Heap, Flags, Ptr);
2291
2292 /* Get pointer to the heap entry */
2293 HeapEntry = (PHEAP_ENTRY)Ptr - 1;
2294
2295 /* Protect with SEH in case the pointer is not valid */
2296 _SEH2_TRY
2297 {
2298 /* Check this entry, fail if it's invalid */
2299 if (!(HeapEntry->Flags & HEAP_ENTRY_BUSY) ||
2300 (((ULONG_PTR)Ptr & 0x7) != 0) ||
2301 (HeapEntry->SegmentOffset >= HEAP_SEGMENTS))
2302 {
2303 /* This is an invalid block */
2304 DPRINT1("HEAP: Trying to free an invalid address %p!\n", Ptr);
2306 _SEH2_YIELD(return FALSE);
2307 }
2308 }
2310 {
2311 /* The pointer was invalid */
2312 DPRINT1("HEAP: Trying to free an invalid address %p!\n", Ptr);
2314 _SEH2_YIELD(return FALSE);
2315 }
2316 _SEH2_END;
2317
2318 /* Lock if necessary */
2319 if (!(Flags & HEAP_NO_SERIALIZE))
2320 {
2322 Locked = TRUE;
2323 }
2324
2325 if (HeapEntry->Flags & HEAP_ENTRY_VIRTUAL_ALLOC)
2326 {
2327 /* Big allocation */
2328 VirtualEntry = CONTAINING_RECORD(HeapEntry, HEAP_VIRTUAL_ALLOC_ENTRY, BusyBlock);
2329
2330 /* Remove it from the list */
2331 RemoveEntryList(&VirtualEntry->Entry);
2332
2333 // TODO: Tagging
2334
2335 BlockSize = 0;
2336 Status = ZwFreeVirtualMemory(NtCurrentProcess(),
2337 (PVOID *)&VirtualEntry,
2338 &BlockSize,
2339 MEM_RELEASE);
2340
2341 if (!NT_SUCCESS(Status))
2342 {
2343 DPRINT1("HEAP: Failed releasing memory with Status 0x%08X. Heap %p, ptr %p, base address %p\n",
2344 Status, Heap, Ptr, VirtualEntry);
2346 }
2347 }
2348 else
2349 {
2350 /* Normal allocation */
2351 BlockSize = HeapEntry->Size;
2352
2353 // TODO: Tagging
2354
2355 /* Coalesce in kernel mode, and in usermode if it's not disabled */
2356 if (RtlpGetMode() == KernelMode ||
2358 {
2359 HeapEntry = (PHEAP_ENTRY)RtlpCoalesceFreeBlocks(Heap,
2360 (PHEAP_FREE_ENTRY)HeapEntry,
2361 &BlockSize,
2362 FALSE);
2363 }
2364
2365 /* See if we should decommit this block */
2366 if ((BlockSize >= Heap->DeCommitFreeBlockThreshold) ||
2367 (Heap->TotalFreeSize + BlockSize >= Heap->DeCommitTotalFreeThreshold))
2368 {
2369 RtlpDeCommitFreeBlock(Heap, (PHEAP_FREE_ENTRY)HeapEntry, BlockSize);
2370 }
2371 else
2372 {
2373 /* Insert into the free list */
2374 RtlpInsertFreeBlock(Heap, (PHEAP_FREE_ENTRY)HeapEntry, BlockSize);
2375
2376 if (RtlpGetMode() == UserMode &&
2377 TagIndex != 0)
2378 {
2379 // FIXME: Tagging
2381 }
2382 }
2383 }
2384
2385 /* Release the heap lock */
2387
2388 return TRUE;
2389}
#define DPRINT1
Definition: precomp.h:8
#define UNIMPLEMENTED
Definition: debug.h:115
struct _HEAP * PHEAP
NTSTATUS NTAPI RtlEnterHeapLock(IN OUT PHEAP_LOCK Lock, IN BOOLEAN Exclusive)
Definition: libsupp.c:108
KPROCESSOR_MODE NTAPI RtlpGetMode(VOID)
Definition: libsupp.c:53
NTSTATUS NTAPI RtlLeaveHeapLock(IN OUT PHEAP_LOCK Lock)
Definition: libsupp.c:133
#define ULONG_PTR
Definition: config.h:101
#define RemoveEntryList(Entry)
Definition: env_spec_w32.h:986
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
Definition: fsrtlfuncs.h:898
NTSYSAPI void WINAPI RtlSetLastWin32ErrorAndNtStatusFromNtStatus(NTSTATUS)
#define UserMode
Definition: asm.h:35
_In_ PMEMORY_AREA _In_ PVOID _In_ BOOLEAN Locked
Definition: newmm.h:209
#define NtCurrentProcess()
Definition: nt_native.h:1657
#define MEM_RELEASE
Definition: nt_native.h:1316
unsigned short USHORT
Definition: pedump.c:61
PHEAP_FREE_ENTRY NTAPI RtlpCoalesceFreeBlocks(PHEAP Heap, PHEAP_FREE_ENTRY FreeEntry, PSIZE_T FreeSize, BOOLEAN Remove)
Definition: heap.c:1150
static VOID RtlpDeCommitFreeBlock(PHEAP Heap, PHEAP_FREE_ENTRY FreeEntry, SIZE_T Size)
Definition: heap.c:834
VOID NTAPI RtlpInsertFreeBlock(PHEAP Heap, PHEAP_FREE_ENTRY FreeEntry, SIZE_T BlockSize)
Definition: heap.c:357
struct _HEAP_ENTRY * PHEAP_ENTRY
FORCEINLINE BOOLEAN RtlpHeapIsSpecial(ULONG Flags)
Definition: heap.h:59
BOOLEAN NTAPI RtlDebugFreeHeap(HANDLE HeapPtr, ULONG Flags, PVOID Ptr)
Definition: heapdbg.c:267
#define HEAP_SEGMENTS
Definition: heap.h:15
#define HEAP_ENTRY_VIRTUAL_ALLOC
Definition: heap.h:43
#define HEAP_ENTRY_BUSY
Definition: heap.h:40
Definition: heap.h:136
Definition: heap.h:130
Definition: heap.h:308
LIST_ENTRY Entry
Definition: heap.h:309
Definition: heap.c:52
ULONG Flags
Definition: heap.h:226
ULONG ForceFlags
Definition: heap.h:227
SIZE_T TotalFreeSize
Definition: heap.h:239
SIZE_T DeCommitFreeBlockThreshold
Definition: heap.h:237
PHEAP_LOCK LockVariable
Definition: heap.h:260
SIZE_T DeCommitTotalFreeThreshold
Definition: heap.h:238
ULONG_PTR SIZE_T
Definition: typedefs.h:80
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170

◆ RtlFreeUnicodeString()

NTSYSAPI VOID NTAPI RtlFreeUnicodeString ( PUNICODE_STRING  UnicodeString)

Referenced by _Success_(), _test_key_name(), AbortSystemShutdownA(), AccessCheckAndAuditAlarmA(), acpi_create_registry_table(), AddDelBackupEntryA(), AddDesktopItemA(), AddItemA(), AddPrinterA(), AddPrintProcessorA(), AdvInstallFileA(), AppendMenuA(), AppendUnicodeString(), BackupEventLogA(), BatteryClassUnload(), BcdOpenObject(), BeginUpdateResourceA(), BindAdapterByName(), BootLoaderInstallPage(), BuildCommDCBAndTimeoutsA(), CallApphelpWithImage(), capCreateCaptureWindowA(), ChangeDisplaySettingsExA(), CheckForDeviceDesc(), CheckForLoadedProfile(), CheckNameLegalDOS8Dot3A(), Chkdsk(), ClasspIsMediaChangeDisabledDueToHardwareLimitation(), ClasspRegisterMountedDeviceInterface(), cleanup(), CleanupFontEntryEx(), ClearEventLogA(), close_file(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpSetSystemValues(), CompareFileName(), ConvertSidToStringSidW(), CopyFileA(), CopyFileExA(), CopyMetaFileA(), CopyProfileDirectoryA(), CopySystemProfile(), CreateDCA(), CreateDesktopA(), CreateDeviceFromRegistry(), CreateDirectoryExA(), CreateFontA(), CreateGroupA(), CreateHardLinkA(), CreateJunction(), CreateNestedKey(), CreateProcessInternalA(), CreateProcessInternalW(), CreateSymbolicLinkW(), CreateWindowStationA(), CsrConnectToUser(), CsrLoadServerDll(), DbgkpPostFakeModuleMessages(), DecryptFileA(), DefineDosDeviceA(), DefineDosDeviceW(), DefSetText(), DeleteDesktopItemA(), DeleteFormA(), DeleteGroupA(), DeleteItemA(), DeletePrinterDriverExA(), DeletePrintProcessorA(), DeletePrintProvidorA(), DeleteProfileA(), DelNodeA(), DelNodeRunDLL32A(), DestroyPartitionList(), DoInfInstall(), DriverEntry(), DumpAutomationTable(), EjectFloppy(), ElfrBackupELFA(), ElfrClearELFA(), ElfrOpenBELA(), ElfrOpenELA(), ElfrRegisterEventSourceA(), ElfrReportEventA(), EmulatorInitialize(), EncryptFileA(), EnumDisplayDevicesA(), EnumDisplaySettingsExA(), EnumerateDevices(), EnumPrinterDriversA(), ExecuteCabA(), ExpandEnvironmentStringsA(), ExpCreateSystemRootLink(), expect_Sdb_imp(), ExtTextOutA(), FatDeallocateCcbStrings(), FatRemoveNames(), FdoHandleRemoveDevice(), FdoHandleStartDevice(), FdoQueryBusRelations(), FdoRemoveAdapter(), FileEncryptionStatusA(), FileSaveRestoreA(), FileSaveRestoreOnINFA(), FindFile(), FormatEx(), FreeGlobalSettings(), FsRtlAreNamesEqual(), FsRtlIsNameInExpression(), GdiAddFontResourceW(), get_manifest_in_associated_manifest(), get_manifest_in_module(), GetBinaryTypeA(), GetClassInfoExA(), GetComputerNameExW(), GetCurrentUserKey(), GetDefaultCommConfigA(), GetEnvironmentVariableA(), GetFallbackHKCRKey(), GetFileAttributesExW(), GetFileSecurityA(), GetFileTitleA(), GetFileVersionInfoExA(), GetFileVersionInfoSizeExA(), GetFullPathNameA(), GetInterfaceNameInternal(), GetLongPathNameA(), GetModuleFileNameA(), GetPhysicalFileSize(), GetPreferredHKCRKey(), GetPrinterDriverDirectoryA(), GetPrivateProfileIntA(), GetPrivateProfileSectionA(), GetPrivateProfileSectionNamesA(), GetPrivateProfileStringA(), GetPrivateProfileStructA(), GetProfileType(), GetPropA(), GetShortPathNameA(), GetTempFileNameA(), GetTextExtentPoint32A(), GetTextExtentPointA(), GetUserProfileDirectoryW(), GetVersionFromFileExA(), HalpNextDriveLetter(), HandleDumpAttributes(), CPortPinWavePci::HandleKsProperty(), CPortPinWaveRT::HandleKsProperty(), HistoryAddEntry(), HistoryDeleteBuffer(), HistoryResizeBuffer(), IKsClock_DispatchDeviceIoControl(), IKsFilter_DispatchDeviceIoControl(), IKsFilterFactory_fnInitialize(), IKsPin_DispatchDeviceIoControl(), init_funcs(), InitDestinationPaths(), InitFunctionPtrs(), InitiateShutdownA(), InitiateSystemShutdownA(), InitiateSystemShutdownExA(), InPortUnload(), InsertMenuA(), InsertMenuItemA(), InstallHinfSectionA(), IntCreateNewRegistryPath(), InternalAddAtom(), InternalFindAtom(), IntFreeFontNames(), IntGdiAddFontMemResource(), IntGdiAddFontResourceEx(), IntGdiLoadFontsFromMemory(), IntGetCodePageEntry(), IntGetFontLocalizedName(), IntIsGhostWindow(), IntLoadFontsInRegistry(), IntLoadFontSubstList(), IntVideoPortDispatchCleanup(), IntVideoPortFindAdapter(), IoGetBootDiskInformation(), IopCreateArcNames(), IopCreateArcNamesCd(), IopCreateArcNamesDisk(), IopCreateDeviceInstancePath(), IopFreeDeviceNode(), IopGetParentIdPrefix(), IopInitializeBuiltinDriver(), IopInitializeDriverModule(), IopInitializeSystemDrivers(), IopLoadDriver(), IopMarkBootPartition(), IopOpenInterfaceKey(), IopReassignSystemRoot(), IopStartRamdisk(), IsDxSetupA(), KdpDebugLogInit(), KsCacheMedium(), KsCreateBusEnumObject(), KspEnableEvent(), KspFreeDeviceInterfaces(), KspInstallInterface(), KspReadMediaCategory(), KspValidateConnectRequest(), LaunchINFSectionA(), LaunchINFSectionExA(), LdrGetDllHandleEx(), LdrLoadDll(), LdrpInitializeProcess(), LdrpLoadImportModule(), LdrpSnapThunk(), LoadLibraryExW(), LoadModule(), LoadSetupInf(), LoadUserProfileW(), LogonUserExA(), lookup_assembly(), lookup_winsxs(), LookupAccountNameA(), LookupAccountSidA(), LookupPrivilegeDisplayNameA(), LookupPrivilegeNameA(), LookupPrivilegeValueA(), MatchFontName(), MCIWndCreateA(), MessageBoxIndirectA(), MessageBoxTimeoutA(), MiQueryMemorySectionName(), MiResolveImageReferences(), MiSnapThunk(), MMixerGetDeviceNameWithComponentId(), ModifyMenuA(), MountFloppy(), MoveFileWithProgressA(), MsgiAnsiToUnicodeCleanup(), NdisIAddDevice(), NpTranslateAlias(), NtUserDefSetText(), ObjectCloseAuditAlarmA(), ObjectDeleteAuditAlarmA(), ObjectOpenAuditAlarmA(), ObjectPrivilegeAuditAlarmA(), ok_keys_(), OpenBackupEventLogA(), OpenDesktopA(), OpenFile(), OpenINFEngineA(), OpenWindowStationA(), PartitionHandleRemove(), PartitionHandleStartDevice(), PathCreateFromUrlA(), PciQueryInterface(), PcNewPort(), PcRegisterSubdevice(), PiAttachFilterDriversCallback(), PlaySound_AllocAndGetMMIO(), FxPkgPdo::PnpQueryResourceRequirements(), PnpRootCreateDevice(), PnpRootPdoPnpControl(), PnpRootRegisterDevice(), PrintString(), PrivilegedServiceAuditAlarmA(), PropertyItemDispatch(), query_directory(), CUnregisterPhysicalConnection::QueryInterface(), CDrmPort2::QueryInterface(), CInterruptSync::QueryInterface(), CPortDMus::QueryInterface(), CPortTopology::QueryInterface(), CPortWaveCyclic::QueryInterface(), CPortWavePci::QueryInterface(), CPortWaveRT::QueryInterface(), CRegistryKey::QueryInterface(), CResourceList::QueryInterface(), CServiceGroup::QueryInterface(), CUnregisterSubdevice::QueryInterface(), CPortClsVersion::QueryInterface(), QueryTokenOwnerTests(), QueryTokenPrimaryGroupTests(), QueryTokenUserTests(), RamdiskAddDevice(), RamdiskRemoveBusDevice(), RealSystemParametersInfoA(), RebootCheckOnInstallA(), RegConnectRegistryA(), RegCopyTreeA(), RegCreateKeyExA(), RegDeleteKeyExA(), RegDeleteKeyValueA(), RegDeleteTreeA(), RegDeleteValueA(), RegInstallA(), RegisterClipboardFormatA(), RegisterDeviceInterfaces(), RegisterOCX(), RegisterServiceCtrlHandlerA(), RegisterServiceCtrlHandlerExA(), RegisterWindowMessageA(), RegLoadKeyA(), RegLoadMUIStringA(), RegOpenKeyExA(), RegOpenKeyExW(), RegOpenUserClassesRoot(), RegQueryValueExA(), RegReplaceKeyA(), RegRestoreAllA(), RegRestoreKeyA(), RegSaveKeyA(), RegSaveKeyExA(), RegSaveRestoreA(), RegSaveRestoreOnINFA(), RegSetKeyValueA(), RegSetValueExA(), RegUnLoadKeyA(), RemovePropA(), ReplaceFileA(), ReportDetectedDevice(), ResetPrinterA(), ROpenSCManagerA(), ROpenServiceA(), RosSymCreateFromFile(), RosSymCreateFromMem(), RpcNetworkIsProtseqValidA(), RtlCreateActivationContext(), RtlDosApplyFileIsolationRedirection_Ustr(), RtlDosSearchPath_Ustr(), RtlFormatCurrentUserKeyPath(), RtlIpv4StringToAddressA(), RtlIpv4StringToAddressExA(), RtlIpv6StringToAddressA(), RtlIpv6StringToAddressExA(), RtlOpenCurrentUser(), RtlpGetRegistryHandle(), RunSetupCommandA(), SCardAddReaderToGroupA(), ScmCanonDriverImagePath(), ScmConvertToBootPathName(), ScmCreateOrReferenceServiceImage(), ScsiFlopRemoveDevice(), SdbGUIDToString(), SdbpCreate(), SdbpOpenKey(), SdbpOpenMemMappedFile(), SearchPathA(), SECUR32_findPackageA(), SeiFindHookModuleInfoForImportDescriptor(), SepDumpSdDebugInfo(), SepDumpTokenDebugInfo(), SepSidInTokenEx(), SerenumDetectLegacyDevice(), SetClassLongA(), SetComputerNameExA(), SetDllDirectoryA(), SetDllDirectoryW(), SetEnvironmentVariableA(), SetFileSecurityA(), SetFirmwareEnvironmentVariableExA(), SetMenuItemInfoA(), SetNamedSecurityInfoA(), SetPropA(), SetupCreateSingleDirectory(), SetupFindFirstLineA(), SetupFindNextMatchLineA(), SetupGetLineByIndexA(), SetupGetLineCountA(), SetupInstallFileA(), SetupInstallFilesFromInfSectionA(), SetupInstallFromInfSectionA(), SetupInstallServicesFromInfSectionExA(), SetupLdrLoadNlsData(), SetupOpenInfFileA(), SetupQueueCopySectionA(), SetupQueueDeleteSectionA(), SetupQueueRenameSectionA(), SetVolumeLabelA(), SharedFaceCache_Release(), SmpCreatePagingFileDescriptor(), SmpHandleConnectionRequest(), SmpInvokeAutoChk(), START_TEST(), StartServiceCtrlDispatcherA(), StartServiceCtrlDispatcherW(), StopWatchA(), SysAudio_Shutdown(), SysAudioHandleProperty(), SysAudioRegisterDeviceInterfaces(), test_CreateDirectoryA(), test_mode_generic(), Test_NtGdiAddFontResourceW(), test_RtlDosPathNameToNtPathName_U_WithStatus(), TestInterfaceRegistry(), TestIoVolumeDeviceToDosName(), TestMessageHandler(), TestModuleRegistry(), TestUpcaseUnicodeString(), TextIntRealizeFont(), TextOutA(), thunk_AcquireCredentialsHandleA(), thunk_AddCredentialsA(), thunk_ImportSecurityContextA(), thunk_InitializeSecurityContextA(), TranslateInfStringA(), TranslateInfStringExA(), TreeResetNamedSecurityInfoA(), UDFQueryDirectory(), UnbindAdapterByContext(), UnloadUserProfile(), UnregisterClassA(), UpdateResourceA(), UrlCreateFromPathA(), UrlEscapeA(), USBAudioInitComponentId(), USBHI_GetRootHubSymbolicName(), USBPORT_PdoQueryInterface(), USBPORT_RegisterDeviceInterface(), USBPORT_UserGetRootHubName(), User32CreateWindowEx(), UserInstStubWrapperA(), UserpFormatMessages(), UserServerHardError(), UserUnInstStubWrapperA(), VfdOpenImage(), WaitNamedPipeA(), WaitNamedPipeW(), WdmAudRegisterDeviceInterface(), WinLdrAddDriverToList(), WritePrivateProfileSectionA(), WritePrivateProfileStringA(), WritePrivateProfileStructA(), WSHOpenSocket2(), xHalIoAssignDriveLetters(), xOpenFile(), and FxDeviceInterface::~FxDeviceInterface().

◆ RtlInitAnsiString()

NTSYSAPI VOID NTAPI RtlInitAnsiString ( PANSI_STRING  DestinationString,
PCSZ  SourceString 
)

Referenced by _main(), AbortSystemShutdownA(), acpi_create_registry_table(), APIHook_GetProcAddress(), APIHook_LoadLibraryA(), APIHook_LoadLibraryExA(), AvrfpResolveThunks(), BackupEventLogA(), BaseInitApphelp(), BasepAnsiStringToHeapUnicodeString(), BaseSrvDelayLoadKernel32(), CabinetExtractFile(), CabinetFindNext(), CabinetOpen(), CallNamedPipeA(), CheckNameLegalDOS8Dot3A(), ClassNameToVersion(), ClearEventLogA(), CmBattQueryInformation(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpInitializeSystemHive(), CmpSetVersionData(), ConnectToLsa(), ConvertToUnicodeString(), CreateDCA(), CreateFontA(), CsrClientConnectToServer(), CsrConnectToUser(), CsrLoadServerDll(), CsrParseServerCommandLine(), DefineDosDeviceA(), dempIsFileMatch(), DosGetDevice(), DriverIoControl(), ElfReportEventA(), ExpandEnvironmentStringsA(), ExpCreateSystemRootLink(), ExpInitializeExecutive(), FatalAppExitA(), FilenameA2W(), FontFamilyFillInfo(), FxVerifyAllocateDebugInfo(), GetBinaryTypeA(), GetEnvironmentVariableA(), GetProcAddress(), GetTextExtentPointA(), InitiateShutdownA(), InitiateSystemShutdownA(), InitiateSystemShutdownExA(), InternalAddAtom(), InternalFindAtom(), IntGdiLoadFontsFromMemory(), IntGetCodePageEntry(), IntGetFontLocalizedName(), IntVideoPortChildQueryText(), IoGetBootDiskInformation(), IopCreateArcNames(), IopCreateArcNamesCd(), IopCreateArcNamesDisk(), IopMarkBootPartition(), IopReassignSystemRoot(), LdrpGetShimEngineFunction(), LdrpLoadImportModule(), LdrpSnapThunk(), LdrpUpdateLoadCount3(), LoadModule(), LoadOle32Export(), LogonUserExW(), LookupAccountSidA(), LsaApInitializePackage(), LsapAddAuthPackage(), MiResolveImageReferences(), MsgiUnicodeToAnsiCleanup(), MsgiUnicodeToAnsiMessage(), MyLogonUser(), NdisInitializeString(), NetpAllocWStrFromAnsiStr(), NetpAllocWStrFromStr(), NetUserChangePassword(), NtQuerySystemEnvironmentValue(), OpenBackupEventLogA(), OpenEventLogA(), OpenFile(), OpenLogonLsaHandle(), PciGetDescriptionMessage(), PciIdPrintf(), PdoHandleQueryDeviceId(), PdoHandleQueryDeviceText(), pesection(), Phase1InitializationDiscard(), PrintString(), QSI_DEF(), QueryDosDeviceA(), RegisterEventSourceA(), RegisterServiceCtrlHandlerA(), RegisterServiceCtrlHandlerExA(), ReportEventA(), RtlLargeStringToUnicodeString(), SeiAddHooks(), SeiResolveAPI(), SerenumInitMultiSzString(), SetConsoleInputExeNameA(), SetEnvironmentVariableA(), SmpInvokeAutoChk(), SmpProcessModuleImports(), START_TEST(), USBSTOR_ConvertToUnicodeString(), USBSTOR_PdoHandleQueryDeviceId(), USBSTOR_PdoHandleQueryDeviceText(), UserpFormatMessages(), and xHalIoAssignDriveLetters().

◆ RtlInitString()

◆ RtlInitUnicodeString()

NTSYSAPI VOID NTAPI RtlInitUnicodeString ( PUNICODE_STRING  DestinationString,
PCWSTR  SourceString 
)

Referenced by _Function_class_(), _IRQL_requires_max_(), _main(), _Success_(), AccessCheckAndAuditAlarmW(), acpi_create_registry_table(), AcpiRegOpenKey(), AcpiRegQueryValue(), add_comserver_record(), add_device(), add_ifaceps_record(), add_progid_record(), AddCodepageToRegistry(), AddControllers(), AddDeviceInternal(), AddFontsSettingsToRegistry(), AddHotkeySettings(), AddImpersonatePrivilege(), AddKbLayoutsToRegistry(), AddPartitionToDisk(), AddVolumeToList(), APIHook_LoadLibraryExW(), APIHook_LoadLibraryW(), AppendMenuA(), AppendMenuW(), AppendUserEnvironmentVariable(), ArcMatchToken_UStr(), ArcPathToNtPath(), AreDriversLoaded(), FxString::Assign(), AVrfInitializeVerifier(), BaseInitializeStaticServerData(), BasepGetModuleHandleExW(), BasepGetVolumeNameForVolumeMountPoint(), BasepMoveFileDelayed(), BasepNotifyTrackingService(), BasepShimCacheRemoveEntry(), BasepShimCacheSearch(), BasePushProcessParameters(), BaseSrvIsVdmAllowed(), Beep(), BiConvertRegistryDataToElement(), BiGetRegistryValue(), BiLoadHive(), BiOpenKey(), BlImgLoadBootApplication(), BlStatusPrint(), BmpFwGetApplicationDirectoryPath(), BroadcastDriveLetterChange(), build_clr_surrogate_section(), build_tlib_section(), BuildDesktopNameList(), BuildLm20LogonProfileBuffer(), BuildSidListFromDomainAndName(), BuildSubSysCommandLine(), CabinetExtractFile(), CabinetOpen(), CallApphelpWithImage(), ChangeDisplaySettingsExW(), CheckDirectorySecurity__(), CheckForDeviceDesc(), CheckForGlobalDriveLetter(), CheckKeySecurity__(), CheckNameLegalDOS8Dot3W(), CheckVolume(), ChkdskFileSystem(), ClassDispatchPnp(), ClassNameToVersion(), ClasspIsMediaChangeDisabledForClass(), ClasspMediaChangeDeviceInstanceOverride(), ClasspRegisterMountedDeviceInterface(), ClasspScanForSpecialInRegistry(), ClassSystemControl(), clean_main(), ClearDeviceStatus(), ClearEventLogA(), ClearEventLogW(), CliGetPreloadKeyboardLayouts(), CliSetSingleHotKey(), CmBattAddDevice(), CmBattCreateFdo(), CmCreateRootNode(), CmGetSystemControlValues(), CmGetSystemDriverList(), CmInitSystem1(), CmpAddDriverToList(), CmpCreateControlSet(), CmpCreateHardwareProfile(), CmpCreateObjectTypes(), CmpCreateRegistryRoot(), CmpCreateRootNode(), CmpFindControlSet(), CmpFindDrivers(), CmpInitializeHardwareConfiguration(), CmpInitializeHiveList(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpInitializeSystemHive(), CmpIsSafe(), CmpLinkKeyToHive(), CmpOpenHiveFiles(), CmpSetSystemValues(), CmpSetVersionData(), CmpSortDriverList(), CmpWalkPath(), co_IntInitializeDesktopGraphics(), CODE_SEG(), CommandDumpSector(), CommandPartInfo(), CompBattAddDevice(), CompBattGetBatteries(), ConDrvCreateController(), ConDrvDeleteController(), ConnectRegistry(), ConstructDeviceName(), create_classes_key(), create_classes_root_hkey(), create_registry_key(), CreateBaseAcls(), CreateDesktopA(), CreateDesktopW(), CreateDeviceName(), CreateDirectoryExW(), CreateFileMappingW(), CreateMemoryResourceNotification(), CreatePartitionList(), CreatePipe(), CreateProcessInternalW(), CreateProtoHive(), CreateRegistryFile(), CreateRegistryKeyHandle(), CreateSymbolicLinkW(), CreateSymLinkKey(), CreateWindowStationA(), CreateWindowStationW(), CryptCATEnumerateMember(), CSR_API(), CsrClientConnectToServer(), CsrCreateSessionObjectDirectory(), CsrLoadServerDll(), CsrUnhandledExceptionFilter(), CURSORICON_LoadImageW(), DbgkCreateThread(), DbgkInitialize(), DefineDosDeviceW(), DefSetText(), DeleteDriveLetterRoutine(), DeleteSymLinkKey(), DeviceEvtCleanup(), DeviceInterfaceTest_Func(), CAC97AdapterCommon::DisableAC97Pin(), DisableDeviceInstance(), DisconnectRegistry(), DiskAddDevice(), DiskCreateFdo(), DiskCreateSymbolicLinks(), DiskDeleteSymbolicLinks(), DismountVolume(), DispatchCreateKMix(), DispatchCreateSysAudio(), DllMain(), do_enumeratekey(), do_shutdown(), DoesPathExist(), DrawCaptionTempW(), DriverEntry(), DriverEvtDeviceAdd(), DsAddressToSiteNamesA(), DsAddressToSiteNamesExA(), DsEnumerateDomainTrustsA(), DsGetDcNameWithAccountA(), DsGetDcSiteCoverageA(), DumpDisk(), DumpPartition(), DuplicatesTest(), EfiInitpCreateApplicationEntry(), ElfReportEventW(), ElfrIntReportEventW(), EnableDeviceInstance(), EngLoadModuleEx(), EngpFindGraphicsDevice(), EngpGetPDEV(), EngpRegisterGraphicsDevice(), EngpUpdateGraphicsDeviceList(), Enum(), EnumDeviceKeys(), EnumDisplayDevicesW(), EnumDisplaySettingsExW(), EnumerateDevices(), EnumerateSoundDevices(), EnumerateSubkey(), EraseLine(), EtfspCachedSearchForDirent(), EtfspSearchForDirent(), Ex2ProcessMountPoint(), ExpandEnvironmentStringsA(), ExpandEnvironmentStringsForUserW(), ExpandEnvironmentStringsW(), ExpCreateSystemRootLink(), ExpGetCurrentUserUILanguage(), ExpInitializeCallbacks(), ExpInitializeEventImplementation(), ExpInitializeEventPairImplementation(), ExpInitializeMutantImplementation(), ExpInitializeProfileImplementation(), ExpInitializeSemaphoreImplementation(), ExpInitializeTimerImplementation(), ExpLoadInitialProcess(), ExpSetCurrentUserUILanguage(), ExpUuidLoadSequenceNumber(), ExpUuidSaveSequenceNumber(), ExpValidateNlsLocaleId(), ExpWin32kInit(), Ext2ParseRegistryVolumeParams(), FatalAppExitW(), FdcFdoQueryBusRelations(), FdcPdoQueryId(), FdoCreateRawParallelPdo(), FdoHandleRemoveDevice(), FdoHandleStartDevice(), FdoRemoveAdapter(), FdoStartAdapter(), file_create(), FilterConnectCommunicationPort(), FilterInstanceSetup(), FindActCtxSectionStringW(), FindDeviceDescForAdapter(), FindExistingNTOSInstall(), FindFirstFileA(), FindFirstFileExA(), FindFirstFileExW(), FindNextFileA(), FindNTOSInstallations(), FindProductName(), FindWindowExW(), finish_removing_device(), FltLoadFilter(), FltpAttachToFileSystemDevice(), FltpEnumerateFileSystemVolumes(), FltpFsNotification(), FltpOpenFilterServicesKey(), FltpSetupCommunicationObjects(), FltUnloadFilter(), FontFamilyFillInfo(), FormatEx(), FormatFileSystem(), FreeBT_AddDevice(), FreeBT_QueryWmiRegInfo(), FreeGlobalData(), fs_ignored(), FsRecLoadFileSystem(), FsRecRegisterFs(), FsRtlIsDbcsInExpressionTest(), FsRtlIsNameInExpressionTest(), FsRtlpOpenDev(), FsRtlpSetSymbolicLink(), FsRtlRegisterUncProvider(), FsRtlTest_OpenTestDirectory(), FsRtlTest_OpenTestFile(), FxDriver::FxDriver(), FxFileObject::FxFileObject(), FxInitializeBugCheckDriverInfo(), FxLibraryCommonRegisterClient(), FxLibraryGlobalsCommission(), FxOverrideDefaultVerifierSettings(), FxRegisterBugCheckCallback(), FxRegistrySettingsInitialize(), FxString::FxString(), FxUninitializeBugCheckDriverInfo(), FxUnregisterBugCheckCallback(), FxVerifyAllocateDebugInfo(), get_manifest_in_associated_manifest(), get_manifest_in_module(), get_registry_locale_info(), get_registry_value(), get_res_nameW(), GetClassInfoExA(), GetClassInfoExW(), GetComputerIdentifier(), GetComputerNameExW(), GetComputerNameFromRegistry(), GetConsoleInputExeNameA(), GetCPFileNameFromRegistry(), GetDeviceStatus(), GetDisplayIdentifier(), GetDosDevicesProtection(), GetDriverName(), GetDriveTypeW(), GetEnvironmentVariableA(), GetFileSystemInfo(), GetFileSystemName(), GetFilterAltitude(), GetFirstHardwareId(), GetFullPathNameA(), GetImageName(), GetName(), GetNamedPipeHandleStateA(), GetObjectType(), GetPrivateProfileIntW(), GetRegInt(), GetRegIntFromID(), GetRegistryValueBuffer(), GetRelationsInstanceList(), GetRelationsInstanceListSize(), GetTempFileNameA(), GetTempFileNameW(), GetTimeouts(), GetUserGeoID(), GetVersionExA(), GetVolumeInformationA(), GetVolumeNameForVolumeMountPointA(), GetVolumePathNameA(), GetVolumePathNamesForVolumeNameW(), GetVolumePathNameW(), GreenQueryId(), GUIDFromStringW(), GuiInit(), HaliInitPnpDriver(), HalpDeleteMountLetter(), HalpEnableAutomaticDriveLetterAssignment(), HalpGetChipHacks(), HalpGetNMICrashFlag(), HalpMarkAcpiHal(), HalpMarkChipsetDecode(), HalpNextDriveLetter(), HalpNextMountLetter(), HalpQueryPciRegistryInfo(), HalpRegisterPciDebuggingDeviceInfo(), HalpReportSerialNumber(), HalpSetMountLetter(), HalReportResourceUsage(), HidClassAddDevice(), IKsFilterFactory_fnInitialize(), Imm32StrToUInt(), InferFileSystem(), IniCacheLoad(), IniCacheSave(), FxPowerPolicyOwnerSettings::Init(), init_func_ptrs(), InitDisplayDriver(), InitFunctionPtrs(), InitializeFilterWithKs(), InitializeGlobalData(), InitializeProvider(), InitializeSetup(), InitiateSystemShutdownExW(), InitiateSystemShutdownW(), InitLDEVImpl(), InitTestData(), InitThreadCallback(), InPortAddDevice(), InsertMenuA(), InsertMenuItemA(), InsertMenuItemW(), InsertMenuW(), InstallBootCodeToDisk(), InstallBootCodeToFile(), InstallBtrfsBootCode(), InstallDevice(), InstallDriver(), InstallFat32BootCode(), InstallFatBootCode(), InstallMbrBootCode(), InstallNtfsBootCode(), InstallPrivileges(), InstallSetupInfFile(), IntCopyRegistryValue(), IntCreateDICW(), IntCreateWindow(), IntDesktopObjectParse(), InternalAddAtom(), InternalFindAtom(), IntGdiAddFontMemResource(), IntGdiAddFontResourceEx(), IntGdiGetFontResourceInfo(), IntGdiLoadFontsFromMemory(), IntInitFontNames(), IntIsGhostWindow(), IntLoadKeyboardLayout(), IntLoadRegistryParameters(), IntLoadSystemFonts(), IntResolveDesktop(), IntSetMenuItemInfo(), IntSetWindowsHook(), IntVideoPortAddDeviceMapLink(), IntVideoPortCreateAdapterDeviceObject(), IntVideoPortMapPhysicalMemory(), IoCreateDevice(), IoGetDeviceInterfaces(), IoOpenDeviceRegistryKey(), IopBootLog(), IopComputeHarddiskDerangements(), IopCreateArcNamesCd(), IopCreateArcNamesDisk(), IopCreateDeviceInstancePath(), IopCreateLogFile(), IopCreateObjectTypes(), IopCreateRootDirectories(), IopDetectResourceConflict(), IopEnumerateDetectedDevices(), IopGetParentIdPrefix(), IopGetRegistryValue(), IopGetRelatedDevice(), IopInitializeBootDrivers(), IopInitializePlugPlayServices(), IopMapDetectedDeviceId(), IopMapPeripheralId(), IopQueryBusDescription(), IopQueryCompatibleIds(), IopQueryDeviceCapabilities(), IopQueryDeviceDescription(), IopQueryHardwareIds(), IopSaveBootLogToFile(), IopSetDeviceInstanceData(), IopSetServiceEnumData(), IopShouldProcessDevice(), IopStartRamdisk(), IopStoreSystemPartitionInformation(), IopUnloadDriver(), IopUpdateResourceMap(), IopWriteLogFile(), IoRegisterPlugPlayNotification(), IoReportDetectedDevice(), IoReportHalResourceUsage(), IoSetDeviceInterfaceState(), IoSetSystemPartition(), IoVolumeDeviceToDosName(), IsGlobalDeviceMap(), IsGlobalSymbolicLink(), IsThereAValidBootSector(), KdbpCliInit(), KeI386VdmInitialize(), keyed_event_thread(), KMixAllocateDeviceHeader(), KmtGetSystemRoutineAddress(), KopAddDevice(), KopDispatchCreate(), KsFilterFactoryAddCreateItem(), KsFreeObjectCreateItem(), KspAddObjectCreateItemToList(), KspCreateDeviceAssociation(), KspCreateDeviceReference(), KspCreateFilter(), KspCreatePDO(), KspCreatePin(), KspDoReparseForIrp(), KspEnumerateBusRegistryKeys(), KspInstallInterface(), KspRegisterDeviceAssociation(), KsRegisterFilterWithNoKSPins(), LdrpCheckForKnownDll(), LdrpInitializeProcess(), LdrpLoadShimEngine(), LdrpMapDll(), LdrpSnapThunk(), ListDirectory(), CMiniportWaveCMI::loadChannelConfigFromRegistry(), LoadLibraryExW(), LoadVia_SystemExtendServiceTableInformation(), LoadVia_SystemLoadGdiDriverInformation(), LocateChildDevice(), LogfReportEvent(), LogonUserExW(), lookup_manifest_file(), lookup_winsxs(), LookupAccountNameW(), LookupAccountSidA(), LookupAccountSidW(), LookupPrivilegeDisplayNameW(), LookupPrivilegeNameW(), LookupPrivilegeValueW(), LpcInitSystem(), LsaApLogonUserEx2(), LsaConnectUntrusted(), LsapCreateDatabaseKeys(), LsapCreateDbObject(), LsapGetDomainInfo(), LsapGetObjectAttribute(), LsapIsDatabaseInstalled(), LsapOpenDbObject(), LsapOpenLsaPort(), LsapOpenServiceKey(), LsapRegCreateKey(), LsapRegDeleteSubKey(), LsapRegDeleteValue(), LsapRegOpenKey(), LsapRegQueryValue(), LsapRegSetValue(), LsapRmInitializeServer(), LsapSetObjectAttribute(), LsaRegisterLogonProcess(), main(), MatchFontName(), MatchFontNames(), MENU_GetSystemMenu(), MessageBoxTimeoutIndirectW(), MmInitSectionImplementation(), ModifyMenuA(), ModifyMenuW(), mountmgr::mountmgr(), mountmgr_notification(), MountMgrMountedDeviceArrival(), MountMgrQuerySystemVolumeNameQueryRoutine(), MoveFileWithProgressW(), MsgiAnsiToUnicodeCleanup(), MsgiUnicodeToAnsiMessage(), MupGetProviderInformation(), Mx::MxGetSystemRoutineAddress(), MyDeleteFile(), MyLogonUser(), ndisBindMiniportsToProtocol(), NdisIAddDevice(), NdisInitUnicodeString(), NetGetDisplayInformationIndex(), NetGroupAdd(), NetGroupAddUser(), NetGroupDel(), NetGroupDelUser(), NetGroupEnum(), NetGroupGetInfo(), NetGroupGetUsers(), NetGroupSetInfo(), NetGroupSetUsers(), NetLocalGroupAdd(), NetLocalGroupAddMembers(), NetLocalGroupDel(), NetLocalGroupDelMembers(), NetLocalGroupEnum(), NetLocalGroupGetInfo(), NetLocalGroupGetMembers(), NetLocalGroupSetInfo(), NetpAllocAnsiStrFromWStr(), NetpAllocStrFromWStr(), NetpSetPrimaryDomain(), NetQueryDisplayInformation(), NetUserAdd(), NetUserDel(), NetUserEnum(), NetUserGetGroups(), NetUserGetInfo(), NetUserGetLocalGroups(), NetUserModalsGet(), NetUserSetInfo(), nfs41_driver_unload(), NLS_RegGetDword(), NLS_RegOpenKey(), NlsInit(), NpCreatePipeEx(), NpOpenPipeEx(), NtCreateSymbolicLinkObject(), NtfsDirFindFile(), NtfsOpenFileById(), NtfsQueryDirectory(), NtOpenObject(), NtSetDefaultLocale(), NtStartDriver(), NtStopDriver(), NtUserDefSetText(), NtUserSetWindowsHookAW(), NtUserSetWindowsHookEx(), ObInitSystem(), ObjectCloseAuditAlarmW(), ObjectDeleteAuditAlarmW(), ObjectOpenAuditAlarmW(), ObjectPrivilegeAuditAlarmW(), ObpCreateDosDevicesDirectory(), ObpIsUnsecureName(), ObpProcessDosDeviceSymbolicLink(), ObtClose(), ObtCreateDirectory(), ObtCreateObjects(), ObtCreateObjectTypes(), open_classes_key(), OpenAndMapFile(), OpenBackupEventLogA(), OpenBackupEventLogW(), OpenBootStore(), OpenDesktopA(), OpenDesktopW(), OpenDevice(), OpenEventLogW(), OpenFile(), OpenFileMappingW(), OpenIniBootLoaderStore(), OpenInputDevice(), OpenKey(), OpenRegistryHandlesFromSymbolicLink(), OpenRegistryKeyHandle(), OpenSubkey(), openTcpFile(), OpenWindowStationA(), OpenWindowStationW(), OutputDebugStringW(), PartitionHandleRemove(), PartitionHandleStartDevice(), PcCreateItemDispatch(), PciAcpiFindRsdt(), PciAddDevice(), PciGetBiosConfig(), PciGetIrqRoutingTableFromRegistry(), PciGetRegistryValue(), PciIdeXAddDevice(), PciIdeXPdoCreateDevice(), PciOpenKey(), PciPdoCreate(), PciSaveBiosConfig(), PcRegisterSubdevice(), PdoQueryId(), Phase1InitializationDiscard(), PiAttachFilterDriversCallback(), PiGetDeviceRegistryProperty(), PNP_CreateDevInst(), PNP_GetDepth(), PNP_GetDeviceRegProp(), PNP_GetInterfaceDeviceList(), PNP_GetInterfaceDeviceListSize(), PNP_GetRelatedDeviceInstance(), PNP_QueryRemove(), PNP_RequestDeviceEject(), PopReadShutdownPolicy(), PortAddDevice(), PrivilegedServiceAuditAlarmW(), ProcessDisplayRegistry(), ProcessLocaleRegistry(), ProcessorSetFriendlyName(), ProcessPortMessage(), PspInitPhase0(), QSI_DEF(), QueryDosDeviceW(), QueryKeyValue(), RamdiskAddDevice(), RamdiskCreateDiskDevice(), RawFsDriverEntry(), read_registry(), ReadRecord(), ReadStringFromRegistry(), RealSystemParametersInfoA(), RealSystemParametersInfoW(), ReenumerateDeviceInstance(), RegCleanupRegistry(), RegCopyTreeW(), RegCreateKeyExW(), RegDeleteKeyExW(), RegDeleteKeyValueW(), RegDeleteValueW(), RegInitCurrentControlSet(), RegInitializeRegistry(), _FX_DRIVER_TRACKER_CACHE_AWARE::Register(), RegisterClassExWOWW(), _FX_DRIVER_GLOBALS::RegisterClientVersion(), RegisterClipboardFormatW(), RegisterControlAtoms(), RegisterEventSourceW(), RegisterUserApiHook(), RegisterWindowMessageW(), registry_callback(), registry_load_volume_options(), RegistryInitAdapterKey(), RegistryInitLunKey(), RegistryWriteCurrentTime(), RegLoadKeyW(), RegOpenKey(), RegOpenKeyExW(), RegpCreateOrOpenKey(), RegQueryInfoKeyA(), RegQueryValue(), RegQueryValueExW(), RegReplaceKeyW(), RegSetKeyValueW(), RegSetValueExW(), RegTGetDwordValue(), RegTGetStringValue(), RegUnLoadKeyW(), RegWriteDWORD(), RegWriteSZ(), ReleaseMemory(), remove_volume_child(), RemoveDirectoryW(), ReportEventW(), ReportToMountMgr(), ResolveArcNameNtSymLink(), RtlAddActionToRXact(), RtlApplyRXact(), RtlCreateSystemVolumeInformationFolder(), RtlDeleteRegistryValue(), RtlDosApplyFileIsolationRedirection_Ustr(), RtlInitializeRXact(), RtlLargeStringToUnicodeString(), RtlLoadUnicodeString(), RtlOpenCurrentUser(), RtlpCheckIntegerAtom(), RtlpDphProcessStartupInitialization(), RtlpHashAtomName(), RtlQueryRegistryValues(), RtlWriteRegistryValue(), RunTestCases(), RxGetRegistryParameters(), RxGetStringRegistryParameter(), RxReadRegistryParameters(), SampRegCreateKey(), SampRegDeleteKey(), SampRegDeleteValue(), SampRegOpenKey(), SampRegQueryValue(), SampRegSetValue(), SamrLookupDomainInSamServer(), SaveBootSector(), FxPkgPnp::SaveState(), ScBuildAnsiArgsVector(), ScmCheckDriver(), ScmConvertToBootPathName(), ScmCreateOrReferenceServiceImage(), ScmGetDriverStatus(), ScmLoadDriver(), ScmSetServicePassword(), ScmUnloadDriver(), ScsiFlopInitDevice(), ScsiFlopRemoveDevice(), ScsiFlopStartDevice(), SdbGetMatchingExe(), SdbGUIDFromString(), SdbpCreate(), SdbpMatchExe(), SdbpOpenKey(), SdbpOpenMemMappedFile(), SdbRegisterDatabaseEx(), SearchPathW(), SeGetLogonIdDeviceMap(), SeiAppendInExclude(), SeiInit(), SeiInitPaths(), SeiSetLayerEnvVar(), SelectPartitionPage(), SepCleanupLUIDDeviceMapDirectory(), SepInitializationPhase1(), SepInitializeTokenImplementation(), SepRegQueryHelper(), SepRmCommandServerThreadInit(), SerenumDetectLegacyDevice(), SerenumInitMultiSzString(), SerenumPdoQueryId(), SerialAddDeviceInternal(), SerialPnpStartDevice(), SeRmInitPhase1(), CAC97AdapterCommon::SetAC97Default(), SetActiveComputerNameToRegistry(), SetAdministratorPassword(), SetClassLongW(), SetComputerNameToRegistry(), SetDeviceStatus(), SetDllDirectoryA(), SetDllDirectoryW(), SetFileShortNameW(), SetFirmwareEnvironmentVariableExW(), SetGeoID(), SetLocaleInfoW(), SetMenuItemInfoA(), SetMenuItemInfoW(), SetMountedDeviceValue(), SetRegistryValue(), SetupCopyFile(), SetupDeleteFile(), SetupDeviceInstance(), SetupMoveFile(), SetupOpenInfFileExW(), SetUserEnvironmentVariable(), SetUserGeoID(), SetUserInfo(), SetVolumeLabelW(), SetWinEventHook(), SharedFaceCache_Init(), SharedMemoryInit(), SmConnectToSm(), SmLookupSubsystem(), SmpConfigureEnvironment(), SmpConfigureObjectDirectories(), SmpCreateDynamicEnvironmentVariables(), SmpCreateEmergencyPagingFile(), SmpCreateVolumeDescriptors(), SmpFindRegistryValue(), SmpGetVolumeFreeSpace(), SmpInit(), SmpInitializeDosDevices(), SmpInitializeKnownDlls(), SmpInitializeKnownDllsInternal(), SmpLoadDataFromRegistry(), SmpLoadSubSystemsForMuSession(), SmpParseCommandLine(), SmpParseToken(), SmpQueryRegistrySosOption(), SmpSaveRegistryValue(), SmpTranslateSystemPartitionInformation(), SmpUnhandledExceptionFilter(), SockGetAsyncSelectHelperAfdHandle(), SpeakerInitialize(), SpiCreatePortConfig(), SpiGetPciConfigData(), SpiInitOpenKeys(), START_TEST(), StartAuthenticationPort(), CMiniportWaveCMI::storeChannelConfigToRegistry(), StreamClassAddDevice(), Substitute(), SubstituteFontRecurse(), SymbolicLinkNamesFromUniqueIdCount(), SymbolicLinkNamesFromUniqueIdQuery(), SysAudioAllocateDeviceHeader(), TdiOpenDevice(), test_allocations(), test_dllnames(), test_GetInterfaceName(), Test_IoRegisterDeviceInterface(), Test_IoSetDeviceInterface(), test_keyed_events(), Test_NtGdiAddFontResourceW(), test_RtlHashUnicodeString(), test_specialhandling(), Test_SPI_SETDESKWALLPAPER(), test_table(), TestAttachDevice(), TestBuffers(), TestDeviceCreateDelete(), TestFindCharInUnicodeString(), TestFltRegisterFilter(), TestIoVolumeDeviceToDosName(), TestRedirection(), TestRelativeNames(), TestSharedCacheMap(), TestUpcaseUnicodeString(), TestZwLoad(), TestZwUnload(), TextIntRealizeFont(), TiGetProtocolNumber(), UDFBlankMount(), UDFCheckOtherFSByName(), UDFCreateFsDeviceObject(), UDFIndexDirectory(), UDFRegCheckParameterValue(), UnhandledExceptionFilter(), UniataClaimLegacyPCIIDE(), Unload(), UnregisterClassA(), UnregisterClassW(), USBAudioInitComponentId(), USBAudioRegCreateMediaCategoriesKey(), USBCCG_InitIdsWithInterfaceDescriptor(), USBCCGP_InitFunctionDescriptor(), USBH_CreateDevice(), USBH_SetPdoRegistryParameter(), USBPORT_AddDevice(), USBPORT_CreateLegacySymbolicLink(), USBPORT_CreatePdo(), USBPORT_GetRegistryKeyValueFullInfo(), USBPORT_GetSymbolicName(), USBPORT_SetRegistryKeyValue(), USBSTOR_HandleQueryProperty(), User32CreateWindowEx(), UserGetClassName(), UserGetLanguageID(), UserpDuplicateParamStringToUnicodeString(), UserpFormatMessages(), UserRegisterSystemClasses(), VfdCreateDevice(), VfdDeleteDevice(), VfdSetLink(), ViCreateDriveAndMountImage(), VideoPortInitialize(), W32kOpenFile(), WahCreateSocketHandle(), WahOpenHandleHelper(), WaitNamedPipeW(), WdfDeleteKmdfVersionFromRegistry(), WdfWriteKmdfVersionToRegistry(), WdmAudOpenSysAudioDevice(), WdmlibRtlIsNtDdiVersionAvailable(), WinLdrAddDriverToList(), WinMain(), wmain(), write_progid_record(), WritePartitions(), WSHOpenSocket2(), WSPSocket(), and xHalIoAssignDriveLetters().

◆ RtlIntegerToUnicodeString()

◆ RtlMoveMemory()

NTSYSAPI VOID NTAPI RtlMoveMemory ( VOID UNALIGNED Destination,
CONST VOID UNALIGNED Source,
ULONG  Length 
)

◆ RtlPrefixUnicodeString()

◆ RtlTimeFieldsToTime()

NTSYSAPI BOOLEAN NTAPI RtlTimeFieldsToTime ( PTIME_FIELDS  TimeFields,
PLARGE_INTEGER  Time 
)

◆ RtlTimeToTimeFields()

NTSYSAPI VOID NTAPI RtlTimeToTimeFields ( PLARGE_INTEGER  Time,
PTIME_FIELDS  TimeFields 
)

◆ RtlUnicodeStringToAnsiString()

NTSYSAPI NTSTATUS NTAPI RtlUnicodeStringToAnsiString ( PANSI_STRING  DestinationString,
PUNICODE_STRING  SourceString,
BOOLEAN  AllocateDestinationString 
)

Referenced by BaseCreateVDMEnvironment(), BlStatusPrint(), ClientLoadLibrary(), DsAddressToSiteNamesA(), DsAddressToSiteNamesExA(), DsEnumerateDomainTrustsA(), DsGetDcNameWithAccountA(), DsGetDcSiteCoverageA(), ExpandEnvironmentStringsA(), ExpConvertLdrModuleToRtlModule(), Ext2Format(), Ext2ParseRegistryVolumeParams(), Ext2QueryRegistrySettings(), FilenameU2A_FitOrFail(), FsRtlIsDbcsInExpressionTest(), GetComputerNameExA(), GetConsoleInputExeNameA(), GetCurrentHwProfileA(), GetEnvironmentVariableA(), GetNamedPipeHandleStateA(), GetStartupInfoA(), GetUserNameA(), GetVersionExA(), GetVolumeInformationA(), GetVolumeNameForVolumeMountPointA(), GetVolumePathNameA(), GetVolumePathNamesForVolumeNameA(), InitCommandLines(), InitFunctionPtrs(), IntCreateClass(), InternalGetAtomName(), IntMsgCreateStructW(), IntSetClassMenuName(), IoInitSystem(), IopReassignSystemRoot(), LdrQueryProcessModuleInformationEx(), LookupAccountSidA(), main(), MiLoadUserSymbols(), MmGetSystemRoutineAddress(), MmUnloadSystemImage(), MsgiUnicodeToAnsiMessage(), NdisUnicodeStringToAnsiString(), NetpAllocAnsiStrFromWStr(), NtProcessStartup(), NtQuerySystemEnvironmentValue(), NtSetSystemEnvironmentValue(), NtVdmConfigureBios(), NtVdmConfigureRom(), ObCreateObjectType(), OpenFile(), OutputDebugStringW(), QueryDosDeviceA(), ReadIpConfiguration(), ReadRecord(), RealSystemParametersInfoA(), RegisterClassExWOWW(), RegQueryInfoKeyA(), RtlpQueryRemoteProcessModules(), ScBuildAnsiArgsVector(), SeiInit(), SetFileApisToANSI(), SmpSaveRegistryValue(), SpiParseDeviceInfo(), START_TEST(), USBSTOR_HandleQueryProperty(), UserGetClassName(), UserpCaptureStringParameters(), and write_superblocks().

◆ RtlUnicodeStringToInteger()

◆ RtlUpcaseUnicodeString()

NTSYSAPI NTSTATUS NTAPI RtlUpcaseUnicodeString ( PUNICODE_STRING  DestinationString,
PUNICODE_STRING  SourceString,
BOOLEAN  AllocateDestinationString 
)

Definition at line 46 of file string_lib.cpp.

51{
52// if(s1->Length != s2->Length) return (-1);
53 memcpy(dst->Buffer, src->Buffer, src->Length);
54 dst->Buffer[src->Length/sizeof(WCHAR)] = 0;
55 dst->Length = src->Length;
56 _wcsupr(dst->Buffer);
57 return STATUS_SUCCESS;
58}
GLenum src
Definition: glext.h:6340
GLenum GLenum dst
Definition: glext.h:6340
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
_CRTIMP wchar_t *__cdecl _wcsupr(_Inout_z_ wchar_t *_String)

◆ RtlUpperChar()

NTSYSAPI CHAR NTAPI RtlUpperChar ( CHAR  Character)

◆ RtlUpperString()

NTSYSAPI VOID NTAPI RtlUpperString ( PSTRING  DestinationString,
PSTRING  SourceString 
)

◆ RtlxAnsiStringToUnicodeSize()

NTSYSAPI ULONG NTAPI RtlxAnsiStringToUnicodeSize ( PANSI_STRING  AnsiString)

◆ RtlZeroMemory()

NTSYSAPI VOID NTAPI RtlZeroMemory ( VOID UNALIGNED Destination,
ULONG  Length 
)

Variable Documentation

◆ NLS_MB_CODE_PAGE_TAG

BOOLEAN NLS_MB_CODE_PAGE_TAG
extern

◆ NLS_MB_OEM_CODE_PAGE_TAG

BOOLEAN NLS_MB_OEM_CODE_PAGE_TAG
extern