ReactOS 0.4.16-dev-533-gc7d1aa3
|
Go to the source code of this file.
Functions | |
_Must_inspect_result_ | _IRQL_requires_max_ (PASSIVE_LEVEL) WDFAPI NTSTATUS WDFEXPORT(WdfRequestImpersonate)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals |
Queries information details about a security descriptor. | |
FxObjectHandleGetPtrAndGlobals (GetFxDriverGlobals(DriverGlobals), Request, FX_TYPE_REQUEST,(PVOID *)&pRequest, &pFxDriverGlobals) | |
if (VALID_IMPERSONATION_LEVEL(ImpersonationLevel)==FALSE) | |
if (EvtRequestImpersonate==NULL) | |
if (!NT_SUCCESS(status)) | |
return irp | GetRequestorProcessId () |
return (pRequest->GetFxIrp() ->GetIoIrp() ->IsDriverCreated() ? TRUE :FALSE) | |
pRequest | GetFxIrp () -> GetIoIrp() ->SetUserModeDriverInitiatedIo(IsUserModeDriverInitiated) |
return (pRequest->GetFxIrp() ->GetIoIrp() ->GetUserModeDriverInitiatedIo() ? TRUE :FALSE) | |
FxPointerNotNull (pFxDriverGlobals, ActivityId) | |
if (pRequest->GetFxIrp() ->GetIoIrp() ->IsActivityIdSet()==FALSE) | |
return() | WDF_DEVICE_IO_TYPE (pRequest->GetFxIrp() ->GetIoIrp() ->GetTransferMode()) |
Variables | |
_Must_inspect_result_ _In_ WDFREQUEST | Request |
_Must_inspect_result_ _In_ WDFREQUEST _In_ SECURITY_IMPERSONATION_LEVEL | ImpersonationLevel |
_Must_inspect_result_ _In_ WDFREQUEST _In_ SECURITY_IMPERSONATION_LEVEL _In_ PFN_WDF_REQUEST_IMPERSONATE | EvtRequestImpersonate |
_Must_inspect_result_ _In_ WDFREQUEST _In_ SECURITY_IMPERSONATION_LEVEL _In_ PFN_WDF_REQUEST_IMPERSONATE _In_opt_ PVOID | Context |
NTSTATUS | status |
FxRequest * | pRequest |
MdIrp | irp |
_In_ WDFREQUEST _In_ BOOLEAN | IsUserModeDriverInitiated |
_In_ WDFREQUEST _In_ LPGUID | ActivityId |
_Must_inspect_result_ _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.
FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
Request | , | ||
FX_TYPE_REQUEST | , | ||
(PVOID *)& | pRequest, | ||
& | pFxDriverGlobals | ||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
ActivityId | |||
) |
pRequest GetFxIrp | ( | ) | -> GetIoIrp() ->SetUserModeDriverInitiatedIo(IsUserModeDriverInitiated) |
Referenced by FX_VF_METHOD().
if | ( | ! | NT_SUCCESSstatus | ) |
Definition at line 164 of file fxrequestapium.cpp.
if | ( | EvtRequestImpersonate | = = NULL | ) |
Definition at line 93 of file fxrequestapium.cpp.
Definition at line 393 of file fxrequestapium.cpp.
if | ( | VALID_IMPERSONATION_LEVEL(ImpersonationLevel) | = = FALSE | ) |
Definition at line 84 of file fxrequestapium.cpp.
return() WDF_DEVICE_IO_TYPE | ( | pRequest-> | GetFxIrp) ->GetIoIrp() ->GetTransferMode( | ) |
* ActivityId |
Definition at line 315 of file fxrequestapium.cpp.
_Must_inspect_result_ _In_ WDFREQUEST _In_ SECURITY_IMPERSONATION_LEVEL _In_ PFN_WDF_REQUEST_IMPERSONATE _In_opt_ PVOID Context |
Definition at line 43 of file fxrequestapium.cpp.
_Must_inspect_result_ _In_ WDFREQUEST _In_ SECURITY_IMPERSONATION_LEVEL _In_ PFN_WDF_REQUEST_IMPERSONATE EvtRequestImpersonate |
Definition at line 41 of file fxrequestapium.cpp.
Referenced by FxRequest::Impersonate().
_Must_inspect_result_ _In_ WDFREQUEST _In_ SECURITY_IMPERSONATION_LEVEL ImpersonationLevel |
Definition at line 39 of file fxrequestapium.cpp.
MdIrp irp |
Definition at line 146 of file fxrequestapium.cpp.
Definition at line 226 of file fxrequestapium.cpp.
FxRequest* pRequest |
Definition at line 73 of file fxrequestapium.cpp.
Definition at line 37 of file fxrequestapium.cpp.
Definition at line 72 of file fxrequestapium.cpp.
Referenced by if().