// d3dumddi.h
PFND3DDDI_DELETEVERTEXSHADERDECL Pfnd3dddiDeletevertexshaderdecl;
HRESULT Pfnd3dddiDeletevertexshaderdecl(
HANDLE hDevice,
HANDLE unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DeleteVertexShaderDecl function cleans up driver-side resources that are associated with the vertex shader declaration.
hDeviceA handle to the display device (graphics context).
unnamedParam2hShaderHandle [in]
A handle to the vertex shader declaration object.
DeleteVertexShaderDecl returns S_OK or an appropriate error result if the vertex shader declaration object is not successfully cleaned up.
The DeleteVertexShaderDecl function notifies the driver about the deletion of the vertex shader declaration object that the CreateVertexShaderDecl function created. The driver can then clean up any driver-side resources that are associated with the vertex shader declaration.