There are two functions that display drivers must support to manage desktops: DrvAssertMode and DrvGetModes. If the display driver is palette-managed it will also receive a call to DrvSetPalette to reset its palette to the correct state.