diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-08-06 23:58:54 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-08-06 23:58:54 +0000 |
commit | f022fc1b79ee29c7f8f796499129476fa49e0ca5 (patch) | |
tree | a9745d2cb345035ad66cb035d844eb8a8c2ebe54 /ping/pingthread.cpp | |
parent | 7246339c9ec44dd0492e7756b5d7fd5a9ed0d699 (diff) |
x64 conversion
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@526 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'ping/pingthread.cpp')
-rw-r--r-- | ping/pingthread.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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);
}
}
|