KsDeviceRegisterThermalDispatch function (ks.h)

This function is used by the Avstream miniport driver to register callbacks for thermal notifications with the KS port driver.

Syntax

KSDDKAPI NTSTATUS KsDeviceRegisterThermalDispatch(
  [in] PKSDEVICE                  KsDevice,
  [in] PKSDEVICE_THERMAL_DISPATCH KsDeviceThermalDispatch
);

Parameters

[in] KsDevice

A KS device object representing the device managed by KS. For more information, see KSDEVICE.

[in] KsDeviceThermalDispatch

A structure containing the Avstream driver active and passive thermal callback notifications.

Return value

Returns NTSTATUS STATUS_SUCCESS for success conditions or STATUS_INVALID_DEVICE_REQUEST if both the parameters are NULL.

Remarks

KsDeviceRegisterThermalDispatch takes two arguments:

  • A KS device object that represents the hardware device managed by the KS port driver (a camera in this case).
  • Thermal dispatch callback functions.

For more information, see Device-Level Thermal Management.

Requirements

Requirement Value
Target Platform Universal
Header ks.h
Library Ks.lib

See also

KSDEVICE