共用方式為


2.2.2.3.1 UserProperty

The UserProperty structure is used to define a single name/value pair.


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

MaxVersion

MinVersion

Name (variable)

...

vt

unused (14 bytes)

...

...

Value (variable)

...

MaxVersion (2 bytes): The major version number for this UserProperty format; this field MUST be set to 0x0001.

MinVersion (2 bytes): The minor version number for this UserProperty format; this field MUST be set to 0x0001.

Name (variable): A LengthPrefixedName (section 2.2.1) containing the name of the UserProperty.

vt (2 bytes): The type of data contained in Value. It MUST be set to one of the following values:

vt value

Meaning

0x0008

A LengthPrefixedName.

0x0009

An OBJREF ([MS-DCOM] section 2.2.18) with an iid field that MUST be set to IID_IUnknown ([MS-DCOM] section 1.9).

0x000D

An OBJREF ([MS-DCOM] section 2.2.18) with an iid field that MUST be set to IID_IDispatch ([MS-OAUT] section 1.9).

unused (14 bytes): SHOULD be set to zero, and MUST be ignored upon receipt.<1>

Value (variable): MUST contain the data for this name/value pair, as specified by the vt field.