Partager via


2.2.19.1 DUALSTRINGARRAY (Packet Version)


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

wNumEntries

wSecurityOffset

StringBinding (variable)

...

nullterm1

SecBinding (variable)

...

nullterm2

wNumEntries (2 bytes):  The (unsigned) number of unsigned shorts (that is, 2-octet units) from the first entry in the StringBinding array to the end of the buffer.

wSecurityOffset (2 bytes):  The (unsigned) number of unsigned shorts from the first entry in the StringBinding array to the first entry in the SecBinding array.

StringBinding (variable): An array of one or more STRINGBINDING structures that SHOULD be ordered in decreasing order of preference by the object server.<9>

nullterm1 (2 bytes): This MUST contain zero to denote the end of the array of STRINGBINDING entries.

SecBinding (variable): An array of one or more SECURITYBINDING structures that SHOULD be ordered in decreasing order of preference by the object server.

nullterm2 (2 bytes): This MUST contain zero to denote the end of the array of SECURITYBINDING entries.

The smallest possible DUALSTRINGARRAY structure consists of wNumEntries=0x0004 and wSecurityOffset=0x0002 followed by an array of 4 unsigned shorts. Each array element has a value 0x0000.