![]() |
![]() |
![]() |
BufferCaps.GlobalFocus Property |
Language: |
Retrieves whether the buffer is a global sound buffer.
Visual Basic .NET Public ReadOnly Property GlobalFocus As Boolean C# public bool GlobalFocus { get; } Managed C++ public: __property bool get_GlobalFocus(); JScript .NET public function get GlobalFocus() : boolean
System.Boolean . Value that is set to true if the buffer is a global buffer; otherwise, false.
This property is read-only.
When GlobalFocus is set to true, an application using Microsoft® DirectSound® can continue to play its buffers if the user switches focus to another application, even if the new application uses DirectSound. The one exception is that the global sounds from other applications will not be audible if you switch focus to a DirectSound application that uses the CooperativeLevel.WritePrimary flag for its cooperative level.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center