Microsoft Windows CE 3.0  

GetVideoPortInputFormats

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 GetVideoPortInputFormatscallback function fills in 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_GETVPORTINPUTFORMATDATAstructure. If lpddpfFormat is NULL, it only fills in dwNumFormats with the number of formats that it can support. This function is needed because the supported formats may vary depending on the electrical connection of the video port. This callback is required.

DWORD __stdcall GetVideoPortInputFormats(
LPDDHAL_GETVPORTINPUTFORMATDATA
pgvpifd
);

Parameters

pgvpifd
Pointer to a DDHAL_GETVPORTINPUTFORMATDATAstructure that contains the information about the formats the video port can accept.

Return Values

Returns one of the following values: