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/ExternalAPI/m_HTTPServer.h | 8 ++++---- plugins/ExternalAPI/m_account.h | 4 ++-- plugins/ExternalAPI/m_autoreplacer.h | 4 ++-- plugins/ExternalAPI/m_filterplugin.h | 4 ++-- plugins/ExternalAPI/m_ftpfile.h | 12 ++++++------ plugins/ExternalAPI/m_mails.h | 18 +++++++++--------- plugins/ExternalAPI/m_popup2.h | 2 +- plugins/ExternalAPI/m_protoplugin.h | 2 +- plugins/ExternalAPI/m_synchro.h | 14 +++++++------- plugins/ExternalAPI/m_text.h | 12 ++++++------ plugins/ExternalAPI/m_trigger.h | 8 ++++---- plugins/ExternalAPI/m_variables.h | 2 +- 12 files changed, 45 insertions(+), 45 deletions(-) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_HTTPServer.h b/plugins/ExternalAPI/m_HTTPServer.h index c8de071838..a8fa139bfb 100644 --- a/plugins/ExternalAPI/m_HTTPServer.h +++ b/plugins/ExternalAPI/m_HTTPServer.h @@ -44,7 +44,7 @@ typedef struct { /// Service MS_HTTP_ADD_CHANGE_REMOVE /// ///////////////////////////////////////////// // -// wParam = (WPARAM)0 +// wParam = 0 // lParam = (LPARAM)LPSTFileShareInfo; // Server path is the key when working with FileShareInfo. // Two files can not be shared with the same "Server path" in the HTTP server. @@ -62,7 +62,7 @@ typedef struct { ////// Service MS_HTTP_GET_SHARE ////// ///////////////////////////////////////////// // -// wParam = (WPARAM)0; +// wParam = 0; // lParam = (LPARAM)LPSTFileShareInfo; // Returns the information for a share // Server path must be set the the share you wish information for. @@ -78,7 +78,7 @@ typedef struct { ///////////////////////////////////////////// // // wParam = (WPARAM)boolean(true/false); -// lParam = (LPARAM)0; +// lParam = 0; // Toggles the HTTP server state if wParam is FALSE // Force enable HTTP server if wParam is TRUE // returns 0 on success, nonzero on failure @@ -89,7 +89,7 @@ typedef struct { //// Service MS_HTTP_GET_ALL_SHARES ///// ///////////////////////////////////////////// // -// wParam = (WPARAM)0; +// wParam = 0; // lParam = (LPARAM)&LPSTFileShareInfo; // Returns an array of all currently shared files in the HTTP Server // LPSTFileShareInfo points to the first share. diff --git a/plugins/ExternalAPI/m_account.h b/plugins/ExternalAPI/m_account.h index 35c841d54a..ec28f02438 100644 --- a/plugins/ExternalAPI/m_account.h +++ b/plugins/ExternalAPI/m_account.h @@ -222,8 +222,8 @@ typedef void (WINAPI *YAMN_GETSTATUSFCN)(HACCOUNT,TCHAR *); // //then you have to fill this structure with pointers... // -// pYAMNFcn->SetStatusFcn=(YAMN_SETSTATUSFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SETSTATUSID,(LPARAM)0); -// pYAMNFcn->GetStatusFcn=(YAMN_GETSTATUSFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_GETSTATUSID,(LPARAM)0); +// pYAMNFcn->SetStatusFcn=(YAMN_SETSTATUSFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SETSTATUSID,0); +// pYAMNFcn->GetStatusFcn=(YAMN_GETSTATUSFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_GETSTATUSID,0); // //and in your plugin just simply use e.g.: // diff --git a/plugins/ExternalAPI/m_autoreplacer.h b/plugins/ExternalAPI/m_autoreplacer.h index 57271a7163..a169edb10c 100644 --- a/plugins/ExternalAPI/m_autoreplacer.h +++ b/plugins/ExternalAPI/m_autoreplacer.h @@ -19,7 +19,7 @@ */ #define MS_AUTOREPLACER_ADDWINHANDLE "AutoReplacer/AddWinHandle" static int __inline autoreplacer_AddWinHandle(HWND hwnd) { - return (int)CallService(MS_AUTOREPLACER_ADDWINHANDLE, (WPARAM)0, (LPARAM)hwnd); + return (int)CallService(MS_AUTOREPLACER_ADDWINHANDLE, 0, (LPARAM)hwnd); } /* @@ -33,7 +33,7 @@ static int __inline autoreplacer_AddWinHandle(HWND hwnd) { */ #define MS_AUTOREPLACER_REMWINHANDLE "AutoReplacer/RemWinHandle" static int __inline autoreplacer_RemWinHandle(HWND hwnd) { - return (int)CallService(MS_AUTOREPLACER_REMWINHANDLE, (WPARAM)0, (LPARAM)hwnd); + return (int)CallService(MS_AUTOREPLACER_REMWINHANDLE, 0, (LPARAM)hwnd); } #endif \ No newline at end of file diff --git a/plugins/ExternalAPI/m_filterplugin.h b/plugins/ExternalAPI/m_filterplugin.h index 5c39ac9397..cd81c4254c 100644 --- a/plugins/ExternalAPI/m_filterplugin.h +++ b/plugins/ExternalAPI/m_filterplugin.h @@ -121,11 +121,11 @@ typedef int (WINAPI *YAMN_SETFILTERPLUGINFCNIMPORTFCN)(HYAMNFILTERPLUGIN Plugin, // //then you have to fill this structure with pointers... If you use Miranda services, you will do it like this // -// pYAMNFcn->SetFilterPluginFcnImportFcn=(YAMN_SETFILTERPLUGINFCNIMPORTFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SETFILTERPLUGINFCNIMPORTID,(LPARAM)0); +// pYAMNFcn->SetFilterPluginFcnImportFcn=(YAMN_SETFILTERPLUGINFCNIMPORTFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SETFILTERPLUGINFCNIMPORTID,0); // //If you do not use Miranda services, call service MS_YAMN_GETFCNPTR directly. The address to the MS_YAMN_GETFCNPTR is sent to you in LoadFilter function: // -// pYAMNFcn->SetFilterPluginFcnImportFcn=(YAMN_SETFILTERPLUGINFCNIMPORTFCN)YAMN_GetFcnPtr((WPARAM)YAMN_SETFILTERPLUGINFCNIMPORTID,(LPARAM)0); +// pYAMNFcn->SetFilterPluginFcnImportFcn=(YAMN_SETFILTERPLUGINFCNIMPORTFCN)YAMN_GetFcnPtr((WPARAM)YAMN_SETFILTERPLUGINFCNIMPORTID,0); // //and in your plugin just simply use e.g.: // diff --git a/plugins/ExternalAPI/m_ftpfile.h b/plugins/ExternalAPI/m_ftpfile.h index 6575fd9e3b..b5e49a0766 100644 --- a/plugins/ExternalAPI/m_ftpfile.h +++ b/plugins/ExternalAPI/m_ftpfile.h @@ -60,7 +60,7 @@ typedef struct // // Send file(s) or folder in selected mode to the FTP server -// wParam = (WPARAM)0; not used +// wParam = 0; not used // lParam = (LPARAM)(FTPUPLOAD*)&ftpu; pointer to FTPUPLOAD // returns 0 if upload started with no errors, nonzero otherwise // @@ -75,7 +75,7 @@ __inline static INT_PTR FTPFileUploadA(HANDLE hContact, BYTE ftpNum, BYTE mode, ftpu.mode = mode; ftpu.pszObjects = pszObjects; ftpu.objectCount = objCount; - return CallService(MS_FTPFILE_UPLOAD, (WPARAM)0, (LPARAM)&ftpu); + return CallService(MS_FTPFILE_UPLOAD, 0, (LPARAM)&ftpu); } __inline static INT_PTR FTPFileUploadW(HANDLE hContact, BYTE ftpNum, BYTE mode, wchar_t **pswzObjects, int objCount) @@ -88,7 +88,7 @@ __inline static INT_PTR FTPFileUploadW(HANDLE hContact, BYTE ftpNum, BYTE mode, ftpu.flags = FUPL_UNICODE; ftpu.pswzObjects = pswzObjects; ftpu.objectCount = objCount; - return CallService(MS_FTPFILE_UPLOAD, (WPARAM)0, (LPARAM)&ftpu); + return CallService(MS_FTPFILE_UPLOAD, 0, (LPARAM)&ftpu); } #if defined _UNICODE || defined UNICODE @@ -99,15 +99,15 @@ __inline static INT_PTR FTPFileUploadW(HANDLE hContact, BYTE ftpNum, BYTE mode, // // Show a simple file manager -// wParam = (WPARAM)0; not used -// lParam = (LPARAM)0; not used +// wParam = 0; not used +// lParam = 0; not used // returns 0 always // #define MS_FTPFILE_SHOWMANAGER "FTPFile/ShowManager" __inline static INT_PTR FTPFileShowManager() { - return CallService(MS_FTPFILE_SHOWMANAGER, (WPARAM)0, (LPARAM)0); + return CallService(MS_FTPFILE_SHOWMANAGER, 0, 0); } // diff --git a/plugins/ExternalAPI/m_mails.h b/plugins/ExternalAPI/m_mails.h index cb168e34e9..d597769b88 100644 --- a/plugins/ExternalAPI/m_mails.h +++ b/plugins/ExternalAPI/m_mails.h @@ -193,7 +193,7 @@ typedef struct CMimeMsgQueue //LPARAM- nothing yet //returns nonzero if success #define MS_YAMN_UNLOADMAILDATA "YAMN/Service/UnloadMailData" -#define UnloadMailData(x) CallService(MS_YAMN_UNLOADMAILDATA,(WPARAM)x,(LPARAM)0) +#define UnloadMailData(x) CallService(MS_YAMN_UNLOADMAILDATA,(WPARAM)x,0) //SaveMailData Service //This service saves mail to standard YAMN storage (when using now 1 book file, it does nothing, because save is done when @@ -242,14 +242,14 @@ typedef void (WINAPI *YAMN_SETREMOVEQUEUEFLAGSFCN)(HYAMNMAIL,DWORD,DWORD,DWORD,i //you have to use YAMN service to get pointer, like this (I wrote here all functions you may need, //you can copy to your sources only those you need): // -// pYAMNMailFcn->SynchroMessagesFcn=(YAMN_SYNCHROMIMEMSGSFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SYNCHROMIMEMSGSID,(LPARAM)0); -// pYAMNMailFcn->TranslateHeaderFcn=(YAMN_TRANSLATEHEADERFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_TRANSLATEHEADERID,(LPARAM)0); -// pYAMNMailFcn->AppendQueueFcn=(YAMN_APPENDQUEUEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_APPENDQUEUEID,(LPARAM)0); -// pYAMNMailFcn->DeleteMessagesToEndFcn=(YAMN_DELETEMIMEQUEUEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_DELETEMIMEQUEUEID,(LPARAM)0); -// pYAMNMailFcn->DeleteMessageFromQueueFcn=(YAMN_DELETEMIMEMESSAGEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_DELETEMIMEMESSAGEID,(LPARAM)0); -// pYAMNMailFcn->FindMessageByIDFcn=(YAMN_FINDMIMEMESSAGEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_FINDMIMEMESSAGEID,(LPARAM)0); -// pYAMNMailFcn->CreateNewDeleteQueueFcn=(YAMN_CREATENEWDELETEQUEUEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_CREATENEWDELETEQUEUEID,(LPARAM)0); -// pYAMNMailFcn->SetRemoveQueueFlagsFcn=(YAMN_SETREMOVEQUEUEFLAGSFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SETREMOVEQUEUEFLAGSID,(LPARAM)0); +// pYAMNMailFcn->SynchroMessagesFcn=(YAMN_SYNCHROMIMEMSGSFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SYNCHROMIMEMSGSID,0); +// pYAMNMailFcn->TranslateHeaderFcn=(YAMN_TRANSLATEHEADERFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_TRANSLATEHEADERID,0); +// pYAMNMailFcn->AppendQueueFcn=(YAMN_APPENDQUEUEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_APPENDQUEUEID,0); +// pYAMNMailFcn->DeleteMessagesToEndFcn=(YAMN_DELETEMIMEQUEUEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_DELETEMIMEQUEUEID,0); +// pYAMNMailFcn->DeleteMessageFromQueueFcn=(YAMN_DELETEMIMEMESSAGEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_DELETEMIMEMESSAGEID,0); +// pYAMNMailFcn->FindMessageByIDFcn=(YAMN_FINDMIMEMESSAGEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_FINDMIMEMESSAGEID,0); +// pYAMNMailFcn->CreateNewDeleteQueueFcn=(YAMN_CREATENEWDELETEQUEUEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_CREATENEWDELETEQUEUEID,0); +// pYAMNMailFcn->SetRemoveQueueFlagsFcn=(YAMN_SETREMOVEQUEUEFLAGSFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SETREMOVEQUEUEFLAGSID,0); // // //and in your plugin just simply use e.g.: diff --git a/plugins/ExternalAPI/m_popup2.h b/plugins/ExternalAPI/m_popup2.h index 5ccf169a0e..d88607a155 100644 --- a/plugins/ExternalAPI/m_popup2.h +++ b/plugins/ExternalAPI/m_popup2.h @@ -352,7 +352,7 @@ typedef struct } POPUPNOTIFICATION, *LPPOPUPNOTIFICATION; static HANDLE __inline PURegisterNotification(LPPOPUPNOTIFICATION notification) { - return (HANDLE)CallService(MS_POPUP_REGISTERNOTIFICATION, (WPARAM)notification, (LPARAM)0); + return (HANDLE)CallService(MS_POPUP_REGISTERNOTIFICATION, (WPARAM)notification, 0); } /* PopUp/UnhookEventAsync diff --git a/plugins/ExternalAPI/m_protoplugin.h b/plugins/ExternalAPI/m_protoplugin.h index 08e3e0efb9..77c9635625 100644 --- a/plugins/ExternalAPI/m_protoplugin.h +++ b/plugins/ExternalAPI/m_protoplugin.h @@ -354,7 +354,7 @@ typedef int (WINAPI *YAMN_SETPROTOCOLPLUGINFCNIMPORTFCN)(HYAMNPROTOPLUGIN Plugin // //then you have to fill this structure with pointers... // -// pYAMNFcn->SetProtocolPluginFcnImportFcn=(YAMN_SETPROTOCOLPLUGINFCNIMPORTFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SETPROTOCOLPLUGINFCNIMPORTID,(LPARAM)0); +// pYAMNFcn->SetProtocolPluginFcnImportFcn=(YAMN_SETPROTOCOLPLUGINFCNIMPORTFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SETPROTOCOLPLUGINFCNIMPORTID,0); // //and in your plugin just simply use e.g.: // diff --git a/plugins/ExternalAPI/m_synchro.h b/plugins/ExternalAPI/m_synchro.h index ff3e601ed9..429c791ca4 100644 --- a/plugins/ExternalAPI/m_synchro.h +++ b/plugins/ExternalAPI/m_synchro.h @@ -111,13 +111,13 @@ typedef DWORD (WINAPI *YAMN_SCMANAGEFCN)(PSCOUNTER); //you have to use YAMN service to get pointer, like this (I wrote here all functions you may need, //you can copy to your sources only those you need): // -// pYAMNFcn->WaitToWriteFcn=(YAMN_WAITTOWRITEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_WAITTOWRITEID,(LPARAM)0); -// pYAMNFcn->WriteDoneFcn=(YAMN_WRITEDONEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_WRITEDONEID,(LPARAM)0); -// pYAMNFcn->WaitToReadFcn=(YAMN_WAITTOREADFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_WAITTOREADID,(LPARAM)0); -// pYAMNFcn->ReadDoneFcn=(YAMN_READDONEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_READDONEID,(LPARAM)0); -// pYAMNFcn->SCGetNumberFcn=(YAMN_SCMANAGEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SCGETNUMBERID,(LPARAM)0); -// pYAMNFcn->SCIncFcn=(YAMN_SCMANAGEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SCINCID,(LPARAM)0); -// pYAMNFcn->SCDecFcn=(YAMN_SCMANAGEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SCDECID,(LPARAM)0); +// pYAMNFcn->WaitToWriteFcn=(YAMN_WAITTOWRITEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_WAITTOWRITEID,0); +// pYAMNFcn->WriteDoneFcn=(YAMN_WRITEDONEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_WRITEDONEID,0); +// pYAMNFcn->WaitToReadFcn=(YAMN_WAITTOREADFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_WAITTOREADID,0); +// pYAMNFcn->ReadDoneFcn=(YAMN_READDONEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_READDONEID,0); +// pYAMNFcn->SCGetNumberFcn=(YAMN_SCMANAGEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SCGETNUMBERID,0); +// pYAMNFcn->SCIncFcn=(YAMN_SCMANAGEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SCINCID,0); +// pYAMNFcn->SCDecFcn=(YAMN_SCMANAGEFCN)CallService(MS_YAMN_GETFCNPTR,(WPARAM)YAMN_SCDECID,0); // //and in your plugin just simply use e.g.: // diff --git a/plugins/ExternalAPI/m_text.h b/plugins/ExternalAPI/m_text.h index be1b3e4a0e..a87b7d36f0 100644 --- a/plugins/ExternalAPI/m_text.h +++ b/plugins/ExternalAPI/m_text.h @@ -263,7 +263,7 @@ __inline int MTextMeasure(HDC dc, SIZE *sz, HANDLE text) displayInfo.pos.x = displayInfo.pos.y = 0; displayInfo.sz = *sz; displayInfo.text = text; - int result = (int)CallService(MS_TEXT_MEASURE, (WPARAM)&displayInfo, (LPARAM)0); + int result = (int)CallService(MS_TEXT_MEASURE, (WPARAM)&displayInfo, 0); *sz = displayInfo.sz; return result; } @@ -287,7 +287,7 @@ __inline int MTextDisplay(HDC dc, POINT pos, SIZE sz, HANDLE text) displayInfo.pos = pos; displayInfo.sz = sz; displayInfo.text = text; - return (int)CallService(MS_TEXT_DISPLAY, (WPARAM)&displayInfo, (LPARAM)0); + return (int)CallService(MS_TEXT_DISPLAY, (WPARAM)&displayInfo, 0); } #endif // MTEXT_NOHELPERS @@ -303,7 +303,7 @@ __inline int MTextSetParent(HANDLE text, HWND hwnd, RECT rect) info.text = text; info.hwnd = hwnd; info.rc = rect; - return (int)CallService(MS_TEXT_SETPARENT, (WPARAM)&info, (LPARAM)0); + return (int)CallService(MS_TEXT_SETPARENT, (WPARAM)&info, 0); } #endif // MTEXT_NOHELPERS @@ -325,7 +325,7 @@ __inline int MTextSendMessage(HWND hwnd, HANDLE text, UINT msg, WPARAM wParam, L message.msg = msg; message.wParam = wParam; message.lParam = lParam; - return (int)CallService(MS_TEXT_SENDMESSAGE, (WPARAM)&message, (LPARAM)0); + return (int)CallService(MS_TEXT_SENDMESSAGE, (WPARAM)&message, 0); } #endif // MTEXT_NOHELPERS @@ -336,7 +336,7 @@ __inline int MTextSendMessage(HWND hwnd, HANDLE text, UINT msg, WPARAM wParam, L #ifndef MTEXT_NOHELPERS __inline HWND MTextCreateProxy(HANDLE text) { - return (HWND)CallService(MS_TEXT_CREATEPROXY, (WPARAM)text, (LPARAM)0); + return (HWND)CallService(MS_TEXT_CREATEPROXY, (WPARAM)text, 0); } #endif // MTEXT_NOHELPERS @@ -347,7 +347,7 @@ __inline HWND MTextCreateProxy(HANDLE text) #ifndef MTEXT_NOHELPERS __inline int MTextDestroy(HANDLE text) { - return (int)CallService(MS_TEXT_DESTROY, (WPARAM)text, (LPARAM)0); + return (int)CallService(MS_TEXT_DESTROY, (WPARAM)text, 0); } #endif // MTEXT_NOHELPERS diff --git a/plugins/ExternalAPI/m_trigger.h b/plugins/ExternalAPI/m_trigger.h index e51294b83e..e2e60df103 100644 --- a/plugins/ExternalAPI/m_trigger.h +++ b/plugins/ExternalAPI/m_trigger.h @@ -28,7 +28,7 @@ // Parameters: // ------------------------ -// wParam = (WPARAM)0 +// wParam = 0 // lParam = (LPARAM)(TRIGGERREGISTER *)&tr // Pointer to a structure describing the trigger to add (see below). @@ -219,7 +219,7 @@ typedef struct { // Parameters: // ------------------------ -// wParam = (WPARAM)0 +// wParam = 0 // lParam = (LPARAM)(ACTIONREGISTER *)&ar // Pointer to a structure describing the action to add (see below). @@ -343,7 +343,7 @@ typedef struct { // Parameters: // ------------------------ -// wParam = (WPARAM)0 +// wParam = 0 // lParam = (LPARAM)(CONDITIONREGISTER *)&cr // Pointer to a structure describing the condition to add (see below). @@ -503,7 +503,7 @@ typedef struct { // Parameters: // ------------------------ -// wParam = (WPARAM)0 +// wParam = 0 // lParam = (LPARAM)(REMOVETRIGGERSETTINGS *)&rts // Pointer to a structure describing the settings to remove (see below). diff --git a/plugins/ExternalAPI/m_variables.h b/plugins/ExternalAPI/m_variables.h index 52c3081d08..77b3407291 100644 --- a/plugins/ExternalAPI/m_variables.h +++ b/plugins/ExternalAPI/m_variables.h @@ -534,7 +534,7 @@ __inline static int variables_showhelp(HWND hwndDlg, UINT uIDEdit, int flags, ch // Parameters: // ------------------------ -// wParam = (WPARAM)0 +// wParam = 0 // lParam = (LPARAM)VSI_* (see below) // Return Value: -- cgit v1.2.3