From f022fc1b79ee29c7f8f796499129476fa49e0ca5 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Fri, 6 Aug 2010 23:58:54 +0000 Subject: x64 conversion git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@526 4f64403b-2f21-0410-a795-97e2b3489a10 --- ping/pingthread.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ping/pingthread.cpp') diff --git a/ping/pingthread.cpp b/ping/pingthread.cpp index 6623b51..97e3347 100644 --- a/ping/pingthread.cpp +++ b/ping/pingthread.cpp @@ -305,7 +305,7 @@ int FillList(WPARAM wParam, LPARAM lParam) { return 0; } -int PingPlugShowWindow(WPARAM wParam, LPARAM lParam) { +INT_PTR PingPlugShowWindow(WPARAM wParam, LPARAM lParam) { if(hpwnd) { if(frame_id != -1 && ServiceExists(MS_CLIST_FRAMES_SHFRAME)) CallService(MS_CLIST_FRAMES_SHFRAME, (WPARAM)frame_id, 0); else { @@ -319,7 +319,7 @@ int PingPlugShowWindow(WPARAM wParam, LPARAM lParam) { void CALLBACK TimerProc( HWND hwnd, // handle to window UINT uMsg, // WM_TIMER message - UINT idEvent, // timer identifier + UINT_PTR idEvent, // timer identifier DWORD dwTime // current system time ) { @@ -958,7 +958,7 @@ void AttachToClist(bool attach) { SetWindowPos(hpwnd, 0, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE | SWP_NOSIZE); // subclass clist to trap move/size - wpOrigClistProc = (WNDPROC) SetWindowLong(hwnd_clist, GWL_WNDPROC, (LONG) ClistSubclassProc); + wpOrigClistProc = (WNDPROC) SetWindowLongPtr(hwnd_clist, GWLP_WNDPROC, (LONG_PTR) ClistSubclassProc); UpdateFrame(); } else { @@ -966,7 +966,7 @@ void AttachToClist(bool attach) { SetWindowLong(hpwnd, GWL_EXSTYLE, WS_EX_TOOLWINDOW); SetWindowPos(hpwnd, 0, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE | SWP_NOSIZE); - SetWindowLong(hwnd_clist, GWL_WNDPROC, (LONG) wpOrigClistProc); + SetWindowLongPtr(hwnd_clist, GWLP_WNDPROC, (LONG_PTR) wpOrigClistProc); } } -- cgit v1.2.3