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
fc1b62bd
Commit
fc1b62bd
authored
Feb 26, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Feb 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Don't use typeof as it's not portable.
parent
f2b77031
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
regsvr.c
dlls/dsound/regsvr.c
+4
-4
No files found.
dlls/dsound/regsvr.c
View file @
fc1b62bd
...
...
@@ -34,8 +34,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dsound
);
static
typeof
(
RegDeleteTreeW
)
*
pRegDeleteTreeW
;
static
typeof
(
RegDeleteTreeA
)
*
pRegDeleteTreeA
;
static
LSTATUS
(
WINAPI
*
pRegDeleteTreeW
)(
HKEY
,
LPCWSTR
)
;
static
LSTATUS
(
WINAPI
*
pRegDeleteTreeA
)(
HKEY
,
LPCSTR
)
;
/*
* Near the bottom of this file are the exported DllRegisterServer and
...
...
@@ -516,8 +516,8 @@ HRESULT WINAPI DllUnregisterServer(void)
HMODULE
advapi32
=
GetModuleHandleA
(
"advapi32"
);
if
(
!
advapi32
)
return
E_FAIL
;
pRegDeleteTreeA
=
(
typeof
(
RegDeleteTreeA
)
*
)
GetProcAddress
(
advapi32
,
"RegDeleteTreeA"
);
pRegDeleteTreeW
=
(
typeof
(
RegDeleteTreeW
)
*
)
GetProcAddress
(
advapi32
,
"RegDeleteTreeW"
);
pRegDeleteTreeA
=
(
void
*
)
GetProcAddress
(
advapi32
,
"RegDeleteTreeA"
);
pRegDeleteTreeW
=
(
void
*
)
GetProcAddress
(
advapi32
,
"RegDeleteTreeW"
);
if
(
!
pRegDeleteTreeA
||
!
pRegDeleteTreeW
)
return
E_FAIL
;
TRACE
(
"
\n
"
);
...
...
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