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
dwNumFormats
member of the
DDHAL_GETVPORTOUTPUTFORMATDATAstructure. If
lpddpfOutputFormats
is NULL, it only fills
in
dwNumFormats
with the number of formats that
can be written to the frame buffer. This callback is required.
DWORD __stdcall GetVideoPortOutputFormats( LPDDHAL_GETVPORTOUTPUTFORMATDATA pgvpofd );
Parameters
Return Values
Returns one of the following values:
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