// audiosensors.h
EVT_AUDIO_SENSORS_STOP_SESSION EvtAudioSensorsStopSession;
NTSTATUS EvtAudioSensorsStopSession(
PVOID Context,
AUDIO_MODULE_ID ModuleId,
ULONG SensorsSessionId
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The EVT_AUDIO_SENSORS_STOP_SESSION callback function is implemented by the audio driver and is called by the audio sensors driver to stop a previously started sensors session.
ContextA pointer to the audio driver-supplied context that was provided when the interface was obtained.
ModuleIdAn AUDIO_MODULE_ID structure that identifies the target audio module for this operation.
SensorsSessionIdThe session identifier that was returned by the EVT_AUDIO_SENSORS_START_SESSION callback when the session was started.
Returns an NTSTATUS value. Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS error code.
The EVT_AUDIO_SENSORS_STOP_SESSION callback is called by the audio driver when it needs to terminate a sensor session that was previously started with EVT_AUDIO_SENSORS_START_SESSION.
After this function returns successfully, the SensorsSessionId is no longer valid and should not be used in subsequent operations.
The audio driver should clean up any resources associated with the session and ensure that any active sensing operations are properly terminated.