次の方法で共有


2.2.14.4 WBEMOBJECT_INSTANCE_NOCLASS Structure

The WBEMOBJECT_INSTANCE_NOCLASS structure MUST contain a CIM instance without the CIM class definition.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

dwSizeOfHeader

dwSizeOfData

classID (16 bytes)

...

...

ObjectData (variable)

...

dwSizeOfHeader (4 bytes): The size, in bytes, of the header, which MUST be 0x00000018.

dwSizeOfData (4 bytes): The size, in bytes, of the data that follows the header.

classID (16 bytes): The unique identifier of the CIM class type.

ObjectData (variable): Contains the string of bytes that represent the CIM instance, encoded as the EncodingUnitInstanceNoClass object block, as specified in [MS-WMIO] section 2.2.3. The CIM instance transmitted using EncodingUnitInstanceNoClass does not have a CurrentClass block (as specified in [MS-WMIO] section 2.2.13) to minimize the data transmitted because CurrentClass contains the same data for all the CIM instances.

The CurrentClass for another instance of the same CIM class is previously sent using the WBEMOBJECT_INSTANCE structure. To match the WBEMOBJECT_INSTANCE structure that has the CurrentClass block, the classID specified in WBEMOBJECT_INSTANCE_NOCLASS MUST be matched with the classID of WBEMOBJECT_INSTANCE. If a matching WBEMOBJECT_INSTANCE is found, the CurrentClass block in the WBEMOBJECT_INSTANCE MUST be used to encode or decode EncodingUnitInstanceNoClass. If no matching WBEMOBJECT_INSTANCE is found during decoding, it MUST be treated as an error. If no matching WBEMOBJECT_INSTANCE is found during encoding, the CIM instance MUST be encoded as a WBEMOBJECT_INSTANCE structure.