2.2.6 ObjectFlags

The ObjectFlags block is used to classify the currently encoded object.

 ObjectFlags = OCTET

The octet MUST be a combination of one or more of the following values.

 Value

 Meaning

0x01

The object is a CIM class. This flag is mutually exclusive with 0x02. If this flag is set, the Encoding (section 2.2.10) block contains ClassType.

0x02

The object is a CIM instance. This flag is mutually exclusive with 0x01. If this flag is set, the Encoding (section 2.2.10) block contains InstanceType.

0x04

If this flag is set, the object has a Decoration block.

0x10

If this flag is set, the object is a prototype of the result object for the query, as specified in [MS-WMI] (section 2.2.4.1). This flag MUST be used only in combination with the 0x01 flag. This flag MUST NOT be used when returning IWbemClassObject, which is not represented as a Prototype Result Object.

0x40

If this flag is set, one or more key properties of the class are not present in the Prototype Result Object. This flag MUST be used only in combination with the 0x01 and 0x10 flags.

ObjectFlags MUST have either the 0x01 or the 0x02 bit set. They are mutually exclusive; both MUST NOT be set simultaneously.