IDirectSoundNotify

The IDirectSoundNotify interface provides a mechanism for setting up notification events for a playback or capture buffer.

The interface is obtained by calling the QueryInterface method of an existing interface on a DirectSoundBuffer object. For an example, see Play Buffer Notification.

The interface has the following method:

SetNotificationPositions

Like all COM interfaces, the IDirectSoundNotify interface also inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

AddRef
QueryInterface
Release

The LPDIRECTSOUNDNOTIFY type is defined as a pointer to the IDirectSoundNotify interface:

typedef struct IDirectSoundNotify *LPDIRECTSOUNDNOTIFY;