DVM_STREAM_GETERROR

Notifies a video capture driver to supply the status of a channel.

dwParam1

Address of a DWORD that the device will fill with the value of the most recent error.

dwParam2

Address of a DWORD that the device will fill with the number of frames dropped.

A device driver should reset its internal error values and count of frames dropped to zero after it processes this message.

Client applications should send this message frequently during capture since some device drivers that do not have access to interrupts use this message to trigger buffer processing.