Export (0) Print
Expand All
Expand Minimize

MFRemovePeriodicCallback function

Cancels a callback function that was set by the MFAddPeriodicCallback function.

Syntax


HRESULT MFRemovePeriodicCallback(
  _In_  DWORD dwKey
);

Parameters

dwKey [in]

Key that identifies the callback. This value is retrieved by the MFAddPeriodicCallback function.

Return value

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

Return codeDescription
S_OK

The function succeeded.

 

Remarks

The callback is dispatched on another thread, and this function does not attempt to synchronize with the callback thread. Therefore, it is possible for the callback to be invoked after this function returns.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfapi.h

Library

Mfplat.lib

DLL

Mfplat.dll

See also

Media Foundation Functions
Work Queues

 

 

Community Additions

ADD
Show:
© 2014 Microsoft