Process Hacker
ntioapi.h File Reference

Go to the source code of this file.

Data Structures

struct  _IO_STATUS_BLOCK
 
struct  _FILE_IO_COMPLETION_INFORMATION
 
struct  _FILE_BASIC_INFORMATION
 
struct  _FILE_STANDARD_INFORMATION
 
struct  _FILE_STANDARD_INFORMATION_EX
 
struct  _FILE_INTERNAL_INFORMATION
 
struct  _FILE_EA_INFORMATION
 
struct  _FILE_ACCESS_INFORMATION
 
struct  _FILE_POSITION_INFORMATION
 
struct  _FILE_MODE_INFORMATION
 
struct  _FILE_ALIGNMENT_INFORMATION
 
struct  _FILE_NAME_INFORMATION
 
struct  _FILE_ALL_INFORMATION
 
struct  _FILE_NETWORK_OPEN_INFORMATION
 
struct  _FILE_ATTRIBUTE_TAG_INFORMATION
 
struct  _FILE_ALLOCATION_INFORMATION
 
struct  _FILE_COMPRESSION_INFORMATION
 
struct  _FILE_DISPOSITION_INFORMATION
 
struct  _FILE_END_OF_FILE_INFORMATION
 
struct  _FILE_VALID_DATA_LENGTH_INFORMATION
 
struct  _FILE_LINK_INFORMATION
 
struct  _FILE_MOVE_CLUSTER_INFORMATION
 
struct  _FILE_RENAME_INFORMATION
 
struct  _FILE_STREAM_INFORMATION
 
struct  _FILE_TRACKING_INFORMATION
 
struct  _FILE_COMPLETION_INFORMATION
 
struct  _FILE_PIPE_INFORMATION
 
struct  _FILE_PIPE_LOCAL_INFORMATION
 
struct  _FILE_PIPE_REMOTE_INFORMATION
 
struct  _FILE_MAILSLOT_QUERY_INFORMATION
 
struct  _FILE_MAILSLOT_SET_INFORMATION
 
struct  _FILE_REPARSE_POINT_INFORMATION
 
struct  _FILE_LINK_ENTRY_INFORMATION
 
struct  _FILE_LINKS_INFORMATION
 
struct  _FILE_NETWORK_PHYSICAL_NAME_INFORMATION
 
struct  _FILE_STANDARD_LINK_INFORMATION
 
struct  _FILE_SFIO_RESERVE_INFORMATION
 
struct  _FILE_SFIO_VOLUME_INFORMATION
 
struct  _FILE_IO_PRIORITY_HINT_INFORMATION
 
struct  _FILE_IO_COMPLETION_NOTIFICATION_INFORMATION
 
struct  _FILE_PROCESS_IDS_USING_FILE_INFORMATION
 
struct  _FILE_IS_REMOTE_DEVICE_INFORMATION
 
struct  _FILE_NUMA_NODE_INFORMATION
 
struct  _FILE_IOSTATUSBLOCK_RANGE_INFORMATION
 
struct  _FILE_REMOTE_PROTOCOL_INFORMATION
 
struct  _FILE_INTEGRITY_STREAM_INFORMATION
 
struct  _FILE_VOLUME_NAME_INFORMATION
 
struct  _FILE_DIRECTORY_INFORMATION
 
struct  _FILE_FULL_DIR_INFORMATION
 
struct  _FILE_ID_FULL_DIR_INFORMATION
 
struct  _FILE_BOTH_DIR_INFORMATION
 
struct  _FILE_ID_BOTH_DIR_INFORMATION
 
struct  _FILE_NAMES_INFORMATION
 
struct  _FILE_ID_GLOBAL_TX_DIR_INFORMATION
 
struct  _FILE_OBJECTID_INFORMATION
 
struct  _FILE_FULL_EA_INFORMATION
 
struct  _FILE_GET_EA_INFORMATION
 
struct  _FILE_GET_QUOTA_INFORMATION
 
struct  _FILE_QUOTA_INFORMATION
 
struct  _FILE_FS_LABEL_INFORMATION
 
struct  _FILE_FS_VOLUME_INFORMATION
 
struct  _FILE_FS_SIZE_INFORMATION
 
struct  _FILE_FS_FULL_SIZE_INFORMATION
 
struct  _FILE_FS_OBJECTID_INFORMATION
 
struct  _FILE_FS_DEVICE_INFORMATION
 
struct  _FILE_FS_ATTRIBUTE_INFORMATION
 
struct  _FILE_FS_DRIVER_PATH_INFORMATION
 
struct  _FILE_FS_VOLUME_FLAGS_INFORMATION
 
struct  _FILE_FS_SECTOR_SIZE_INFORMATION
 
struct  _FILE_FS_METADATA_SIZE_INFORMATION
 
struct  _IO_COMPLETION_BASIC_INFORMATION
 
struct  _REPARSE_DATA_BUFFER
 
struct  _FILE_PIPE_ASSIGN_EVENT_BUFFER
 
struct  _FILE_PIPE_PEEK_BUFFER
 
struct  _FILE_PIPE_EVENT_BUFFER
 
struct  _FILE_PIPE_WAIT_FOR_BUFFER
 
struct  _FILE_PIPE_CLIENT_PROCESS_BUFFER
 
struct  _FILE_PIPE_CLIENT_PROCESS_BUFFER_EX
 
struct  _FILE_MAILSLOT_PEEK_BUFFER
 

Macros

#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_OPEN_FOR_RECOVERY   0x00000400
 
#define FILE_RANDOM_ACCESS   0x00000800
 
#define FILE_DELETE_ON_CLOSE   0x00001000
 
#define FILE_OPEN_BY_FILE_ID   0x00002000
 
#define FILE_OPEN_FOR_BACKUP_INTENT   0x00004000
 
#define FILE_NO_COMPRESSION   0x00008000
 
#define FILE_OPEN_REQUIRING_OPLOCK   0x00010000
 
#define FILE_DISALLOW_EXCLUSIVE   0x00020000
 
#define FILE_SESSION_AWARE   0x00040000
 
#define FILE_RESERVE_OPFILTER   0x00100000
 
#define FILE_OPEN_REPARSE_POINT   0x00200000
 
#define FILE_OPEN_NO_RECALL   0x00400000
 
#define FILE_OPEN_FOR_FREE_SPACE_QUERY   0x00800000
 
#define FILE_COPY_STRUCTURED_STORAGE   0x00000041
 
#define FILE_STRUCTURED_STORAGE   0x00000441
 
#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_NEED_EA   0x00000080
 
#define FILE_EA_TYPE_BINARY   0xfffe
 
#define FILE_EA_TYPE_ASCII   0xfffd
 
#define FILE_EA_TYPE_BITMAP   0xfffb
 
#define FILE_EA_TYPE_METAFILE   0xfffa
 
#define FILE_EA_TYPE_ICON   0xfff9
 
#define FILE_EA_TYPE_EA   0xffee
 
#define FILE_EA_TYPE_MVMT   0xffdf
 
#define FILE_EA_TYPE_MVST   0xffde
 
#define FILE_EA_TYPE_ASN1   0xffdd
 
#define FILE_EA_TYPE_FAMILY_IDS   0xff01
 
#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 FILE_AUTOGENERATED_DEVICE_NAME   0x00000080
 
#define FILE_DEVICE_SECURE_OPEN   0x00000100
 
#define FILE_CHARACTERISTIC_PNP_DEVICE   0x00000800
 
#define FILE_CHARACTERISTIC_TS_DEVICE   0x00001000
 
#define FILE_CHARACTERISTIC_WEBDAV_DEVICE   0x00002000
 
#define FILE_CHARACTERISTIC_CSV   0x00010000
 
#define FILE_DEVICE_ALLOW_APPCONTAINER_TRAVERSAL   0x00020000
 
#define FILE_PORTABLE_DEVICE   0x00040000
 
#define FILE_PIPE_BYTE_STREAM_TYPE   0x00000000
 
#define FILE_PIPE_MESSAGE_TYPE   0x00000001
 
#define FILE_PIPE_ACCEPT_REMOTE_CLIENTS   0x00000000
 
#define FILE_PIPE_REJECT_REMOTE_CLIENTS   0x00000002
 
#define FILE_PIPE_TYPE_VALID_MASK   0x00000003
 
#define FILE_PIPE_QUEUE_OPERATION   0x00000000
 
#define FILE_PIPE_COMPLETE_OPERATION   0x00000001
 
#define FILE_PIPE_BYTE_STREAM_MODE   0x00000000
 
#define FILE_PIPE_MESSAGE_MODE   0x00000001
 
#define FILE_PIPE_INBOUND   0x00000000
 
#define FILE_PIPE_OUTBOUND   0x00000001
 
#define FILE_PIPE_FULL_DUPLEX   0x00000002
 
#define FILE_PIPE_DISCONNECTED_STATE   0x00000001
 
#define FILE_PIPE_LISTENING_STATE   0x00000002
 
#define FILE_PIPE_CONNECTED_STATE   0x00000003
 
#define FILE_PIPE_CLOSING_STATE   0x00000004
 
#define FILE_PIPE_CLIENT_END   0x00000000
 
#define FILE_PIPE_SERVER_END   0x00000001
 
#define MAILSLOT_SIZE_AUTO   0
 
#define FILE_SKIP_COMPLETION_PORT_ON_SUCCESS   0x1
 
#define FILE_SKIP_SET_EVENT_ON_HANDLE   0x2
 
#define FILE_SKIP_SET_USER_EVENT_ON_FAST_IO   0x4
 
#define CHECKSUM_ENFORCEMENT_OFF   0x00000001
 
#define FILE_ID_GLOBAL_TX_DIR_INFO_FLAG_WRITELOCKED   0x00000001
 
#define FILE_ID_GLOBAL_TX_DIR_INFO_FLAG_VISIBLE_TO_TX   0x00000002
 
#define FILE_ID_GLOBAL_TX_DIR_INFO_FLAG_VISIBLE_OUTSIDE_TX   0x00000004
 
#define SSINFO_FLAGS_ALIGNED_DEVICE   0x00000001
 
#define SSINFO_FLAGS_PARTITION_ALIGNED_ON_DEVICE   0x00000002
 
#define SSINFO_OFFSET_UNKNOWN   0xffffffff
 
#define FLUSH_FLAGS_FILE_DATA_ONLY   0x00000001
 
#define FLUSH_FLAGS_NO_SYNC   0x00000002
 
#define IO_COMPLETION_QUERY_STATE   0x0001
 
#define SYMLINK_FLAG_RELATIVE   1
 
#define FSCTL_PIPE_ASSIGN_EVENT   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_PIPE_DISCONNECT   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_PIPE_LISTEN   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_PIPE_PEEK   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 3, METHOD_BUFFERED, FILE_READ_DATA)
 
