// d3d10umddi.h
PFND3D10DDI_CLOSEADAPTER Pfnd3d10ddiCloseadapter;
HRESULT Pfnd3d10ddiCloseadapter(
D3D10DDI_HADAPTER unnamedParam1
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The CloseAdapter(D3D10) function releases resources for a graphics adapter object.
unnamedParam1hAdapter [in]
A handle to the graphics adapter object that was created with the OpenAdapter10 function.
CloseAdapter(D3D10) returns S_OK if the operation succeeds. Otherwise, this function returns an appropriate error result.
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.