ISensor::GetEventInterest method (sensorsapi.h)

Retrieves the current event interest settings.

Syntax

HRESULT GetEventInterest(
  [out] GUID  **ppValues,
  [out] ULONG *pCount
);

Parameters

[out] ppValues

Address of a GUID pointer that points to an array of sensor event identifiers.

[out] pCount

The count of GUIDs in the array pointed to by ppValues.

Return value

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

Return code Description
S_OK
The method succeeded.
E_POINTER
NULL was passed in for ppValues or pCount.

Remarks

Each sensor event is represented by a GUID. This method returns the list of requested events as an array of GUIDs.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header sensorsapi.h
Library Sensorsapi.lib
DLL Sensorsapi.dll

See also

ISensor

SetEventInterest