#define FSCTL_PIPE_QUERY_EVENT   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_PIPE_TRANSCEIVE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 5, METHOD_NEITHER, FILE_READ_DATA | FILE_WRITE_DATA)
 
#define FSCTL_PIPE_WAIT   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 6, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_PIPE_IMPERSONATE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 7, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_PIPE_SET_CLIENT_PROCESS   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 8, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_PIPE_QUERY_CLIENT_PROCESS   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 9, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_PIPE_GET_PIPE_ATTRIBUTE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 10, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_PIPE_SET_PIPE_ATTRIBUTE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 11, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_PIPE_GET_CONNECTION_ATTRIBUTE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 12, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_PIPE_SET_CONNECTION_ATTRIBUTE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 13, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_PIPE_GET_HANDLE_ATTRIBUTE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 14, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_PIPE_SET_HANDLE_ATTRIBUTE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 15, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_PIPE_FLUSH   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 16, METHOD_BUFFERED, FILE_WRITE_DATA)
 
#define FSCTL_PIPE_INTERNAL_READ   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2045, METHOD_BUFFERED, FILE_READ_DATA)
 
#define FSCTL_PIPE_INTERNAL_WRITE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2046, METHOD_BUFFERED, FILE_WRITE_DATA)
 
#define FSCTL_PIPE_INTERNAL_TRANSCEIVE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2047, METHOD_NEITHER, FILE_READ_DATA | FILE_WRITE_DATA)
 
#define FSCTL_PIPE_INTERNAL_READ_OVFLOW   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2048, METHOD_BUFFERED, FILE_READ_DATA)
 
#define FILE_PIPE_READ_DATA   0x00000000
 
#define FILE_PIPE_WRITE_SPACE   0x00000001
 
#define FILE_PIPE_COMPUTER_NAME_LENGTH   15
 
#define MAILSLOT_CLASS_FIRSTCLASS   1
 
#define MAILSLOT_CLASS_SECONDCLASS   2
 
#define FSCTL_MAILSLOT_PEEK   CTL_CODE(FILE_DEVICE_MAILSLOT, 0, METHOD_NEITHER, FILE_READ_DATA)
 

Typedefs

typedef struct _IO_STATUS_BLOCK IO_STATUS_BLOCK
 
typedef struct _IO_STATUS_BLOCKPIO_STATUS_BLOCK
 
typedef VOID(NTAPI * PIO_APC_ROUTINE )(_In_ PVOID ApcContext, _In_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG Reserved)
 
typedef struct
_FILE_IO_COMPLETION_INFORMATION 
FILE_IO_COMPLETION_INFORMATION
 
typedef struct
_FILE_IO_COMPLETION_INFORMATION
PFILE_IO_COMPLETION_INFORMATION
 
typedef enum
_FILE_INFORMATION_CLASS 
FILE_INFORMATION_CLASS
 
typedef enum
_FILE_INFORMATION_CLASS
PFILE_INFORMATION_CLASS
 
typedef struct
_FILE_BASIC_INFORMATION 
FILE_BASIC_INFORMATION
 
typedef struct
_FILE_BASIC_INFORMATION
PFILE_BASIC_INFORMATION
 
typedef struct
_FILE_STANDARD_INFORMATION 
FILE_STANDARD_INFORMATION
 
typedef struct
_FILE_STANDARD_INFORMATION
PFILE_STANDARD_INFORMATION
 
typedef struct
_FILE_STANDARD_INFORMATION_EX 
FILE_STANDARD_INFORMATION_EX
 
typedef struct
_FILE_STANDARD_INFORMATION_EX
PFILE_STANDARD_INFORMATION_EX
 
typedef struct
_FILE_INTERNAL_INFORMATION 
FILE_INTERNAL_INFORMATION
 
typedef struct
_FILE_INTERNAL_INFORMATION
PFILE_INTERNAL_INFORMATION
 
typedef struct _FILE_EA_INFORMATION FILE_EA_INFORMATION
 
typedef struct
_FILE_EA_INFORMATION
PFILE_EA_INFORMATION
 
typedef struct
_FILE_ACCESS_INFORMATION 
FILE_ACCESS_INFORMATION
 
typedef struct
_FILE_ACCESS_INFORMATION
PFILE_ACCESS_INFORMATION
 
typedef struct
_FILE_POSITION_INFORMATION 
FILE_POSITION_INFORMATION
 
typedef struct
_FILE_POSITION_INFORMATION
PFILE_POSITION_INFORMATION
 
typedef struct
_FILE_MODE_INFORMATION 
FILE_MODE_INFORMATION
 
typedef struct
_FILE_MODE_INFORMATION
PFILE_MODE_INFORMATION
 
typedef struct
_FILE_ALIGNMENT_INFORMATION 
FILE_ALIGNMENT_INFORMATION
 
typedef struct
_FILE_ALIGNMENT_INFORMATION
PFILE_ALIGNMENT_INFORMATION
 
typedef struct
_FILE_NAME_INFORMATION 
FILE_NAME_INFORMATION
 
typedef struct
_FILE_NAME_INFORMATION
PFILE_NAME_INFORMATION
 
typedef struct
_FILE_ALL_INFORMATION 
FILE_ALL_INFORMATION
 
typedef struct
_FILE_ALL_INFORMATION
PFILE_ALL_INFORMATION
 
typedef struct
_FILE_NETWORK_OPEN_INFORMATION 
FILE_NETWORK_OPEN_INFORMATION
 
typedef struct
_FILE_NETWORK_OPEN_INFORMATION
PFILE_NETWORK_OPEN_INFORMATION
 
typedef struct
_FILE_ATTRIBUTE_TAG_INFORMATION 
FILE_ATTRIBUTE_TAG_INFORMATION
 
typedef struct
_FILE_ATTRIBUTE_TAG_INFORMATION
PFILE_ATTRIBUTE_TAG_INFORMATION
 
typedef struct
_FILE_ALLOCATION_INFORMATION 
FILE_ALLOCATION_INFORMATION
 
typedef struct
_FILE_ALLOCATION_INFORMATION
PFILE_ALLOCATION_INFORMATION
 
typedef struct
_FILE_COMPRESSION_INFORMATION 
FILE_COMPRESSION_INFORMATION
 
typedef struct
_FILE_COMPRESSION_INFORMATION
PFILE_COMPRESSION_INFORMATION
 
typedef struct
_FILE_DISPOSITION_INFORMATION 
FILE_DISPOSITION_INFORMATION
 
typedef struct
_FILE_DISPOSITION_INFORMATION
PFILE_DISPOSITION_INFORMATION
 
typedef struct
_FILE_END_OF_FILE_INFORMATION 
FILE_END_OF_FILE_INFORMATION
 
typedef struct
_FILE_END_OF_FILE_INFORMATION
PFILE_END_OF_FILE_INFORMATION
 
typedef struct
_FILE_VALID_DATA_LENGTH_INFORMATION 
FILE_VALID_DATA_LENGTH_INFORMATION
 
typedef struct
_FILE_VALID_DATA_LENGTH_INFORMATION
PFILE_VALID_DATA_LENGTH_INFORMATION
 
typedef struct
_FILE_LINK_INFORMATION 
FILE_LINK_INFORMATION
 
typedef struct
_FILE_LINK_INFORMATION
PFILE_LINK_INFORMATION
 
typedef struct
_FILE_MOVE_CLUSTER_INFORMATION 
FILE_MOVE_CLUSTER_INFORMATION
 
typedef struct
_FILE_MOVE_CLUSTER_INFORMATION
PFILE_MOVE_CLUSTER_INFORMATION
 
typedef struct
_FILE_RENAME_INFORMATION 
FILE_RENAME_INFORMATION
 
typedef struct
_FILE_RENAME_INFORMATION
PFILE_RENAME_INFORMATION
 
typedef struct
_FILE_STREAM_INFORMATION 
FILE_STREAM_INFORMATION
 
typedef struct
_FILE_STREAM_INFORMATION
PFILE_STREAM_INFORMATION
 
typedef struct
_FILE_TRACKING_INFORMATION 
FILE_TRACKING_INFORMATION
 
typedef struct
_FILE_TRACKING_INFORMATION
PFILE_TRACKING_INFORMATION
 
typedef struct
_FILE_COMPLETION_INFORMATION 
FILE_COMPLETION_INFORMATION
 
typedef struct
_FILE_COMPLETION_INFORMATION
PFILE_COMPLETION_INFORMATION
 
typedef struct
_FILE_PIPE_INFORMATION 
FILE_PIPE_INFORMATION
 
typedef struct
_FILE_PIPE_INFORMATION
PFILE_PIPE_INFORMATION
 
typedef struct
_FILE_PIPE_LOCAL_INFORMATION 
FILE_PIPE_LOCAL_INFORMATION
 
typedef struct
_FILE_PIPE_LOCAL_INFORMATION
PFILE_PIPE_LOCAL_INFORMATION
 
typedef struct
_FILE_PIPE_REMOTE_INFORMATION 
FILE_PIPE_REMOTE_INFORMATION
 
typedef struct
_FILE_PIPE_REMOTE_INFORMATION
PFILE_PIPE_REMOTE_INFORMATION
 
typedef struct
_FILE_MAILSLOT_QUERY_INFORMATION 
FILE_MAILSLOT_QUERY_INFORMATION
 
typedef struct
_FILE_MAILSLOT_QUERY_INFORMATION
PFILE_MAILSLOT_QUERY_INFORMATION
 
typedef struct
_FILE_MAILSLOT_SET_INFORMATION 
FILE_MAILSLOT_SET_INFORMATION
 
typedef struct
_FILE_MAILSLOT_SET_INFORMATION
PFILE_MAILSLOT_SET_INFORMATION
 
typedef struct
_FILE_REPARSE_POINT_INFORMATION 
FILE_REPARSE_POINT_INFORMATION
 
typedef struct
_FILE_REPARSE_POINT_INFORMATION
PFILE_REPARSE_POINT_INFORMATION
 
typedef struct
_FILE_LINK_ENTRY_INFORMATION 
FILE_LINK_ENTRY_INFORMATION
 
typedef struct
_FILE_LINK_ENTRY_INFORMATION
PFILE_LINK_ENTRY_INFORMATION
 
typedef struct
_FILE_LINKS_INFORMATION 
FILE_LINKS_INFORMATION
 
typedef struct
_FILE_LINKS_INFORMATION
PFILE_LINKS_INFORMATION
 
typedef struct
_FILE_NETWORK_PHYSICAL_NAME_INFORMATION 
FILE_NETWORK_PHYSICAL_NAME_INFORMATION
 
