UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:d3dumddi.PFND3DDDI_CREATELIGHT |
PFND3DDDI_CREATELIGHT (d3dumddi.h) |
The CreateLight function creates a light source. |
display\createlight.htm |
display |
05/10/2018 |
|
CreateLight, CreateLight callback function [Display Devices], PFND3DDDI_CREATELIGHT, PFND3DDDI_CREATELIGHT callback, UserModeDisplayDriver_Functions_c6b9e247-5a6b-4e90-bcbd-bc02708ca555.xml, d3dumddi/CreateLight, display.createlight |
d3dumddi.h |
D3dumddi.h |
Desktop |
Available in Windows Vista and later versions of the Windows operating systems. |
Windows |
|
|
|
|
|
The CreateLight function creates a light source.
A handle to the display device (graphics context).
pData [in]
A pointer to a D3DDDIARG_CREATELIGHT structure that contains the index into the light array.
CreateLight should return S_OK or an appropriate error result if it cannot successfully create a light source.
The user-mode display driver should enlarge its light array as necessary to accommodate at least as many light sources as specified by the Index member in D3DDDIARG_CREATELIGHT.