MCIWNDM_NOTIFYMEDIA

The MCIWNDM_NOTIFYMEDIA message notifies the parent window of an application that the media has changed.

MCIWNDM_NOTIFYMEDIA 
wParam = (WPARAM) (HWND) hwnd; 
lParam = (LPARAM) (LPSTR) lp; 
 

Parameters

hwnd
Handle of the MCIWnd window.
lp
Address of a null-terminated string containing the new filename. If the media is closing, it specifies a null string.

Remarks

You can enable notification of media changes by specifying the MCIWNDF_NOTIFYMEDIA window style.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

MCIWnd Window Class Overview, MCIWnd Messages