DD_CREATESURFACEEXDATA structure (ddrawint.h)

The DD_CREATESURFACEEXDATA structure contains information required for the driver to create a surface and associate with it a supplied texture handle.

Syntax

typedef struct _DD_CREATESURFACEEXDATA {
  DWORD                dwFlags;
  PDD_DIRECTDRAW_LOCAL lpDDLcl;
  PDD_SURFACE_LOCAL    lpDDSLcl;
  HRESULT              ddRVal;
} *PDD_CREATESURFACEEXDATA, DD_CREATESURFACEEXDATA;

Members

dwFlags

Specifies a set of flags for the D3dCreateSurfaceEx function that are currently not used and always zero.

lpDDLcl

Specifies a handle to the DirectDraw object created by the application. This is the scope within which the lpDDSLcl handles exist. A DD_DIRECTDRAW_LOCAL structure describes the driver.

lpDDSLcl

Specifies a handle to the DirectDraw surface to be created for Direct3D. These handles are unique within each different DD_DIRECTDRAW_LOCAL structure. A DD_SURFACE_LOCAL structure represents the created surface object.

ddRVal

Specifies the location where the driver writes the return value of the D3dCreateSurfaceEx callback. A return code of D3D_OK indicates success. For more information, see Return Codes for Direct3D Driver Callbacks.

Requirements

Requirement Value
Header ddrawint.h (include Winddi.h)

See also

D3dCreateSurfaceEx

DD_DIRECTDRAW_LOCAL

DD_SURFACE_LOCAL