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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for