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
940af1b4
Commit
940af1b4
authored
Apr 17, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Apr 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack: Fix the return type of RegisterOCX.
parent
bec09931
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
advpack.c
dlls/advpack/advpack.c
+5
-3
No files found.
dlls/advpack/advpack.c
View file @
940af1b4
...
...
@@ -404,7 +404,8 @@ HRESULT WINAPI RebootCheckOnInstallW(HWND hWnd, LPCWSTR pszINF,
* show [I] How the window should be shown.
*
* RETURNS
* This function does not return anything.
* Success: S_OK.
* Failure: E_FAIL.
*
* NOTES
* OCX - Filename of the OCX to register.
...
...
@@ -413,7 +414,7 @@ HRESULT WINAPI RebootCheckOnInstallW(HWND hWnd, LPCWSTR pszINF,
* 'N' No reboot.
* install_cmd - Command line to pass to the OCX's DllInstall.
*/
void
WINAPI
RegisterOCX
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPCSTR
cmdline
,
INT
show
)
HRESULT
WINAPI
RegisterOCX
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPCSTR
cmdline
,
INT
show
)
{
WCHAR
wszBuff
[
MAX_PATH
];
WCHAR
*
pwcComma
;
...
...
@@ -432,7 +433,7 @@ void WINAPI RegisterOCX(HWND hWnd, HINSTANCE hInst, LPCSTR cmdline, INT show)
if
(
!
hm
)
{
ERR
(
"Couldn't load DLL: %s
\n
"
,
debugstr_w
(
wszBuff
));
return
;
return
E_FAIL
;
}
pfnRegister
=
(
DLLREGISTER
)
GetProcAddress
(
hm
,
"DllRegisterServer"
);
...
...
@@ -452,6 +453,7 @@ void WINAPI RegisterOCX(HWND hWnd, HINSTANCE hInst, LPCSTR cmdline, INT show)
TRACE
(
"Successfully registered OCX
\n
"
);
FreeLibrary
(
hm
);
return
S_OK
;
}
/***********************************************************************
...
...
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