Skip to content

Latest commit

 

History

History
73 lines (55 loc) · 2.57 KB

nc-d3d12umddi-pfnd3d12ddi_calcprivateprotectedresourcesessionsize_0074.md

File metadata and controls

73 lines (55 loc) · 2.57 KB
UID title description ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3d12umddi.PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074
PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074 (d3d12umddi.h)
The PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074 callback function calculates the size of a protected resource session.
03/24/2020
PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074 callback function
PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074, PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074 entry, PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074 entry point [Display Devices], d3d12umddi/PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074, display.pfnd3d12ddi_calcprivateprotectedresourcesessionsize_0074
d3d12umddi.h
Windows
Windows 10, version 2004
Windows
display
PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074
d3d12umddi/PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074
APIRef
kbSyntax
UserDefined
d3d12umddi.h
PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074

PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074 callback function

-description

Used to calculate the size of a protected resource session.

-parameters

-param hDrvDevice

Handle to the hardware device being processed.

-param pArgs

Pointer to a D3D12DDIARG_CREATE_PROTECTED_RESOURCE_SESSION_0074 structure with the arguments used to open a protected resource session.

-returns

Returns the size of the session in bytes.

-remarks

The D3D runtime allocates memory for storing the driver's CPU object representing the protected resource session. This method is used to calculate the driver object size.

See the Protected Resources Specification for more information.

-see-also

D3D12DDIARG_CREATE_PROTECTED_RESOURCE_SESSION_0074

PFND3D12DDI_CREATEPROTECTEDRESOURCESESSION_0074