ID3DXFileData::Unlock method

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

Syntax

BOOL Unlock();

Parameters

This method has no parameters.

Return value

Type: BOOL

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

Requirement Value
Header
D3DX9Xof.h
Library
D3dx9.lib

See also

ID3DXFileData