Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jason Beetham
wine
Commits
382e2024
Commit
382e2024
authored
26 years ago
by
Andreas Mohr
Committed by
Alexandre Julliard
26 years ago
Browse files
Options
Downloads
Patches
Plain Diff
SendASPI32Command32 has to be __cdecl.
Updated documentation/aspi and reverted an ERR back to WARN.
parent
cb5effa2
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
dlls/winaspi/winaspi16.c
+1
-1
1 addition, 1 deletion
dlls/winaspi/winaspi16.c
dlls/wnaspi32/winaspi32.c
+1
-1
1 addition, 1 deletion
dlls/wnaspi32/winaspi32.c
documentation/aspi
+10
-4
10 additions, 4 deletions
documentation/aspi
relay32/wnaspi32.spec
+1
-1
1 addition, 1 deletion
relay32/wnaspi32.spec
with
13 additions
and
7 deletions
dlls/winaspi/winaspi16.c
+
1
−
1
View file @
382e2024
...
...
@@ -221,7 +221,7 @@ ASPI_ExecScsiCmd(DWORD ptrPRB, UINT16 mode)
fd
=
ASPI_OpenDevice16
(
lpPRB
);
if
(
fd
==
-
1
)
{
ERR
(
aspi
,
"Failed: could not open device. Device permissions !?
\n
"
);
WARN
(
aspi
,
"Failed: could not open device. Device permissions !?
\n
"
);
lpPRB
->
SRB_Status
=
SS_ERR
;
return
SS_ERR
;
}
...
...
This diff is collapsed.
Click to expand it.
dlls/wnaspi32/winaspi32.c
+
1
−
1
View file @
382e2024
...
...
@@ -333,7 +333,7 @@ DWORD WINAPI GetASPI32SupportInfo32()
/***********************************************************************
* SendASPI32Command32 (WNASPI32.1)
*/
DWORD
WINAPI
SendASPI32Command32
(
LPSRB32
lpSRB
)
DWORD
__cdecl
SendASPI32Command32
(
LPSRB32
lpSRB
)
{
#ifdef linux
switch
(
lpSRB
->
common
.
SRB_Cmd
)
{
...
...
This diff is collapsed.
Click to expand it.
documentation/aspi
+
10
−
4
View file @
382e2024
...
...
@@ -14,6 +14,9 @@ completely bogus commands to the wrong device - An example would be
formatting your hard drives (assuming the device gave you permission -
if you're running as root, all bets are off).
So please make sure that **all** SCSI devices that the program won't need
have their permissions set as restricted as possible !
Cookbook for setting up scanner: (At least how mine is to work)
================================
...
...
@@ -33,6 +36,8 @@ LINUX requirements:
============================================================
0) Your scsi card must be supported under linux. This will not work with
an unknown scsi card.
Even for cheap'n crappy "scanner only" controllers some special Linux drivers
exist on the net.
1) Compile generic scsi drivers into your kernel.
...
...
@@ -70,15 +75,16 @@ ipplus.exe <---> (TWAIN INTERFACE) <---> (TWAIN DATA SOURCE . ASPI) -> WINASPI
NOTES/BUGS:
===========
The biggest is that it only works under linux at the moment.
The ASPI code was only tested using a Mustek 800SP with a Buslogic
controller under Linux.
The ASPI code has only been tested with:
- a Mustek 800SP with a Buslogic controller under Linux [BM]
- a Siemens Nixdorf 9036 with Adaptec AVA-1505 under Linux
accessed via DOSASPI.
Note that I had color problems, though (barely readable result). [AM]
Note that I had color problems, though (barely readable result) [AM]
- a Fujitsu M2513A MO drive (640MB) using generic scsi drivers.
Formatting and ejecting worked perfectly.
Thanks to Uwe Bonnes for access to the hardware ! [AM]
I make no warranty to the aspi code. It makes my scanner work. Your
scanner
I make no warranty to the aspi code. It makes my scanner work. Your
devices
may explode. I have no way of determining this. I take zero responsibility!
...
...
This diff is collapsed.
Click to expand it.
relay32/wnaspi32.spec
+
1
−
1
View file @
382e2024
...
...
@@ -2,5 +2,5 @@ name wnaspi32
type win32
0 stdcall GetASPI32SupportInfo() GetASPI32SupportInfo32
1
stdcal
l SendASPI32Command(ptr) SendASPI32Command32
1
cdec
l SendASPI32Command(ptr) SendASPI32Command32
3 stub GetASPI32DLLVersion
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment