Freigeben über


IBDA_UserActivityService::GetUserActivityInterval method (bdaiface.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

Gets the interval that a Media Sink Device (MSD) in a Protected Broadcast Driver Architecture (PBDA) media graph waits before calling the UserActivityDetected method after the MSD detects user activity. This interval is known as the user activity interval. An MSD must call this method before it calls UserActivityDetected for the first time, but does not need to call this method thereafter while the graph is running.

Syntax

HRESULT GetUserActivityInterval(
  [out] DWORD *pdwActivityInterval
);

Parameters

[out] pdwActivityInterval

Gets the user activity interval, in seconds.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header bdaiface.h

See also

IBDA_UserActivityService