PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0030 callback function (d3d12umddi.h)
Used to calculate the size of a protected resource session.
Syntax
PFND3D12DDI_CALCPRIVATEPROTECTEDRESOURCESESSIONSIZE_0030 Pfnd3d12ddiCalcprivateprotectedresourcesessionsize0030;
SIZE_T Pfnd3d12ddiCalcprivateprotectedresourcesessionsize0030(
D3D12DDI_HDEVICE hDrvDevice,
const D3D12DDIARG_CREATE_PROTECTED_RESOURCE_SESSION_0030 *pArgs
)
{...}
Parameters
hDrvDevice
The hardware device being processed.
pArgs
The arguments used to open a protected resource session.
Return value
Returns the size of the session in bytes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Target Platform | Windows |
Header | d3d12umddi.h |