advpack: Forward the ansi user stub APIs to their Unicode counterparts.
This commit is contained in:
parent
ca3ad7d6dc
commit
72581bd2d7
|
@ -683,9 +683,34 @@ HRESULT WINAPI TranslateInfStringExW(HINF hInf, LPCWSTR pszInfFilename,
|
|||
|
||||
/***********************************************************************
|
||||
* UserInstStubWrapperA (ADVPACK.@)
|
||||
*
|
||||
* See UserInstStubWrapperW.
|
||||
*/
|
||||
HRESULT WINAPI UserInstStubWrapperA(HWND hWnd, HINSTANCE hInstance,
|
||||
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);
|
||||
|
||||
|
@ -694,9 +719,34 @@ HRESULT WINAPI UserInstStubWrapperA(HWND hWnd, HINSTANCE hInstance,
|
|||
|
||||
/***********************************************************************
|
||||
* UserUnInstStubWrapperA (ADVPACK.@)
|
||||
*
|
||||
* See UserUnInstStubWrapperW.
|
||||
*/
|
||||
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);
|
||||
|
||||
|
|
|
@ -75,8 +75,8 @@
|
|||
@ stdcall TranslateInfStringExW(long wstr wstr wstr wstr long ptr ptr)
|
||||
@ stdcall TranslateInfStringEx(long str str str str long ptr ptr) TranslateInfStringExA
|
||||
@ 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 UserUnInstStubWrapperA(long long str long)
|
||||
# stdcall UserUnInstStubWrapperW(long long wstr long)
|
||||
@ stdcall UserUnInstStubWrapperW(long long wstr long)
|
||||
@ stdcall UserUnInstStubWrapper(long long str long) UserUnInstStubWrapperA
|
||||
|
|
Loading…
Reference in New Issue