Home Reference WMI Reference root CIMV2 Win32_ClassicCOMClassSetting
 

Win32_ClassicCOMClassSetting

The Win32_ClassicCOMClassSetting class represents the settings of a COM component.

Quick Start

Properties

In this WMI class, all WMI properties are read-only. You can only read values but not change them.

ActivationObjectName

Data type String

AppID

Data type String

The AppID property contains a Globally Unique Identifier (GUID) for the COM application using this COM component.

AutoConvertToClsid

Data type String

The AutoConvertToClsid property contains the Globally Unique Identifier (GUID)of the COM class to which this COM component will automatically be converted.

AutoTreatAsClsid

Data type String

The AutoTreatAsClsid property contains a Globally Unique Identifier (GUID) for the COM component that will automatically emulate instances of this class.

Caption

Data type String

A short textual description (one-line string) of the CIM_Setting object.

ComponentId

Data type String

The ComponentId property contains the Globally Unique Identifier (GUID) of this COM component.

Control

Data type Boolean

The Control property indicates whether this COM component is an OLE control.

DefaultIcon

Data type String

The DefaultIcon property contains the path to the executable file and the resource identifier of the default icon used by the class.

Description

Data type String

A textual description of the CIM_Setting object.

InprocHandler

Data type String

The InprocHandler property contains the full path to a 16-bit custom handler for the COM component.

InprocHandler32

Data type String

The InprocHandler32 property contains the full path to a 32-bit custom handler for the COM component.

InprocServer

Data type String

The InprocServer property contains the full path to a 16-bit in-process server DLL for this COM component.

InprocServer32

Data type String

The InprocServer32 property contains the full path to a 32-bit in-process server DLL for this COM component.

Insertable

Data type Boolean

The Insertable property indicates whether the COM component can be inserted into OLE container applications.

JavaClass

Data type Boolean

The JavaClass property indicates whether the COM component is a Java component.

LocalServer

Data type String

The LocalServer property contains the full path to a 16-bit local server application.

LocalServer32

Data type String

The LocalServer32 property contains the full path to a 32-bit local server application.

LongDisplayName

Data type String

The LongDisplayName property specifies the COM application’s full name. It is used in areas such as the Results field of the OLE Paste Special dialog box.

ProductKey

Data type String

ProgId

Data type String

The ProgId property contains a programmatic identifier associated with the COM component. The format of a ProgID is ... This identifier is not guaranteed to be unique.

SettingID

Data type String

The identifier by which the CIM_Setting object is known.

ShortDisplayName

Data type String

The ShortDisplayName property specifies the COM application’s short name (used in menus and pop-ups).

ThreadingModel

Data type String

The ThreadingModel property specifies the threading model used by in-process COM classes, including:

Apartment – components may be entered by one and only one thread. Common data held by these kinds of object servers must be protected against thread collisions since the object server supports multiple components. Each component can be entered simultaneously by different threads.

Free – components place no restrictions on which threads or how many threads can enter the object. The object cannot contain thread-specific data and must protect its data from simultaneous access by multiple threads. Free-threaded components however, cannot be accessed by apartment threads directly, and calls to them are marshaled across from the client apartment.

Both – components that can be used in either apartment-threaded or free-threaded modes. These components can be entered by multiple threads, protect their data from thread collisions, and do not contain thread-specific data.

If this property is NULL, then no threading model is used. The component is created on the main thread of the client and calls from other threads are marshaled to this thread. Please refer to the Platform Software Development Kit for information on the various threading models.

'Apartment','Free','Both'

ToolBoxBitmap32

Data type String

The ToolBoxBitmap32 property indicates the module name and resource ID for a small (16 x 16) bitmap used for the face of a toolbar or toolbox button. Used when the COM component is an OLE or ActiveX control

TreatAsClsid

Data type String

The TreatAsClsid property contains a Globally Unique Identifier (GUID), of a COM component that can emulate instances of this component.

TypeLibraryId

Data type String

The TypeLibraryId property contains a Globally Unique Identifier (GUID) for the Type-Library for this COM component.

Version

Data type String

The Version property contains the version number of this COM class.

VersionIndependentProgId

Data type String

The VersionIndependentProgId property contains a program identifier that is consistent for all versions of the same program.

Methods

Examples

See Also

Help and Questions

  Community Content

You are cordially invited to add knowledge to this page. If you have sample code or additional information related to this WMI class, please share it. Use the comment form to send your information. We will edit and incorparate it into the reference library. Thank you!

Please do not use the comment form to submit questions. If you have questions or need assistance, visit our free forum: Help me with WMI.

Content last updated: 2013-12-27 12:29:03 (UTC).

Facebooktwittergoogle_pluspinterestlinkedinFacebooktwittergoogle_pluspinterestlinkedin