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 to the MCIWnd window.

lp

Pointer to 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.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.