typedef struct
_FILE_NETWORK_PHYSICAL_NAME_INFORMATION
PFILE_NETWORK_PHYSICAL_NAME_INFORMATION
 
typedef struct
_FILE_STANDARD_LINK_INFORMATION 
FILE_STANDARD_LINK_INFORMATION
 
typedef struct
_FILE_STANDARD_LINK_INFORMATION
PFILE_STANDARD_LINK_INFORMATION
 
typedef struct
_FILE_SFIO_RESERVE_INFORMATION 
FILE_SFIO_RESERVE_INFORMATION
 
typedef struct
_FILE_SFIO_RESERVE_INFORMATION
PFILE_SFIO_RESERVE_INFORMATION
 
typedef struct
_FILE_SFIO_VOLUME_INFORMATION 
FILE_SFIO_VOLUME_INFORMATION
 
typedef struct
_FILE_SFIO_VOLUME_INFORMATION
PFILE_SFIO_VOLUME_INFORMATION
 
typedef enum _IO_PRIORITY_HINT IO_PRIORITY_HINT
 
typedef struct
_FILE_IO_PRIORITY_HINT_INFORMATION 
FILE_IO_PRIORITY_HINT_INFORMATION
 
typedef struct
_FILE_IO_PRIORITY_HINT_INFORMATION
PFILE_IO_PRIORITY_HINT_INFORMATION
 
typedef struct
_FILE_IO_COMPLETION_NOTIFICATION_INFORMATION 
FILE_IO_COMPLETION_NOTIFICATION_INFORMATION
 
typedef struct
_FILE_IO_COMPLETION_NOTIFICATION_INFORMATION
PFILE_IO_COMPLETION_NOTIFICATION_INFORMATION
 
typedef struct
_FILE_PROCESS_IDS_USING_FILE_INFORMATION 
FILE_PROCESS_IDS_USING_FILE_INFORMATION
 
typedef struct
_FILE_PROCESS_IDS_USING_FILE_INFORMATION
PFILE_PROCESS_IDS_USING_FILE_INFORMATION
 
typedef struct
_FILE_IS_REMOTE_DEVICE_INFORMATION 
FILE_IS_REMOTE_DEVICE_INFORMATION
 
typedef struct
_FILE_IS_REMOTE_DEVICE_INFORMATION
PFILE_IS_REMOTE_DEVICE_INFORMATION
 
typedef struct
_FILE_NUMA_NODE_INFORMATION 
FILE_NUMA_NODE_INFORMATION
 
typedef struct
_FILE_NUMA_NODE_INFORMATION
PFILE_NUMA_NODE_INFORMATION
 
typedef struct
_FILE_IOSTATUSBLOCK_RANGE_INFORMATION 
FILE_IOSTATUSBLOCK_RANGE_INFORMATION
 
typedef struct
_FILE_IOSTATUSBLOCK_RANGE_INFORMATION
PFILE_IOSTATUSBLOCK_RANGE_INFORMATION
 
typedef struct
_FILE_REMOTE_PROTOCOL_INFORMATION 
FILE_REMOTE_PROTOCOL_INFORMATION
 
typedef struct
_FILE_REMOTE_PROTOCOL_INFORMATION
PFILE_REMOTE_PROTOCOL_INFORMATION
 
typedef struct
_FILE_INTEGRITY_STREAM_INFORMATION 
FILE_INTEGRITY_STREAM_INFORMATION
 
typedef struct
_FILE_INTEGRITY_STREAM_INFORMATION
PFILE_INTEGRITY_STREAM_INFORMATION
 
typedef struct
_FILE_VOLUME_NAME_INFORMATION 
FILE_VOLUME_NAME_INFORMATION
 
typedef struct
_FILE_VOLUME_NAME_INFORMATION
PFILE_VOLUME_NAME_INFORMATION
 
typedef struct
_FILE_DIRECTORY_INFORMATION 
FILE_DIRECTORY_INFORMATION
 
typedef struct
_FILE_DIRECTORY_INFORMATION
PFILE_DIRECTORY_INFORMATION
 
typedef struct
_FILE_FULL_DIR_INFORMATION 
FILE_FULL_DIR_INFORMATION
 
typedef struct
_FILE_FULL_DIR_INFORMATION
PFILE_FULL_DIR_INFORMATION
 
typedef struct
_FILE_ID_FULL_DIR_INFORMATION 
FILE_ID_FULL_DIR_INFORMATION
 
typedef struct
_FILE_ID_FULL_DIR_INFORMATION
PFILE_ID_FULL_DIR_INFORMATION
 
typedef struct
_FILE_BOTH_DIR_INFORMATION 
FILE_BOTH_DIR_INFORMATION
 
typedef struct
_FILE_BOTH_DIR_INFORMATION
PFILE_BOTH_DIR_INFORMATION
 
typedef struct
_FILE_ID_BOTH_DIR_INFORMATION 
FILE_ID_BOTH_DIR_INFORMATION
 
typedef struct
_FILE_ID_BOTH_DIR_INFORMATION
PFILE_ID_BOTH_DIR_INFORMATION
 
typedef struct
_FILE_NAMES_INFORMATION 
FILE_NAMES_INFORMATION
 
typedef struct
_FILE_NAMES_INFORMATION
PFILE_NAMES_INFORMATION
 
typedef struct
_FILE_ID_GLOBAL_TX_DIR_INFORMATION 
FILE_ID_GLOBAL_TX_DIR_INFORMATION
 
typedef struct
_FILE_ID_GLOBAL_TX_DIR_INFORMATION
PFILE_ID_GLOBAL_TX_DIR_INFORMATION
 
typedef struct
_FILE_OBJECTID_INFORMATION 
FILE_OBJECTID_INFORMATION
 
typedef struct
_FILE_OBJECTID_INFORMATION
PFILE_OBJECTID_INFORMATION
 
typedef struct
_FILE_FULL_EA_INFORMATION 
FILE_FULL_EA_INFORMATION
 
typedef struct
_FILE_FULL_EA_INFORMATION
PFILE_FULL_EA_INFORMATION
 
typedef struct
_FILE_GET_EA_INFORMATION 
FILE_GET_EA_INFORMATION
 
typedef struct
_FILE_GET_EA_INFORMATION
PFILE_GET_EA_INFORMATION
 
typedef struct
_FILE_GET_QUOTA_INFORMATION 
FILE_GET_QUOTA_INFORMATION
 
typedef struct
_FILE_GET_QUOTA_INFORMATION
PFILE_GET_QUOTA_INFORMATION
 
typedef struct
_FILE_QUOTA_INFORMATION 
FILE_QUOTA_INFORMATION
 
typedef struct
_FILE_QUOTA_INFORMATION
PFILE_QUOTA_INFORMATION
 
typedef enum _FSINFOCLASS FSINFOCLASS
 
typedef enum _FSINFOCLASSPFSINFOCLASS
 
typedef struct
_FILE_FS_LABEL_INFORMATION 
FILE_FS_LABEL_INFORMATION
 
typedef struct
_FILE_FS_LABEL_INFORMATION
PFILE_FS_LABEL_INFORMATION
 
typedef struct
_FILE_FS_VOLUME_INFORMATION 
FILE_FS_VOLUME_INFORMATION
 
typedef struct
_FILE_FS_VOLUME_INFORMATION
PFILE_FS_VOLUME_INFORMATION
 
typedef struct
_FILE_FS_SIZE_INFORMATION 
FILE_FS_SIZE_INFORMATION
 
typedef struct
_FILE_FS_SIZE_INFORMATION
PFILE_FS_SIZE_INFORMATION
 
typedef struct
_FILE_FS_FULL_SIZE_INFORMATION 
FILE_FS_FULL_SIZE_INFORMATION
 
typedef struct
_FILE_FS_FULL_SIZE_INFORMATION
PFILE_FS_FULL_SIZE_INFORMATION
 
typedef struct
_FILE_FS_OBJECTID_INFORMATION 
FILE_FS_OBJECTID_INFORMATION
 
typedef struct
_FILE_FS_OBJECTID_INFORMATION
PFILE_FS_OBJECTID_INFORMATION
 
typedef struct
_FILE_FS_DEVICE_INFORMATION 
FILE_FS_DEVICE_INFORMATION
 
typedef struct
_FILE_FS_DEVICE_INFORMATION
PFILE_FS_DEVICE_INFORMATION
 
typedef struct
_FILE_FS_ATTRIBUTE_INFORMATION 
FILE_FS_ATTRIBUTE_INFORMATION
 
typedef struct
_FILE_FS_ATTRIBUTE_INFORMATION
PFILE_FS_ATTRIBUTE_INFORMATION
 
typedef struct
_FILE_FS_DRIVER_PATH_INFORMATION 
FILE_FS_DRIVER_PATH_INFORMATION
 
typedef struct
_FILE_FS_DRIVER_PATH_INFORMATION
PFILE_FS_DRIVER_PATH_INFORMATION
 
typedef struct
_FILE_FS_VOLUME_FLAGS_INFORMATION 
FILE_FS_VOLUME_FLAGS_INFORMATION
 
typedef struct
_FILE_FS_VOLUME_FLAGS_INFORMATION
PFILE_FS_VOLUME_FLAGS_INFORMATION
 
typedef struct
_FILE_FS_SECTOR_SIZE_INFORMATION 
FILE_FS_SECTOR_SIZE_INFORMATION
 
typedef struct
_FILE_FS_SECTOR_SIZE_INFORMATION
PFILE_FS_SECTOR_SIZE_INFORMATION
 
typedef struct
_FILE_FS_METADATA_SIZE_INFORMATION 
FILE_FS_METADATA_SIZE_INFORMATION
 
typedef struct
_FILE_FS_METADATA_SIZE_INFORMATION
PFILE_FS_METADATA_SIZE_INFORMATION
 
typedef enum
_IO_COMPLETION_INFORMATION_CLASS 
IO_COMPLETION_INFORMATION_CLASS
 
typedef struct
_IO_COMPLETION_BASIC_INFORMATION 
IO_COMPLETION_BASIC_INFORMATION
 
typedef struct
_IO_COMPLETION_BASIC_INFORMATION
PIO_COMPLETION_BASIC_INFORMATION
 
typedef enum _IO_SESSION_EVENT IO_SESSION_EVENT
 
typedef enum _IO_SESSION_STATE IO_SESSION_STATE
 
typedef enum _INTERFACE_TYPE INTERFACE_TYPE
 
typedef enum _INTERFACE_TYPEPINTERFACE_TYPE
 
typedef enum _DMA_WIDTH DMA_WIDTH
 
typedef enum _DMA_WIDTHPDMA_WIDTH
 
typedef enum _DMA_SPEED DMA_SPEED
 
typedef enum _DMA_SPEEDPDMA_SPEED
 
