Microsoft Windows CE 3.0  

GetVideoPortOutputFormats

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 GetVideoPortOutputFormatscallback function fills in 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 dwNumFormatsmember of the DDHAL_GETVPORTOUTPUTFORMATDATAstructure. If lpddpfOutputFormatsis NULL, it only fills in dwNumFormatswith the number of formats that can be written to the frame buffer. This callback is required.

DWORD __stdcall GetVideoPortOutputFormats(
LPDDHAL_GETVPORTOUTPUTFORMATDATA
pgvpofd
);

Parameters

pgvpofd
Pointer to a DDHAL_GETVPORTOUTPUTFORMATDATAstructure that contains the format information for the specified video port.

Return Values

Returns one of the following values:

  • DDHAL_DRIVER_HANDLED
  • DDHAL_DRIVER_NOTHANDLED

    Remarks

    If the dwFlags member of the DDHAL_GETVPORTOUTPUTFORMATDATAstructure 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.



     Last updated on Tuesday, July 13, 2004

    © 2004 Microsoft Corporation. All rights reserved.