The AUDCLNT_SESSIONFLAGS_XXX constants indicate characteristics of an audio session associated with the stream. A client can specify these options during the initialization of the stream by through the StreamFlags parameter of the IAudioClient::Initialize method.
Constant/value
Description
AUDCLNT_SESSIONFLAGS_EXPIREWHENUNOWNED
0x10000000
The session expires when there are no associated streams and owning session control objects holding references.
AUDCLNT_SESSIONFLAGS_DISPLAY_HIDE
0x20000000
The volume control is hidden in the volume mixer user interface when the audio session is created. If the session associated with the stream already exists before IAudioClient::Initialize opens the stream, the volume control is displayed in the volume mixer.
AUDCLNT_SESSIONFLAGS_DISPLAY_HIDEWHENEXPIRED
0x40000000
The volume control is hidden in the volume mixer user interface after the session expires.