Provider::Flush method

[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();

Parameters

This method has no parameters.

Return value

This method has no return values.

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.

Note  Because your provider may be called after a call to Flush, you must be prepared to re-create any items released by the call to Flush.
 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Provider.h (include FwCommon.h)

Library

FrameDyn.lib

DLL

FrameDynOS.dll;
FrameDyn.dll

 

 

Show: