Syntax
Parameters
guid [in]Type: const GUID & The GUID that is associated with the data. pDataSize [in, out]
Type: UINT * A pointer to a variable that on input contains the size, in bytes, of the buffer that pData points to, and on output contains the size, in bytes, of the amount of data that GetPrivateData retrieved. pData [out, optional]
Type: void * A pointer to a memory block that receives the data from the device object if pDataSize points to a value that specifies a buffer large enough to hold the data.
Return value
Type: HRESULT This method returns one of the Direct3D 12 Return Codes.Remarks
If the data returned is a pointer to an IUnknown, or one of its derivative classes, which was previously set by SetPrivateDataInterface, that interface will have its reference count incremented before the private data is returned.Requirements
Header: d3d12_xs.h or d3d12_x.hLibrary: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family