typedef enum _BUS_DATA_TYPE BUS_DATA_TYPE
 
typedef enum _BUS_DATA_TYPEPBUS_DATA_TYPE
 
typedef struct _REPARSE_DATA_BUFFER REPARSE_DATA_BUFFER
 
typedef struct
_REPARSE_DATA_BUFFER
PREPARSE_DATA_BUFFER
 
typedef struct
_FILE_PIPE_ASSIGN_EVENT_BUFFER 
FILE_PIPE_ASSIGN_EVENT_BUFFER
 
typedef struct
_FILE_PIPE_ASSIGN_EVENT_BUFFER
PFILE_PIPE_ASSIGN_EVENT_BUFFER
 
typedef struct
_FILE_PIPE_PEEK_BUFFER 
FILE_PIPE_PEEK_BUFFER
 
typedef struct
_FILE_PIPE_PEEK_BUFFER
PFILE_PIPE_PEEK_BUFFER
 
typedef struct
_FILE_PIPE_EVENT_BUFFER 
FILE_PIPE_EVENT_BUFFER
 
typedef struct
_FILE_PIPE_EVENT_BUFFER
PFILE_PIPE_EVENT_BUFFER
 
typedef struct
_FILE_PIPE_WAIT_FOR_BUFFER 
FILE_PIPE_WAIT_FOR_BUFFER
 
typedef struct
_FILE_PIPE_WAIT_FOR_BUFFER
PFILE_PIPE_WAIT_FOR_BUFFER
 
typedef struct
_FILE_PIPE_CLIENT_PROCESS_BUFFER 
FILE_PIPE_CLIENT_PROCESS_BUFFER
 
typedef struct
_FILE_PIPE_CLIENT_PROCESS_BUFFER
PFILE_PIPE_CLIENT_PROCESS_BUFFER
 
typedef struct
_FILE_PIPE_CLIENT_PROCESS_BUFFER_EX 
FILE_PIPE_CLIENT_PROCESS_BUFFER_EX
 
typedef struct
_FILE_PIPE_CLIENT_PROCESS_BUFFER_EX
PFILE_PIPE_CLIENT_PROCESS_BUFFER_EX
 
typedef struct
_FILE_MAILSLOT_PEEK_BUFFER 
FILE_MAILSLOT_PEEK_BUFFER
 
typedef struct
_FILE_MAILSLOT_PEEK_BUFFER
PFILE_MAILSLOT_PEEK_BUFFER
 

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, FileIsRemoteDeviceInformation, FileUnusedInformation,
  FileNumaNodeInformation, FileStandardLinkInformation, FileRemoteProtocolInformation, FileRenameInformationBypassAccessCheck,
  FileLinkInformationBypassAccessCheck, FileIntegrityStreamInformation, FileVolumeNameInformation, FileIdInformation,
  FileIdExtdDirectoryInformation, FileReplaceCompletionInformation, FileHardLinkFullIdInformation, FileIdExtdBothDirectoryInformation,
  FileMaximumInformation
}
 
enum  _IO_PRIORITY_HINT {
  IoPriorityVeryLow = 0, IoPriorityLow, IoPriorityNormal, IoPriorityHigh,
  IoPriorityCritical, MaxIoPriorityTypes
}
 
enum  _FSINFOCLASS {
  FileFsVolumeInformation = 1, FileFsLabelInformation, FileFsSizeInformation, FileFsDeviceInformation,
  FileFsAttributeInformation, FileFsControlInformation, FileFsFullSizeInformation, FileFsObjectIdInformation,
  FileFsDriverPathInformation, FileFsVolumeFlagsInformation, FileFsSectorSizeInformation, FileFsDataCopyInformation,
  FileFsMetadataSizeInformation, FileFsMaximumInformation
}
 
enum  _IO_COMPLETION_INFORMATION_CLASS { IoCompletionBasicInformation }
 
enum  _IO_SESSION_EVENT {
  IoSessionEventIgnore, IoSessionEventCreated, IoSessionEventTerminated, IoSessionEventConnected,
  IoSessionEventDisconnected, IoSessionEventLogon, IoSessionEventLogoff, IoSessionEventMax
}
 
enum  _IO_SESSION_STATE {
  IoSessionStateCreated, IoSessionStateInitialized, IoSessionStateConnected, IoSessionStateDisconnected,
  IoSessionStateDisconnectedLoggedOn, IoSessionStateLoggedOn, IoSessionStateLoggedOff, IoSessionStateTerminated,
  IoSessionStateMax
}
 
enum  _INTERFACE_TYPE {
  InterfaceTypeUndefined = -1, Internal, Isa, Eisa,
  MicroChannel, TurboChannel, PCIBus, VMEBus,
  NuBus, PCMCIABus, CBus, MPIBus,
  MPSABus, ProcessorInternal, InternalPowerBus, PNPISABus,
  PNPBus, Vmcs, MaximumInterfaceType
}
 
enum  _DMA_WIDTH { Width8Bits, Width16Bits, Width32Bits, MaximumDmaWidth }
 
enum  _DMA_SPEED {
  Compatible, TypeA, TypeB, TypeC,
  TypeF, MaximumDmaSpeed
}
 
enum  _BUS_DATA_TYPE {
  ConfigurationSpaceUndefined = -1, Cmos, EisaConfiguration, Pos,
  CbusConfiguration, PCIConfiguration, VMEConfiguration, NuBusConfiguration,
  PCMCIAConfiguration, MPIConfiguration, MPSAConfiguration, PNPISAConfiguration,
  SgiInternalConfiguration, MaximumBusDataType
}
 

Functions

NTSYSCALLAPI NTSTATUS NTAPI NtCreateFile (_Out_ PHANDLE FileHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_opt_ PLARGE_INTEGER AllocationSize, _In_ ULONG FileAttributes, _In_ ULONG ShareAccess, _In_ ULONG CreateDisposition, _In_ ULONG CreateOptions, _In_reads_bytes_opt_(EaLength) PVOID EaBuffer, _In_ ULONG EaLength)
 
NTSYSCALLAPI NTSTATUS NTAPI NtCreateNamedPipeFile (_Out_ PHANDLE FileHandle, _In_ ULONG DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG ShareAccess, _In_ ULONG CreateDisposition, _In_ ULONG CreateOptions, _In_ ULONG NamedPipeType, _In_ ULONG ReadMode, _In_ ULONG CompletionMode, _In_ ULONG MaximumInstances, _In_ ULONG InboundQuota, _In_ ULONG OutboundQuota, _In_opt_ PLARGE_INTEGER DefaultTimeout)
 
NTSYSCALLAPI NTSTATUS NTAPI NtCreateMailslotFile (_Out_ PHANDLE FileHandle, _In_ ULONG DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG CreateOptions, _In_ ULONG MailslotQuota, _In_ ULONG MaximumMessageSize, _In_ PLARGE_INTEGER ReadTimeout)
 
NTSYSCALLAPI NTSTATUS NTAPI NtOpenFile (_Out_ PHANDLE FileHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG ShareAccess, _In_ ULONG OpenOptions)
 
NTSYSCALLAPI NTSTATUS NTAPI NtDeleteFile (_In_ POBJECT_ATTRIBUTES ObjectAttributes)
 
NTSYSCALLAPI NTSTATUS NTAPI NtFlushBuffersFile (_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock)
 
NTSYSCALLAPI NTSTATUS NTAPI NtFlushBuffersFileEx (_In_ HANDLE FileHandle, _In_ ULONG Flags, _In_reads_bytes_(ParametersSize) PVOID Parameters, _In_ ULONG ParametersSize, _Out_ PIO_STATUS_BLOCK IoStatusBlock)
 
NTSYSCALLAPI NTSTATUS NTAPI NtQueryInformationFile (_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_writes_bytes_(Length) PVOID FileInformation, _In_ ULONG Length, _In_ FILE_INFORMATION_CLASS FileInformationClass)
 
NTSYSCALLAPI NTSTATUS NTAPI NtSetInformationFile (_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_reads_bytes_(Length) PVOID FileInformation, _In_ ULONG Length, _In_ FILE_INFORMATION_CLASS FileInformationClass)
 
NTSYSCALLAPI NTSTATUS NTAPI NtQueryDirectoryFile (_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_writes_bytes_(Length) PVOID FileInformation, _In_ ULONG Length, _In_ FILE_INFORMATION_CLASS FileInformationClass, _In_ BOOLEAN ReturnSingleEntry, _In_opt_ PUNICODE_STRING FileName, _In_ BOOLEAN RestartScan)
 
NTSYSCALLAPI NTSTATUS NTAPI NtQueryEaFile (_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _In_ BOOLEAN ReturnSingleEntry, _In_reads_bytes_opt_(EaListLength) PVOID EaList, _In_ ULONG EaListLength, _In_opt_ PULONG EaIndex, _In_ BOOLEAN RestartScan)
 
NTSYSCALLAPI NTSTATUS NTAPI NtSetEaFile (_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Length)
 
NTSYSCALLAPI NTSTATUS NTAPI NtQueryQuotaInformationFile (_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _In_ BOOLEAN ReturnSingleEntry, _In_reads_bytes_opt_(SidListLength) PVOID SidList, _In_ ULONG SidListLength, _In_opt_ PSID StartSid, _In_ BOOLEAN RestartScan)
 
NTSYSCALLAPI NTSTATUS NTAPI NtSetQuotaInformationFile (_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Length)
 
NTSYSCALLAPI NTSTATUS NTAPI NtQueryVolumeInformationFile (_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_writes_bytes_(Length) PVOID FsInformation, _In_ ULONG Length, _In_ FSINFOCLASS FsInformationClass)
 
NTSYSCALLAPI NTSTATUS NTAPI NtSetVolumeInformationFile (_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_reads_bytes_(Length) PVOID FsInformation, _In_ ULONG Length, _In_ FSINFOCLASS FsInformationClass)
 
NTSYSCALLAPI NTSTATUS NTAPI NtCancelIoFile (_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock)
 
NTSYSCALLAPI NTSTATUS NTAPI NtCancelIoFileEx (_In_ HANDLE FileHandle, _In_opt_ PIO_STATUS_BLOCK IoRequestToCancel, _Out_ PIO_STATUS_BLOCK IoStatusBlock)
 
NTSYSCALLAPI NTSTATUS NTAPI NtCancelSynchronousIoFile (_In_ HANDLE ThreadHandle, _In_opt_ PIO_STATUS_BLOCK IoRequestToCancel, _Out_ PIO_STATUS_BLOCK IoStatusBlock)
 
NTSYSCALLAPI NTSTATUS NTAPI NtDeviceIoControlFile (_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG IoControlCode, _In_reads_bytes_opt_(InputBufferLength) PVOID InputBuffer, _In_ ULONG InputBufferLength, _Out_writes_bytes_opt_(OutputBufferLength) PVOID OutputBuffer, _In_ ULONG OutputBufferLength)
 
NTSYSCALLAPI NTSTATUS NTAPI NtFsControlFile (_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG FsControlCode, _In_reads_bytes_opt_(InputBufferLength) PVOID InputBuffer, _In_ ULONG InputBufferLength, _Out_writes_bytes_opt_(OutputBufferLength) PVOID OutputBuffer, _In_ ULONG OutputBufferLength)
 
NTSYSCALLAPI NTSTATUS NTAPI NtReadFile (_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _In_opt_ PLARGE_INTEGER ByteOffset, _In_opt_ PULONG Key)
 
NTSYSCALLAPI NTSTATUS NTAPI NtWriteFile (_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _In_opt_ PLARGE_INTEGER ByteOffset, _In_opt_ PULONG Key)
 
NTSYSCALLAPI NTSTATUS NTAPI NtReadFileScatter (_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ PFILE_SEGMENT_ELEMENT SegmentArray, _In_ ULONG Length, _In_opt_ PLARGE_INTEGER ByteOffset, _In_opt_ PULONG Key)
 
NTSYSCALLAPI NTSTATUS NTAPI NtWriteFileGather (_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ PFILE_SEGMENT_ELEMENT SegmentArray, _In_ ULONG Length, _In_opt_ PLARGE_INTEGER ByteOffset, _In_opt_ PULONG Key)
 
NTSYSCALLAPI NTSTATUS NTAPI NtLockFile (_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ PLARGE_INTEGER ByteOffset, _In_ PLARGE_INTEGER Length, _In_ ULONG Key, _In_ BOOLEAN FailImmediately, _In_ BOOLEAN ExclusiveLock)
 
NTSYSCALLAPI NTSTATUS NTAPI NtUnlockFile (_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ PLARGE_INTEGER ByteOffset, _In_ PLARGE_INTEGER Length, _In_ ULONG Key)
 
NTSYSCALLAPI NTSTATUS NTAPI NtQueryAttributesFile (_In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PFILE_BASIC_INFORMATION FileInformation)
 
NTSYSCALLAPI NTSTATUS NTAPI NtQueryFullAttributesFile (_In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PFILE_NETWORK_OPEN_INFORMATION FileInformation)
 
NTSYSCALLAPI NTSTATUS NTAPI NtNotifyChangeDirectoryFile (_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _In_ ULONG CompletionFilter, _In_ BOOLEAN WatchTree)
 
NTSYSCALLAPI NTSTATUS NTAPI NtLoadDriver (_In_ PUNICODE_STRING DriverServiceName)
 
NTSYSCALLAPI NTSTATUS NTAPI NtUnloadDriver (_In_ PUNICODE_STRING DriverServiceName)
 
NTSYSCALLAPI NTSTATUS NTAPI NtCreateIoCompletion (_Out_ PHANDLE IoCompletionHandle, _In_ ACCESS_MASK DesiredAccess, _In_opt_ POBJECT_ATTRIBUTES ObjectAttributes, _In_opt_ ULONG Count)
 
