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

ID3DXFileData::Unlock Method


Ends the lifespan of the ppData pointer returned by ID3DXFileData::Lock.

Syntax

BOOL Unlock(VOID);

Return Value

The return value is S_OK.



Remarks

You must ensure that the number of ID3DXFileData::Lock calls matches the number of ID3DXFileData::Unlock calls. After calling ID3DXFileData::Unlock, the ppData pointer returned by ID3DXFileData::Lock should no longer be used.



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