summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_shutdown.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-01 12:32:05 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-01 12:32:05 +0000
commit055d4460e17344248c7364afc5d19deeda39d644 (patch)
treee526bcd1496a0b3f7679278b9b7cc47c1e4d986a /plugins/ExternalAPI/m_shutdown.h
parente509920d44176bfba08b81fc4833e1c47d0ac66f (diff)
copyright update for year 2014
git-svn-id: http://svn.miranda-ng.org/main/trunk@7438 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI/m_shutdown.h')
-rw-r--r--plugins/ExternalAPI/m_shutdown.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/ExternalAPI/m_shutdown.h b/plugins/ExternalAPI/m_shutdown.h
index 3db262e885..239a728d82 100644
--- a/plugins/ExternalAPI/m_shutdown.h
+++ b/plugins/ExternalAPI/m_shutdown.h
@@ -1,8 +1,9 @@
/*
'AutoShutdown'-Plugin for
-Miranda IM: the free IM client for Microsoft* Windows*
+Miranda NG: the free IM client for Microsoft* Windows*
+Copyright (c) 2012-14 Miranda NG project (http://miranda-ng.org),
Copyright (C) 2004-2007 H. Herkenrath
This program is free software; you can redistribute it and/or
@@ -46,7 +47,7 @@ Returns 0 on success, nonzero otherwise.
#define MS_AUTOSHUTDOWN_SHUTDOWN "AutoShutdown/Shutdown"
/* shutdown types */
-#define SDSDT_CLOSEMIRANDA 1 // close miranda process
+#define SDSDT_CLOSEMIRANDA 1 // close miranda process
#define SDSDT_SETMIRANDAOFFLINE 2 // set all protocols to offline
#define SDSDT_LOGOFF 3 // logoff from Windows
#define SDSDT_REBOOT 4 // reboot computer
@@ -72,14 +73,14 @@ Returns a pointer to a string on success, NULL on error.
#define GSTDF_UNICODE 0x0002 // returns a Unicode string
#define GSTDF_UNTRANSLATED 0x0004 // returns an untranslated string
#if defined(_UNICODE)
- #define GSTDF_TCHAR GSTDF_UNICODE // will return WCHAR*
+ #define GSTDF_TCHAR GSTDF_UNICODE // will return WCHAR*
#else
#define GSTDF_TCHAR 0 // will return char*, as usual
#endif
/* Check if shutdown type is enabled v1.4.0.0+
Tests if a specific shutdown type is activated and its use is possible
-on the system. For example hibernate and stand-by modes are not available on
+on the system. For example hibernate and stand-by modes are not available on
older versions of Windows (needs Windows ME/2000+).
Shutdown might also be prohibited by security restrictions.
This services checks it all.