DSBPOSITIONNOTIFY

This structure is used by the IDirectSoundNotify::SetNotificationPositions method.

typedef struct {
  DWORD dwOffset;
  HANDLE hEventNotify;
} DSBPOSITIONNOTIFY, *LPDSBPOSITIONNOTIFY;
 
typedef const DSBPOSITIONNOTIFY *LPCDSBPOSITIONNOTIFY; 

Members

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

Remarks

The DSBPN_OFFSETSTOP value in the dwOffset 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 IDirectSoundBuffer::Stop or IDirectSoundCaptureBuffer::Stop method.

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Dsound.h.

See Also

IDirectSoundBuffer::Stop | IDirectSoundCaptureBuffer::Stop | IDirectSoundNotify::SetNotificationPositions

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.