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