D3DKMTDestroyHwContext function (d3dkmthk.h)

Used to destroy a hardware context.

Syntax

NTSTATUS D3DKMTDestroyHwContext(
  [in] const D3DKMT_DESTROYHWCONTEXT *unnamedParam1
);

Parameters

[in] unnamedParam1

A pointer to a D3DKMT_DESTROYHWCONTEXT structure holding the information needed to destroy a hardware context.

Return value

The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method might return an appropriate NTSTATUS error code.

Requirements

Requirement Value
Target Platform Windows
Header d3dkmthk.h
Library Gdi32.lib
DLL Gdi32.dll

See also

D3DKMT_DESTROYHWCONTEXT