Microsoft DirectX 9.0 SDK Update (October 2004)

PositionNotifyFlag Enumeration

Language:

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

Contains constants that are used to signify types of position notifications.

Definition

Visual Basic .NET Public Enum PositionNotifyFlag
C# public enum PositionNotifyFlag
Managed C++ __value public enum PositionNotifyFlag
JScript .NET public enum PositionNotifyFlag

Members

Member Value Description
OffsetStop -1 Causes the event to be signaled when playback or capture stops.
None 0 No event is raised.

Remarks

This enumeration can be used by the BufferPositionNotify.Offset property to signify events that are not absolute offset times. In order to use this enumeration as such, you must cast it to an integer, as in the following code:

[C#]
int offsetStop = (int)PositionNotifyFlag.OffsetStop; BufferPositionNotify.Offset = offsetStop;

Enumeration Information

Namespace Microsoft.DirectX.DirectSound
Assembly Microsoft.DirectX.DirectSound (microsoft.directx.directsound.dll)
Strong Name Microsoft.DirectX.DirectSound,  Version=1.0.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

See Also


© 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