Compartilhar via


GetVideoPortInputFormats (Windows CE 5.0)

Send Feedback

This callback function fills the specified array with all of the formats that the video port can accept and puts that number in the dwNumFormats member of the DDHAL_GETVPORTINPUTFORMATDATA structure. If lpddpfFormat is NULL, it only fills dwNumFormats with the number of formats that it can support. This function is needed because the supported formats might vary depending on the electrical connection of the video port. This callback function is required.

DWORD GetVideoPortInputFormats(LPDDHAL_GETVPORTINPUTFORMATDATApgvpifd);

Parameters

  • pgvpifd
    [in, out] Pointer to a DDHAL_GETVPORTINPUTFORMATDATA structure that contains the information about the formats the video port can accept.

Return Values

Returns one of the following values:

Remarks

If the dwFlags member of the DDHAL_GETVPORTINPUTFORMATDATA structure is set only to DDVPFORMAT_VIDEO, the HAL should return only those formats that are supported for standard video data. If dwFlags is set only to DDVPFORMAT_VBI, the HAL should return only those formats supported for the vertical blanking interval (VBI) data. If dwFlags is set to both flags, the HAL should return all formats supported by the video port.

Requirements

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

See Also

Video Port Extension Callback Functions | DDHAL_GETVPORTINPUTFORMATDATA | DDHAL_GETVPORTINPUTFORMATDATA | DDHAL_DRIVER_HANDLED | DDHAL_DRIVER_NOTHANDLED

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.