This topic has not yet been rated - Rate this topic

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

DXGI.h

Library

DXGI.lib

See also

IDXGIObject
DXGI Interfaces

 

 

Send comments about this topic to Microsoft

Build date: 11/22/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.