Notify.SetNotificationPositions Method

Language:

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

Definition

Visual Basic Public Sub SetNotificationPositions( _
    ByVal notify() As BufferPositionNotify, _
    ByVal numNotificationPositions As Integer _
)
C# public void SetNotificationPositions(
    BufferPositionNotify[] notify,
    int numNotificationPositions
);
C++ public:
void SetNotificationPositions(
    array<BufferPositionNotify>^ notify,
    int numNotificationPositions
);
JScript 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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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