Freigeben über


DDHAL_DDVIDEOPORTCALLBACKS (Windows CE 5.0)

Send Feedback

This structure contains the video port callback functions used by the driver.

typedef struct _DDHAL_DDVIDEOPORTCALLBACKS {DWORDdwSize;DWORDdwFlags;LPDDHALVPORTCB_CANCREATEVIDEOPORTCanCreateVideoPort;LPDDHALVPORTCB_CREATEVIDEOPORTCreateVideoPort;LPDDHALVPORTCB_FLIPFlipVideoPort;LPDDHALVPORTCB_GETBANDWIDTHGetVideoPortBandwidth;LPDDHALVPORTCB_GETINPUTFORMATSGetVideoPortInputFormats;LPDDHALVPORTCB_GETOUTPUTFORMATSGetVideoPortOutputFormats;LPVOIDlpReserved1;LPDDHALVPORTCB_GETFIELDGetVideoPortField;LPDDHALVPORTCB_GETLINEGetVideoPortLine;LPDDHALVPORTCB_GETVPORTCONNECTGetVideoPortConnectInfo;LPDDHALVPORTCB_DESTROYVPORTDestroyVideoPort;LPDDHALVPORTCB_GETFLIPSTATUSGetVideoPortFlipStatus;LPDDHALVPORTCB_UPDATEUpdateVideoPort;LPDDHALVPORTCB_WAITFORSYNCWaitForVideoPortSync;LPDDHALVPORTCB_GETSIGNALSTATUSGetVideoSignalStatus;LPDDHALVPORTCB_COLORCONTROLColorControl;}DDHAL_DDVIDEOPORTCALLBACKS;typedef DDHAL_DDVIDEOPORTCALLBACKS FAR *LPDDHAL_DDVIDEOPORTCALLBACKS;

Members

  • dwSize**
    Size of the structure. This member must be initialized before the structure is used.

  • dwFlags**
    Indicates whether the DirectDraw functions are implemented. One or more of the following flags.

    The following table shows the possible flags.

    Flag Description
    DDHAL_VPORT32_CANCREATEVIDEOPORT Indicates whether the CanCreateVideoPort callback function is implemented.
    DDHAL_VPORT32_COLORCONTROL Indicates whether the HalColorControl (video port control callback) function is implemented.
    DDHAL_VPORT32_CREATEVIDEOPORT Indicates whether the CreateVideoPort callback function is implemented.
    DDHAL_VPORT32_DESTROY Indicates whether the DestroyVideoPort callback function is implemented.
    DDHAL_VPORT32_FLIP Indicates whether the FlipVideoPort callback function is implemented.
    DDHAL_VPORT32_GETBANDWIDTH Indicates whether the GetVideoPortBandwidth callback function is implemented.
    DDHAL_VPORT32_GETCONNECT Indicates whether the GetVideoPortConnectInfo callback function is implemented.
    DDHAL_VPORT32_GETFIELD Indicates whether the GetVideoPortField callback function is implemented.
    DDHAL_VPORT32_GETFLIPSTATUS Indicates whether the GetVideoPortFlipStatus callback function is implemented.
    DDHAL_VPORT32_GETINPUTFORMATS Indicates whether the GetVideoPortInputFormats callback function is implemented.
    DDHAL_VPORT32_GETLINE Indicates whether the GetVideoPortLine callback function is implemented.
    DDHAL_VPORT32_GETOUTPUTFORMATS Indicates whether the GetVideoPortOutputFormats callback function is implemented.
    DDHAL_VPORT32_GETSIGNALSTATUS Indicates whether the GetVideoSignalStatus callback function is implemented.
    DDHAL_VPORT32_UPDATE Indicates whether the UpdateVideoPort callback function is implemented.
    DDHAL_VPORT32_WAITFORSYNC Indicates whether the WaitForVideoPortSync callback function is implemented.
  • CanCreateVideoPort**
    Pointer to the driver's implementation of the CanCreateVideoPort callback function.

  • CreateVideoPort
    Pointer to the driver's implementation of the CreateVideoPort callback function.

  • FlipVideoPort**
    Pointer to the driver's implementation of the FlipVideoPort callback function.

  • GetVideoPortBandwidth**
    Pointer to the driver's implementation of the GetVideoPortBandwidth callback function.

  • GetVideoPortInputFormats**
    Pointer to the driver's implementation of the GetVideoPortInputFormats callback function.

  • GetVideoPortOutputFormats**
    Pointer to the driver's implementation of the GetVideoPortOutputFormats callback function.

  • lpReserved1**
    Reserved for future use.

  • GetVideoPortField**
    Pointer to the driver's implementation of the GetVideoPortField callback function.

  • GetVideoPortLine**
    Pointer to the driver's implementation of the GetVideoPortLine callback function.

  • GetVideoPortConnectInfo**
    Pointer to the driver's implementation of the GetVideoPortConnectInfo callback function.

  • DestroyVideoPort**
    Pointer to the driver's implementation of the DestroyVideoPort callback function.

  • GetVideoPortFlipStatus**
    Pointer to the driver's implementation of the GetVideoPortFlipStatus callback function.

  • UpdateVideoPort**
    Pointer to the driver's implementation of the UpdateVideoPort callback function.

  • WaitForVideoPortSync**
    Pointer to the driver's implementation of the WaitForVideoPortSync callback function.

  • GetVideoSignalStatus**
    Pointer to the driver's implementation of the GetVideoSignalStatus callback function.

  • ColorControl**
    Pointer to the driver's implementation of the HalColorControl (video port control callback) function.

Remarks

You can query this structure from the driver using GetDriverInfo with GUID_VideoPortCallbacks.

This structure contains the entry points in the display driver that DirectDraw calls. Entries that the display driver does not use should be set to NULL.

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddrawi.h.

See Also

CanCreateVideoPort| CreateVideoPort | DestroyVideoPort | FlipVideoPort | GetVideoPortBandwidth | GetVideoPortConnectInfo | GetVideoPortField | GetVideoPortFlipStatus | GetVideoPortInputFormats | GetVideoPortLine | GetVideoPortOutputFormats | GetVideoSignalStatus | HalColorControl (video port control callback) | UpdateVideoPort | WaitForVideoPortSync | GetDriverInfo | DDHAL Callback Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.