PSOUND_LINE_NOTIFY

typedef VOID (* PSOUND_LINE_NOTIFY)(struct _LOCAL_DEVICE_INFO *, UCHAR);
 

PSOUND_LINE_NOTIFY is the type definition for a function that is called when a line status changes.

Parameters
_LOCAL_DEVICE_INFO*
Type for a pointer to a LOCAL_DEVICE_INFO structure.
UCHAR
Type for a line notification code. The following codes are passed to the notification routine by soundlib.lib.

Device Type

Notification Code

For waveform devices:

SOUND_LINE_NOTIFY_WAVE
SOUND_LINE_NOTIFY_VOICE

For MIDI synthesizers:

Always 0

Comments

Drivers using soundlib.lib define a function modeled on this type and call SoundSetLineNotify to place its address in the LineNotify member of a LOCAL_DEVICE_INFO structure.