Using the MCI_NOTIFY Flag

The following example shows how the MCI_NOTIFY flag is used with the MCI_PLAY command. The handle to the window procedure that will process the MM_MCINOTIFY message is specified in hwnd.


DWORD dwFlags;

mciPlay.dwCallback = MAKELONG(hwnd, 0);

dwFlags = MCI_NOTIFY;

mciSendCommand(wMCIDeviceID, MCI_PLAY, dwFlags, (DWORD)(LPSTR)&mciPlay);

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database