DDOPENSURFACEOUT structure (ddkmapi.h)
The DDOPENSURFACEOUT structure contains a new DirectDrawSurface handle, if the ddRVal member of DDOPENSURFACEOUT is set to DD_OK. This new handle must be used on all subsequent calls that require a DirectDrawSurface handle.
Syntax
typedef struct _DDOPENSURFACEOUT {
DWORD ddRVal;
HANDLE hSurface;
} DDOPENSURFACEOUT, *LPDDOPENSURFACEOUT;
Members
ddRVal
Specifies the location in which Microsoft DirectDraw writes the return value of the DxApi function for DD_DXAPI_OPENSURFACE operations. A return code of DD_OK indicates success.
hSurface
Handle to the new DirectDrawSurface object.
Requirements
Requirement | Value |
---|---|
Header | ddkmapi.h (include Ddkmapi.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