Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The DDHAL_DDVIDEOPORTCALLBACKSstructure contains the video port callback functions used by the driver.
typedef struct _DDHAL_DDVIDEOPORTCALLBACKS{ DWORD dwSize ; DWORD dwFlags ; LPDDHALVPORTCB_CANCREATEVIDEOPORT CanCreateVideoPort ; LPDDHALVPORTCB_CREATEVIDEOPORT CreateVideoPort ; LPDDHALVPORTCB_FLIP FlipVideoPort ; LPDDHALVPORTCB_GETBANDWIDTH GetVideoPortBandwidth ; LPDDHALVPORTCB_GETINPUTFORMATS GetVideoPortInputFormats ; LPDDHALVPORTCB_GETOUTPUTFORMATS GetVideoPortOutputFormats ; LPVOID lpReserved1 ; LPDDHALVPORTCB_GETFIELD GetVideoPortField ; LPDDHALVPORTCB_GETLINE GetVideoPortLine ; LPDDHALVPORTCB_GETVPORTCONNECT GetVideoPortConnectInfo ; LPDDHALVPORTCB_DESTROYVPORT DestroyVideoPort ; LPDDHALVPORTCB_GETFLIPSTATUS GetVideoPortFlipStatus ; LPDDHALVPORTCB_UPDATE UpdateVideoPort ; LPDDHALVPORTCB_WAITFORSYNC WaitForVideoPortSync ; LPDDHALVPORTCB_GETSIGNALSTATUS GetVideoSignalStatus ; LPDDHALVPORTCB_COLORCONTROL ColorControl ;} DDHAL_DDVIDEOPORTCALLBACKS; typedef DDHAL_DDVIDEOPORTCALLBACKS FAR *LPDDHAL_DDVIDEOPORTCALLBACKS;
Members
Flag | Usage |
---|---|
DDHAL_VPORT32_CANCREATEVIDEOPORT | Indicates that the CanCreateVideoPortcallback is implemented in 32-bit code. |
DDHAL_VPORT32_COLORCONTROL | Indicates that the ColorControlcallback is implemented in 32-bit code. |
DDHAL_VPORT32_CREATEVIDEOPORT | Indicates that the CreateVideoPortcallback is implemented in 32-bit code. |
DDHAL_VPORT32_DESTROY | Indicates that the DestroyVideoPortcallback is implemented in 32-bit code. |
DDHAL_VPORT32_FLIP | Indicates that the FlipVideoPortcallback is implemented in 32-bit code. |
DDHAL_VPORT32_GETBANDWIDTH | Indicates that the GetVideoPortBandwidthcallback is implemented in 32-bit code. |
DDHAL_VPORT32_GETCONNECT | Indicates that the GetVideoPortConnectInfocallback is implemented in 32-bit code. |
DDHAL_VPORT32_GETFIELD | Indicates that the GetVideoPortFieldcallback is implemented in 32-bit code. |
DDHAL_VPORT32_GETFLIPSTATUS | Indicates that the GetVideoPortFlipStatuscallback is implemented in 32-bit code. |
DDHAL_VPORT32_GETINPUTFORMATS | Indicates that the GetVideoPortInputFormatscallback is implemented in 32-bit code. |
DDHAL_VPORT32_GETLINE | Indicates that the GetVideoPortLinecallback is implemented in 32-bit code. |
DDHAL_VPORT32_GETOUTPUTFORMATS | Indicates that the GetVideoPortOutputFormatscallback is implemented in 32-bit code. |
DDHAL_VPORT32_GETSIGNALSTATUS | Indicates that the GetVideoSignalStatuscallback is implemented in 32-bit code. |
DDHAL_VPORT32_UPDATE | Indicates that the UpdateVideoPortcallback is implemented in 32-bit code. |
DDHAL_VPORT32_WAITFORSYNC | Indicates that the WaitForVideoPortSynccallback is implemented in 32-bit code. |
Remarks
This structure can be queried from the driver using GetDriverInfowith 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.
Last updated on Tuesday, July 13, 2004