CThreadBase class (thrdbase.h)
[The CThreadBase 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 CThreadBase class is a base class that supplies the internal thread safety mechanisms for the WMI Provider Framework. This class is called internally.
Methods
The CThreadBase class has these methods.
CThreadBase::BeginRead The BeginRead method provides thread safety by indicating the beginning of a data read operation when the provider is built on the WMI Provider Framework. CThreadBase is called internally. |
CThreadBase::BeginWrite The BeginWrite method provides thread safety by indicating the beginning of a data write operation when the provider is built on the WMI Provider Framework. CThreadBase is called internally. |
CThreadBase::CThreadBase The CThreadBase::CThreadBase constructor initializes a new instance of CThreadBase. CThreadBase is called internally. |
CThreadBase::EndRead The EndRead method provides thread safety by indicating the end of a data read operation when the provider is built on the WMI Provider Framework. CThreadBase is called internally. |
CThreadBase::EndWrite The EndWrite method provides thread safety by indicating the end of a data write operation when the provider is built on the WMI Provider Framework. CThreadBase is called internally. |
CThreadBase::OnFinalRelease The OnFinalRelease method is a virtual function called by Release when the reference count reaches zero. CThreadBase is called internally. |
Remarks
The destructor for the class is CWbemGlueFactory::~CWbemGlueFactory.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | thrdbase.h (include FwCommon.h) |