Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MFCreateSensorActivityMonitor function

Initializes a new instance of the IMFSensorActivityMonitor interface.

Syntax


HRESULT WINAPI MFCreateSensorActivityMonitor(
  _In_  IMFSensorActivitiesReportCallback *pCallback,
  _Out_ IMFSensorActivityMonitor          **ppActivityMonitor
);

Parameters

pCallback [in]

An implementation of the IMFSensorActivitiesReportCallback interface through which the system delivers IMFSensorActivitiesReport objects.

ppActivityMonitor [out]

A pointer to the new IMFSensorActivityMonitor.

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

The ppActivityMonitor parameter is null.

 

Requirements

Header

Mfidl.h

Library

Mfplat.lib

DLL

Mfplat.lib

 

 

Show:
© 2017 Microsoft