ID3D11VideoDevice::SetPrivateData method (d3d11.h)
Sets private data on the video device and associates that data with a GUID.
Syntax
HRESULT SetPrivateData(
[in] REFGUID guid,
[in] UINT DataSize,
[in] const void *pData
);
Parameters
[in] guid
The GUID associated with the data.
[in] DataSize
The size of the data, in bytes.
[in] pData
A pointer to the data.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | d3d11.h |