Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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) |