Browse Source

Fixed prototype of `CInputSwitchControl::Init` hook as suggested in 5b4bd07dff (r62018175) (thanks @Simplestas)

pull/886/head
Valentin Radu 4 years ago
parent
commit
0204a6b41c
  1. 6
      ExplorerPatcher/dllmain.c

6
ExplorerPatcher/dllmain.c

@ -5550,10 +5550,10 @@ interface IInputSwitchControl
CONST_VTBL struct IInputSwitchControlVtbl* lpVtbl; CONST_VTBL struct IInputSwitchControlVtbl* lpVtbl;
}; };
HRESULT(*CInputSwitchControl_InitFunc)(IInputSwitchControl*, unsigned int, INT64); HRESULT(*CInputSwitchControl_InitFunc)(IInputSwitchControl*, unsigned int);
HRESULT CInputSwitchControl_InitHook(IInputSwitchControl* _this, unsigned int dwOriginalIMEStyle, INT64 a3) 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( HRESULT explorer_CoCreateInstanceHook(

Loading…
Cancel
Save