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
47e9e911
Commit
47e9e911
authored
Dec 01, 2017
by
Zebediah Figura
Committed by
Alexandre Julliard
Dec 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Fix a couple internal uses of ANSI functions.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f64d2688
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
file.c
dlls/kernel32/file.c
+3
-2
No files found.
dlls/kernel32/file.c
View file @
47e9e911
...
...
@@ -74,6 +74,7 @@ static const UINT max_entry_size = offsetof( FILE_BOTH_DIRECTORY_INFORMATION, Fi
static
BOOL
oem_file_apis
;
static
const
WCHAR
wildcardsW
[]
=
{
'*'
,
'?'
,
0
};
static
const
WCHAR
krnl386W
[]
=
{
'k'
,
'r'
,
'n'
,
'l'
,
'3'
,
'8'
,
'6'
,
'.'
,
'e'
,
'x'
,
'e'
,
'1'
,
'6'
,
0
};
/***********************************************************************
* create_file_OF
...
...
@@ -1587,7 +1588,7 @@ HANDLE WINAPI CreateFileW( LPCWSTR filename, DWORD access, DWORD sharing,
if
(
vxd_name
&&
vxd_name
[
0
])
{
static
HANDLE
(
*
vxd_open
)(
LPCWSTR
,
DWORD
,
SECURITY_ATTRIBUTES
*
);
if
(
!
vxd_open
)
vxd_open
=
(
void
*
)
GetProcAddress
(
GetModuleHandle
A
(
"krnl386.exe16"
),
if
(
!
vxd_open
)
vxd_open
=
(
void
*
)
GetProcAddress
(
GetModuleHandle
W
(
krnl386W
),
"__wine_vxd_open"
);
if
(
vxd_open
&&
(
ret
=
vxd_open
(
vxd_name
,
access
,
sa
)))
goto
done
;
}
...
...
@@ -2613,7 +2614,7 @@ BOOL WINAPI DeviceIoControl(HANDLE hDevice, DWORD dwIoControlCode,
static
DeviceIoProc
(
*
vxd_get_proc
)(
HANDLE
);
DeviceIoProc
proc
=
NULL
;
if
(
!
vxd_get_proc
)
vxd_get_proc
=
(
void
*
)
GetProcAddress
(
GetModuleHandle
A
(
"krnl386.exe16"
),
if
(
!
vxd_get_proc
)
vxd_get_proc
=
(
void
*
)
GetProcAddress
(
GetModuleHandle
W
(
krnl386W
),
"__wine_vxd_get_proc"
);
if
(
vxd_get_proc
)
proc
=
vxd_get_proc
(
hDevice
);
if
(
proc
)
return
proc
(
dwIoControlCode
,
lpvInBuffer
,
cbInBuffer
,
...
...
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