summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown/options.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-07-03 19:23:06 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-07-03 19:23:06 +0000
commit0f95cbb4a9f1c9a613dccb9d53f5ddb50a8cadd7 (patch)
tree18921c83b3a45c5790f9cfd8b2a584262e0154ae /plugins/AutoShutdown/options.cpp
parente30f0fae7e19f4aa879c04005af9701f8995d3ef (diff)
AutoShutdown:
code cleaning x64 compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@742 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AutoShutdown/options.cpp')
-rw-r--r--plugins/AutoShutdown/options.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/AutoShutdown/options.cpp b/plugins/AutoShutdown/options.cpp
index 1e23b9005a..c173a169a9 100644
--- a/plugins/AutoShutdown/options.cpp
+++ b/plugins/AutoShutdown/options.cpp
@@ -31,7 +31,7 @@ static HANDLE hHookModulesLoaded;
#define M_ENABLE_SUBCTLS (WM_APP+111)
-static int CALLBACK ShutdownOptDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM lParam)
+static INT_PTR CALLBACK ShutdownOptDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM lParam)
{
switch(msg) {
case WM_INITDIALOG:
@@ -106,7 +106,6 @@ static int CALLBACK ShutdownOptDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARA
static int ShutdownOptInit(WPARAM wParam,LPARAM lParam)
{
OPTIONSDIALOGPAGE odp;
- UNREFERENCED_PARAMETER(lParam);
ZeroMemory(&odp,sizeof(odp));
odp.cbSize=sizeof(odp);
odp.hInstance=hInst;
@@ -116,7 +115,7 @@ static int ShutdownOptInit(WPARAM wParam,LPARAM lParam)
odp.ptszTitle=_T("Automatic Shutdown"); /* autotranslated */
odp.ptszTab=_T("Automatic Shutdown"); /* autotranslated, can be made a tab */
odp.flags=ODPF_BOLDGROUPS|ODPF_EXPERTONLY|ODPF_TCHAR;
- odp.pfnDlgProc=ShutdownOptDlgProc;
+ odp.pfnDlgProc = ShutdownOptDlgProc;
Options_AddPage(wParam, &odp);
return 0;
}
@@ -125,7 +124,6 @@ static int ShutdownOptInit(WPARAM wParam,LPARAM lParam)
static int __stdcall ActionProc(DWORD idAction,REPORTINFO *ri,int shutdownType)
{
- UNREFERENCED_PARAMETER(ri);
if(idAction&ACT_PERFORM) ServiceShutdown(shutdownType,TRUE);
return 0;
}
@@ -143,8 +141,6 @@ static int HangupActionProc(DWORD id,REPORTINFO *ri) ActionProcJmp(SDSDT_CLO
static int TriggerRegisterActions(WPARAM wParam,LPARAM lParam)
{
- UNREFERENCED_PARAMETER(wParam);
- UNREFERENCED_PARAMETER(lParam);
/* new trigger API (0.2.0.69+) */
if(ServiceExists(MS_TRIGGER_REGISTERCONDITION)) {
ACTIONREGISTER ar;