Microsoft Windows CE 3.0  

DDHAL_DDVIDEOPORTCALLBACKS

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

dwSize
Size of the structure. This member must be initialized before the structure is used.
dwFlags
Indicates which of the DirectDraw functions are implemented in 32-bit code. One or more of the following flags:
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.
CanCreateVideoPort
Pointer to the driver's implementation of the CanCreateVideoPortcallback.
CreateVideoPort
Pointer to the driver's implementation of the CreateVideoPortcallback.
FlipVideoPort
Pointer to the driver's implementation of the FlipVideoPortcallback.
GetVideoPortBandwidth
Pointer to the driver's implementation of the GetVideoPortBandwidthcallback.
GetVideoPortInputFormats
Pointer to the driver's implementation of the GetVideoPortInputFormatscallback.
GetVideoPortOutputFormats
Pointer to the driver's implementation of the GetVideoPortOutputFormatscallback.
lpReserved1
Reserved for future use.
GetVideoPortField
Pointer to the driver's implementation of the GetVideoPortFieldcallback.
GetVideoPortLine
Pointer to the driver's implementation of the GetVideoPortLinecallback.
GetVideoPortConnectInfo
Pointer to the driver's implementation of the GetVideoPortConnectInfocallback.
DestroyVideoPort
Pointer to the driver's implementation of the DestroyVideoPortcallback.
GetVideoPortFlipStatus
Pointer to the driver's implementation of the GetVideoPortFlipStatuscallback.
UpdateVideoPort
Pointer to the driver's implementation of the UpdateVideoPortcallback.
WaitForVideoPortSync
Pointer to the driver's implementation of the WaitForVideoPortSynccallback.
GetVideoSignalStatus
Pointer to the driver's implementation of the GetVideoSignalStatuscallback.
ColorControl
Pointer to the driver's implementation of the ColorControlcallback.

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

© 2004 Microsoft Corporation. All rights reserved.