IDirect3DResource9::FreePrivateData method

Frees the specified private data associated with this resource.

Syntax


HRESULT FreePrivateData(
  [in]  REFGUID refguid
);

Parameters

refguid [in]

Type: REFGUID

Reference to the globally unique identifier that identifies the private data to free.

Return value

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL, D3DERR_NOTFOUND.

Remarks

Direct3D calls this method automatically when a resource is released.

Requirements

Header

D3D9.h

Library

D3D9.lib

 

 

Community Additions

ADD
Show:
© 2014 Microsoft