The realize command instructs a device to select and realize its palette into the display context of the displayed window. Digital-video devices recognize this command.
wsprintf(lpstrCommand, "realize %s %s %s", lpszDeviceID, lpszPalette, 
    lpszFlags); 
 | background | Realizes the palette as a background palette. | 
| normal | Realizes the palette for a top-level window. This is the default setting. | 
Returns zero if successful or an error otherwise.
Use this command only if your application uses a window handle and receives a WM_QUERYNEWPALLETTE or WM_PALETTECHANGED message.
The following command tells the "myvideo" device to realize its palette:
realize myvideo normal
 
  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
MCI Overview, MCI Command Strings, WM_PALETTECHANGED