Notify.SetNotificationPositions Method |
Language: |
Sets the notification positions for triggering events during capture or playback.
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
);
notify Microsoft.DirectX.DirectSound.BufferPositionNotify[]
An array of BufferPositionNotify structures that describe the notification positions.numNotificationPositions System.Int32
Length of notify.
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 An invalid parameter was passed to the called method. OutOfMemoryException Microsoft DirectSound could not allocate sufficient memory to complete the call.
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