Microsoft DirectX 8.0 (Visual Basic)

DirectSoundSecondaryBuffer8.SetNotificationPositions

Sets the notification positions. During playback, whenever the play cursor reaches a specified offset, the associated event is signaled.

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

Parts

object
Resolves to a DirectSoundSecondaryBuffer8 object.
nElements
Number of elements in the psa array.
psa
Array of DSBPOSITIONNOTIFY types that specify the notification positions and associated events.

Error Codes

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

DSERR_INVALIDCALL
DSERR_INVALIDPARAM
DSERR_PRIOLEVELNEEDED

See Also

Play Buffer Notification