MM_DRVM_ERROR

Notifies a video callback function or window that an the video capture driver detected the occurrence of an error.

dwParam1
Error ID.
dwParam2
Not used.

Although a device driver can send this message for any reason, it most often indicates that no more buffers are available for video streaming.

The MM_DRVM_ERROR message is used by video capture drivers, installable compressors, and other types of installable drivers to signal an application that an error occurred.