![]() |
---|
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
Return Values
Returns one of the following values:
Remarks
If the dwFlags member of the DDHAL_GETVPORTINPUTFORMATDATAstructure 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