MCIWNDM_NOTIFYMEDIA message

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

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Vfw.h