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
7015ce30
Commit
7015ce30
authored
Jul 05, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to call GetModuleFileName16 now that GetModuleFileNameA
handles 16-bit tasks.
parent
83886f23
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
8 deletions
+4
-8
dsound_main.c
dlls/dsound/dsound_main.c
+1
-2
x11drv_main.c
dlls/x11drv/x11drv_main.c
+1
-2
loadorder.c
loader/loadorder.c
+1
-2
version.c
misc/version.c
+1
-2
No files found.
dlls/dsound/dsound_main.c
View file @
7015ce30
...
...
@@ -154,8 +154,7 @@ inline static void setup_dsound_options(void)
ExitProcess
(
1
);
}
if
(
GetModuleFileName16
(
GetCurrentTask
(),
buffer
,
MAX_PATH
)
||
GetModuleFileNameA
(
0
,
buffer
,
MAX_PATH
))
if
(
GetModuleFileNameA
(
0
,
buffer
,
MAX_PATH
))
{
HKEY
tmpkey
;
...
...
dlls/x11drv/x11drv_main.c
View file @
7015ce30
...
...
@@ -196,8 +196,7 @@ static void setup_options(void)
/* open the app-specific key */
if
(
GetModuleFileName16
(
GetCurrentTask
(),
buffer
,
MAX_PATH
)
||
GetModuleFileNameA
(
0
,
buffer
,
MAX_PATH
))
if
(
GetModuleFileNameA
(
0
,
buffer
,
MAX_PATH
))
{
HKEY
tmpkey
;
char
*
p
,
*
appname
=
buffer
;
...
...
loader/loadorder.c
View file @
7015ce30
...
...
@@ -381,8 +381,7 @@ static HKEY open_app_key( const char *module )
HKEY
hkey
,
appkey
;
char
buffer
[
MAX_PATH
+
16
],
*
appname
;
if
(
!
GetModuleFileName16
(
GetCurrentTask
(),
buffer
,
MAX_PATH
)
&&
!
GetModuleFileNameA
(
0
,
buffer
,
MAX_PATH
))
if
(
!
GetModuleFileNameA
(
0
,
buffer
,
MAX_PATH
))
{
WARN
(
"could not get module file name loading %s
\n
"
,
module
);
return
0
;
...
...
misc/version.c
View file @
7015ce30
...
...
@@ -278,8 +278,7 @@ static void VERSION_Init(void)
static
BOOL
init_done
;
if
(
init_done
)
return
;
if
(
!
GetModuleFileName16
(
GetCurrentTask
(),
buffer
,
MAX_PATH
)
&&
!
GetModuleFileNameA
(
0
,
buffer
,
MAX_PATH
))
if
(
!
GetModuleFileNameA
(
0
,
buffer
,
MAX_PATH
))
{
WARN
(
"could not get module file name
\n
"
);
return
;
...
...
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