Skip to content

Latest commit

 

History

History
102 lines (75 loc) · 3.42 KB

nf-d3d9-idirect3dvolume9-lockbox.md

File metadata and controls

102 lines (75 loc) · 3.42 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d3d9.IDirect3DVolume9.LockBox
IDirect3DVolume9::LockBox (d3d9.h)
The IDirect3DVolume9::LockBox (d3d9.h) method locks a box on a volume resource.
12716af9-b250-6fc9-e8ab-a4053a1ce97a
IDirect3DVolume9 interface [Direct3D 9]
LockBox method
IDirect3DVolume9.LockBox
IDirect3DVolume9::LockBox
LockBox
LockBox method [Direct3D 9]
LockBox method [Direct3D 9]
IDirect3DVolume9 interface
d3d9helper/IDirect3DVolume9::LockBox
direct3d9.idirect3dvolume9__lockbox
direct3d9\idirect3dvolume9__lockbox.htm
direct3d9
VS|directx_sdk|~\idirect3dvolume9__lockbox.htm
08/11/2022
12716af9-b250-6fc9-e8ab-a4053a1ce97a, IDirect3DVolume9 interface [Direct3D 9],LockBox method, IDirect3DVolume9.LockBox, IDirect3DVolume9::LockBox, LockBox, LockBox method [Direct3D 9], LockBox method [Direct3D 9],IDirect3DVolume9 interface, d3d9helper/IDirect3DVolume9::LockBox, direct3d9.idirect3dvolume9__lockbox
d3d9.h
D3D9.h
Windows
D3D9.lib
Windows
19H1
IDirect3DVolume9::LockBox
d3d9/IDirect3DVolume9::LockBox
c++
APIRef
kbSyntax
COM
D3D9.lib
D3D9.dll
IDirect3DVolume9.LockBox

IDirect3DVolume9::LockBox

-description

Locks a box on a volume resource.

-parameters

-param pLockedVolume [out]

Type: D3DLOCKED_BOX*

Pointer to a D3DLOCKED_BOX structure, describing the locked region.

-param pBox [in]

Type: const D3DBOX*

Pointer to a box to lock. Specified by a pointer to a D3DBOX structure. Specifying NULL for this parameter locks the entire volume.

-param Flags [in]

Type: DWORD

Combination of zero or more locking flags that describe the type of lock to perform. For this method, the valid flags are:

  • D3DLOCK_DISCARD
  • D3DLOCK_NO_DIRTY_UPDATE
  • D3DLOCK_NOSYSLOCK
  • D3DLOCK_READONLY
For a description of the flags, see D3DLOCK.

-returns

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.

-remarks

For performance reasons, dirty regions are only recorded for level zero of a texture. Dirty regions are automatically recorded when IDirect3DVolume9::LockBox is called without D3DLOCK_NO_DIRTY_UPDATE or D3DLOCK_READONLY. See IDirect3DDevice9::UpdateTexture for more information.

-see-also

IDirect3DVolume9

IDirect3DVolume9::UnlockBox