Compartir a través de


3.3.5.59.2 Receiving an NT_TRANSACT_IOCTL Request

The FunctionCode and FID are taken from the NT_TRANSACT_IOCTL (section 2.2.7.2) subcommand request. The input to the IOCTL is contained in the NT_Trans_Data.Data buffer of the request. The server MUST pass the IOCTL or FSCTL request to the underlying file system. If an error is returned from the underlying file system, the server MUST NOT send an error response message. Instead, the server MUST return a complete NT_TRANSACT_IOCTL response and MUST include the error in the Status field of the SMB_COM_NT_TRANSACT Response (section 2.2.4.62.2). The server MUST return the output buffer in the NT_Trans_Data.Data buffer of the NT_TRANSACT_IOCTL response.<349>