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
577d08c1
Commit
577d08c1
authored
Oct 02, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winetest: Use explicit prototypes for function pointers.
parent
19c0b3ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
main.c
programs/winetest/main.c
+5
-2
No files found.
programs/winetest/main.c
View file @
577d08c1
...
...
@@ -135,8 +135,11 @@ static int running_on_visible_desktop (void)
{
HWND
desktop
;
HMODULE
huser32
=
GetModuleHandle
(
"user32.dll"
);
FARPROC
pGetProcessWindowStation
=
GetProcAddress
(
huser32
,
"GetProcessWindowStation"
);
FARPROC
pGetUserObjectInformationA
=
GetProcAddress
(
huser32
,
"GetUserObjectInformationA"
);
HWINSTA
(
WINAPI
*
pGetProcessWindowStation
)(
void
);
BOOL
(
WINAPI
*
pGetUserObjectInformationA
)(
HANDLE
,
INT
,
LPVOID
,
DWORD
,
LPDWORD
);
pGetProcessWindowStation
=
(
void
*
)
GetProcAddress
(
huser32
,
"GetProcessWindowStation"
);
pGetUserObjectInformationA
=
(
void
*
)
GetProcAddress
(
huser32
,
"GetUserObjectInformationA"
);
desktop
=
GetDesktopWindow
();
if
(
!
GetWindowLongPtrW
(
desktop
,
GWLP_WNDPROC
))
/* Win9x */
...
...
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