Provider::Flush method (provider.h)
[The Provider class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]
The Flush method is called by the provider framework to delete all unnecessary memory in use by the provider. Because your provider may be called again after a call to Flush, you must re-create any objects released by Flush. If you override this method, you should call the parent object's Flush method to release any framework memory associated with your provider.
Syntax
void Flush();
Return value
None
Remarks
Override this method only if your framework provider allocates memory that can be flushed. If your provider chooses to override, include a call to Provider::Flush in the provider's implementation.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | provider.h (include FwCommon.h) |
Library | FrameDyn.lib |
DLL | FrameDynOS.dll; FrameDyn.dll |