Platform SDK: DirectX

DirectSoundCaptureBuffer.SetNotificationPositions

The DirectSoundCaptureBuffer.SetNotificationPositions method sets points in the buffer where notification events are to be signaled. An event is signaled when the current read position reaches a notification position.

object.SetNotificationPositions(nElements As Long, _
    psa() As DSBPOSITIONNOTIFY)

Parameters

object
Object expression that resolves to a DirectSoundCaptureBuffer object.
nElements
Number of elements in the psa array.
psa
Array of DSBPOSITIONNOTIFY types.

Error Codes

If the method fails, an error is raised and Err.Number may be set to one of the following error codes.

DSERR_BUFFERLOST
DSERR_INVALIDCALL
DSERR_INVALIDPARAM
DSERR_PRIOLEVELNEEDED

See Also

DirectSoundCaptureBuffer.GetCurrentPosition