IDXGIObject::GetPrivateData method
Get a pointer to the object's data.
Syntax
HRESULT GetPrivateData( [in] REFGUID Name, [in, out] UINT *pDataSize, [out] void *pData );
Parameters
- Name [in]
-
Type: REFGUID
A GUID identifying the data.
- pDataSize [in, out]
-
Type: UINT*
The size of the data.
- pData [out]
-
Type: void*
Pointer to the data.
Return value
Type: HRESULT
Returns one of the following DXGI_ERROR.
Remarks
If the data returned is a pointer to an IUnknown, or one of its derivative classes, previously set by IDXGIObject::SetPrivateDataInterface, then ::Release() must be called on the pointer before the pointer is freed to decrement the reference count.
Windows Phone 8: This API is supported.
Requirements
|
Header |
|
|---|---|
|
Library |
|
See also
Send comments about this topic to Microsoft
Build date: 11/22/2012