Platform SDK: DirectX

CONST_DDSCLFLAGS

The CONST_DDSCLFLAGS enumeration is used in the flags parameter of the DirectDraw7.SetCooperativeLevel method to determine the top-level behavior of the application.

Enum CONST_DDSCLFLAGS
    DDSCL_ALLOWMODEX       =    64
    DDSCL_ALLOWREBOOT      =     2
    DDSCL_CREATEDEVICEWINDOW = 512
    DDSCL_EXCLUSIVE        =    16
    DDSCL_FULLSCREEN       =     1
    DDSCL_MULTITHREADED    =  1024
    DDSCL_NORMAL           =     8
    DDSCL_NOWINDOWCHANGES  =     4
    DDSCL_SETDEVICEWINDOW  =   256
    DDSCL_SETFOCUSWINDOW   =   128
End Enum
DDSCL_ALLOWMODEX
Allows the use of Mode X display modes. This flag can only be used if the DDSCL_EXCLUSIVE and DDSCL_FULLSCREEN flags are present.
DDSCL_ALLOWREBOOT
Allows CTRL+ALT+DEL to function while in exclusive (full-screen) mode.
DDSCL_CREATEDEVICEWINDOW
This flag is supported in Windows 98 and Windows 2000 only. Indicates that DirectDraw is to create and manage a default device window for this DirectDraw object. For more information, see Focus and Device Windows.
DDSCL_EXCLUSIVE
Requests the exclusive level. This flag must be used with the DDSCL_FULLSCREEN flag.
DDSCL_FULLSCREEN
Indicates that the exclusive-mode owner is responsible for the entire primary surface. The GDI can be ignored. This flag must be used with the DDSCL_EXCLUSIVE flag.
DDSCL_MULTITHREADED
Requests multithread-safe DirectDraw behavior. This causes Direct3D to take the global critical section more frequently.
DDSCL_NORMAL
The application functions as a regular Windows application. This flag cannot be used with the DDSCL_ALLOWMODEX, DDSCL_EXCLUSIVE, or DDSCL_FULLSCREEN flags.
DDSCL_NOWINDOWCHANGES
DirectDraw is not allowed to minimize or restore the application window on activation.
DDSCL_SETDEVICEWINDOW
This flag is supported in Windows 98 and Windows 2000 only. Indicates that the hdl parameter is the window handle of the device window for this DirectDraw object. This flag cannot be used with the DDSCL_SETFOCUSWINDOW flag.
DDSCL_SETFOCUSWINDOW
This flag is supported in Windows 98 and Windows 2000 only. Indicates that the hdl parameter is the window handle of the focus window for this DirectDraw object. This flag cannot be used with the DDSCL_SETDEVICEWINDOW flag.