Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0a5d9ef2
Commit
0a5d9ef2
authored
Nov 29, 2000
by
Kees Schoenmakers
Committed by
Alexandre Julliard
Nov 29, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added HASP device stub.
parent
5687823c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
device.c
win32/device.c
+25
-0
No files found.
win32/device.c
View file @
0a5d9ef2
...
@@ -78,6 +78,13 @@ static BOOL DeviceIo_PCCARD (DWORD dwIoControlCode,
...
@@ -78,6 +78,13 @@ static BOOL DeviceIo_PCCARD (DWORD dwIoControlCode,
LPVOID
lpvOutBuffer
,
DWORD
cbOutBuffer
,
LPVOID
lpvOutBuffer
,
DWORD
cbOutBuffer
,
LPDWORD
lpcbBytesReturned
,
LPDWORD
lpcbBytesReturned
,
LPOVERLAPPED
lpOverlapped
);
LPOVERLAPPED
lpOverlapped
);
static
BOOL
DeviceIo_HASP
(
DWORD
dwIoControlCode
,
LPVOID
lpvInBuffer
,
DWORD
cbInBuffer
,
LPVOID
lpvOutBuffer
,
DWORD
cbOutBuffer
,
LPDWORD
lpcbBytesReturned
,
LPOVERLAPPED
lpOverlapped
);
/*
/*
/*
* VxD names are taken from the Win95 DDK
* VxD names are taken from the Win95 DDK
*/
*/
...
@@ -219,6 +226,7 @@ static const struct VxDInfo VxDList[] =
...
@@ -219,6 +226,7 @@ static const struct VxDInfo VxDList[] =
{
"IRLAMP"
,
0x04A2
,
NULL
,
NULL
},
{
"IRLAMP"
,
0x04A2
,
NULL
,
NULL
},
{
"PCCARD"
,
0x097C
,
NULL
,
DeviceIo_PCCARD
},
{
"PCCARD"
,
0x097C
,
NULL
,
DeviceIo_PCCARD
},
{
"HASP95"
,
0x3721
,
NULL
,
DeviceIo_HASP
},
/* WINE additions, ids unknown */
/* WINE additions, ids unknown */
{
"MONODEBG.VXD"
,
0x4242
,
NULL
,
DeviceIo_MONODEBG
},
{
"MONODEBG.VXD"
,
0x4242
,
NULL
,
DeviceIo_MONODEBG
},
...
@@ -1222,3 +1230,20 @@ DWORD WINAPI OpenVxDHandle(DWORD pmt)
...
@@ -1222,3 +1230,20 @@ DWORD WINAPI OpenVxDHandle(DWORD pmt)
FIXME
(
"(0x%08lx) stub!
\n
"
,
pmt
);
FIXME
(
"(0x%08lx) stub!
\n
"
,
pmt
);
return
0
;
return
0
;
}
}
static
BOOL
DeviceIo_HASP
(
DWORD
dwIoControlCode
,
LPVOID
lpvInBuffer
,
DWORD
cbInBuffer
,
LPVOID
lpvOutBuffer
,
DWORD
cbOutBuffer
,
LPDWORD
lpcbBytesReturned
,
LPOVERLAPPED
lpOverlapped
)
{
BOOL
retv
=
TRUE
;
FIXME
(
"(%ld,%p,%ld,%p,%ld,%p,%p): stub
\n
"
,
dwIoControlCode
,
lpvInBuffer
,
cbInBuffer
,
lpvOutBuffer
,
cbOutBuffer
,
lpcbBytesReturned
,
lpOverlapped
);
return
retv
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment