mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[channes,rdpdr] use NTSTATUS for IoStatus
the IoStatus will hold NTSTATUS values but is defined unsigned in [MS-RDPEFS] whereas NTSTATUS is defined as signed integer. Ignore the spec here and just treat it as signed (eliminates warnings and twos complement will ensure the values are equal in bit representation)
This commit is contained in:
@@ -69,7 +69,7 @@ typedef struct
|
||||
} IRP_THREAD_DATA;
|
||||
|
||||
static void close_terminated_irp_thread_handles(SERIAL_DEVICE* serial, BOOL forceClose);
|
||||
static INT32 GetLastErrorToIoStatus(SERIAL_DEVICE* serial)
|
||||
static NTSTATUS GetLastErrorToIoStatus(SERIAL_DEVICE* serial)
|
||||
{
|
||||
/* http://msdn.microsoft.com/en-us/library/ff547466%28v=vs.85%29.aspx#generic_status_values_for_serial_device_control_requests
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user