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