[Wine] Re: seatools for DOS

pal_gene wineforum-user at winehq.org
Mon Apr 21 06:01:04 CDT 2008


Code:
0019:Call KERNEL32.CreateFileA(001382e8 "\\\\.\\A:",40000000,00000001,00000000,00000003,00000000,00000000) ret=0040320f
0019:trace:file:CreateFileW L"\\\\.\\A:" GENERIC_WRITE FILE_SHARE_READ  creation 3 attributes 0x0
0019:trace:file:RtlDosPathNameToNtPathName_U (L"\\\\.\\A:",0x7dbf7810,(nil),(nil))
0019:trace:file:RtlGetFullPathName_U (L"\\\\.\\A:" 520 0x7dbf7554 (nil))
0019:trace:heap:RtlAllocateHeap (0x110000,00000002,0000001c): returning 0x141680
0019:trace:ntdll:NtCreateFile handle=0x7dbf7818 access=40000000 name=L"\\??\\A:" objattr=00000040 root=(nil) sec=(nil) io=0x7dbf7808 alloc_size=(nil)
attr=00000000 sharing=00000001 disp=1 options=00000050 ea=(nil).0x00000000
0019:trace:heap:RtlAllocateHeap (0x110000,00000002,0000001f): returning 0x144700
0019:trace:heap:RtlFreeHeap (0x110000,00000002,0x144700): returning TRUE
0009: get_window_property( window=0x10028, atom=0000, name=L"PropertySheetInfo" )
0009: get_window_property() = 0 { handle=(nil) }
0019: open_file_object( access=40000000, attributes=00000040, rootdir=(nil), sharing=00000001, options=00000050, filename=L"\\??\\A:" )
0019: open_file_object() = 0 { handle=0x6c }
0019:trace:heap:RtlFreeHeap (0x110000,00000002,0x141680): returning TRUE
0019:trace:file:CreateFileW returning 0x6c
0019:Ret  KERNEL32.CreateFileA() retval=0000006c ret=0040320f
0019:CALL MFC42.800() ret=00403282
0019:Call KERNEL32.InterlockedDecrement(001382dc) ret=5f4018eb
0019:Ret  KERNEL32.InterlockedDecrement() retval=00000000 ret=5f4018eb
0019:RET  MFC42.800() retval=00000000 ret=00403282
0019:Call KERNEL32.DeviceIoControl(0000006c,00070000,00000000,00000000,7dbf7930,00000018,7dbf792c,00000000) ret=00402c29
0019:trace:vxd:DeviceIoControl (0x6c,70000,(nil),0,0x7dbf7930,24,0x7dbf792c,(nil))
0019:trace:ntdll:NtDeviceIoControlFile (0x6c,(nil),(nil),(nil),0x7dbf7850,0x00070000,(nil),0x00000000,0x7dbf7930,0x00000018)
0019:trace:cdrom:CDROM_DeviceIoControl 0x6c IOCTL_CODE_70000 (nil) 0 0x7dbf7930 24 0x7dbf7850



i just have same probs too.
this is trace when accessing floppy device direct through DeviceIoControl, that like program writing disk image to floppy on windows.
i guess it come from failed detect MEDIA TYPE, to prepare.
it seems using CDROM_DeviceIoContol, but i'm not sure wine's internal.

how setup the floppy device correctly?







More information about the wine-users mailing list