Export (0) Print
Expand All

ISensorCollection::RemoveByID method

Removes a sensor from the collection. The sensor to be removed is specified by its ID.

Syntax


HRESULT RemoveByID(
  [in]  REFSENSOR_ID sensorID
);

Parameters

sensorID [in]

The GUID of the sensor to remove from the collection.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

E_INVALIDARG

The specified sensor is not part of the collection.

 

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

None supported

Header

Sensorsapi.h

Library

Sensorsapi.lib

DLL

Sensorsapi.dll

See also

ISensorCollection

 

 

Community Additions

ADD
Show:
© 2014 Microsoft