Microsoft DirectX 9.0 SDK Update (October 2004)

BufferDescription.GlobalFocus Property

Language:

Note: This documentation is preliminary and is subject to change.

Specifies whether the buffer is a global sound buffer.

Definition

Visual Basic .NET Public Property GlobalFocus As Boolean
C# public bool GlobalFocus { get; set; }
Managed C++ public: __property bool get_GlobalFocus();
public: __property void set_GlobalFocus(bool);
JScript .NET public function get GlobalFocus() : boolean
public function set GlobalFocus(boolean);

Property Value

System.Boolean . This value is set to true if the buffer is a global buffer; otherwise, false.

This property is read/write. 

Remarks

With GlobalFocus 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center