2.2.4.42 SMB_COM_READ_ANDX (0x2E)

This command was introduced in the LAN Manager 1.0 dialect. Extensions to this command were added with the introduction of the NT LAN Manager dialect.

This command is used to read bytes from a regular file, a named pipe, or a directly accessible device such as a serial port (COM) or printer port (LPT). If the client negotiates the NT LAN Manager dialect or later, the client SHOULD use the 12-parameter words version of the request, as this version allows specification of 64-bit file offsets. This is the only read command that supports 64-bit file offsets.

The following are the commands that can follow an SMB_COM_READ_ANDX in an AndX chain: