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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for