EVT_AUDIO_SENSORS_STOP_SESSION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-audiosensors-evt_audio_sensors_stop_session)

Description

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.

Parameters

Context

A pointer to the audio driver-supplied context that was provided when the interface was obtained.

ModuleId

An AUDIO_MODULE_ID structure that identifies the target audio module for this operation.

SensorsSessionId

The session identifier that was returned by the EVT_AUDIO_SENSORS_START_SESSION callback when the session was started.

Return value

Returns an NTSTATUS value. Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS error code.

Remarks

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.

See also