> 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 +@ stub
> > [EMAIL PROTECTED]
>
> The stdcall calling convention specifies a decoration of a leading
> underscore and an @ followed by the number of bytes to push onto the
> stack, which is added automatically by winebuild. Is there a reason
> why you are adding this on yourself?

winedump -x usbd.sys
with usbd.sys from Windows XP shows 2 entry points for some functions:
...
  00000510     1 USBD_CreateConfigurationRequestEx
...
  00000628     2 USBD_ParseConfigurationDescriptorEx
  000005F0     3 USBD_ParseDescriptors
...
  00000510    10 [EMAIL PROTECTED]
  00000628    26 [EMAIL PROTECTED]
  000005F0    27 [EMAIL PROTECTED]
...
Entry points with @ are used by SafeNet UltraPro USB token driver.

> Even if there is a good reason, you don't need to quote the @ symbols.

You are right. I will send new version of this patch.


Reply via email to