CThreadBase
Collapse the table of content
Expand the table of content

CThreadBase class

[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.

CThreadBase has these types of members:

Enumerations

The CThreadBase class has these enumerations.

EnumerationDescription
FlagDefs

Specifies which flags are valid for the specified type of operation. This enumeration is used by the Provider::ValidateFlags method.

 

Methods

The CThreadBase class has these methods.

MethodDescription
BeginRead

Provides thread safety for WMI provider data access when the provider is built on the WMI Provider Framework.

BeginWrite

Provides thread safety for WMI provider operations that write data when the provider is built on the WMI Provider Framework.

CThreadBase

Initializes a new instance of CThreadBase.

EndRead

Provides thread safety by indicating the end of a data read operation when the provider is built on the WMI Provider Framework.

EndWrite

Provides thread safety by indicating the end of a data write operation when the provider is built on the WMI Provider Framework.

OnFinalRelease

Virtual function called by Release when the reference count reaches zero.

 

Remarks

The destructor for the class is CWbemGlueFactory::~CWbemGlueFactory.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

ThrdBase.h (include FwCommon.h)

Library

FrameDyn.lib

DLL

FrameDynOS.dll;
FrameDyn.dll

 

 

Show:
© 2016 Microsoft