DDOPENVIDEOPORTOUT structure (ddkmapi.h)

The DDOPENVIDEOPORTOUT structure contains a Microsoft DirectDraw return code and a new surface handle if ddRVal is set to DD_OK. This new handle must be used on all subsequent calls that require a video port extensions (VPE) object handle.

Syntax

typedef struct _DDOPENVIDEOPORTOUT {
  DWORD  ddRVal;
  HANDLE hVideoPort;
} DDOPENVIDEOPORTOUT, *LPDDOPENVIDEOPORTOUT;

Members

ddRVal

Specifies the location in which DirectDraw writes the return value of the DxApi function for DD_DXAPI_OPENVIDEOPORT operations. A return code of DD_OK indicates success.

hVideoPort

Handle to the new VPE object.

Requirements

Requirement Value
Header ddkmapi.h (include Ddkmapi.h)

See also

DD_DXAPI_OPENVIDEOPORT

DxApi