Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f633a5cc
Commit
f633a5cc
authored
Jul 22, 2005
by
Felix Nawothnig
Committed by
Alexandre Julliard
Jul 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert long to short path in GetModuleFileName16.
parent
05f18059
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ne_module.c
dlls/kernel/ne_module.c
+2
-2
No files found.
dlls/kernel/ne_module.c
View file @
f633a5cc
...
...
@@ -1596,8 +1596,8 @@ INT16 WINAPI GetModuleFileName16( HINSTANCE16 hModule, LPSTR lpFileName,
if
(
!
(
pModule
=
NE_GetPtr
(
hModule
)))
return
0
;
lstrcpynA
(
lpFileName
,
NE_MODULE_NAME
(
pModule
),
nSize
);
if
(
pModule
->
ne_expver
>=
0x400
)
Get
Long
PathNameA
(
NE_MODULE_NAME
(
pModule
),
lpFileName
,
nSize
);
if
(
pModule
->
ne_expver
<
0x400
)
Get
Short
PathNameA
(
NE_MODULE_NAME
(
pModule
),
lpFileName
,
nSize
);
TRACE
(
"%04x -> '%s'
\n
"
,
hModule
,
lpFileName
);
return
strlen
(
lpFileName
);
}
...
...
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