ID3DXFileData::Unlock

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

BOOL Unlock();

Parameters

None.

Return Values

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 Unlock, the ppData pointer returned by ID3DXFileData::Lock should no longer be used.

Requirements

Header: Declared in D3dx9xof.h.