// d3d12umddi.h
PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0074 Pfnd3d12ddiCalcprivateprotectedresourcesessionsize0074;
SIZE_T Pfnd3d12ddiCalcprivateprotectedresourcesessionsize0074(
D3D12DDI_HDEVICE hDrvDevice,
const D3D12DDIARG_CREATE_PROTECTED_RESOURCE_SESSION_0074 *pArgs
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Used to calculate the size of a protected resource session.
hDrvDeviceHandle to the hardware device being processed.
pArgsPointer to a D3D12DDIARG_CREATE_PROTECTED_RESOURCE_SESSION_0074 structure with the arguments used to open a protected resource session.
Returns the size of the session in bytes.
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.
D3D12DDIARG_CREATE_PROTECTED_RESOURCE_SESSION_0074
PFND3D12DDI_CREATEPROTECTEDRESOURCESESSION_0074