Notify.SetNotificationPositions(BufferPositionNotify[],Int32) Method (Microsoft.DirectX.DirectSound)
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
An invalid parameter was passed to the called method.
Microsoft DirectSound could not allocate sufficient memory to complete the call.
See Also