ReactOS 0.4.16-dev-329-g9223134
|
#include "Include/ntddk_ex.h"
Go to the source code of this file.
Typedefs | |
typedef NTSTATUS(* | ptrFsRtlNotifyVolumeEvent) (IN PFILE_OBJECT FileObject, IN ULONG EventCode) |
#define FILE_ATTRIBUTE_COMPRESSED 0x00000800 |
Definition at line 382 of file ntifs_ex.h.
#define FILE_ATTRIBUTE_ENCRYPTED 0x00004000 |
Definition at line 385 of file ntifs_ex.h.
#define FILE_ATTRIBUTE_NOT_CONTENT_INDEXED 0x00002000 |
Definition at line 384 of file ntifs_ex.h.
#define FILE_ATTRIBUTE_OFFLINE 0x00001000 |
Definition at line 383 of file ntifs_ex.h.
#define FILE_ATTRIBUTE_REPARSE_POINT 0x00000400 |
Definition at line 381 of file ntifs_ex.h.
#define FILE_ATTRIBUTE_SPARSE_FILE 0x00000200 |
Definition at line 380 of file ntifs_ex.h.
#define FILE_NAMED_STREAMS 0x00040000 |
Definition at line 324 of file ntifs_ex.h.
#define FILE_READ_ONLY_VOLUME 0x00080000 |
Definition at line 325 of file ntifs_ex.h.
#define FILE_SUPPORTS_ENCRYPTION 0x00020000 |
Definition at line 323 of file ntifs_ex.h.
#define FILE_SUPPORTS_OBJECT_IDS 0x00010000 |
Definition at line 322 of file ntifs_ex.h.
#define FILE_SUPPORTS_REMOTE_STORAGE 0x00000100 |
Definition at line 320 of file ntifs_ex.h.
#define FILE_SUPPORTS_REPARSE_POINTS 0x00000080 |
Definition at line 319 of file ntifs_ex.h.
#define FILE_SUPPORTS_SPARSE_FILES 0x00000040 |
Definition at line 318 of file ntifs_ex.h.
#define FILE_VOLUME_QUOTAS 0x00000020 |
Definition at line 317 of file ntifs_ex.h.
#define FileFsDriverPathInformation (FS_INFORMATION_CLASS(9)) |
Definition at line 391 of file ntifs_ex.h.
#define FileFsFullSizeInformation (FS_INFORMATION_CLASS(7)) |
Definition at line 389 of file ntifs_ex.h.
#define FileFsObjectIdInformation (FS_INFORMATION_CLASS(8)) |
Definition at line 390 of file ntifs_ex.h.
#define FS_LFN_APIS 0x00004000 |
Definition at line 321 of file ntifs_ex.h.
#define FSCTL_GET_COMPRESSION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 15, METHOD_BUFFERED, FILE_ANY_ACCESS) |
Definition at line 258 of file ntifs_ex.h.
#define FSCTL_GET_HFS_INFORMATION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 31, METHOD_BUFFERED, FILE_ANY_ACCESS) |
Definition at line 264 of file ntifs_ex.h.
#define FSCTL_GET_NTFS_FILE_RECORD CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 26, METHOD_BUFFERED, FILE_ANY_ACCESS) |
Definition at line 262 of file ntifs_ex.h.
#define FSCTL_GET_NTFS_VOLUME_DATA CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 25, METHOD_BUFFERED, FILE_ANY_ACCESS) |
Definition at line 261 of file ntifs_ex.h.
#define FSCTL_SET_COMPRESSION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 16, METHOD_BUFFERED, FILE_READ_DATA | FILE_WRITE_DATA) |
Definition at line 259 of file ntifs_ex.h.
#define FSRTL_VOLUME_DISMOUNT 1 |
Definition at line 439 of file ntifs_ex.h.
#define FSRTL_VOLUME_DISMOUNT_FAILED 2 |
Definition at line 440 of file ntifs_ex.h.
#define FSRTL_VOLUME_LOCK 3 |
Definition at line 441 of file ntifs_ex.h.
#define FSRTL_VOLUME_LOCK_FAILED 4 |
Definition at line 442 of file ntifs_ex.h.
#define FSRTL_VOLUME_MOUNT 6 |
Definition at line 444 of file ntifs_ex.h.
#define FSRTL_VOLUME_UNLOCK 5 |
Definition at line 443 of file ntifs_ex.h.
#define FULL_SECURITY_INFORMATION (OWNER_SECURITY_INFORMATION | GROUP_SECURITY_INFORMATION | DACL_SECURITY_INFORMATION | SACL_SECURITY_INFORMATION) |
Definition at line 118 of file ntifs_ex.h.
Definition at line 413 of file ntifs_ex.h.
Definition at line 421 of file ntifs_ex.h.
#define IRP_MN_SURPRISE_REMOVAL 0x17 |
Definition at line 408 of file ntifs_ex.h.
#define IsFileObjectReadOnly | ( | FO | ) | (!((FO)->WriteAccess | (FO)->DeleteAccess)) |
Definition at line 253 of file ntifs_ex.h.
#define VOLUME_IS_DIRTY (0x00000001) |
Definition at line 330 of file ntifs_ex.h.
#define VOLUME_UPGRADE_SCHEDULED (0x00000002) |
Definition at line 331 of file ntifs_ex.h.
#define VPB_REMOVE_PENDING 0x00000008 |
Definition at line 428 of file ntifs_ex.h.
typedef NTSTATUS(* ptrFsRtlNotifyVolumeEvent) (IN PFILE_OBJECT FileObject, IN ULONG EventCode) |
Definition at line 453 of file ntifs_ex.h.
Definition at line 101 of file ntifs_ex.h.
Referenced by UDFGetCallersBuffer(), and UDFQueryDirectory().
NTSYSAPI NTSTATUS NTAPI RtlAbsoluteToSelfRelativeSD | ( | IN PSECURITY_DESCRIPTOR | AbsoluteSecurityDescriptor, |
IN OUT PSECURITY_DESCRIPTOR | SelfRelativeSecurityDescriptor, | ||
IN PULONG | BufferLength | ||
) |
Definition at line 626 of file sd.c.
Referenced by fcb_get_sd(), get_top_level_sd(), IntCreateServiceSecurity(), LsapCreateAccountSd(), LsapCreatePolicySd(), LsapCreateSecretSd(), LsapCreateTokenSd(), MakeSelfRelativeSD(), RtlpSysVolCheckOwnerAndSecurity(), RtlQuerySecurityObject(), SampCreateAccountDomainSD(), SampCreateAliasSD(), SampCreateBuiltinDomainSD(), SampCreateGroupSD(), SampCreateServerSD(), SampCreateUserSD(), ScmCreateDefaultServiceSD(), and TiCreateSecurityDescriptor().
NTSYSAPI NTSTATUS NTAPI RtlAllocateAndInitializeSid | ( | IN PSID_IDENTIFIER_AUTHORITY | IdentifierAuthority, |
IN UCHAR | SubAuthorityCount, | ||
IN ULONG | SubAuthority0, | ||
IN ULONG | SubAuthority1, | ||
IN ULONG | SubAuthority2, | ||
IN ULONG | SubAuthority3, | ||
IN ULONG | SubAuthority4, | ||
IN ULONG | SubAuthority5, | ||
IN ULONG | SubAuthority6, | ||
IN ULONG | SubAuthority7, | ||
OUT PSID * | Sid | ||
) |
Definition at line 290 of file sid.c.
Referenced by AccessCheckEmptyMappingTest(), AccessGrantedMultipleObjectsTests(), AccessGrantedNoDaclTests(), AccessGrantedTests(), AllocateAndInitializeSid(), AppendRidToSid(), BuildTokenGroups(), CreateBaseAcls(), CreateNewDefaultDacl(), CreateNlsDirectorySecurity(), CreateNlsSecurityDescriptor(), CSR_API(), CsrCreateLocalSystemSD(), CsrpConnectToServer(), DenyAccessTests(), DllMain(), GetDosDevicesProtection(), GrantedAccessTests(), K32CreateDBMonMutex(), LogonUserExW(), LsapAppendRidToSid(), LsapCreateAccountSd(), LsapCreatePolicySd(), LsapCreateRandomDomainSid(), LsapCreateSecretSd(), LsapCreateTokenSd(), LsapGetDomainInfo(), MyLogonUser(), QueryTokenPrivilegesAndGroupsTests(), QueryTokenRestrictedSidsTest(), RtlpSysVolCheckOwnerAndSecurity(), RtlpSysVolCreateSecurityDescriptor(), RtlpSysVolTakeOwnership(), SampCreateAccountDomainSD(), SampCreateAliasSD(), SampCreateBuiltinDomainSD(), SampCreateGroupSD(), SampCreateServerSD(), SampCreateUserSD(), and SmpCreateSecurityDescriptors().
NTSYSAPI NTSTATUS NTAPI RtlConvertSidToUnicodeString | ( | OUT PUNICODE_STRING | DestinationString, |
IN PVOID | Sid, | ||
IN BOOLEAN | AllocateDestinationString | ||
) |
Referenced by CheckSid__(), ConvertSidToStringSidW(), DisplayDacl(), GetUserSidStringFromToken(), PrintSid(), QueryTokenOwnerTests(), QueryTokenPrimaryGroupTests(), QueryTokenUserTests(), RegOpenUserClassesRoot(), RtlFormatCurrentUserKeyPath(), SepDumpSdDebugInfo(), SepDumpTokenDebugInfo(), and SepSidInTokenEx().
NTSYSAPI NTSTATUS NTAPI RtlGetGroupSecurityDescriptor | ( | IN PSECURITY_DESCRIPTOR | SecurityDescriptor, |
OUT PSID * | Group, | ||
OUT PBOOLEAN | GroupDefaulted | ||
) |
Definition at line 280 of file sd.c.
Referenced by _test_group(), CheckDirectorySecurity__(), CheckKeySecurity__(), GetSecurityDescriptorGroup(), RtlpSetSecurityObject(), and RtlQuerySecurityObject().
NTSYSAPI NTSTATUS NTAPI RtlGetOwnerSecurityDescriptor | ( | IN PSECURITY_DESCRIPTOR | SecurityDescriptor, |
OUT PSID * | Owner, | ||
OUT PBOOLEAN | OwnerDefaulted | ||
) |
Definition at line 257 of file sd.c.
Referenced by CheckDirectorySecurity__(), CheckKeySecurity__(), create_directory_fcb(), create_subvol(), fcb_get_new_sd(), GetSecurityDescriptorOwner(), mknod(), RtlpSetSecurityObject(), RtlpSysVolCheckOwnerAndSecurity(), and RtlQuerySecurityObject().
NTSYSAPI NTSTATUS NTAPI RtlInitializeSid | ( | IN OUT PSID | Sid, |
IN PSID_IDENTIFIER_AUTHORITY | IdentifierAuthority, | ||
IN UCHAR | SubAuthorityCount | ||
) |
Referenced by BuildSidFromSidAndRid(), CmpHiveRootSecurityDescriptor(), CopySidFromSidAndRid(), CreateDomainSidFromAccountSid(), CreateSidFromSidAndRid(), GetAllowedWorldAce(), GetBuiltinDomainSid(), GetNtAuthorityDomainSid(), InitializeSid(), LsapAddAuthorityToDomainsList(), LsapCopySid(), LsapCreateSid(), RtlDefaultNpAcl(), SampInitializeSAM(), ScAllocateAndInitializeSid(), ScmCreateSids(), SepInitSecurityIDs(), and START_TEST().
NTSYSAPI NTSTATUS NTAPI RtlSetGroupSecurityDescriptor | ( | IN OUT PSECURITY_DESCRIPTOR | SecurityDescriptor, |
IN PSID | Group, | ||
IN BOOLEAN | GroupDefaulted | ||
) |
Definition at line 410 of file sd.c.
Referenced by AccessCheckEmptyMappingTest(), AccessGrantedMultipleObjectsTests(), AccessGrantedNoDaclTests(), AccessGrantedTests(), CheckTokenMembership(), DenyAccessTests(), fcb_get_sd(), get_top_level_sd(), GrantedAccessTests(), IntCreateServiceSecurity(), LsapCreateAccountSd(), LsapCreatePolicySd(), LsapCreateSecretSd(), ParamsValidationTests(), ParamValidationNoObjsList(), RtlQuerySecurityObject(), SampCreateAccountDomainSD(), SampCreateAliasSD(), SampCreateBuiltinDomainSD(), SampCreateGroupSD(), SampCreateServerSD(), SampCreateUserSD(), ScmCreateDefaultSD(), ScmCreatePipeSD(), SetSecurityDescriptorGroup(), and TiCreateSecurityDescriptor().
NTSYSAPI NTSTATUS NTAPI RtlSetSaclSecurityDescriptor | ( | IN OUT PSECURITY_DESCRIPTOR | SecurityDescriptor, |
IN BOOLEAN | SaclPresent, | ||
IN PACL | Sacl, | ||
IN BOOLEAN | SaclDefaulted | ||
) |
Definition at line 342 of file sd.c.
Referenced by RtlQuerySecurityObject(), SampCreateAccountDomainSD(), SampCreateAliasSD(), SampCreateBuiltinDomainSD(), SampCreateGroupSD(), SampCreateServerSD(), SampCreateUserSD(), ScmCreateDefaultSD(), SetSecurityDescriptorSacl(), and TestSeAssignSecurity().
Definition at line 104 of file sid.c.
Referenced by AppendRidToSid(), BuildSidFromSidAndRid(), CopySidFromSidAndRid(), CreateDomainSidFromAccountSid(), CreateSidFromSidAndRid(), GetSidSubAuthorityCount(), LsapAppendRidToSid(), LsapCopySid(), SampGetRidFromSid(), and ScDomainIdToSid().
NTSYSAPI NTSTATUS NTAPI ZwDeviceIoControlFile | ( | IN HANDLE | DeviceHandle, |
IN HANDLE Event | OPTIONAL, | ||
IN PIO_APC_ROUTINE UserApcRoutine | OPTIONAL, | ||
IN PVOID UserApcContext | OPTIONAL, | ||
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
IN ULONG | IoControlCode, | ||
IN PVOID | InputBuffer, | ||
IN ULONG | InputBufferSize, | ||
OUT PVOID | OutputBuffer, | ||
IN ULONG | OutputBufferSize | ||
) |
Referenced by IntKeyboardGetIndicatorTrans(), IntKeyboardUpdateLeds(), IopStartRamdisk(), UDFDismountDevice(), and UserInitKeyboard().
NTSYSAPI NTSTATUS NTAPI ZwFsControlFile | ( | IN HANDLE | DeviceHandle, |
IN HANDLE Event | OPTIONAL, | ||
IN PIO_APC_ROUTINE ApcRoutine | OPTIONAL, | ||
IN PVOID ApcContext | OPTIONAL, | ||
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
IN ULONG | IoControlCode, | ||
IN PVOID | InputBuffer, | ||
IN ULONG | InputBufferSize, | ||
OUT PVOID | OutputBuffer, | ||
IN ULONG | OutputBufferSize | ||
) |
Referenced by CmpOpenHiveFiles(), MountMgrValidateBackPointer(), NpControlPipe(), QueryVolumeName(), TestSymlinks(), and UDFDismountDevice().
NTSYSAPI NTSTATUS NTAPI ZwQueryVolumeInformationFile | ( | IN HANDLE | FileHandle, |
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
OUT PVOID | FsInformation, | ||
IN ULONG | Length, | ||
IN FS_INFORMATION_CLASS | FsInformationClass | ||
) |
Referenced by CmpInitializeHive(), CmpOpenHiveFiles(), MountMgrVolumeMountPointChanged(), TestVolumeInfo(), and UDFDismountDevice().