The MCI_REALIZE command causes a graphic device to realize its palette into a device context (DC). Digital-video devices recognize this command.
MCIERROR mciSendCommand(MCIDEVICEID wDeviceID, MCI_REALIZE,
DWORD dwFlags, (DWORD) (LPMCI_GENERIC_PARMS) lpRealize);
Returns zero if successful or an error otherwise.
You should use this command when your application receives the WM_QUERYNEWPALETTE message.
The following additional flags are used with the digitalvideo device type:
For digital-video devices, the lpRealize parameter points to an MCI_REALIZE_PARMS structure. For more information, see comments in the MCI_GENERIC_PARMS structure.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
MCI Overview, MCI Commands, MCI_GENERIC_PARMS