search for: ioctl_storage_get_device_numb

Displaying 6 results from an estimated 6 matches for "ioctl_storage_get_device_numb".

2007 Mar 19
1
DeviceIoControl
...All, Just getting started using Linux and very impressed. I've written a Windows app that uses various DeviceIoControl codes that as far as I can see aren't implemented in Wine. They are: IOCTL_DISK_GET_DRIVE_GEOMETRY FSCTL_LOCK_VOLUME FSCTL_DISMOUNT_VOLUME IOCTL_DISK_GET_PARTITION_INFO IOCTL_STORAGE_GET_DEVICE_NUMBER IOCTL_DISK_GET_DRIVE_LAYOUT Anybody have any ideas how I can get the app running on Wine? Unfortunately, I still need the code to run on Windows too. The app only deals with disk drive devices. Is it possible to hack Wine to return the same data structures I would receive in Windows? Any possibl...
2007 Mar 19
1
DeviceIoControl support
Hi All, Just getting into using Linux and very impressed. I've written a Windows app that uses various DeviceIoControl codes that as far as I can see aren't implemented in Wine. They are: IOCTL_DISK_GET_DRIVE_GEOMETRY FSCTL_LOCK_VOLUME FSCTL_DISMOUNT_VOLUME IOCTL_DISK_GET_PARTITION_INFO IOCTL_STORAGE_GET_DEVICE_NUMBER IOCTL_DISK_GET_DRIVE_LAYOUT Anybody have any ideas how I can get the app running on Wine? Unfortunately, I still need the code to run on Windows too. The app only deals with disk drive devices. Is it possible to hack Wine to return the same data structures I would receive in Windows? If so, how...
2010 Sep 18
1
find bug:syslinux.exe
...R(sdn.DeviceNumber, sdn.PartitionNumber, opt.install_mbr, opt.activate_partition)) { ========================== function: ========================== BOOL GetStorageDeviceNumberByHandle(HANDLE handle, const STORAGE_DEVICE_NUMBER * sdn) { BOOL result = FALSE; DWORD count; if (DeviceIoControl(handle, IOCTL_STORAGE_GET_DEVICE_NUMBER, NULL, 0, (LPVOID) sdn, sizeof(*sdn), &count, NULL)) { result = TRUE; } else { error("GetDriveNumber: DeviceIoControl failed"); } return (result); } ========================== DeviceNumber!! On my Thinkpad T400 machine, it have Intel turbo memory. DeviceNumber is error value!!! in...
2008 Jan 25
0
Wine release 0.9.54
...d FPU context on exceptions. ntdll: Mac OS support for saving and restoring the extended FPU context on exceptions. ntdll: Restore typecast that is really needed. ntdll: Fall back to a server device ioctl for files with no associated fd. mountmgr.sys: Fix values returned for IOCTL_STORAGE_GET_DEVICE_NUMBER on emulated disks. winebuild: Reserve the space for the PE header in the .init section. winmm: Load only one sound driver at a time. wineboot: Add a --init option used when launched automatically at startup. wineboot: Delay import the dlls that are not needed for the defau...
2008 Jan 11
0
Wine release 0.9.53
...server: Make the registry parser more tolerant about malformed hex values. server: Output incorrectly-terminated strings in hex format. kernel32: Fail more gracefully in GetVolumeInformation for fake drive devices. mountmgr.sys: Implemented IOCTL_DISK_GET_DRIVE_GEOMETRY and IOCTL_STORAGE_GET_DEVICE_NUMBER. Spelling fixes in French man pages. Alistair Leslie-Hughes (17): msxml3: Return E_INVALIDARG when value is NULL. msxml3: Implement setNamedItem. msxml3: Implement createComment. msxml3: Implement createAttribute. msxml3: Add missing values for get_nodeName....
2007 Aug 24
0
Wine release 0.9.44
...apping a previously zero-size window. cabinet: Use the proper fcntl defines in the FDI_OPEN calls. cabinet: Use the correct create disposition in fdi_open. user32: Thread-local hooks need a module if they don't belong to the current process. ntdll: Flesh out the stub for IOCTL_STORAGE_GET_DEVICE_NUMBER. gdi32: Fix a few more places that use the wrong get/release function for DCs. winex11: Properly update the hdc in the GL context. winex11: Get rid of get_context_from_GLXContext. server: Validate the parents every time we paint a window instead of only on RDW_UPDATENOW....