Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
784 B

  1. #ifdef __cplusplus
  2. extern "C" { // Assume C declarations for C++
  3. #endif // __cplusplus
  4. #ifndef MULTIMON_FNS_DEFINED
  5. int (WINAPI* g_pfnGetSystemMetrics)(int) = NULL;
  6. HMONITOR (WINAPI* g_pfnMonitorFromWindow)(HWND, DWORD) = NULL;
  7. HMONITOR (WINAPI* g_pfnMonitorFromRect)(LPCRECT, DWORD) = NULL;
  8. HMONITOR (WINAPI* g_pfnMonitorFromPoint)(POINT, DWORD) = NULL;
  9. BOOL (WINAPI* g_pfnGetMonitorInfo)(HMONITOR, LPMONITORINFO) = NULL;
  10. BOOL (WINAPI* g_pfnEnumDisplayMonitors)(HDC, LPCRECT, MONITORENUMPROC, LPARAM) = NULL;
  11. BOOL (WINAPI* g_pfnEnumDisplayDevices)(PVOID, DWORD, PDISPLAY_DEVICE,DWORD) = NULL;
  12. BOOL g_fMultiMonInitDone = FALSE;
  13. BOOL g_fMultimonPlatformNT = FALSE;
  14. #define MULTIMON_FNS_DEFINED
  15. #endif
  16. #ifdef __cplusplus
  17. }
  18. #endif // __cplusplus