// d3d12umddi.h
PFND3D12DDI_CALCPRIVATEDESERIALIZEDOBJECTSIZE Pfnd3d12ddiCalcprivatedeserializedobjectsize;
SIZE_T Pfnd3d12ddiCalcprivatedeserializedobjectsize(
D3D12DDI_HDEVICE HDEVICE,
D3D12DDI_HANDLETYPE HandleType,
SIZE_T BlobSize,
const UINT *pBlob
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
CalcPrivateDeserializedObjectSize is called to get the size of the private driver data that the runtime should allocate for the driver to instantiate an object from serialized form.
HDEVICEDevice handle.
HandleTypeType of object being loaded.
BlobSizeSize of serialized blob.
pBlobSerialized blob.
Returns SIZE_T.
//Declaration
PFND3D12DDI_CALCPRIVATEDESERIALIZEDOBJECTSIZE Pfnd3d12ddiCalcprivatedeserializedobjectsize;
// Definition
SIZE_T Pfnd3d12ddiCalcprivatedeserializedobjectsize
(
D3D12DDI_HDEVICE HDEVICE
D3D12DDI_HANDLETYPE HandleType
SIZE_T BlobSize
const UINT *pBlob
)
{...}