Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ISensor::GetEventInterest method

Retrieves the current event interest settings.

Syntax


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

Parameters

ppValues [out]

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

pCount [out]

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 codeDescription
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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

None supported

Header

Sensorsapi.h

Library

Sensorsapi.lib

DLL

Sensorsapi.dll

See also

ISensor
SetEventInterest

 

 

Community Additions

ADD
Show:
© 2015 Microsoft