NTSYSCALLAPI NTSTATUS NTAPI NtOpenIoCompletion (_Out_ PHANDLE IoCompletionHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
 
NTSYSCALLAPI NTSTATUS NTAPI NtQueryIoCompletion (_In_ HANDLE IoCompletionHandle, _In_ IO_COMPLETION_INFORMATION_CLASS IoCompletionInformationClass, _Out_writes_bytes_(IoCompletionInformation) PVOID IoCompletionInformation, _In_ ULONG IoCompletionInformationLength, _Out_opt_ PULONG ReturnLength)
 
NTSYSCALLAPI NTSTATUS NTAPI NtSetIoCompletion (_In_ HANDLE IoCompletionHandle, _In_opt_ PVOID KeyContext, _In_opt_ PVOID ApcContext, _In_ NTSTATUS IoStatus, _In_ ULONG_PTR IoStatusInformation)
 
NTSYSCALLAPI NTSTATUS NTAPI NtSetIoCompletionEx (_In_ HANDLE IoCompletionHandle, _In_ HANDLE IoCompletionPacketHandle, _In_opt_ PVOID KeyContext, _In_opt_ PVOID ApcContext, _In_ NTSTATUS IoStatus, _In_ ULONG_PTR IoStatusInformation)
 
NTSYSCALLAPI NTSTATUS NTAPI NtRemoveIoCompletion (_In_ HANDLE IoCompletionHandle, _Out_ PVOID *KeyContext, _Out_ PVOID *ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_opt_ PLARGE_INTEGER Timeout)
 
NTSYSCALLAPI NTSTATUS NTAPI NtRemoveIoCompletionEx (_In_ HANDLE IoCompletionHandle, _Out_writes_to_(Count,*NumEntriesRemoved) PFILE_IO_COMPLETION_INFORMATION IoCompletionInformation, _In_ ULONG Count, _Out_ PULONG NumEntriesRemoved, _In_opt_ PLARGE_INTEGER Timeout, _In_ BOOLEAN Alertable)
 
NTSYSCALLAPI NTSTATUS NTAPI NtCreateWaitCompletionPacket (_Out_ PHANDLE WaitCompletionPacketHandle, _In_ ACCESS_MASK DesiredAccess, _In_opt_ POBJECT_ATTRIBUTES ObjectAttributes)
 
NTSYSCALLAPI NTSTATUS NTAPI NtAssociateWaitCompletionPacket (_In_ HANDLE WaitCompletionPacketHandle, _In_ HANDLE IoCompletionHandle, _In_ HANDLE TargetObjectHandle, _In_opt_ PVOID KeyContext, _In_opt_ PVOID ApcContext, _In_ NTSTATUS IoStatus, _In_ ULONG_PTR IoStatusInformation, _Out_opt_ PBOOLEAN AlreadySignaled)
 
NTSYSCALLAPI NTSTATUS NTAPI NtCancelWaitCompletionPacket (_In_ HANDLE WaitCompletionPacketHandle, _In_ BOOLEAN RemoveSignaledPacket)
 
NTSYSCALLAPI NTSTATUS NTAPI NtNotifyChangeSession (_In_ HANDLE SessionHandle, _In_ ULONG ChangeSequenceNumber, _In_ PLARGE_INTEGER ChangeTimeStamp, _In_ IO_SESSION_EVENT Event, _In_ IO_SESSION_STATE NewState, _In_ IO_SESSION_STATE PreviousState, _In_reads_bytes_opt_(PayloadSize) PVOID Payload, _In_ ULONG PayloadSize)
 

Macro Definition Documentation

#define CHECKSUM_ENFORCEMENT_OFF   0x00000001

Definition at line 585 of file ntioapi.h.

#define FILE_128_BYTE_ALIGNMENT   0x0000007f

Definition at line 74 of file ntioapi.h.

#define FILE_256_BYTE_ALIGNMENT   0x000000ff

Definition at line 75 of file ntioapi.h.

#define FILE_32_BYTE_ALIGNMENT   0x0000001f

Definition at line 72 of file ntioapi.h.

#define FILE_512_BYTE_ALIGNMENT   0x000001ff

Definition at line 76 of file ntioapi.h.

#define FILE_64_BYTE_ALIGNMENT   0x0000003f

Definition at line 73 of file ntioapi.h.

#define FILE_AUTOGENERATED_DEVICE_NAME   0x00000080

Definition at line 106 of file ntioapi.h.

#define FILE_BYTE_ALIGNMENT   0x00000000

Definition at line 67 of file ntioapi.h.

#define FILE_CHARACTERISTIC_CSV   0x00010000

Definition at line 111 of file ntioapi.h.

#define FILE_CHARACTERISTIC_PNP_DEVICE   0x00000800

Definition at line 108 of file ntioapi.h.

#define FILE_CHARACTERISTIC_TS_DEVICE   0x00001000

Definition at line 109 of file ntioapi.h.

#define FILE_CHARACTERISTIC_WEBDAV_DEVICE   0x00002000

Definition at line 110 of file ntioapi.h.

#define FILE_COMPLETE_IF_OPLOCKED   0x00000100

Definition at line 26 of file ntioapi.h.

#define FILE_COPY_STRUCTURED_STORAGE   0x00000041

Definition at line 48 of file ntioapi.h.

#define FILE_CREATE   0x00000002

Definition at line 8 of file ntioapi.h.

#define FILE_CREATE_TREE_CONNECTION   0x00000080

Definition at line 24 of file ntioapi.h.

#define FILE_CREATED   0x00000002

Definition at line 55 of file ntioapi.h.

#define FILE_DELETE_ON_CLOSE   0x00001000

Definition at line 31 of file ntioapi.h.

#define FILE_DEVICE_ALLOW_APPCONTAINER_TRAVERSAL   0x00020000

Definition at line 112 of file ntioapi.h.

#define FILE_DEVICE_IS_MOUNTED   0x00000020

Definition at line 104 of file ntioapi.h.

#define FILE_DEVICE_SECURE_OPEN   0x00000100

Definition at line 107 of file ntioapi.h.

#define FILE_DIRECTORY_FILE   0x00000001

Definition at line 16 of file ntioapi.h.

#define FILE_DISALLOW_EXCLUSIVE   0x00020000

Definition at line 37 of file ntioapi.h.

#define FILE_DOES_NOT_EXIST   0x00000005

Definition at line 58 of file ntioapi.h.

#define FILE_EA_TYPE_ASCII   0xfffd

Definition at line 87 of file ntioapi.h.

#define FILE_EA_TYPE_ASN1   0xffdd

Definition at line 94 of file ntioapi.h.

#define FILE_EA_TYPE_BINARY   0xfffe

Definition at line 86 of file ntioapi.h.

#define FILE_EA_TYPE_BITMAP   0xfffb

Definition at line 88 of file ntioapi.h.

#define FILE_EA_TYPE_EA   0xffee

Definition at line 91 of file ntioapi.h.

#define FILE_EA_TYPE_FAMILY_IDS   0xff01

Definition at line 95 of file ntioapi.h.

#define FILE_EA_TYPE_ICON   0xfff9

Definition at line 90 of file ntioapi.h.

#define FILE_EA_TYPE_METAFILE   0xfffa

Definition at line 89 of file ntioapi.h.

#define FILE_EA_TYPE_MVMT   0xffdf

Definition at line 92 of file ntioapi.h.

#define FILE_EA_TYPE_MVST   0xffde

Definition at line 93 of file ntioapi.h.

#define FILE_EXISTS   0x00000004

Definition at line 57 of file ntioapi.h.

#define FILE_FLOPPY_DISKETTE   0x00000004

Definition at line 101 of file ntioapi.h.

#define FILE_ID_GLOBAL_TX_DIR_INFO_FLAG_VISIBLE_OUTSIDE_TX   0x00000004

Definition at line 717 of file ntioapi.h.

#define FILE_ID_GLOBAL_TX_DIR_INFO_FLAG_VISIBLE_TO_TX   0x00000002

Definition at line 716 of file ntioapi.h.

#define FILE_ID_GLOBAL_TX_DIR_INFO_FLAG_WRITELOCKED   0x00000001

Definition at line 715 of file ntioapi.h.

#define FILE_LONG_ALIGNMENT   0x00000003

Definition at line 69 of file ntioapi.h.

#define FILE_MAXIMUM_DISPOSITION   0x00000005

Definition at line 12 of file ntioapi.h.

#define FILE_NEED_EA   0x00000080

Definition at line 84 of file ntioapi.h.

#define FILE_NO_COMPRESSION   0x00008000

Definition at line 34 of file ntioapi.h.

#define FILE_NO_EA_KNOWLEDGE   0x00000200

Definition at line 27 of file ntioapi.h.

#define FILE_NO_INTERMEDIATE_BUFFERING   0x00000008

Definition at line 19 of file ntioapi.h.

#define FILE_NON_DIRECTORY_FILE   0x00000040

Definition at line 23 of file ntioapi.h.

#define FILE_OCTA_ALIGNMENT   0x0000000f

Definition at line 71 of file ntioapi.h.

#define FILE_OPEN   0x00000001

Definition at line 7 of file ntioapi.h.

#define FILE_OPEN_BY_FILE_ID   0x00002000

Definition at line 32 of file ntioapi.h.

#define FILE_OPEN_FOR_BACKUP_INTENT   0x00004000

Definition at line 33 of file ntioapi.h.

#define FILE_OPEN_FOR_FREE_SPACE_QUERY   0x00800000

Definition at line 46 of file ntioapi.h.

#define FILE_OPEN_FOR_RECOVERY   0x00000400

Definition at line 28 of file ntioapi.h.

#define FILE_OPEN_IF   0x00000003

Definition at line 9 of file ntioapi.h.

#define FILE_OPEN_NO_RECALL   0x00400000

Definition at line 45 of file ntioapi.h.

#define FILE_OPEN_REPARSE_POINT   0x00200000

Definition at line 44 of file ntioapi.h.

#define FILE_OPEN_REQUIRING_OPLOCK   0x00010000

Definition at line 36 of file ntioapi.h.

#define FILE_OPENED   0x00000001

Definition at line 54 of file ntioapi.h.

#define FILE_OVERWRITE   0x00000004

Definition at line 10 of file ntioapi.h.

#define FILE_OVERWRITE_IF   0x00000005

Definition at line 11 of file ntioapi.h.

#define FILE_OVERWRITTEN   0x00000003

Definition at line 56 of file ntioapi.h.

#define FILE_PIPE_ACCEPT_REMOTE_CLIENTS   0x00000000

Definition at line 120 of file ntioapi.h.

#define FILE_PIPE_BYTE_STREAM_MODE   0x00000000

Definition at line 129 of file ntioapi.h.

#define FILE_PIPE_BYTE_STREAM_TYPE   0x00000000

Definition at line 118 of file ntioapi.h.

#define FILE_PIPE_CLIENT_END   0x00000000

Definition at line 144 of file ntioapi.h.

#define FILE_PIPE_CLOSING_STATE   0x00000004

Definition at line 141 of file ntioapi.h.

#define FILE_PIPE_COMPLETE_OPERATION   0x00000001

Definition at line 126 of file ntioapi.h.

#define FILE_PIPE_COMPUTER_NAME_LENGTH   15

Definition at line 1646 of file ntioapi.h.

#define FILE_PIPE_CONNECTED_STATE   0x00000003

Definition at line 140 of file ntioapi.h.

#define FILE_PIPE_DISCONNECTED_STATE   0x00000001

Definition at line 138 of file ntioapi.h.

#define FILE_PIPE_FULL_DUPLEX   0x00000002

Definition at line 135 of file ntioapi.h.

#define FILE_PIPE_INBOUND   0x00000000

Definition at line 133 of file ntioapi.h.

#define FILE_PIPE_LISTENING_STATE   0x00000002

Definition at line 139 of file ntioapi.h.

#define FILE_PIPE_MESSAGE_MODE   0x00000001

Definition at line 130 of file ntioapi.h.

#define FILE_PIPE_MESSAGE_TYPE   0x00000001

Definition at line 119 of file ntioapi.h.

#define FILE_PIPE_OUTBOUND   0x00000001

Definition at line 134 of file ntioapi.h.

#define FILE_PIPE_QUEUE_OPERATION   0x00000000

Definition at line 125 of file ntioapi.h.

#define FILE_PIPE_READ_DATA   0x00000000

Definition at line 1595 of file ntioapi.h.

#define FILE_PIPE_REJECT_REMOTE_CLIENTS   0x00000002

Definition at line 121 of file ntioapi.h.

#define FILE_PIPE_SERVER_END   0x00000001

Definition at line 145 of file ntioapi.h.

#define FILE_PIPE_TYPE_VALID_MASK   0x00000003

Definition at line 122 of file ntioapi.h.

#define FILE_PIPE_WRITE_SPACE   0x00000001

Definition at line 1596 of file ntioapi.h.

#define FILE_PORTABLE_DEVICE   0x00040000

Definition at line 113 of file ntioapi.h.

#define FILE_QUAD_ALIGNMENT   0x00000007

Definition at line 70 of file ntioapi.h.

#define FILE_RANDOM_ACCESS   0x00000800

Definition at line 29 of file ntioapi.h.

#define FILE_READ_ONLY_DEVICE   0x00000002

Definition at line 100 of file ntioapi.h.

#define FILE_REMOTE_DEVICE   0x00000010

Definition at line 103 of file ntioapi.h.

#define FILE_REMOVABLE_MEDIA   0x00000001

Definition at line 99 of file ntioapi.h.

#define FILE_RESERVE_OPFILTER   0x00100000

Definition at line 43 of file ntioapi.h.

#define FILE_SEQUENTIAL_ONLY   0x00000004

Definition at line 18 of file ntioapi.h.

#define FILE_SESSION_AWARE   0x00040000

Definition at line 40 of file ntioapi.h.

#define FILE_SKIP_COMPLETION_PORT_ON_SUCCESS   0x1

Definition at line 519 of file ntioapi.h.

#define FILE_SKIP_SET_EVENT_ON_HANDLE   0x2

Definition at line 520 of file ntioapi.h.

#define FILE_SKIP_SET_USER_EVENT_ON_FAST_IO   0x4

Definition at line 521 of file ntioapi.h.

#define FILE_STRUCTURED_STORAGE   0x00000441

Definition at line 49 of file ntioapi.h.

#define FILE_SUPERSEDE   0x00000000

Definition at line 6 of file ntioapi.h.

#define FILE_SUPERSEDED   0x00000000

Definition at line 53 of file ntioapi.h.

#define FILE_SYNCHRONOUS_IO_ALERT   0x00000010

Definition at line 21 of file ntioapi.h.

#define FILE_SYNCHRONOUS_IO_NONALERT   0x00000020

Definition at line 22 of file ntioapi.h.

#define FILE_USE_FILE_POINTER_POSITION   0xfffffffe

Definition at line 63 of file ntioapi.h.

#define FILE_VIRTUAL_VOLUME   0x00000040

Definition at line 105 of file ntioapi.h.

#define FILE_WORD_ALIGNMENT   0x00000001

Definition at line 68 of file ntioapi.h.

#define FILE_WRITE_ONCE_MEDIA   0x00000008

Definition at line 102 of file ntioapi.h.

#define FILE_WRITE_THROUGH   0x00000002

Definition at line 17 of file ntioapi.h.

#define FILE_WRITE_TO_END_OF_FILE   0xffffffff

Definition at line 62 of file ntioapi.h.

#define FLUSH_FLAGS_FILE_DATA_ONLY   0x00000001

Definition at line 973 of file ntioapi.h.

#define FLUSH_FLAGS_NO_SYNC   0x00000002

Definition at line 974 of file ntioapi.h.

#define FSCTL_MAILSLOT_PEEK   CTL_CODE(FILE_DEVICE_MAILSLOT, 0, METHOD_NEITHER, FILE_READ_DATA)

Definition at line 1667 of file ntioapi.h.

#define FSCTL_PIPE_ASSIGN_EVENT   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 1570 of file ntioapi.h.

#define FSCTL_PIPE_DISCONNECT   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 1571 of file ntioapi.h.

#define FSCTL_PIPE_FLUSH   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 16, METHOD_BUFFERED, FILE_WRITE_DATA)

Definition at line 1586 of file ntioapi.h.

#define FSCTL_PIPE_GET_CONNECTION_ATTRIBUTE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 12, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 1582 of file ntioapi.h.

#define FSCTL_PIPE_GET_HANDLE_ATTRIBUTE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 14, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 1584 of file ntioapi.h.

#define FSCTL_PIPE_GET_PIPE_ATTRIBUTE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 10, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 1580 of file ntioapi.h.

#define FSCTL_PIPE_IMPERSONATE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 7, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 1577 of file ntioapi.h.

#define FSCTL_PIPE_INTERNAL_READ   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2045, METHOD_BUFFERED, FILE_READ_DATA)

Definition at line 1588 of file ntioapi.h.

#define FSCTL_PIPE_INTERNAL_READ_OVFLOW   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2048, METHOD_BUFFERED, FILE_READ_DATA)

Definition at line 1591 of file ntioapi.h.

#define FSCTL_PIPE_INTERNAL_TRANSCEIVE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2047, METHOD_NEITHER, FILE_READ_DATA | FILE_WRITE_DATA)

Definition at line 1590 of file ntioapi.h.

#define FSCTL_PIPE_INTERNAL_WRITE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2046, METHOD_BUFFERED, FILE_WRITE_DATA)

Definition at line 1589 of file ntioapi.h.

#define FSCTL_PIPE_LISTEN   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 1572 of file ntioapi.h.

#define FSCTL_PIPE_PEEK   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 3, METHOD_BUFFERED, FILE_READ_DATA)

Definition at line 1573 of file ntioapi.h.

#define FSCTL_PIPE_QUERY_CLIENT_PROCESS   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 9, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 1579 of file ntioapi.h.

#define FSCTL_PIPE_QUERY_EVENT   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 1574 of file ntioapi.h.

#define FSCTL_PIPE_SET_CLIENT_PROCESS   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 8, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 1578 of file ntioapi.h.

#define FSCTL_PIPE_SET_CONNECTION_ATTRIBUTE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 13, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 1583 of file ntioapi.h.

#define FSCTL_PIPE_SET_HANDLE_ATTRIBUTE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 15, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 1585 of file ntioapi.h.

#define FSCTL_PIPE_SET_PIPE_ATTRIBUTE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 11, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 1581 of file ntioapi.h.

#define FSCTL_PIPE_TRANSCEIVE   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 5, METHOD_NEITHER, FILE_READ_DATA | FILE_WRITE_DATA)

Definition at line 1575 of file ntioapi.h.

#define FSCTL_PIPE_WAIT   CTL_CODE(FILE_DEVICE_NAMED_PIPE, 6, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 1576 of file ntioapi.h.

#define IO_COMPLETION_QUERY_STATE   0x0001

Definition at line 1297 of file ntioapi.h.

#define MAILSLOT_CLASS_FIRSTCLASS   1

Definition at line 1664 of file ntioapi.h.

#define MAILSLOT_CLASS_SECONDCLASS   2

Definition at line 1665 of file ntioapi.h.

#define MAILSLOT_SIZE_AUTO   0

Definition at line 149 of file ntioapi.h.

#define MAXIMUM_FILENAME_LENGTH   256

Definition at line 80 of file ntioapi.h.

#define SSINFO_FLAGS_ALIGNED_DEVICE   0x00000001

Definition at line 857 of file ntioapi.h.

#define SSINFO_FLAGS_PARTITION_ALIGNED_ON_DEVICE   0x00000002

Definition at line 858 of file ntioapi.h.

#define SSINFO_OFFSET_UNKNOWN   0xffffffff

Definition at line 861 of file ntioapi.h.

#define SYMLINK_FLAG_RELATIVE   1

Definition at line 1535 of file ntioapi.h.

Typedef Documentation

typedef enum _DMA_SPEED DMA_SPEED
typedef enum _DMA_WIDTH DMA_WIDTH
typedef enum _FSINFOCLASS FSINFOCLASS
typedef enum _DMA_SPEED * PDMA_SPEED
typedef enum _DMA_WIDTH * PDMA_WIDTH
typedef enum _FSINFOCLASS * PFSINFOCLASS
typedef VOID(NTAPI * PIO_APC_ROUTINE)(_In_ PVOID ApcContext, _In_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG Reserved)

Definition at line 161 of file ntioapi.h.

Enumeration Type Documentation

Enumerator:
ConfigurationSpaceUndefined 
Cmos 
EisaConfiguration 
Pos 
CbusConfiguration 
PCIConfiguration 
VMEConfiguration 
NuBusConfiguration 
PCMCIAConfiguration 
MPIConfiguration 
MPSAConfiguration 
PNPISAConfiguration 
SgiInternalConfiguration 
MaximumBusDataType 

Definition at line 1513 of file ntioapi.h.

enum _DMA_SPEED
Enumerator:
Compatible 
TypeA 
TypeB 
TypeC 
TypeF 
MaximumDmaSpeed 

Definition at line 1503 of file ntioapi.h.

enum _DMA_WIDTH
Enumerator:
Width8Bits 
Width16Bits 
Width32Bits 
MaximumDmaWidth 

Definition at line 1495 of file ntioapi.h.

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 
FileIsRemoteDeviceInformation 
FileUnusedInformation 
FileNumaNodeInformation 
FileStandardLinkInformation 
FileRemoteProtocolInformation 
FileRenameInformationBypassAccessCheck 
FileLinkInformationBypassAccessCheck 
FileIntegrityStreamInformation 
FileVolumeNameInformation 
FileIdInformation 
FileIdExtdDirectoryInformation 
FileReplaceCompletionInformation 
FileHardLinkFullIdInformation 
FileIdExtdBothDirectoryInformation 
FileMaximumInformation 

Definition at line 175 of file ntioapi.h.

Enumerator:
FileFsVolumeInformation 
FileFsLabelInformation 
FileFsSizeInformation 
FileFsDeviceInformation 
FileFsAttributeInformation 
FileFsControlInformation 
FileFsFullSizeInformation 
FileFsObjectIdInformation 
FileFsDriverPathInformation 
FileFsVolumeFlagsInformation 
FileFsSectorSizeInformation 
FileFsDataCopyInformation 
FileFsMetadataSizeInformation 
FileFsMaximumInformation 

Definition at line 773 of file ntioapi.h.

Enumerator:
InterfaceTypeUndefined 
Internal 
Isa 
Eisa 
MicroChannel 
TurboChannel 
PCIBus 
VMEBus 
NuBus 
PCMCIABus 
CBus 
MPIBus 
MPSABus 
ProcessorInternal 
InternalPowerBus 
PNPISABus 
PNPBus 
Vmcs 
MaximumInterfaceType 

Definition at line 1472 of file ntioapi.h.

Enumerator:
IoCompletionBasicInformation 

Definition at line 1300 of file ntioapi.h.

Enumerator:
IoPriorityVeryLow 
IoPriorityLow 
IoPriorityNormal 
IoPriorityHigh 
IoPriorityCritical 
MaxIoPriorityTypes 

Definition at line 509 of file ntioapi.h.

Enumerator:
IoSessionEventIgnore 
IoSessionEventCreated 
IoSessionEventTerminated 
IoSessionEventConnected 
IoSessionEventDisconnected 
IoSessionEventLogon 
IoSessionEventLogoff 
IoSessionEventMax 

Definition at line 1429 of file ntioapi.h.

Enumerator:
IoSessionStateCreated 
IoSessionStateInitialized 
IoSessionStateConnected 
IoSessionStateDisconnected 
IoSessionStateDisconnectedLoggedOn 
IoSessionStateLoggedOn 
IoSessionStateLoggedOff 
IoSessionStateTerminated 
IoSessionStateMax 

Definition at line 1441 of file ntioapi.h.

Function Documentation

NTSYSCALLAPI NTSTATUS NTAPI NtAssociateWaitCompletionPacket ( _In_ HANDLE  WaitCompletionPacketHandle,
_In_ HANDLE  IoCompletionHandle,
_In_ HANDLE  TargetObjectHandle,
_In_opt_ PVOID  KeyContext,
_In_opt_ PVOID  ApcContext,
_In_ NTSTATUS  IoStatus,
_In_ ULONG_PTR  IoStatusInformation,
_Out_opt_ PBOOLEAN  AlreadySignaled 
)
NTSYSCALLAPI NTSTATUS NTAPI NtCancelIoFile ( _In_ HANDLE  FileHandle,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock 
)
NTSYSCALLAPI NTSTATUS NTAPI NtCancelIoFileEx ( _In_ HANDLE  FileHandle,
_In_opt_ PIO_STATUS_BLOCK  IoRequestToCancel,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock 
)
NTSYSCALLAPI NTSTATUS NTAPI NtCancelSynchronousIoFile ( _In_ HANDLE  ThreadHandle,
_In_opt_ PIO_STATUS_BLOCK  IoRequestToCancel,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock 
)
NTSYSCALLAPI NTSTATUS NTAPI NtCancelWaitCompletionPacket ( _In_ HANDLE  WaitCompletionPacketHandle,
_In_ BOOLEAN  RemoveSignaledPacket 
)
NTSYSCALLAPI NTSTATUS NTAPI NtCreateFile ( _Out_ PHANDLE  FileHandle,
_In_ ACCESS_MASK  DesiredAccess,
_In_ POBJECT_ATTRIBUTES  ObjectAttributes,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_opt_ PLARGE_INTEGER  AllocationSize,
_In_ ULONG  FileAttributes,
_In_ ULONG  ShareAccess,
_In_ ULONG  CreateDisposition,
_In_ ULONG  CreateOptions,
_In_reads_bytes_opt_(EaLength) PVOID  EaBuffer,
_In_ ULONG  EaLength 
)
NTSYSCALLAPI NTSTATUS NTAPI NtCreateIoCompletion ( _Out_ PHANDLE  IoCompletionHandle,
_In_ ACCESS_MASK  DesiredAccess,
_In_opt_ POBJECT_ATTRIBUTES  ObjectAttributes,
_In_opt_ ULONG  Count 
)
NTSYSCALLAPI NTSTATUS NTAPI NtCreateMailslotFile ( _Out_ PHANDLE  FileHandle,
_In_ ULONG  DesiredAccess,
_In_ POBJECT_ATTRIBUTES  ObjectAttributes,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_ ULONG  CreateOptions,
_In_ ULONG  MailslotQuota,
_In_ ULONG  MaximumMessageSize,
_In_ PLARGE_INTEGER  ReadTimeout 
)
NTSYSCALLAPI NTSTATUS NTAPI NtCreateNamedPipeFile ( _Out_ PHANDLE  FileHandle,
_In_ ULONG  DesiredAccess,
_In_ POBJECT_ATTRIBUTES  ObjectAttributes,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_ ULONG  ShareAccess,
_In_ ULONG  CreateDisposition,
_In_ ULONG  CreateOptions,
_In_ ULONG  NamedPipeType,
_In_ ULONG  ReadMode,
_In_ ULONG  CompletionMode,
_In_ ULONG  MaximumInstances,
_In_ ULONG  InboundQuota,
_In_ ULONG  OutboundQuota,
_In_opt_ PLARGE_INTEGER  DefaultTimeout 
)
NTSYSCALLAPI NTSTATUS NTAPI NtCreateWaitCompletionPacket ( _Out_ PHANDLE  WaitCompletionPacketHandle,
_In_ ACCESS_MASK  DesiredAccess,
_In_opt_ POBJECT_ATTRIBUTES  ObjectAttributes 
)
NTSYSCALLAPI NTSTATUS NTAPI NtDeleteFile ( _In_ POBJECT_ATTRIBUTES  ObjectAttributes)
NTSYSCALLAPI NTSTATUS NTAPI NtDeviceIoControlFile ( _In_ HANDLE  FileHandle,
_In_opt_ HANDLE  Event,
_In_opt_ PIO_APC_ROUTINE  ApcRoutine,
_In_opt_ PVOID  ApcContext,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_ ULONG  IoControlCode,
_In_reads_bytes_opt_(InputBufferLength) PVOID  InputBuffer,
_In_ ULONG  InputBufferLength,
_Out_writes_bytes_opt_(OutputBufferLength) PVOID  OutputBuffer,
_In_ ULONG  OutputBufferLength 
)
NTSYSCALLAPI NTSTATUS NTAPI NtFlushBuffersFile ( _In_ HANDLE  FileHandle,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock 
)
NTSYSCALLAPI NTSTATUS NTAPI NtFlushBuffersFileEx ( _In_ HANDLE  FileHandle,
_In_ ULONG  Flags,
_In_reads_bytes_(ParametersSize) PVOID  Parameters,
_In_ ULONG  ParametersSize,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock 
)
NTSYSCALLAPI NTSTATUS NTAPI NtFsControlFile ( _In_ HANDLE  FileHandle,
_In_opt_ HANDLE  Event,
_In_opt_ PIO_APC_ROUTINE  ApcRoutine,
_In_opt_ PVOID  ApcContext,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_ ULONG  FsControlCode,
_In_reads_bytes_opt_(InputBufferLength) PVOID  InputBuffer,
_In_ ULONG  InputBufferLength,
_Out_writes_bytes_opt_(OutputBufferLength) PVOID  OutputBuffer,
_In_ ULONG  OutputBufferLength 
)
NTSYSCALLAPI NTSTATUS NTAPI NtLoadDriver ( _In_ PUNICODE_STRING  DriverServiceName)
NTSYSCALLAPI NTSTATUS NTAPI NtLockFile ( _In_ HANDLE  FileHandle,
_In_opt_ HANDLE  Event,
_In_opt_ PIO_APC_ROUTINE  ApcRoutine,
_In_opt_ PVOID  ApcContext,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_ PLARGE_INTEGER  ByteOffset,
_In_ PLARGE_INTEGER  Length,
_In_ ULONG  Key,
_In_ BOOLEAN  FailImmediately,
_In_ BOOLEAN  ExclusiveLock 
)
NTSYSCALLAPI NTSTATUS NTAPI NtNotifyChangeDirectoryFile ( _In_ HANDLE  FileHandle,
_In_opt_ HANDLE  Event,
_In_opt_ PIO_APC_ROUTINE  ApcRoutine,
_In_opt_ PVOID  ApcContext,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_Out_writes_bytes_(Length) PVOID  Buffer,
_In_ ULONG  Length,
_In_ ULONG  CompletionFilter,
_In_ BOOLEAN  WatchTree 
)
NTSYSCALLAPI NTSTATUS NTAPI NtNotifyChangeSession ( _In_ HANDLE  SessionHandle,
_In_ ULONG  ChangeSequenceNumber,
_In_ PLARGE_INTEGER  ChangeTimeStamp,
_In_ IO_SESSION_EVENT  Event,
_In_ IO_SESSION_STATE  NewState,
_In_ IO_SESSION_STATE  PreviousState,
_In_reads_bytes_opt_(PayloadSize) PVOID  Payload,
_In_ ULONG  PayloadSize 
)
NTSYSCALLAPI NTSTATUS NTAPI NtOpenFile ( _Out_ PHANDLE  FileHandle,
_In_ ACCESS_MASK  DesiredAccess,
_In_ POBJECT_ATTRIBUTES  ObjectAttributes,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_ ULONG  ShareAccess,
_In_ ULONG  OpenOptions 
)
NTSYSCALLAPI NTSTATUS NTAPI NtOpenIoCompletion ( _Out_ PHANDLE  IoCompletionHandle,
_In_ ACCESS_MASK  DesiredAccess,
_In_ POBJECT_ATTRIBUTES  ObjectAttributes 
)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryAttributesFile ( _In_ POBJECT_ATTRIBUTES  ObjectAttributes,
_Out_ PFILE_BASIC_INFORMATION  FileInformation 
)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryDirectoryFile ( _In_ HANDLE  FileHandle,
_In_opt_ HANDLE  Event,
_In_opt_ PIO_APC_ROUTINE  ApcRoutine,
_In_opt_ PVOID  ApcContext,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_Out_writes_bytes_(Length) PVOID  FileInformation,
_In_ ULONG  Length,
_In_ FILE_INFORMATION_CLASS  FileInformationClass,
_In_ BOOLEAN  ReturnSingleEntry,
_In_opt_ PUNICODE_STRING  FileName,
_In_ BOOLEAN  RestartScan 
)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryEaFile ( _In_ HANDLE  FileHandle,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_Out_writes_bytes_(Length) PVOID  Buffer,
_In_ ULONG  Length,
_In_ BOOLEAN  ReturnSingleEntry,
_In_reads_bytes_opt_(EaListLength) PVOID  EaList,
_In_ ULONG  EaListLength,
_In_opt_ PULONG  EaIndex,
_In_ BOOLEAN  RestartScan 
)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryFullAttributesFile ( _In_ POBJECT_ATTRIBUTES  ObjectAttributes,
_Out_ PFILE_NETWORK_OPEN_INFORMATION  FileInformation 
)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryInformationFile ( _In_ HANDLE  FileHandle,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_Out_writes_bytes_(Length) PVOID  FileInformation,
_In_ ULONG  Length,
_In_ FILE_INFORMATION_CLASS  FileInformationClass 
)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryIoCompletion ( _In_ HANDLE  IoCompletionHandle,
_In_ IO_COMPLETION_INFORMATION_CLASS  IoCompletionInformationClass,
_Out_writes_bytes_(IoCompletionInformation) PVOID  IoCompletionInformation,
_In_ ULONG  IoCompletionInformationLength,
_Out_opt_ PULONG  ReturnLength 
)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryQuotaInformationFile ( _In_ HANDLE  FileHandle,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_Out_writes_bytes_(Length) PVOID  Buffer,
_In_ ULONG  Length,
_In_ BOOLEAN  ReturnSingleEntry,
_In_reads_bytes_opt_(SidListLength) PVOID  SidList,
_In_ ULONG  SidListLength,
_In_opt_ PSID  StartSid,
_In_ BOOLEAN  RestartScan 
)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryVolumeInformationFile ( _In_ HANDLE  FileHandle,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_Out_writes_bytes_(Length) PVOID  FsInformation,
_In_ ULONG  Length,
_In_ FSINFOCLASS  FsInformationClass 
)
NTSYSCALLAPI NTSTATUS NTAPI NtReadFile ( _In_ HANDLE  FileHandle,
_In_opt_ HANDLE  Event,
_In_opt_ PIO_APC_ROUTINE  ApcRoutine,
_In_opt_ PVOID  ApcContext,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_Out_writes_bytes_(Length) PVOID  Buffer,
_In_ ULONG  Length,
_In_opt_ PLARGE_INTEGER  ByteOffset,
_In_opt_ PULONG  Key 
)
NTSYSCALLAPI NTSTATUS NTAPI NtReadFileScatter ( _In_ HANDLE  FileHandle,
_In_opt_ HANDLE  Event,
_In_opt_ PIO_APC_ROUTINE  ApcRoutine,
_In_opt_ PVOID  ApcContext,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_ PFILE_SEGMENT_ELEMENT  SegmentArray,
_In_ ULONG  Length,
_In_opt_ PLARGE_INTEGER  ByteOffset,
_In_opt_ PULONG  Key 
)
NTSYSCALLAPI NTSTATUS NTAPI NtRemoveIoCompletion ( _In_ HANDLE  IoCompletionHandle,
_Out_ PVOID *  KeyContext,
_Out_ PVOID *  ApcContext,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_opt_ PLARGE_INTEGER  Timeout 
)
NTSYSCALLAPI NTSTATUS NTAPI NtRemoveIoCompletionEx ( _In_ HANDLE  IoCompletionHandle,
_Out_writes_to_(Count,*NumEntriesRemoved) PFILE_IO_COMPLETION_INFORMATION  IoCompletionInformation,
_In_ ULONG  Count,
_Out_ PULONG  NumEntriesRemoved,
_In_opt_ PLARGE_INTEGER  Timeout,
_In_ BOOLEAN  Alertable 
)
NTSYSCALLAPI NTSTATUS NTAPI NtSetEaFile ( _In_ HANDLE  FileHandle,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_reads_bytes_(Length) PVOID  Buffer,
_In_ ULONG  Length 
)
NTSYSCALLAPI NTSTATUS NTAPI NtSetInformationFile ( _In_ HANDLE  FileHandle,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_reads_bytes_(Length) PVOID  FileInformation,
_In_ ULONG  Length,
_In_ FILE_INFORMATION_CLASS  FileInformationClass 
)
NTSYSCALLAPI NTSTATUS NTAPI NtSetIoCompletion ( _In_ HANDLE  IoCompletionHandle,
_In_opt_ PVOID  KeyContext,
_In_opt_ PVOID  ApcContext,
_In_ NTSTATUS  IoStatus,
_In_ ULONG_PTR  IoStatusInformation 
)
NTSYSCALLAPI NTSTATUS NTAPI NtSetIoCompletionEx ( _In_ HANDLE  IoCompletionHandle,
_In_ HANDLE  IoCompletionPacketHandle,
_In_opt_ PVOID  KeyContext,
_In_opt_ PVOID  ApcContext,
_In_ NTSTATUS  IoStatus,
_In_ ULONG_PTR  IoStatusInformation 
)
NTSYSCALLAPI NTSTATUS NTAPI NtSetQuotaInformationFile ( _In_ HANDLE  FileHandle,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_reads_bytes_(Length) PVOID  Buffer,
_In_ ULONG  Length 
)
NTSYSCALLAPI NTSTATUS NTAPI NtSetVolumeInformationFile ( _In_ HANDLE  FileHandle,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_reads_bytes_(Length) PVOID  FsInformation,
_In_ ULONG  Length,
_In_ FSINFOCLASS  FsInformationClass 
)
NTSYSCALLAPI NTSTATUS NTAPI NtUnloadDriver ( _In_ PUNICODE_STRING  DriverServiceName)
NTSYSCALLAPI NTSTATUS NTAPI NtUnlockFile ( _In_ HANDLE  FileHandle,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_ PLARGE_INTEGER  ByteOffset,
_In_ PLARGE_INTEGER  Length,
_In_ ULONG  Key 
)
NTSYSCALLAPI NTSTATUS NTAPI NtWriteFile ( _In_ HANDLE  FileHandle,
_In_opt_ HANDLE  Event,
_In_opt_ PIO_APC_ROUTINE  ApcRoutine,
_In_opt_ PVOID  ApcContext,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_reads_bytes_(Length) PVOID  Buffer,
_In_ ULONG  Length,
_In_opt_ PLARGE_INTEGER  ByteOffset,
_In_opt_ PULONG  Key 
)
NTSYSCALLAPI NTSTATUS NTAPI NtWriteFileGather ( _In_ HANDLE  FileHandle,
_In_opt_ HANDLE  Event,
_In_opt_ PIO_APC_ROUTINE  ApcRoutine,
_In_opt_ PVOID  ApcContext,
_Out_ PIO_STATUS_BLOCK  IoStatusBlock,
_In_ PFILE_SEGMENT_ELEMENT  SegmentArray,
_In_ ULONG  Length,
_In_opt_ PLARGE_INTEGER  ByteOffset,
_In_opt_ PULONG  Key 
)