MFGetTimerPeriodicity function (mfapi.h)

Retrieves the timer interval for the MFAddPeriodicCallback function.

Syntax

HRESULT MFGetTimerPeriodicity(
  [out] DWORD *Periodicity
);

Parameters

[out] Periodicity

Receives the timer interval, in milliseconds.

Return value

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

Return code Description
S_OK
The function succeeded.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfapi.h
Library Mfplat.lib
DLL Mfplat.dll

See also

Media Foundation Functions

Work Queues