Partager via


2.5.7.1.1 RAP NetPrintQEnumRequest

The fields in the NetPrintQEnumRequest message MUST be set as follows.<18>


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 (14 bytes)

...

...

RAPParams

AuxDesc (18 bytes)

...

...

...

RAPOpcode (4 bytes): MUST be set to 0x0045. 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 (14 bytes): The value of DataDesc MUST be set according to the value of InfoLevel.<19>

DataDesc Value

InfoLevel Value

"B13"

0x0000

"B13BWWWzzzzzWW"

0x0001

"B13BWWWzzzzzWN"

0x0002

"zWWWWzzzzWWzzl"

0x0003

"zWWWWzzzzWNzzl"

0x0004

"z"

0x0005

For more information, see section 2.5.1.

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 NetPrintQEnumRequest.

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.

AuxDesc (18 bytes): MUST be set to "WB21BB16B10zWWzDDz".