SoundEnter

VOID
    SoundEnter(
        PLOCAL_DEVICE_INFO
pLDI,
        BOOLEAN
Enter
        );

The SoundEnter function calls a device’s exclusion routine, passing it either a SoundExcludeEnter or a SoundExcludeLeave message.

Parameters
pLDI
Pointer to a LOCAL_DEVICE_INFO structure.
Enter
TRUE or FALSE. If TRUE, the exclusion routine is called with a SoundExcludeEnter message. If FALSE, the exclusion routine is called with a SoundExcludeLeave message.
Return Value

None.

Comments

The SoundEnter function calls the exclusion routine that is specified as the ExclusionRoutine member of a SOUND_DEVICE_INIT structure. The SOUND_DEVICE-INIT structure’s address is contained in the pLDI structure. See “Using Exclusion Routines”.

For definitions of the SoundExcludeEnter and SoundExcludeLeave messages, see SOUND_EXCLUDE_CODE.