2.3 Information Levels
The Remote Administration Protocol supports the concept of an information level (or level of detail) required for a particular response. An information level is an unsigned 16-bit integer. A Remote Administration Protocol client requests a particular information level in a request, and the server responds with a structure in the Data field of the response corresponding to that information level. Numerically higher information levels provide more detailed information than lower information levels for a particular request/response pair. The following table specifies the requests, the supported information level for each request, and the response structures returned for this protocol.
Command |
Information level |
Response structure |
---|---|---|
0x0000 |
||
|
0x0001 |
|
0x0000 |
NetServerInfo0 |
|
|
0x0001 |
NetServerInfo1 |
0x0000 |
NetServerInfo0 |
|
|
0x0001 |
NetServerInfo1 |
0x0000 |
||
|
0x0001 |
|
|
0x0002 |
|
0x0000 |
NetShareInfo0 |
|
|
0x0001 |
NetShareInfo1 |
|
0x0002 |
NetShareInfo2 |
0x0000 |
||
|
0x0001 |
|
|
0x0002 |
PrintQueue1, PrintJobInfo1 |
|
0x0003 |
|
|
0x0004 |
PrintQueue3, PrintJobInfo2 |
|
0x0005 |
|
0x0000 |
PrintQueue0 |
|
|
0x0001 |
PrintQueue1 |
|
0x0002 |
PrintQueue1, PrintJobInfo1 |
|
0x0003 |
PrintQueue3 |
|
0x0004 |
PrintQueue3, PrintJobInfo2 |
|
0x0005 |
PrintQueue5 |
0x0001, 0x0003 |
|
|
0x0000 |
||
|
0x0001 |
PrintJobInfo1 |
|
0x0002 |
PrintJobInfo2 |
|
0x0003 |
|
0x0000 |
||
|
0x0001 |
|
|
0x0002 |
|
|
0x000A |
|
|
0x000B |
|
0x000A |
||
0x0001 |
||
0x0001 |