mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2025-01-19 09:07:29 +01:00
Fixed prototype of CInputSwitchControl::Init
hook as suggested in 5b4bd07dff (r62018175)
(thanks @Simplestas)
This commit is contained in:
parent
b842b6ee37
commit
0204a6b41c
@ -5550,10 +5550,10 @@ interface IInputSwitchControl
|
||||
CONST_VTBL struct IInputSwitchControlVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
HRESULT(*CInputSwitchControl_InitFunc)(IInputSwitchControl*, unsigned int, INT64);
|
||||
HRESULT CInputSwitchControl_InitHook(IInputSwitchControl* _this, unsigned int dwOriginalIMEStyle, INT64 a3)
|
||||
HRESULT(*CInputSwitchControl_InitFunc)(IInputSwitchControl*, unsigned int);
|
||||
HRESULT CInputSwitchControl_InitHook(IInputSwitchControl* _this, unsigned int dwOriginalIMEStyle)
|
||||
{
|
||||
return CInputSwitchControl_InitFunc(_this, dwIMEStyle ? dwIMEStyle : dwOriginalIMEStyle, a3);
|
||||
return CInputSwitchControl_InitFunc(_this, dwIMEStyle ? dwIMEStyle : dwOriginalIMEStyle);
|
||||
}
|
||||
|
||||
HRESULT explorer_CoCreateInstanceHook(
|
||||
|
Loading…
x
Reference in New Issue
Block a user