mmhelper.h
资源名称:shell.rar [点击查看]
上传用户:xhy777
上传日期:2007-02-14
资源大小:24088k
文件大小:1k
源码类别:
系统编程
开发平台:
Visual C++
- #ifndef _MMHELPER_H_
- #define _MMHELPER_H_
- /* This file contains the declarations of MultiMonitor helper functions used
- inside the shell, they are implemented in shelllibmmhelper.cpp */
- #ifdef __cplusplus
- extern "C" { /* Assume C declarations for C++ */
- #endif /* __cplusplus */
- HMONITOR GetPrimaryMonitor();
- BOOL GetMonitorRects(HMONITOR hMon, LPRECT prc, BOOL bWork);
- #define GetMonitorRect(hMon, prc)
- GetMonitorRects((hMon), (prc), FALSE)
- #define GetMonitorWorkArea(hMon, prc)
- GetMonitorRects((hMon), (prc), TRUE)
- #define IsMonitorValid(hMon)
- GetMonitorRects((hMon), NULL, TRUE)
- #define GetNumberOfMonitors()
- GetSystemMetrics(SM_CMONITORS)
- #ifdef __cplusplus
- }
- #endif /* __cplusplus */
- #endif /* _MMHELPER_H_ */
English
