Re: [PATCH] shell32: IShellDispatch_NameSpace: Special-folder argument shouldn't be negative.

2011-11-03 Thread Alexander Morozov
-1 in this test is only a sample of a bad constant. Do you sure that S_OK should be returned for any positive argument?

Re: USB Osciloscope

2011-03-10 Thread Alexander Morozov
> wine-1.0.1 Try to use 1.3.15 with a patch for it. > phoenox@firebird:~/.wine/drive_c/DSO8000$ WINEDEBUG=+winedevice, > +ntoskrnl,+usbhub wine ezusb.sys Do not run the driver manually. Put it in windows/system32/drivers and run your program under WINE, the driver will be loaded if your USB dev

Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424

2011-01-17 Thread Alexander Morozov
> I have winedumped all the .sys files and tared them together here: > http://goo.gl/bEu03 Drivers import smclib.sys and wmilib.sys which are not implemented. And I doubt that they will be implemented soon (or ever). Also winscard way seems to me to be more right in this case.

Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424

2011-01-15 Thread Alexander Morozov
Hi, Can you show an output of winedump -x for installed drivers? In okenadmin.exe output there are fixme:winscard: messages. May be this patch can be useful: http://www.idrix.fr/Root/SCard4Wine/winscard.tar.gz Thanks, Alexander

Shell.Application

