PFND3D10DDI_CLOSEADAPTER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

PFND3D10DDI_CLOSEADAPTER Pfnd3d10ddiCloseadapter;

HRESULT Pfnd3d10ddiCloseadapter(
  D3D10DDI_HADAPTER unnamedParam1
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d10umddi-pfnd3d10ddi_closeadapter)

PFND3D10DDI_CLOSEADAPTER callback function

Description

The CloseAdapter(D3D10) function releases resources for a graphics adapter object.

Parameters

unnamedParam1

hAdapter [in]

A handle to the graphics adapter object that was created with the OpenAdapter10 function.

Return value

CloseAdapter(D3D10) returns S_OK if the operation succeeds. Otherwise, this function returns an appropriate error result.

Remarks

The user-mode display driver's CloseAdapter(D3D10) function should free all of the resources that the driver allocated for the graphics adapter object.

Before CloseAdapter(D3D10) closes the graphics adapter object, all of the display devices that were created by using the graphics adapter object in calls to the user-mode display driver's CreateDevice(D3D10) function will be destroyed in calls to the driver's DestroyDevice(D3D10) function.

See also

CreateDevice(D3D10)

D3D10DDI_ADAPTERFUNCS

DestroyDevice(D3D10)

OpenAdapter10