Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 2.25 KB

nc-d3dumddi-pfnd3dddi_createlight.md

File metadata and controls

77 lines (57 loc) · 2.25 KB
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
PFND3DDDI_CREATELIGHT callback function
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
PFND3DDDI_CREATELIGHT
d3dumddi/PFND3DDDI_CREATELIGHT
APIRef
kbSyntax
UserDefined
d3dumddi.h
PFND3DDDI_CREATELIGHT

PFND3DDDI_CREATELIGHT callback function

-description

The CreateLight function creates a light source.

-parameters

-param hDevice

A handle to the display device (graphics context).

-param unnamedParam2

pData [in]

A pointer to a D3DDDIARG_CREATELIGHT structure that contains the index into the light array.

-returns

CreateLight should return S_OK or an appropriate error result if it cannot successfully create a light source.

-remarks

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.

-see-also

D3DDDIARG_CREATELIGHT

D3DDDI_DEVICEFUNCS