Microsoft DirectX 8.1 (Visual Basic)

CONST_DSSCLFLAGS

The CONST_DSSCLFLAGS enumeration is used in the level parameter of the DirectSound8.SetCooperativeLevel method to specify the priority level.

Syntax

Enum CONST_DSSCLFLAGS
  DSSCL_NORMAL       = 1
  DSSCL_PRIORITY     = 2
  DSSCL_WRITEPRIMARY = 4
End Enum

Constants

DSSCL_NORMAL

Sets the application to a fully cooperative status. This level has the smoothest multitasking and resource-sharing behavior, but because it does not allow the primary buffer format to change, output is restricted to the default 8-bit format.

DSSCL_PRIORITY

Sets the application to the priority level. Applications with this cooperative level can call the DirectSoundPrimaryBuffer8.SetFormat method.

DSSCL_WRITEPRIMARY

Sets the application to the highest priority level. The application has write access to the primary sound buffer.

Remarks

The DSSCL_EXCLUSIVE cooperative level is no longer supported.