IWbemHiPerfProvider::StopRefreshing method (wbemprov.h)
The IWbemHiPerfProvider::StopRefreshing method stops refreshing the object or enumerator corresponding to the supplied identifier. The WMI Refresher calls this method in response to a client request to IWbemConfiguratorRefresher::Remove. The provider should check the objects and enumerators associated with the refresher for a matching identifier. When the provider finds an identifier, the provider should remove or release the enumerator.
HRESULT StopRefreshing( [in] IWbemRefresher *pRefresher, [in] long lId, [in] long lFlags );
An integer containing a refresher identifier that uniquely identifies the object to stop refreshing.
An integer containing the flags.
This method returns an HRESULT indicating the status of the method call. The following list lists the value contained within an HRESULT.
It is not necessary to call StopRefreshing to clean up a refresher. It is sufficient simply to delete the refresher; that is, to release all references to it. Deleting the refresher causes the cleanup of all objects and enumerators within it.
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|
|Header||wbemprov.h (include Wbemidl.h)|
Making an Instance Provider into a High-Performance Provider