Microsoft DirectX 9.0 SDK Update (October 2004)

Notify.SetNotificationPositions Method

Language:

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

Sets the notification positions for triggering events during capture or playback.

Definition

Visual Basic .NET Public Sub SetNotificationPositions( _
    ByVal notify() As BufferPositionNotify, _
    ByVal numNotificationPositions As Integer _
)
C# public void SetNotificationPositions(
    BufferPositionNotify[] notify,
    int numNotificationPositions
);
Managed C++ public: void SetNotificationPositions(
    BufferPositionNotify notify __gc[],
    int numNotificationPositions
);
JScript .NET public function SetNotificationPositions(
    notify : BufferPositionNotify[],
    numNotificationPositions : int
);

Parameters

notify Microsoft.DirectX.DirectSound.BufferPositionNotify[]. An array of BufferPositionNotify structures that describe the notification positions.
numNotificationPositions System.Int32. Length of notify.

Remarks

During capture or playback, the associated event is signaled whenever the read or play cursor reaches one of the notification positions set by this method.

Exceptions
ArgumentException Leave Site An invalid parameter was passed to the called method.
OutOfMemoryException Leave Site Microsoft® DirectSound® could not allocate sufficient memory to complete the call.

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