// d3dumddi.h
PFND3DDDI_DESTROYLIGHT Pfnd3dddiDestroylight;
HRESULT Pfnd3dddiDestroylight(
HANDLE hDevice,
const D3DDDIARG_DESTROYLIGHT *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DestroyLight function deactivates a light source.
hDeviceA handle to the display device (graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDIARG_DESTROYLIGHT structure that describes how to set the light source.
DestroyLight returns S_OK or an appropriate error result if the light source is not successfully deactivated.