MFRemovePeriodicCallback function (mfapi.h)
Cancels a callback function that was set by the MFAddPeriodicCallback function.
Syntax
HRESULT MFRemovePeriodicCallback(
[in] DWORD dwKey
);
Parameters
[in] dwKey
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 code | Description |
---|---|
|
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
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 |