DD_CREATEVPORTDATA structure (ddrawint.h)

The DD_CREATEVPORTDATA structure contains the information necessary to describe the video port extensions (VPE) object being created.

Syntax

typedef struct _DD_CREATEVPORTDATA {
  PDD_DIRECTDRAW_LOCAL lpDD;
  LPDDVIDEOPORTDESC    lpDDVideoPortDesc;
  PDD_VIDEOPORT_LOCAL  lpVideoPort;
  HRESULT              ddRVal;
  VOID                 *CreateVideoPort;
} *PDD_CREATEVPORTDATA, DD_CREATEVPORTDATA;

Members

lpDD

Points to a DD_DIRECTDRAW_LOCAL structure that is relevant to the current Microsoft DirectDraw process only.

lpDDVideoPortDesc

Points to a DDVIDEOPORTDESC structure that describes the created VPE object.

lpVideoPort

Points to a DD_VIDEOPORT_LOCAL structure that represents the created VPE object.

ddRVal

Specifies the location in which the driver writes the return value of the DdVideoPortCreate callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.

CreateVideoPort

Used by the DirectDraw API and should not be filled in by the driver.

Requirements

Requirement Value
Header ddrawint.h (include Winddi.h)

See also

DdVideoPortCreate