次の方法で共有


2.5.5.2.2 RAP NetServerEnum2Response

The RAPOutParams structure for the NetServerEnum2 Command MUST be as follows.


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

EntriesReturned

EntriesAvailable

EntriesReturned (2 bytes): A 16-bit unsigned integer that represents the number of fixed-size NetServerInfo0 or NetServerInfo1 data structures returned in the Data field of the SMB_COM_TRANSACTION response to the NetServerEnum2Request.

EntriesAvailable (2 bytes): A 16-bit unsigned integer that represents the total number of servers available on the server.

For error conditions and error responses, see section 3.2.5.12.

If the InfoLevel specified in the NetServerEnum2Request is 0x0000, the RAPOutData field of the SMB_COM_TRANSACTION response MUST be filled with an array of EntriesReturned NetServerInfo0 structures.

If the InfoLevel specified in the NetServerEnum2Request is 0x0001, the RAPOutData field of the SMB_COM_TRANSACTION response MUST be filled with an array of EntriesReturned NetServerInfo1 structures.