UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:sensorsapi.ISensorManager.GetSensorByID |
ISensorManager::GetSensorByID (sensorsapi.h) |
Retrieves a pointer to the specified sensor. |
|
winsensors_com_ref\isensormanager_getsensorbyid.htm |
winsensors |
453f46f3-43e1-466d-9f46-165b7d2bcd56 |
12/05/2018 |
GetSensorByID, GetSensorByID method, GetSensorByID method,ISensorManager interface, ISensorManager interface,GetSensorByID method, ISensorManager.GetSensorByID, ISensorManager::GetSensorByID, sensorsapi/ISensorManager::GetSensorByID, winsensors_com_ref.isensormanager_getsensorbyid |
sensorsapi.h |
Windows |
Windows 7 [desktop apps only] |
None supported |
Sensorsapi.lib |
Sensorsapi.dll |
Windows |
19H1 |
|
|
|
|
|
|
Retrieves a pointer to the specified sensor.
The ID of the sensor to retrieve.
Address of an ISensor interface pointer that receives a pointer to the requested sensor. Will be NULL if the requested sensor cannot be found.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The sensor manager found more than one sensor with the same ID. |
|
No sensor is available for the specified ID. |
|
NULL was passed in for ppSensor. |