Share via


D3DHAL_GLOBALDRIVERDATA

This structure specifies the 3D capabilities of the driver and its device.

typedef struct _D3DHAL_GLOBALDRIVERDATA {
  DWORD dwSize;
  D3DHALDEVICEDESC_V1 hwCaps;
  DWORD dwNumVertices;
  DWORD dwNumClipVertices;
  DWORD dwNumTextureFormats;
  LPDDSURFACEDESC lpTextureFormats;
} D3DHAL_GLOBALDRIVERDATA, *LPD3DHAL_GLOBALDRIVERDATA;

Members

  • dwSize
    Specifies the size in bytes of this D3DHAL_GLOBALDRIVERDATA structure.
  • hwCaps
    Specifies a D3DDEVICEDESC_V1 structure where the driver should return its hardware capabilities.
  • dwNumVertices
    Is reserved for system use and should be set to zero by the driver.
  • dwNumClipVertices
    Is reserved for system use and should be set to zero by the driver.
  • dwNumTextureFormats
    Specifies the number of DDSURFACEDESC structures that lpTextureFormats points to.
  • lpTextureFormats
    Points to an array of DDSURFACEDESC structures where the driver should return the texture formats supported by the device.

Remarks

The driver is responsible for allocating space for and setting all members of this structure. The driver returns a pointer to this structure in the lpD3DGlobalDriverData member of the DDHALINFO structure, which is passed to the driver's HALInit function during driver initialization.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3dhal.h.

See Also

D3DDEVICEDESC_V1 | DDSURFACEDESC | DDHALINFO | HALInit | D3DHAL_XXX Structures

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.