次の方法で共有


2.2.14.1 WBEM_DATAPACKET_OBJECT Structure

The WBEM_DATAPACKET_OBJECT MUST contain the CIM class definition and CIM instances.


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

bObjectType

Object (variable)

...

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

dwSizeOfData (4 bytes): The size, in bytes, of the data following the WBEM_DATAPACKET_OBJECT header.

bObjectType (1 byte): The type of data in the data packet. The type MUST take one of the following specified values.

Value

Meaning

1

Object is type WBEMOBJECT_CLASS.

Structure contains the complete CIM Class definition.

2

Object is type WBEMOBJECT_INSTANCE.

Structure contains the complete CIM Instance definition.

3

Object is type WBEMOBJECT_INSTANCE_NOCLASS.

Structure contains CIM Instance without the CIM Class definition.

Object (variable): The CIM object carried into the WBEM_DATAPACKET_OBJECT, having dwSizeOfData bytes. The embedded CIM object MUST match the selector field bObjectType.