Win32_ClassicCOMClassSetting class
The Win32_ClassicCOMClassSetting WMI class represents the settings of a Component Object Model (COM) component.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.
Syntax
[Dynamic, Provider("CIMWin32"), UUID("{E5D8A562-F6C0-11d2-B35E-00105A1F8569}"), AMENDMENT]
class Win32_ClassicCOMClassSetting : Win32_COMSetting
{
string Caption;
string Description;
string SettingID;
string AppID;
string AutoConvertToClsid;
string AutoTreatAsClsid;
string ComponentId;
boolean Control;
string DefaultIcon;
string InprocHandler;
string InprocHandler32;
string InprocServer;
string InprocServer32;
boolean Insertable;
boolean JavaClass;
string LocalServer;
string LocalServer32;
string LongDisplayName;
string ProgId;
string ShortDisplayName;
string ThreadingModel;
string ToolBoxBitmap32;
string TreatAsClsid;
string TypeLibraryId;
string Version;
string VersionIndependentProgId;
};
Members
The Win32_ClassicCOMClassSetting class has these types of members:
Properties
The Win32_ClassicCOMClassSetting class has these properties.
-
AppID
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}[AppID]")
Globally unique identifier (GUID) for the COM application using this COM component.
-
-
AutoConvertToClsid
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\AutoConvertTo[Default]")
GUID of the COM class to which this COM component will automatically be converted.
-
-
AutoTreatAsClsid
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\AutoTreatAs[Default]")
GUID for the COM component that will automatically emulate instances of this class.
-
-
Caption
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MaxLen (64)
Short textual description of the current object.
This property is inherited from CIM_Setting.
-
-
ComponentId
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: Key, MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}[Default]")
GUID of this COM component.
-
-
Control
-
-
Data type: boolean
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\Control")
COM component is an OLE control.
-
-
DefaultIcon
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\DefaultIcon[Default]")
Path to the executable file and resource identifier of the default icon used by the class.
-
-
Description
-
-
Data type: string
-
Access type: Read-only
Textual description of the current object.
This property is inherited from CIM_Setting.
-
-
InprocHandler
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\InprocHandler[Default]")
Full path including filename or only filename to a 16-bit custom handler for the COM component. The provider does not always return the full path.
-
-
InprocHandler32
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\InprocHandler32[Default]")
Full path including filename or only filename to a 32-bit custom handler for the COM component. The provider does not always return the full path.
-
-
InprocServer
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\InprocServer[Default]")
Full path including filename or only filename to a 16-bit in-process server DLL for this COM component. The provider does not always return the full path.
-
-
InprocServer32
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\InprocServer32[Default]")
Full path including filename or only filename to a 32-bit in-process server DLL for this COM component. The provider does not always return the full path.
-
-
Insertable
-
-
Data type: boolean
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\Insertable")
COM component can be inserted into OLE container applications.
-
-
JavaClass
-
-
Data type: boolean
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\InprocServer32[JavaClass]")
COM component is a Java component.
-
-
LocalServer
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\LocalServer[Default]")
Full path including filename or only filename to a 16-bit local server application. The provider does not always return the full path.
-
-
LocalServer32
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\LocalServer32[Default]")
Full path including filename or only filename to a 32-bit local server application. The provider does not always return the full path.
-
-
LongDisplayName
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\AuxUserType\\3[Default]")
Full name of the COM application. It is used in areas such as the Results field of the OLE Paste Special dialog box.
-
-
ProgId
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\ProgID[Default]")
Programmatic identifier associated with the COM component. The format of a ProgID is <Vendor.<Component.<Version. This identifier is not guaranteed to be unique.
-
-
SettingID
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MaxLen (256)
Identifier by which the current object is known.
This property is inherited from CIM_Setting.
-
-
ShortDisplayName
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\AuxUserType\\2[Default]")
Short name of the COM application (used in menus and pop-ups).
-
-
ThreadingModel
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\InprocServer32[ThreadingModel]")
Threading model used by in-process COM classes. 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.
The Apartment model specifies that components may be entered by one and only one thread. Common data held by these types of object servers must be protected against thread collisions because the object server supports multiple components. Each component can be entered simultaneously by different threads.
The Free model specifies that 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.
When Both is specified, components 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.
The values are:
- "Apartment"
- "Free"
- "Both"
-
-
Apartment ("Apartment")
-
Free ("Free")
-
Both ("Both")
ToolBoxBitmap32
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\ToolBoxBitmap32[Default]")
Module name and resource identifier for a small (16x16) 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
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\TreatAs[Default]")
GUID of a COM component that can emulate instances of this component.
TypeLibraryId
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\TypeLib[Default]")
GUID for the type library for this COM component.
Version
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\Version[Default]")
Version number of this COM class.
VersionIndependentProgId
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MappingStrings ("Win32Registry|HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{GUID}\\VersionIndependentProgId[Default]")
Program identifier that is consistent for all versions of the same program.
Remarks
The Win32_ClassicCOMClassSetting class is derived from Win32_COMSetting.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\CIMV2 |
MOF |
|
DLL |
|