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
5777a3d6
Commit
5777a3d6
authored
Jun 09, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32/tests: Use GetModuleHandle instead of LoadLibrary.
parent
853db9a7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
printdlg.c
dlls/comdlg32/tests/printdlg.c
+1
-2
No files found.
dlls/comdlg32/tests/printdlg.c
View file @
5777a3d6
...
@@ -51,8 +51,7 @@ static LPCSTR load_functions(void)
...
@@ -51,8 +51,7 @@ static LPCSTR load_functions(void)
LPCSTR
ptr
;
LPCSTR
ptr
;
ptr
=
"comdlg32.dll"
;
ptr
=
"comdlg32.dll"
;
hcomdlg32
=
LoadLibraryA
(
ptr
);
hcomdlg32
=
GetModuleHandleA
(
ptr
);
if
(
!
hcomdlg32
)
return
ptr
;
ptr
=
"PrintDlgExA"
;
ptr
=
"PrintDlgExA"
;
pPrintDlgExA
=
(
void
*
)
GetProcAddress
(
hcomdlg32
,
ptr
);
pPrintDlgExA
=
(
void
*
)
GetProcAddress
(
hcomdlg32
,
ptr
);
...
...
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