From 9dabeb003c6f38e7a5ca5d299921138a4ca5065b Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 8 Dec 2016 21:51:58 -0500 Subject: __tt_get_dos_drive_device_or_root_handle(): pass drive_letter by value. --- include/ntapi/nt_mount.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/ntapi/nt_mount.h b/include/ntapi/nt_mount.h index 8a7258a..982a24d 100644 --- a/include/ntapi/nt_mount.h +++ b/include/ntapi/nt_mount.h @@ -97,24 +97,24 @@ typedef struct _nt_dos_devices_name { typedef int32_t __stdcall ntapi_tt_get_dos_drive_device_handle( __out void ** hdevice, - __in wchar16_t * drive_letter); + __in wchar16_t drive_letter); typedef int32_t __stdcall ntapi_tt_get_dos_drive_root_handle( __out void ** hroot, - __in wchar16_t * drive_letter); + __in wchar16_t drive_letter); typedef int32_t __stdcall ntapi_tt_get_dos_drive_device_name( __in void * hdevice __optional, - __in wchar16_t * drive_letter __optional, + __in wchar16_t drive_letter __optional, __out nt_mount_dev_name * buffer, __in uint32_t buffer_size); typedef int32_t __stdcall ntapi_tt_get_dos_drive_mount_points( __in void * hdevice __optional, - __in wchar16_t * drive_letter __optional, + __in wchar16_t drive_letter __optional, __in nt_mount_dev_name * dev_name __optional, __out void * buffer, __in uint32_t buffer_size); -- cgit v1.2.3