Expand Minimize

DD_GETVPORTCONNECTDATA structure

The DD_GETVPORTCONNECTDATA structure contains the connection combinations supported by the specified video port extensions (VPE) object.

Syntax


typedef struct _DD_GETVPORTCONNECTDATA {
  PDD_DIRECTDRAW_LOCAL lpDD;
  DWORD                dwPortId;
  LPDDVIDEOPORTCONNECT lpConnect;
  DWORD                dwNumEntries;
  HRESULT              ddRVal;
  VOID                 *GetVideoPortConnectInfo;
} DD_GETVPORTCONNECTDATA;

Members

lpDD

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

dwPortId

Specifies the ID of the VPE object for which the driver is to retrieve connection information. DirectDraw obtains this ID from the dwVideoPortID member of the DDVIDEOPORTCAPS structure.

lpConnect

Points to an array of DDVIDEOPORTCONNECT structures in which the driver should return the characteristics of each connection that the VPE object supports. This member can be NULL.

dwNumEntries

Specifies the location in which the driver returns the number of connection combinations supported by the specified VPE object.

ddRVal

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

GetVideoPortConnectInfo

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

Requirements

Header

Ddrawint.h (include Winddi.h)

See also

DDVIDEOPORTCAPS
DDVIDEOPORTCONNECT
DdVideoPortGetConnectInfo

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft