ReactOS 0.4.16-dev-125-g798ea90
|
#include <windef.h>
Go to the source code of this file.
Classes | |
struct | _STRING |
struct | _UNICODE_STRING |
struct | _RTL_USER_PROCESS_PARAMETERS |
struct | _PEB_LDR_DATA |
struct | _LDR_DATA_TABLE_ENTRY |
struct | _PEB |
struct | _TEB |
struct | _OBJECT_ATTRIBUTES |
struct | _IO_STATUS_BLOCK |
struct | _KEY_VALUE_ENTRY |
struct | _PROCESS_BASIC_INFORMATION |
struct | _PUBLIC_OBJECT_BASIC_INFORMATION |
struct | __PUBLIC_OBJECT_TYPE_INFORMATION |
struct | _SYSTEM_BASIC_INFORMATION |
struct | _SYSTEM_PERFORMANCE_INFORMATION |
struct | _SYSTEM_TIMEOFDAY_INFORMATION |
struct | _SYSTEM_PROCESS_INFORMATION |
struct | _SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION |
struct | _SYSTEM_INTERRUPT_INFORMATION |
struct | _SYSTEM_EXCEPTION_INFORMATION |
struct | _SYSTEM_REGISTRY_QUOTA_INFORMATION |
struct | _SYSTEM_LOOKASIDE_INFORMATION |
struct | _SYSTEM_POLICY_INFORMATION |
struct | _WINSTATIONINFORMATIONW |
Variables | |
_In_ OBJECT_INFORMATION_CLASS | ObjectInformationClass |
_In_ OBJECT_INFORMATION_CLASS _In_ ULONG | ObjectInformationLength |
_In_ OBJECT_INFORMATION_CLASS _In_ ULONG _Out_opt_ PULONG | ReturnLength |
#define _WINTERNL_ |
Definition at line 35 of file winternl.h.
#define FILE_COMPLETE_IF_OPLOCKED 0x00000100 |
Definition at line 177 of file winternl.h.
#define FILE_CREATE 0x00000002 |
Definition at line 209 of file winternl.h.
#define FILE_CREATE_TREE_CONNECTION 0x00000080 |
Definition at line 176 of file winternl.h.
#define FILE_CREATED 0x00000002 |
Definition at line 196 of file winternl.h.
#define FILE_DELETE_ON_CLOSE 0x00001000 |
Definition at line 181 of file winternl.h.
#define FILE_DIRECTORY_FILE 0x00000001 |
Definition at line 169 of file winternl.h.
#define FILE_DOES_NOT_EXIST 0x00000005 |
Definition at line 199 of file winternl.h.
#define FILE_EXISTS 0x00000004 |
Definition at line 198 of file winternl.h.
#define FILE_MAXIMUM_DISPOSITION 0x00000005 |
Definition at line 213 of file winternl.h.
#define FILE_NO_COMPRESSION 0x00008000 |
Definition at line 184 of file winternl.h.
#define FILE_NO_EA_KNOWLEDGE 0x00000200 |
Definition at line 178 of file winternl.h.
#define FILE_NO_INTERMEDIATE_BUFFERING 0x00000008 |
Definition at line 172 of file winternl.h.
#define FILE_NON_DIRECTORY_FILE 0x00000040 |
Definition at line 175 of file winternl.h.
#define FILE_OPEN 0x00000001 |
Definition at line 208 of file winternl.h.
#define FILE_OPEN_BY_FILE_ID 0x00002000 |
Definition at line 182 of file winternl.h.
#define FILE_OPEN_FOR_BACKUP_INTENT 0x00004000 |
Definition at line 183 of file winternl.h.
#define FILE_OPEN_FOR_FREE_SPACE_QUERY 0x00800000 |
Definition at line 191 of file winternl.h.
#define FILE_OPEN_IF 0x00000003 |
Definition at line 210 of file winternl.h.
#define FILE_OPEN_NO_RECALL 0x00400000 |
Definition at line 190 of file winternl.h.
#define FILE_OPEN_REMOTE_INSTANCE 0x00000400 |
Definition at line 179 of file winternl.h.
#define FILE_OPEN_REPARSE_POINT 0x00200000 |
Definition at line 189 of file winternl.h.
#define FILE_OPEN_REQUIRING_OPLOCK 0x00010000 |
Definition at line 186 of file winternl.h.
#define FILE_OPENED 0x00000001 |
Definition at line 195 of file winternl.h.
#define FILE_OVERWRITE 0x00000004 |
Definition at line 211 of file winternl.h.
#define FILE_OVERWRITE_IF 0x00000005 |
Definition at line 212 of file winternl.h.
#define FILE_OVERWRITTEN 0x00000003 |
Definition at line 197 of file winternl.h.
#define FILE_RANDOM_ACCESS 0x00000800 |
Definition at line 180 of file winternl.h.
#define FILE_RESERVE_OPFILTER 0x00100000 |
Definition at line 188 of file winternl.h.
#define FILE_SEQUENTIAL_ONLY 0x00000004 |
Definition at line 171 of file winternl.h.
#define FILE_SUPERSEDE 0x00000000 |
Definition at line 207 of file winternl.h.
#define FILE_SUPERSEDED 0x00000000 |
Definition at line 194 of file winternl.h.
#define FILE_SYNCHRONOUS_IO_ALERT 0x00000010 |
Definition at line 173 of file winternl.h.
#define FILE_SYNCHRONOUS_IO_NONALERT 0x00000020 |
Definition at line 174 of file winternl.h.
#define FILE_VALID_MAILSLOT_OPTION_FLAGS 0x00000032 |
Definition at line 203 of file winternl.h.
#define FILE_VALID_OPTION_FLAGS 0x00ffffff |
Definition at line 201 of file winternl.h.
#define FILE_VALID_PIPE_OPTION_FLAGS 0x00000032 |
Definition at line 202 of file winternl.h.
#define FILE_VALID_SET_FLAGS 0x00000036 |
Definition at line 204 of file winternl.h.
#define FILE_WRITE_THROUGH 0x00000002 |
Definition at line 170 of file winternl.h.
Definition at line 236 of file winternl.h.
Definition at line 164 of file winternl.h.
Definition at line 165 of file winternl.h.
Definition at line 59 of file winternl.h.
Definition at line 51 of file winternl.h.
Definition at line 55 of file winternl.h.
#define OBJ_CASE_INSENSITIVE 0x00000040L |
Definition at line 228 of file winternl.h.
#define OBJ_EXCLUSIVE 0x00000020L |
Definition at line 227 of file winternl.h.
#define OBJ_FORCE_ACCESS_CHECK 0x00000400L |
Definition at line 232 of file winternl.h.
#define OBJ_INHERIT 0x00000002L |
Definition at line 225 of file winternl.h.
#define OBJ_KERNEL_HANDLE 0x00000200L |
Definition at line 231 of file winternl.h.
#define OBJ_OPENIF 0x00000080L |
Definition at line 229 of file winternl.h.
#define OBJ_OPENLINK 0x00000100L |
Definition at line 230 of file winternl.h.
#define OBJ_PERMANENT 0x00000010L |
Definition at line 226 of file winternl.h.
#define OBJ_VALID_ATTRIBUTES 0x000007F2L |
Definition at line 233 of file winternl.h.
Definition at line 599 of file winternl.h.
Definition at line 598 of file winternl.h.
#define RtlZeroMemory | ( | Dest, | |
Length | |||
) | RtlFillMemory((Dest),(Length),0) |
Definition at line 600 of file winternl.h.
Definition at line 166 of file winternl.h.
typedef STRING ANSI_STRING |
Definition at line 70 of file winternl.h.
typedef struct _IO_STATUS_BLOCK IO_STATUS_BLOCK |
typedef struct _KEY_VALUE_ENTRY KEY_VALUE_ENTRY |
typedef STRING OEM_STRING |
Definition at line 73 of file winternl.h.
typedef PSTRING PANSI_STRING |
Definition at line 71 of file winternl.h.
typedef PSTRING PCANSI_STRING |
Definition at line 72 of file winternl.h.
typedef const STRING* PCOEM_STRING |
Definition at line 75 of file winternl.h.
Definition at line 62 of file winternl.h.
typedef const UNICODE_STRING* PCUNICODE_STRING |
Definition at line 83 of file winternl.h.
typedef struct _PEB_LDR_DATA PEB_LDR_DATA |
typedef VOID(NTAPI * PIO_APC_ROUTINE) (_In_ PVOID ApcContext, _In_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG Reserved) |
Definition at line 293 of file winternl.h.
typedef struct _IO_STATUS_BLOCK * PIO_STATUS_BLOCK |
typedef struct _KEY_VALUE_ENTRY * PKEY_VALUE_ENTRY |
typedef struct _LDR_DATA_TABLE_ENTRY * PLDR_DATA_TABLE_ENTRY |
typedef struct _OBJECT_ATTRIBUTES * POBJECT_ATTRIBUTES |
typedef PSTRING POEM_STRING |
Definition at line 74 of file winternl.h.
typedef struct _PEB_LDR_DATA * PPEB_LDR_DATA |
Definition at line 118 of file winternl.h.
static PROCESSINFOCLASS |
typedef struct _SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION * PSYSTEM_PROCESSOR_PERFORMANCE_INFORMATION |
typedef struct _UNICODE_STRING * PUNICODE_STRING |
typedef BOOLEAN(WINAPI * PWINSTATIONQUERYINFORMATIONW) (HANDLE, ULONG, WINSTATIONINFOCLASS, PVOID, ULONG, PULONG) |
Definition at line 582 of file winternl.h.
typedef enum _THREADINFOCLASS THREADINFOCLASS |
typedef struct _UNICODE_STRING UNICODE_STRING |
Definition at line 159 of file winternl.h.
Definition at line 370 of file winternl.h.
Definition at line 437 of file winternl.h.
Definition at line 392 of file winternl.h.
Definition at line 470 of file winternl.h.
Definition at line 421 of file winternl.h.
Enumerator | |
---|---|
WinStationInformation | |
WinStationInformation |
Definition at line 569 of file winternl.h.
_IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
Queries information details about a security descriptor.
Computes the quota size of a security descriptor.
Assigns a security descriptor for a new object.
An extended function that assigns a security descriptor for a new object.
Frees a security descriptor.
An extended function that sets new information data to a security descriptor.
Modifies some information data about a security descriptor.
[in] | SecurityInformation | Security information details to be queried from a security descriptor. |
[out] | SecurityDescriptor | The returned security descriptor with security information data. |
[in,out] | Length | The returned length of a security descriptor. |
[in,out] | ObjectsSecurityDescriptor | The returned object security descriptor. |
[in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
[in] | SecurityInformation | Security information details to be set. |
[in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
[in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
[in] | PoolType | Pool type for the new security descriptor to allocate. |
[in] | GenericMapping | The generic mapping of access rights masks. |
[in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
[in] | SecurityInformation | Security information details to be set. |
[in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
[in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
[in] | AutoInheritFlags | Flags bitmask inheritation, influencing how the security descriptor can be inherited and if it can be in the first place. |
[in] | PoolType | Pool type for the new security descriptor to allocate. |
[in] | GenericMapping | The generic mapping of access rights masks. |
[in] | SecurityDescriptor | A security descriptor to be freed from memory. |
[in] | _ParentDescriptor | A security descriptor of the parent object that is being created. |
[in] | _ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
[out] | NewDescriptor | The new allocated security descriptor. |
[in] | ObjectType | The type of the new object. |
[in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
[in] | AutoInheritFlags | Automatic inheritance flags that influence how access control entries within ACLs from security descriptors are inherited. |
[in] | SubjectContext | Security subject context of the new object. |
[in] | GenericMapping | Generic mapping of access mask rights. |
[in] | PoolType | This parameter is unused. |
[in] | ParentDescriptor | A security descriptor of the parent object that is being created. |
[in] | ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
[out] | NewDescriptor | The new allocated security descriptor. |
[in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
[in] | SubjectContext | Security subject context of the new object. |
[in] | GenericMapping | Generic mapping of access mask rights. |
[in] | PoolType | This parameter is unused. |
[in] | SecurityDescriptor | A security descriptor. |
[out] | QuotaInfoSize | The returned quota size of the given security descriptor to the caller. The function may return 0 to this parameter if the descriptor doesn't have a group or a discretionary access control list (DACL) even. |
Definition at line 923 of file Messaging.c.
_Out_range_ | ( | 0 | ) |
_In_ OBJECT_INFORMATION_CLASS _Out_writes_bytes_opt_ | ( | ObjectInformationLength | ) |
typedef _Return_type_success_ | ( | return >= | 0 | ) |
|
pure virtual |
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtClose | ( | _In_ HANDLE | Handle | ) |
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtCreateFile | ( | _Out_ PHANDLE | FileHandle, |
_In_ ACCESS_MASK | DesiredAccess, | ||
_In_ POBJECT_ATTRIBUTES | ObjectAttributes, | ||
_Out_ PIO_STATUS_BLOCK | IoStatusBlock, | ||
_In_opt_ PLARGE_INTEGER | AllocationSize, | ||
_In_ ULONG | FileAttributes, | ||
_In_ ULONG | ShareAccess, | ||
_In_ ULONG | CreateDisposition, | ||
_In_ ULONG | CreateOptions, | ||
_In_reads_bytes_opt_(EaLength) PVOID | EaBuffer, | ||
_In_ ULONG | EaLength | ||
) |
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtDeviceIoControlFile | ( | _In_ HANDLE | FileHandle, |
_In_opt_ HANDLE | Event, | ||
_In_opt_ PIO_APC_ROUTINE | ApcRoutine, | ||
_In_opt_ PVOID | ApcContext, | ||
_Out_ PIO_STATUS_BLOCK | IoStatusBlock, | ||
_In_ ULONG | IoControlCode, | ||
_In_reads_bytes_opt_(InputBufferLength) PVOID | InputBuffer, | ||
_In_ ULONG | InputBufferLength, | ||
_Out_writes_bytes_opt_(OutputBufferLength) PVOID | OutputBuffer, | ||
_In_ ULONG | OutputBufferLength | ||
) |
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtNotifyChangeMultipleKeys | ( | _In_ HANDLE | MasterKeyHandle, |
_In_opt_ ULONG | Count, | ||
_In_reads_opt_(Count) OBJECT_ATTRIBUTES | SubordinateObjects[], | ||
_In_opt_ HANDLE | Event, | ||
_In_opt_ PIO_APC_ROUTINE | ApcRoutine, | ||
_In_opt_ PVOID | ApcContext, | ||
_Out_ PIO_STATUS_BLOCK | IoStatusBlock, | ||
_In_ ULONG | CompletionFilter, | ||
_In_ BOOLEAN | WatchTree, | ||
_Out_writes_bytes_opt_(BufferSize) PVOID | Buffer, | ||
_In_ ULONG | BufferSize, | ||
_In_ BOOLEAN | Asynchronous | ||
) |
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtOpenFile | ( | _Out_ PHANDLE | FileHandle, |
_In_ ACCESS_MASK | DesiredAccess, | ||
_In_ POBJECT_ATTRIBUTES | ObjectAttributes, | ||
_Out_ PIO_STATUS_BLOCK | IoStatusBlock, | ||
_In_ ULONG | ShareAccess, | ||
_In_ ULONG | OpenOptions | ||
) |
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryInformationProcess | ( | _In_ HANDLE | ProcessHandle, |
_In_ PROCESSINFOCLASS | ProcessInformationClass, | ||
_Out_ PVOID | ProcessInformation, | ||
_In_ ULONG | ProcessInformationLength, | ||
_Out_opt_ PULONG | ReturnLength | ||
) |
Definition at line 59 of file query.c.
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryInformationThread | ( | _In_ HANDLE | ThreadHandle, |
_In_ THREADINFOCLASS | ThreadInformationClass, | ||
_Out_ PVOID | ThreadInformation, | ||
_In_ ULONG | ThreadInformationLength, | ||
_Out_opt_ PULONG | ReturnLength | ||
) |
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryMultipleValueKey | ( | _In_ HANDLE | KeyHandle, |
_Inout_updates_(EntryCount) PKEY_VALUE_ENTRY | ValueEntries, | ||
_In_ ULONG | EntryCount, | ||
_Out_writes_bytes_ *BufferLength PVOID | ValueBuffer, | ||
_Inout_ PULONG | BufferLength, | ||
_Out_opt_ PULONG | RequiredBufferLength | ||
) |
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQuerySystemInformation | ( | _In_ SYSTEM_INFORMATION_CLASS | SystemInformationClass, |
_Out_ PVOID | SystemInformation, | ||
_In_ ULONG | InformationLength, | ||
_Out_opt_ PULONG | ResultLength | ||
) |
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQuerySystemTime | ( | _Out_ PLARGE_INTEGER | SystemTime | ) |
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtRenameKey | ( | _In_ HANDLE | KeyHandle, |
_In_ PUNICODE_STRING | NewName | ||
) |
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtSetInformationKey | ( | _In_ HANDLE | KeyHandle, |
_In_ _Strict_type_match_ KEY_SET_INFORMATION_CLASS | KeySetInformationClass, | ||
_In_reads_bytes_(KeySetInformationLength) PVOID | KeySetInformation, | ||
_In_ ULONG | KeySetInformationLength | ||
) |
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtWaitForSingleObject | ( | _In_ HANDLE | Object, |
_In_ BOOLEAN | Alertable, | ||
_In_opt_ PLARGE_INTEGER | Timeout | ||
) |
NTSTATUS NTAPI RtlAnsiStringToUnicodeString | ( | PUNICODE_STRING | DestinationString, |
PCANSI_STRING | SourceString, | ||
BOOLEAN | AllocateDestinationString | ||
) |
Definition at line 261 of file unicode.c.
NTSTATUS NTAPI RtlConvertSidToUnicodeString | ( | PUNICODE_STRING | UnicodeString, |
PSID | Sid, | ||
BOOLEAN | AllocateDestinationString | ||
) |
VOID NTAPI RtlFreeAnsiString | ( | PANSI_STRING | AnsiString | ) |
VOID NTAPI RtlFreeOemString | ( | POEM_STRING | OemString | ) |
VOID NTAPI RtlFreeUnicodeString | ( | PUNICODE_STRING | UnicodeString | ) |
VOID NTAPI RtlInitAnsiString | ( | PANSI_STRING | DestinationString, |
PCSZ | SourceString | ||
) |
VOID NTAPI RtlInitUnicodeString | ( | PUNICODE_STRING | DestinationString, |
PCWSTR | SourceString | ||
) |
BOOLEAN NTAPI RtlIsNameLegalDOS8Dot3 | ( | _In_ PUNICODE_STRING | Name, |
_Inout_opt_ POEM_STRING | OemName, | ||
_Inout_opt_ PBOOLEAN | NameContainsSpaces | ||
) |
NTSTATUS NTAPI RtlLocalTimeToSystemTime | ( | IN PLARGE_INTEGER | LocalTime, |
_Out_ PLARGE_INTEGER | SystemTime | ||
) |
BOOLEAN NTAPI RtlTimeToSecondsSince1970 | ( | PLARGE_INTEGER | Time, |
PULONG | ElapsedSeconds | ||
) |
Referenced by _fstat64(), _tstat64(), BuildUserInfoBuffer(), create_bad_block_inode(), ElfReportEventA(), ElfReportEventW(), ext2_flush(), ext2_initialize_sb(), ext2_mkdir(), Ext2LinuxTime(), GetPasswordAge(), GetTimeInSeconds(), LogfReportEvent(), LogfWriteRecord(), NetrRemoteTOD(), ParseDate(), and ProcessPortMessage().
NTSTATUS NTAPI RtlUnicodeStringToAnsiString | ( | PANSI_STRING | DestinationString, |
PCUNICODE_STRING | SourceString, | ||
BOOLEAN | AllocateDestinationString | ||
) |
NTSTATUS NTAPI RtlUnicodeStringToOemString | ( | POEM_STRING | DestinationString, |
PCUNICODE_STRING | SourceString, | ||
BOOLEAN | AllocateDestinationString | ||
) |
NTSTATUS NTAPI RtlUnicodeToMultiByteSize | ( | _Out_ PULONG | BytesInMultiByteString, |
_In_reads_bytes_(BytesInUnicodeString) PWCH | UnicodeString, | ||
_In_ ULONG | BytesInUnicodeString | ||
) |
_In_ OBJECT_INFORMATION_CLASS ObjectInformationClass |
Definition at line 465 of file winternl.h.
_In_ OBJECT_INFORMATION_CLASS _In_ ULONG ObjectInformationLength |
Definition at line 467 of file winternl.h.
Definition at line 468 of file winternl.h.