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
69dd0a94
Commit
69dd0a94
authored
Nov 26, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed dependency on 16-bit file I/O functions.
parent
5b971f00
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
Makefile.in
dlls/setupapi/Makefile.in
+0
-1
infparse.c
dlls/setupapi/infparse.c
+4
-4
setupx16.h
dlls/setupapi/setupx16.h
+1
-1
No files found.
dlls/setupapi/Makefile.in
View file @
69dd0a94
...
...
@@ -5,7 +5,6 @@ VPATH = @srcdir@
MODULE
=
setupapi
SOVERSION
=
1.0
ALTNAMES
=
setupx
IMPORTS
=
ntdll
LDDLLFLAGS
=
@LDDLLFLAGS@
SYMBOLFILE
=
$(MODULE)
.tmp.o
...
...
dlls/setupapi/infparse.c
View file @
69dd0a94
...
...
@@ -19,7 +19,7 @@ HINF16 IP_curr_handle = 0;
RETERR16
IP_OpenInf
(
LPCSTR
lpInfFileName
,
HINF16
*
lphInf
)
{
HFILE
16
hFile
=
_lopen16
(
lpInfFileName
,
OF_READ
);
HFILE
hFile
=
_lopen
(
lpInfFileName
,
OF_READ
);
if
(
!
lphInf
)
return
IP_ERROR
;
...
...
@@ -28,7 +28,7 @@ RETERR16 IP_OpenInf(LPCSTR lpInfFileName, HINF16 *lphInf)
if
(
IP_curr_handle
==
0xffff
)
return
ERR_IP_OUT_OF_HANDLES
;
if
(
hFile
!=
HFILE_ERROR
16
)
if
(
hFile
!=
HFILE_ERROR
)
{
InfList
=
HeapReAlloc
(
GetProcessHeap
(),
0
,
InfList
,
InfNumEntries
+
1
);
InfList
[
InfNumEntries
].
hInf
=
IP_curr_handle
++
;
...
...
@@ -73,11 +73,11 @@ RETERR16 IP_CloseInf(HINF16 hInf)
{
int
i
;
WORD
n
;
HFILE
16
res
=
ERR_IP_INVALID_HINF
;
RETERR
16
res
=
ERR_IP_INVALID_HINF
;
if
(
IP_FindInf
(
hInf
,
&
n
))
{
_lclose
16
(
InfList
[
n
].
hInfFile
);
_lclose
(
InfList
[
n
].
hInfFile
);
HeapFree
(
GetProcessHeap
(),
0
,
InfList
[
n
].
lpInfFileName
);
for
(
i
=
n
;
i
<
InfNumEntries
-
1
;
i
++
)
InfList
[
i
]
=
InfList
[
i
+
1
];
...
...
dlls/setupapi/setupx16.h
View file @
69dd0a94
...
...
@@ -65,7 +65,7 @@ enum _IP_ERR {
typedef
struct
{
HINF16
hInf
;
HFILE
16
hInfFile
;
HFILE
hInfFile
;
LPSTR
lpInfFileName
;
}
INF_FILE
;
...
...
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