ReactOS
0.4.15-dev-4853-g3a72a52
|
Go to the source code of this file.
_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 64 of file Messaging.c.
_In_ ULONG _In_ KEY_VALUE_INFORMATION_CLASS _Out_writes_bytes_opt_ | ( | Length | ) |
_Post_satisfies_ | ( | ) |
_Post_satisfies_ | ( | return<= | 0 | ) |
NTSYSCALLAPI NTSTATUS NTAPI NtDeleteKey | ( | _In_ HANDLE | KeyHandle | ) |
NTSYSCALLAPI NTSTATUS NTAPI NtDeleteValueKey | ( | _In_ HANDLE | KeyHandle, |
_In_ PUNICODE_STRING | ValueName | ||
) |
NTSYSCALLAPI NTSTATUS NTAPI NtEnumerateKey | ( | _In_ HANDLE | KeyHandle, |
_In_ ULONG | Index, | ||
_In_ KEY_INFORMATION_CLASS | KeyInformationClass, | ||
_Out_bytecap_(Length) PVOID | KeyInformation, | ||
_In_ ULONG | Length, | ||
_Out_ PULONG | ResultLength | ||
) |
NTSYSCALLAPI NTSTATUS NTAPI NtFlushKey | ( | _In_ HANDLE | KeyHandle | ) |
NTSYSCALLAPI NTSTATUS NTAPI NtGetPlugPlayEvent | ( | _In_ ULONG | Reserved1, |
_In_ ULONG | Reserved2, | ||
_Out_ PPLUGPLAY_EVENT_BLOCK | Buffer, | ||
_In_ ULONG | BufferSize | ||
) |
NTSYSCALLAPI NTSTATUS NTAPI NtInitializeRegistry | ( | _In_ USHORT | Flag | ) |
NTSYSCALLAPI NTSTATUS NTAPI NtLoadKey | ( | _In_ POBJECT_ATTRIBUTES | KeyObjectAttributes, |
_In_ POBJECT_ATTRIBUTES | FileObjectAttributes | ||
) |
NTSYSCALLAPI NTSTATUS NTAPI NtLoadKey2 | ( | _In_ POBJECT_ATTRIBUTES | KeyObjectAttributes, |
_In_ POBJECT_ATTRIBUTES | FileObjectAttributes, | ||
_In_ ULONG | Flags | ||
) |
NTSTATUS NTAPI NtLoadKeyEx | ( | _In_ POBJECT_ATTRIBUTES | TargetKey, |
_In_ POBJECT_ATTRIBUTES | SourceFile, | ||
_In_ ULONG | Flags, | ||
_In_ HANDLE | TrustClassKey | ||
) |
NTSYSCALLAPI NTSTATUS NTAPI NtNotifyChangeKey | ( | _In_ HANDLE | KeyHandle, |
_In_ HANDLE | Event, | ||
_In_opt_ PIO_APC_ROUTINE | ApcRoutine, | ||
_In_opt_ PVOID | ApcContext, | ||
_Out_ PIO_STATUS_BLOCK | IoStatusBlock, | ||
_In_ ULONG | CompletionFilter, | ||
_In_ BOOLEAN | Asynchroneous, | ||
_Out_bytecap_(Length) PVOID | ChangeBuffer, | ||
_In_ ULONG | Length, | ||
_In_ BOOLEAN | WatchSubtree | ||
) |
__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 | ||
) |
NTSYSCALLAPI NTSTATUS NTAPI NtOpenKey | ( | _Out_ PHANDLE | KeyHandle, |
_In_ ACCESS_MASK | DesiredAccess, | ||
_In_ POBJECT_ATTRIBUTES | ObjectAttributes | ||
) |
NTSYSCALLAPI NTSTATUS NTAPI NtPlugPlayControl | ( | _In_ PLUGPLAY_CONTROL_CLASS | PlugPlayControlClass, |
_Inout_ PVOID | Buffer, | ||
_In_ ULONG | BufferSize | ||
) |
NTSYSCALLAPI NTSTATUS NTAPI NtQueryKey | ( | _In_ HANDLE | KeyHandle, |
_In_ KEY_INFORMATION_CLASS | KeyInformationClass, | ||
_Out_bytecap_(Length) PVOID | KeyInformation, | ||
_In_ ULONG | Length, | ||
_Out_ PULONG | ResultLength | ||
) |
__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 | ||
) |
NTSTATUS NTAPI NtQueryOpenSubKeysEx | ( | _In_ POBJECT_ATTRIBUTES | TargetKey, |
_In_ ULONG | BufferLength, | ||
_In_ PVOID | Buffer, | ||
_In_ PULONG | RequiredSize | ||
) |
NTSYSCALLAPI NTSTATUS NTAPI NtRenameKey | ( | _In_ HANDLE | KeyHandle, |
_In_ PUNICODE_STRING | NewName | ||
) |
NTSYSCALLAPI NTSTATUS NTAPI NtReplaceKey | ( | _In_ POBJECT_ATTRIBUTES | ObjectAttributes, |
_In_ HANDLE | Key, | ||
_In_ POBJECT_ATTRIBUTES | ReplacedObjectAttributes | ||
) |
NTSYSCALLAPI NTSTATUS NTAPI NtRestoreKey | ( | _In_ HANDLE | KeyHandle, |
_In_ HANDLE | FileHandle, | ||
_In_ ULONG | RestoreFlags | ||
) |
NTSYSCALLAPI NTSTATUS NTAPI NtSaveKeyEx | ( | _In_ HANDLE | KeyHandle, |
_In_ HANDLE | FileHandle, | ||
_In_ ULONG | Flags | ||
) |
NTSTATUS NTAPI NtSaveMergedKeys | ( | _In_ HANDLE | HighPrecedenceKeyHandle, |
_In_ HANDLE | LowPrecedenceKeyHandle, | ||
_In_ HANDLE | FileHandle | ||
) |
__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 | ||
) |
NTSYSCALLAPI NTSTATUS NTAPI NtSetValueKey | ( | _In_ HANDLE | KeyHandle, |
_In_ PUNICODE_STRING | ValueName, | ||
_In_opt_ ULONG | TitleIndex, | ||
_In_ ULONG | Type, | ||
_In_ PVOID | Data, | ||
_In_ ULONG | DataSize | ||
) |
NTSYSCALLAPI NTSTATUS NTAPI NtUnloadKey | ( | _In_ POBJECT_ATTRIBUTES | KeyObjectAttributes | ) |
Referenced by NtInitializeRegistry().
NTSYSAPI NTSTATUS NTAPI ZwUnloadKey | ( | _In_ POBJECT_ATTRIBUTES | KeyObjectAttributes | ) |
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Reserved_ ULONG _In_opt_ PUNICODE_STRING _In_ ULONG _In_ HANDLE _Out_opt_ PULONG Disposition |
Definition at line 50 of file cmfuncs.h.
Referenced by AddHotkeySettings(), AddKbLayoutsToRegistry(), CM_Open_Class_Key_ExA(), CM_Open_Class_Key_ExW(), CM_Open_Class_KeyA(), CM_Open_Class_KeyW(), CM_Open_DevNode_Key(), CM_Open_DevNode_Key_Ex(), CmBattSystemControl(), CmpCreateControlSet(), CmpCreateHardwareProfile(), CmpInitializeHardwareConfiguration(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpLinkKeyToHive(), CreateAppPathRegKey(), CreateNestedKey(), CreateRegAppPath(), CreateRegKey(), CreateSymLinkKey(), DECLARE_INTERFACE_(), DeleteSymLinkKey(), Ext2SupersedeOrOverWriteFile(), HalpOpenRegistryKey(), InPortWmi(), InstallDriver(), IoCreateFile(), IoCreateFileSpecifyDeviceObjectHint(), IopCheckBackupRestorePrivilege(), IopCreateFile(), IopCreateRegistryKeyEx(), IopInitializePlugPlayServices(), IopSetServiceEnumData(), IopUpdateResourceMap(), IoReportHalResourceUsage(), LdrLockLoaderLock(), LsapRegCreateKey(), NpCreateExistingNamedPipe(), NpCreateNewNamedPipe(), NpCreatePipeEx(), NpFsdCreateNamedPipe(), NpOpenPipeEx(), NtCreateKey(), PcNewRegistryKey(), Phase1InitializationDiscard(), RegInitializeRegistry(), RtlDispatchException(), RtlInitializeRXact(), RtlpNtCreateKey(), RtlpUnwindInternal(), RtlUnwind(), RXactpOpenTargetKey(), RxCollapseOrCreateSrvOpen(), SampRegCreateKey(), SetActiveComputerNameToRegistry(), SETUP_CreateClassKey(), SETUPDI_CreateDrvKey(), SmpDeletePagingFile(), START_TEST(), and Test_CreateOpenKey().
_In_ PUNICODE_STRING _In_ KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass |
Definition at line 93 of file cmfuncs.h.
Referenced by CmEnumerateValueKey(), CmpQueryKeyValueData(), CmQueryValueKey(), DECLARE_INTERFACE_(), Mx::MxQueryValueKey(), NtEnumerateValueKey(), and NtQueryValueKey().
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES ObjectAttributes |
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Reserved_ ULONG TitleIndex |