procedure SetDisplayMode( Width: Longint; Height: Longint; Bpp: Longint; RefreshRate: Longint; Flags: Longint );
Calls the interface SetDisplayMode method to set the mode of the display device hardware. See IDirectDraw2::SetDisplayMode for more information.