mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
msi: Add stub implementation of MsiIsProductElevatedA/W.
This commit is contained in:
parent
0d9e09d8bf
commit
e35bd05082
@ -2513,3 +2513,25 @@ UINT WINAPI MsiAdvertiseScriptA( LPCSTR szScriptFile, DWORD dwFlags,
|
|||||||
debugstr_a( szScriptFile ), dwFlags, phRegData, fRemoveItems );
|
debugstr_a( szScriptFile ), dwFlags, phRegData, fRemoveItems );
|
||||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* MsiIsProductElevatedW [MSI.@]
|
||||||
|
*/
|
||||||
|
UINT WINAPI MsiIsProductElevatedW( LPCWSTR szProduct, BOOL *pfElevated )
|
||||||
|
{
|
||||||
|
FIXME("%s %p - stub\n",
|
||||||
|
debugstr_w( szProduct ), pfElevated );
|
||||||
|
*pfElevated = TRUE;
|
||||||
|
return ERROR_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* MsiIsProductElevatedA [MSI.@]
|
||||||
|
*/
|
||||||
|
UINT WINAPI MsiIsProductElevatedA( LPCSTR szProduct, BOOL *pfElevated )
|
||||||
|
{
|
||||||
|
FIXME("%s %p - stub\n",
|
||||||
|
debugstr_a( szProduct ), pfElevated );
|
||||||
|
*pfElevated = TRUE;
|
||||||
|
return ERROR_SUCCESS;
|
||||||
|
}
|
||||||
|
@ -207,8 +207,8 @@
|
|||||||
211 stdcall MsiSourceListAddSourceW(wstr wstr long wstr)
|
211 stdcall MsiSourceListAddSourceW(wstr wstr long wstr)
|
||||||
212 stub MsiSourceListForceResolutionA
|
212 stub MsiSourceListForceResolutionA
|
||||||
213 stub MsiSourceListForceResolutionW
|
213 stub MsiSourceListForceResolutionW
|
||||||
214 stub MsiIsProductElevatedA
|
214 stdcall MsiIsProductElevatedA(str ptr)
|
||||||
215 stub MsiIsProductElevatedW
|
215 stdcall MsiIsProductElevatedW(wstr ptr)
|
||||||
216 stdcall MsiGetShortcutTargetA(str ptr ptr ptr)
|
216 stdcall MsiGetShortcutTargetA(str ptr ptr ptr)
|
||||||
217 stdcall MsiGetShortcutTargetW(wstr ptr ptr ptr)
|
217 stdcall MsiGetShortcutTargetW(wstr ptr ptr ptr)
|
||||||
218 stdcall MsiGetFileHashA(str long ptr)
|
218 stdcall MsiGetFileHashA(str long ptr)
|
||||||
|
@ -569,6 +569,10 @@ UINT WINAPI MsiAdvertiseScriptA(LPCSTR, DWORD, PHKEY, BOOL);
|
|||||||
UINT WINAPI MsiAdvertiseScriptW(LPCWSTR, DWORD, PHKEY, BOOL);
|
UINT WINAPI MsiAdvertiseScriptW(LPCWSTR, DWORD, PHKEY, BOOL);
|
||||||
#define MsiAdvertiseScript WINELIB_NAME_AW(MsiAdvertiseScript)
|
#define MsiAdvertiseScript WINELIB_NAME_AW(MsiAdvertiseScript)
|
||||||
|
|
||||||
|
UINT WINAPI MsiIsProductElevatedA(LPCSTR, BOOL *);
|
||||||
|
UINT WINAPI MsiIsProductElevatedW(LPCWSTR, BOOL *);
|
||||||
|
#define MsiIsProductElevated WINELIB_NAME_AW(MsiIsProductElevated)
|
||||||
|
|
||||||
/* Non Unicode */
|
/* Non Unicode */
|
||||||
UINT WINAPI MsiCloseHandle(MSIHANDLE);
|
UINT WINAPI MsiCloseHandle(MSIHANDLE);
|
||||||
UINT WINAPI MsiCloseAllHandles(void);
|
UINT WINAPI MsiCloseAllHandles(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user