Skip to content

Latest commit

 

History

History
66 lines (41 loc) · 1.25 KB

id3dxfiledata--unlock.md

File metadata and controls

66 lines (41 loc) · 1.25 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Ends the lifespan of the ppData pointer returned by ID3DXFileData::Lock.
6032ea1f-3c73-4157-ba3f-41ce9e73d64c
ID3DXFileData::Unlock method (D3DX9Xof.h)
reference
05/31/2018
APIRef
kbSyntax
ID3DXFileData.Unlock
COM
D3dx9.lib
D3dx9.dll

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