次の方法で共有


2.5.6.1.1 RAP NetShareEnumRequest

The fields in the NetShareEnumRequest message MUST be set as follows.<14>


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

RAPOpcode

ParamDesc

...

DataDesc (variable)

...

RAPParams

RAPOpcode (2 bytes): MUST be set to 0x0000. For more information see section 2.5.1.

ParamDesc (6 bytes): MUST be set to "WrLeh". For more information see section 2.5.1.

DataDesc (variable): For more information, see section 2.5.1.

This field takes the following values.

Value

Meaning

"B13"

MUST be set to this value if InfoLevel is 0x0000.

"B13BWz"

MUST be set to this value if InfoLevel is 0x0001.

"B13BWzWWWzB9B"

MUST be set to this value if InfoLevel is 0x0002.

RAPParams (4 bytes): The RAPParams structure 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

InfoLevel

ReceiveBufferSize

InfoLevel (2 bytes): A 16-bit unsigned integer that specifies the information level for NetShareEnumRequest.

ReceiveBufferSize (2 bytes): A 16-bit unsigned integer that represents the maximum number of bytes of data that can be returned in the Data field of the SMB_COM_TRANSACTION response to the command.