The DVM_PALETTERGB555 message requests a user-mode video capture driver to store a logical palette and an RGB555 translation table.
Flag |
Definition |
VIDEO_CONFIGURE_SET |
The driver sets a client-specified palette description and translation table. |
VIDEO_CONFIGURE_QUERY |
The driver indicates whether or not it supports the DVM_PALETTERGB555 message. |
The driver should return DV_ERR_OK if the operation succeeds. Otherwise, it should return one of the DV_ERR error codes defined in msvideo.h. Custom error codes are also allowed (see DVM_GETERRORTEXT).
A client sends the DVM_PALETTERGB555 message by calling the driver’s DriverProc entry point, passing the specified parameter values. Applications can send this message by calling the videoConfigure function, which is described in the Video for Windows Development Kit.
This message does not support the VIDEO_CONFIGURE_GET flag. Clients can send DVM_PALETTE to obtain the current palette.
For more information on how drivers can handle palettes and color translation tables, see Setting Palettes.
User-mode video capture drivers using VCUser.lib can call VC_ConfigFormat when processing the DVM_PALETTERGB555 message.