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 EnumSurfacesCallback7 function is an application-defined callback function for the IDirectDrawSurface7::EnumAttachedSurfaces and IDirectDrawSurface7::EnumOverlayZOrders methods.
Syntax
LPDDENUMSURFACESCALLBACK7 Lpddenumsurfacescallback7;
HRESULT Lpddenumsurfacescallback7(
[in] LPDIRECTDRAWSURFACE7 unnamedParam1,
[in] LPDDSURFACEDESC2 unnamedParam2,
[in] LPVOID unnamedParam3
)
{...}
Parameters
[in] unnamedParam1
A pointer to the IDirectDrawSurface7 interface of the attached surface.
[in] unnamedParam2
A pointer to a DDSURFACEDESC2 structure that describes the attached surface.
[in] unnamedParam3
A pointer to an application-defined structure to be passed to the callback function each time that the function is called.
Return value
The callback function returns DDENUMRET_OK to continue the enumeration.
It returns DDENUMRET_CANCEL to stop the enumeration.
Remarks
You can use the LPDDENUMSURFACESCALLBACK7 data type to declare a variable that can contain a pointer to this callback function.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | ddraw.h |