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
72581bd2
Commit
72581bd2
authored
Mar 22, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Mar 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack: Forward the ansi user stub APIs to their Unicode counterparts.
parent
ca3ad7d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
3 deletions
+53
-3
advpack.c
dlls/advpack/advpack.c
+51
-1
advpack.spec
dlls/advpack/advpack.spec
+2
-2
No files found.
dlls/advpack/advpack.c
View file @
72581bd2
...
@@ -683,10 +683,35 @@ HRESULT WINAPI TranslateInfStringExW(HINF hInf, LPCWSTR pszInfFilename,
...
@@ -683,10 +683,35 @@ HRESULT WINAPI TranslateInfStringExW(HINF hInf, LPCWSTR pszInfFilename,
/***********************************************************************
/***********************************************************************
* UserInstStubWrapperA (ADVPACK.@)
* UserInstStubWrapperA (ADVPACK.@)
*
* See UserInstStubWrapperW.
*/
*/
HRESULT
WINAPI
UserInstStubWrapperA
(
HWND
hWnd
,
HINSTANCE
hInstance
,
HRESULT
WINAPI
UserInstStubWrapperA
(
HWND
hWnd
,
HINSTANCE
hInstance
,
LPSTR
pszParms
,
INT
nShow
)
LPSTR
pszParms
,
INT
nShow
)
{
{
UNICODE_STRING
parmsW
;
HRESULT
res
;
TRACE
(
"(%p, %p, %p, %i)
\n
"
,
hWnd
,
hInstance
,
pszParms
,
nShow
);
if
(
!
pszParms
)
return
E_INVALIDARG
;
RtlCreateUnicodeStringFromAsciiz
(
&
parmsW
,
pszParms
);
res
=
UserInstStubWrapperW
(
hWnd
,
hInstance
,
parmsW
.
Buffer
,
nShow
);
RtlFreeUnicodeString
(
&
parmsW
);
return
res
;
}
/***********************************************************************
* UserInstStubWrapperW (ADVPACK.@)
*/
HRESULT
WINAPI
UserInstStubWrapperW
(
HWND
hWnd
,
HINSTANCE
hInstance
,
LPWSTR
pszParms
,
INT
nShow
)
{
FIXME
(
"(%p, %p, %p, %i) stub
\n
"
,
hWnd
,
hInstance
,
pszParms
,
nShow
);
FIXME
(
"(%p, %p, %p, %i) stub
\n
"
,
hWnd
,
hInstance
,
pszParms
,
nShow
);
return
E_FAIL
;
return
E_FAIL
;
...
@@ -694,9 +719,34 @@ HRESULT WINAPI UserInstStubWrapperA(HWND hWnd, HINSTANCE hInstance,
...
@@ -694,9 +719,34 @@ HRESULT WINAPI UserInstStubWrapperA(HWND hWnd, HINSTANCE hInstance,
/***********************************************************************
/***********************************************************************
* UserUnInstStubWrapperA (ADVPACK.@)
* UserUnInstStubWrapperA (ADVPACK.@)
*
* See UserUnInstStubWrapperW.
*/
*/
HRESULT
WINAPI
UserUnInstStubWrapperA
(
HWND
hWnd
,
HINSTANCE
hInstance
,
HRESULT
WINAPI
UserUnInstStubWrapperA
(
HWND
hWnd
,
HINSTANCE
hInstance
,
LPSTR
pszParms
,
INT
nShow
)
LPSTR
pszParms
,
INT
nShow
)
{
UNICODE_STRING
parmsW
;
HRESULT
res
;
TRACE
(
"(%p, %p, %p, %i)
\n
"
,
hWnd
,
hInstance
,
pszParms
,
nShow
);
if
(
!
pszParms
)
return
E_INVALIDARG
;
RtlCreateUnicodeStringFromAsciiz
(
&
parmsW
,
pszParms
);
res
=
UserUnInstStubWrapperW
(
hWnd
,
hInstance
,
parmsW
.
Buffer
,
nShow
);
RtlFreeUnicodeString
(
&
parmsW
);
return
res
;
}
/***********************************************************************
* UserUnInstStubWrapperW (ADVPACK.@)
*/
HRESULT
WINAPI
UserUnInstStubWrapperW
(
HWND
hWnd
,
HINSTANCE
hInstance
,
LPWSTR
pszParms
,
INT
nShow
)
{
{
FIXME
(
"(%p, %p, %p, %i) stub
\n
"
,
hWnd
,
hInstance
,
pszParms
,
nShow
);
FIXME
(
"(%p, %p, %p, %i) stub
\n
"
,
hWnd
,
hInstance
,
pszParms
,
nShow
);
...
...
dlls/advpack/advpack.spec
View file @
72581bd2
...
@@ -75,8 +75,8 @@
...
@@ -75,8 +75,8 @@
@ stdcall TranslateInfStringExW(long wstr wstr wstr wstr long ptr ptr)
@ stdcall TranslateInfStringExW(long wstr wstr wstr wstr long ptr ptr)
@ stdcall TranslateInfStringEx(long str str str str long ptr ptr) TranslateInfStringExA
@ stdcall TranslateInfStringEx(long str str str str long ptr ptr) TranslateInfStringExA
@ stdcall UserInstStubWrapperA(long long str long)
@ stdcall UserInstStubWrapperA(long long str long)
#
stdcall UserInstStubWrapperW(long long wstr long)
@
stdcall UserInstStubWrapperW(long long wstr long)
@ stdcall UserInstStubWrapper(long long str long) UserInstStubWrapperA
@ stdcall UserInstStubWrapper(long long str long) UserInstStubWrapperA
@ stdcall UserUnInstStubWrapperA(long long str long)
@ stdcall UserUnInstStubWrapperA(long long str long)
#
stdcall UserUnInstStubWrapperW(long long wstr long)
@
stdcall UserUnInstStubWrapperW(long long wstr long)
@ stdcall UserUnInstStubWrapper(long long str long) UserUnInstStubWrapperA
@ stdcall UserUnInstStubWrapper(long long str long) UserUnInstStubWrapperA
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