The MCIWNDM_NOTIFYERROR message notifies the parent window of an application that an MCI error occurred.
MCIWNDM_NOTIFYERROR
wParam = (WPARAM) (HWND) hwnd;
lParam = (LPARAM) (LONG) errorCode;
You can enable MCI error notification by specifying the MCIWNDF_NOTIFYERROR window style.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
MCIWnd Window Class Overview, MCIWnd Messages