ISensorCollection::Clear method

Empties the sensor collection.

Syntax


HRESULT Clear();

Parameters

This method has no parameters.

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.

 

Remarks

This method calls Release on all sensor interface pointers in the collection and frees any memory used by 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: