Notification description used for registering, unregistering, and flushing notifications.
typedef struct XACT_NOTIFICATION_DESCRIPTION {
XACTNOTIFICATIONTYPE type;
BYTE flags;
IXACTSoundBank *pSoundBank;
IXACTWaveBank *pWaveBank;
IXACTCue *pCue;
XACTINDEX cueIndex;
PVOID pvContext;
} XACT_NOTIFICATION_DESCRIPTION, *LPXACT_NOTIFICATION_DESCRIPTION;
typedef const XACT_NOTIFICATION_DESCRIPTION *LPCXACT_NOTIFICATION_DESCRIPTION;
| Value | Supported Fields |
|---|---|
| XACTNOTIFICATIONTYPE_CUEPREPARED | None, sound bank, sound bank and cue index, cue instance |
| XACTNOTIFICATIONTYPE_CUEPLAY | None, sound bank, sound bank and cue index, cue instance |
| XACTNOTIFICATIONTYPE_CUESTOP | None, sound bank, sound bank and cue index, cue instance |
| XACTNOTIFICATIONTYPE_CUEDESTROYED | None, sound bank, sound bank and cue index, cue instance |
| XACTNOTIFICATIONTYPE_MARKER | None, sound bank, sound bank and cue index, cue instance |
| XACTNOTIFICATIONTYPE_SOUNDBANKDESTROYED | None, sound bank |
| XACTNOTIFICATIONTYPE_WAVEBANKDESTROYED | None, wave bank |
| XACTNOTIFICATIONTYPE_LOCALVARIABLECHANGED | None, sound bank, sound bank and cue index, cue instance |
| XACTNOTIFICATIONTYPE_GLOBALVARIABLECHANGED | None |
| XACTNOTIFICATIONTYPE_GUICONNECTED | None |
| XACTNOTIFICATIONTYPE_GUIDISCONNECTED | None |
| XACTNOTIFICATIONTYPE_WAVEPLAY | None, sound bank, sound bank and cue index, cue instance, wave bank |
| XACTNOTIFICATIONTYPE_WAVESTOP | None, sound bank, sound bank and cue index, cue instance, wave bank |
| XACTNOTIFICATIONTYPE_WAVEBANKPREPARED | None, wave bank |
| Value | Description |
|---|---|
| XACT_FLAG_NOTIFICATION_PERSIST | Indicates that the notification should persist. If this flag is not set, the user will receive no more than one notification of the type registered. |
Header: Declared in Xact.h.