Expand Minimize
This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.