DirectX SDK

DSBPOSITIONNOTIFY

The DSBPOSITIONNOTIFY type is used by the DirectSoundBuffer.SetNotificationPositions and DirectSoundCaptureBuffer.SetNotificationPositions methods.

Type DSBPOSITIONNOTIFY
    hEventNotify As Long
    lOffset As Long
End Type

Members

hEventNotify
Handle to the event to be signaled when the offset has been reached.
lOffset
Offset from the beginning of the buffer where the notify event is to be triggered, or DSBPN_OFFSETSTOP.

Remarks

The DSBPN_OFFSETSTOP value in the lOffset member causes the event to be signaled when playback or capture stops, either because the end of the buffer has been reached (and playback or capture is not looping) or because the application called the DirectSoundBuffer.Stop or DirectSoundCaptureBuffer.Stop method.