GetVideoPortOutputFormats (Windows CE 5.0)

Send Feedback

This callback function fills the specified array with all of the formats that can be written to the frame buffer based on the specified input format. It puts that number in the dwNumFormats member of the DDHAL_GETVPORTOUTPUTFORMATDATA structure. If lpddpfOutputFormats is NULL, it only fills dwNumFormats with the number of formats that can be written to the frame buffer. This callback function is required.

DWORD GetVideoPortOutputFormats(LPDDHAL_GETVPORTOUTPUTFORMATDATApgvpofd);

Parameters

Return Values

Returns one of the following values:

Remarks

If the dwFlags member of the DDHAL_GETVPORTOUTPUTFORMATDATA structure is set only to DDVPFORMAT_VIDEO, the HAL should return only those formats that are supported for the normal video data. If dwFlags is set only to DDVPFORMAT_VBI, the HAL should return only those formats supported for the 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_CREATEVPORTDATA | DDHAL_GETVPORTOUTPUTFORMATDATA | DDHAL_DRIVER_HANDLED | DDHAL_DRIVER_NOTHANDLED

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.