PDD_SURFCB_ADDATTACHEDSURFACE callback function (ddrawint.h)

The DdAddAttachedSurface callback function attaches a surface to another surface.

Syntax

PDD_SURFCB_ADDATTACHEDSURFACE PddSurfcbAddattachedsurface;

DWORD PddSurfcbAddattachedsurface(
  PDD_ADDATTACHEDSURFACEDATA unnamedParam1
)
{...}

Parameters

unnamedParam1

Points to a DD_ADDATTACHEDSURFACEDATA structure that contains information required for the driver to perform the attachment.

Return value

DdAddAttachedSurface returns one of the following callback codes:

Remarks

DdAddAttachedSurface can be optionally implemented in DirectDraw drivers.

The driver should update any internal surface state it keeps to reflect the attachment.

Requirements

Requirement Value
Target Platform Desktop
Header ddrawint.h (include Winddi.h)

See also

DD_ADDATTACHEDSURFACEDATA