PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074 callback function (d3d12umddi.h)
Used to calculate the size of a protected resource session.
Syntax
PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074 Pfnd3d12ddiCalcprivateprotectedresourcesessionsize0074;
SIZE_T Pfnd3d12ddiCalcprivateprotectedresourcesessionsize0074(
D3D12DDI_HDEVICE hDrvDevice,
const D3D12DDIARG_CREATE_PROTECTED_RESOURCE_SESSION_0074 *pArgs
)
{...}
Parameters
hDrvDevice
Handle to the hardware device being processed.
pArgs
Pointer to a D3D12DDIARG_CREATE_PROTECTED_RESOURCE_SESSION_0074 structure with the arguments used to open a protected resource session.
Return value
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Target Platform | Windows |
Header | d3d12umddi.h |