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) |