summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-25 12:07:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-25 12:07:46 +0000
commite64818967374ebdadf6f22d18296e7bc6088277b (patch)
tree14736c4f5d51012dfccb63bc745f08a63ec4f8fd /include
parentdd1460d664f7266920b07527f25f87ec8233daaf (diff)
IsFullScreen(), IsWorkstationLocked(), IsScreenSaverRunning() moved to the core
git-svn-id: http://svn.miranda-ng.org/main/trunk@6226 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_core.inc15
-rw-r--r--include/m_core.h5
2 files changed, 17 insertions, 3 deletions
diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc
index abc3713971..40298ee87b 100644
--- a/include/delphi/m_core.inc
+++ b/include/delphi/m_core.inc
@@ -742,8 +742,17 @@ procedure mir_unsubclassWindow(Wnd:HWND; WndProc:TWNDPROC); stdcall;
external CoreDLL name 'mir_unsubclassWindow';
///////////////////////////////////////////////////////////////////////////////
-
-procedure UnloadCoreModule(); stdcall;
- external CoreDLL name 'UnloadCoreModule';
+// Windows utilities
+
+function IsWinVerVistaPlus():int; stdcall;
+ external CoreDLL name 'IsWinVerVistaPlus';
+function IsWinVer7Plus():int; stdcall;
+ external CoreDLL name 'IsWinVer7Plus';
+function IsFullScreen():int; stdcall;
+ external CoreDLL name 'IsFullScreen';
+function IsWorkstationLocked():int; stdcall;
+ external CoreDLL name 'IsWorkstationLocked';
+function IsScreenSaverRunning():int; stdcall;
+ external CoreDLL name 'IsScreenSaverRunning';
{$ENDIF}
diff --git a/include/m_core.h b/include/m_core.h
index 93e97b1ba6..accab97bf1 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -898,10 +898,15 @@ MIR_CORE_DLL(void) mir_unsubclassWindow(HWND hWnd, WNDPROC wndProc);
MIR_CORE_DLL(void) KillModuleSubclassing(HMODULE hInst);
///////////////////////////////////////////////////////////////////////////////
+// Windows utilities
MIR_CORE_DLL(BOOL) IsWinVerVistaPlus();
MIR_CORE_DLL(BOOL) IsWinVer7Plus();
+MIR_CORE_DLL(BOOL) IsFullScreen();
+MIR_CORE_DLL(BOOL) IsWorkstationLocked();
+MIR_CORE_DLL(BOOL) IsScreenSaverRunning();
+
///////////////////////////////////////////////////////////////////////////////
MIR_CORE_DLL(void) UnloadCoreModule(void);