2010-12-22 Thread Alexander Morozov
Some Windows programs use Shell.Application object (sample: http://bugs.winehq.org/show_bug.cgi?id=8987). This object has IShellDispatch, IShellDispatch2, IShellDispatch3, ... interfaces (http://www.com.it-berater.org/COM/windows_shell/interfaces/IShellDispatch.htm). If IShellDispatch is suffi

Re: crypt32/tests: Add tests for decoding enveloped messages.

2010-11-23 Thread Alexander Morozov
Thank you, I looked at test results and sent some patches. > Could you have a look? If you need me to test something on my boxes > (pv-winme and pv-nt4srvr) let me know (not all testbot machines fail here).

[do not apply] Re: crypt32/tests: Add tests for enveloped messages.

2010-11-01 Thread Alexander Morozov
Please do not apply this patch. Use [try 2]

Re: Fwd: Unable to Get Sony IC Recorder (Digital Voice Editor 3.3.01) to Work with 32-bit Wine (Windows Emulator) in 64-bit Fedora 11 x86_64 Linux

2010-09-17 Thread Alexander Morozov
> I have attached DVEdit.log.txt. In addition to problem with loading npf.sys, icdusb2.sys tries to use KeInitializeDeviceQueue which is not implemented and crashes.

Re: Fwd: Unable to Get Sony IC Recorder (Digital Voice Editor 3.3.01) to Work with 32-bit Wine (Windows Emulator) in 64-bit Fedora 11 x86_64 Linux

2010-09-17 Thread Alexander Morozov
> err:module:import_dll Library NDIS.SYS (which is needed by > L"C:\\windows\\system32\\drivers\\npf.sys") not found > err:winedevice:ServiceMain driver L"npf" failed to load Likely icdusb2.sys is not the only driver needed for your device. And other drivers installed by DVESetup_EN.exe are not w

Re: Fwd: Unable to Get Sony IC Recorder (Digital Voice Editor 3.3.01) to Work with 32-bit Wine (Windows Emulator) in 64-bit Fedora 11 x86_64 Linux

2010-09-17 Thread Alexander Morozov
Dear Teo En Ming, Most likely something is not implemented in wine and usb patch and it is not so fast to fix it. You can run wineserver -k WINEDEBUG=+winedevice,+ntoskrnl,+usbhub,+setupapi,+file wine your_program &> log and try to find what is bad in log Best regards, Alexander Moro

Re: USB Device Support

2010-09-14 Thread Alexander Morozov
> Before I go off and try to update your USB device support for the latest > Wine release, are you continuing to maintain this code current to the Wine > Development and Wine Stable trunks? I will update patches. Thanks, Alexander

Re: kernel32: Prevent second loading of a library with specified path.

2009-06-09 Thread Alexander Morozov
> I think we already create our own dll's for testing purposes, see > kernel32/tests/loader.c (test_Loader()). > > Will that suffice? Thanks. This is what is need.

Re: kernel32: Prevent second loading of a library with specified path.

2009-06-09 Thread Alexander Morozov
> This should most likely be done in ntdll. Also please add tests for > these different cases. For tests should create dll which can be loaded. But I do not know how to implement this in tests on WINE. I tried to copy and rename .exe.so module but it seems like the problem is existing only for P

Re: Status of "USB device support in wine"

2009-04-27 Thread Alexander Morozov
> - The files from ftp://ftp.etersoft.ru/pub/people/amorozov/usb/current/ miss > lines in configure.ac to trigger the Makefile generation for usbd.sys and > usbhub.sys. The part which is generated by tools/make_makefiles is not included in these patches. > Both dll/drivers pair (libusb0.dll/li

Re: Loading of Mingw Provided .sys files

2009-04-08 Thread Alexander Morozov
> trying to use the supplied or the mingw (cross) compiled libusb0.sys from > sourceforge with the USB enabled tree from > http://git.etersoft.ru/people/lav/packages/wine.git > > loading libusb0.sys fails: Drivers built with WinDDK is not page-aligned and (nt->OptionalHeader.SectionAlignment <=

Re: Status of USB driver support?

2009-02-20 Thread Alexander Morozov
On Thursday 19 February 2009 16:55:20 emiliano esposito wrote: > Unhandled exception: unimplemented function > usbd.sys.USBD_GetUSBDIVersion called in 32-bit code (0x7ee2e923) You can try attached patch From b7fad82130608126244ba2aee3f91b3337229fb3 Mon Sep 17 00:00:00 2001 From: Alexander M

Re: Status of USB driver support?

2009-02-19 Thread Alexander Morozov
> Unhandled exception: unimplemented function > usbd.sys.USBD_GetUSBDIVersion called in 32-bit code (0x7ee2e923) Should implement USBD_GetUSBDIVersion to fix this.

Re: Status of USB driver support?

2009-02-18 Thread Alexander Morozov
> Now I kindly ask: is there a simple way to integrate the official branch > with just the USB patches? You can use patches for wine-1.1.15 and git am. > If that USB Key is not of a supportable kind, then I apologize for asking. I think you should try.

Re: Status of USB driver support?

2009-02-16 Thread Alexander Morozov
This patch is made, first of all, for running applications protected with USB keys. For using native USB driver should copy HKLM\System\CurrentControlSet\Enum\USB\Vid_&Pid_ and HKLM\System\CurrentControlSet\Services\ from Windows registry. The driver should be put in the directory specified b

Re: Status of USB driver support?

2009-02-16 Thread Alexander Morozov
Minor updated patches: ftp://ftp.etersoft.ru/pub/people/amorozov/usb/1.1.15/0001-Add-support-of-native-Windows-drivers-for-USB-tokens.txt ftp://ftp.etersoft.ru/pub/people/amorozov/usb/1.1.15/0002-Re-generate-some-files.txt

Support of native Windows drivers for USB tokens

2009-01-20 Thread Alexander Morozov
On Tuesday 07 October 2008 15:02:23 Alexandre Julliard wrote: > Your design needs a lot more thought. You can't add all these > Wine-specific modules, or make winedevice special-case usb devices, or > poll the server for the add_device request like you do. All this needs > to be properly integrated

[try2] ntoskrnl.exe: Implement Io{Allocate, Get}DriverObjectExtension.

2008-12-17 Thread Alexander Morozov
Please, use this patch instead of previous "ntoskrnl.exe: Implement Io{Allocate,Get}DriverObjectExtension." From b5441d22fe51640849436b563ca3ab6c9a80c1a5 Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Wed, 17 Dec 2008 12:44:46 +0300 Subject: [PATCH] ntoskrnl.exe: Implement I

Re: hal: add stub for ExAcquireFastMutex

2008-12-09 Thread Alexander Morozov
On Tuesday 09 December 2008 03:52:01 ricardo filipe wrote: > this is for http://bugs.winehq.org/show_bug.cgi?id=12628 This is fastcall function. It should be defined like KfAcquireSpinLock.

USB device drivers support

2008-12-01 Thread Alexander Morozov
Hello, I sent patch "Add support of WDM drivers for USB devices." in October and received such reply from Alexandre Julliard: > Your design needs a lot more thought. You can't add all these > Wine-specific modules, or make winedevice special-case usb devices, or > poll the server for the add_dev

NT driver address space

2008-11-18 Thread Alexander Morozov
n kernel address space. What is better decision? Thanks, Alexander Morozov

Re: [try 2] [6/9] Add usbd.sys.

2008-10-07 Thread Alexander Morozov
> Patchwatcher doesn't know what to do with partial > resends yet (eventually it will ignore them). > At the moment I have to delete them manually, else > patchwatcher gets confused and waits for the rest of the series. > - Dan I looked at patchwatcher results. Making patch [5/9] failed because af

Re: [6/9] Add usbd.sys.

2008-10-06 Thread Alexander Morozov
> 2008/10/6 Alexander Morozov <[EMAIL PROTECTED]>: > > +@ stdcall [EMAIL PROTECTED](ptr ptr) > > USBD_CreateConfigurationRequestEx > > ... > > > +@ stdcall [EMAIL PROTECTED](ptr ptr long long > > long long long) USBD_ParseConfigurationDescriptorEx +@

ntoskrnl.exe tests

2008-09-02 Thread Alexander Morozov
Hello, What should modify in these patches that they can be accepted: [try 5] [1/4] dlls/Maketest.rules.in: Add support of building various resources for cross and usual tests http://www.winehq.org/pipermail/wine-patches/2008-August/060204.html [try 5] [2/4] Add tests for ntoskrnl.exe http://www

Re: ntoskrnl tests - where to write them?

2008-07-21 Thread Alexander Morozov
> I have been looking at writing a couple of tests for ntoskrl functions > but I have had difficulty locating a suitable place. It sort of looks > like ntdll/tests is the place but it is not clear. Is there a guide > for locating this one? > > Jeff Now I am working on ntoskrnl tests. I am

Re: Support of USB hardware tokens

2008-07-08 Thread Alexander Morozov
> Yes, add conformance tests for the new ntoskrnl functions > and usbd.sys, and break the patch up a lot... Conformance tests should consist of a driver and a program to load it. I do not know other method to call functions from ntoskrnl.exe and usbd.sys on Windows. But I have a problem with bui

Re: Support of USB hardware tokens

2008-07-07 Thread Alexander Morozov
> Split it at least into the sub driver/dll parts. > > You can leave out the "configure" part, it will be regenerated form > configure. ac anyway. Same for dlls/Makefile.in > > The ntoskrnl changes might break the already working copy protection > drivers, so either try them yourself after the patc

Support of USB hardware tokens

2008-07-07 Thread Alexander Morozov
make some changes? Thanks, Alexander Morozov

wininet: fix crash

2008-06-25 Thread Alexander Morozov
Changelog: fix InternetErrorDlg crash From 6ab5655ebe26611387c2586b06fad78c16de7239 Mon Sep 17 00:00:00 2001 From: Alexander Morozov <[EMAIL PROTECTED]> Date: Wed, 25 Jun 2008 19:05:40 +0400 Subject: [PATCH] wininet: fix crash --- dlls/wininet/dialogs.c |3 +++ dlls/wininet

wininet/tests: add InternetErrorDlg tests

2008-06-25 Thread Alexander Morozov
Changelog: Add InternetErrorDlg tests I ran these tests on Win98 and WinXP From 687f7d365b97d1da95db222e5bd5bbdf5c62c76f Mon Sep 17 00:00:00 2001 From: Alexander Morozov <[EMAIL PROTECTED]> Date: Wed, 25 Jun 2008 19:01:42 +0400 Subject: [PATCH] wininet/tests: add InternetErrorDlg tests ---

wininet: InternetErrorDlg should return ERROR_NOT_SUPPORTED if error is not supported

2008-06-25 Thread Alexander Morozov
Changelog: InternetErrorDlg should return ERROR_NOT_SUPPORTED if error is not supported From b89937296efd5a45772027f07b2fdbf80b5f480d Mon Sep 17 00:00:00 2001 From: Alexander Morozov <[EMAIL PROTECTED]> Date: Wed, 25 Jun 2008 19:07:34 +0400 Subject: [PATCH] wininet: InternetErrorDlg should

Re: unknown device issues after running winetest

2008-05-23 Thread Alexander Morozov
> I just had a check for the testRegisterAndGetDetail test on Vista (dunno > about the other tests and platforms yet). > > I added the SetupDiRemoveDevice (as was suggested by Alexander) at the end > of this test. > > On a clean registry this works out fine (one DeviceClasses key is left but > that

Re: unknown device issues after running winetest

2008-05-23 Thread Alexander Morozov
> Can someone confirm that after running the devinst tests, the registry on > Wine still shows these: > > HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\ROOT\LEGACY_BOGUS (and > stuff below) > > HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\USB\BOGUS (and stuff > below) > > HKEY_LOCAL_MACHINE\

Re: unknown device issues after running winetest

2008-05-22 Thread Alexander Morozov
I was mistaken. Enum/ROOT/LEGACY_BOGUS key can be deleted so: SetLastError(0xdeadbeef); set = pSetupDiGetClassDevsA(&guid, NULL, 0, 0); ok(set != INVALID_HANDLE_VALUE, "SetupDiGetClassDevsA failed: %08x\n", GetLastError()); SetLastError(0xdeadbeef); ret = pSetupDiEnumDeviceInfo(set, 0, &devInfo);

Re: unknown device issues after running winetest

2008-05-22 Thread Alexander Morozov
В сообщении от Tuesday 20 May 2008 17:31:48 Paul Vriens написал(а): > Hi, > > On several windows boxes (VMware) I receive this nice message that Windows > will try to find a driver for an unknown device. > > This device is added by the setupapi/devinst test and is not (or can't be?) > properly remo

Re: ntoskrnl.exe: Change calling conventions [try 2]

2008-04-25 Thread Alexander Morozov
> Why didn't you fix InterlockedExchangeAdd too? Yes, this function also should be fixed. I will send new patch. Sorry. I got confused because this function worked: #include "wdm.h" #pragma code_seg("INIT") NTSTATUS DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING Registry

Re: [2/5] setupapi: Changing pointers on SP_DEVINFO_DATA

2008-04-02 Thread Alexander Morozov
> > SETUPDI_AddDeviceToSet: changing pointers on SP_DEVINFO_DATA after > > allocating new memory block for their array > > We shouldn't have to do that sort of thing. The data structure should be > fixed to store pointers that don't have to be moved around. Should modify DeviceInfoSet and _SP_DEVI

Re: [1/2] Added a test: registering device interface and getting devicepath

2008-03-27 Thread Alexander Morozov
В сообщении от Thursday 27 March 2008 16:24:52 Dmitry Timoshkov написал(а): > "Alexander Morozov" <[EMAIL PROTECTED]> wrote: > > Changelog: > > Added a test for setupapi: registering device interface and getting > > device path > > Please consistently pri