DD_ADDATTACHEDSURFACEDATA structure (ddrawint.h)

The DD_ADDATTACHEDSURFACEDATA structure contains information necessary to attach a surface to another surface.

Syntax

typedef struct _DD_ADDATTACHEDSURFACEDATA {
  PDD_DIRECTDRAW_GLOBAL lpDD;
  PDD_SURFACE_LOCAL     lpDDSurface;
  PDD_SURFACE_LOCAL     lpSurfAttached;
  HRESULT               ddRVal;
  VOID                  *AddAttachedSurface;
} *PDD_ADDATTACHEDSURFACEDATA, DD_ADDATTACHEDSURFACEDATA;

Members

lpDD

Points to a DD_DIRECTDRAW_GLOBAL structure that describes the driver's device.

lpDDSurface

Points to a DD_SURFACE_LOCAL structure that represents the surface to which another surface is being attached.

lpSurfAttached

Points to a DD_SURFACE_LOCAL structure that represents the surface to be attached.

ddRVal

Specifies the location in which the driver writes the return value of the DdAddAttachedSurface callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.

AddAttachedSurface

Unused on Microsoft Windows 2000 and later.

Requirements

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

See also

DdAddAttachedSurface