Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ InitializeClientServices()

override void ReLogic.OS.Windows.WindowsPlatform.InitializeClientServices ( IntPtr windowHandle)
inline

Definition at line 22 of file WindowsPlatform.cs.

23 {
24 //IL_0002: Unknown result type (might be due to invalid IL or missing references)
25 //IL_0017: Unknown result type (might be due to invalid IL or missing references)
26 //IL_001d: Unknown result type (might be due to invalid IL or missing references)
27 //IL_001e: Unknown result type (might be due to invalid IL or missing references)
28 //IL_0023: Unknown result type (might be due to invalid IL or missing references)
29 SDL_SysWMinfo info = default(SDL_SysWMinfo);
30 SDL.SDL_VERSION(ref info.version);
31 SDL.SDL_GetWindowWMInfo(windowHandle, ref info);
32 windowHandle = info.info.win.window;
33 if (_wndProcHook == null)
34 {
35 _wndProcHook = new WindowsMessageHook(windowHandle);
36 }
37 RegisterService((IImeService)new WinImm32Ime(_wndProcHook, windowHandle));
38 }

References ReLogic.OS.Windows.WindowsPlatform._wndProcHook, and System.info.