From 75b1ff75c42644eb36552762652e4b0c9ff071bc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 2 Nov 2012 14:11:01 +0000 Subject: final switch to the typed icolib api git-svn-id: http://svn.miranda-ng.org/main/trunk@2152 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AssocMgr/src/test.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/AssocMgr/src') diff --git a/plugins/AssocMgr/src/test.cpp b/plugins/AssocMgr/src/test.cpp index 3c6169a11d..db39e995f6 100644 --- a/plugins/AssocMgr/src/test.cpp +++ b/plugins/AssocMgr/src/test.cpp @@ -120,7 +120,7 @@ static int ServiceParseAimLink(WPARAM wParam,LPARAM lParam) ZeroMemory(&psr,sizeof(PROTOSEARCHRESULT)); psr.cbSize=sizeof(PROTOSEARCHRESULT); psr.nick=sn; - CallService(MS_ADDCONTACT_SHOW,(WPARAM)NULL,(LPARAM)&acs); + CallService(MS_ADDCONTACT_SHOW,0,(LPARAM)&acs); } return 0; } @@ -295,7 +295,7 @@ static void AddIcqUser(ICQFILEINFO *info) psr.uin=uin; psr.auth=1; /* authentication needed flag */ psr.uid=NULL; /* icq contact */ - CallService(MS_ADDCONTACT_SHOW,(WPARAM)NULL,(LPARAM)&acs); + CallService(MS_ADDCONTACT_SHOW,0,(LPARAM)&acs); } } } @@ -306,7 +306,7 @@ static void MessageIcqUser(ICQFILEINFO *info) if(ServiceExists(MS_MSG_SENDMESSAGE)) { hContact=HContactFromUIN(atoi(info->uin),NULL); /* adds the contact if needed */ if(hContact!=NULL) - CallService(MS_MSG_SENDMESSAGE,(WPARAM)hContact,(LPARAM)NULL); + CallService(MS_MSG_SENDMESSAGE,(WPARAM)hContact,0); } } @@ -441,7 +441,7 @@ static int ServiceParseYmsgrLink(WPARAM wParam,LPARAM lParam) ZeroMemory(&psr,sizeof(PROTOSEARCHRESULT)); psr.cbSize=sizeof(PROTOSEARCHRESULT); psr.nick=id; - CallService(MS_ADDCONTACT_SHOW,(WPARAM)NULL,(LPARAM)&acs); + CallService(MS_ADDCONTACT_SHOW,0,(LPARAM)&acs); } return 0; } @@ -558,7 +558,7 @@ static int ServiceParseMsnimLink(WPARAM wParam,LPARAM lParam) psr.cbSize=sizeof(PROTOSEARCHRESULT); psr.nick=email; psr.email=email; - CallService(MS_ADDCONTACT_SHOW,(WPARAM)NULL,(LPARAM)&acs); + CallService(MS_ADDCONTACT_SHOW,0,(LPARAM)&acs); } return 0; } @@ -579,7 +579,7 @@ static int ServiceParseMsnimLink(WPARAM wParam,LPARAM lParam) if(ServiceExists(MS_MSG_SENDMESSAGE)) { hContact=MSN_HContactFromEmail(email,email,TRUE,TRUE); /* does not yet check if email is current user */ if(hContact!=NULL) - CallService(MS_MSG_SENDMESSAGE,(WPARAM)hContact,(LPARAM)NULL); + CallService(MS_MSG_SENDMESSAGE,(WPARAM)hContact,0); } return 0; } @@ -646,7 +646,7 @@ static int ServiceParseLink(WPARAM wParam,LPARAM lParam) if(ServiceExists(MS_MSG_SENDMESSAGE)) { hContact=gg_getcontact(atoi(arg),TRUE,FALSE,arg); if(hContact!=NULL) - CallService(MS_MSG_SENDMESSAGE,(WPARAM)hContact,(LPARAM)NULL); + CallService(MS_MSG_SENDMESSAGE,(WPARAM)hContact,0); } } return 0; @@ -754,7 +754,7 @@ static int ServiceParseXmppURI(WPARAM wParam,LPARAM lParam) ZeroMemory(&psr,sizeof(PROTOSEARCHRESULT)); psr.cbSize=sizeof(PROTOSEARCHRESULT); psr.nick=jid; - CallService(MS_ADDCONTACT_SHOW,(WPARAM)NULL,(LPARAM)&acs); + CallService(MS_ADDCONTACT_SHOW,0,(LPARAM)&acs); } return 0; } -- cgit v1.2.3