MCIWNDM_REALIZE
The MCIWNDM_REALIZE message realizes the palette currently used by the MCI device in an MCIWnd window. This macro is defined with the MCIWNDM_REALIZE message. You can send this message explicitly or by using the MCIWndRealize macro.
MCIWNDM_REALIZE
wParam = (WPARAM) (BOOL) fBkgnd;
lParam = 0;
Parameters
fBkgnd
Background flag. Specify TRUE for this parameter if the window is a background application.
Return Values
Returns zero if successful or an error otherwise.
Remarks
MCIWNDM_REALIZE uses the palette of the MCI device and calls the RealizePalette function. If your application explicitly handles the WM_PALETTECHANGED and WM_QUERYNEWPALETTE messages, you should use this message in your application instead of using RealizePalette. If the body of one of these message handlers contains only RealizePalette, forward the message to the MCIWnd window, which will automatically realize the palette.
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.
See Also
MCIWndRealize, RealizePalette, WM_PALETTECHANGED, WM_QUERYNEWPALETTE