d3d9.dllReleaseGH
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXPRTBuffer::ReleaseGH Method


Unassociates an attached ID3DXTextureGutterHelper object with the ID3DXPRTBuffer object.

Syntax

HRESULT ReleaseGH(VOID);

Return Value

If the method succeeds, the return value is D3D_OK.



Remarks

This method releases the pointer to the ID3DXTextureGutterHelper interface.

You must ensure that the number of ID3DXPRTBuffer::AttachGH calls matches the number of ID3DXPRTBuffer::ReleaseGH calls. After calling ID3DXPRTBuffer::ReleaseGH, the pGH pointer returned by ID3DXPRTBuffer::AttachGH should no longer be used.

See Also

ID3DXPRTBuffer::AttachGH


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.