Skip to content

Latest commit

 

History

History
112 lines (77 loc) · 4.32 KB

ns-d3dhal-_d3dhal_callbacks3.md

File metadata and controls

112 lines (77 loc) · 4.32 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
NS:d3dhal._D3DHAL_CALLBACKS3
_D3DHAL_CALLBACKS3 (d3dhal.h)
D3DHAL_CALLBACKS3 is one of several callback structures that describe the Direct3D support provided by the driver.
display\d3dhal_callbacks3.htm
display
05/10/2018
D3DHAL_CALLBACKS3 structure
*LPD3DHAL_CALLBACKS3, D3DHAL_CALLBACKS3, D3DHAL_CALLBACKS3 structure [Display Devices], LPD3DHAL_CALLBACKS3, LPD3DHAL_CALLBACKS3 structure pointer [Display Devices], _D3DHAL_CALLBACKS3, d3dhal/D3DHAL_CALLBACKS3, d3dhal/LPD3DHAL_CALLBACKS3, d3dstrct_1171658a-fb5a-45ad-aedc-14fcc9725f60.xml, display.d3dhal_callbacks3
d3dhal.h
D3dhal.h
Windows
Windows
D3DHAL_CALLBACKS3, *LPD3DHAL_CALLBACKS3
_D3DHAL_CALLBACKS3
d3dhal/_D3DHAL_CALLBACKS3
LPD3DHAL_CALLBACKS3
d3dhal/LPD3DHAL_CALLBACKS3
D3DHAL_CALLBACKS3
d3dhal/D3DHAL_CALLBACKS3
APIRef
kbSyntax
HeaderDef
d3dhal.h
_D3DHAL_CALLBACKS3
LPD3DHAL_CALLBACKS3
D3DHAL_CALLBACKS3

_D3DHAL_CALLBACKS3 structure

-description

D3DHAL_CALLBACKS3 is one of several callback structures that describe the Direct3D support provided by the driver.

-struct-fields

-field dwSize

Specifies the size in bytes of this structure.

-field dwFlags

Indicates the callbacks associated with this structure that the driver has implemented. For every bit the driver sets in dwFlags, the driver must initialize the corresponding function pointer member of this structure. This member can be the bitwise-OR of one or more of the following flags:

Flag Meaning
D3DHAL3_CB32_CLEAR2 Not used in DirectX 7.0 and later versions.
D3DHAL3_CB32_DRAWPRIMITIVES2 The DrawPrimitives2member points to a driver-implemented D3dDrawPrimitives2 callback.
D3DHAL3_CB32_RESERVED Not used in DirectX 7.0 and later versions.
D3DHAL3_CB32_VALIDATETEXTURESTAGESTATE The ValidateTextureStageStatemember points to a driver-implemented D3dValidateTextureStageState callback.

-field Clear2

Must be set to NULL. This was a pointer to the driver-supplied D3dClear2 callback that is no longer used for DirectX 7.0 and beyond. Instead the driver should respond to the D3DDP2OP_CLEAR command stream token in its implementation of D3dDrawPrimitives2.

-field lpvReserved

Specifies a reserved field and must be set to NULL in a Windows 2000 and later driver.

-field ValidateTextureStageState

Points to the driver-supplied D3dValidateTextureStageState callback, or NULL. Drivers that support multitexturing must implement the callback that this member points to.

-field DrawPrimitives2

Points to the driver-supplied D3dDrawPrimitives2 callback. A driver must implement the callback that this member points to.

-remarks

The driver allocates this structure and sets appropriate values in all members. The driver's DdGetDriverInfo function returns a pointer to this structure when that function is called with the GUID_D3DCallbacks3 GUID.

-see-also

D3DDP2OP_CLEAR

D3DHAL_CALLBACKS

D3dDrawPrimitives2

D3dValidateTextureStageState

DdGetDriverInfo