ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/i686-w64-mingw32/include/physicalmonitorenumerationapi.h
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
Content type: text/x-chdr
File size: 1449 byte(s)
Log Message:
Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File Contents

# Content
1 /**
2 * This file is part of the mingw-w64 runtime package.
3 * No warranty is given; refer to the file DISCLAIMER within this package.
4 */
5
6 #include <winapifamily.h>
7
8 #ifndef PhysicalMonitorEnumerationAPI_h
9 #define PhysicalMonitorEnumerationAPI_h
10
11 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
12
13 #include <d3d9.h>
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 #define PHYSICAL_MONITOR_DESCRIPTION_SIZE 128
20
21 typedef WINBOOL _BOOL;
22
23 #include <pshpack1.h>
24
25 typedef struct _PHYSICAL_MONITOR {
26 HANDLE hPhysicalMonitor;
27 WCHAR szPhysicalMonitorDescription[PHYSICAL_MONITOR_DESCRIPTION_SIZE];
28 } PHYSICAL_MONITOR,*LPPHYSICAL_MONITOR;
29
30 #include <poppack.h>
31
32 _BOOL WINAPI DestroyPhysicalMonitor (HANDLE hMonitor);
33 _BOOL WINAPI DestroyPhysicalMonitors (DWORD dwPhysicalMonitorArraySize, LPPHYSICAL_MONITOR pPhysicalMonitorArray);
34 _BOOL WINAPI GetNumberOfPhysicalMonitorsFromHMONITOR (HMONITOR hMonitor, LPDWORD pdwNumberOfPhysicalMonitors);
35 HRESULT WINAPI GetNumberOfPhysicalMonitorsFromIDirect3DDevice9 (IDirect3DDevice9 *pDirect3DDevice9, LPDWORD pdwNumberOfPhysicalMonitors);
36 _BOOL WINAPI GetPhysicalMonitorsFromHMONITOR (HMONITOR hMonitor, DWORD dwPhysicalMonitorArraySize, LPPHYSICAL_MONITOR pPhysicalMonitorArray);
37 HRESULT WINAPI GetPhysicalMonitorsFromIDirect3DDevice9 (IDirect3DDevice9 *pDirect3DDevice9, DWORD dwPhysicalMonitorArraySize, LPPHYSICAL_MONITOR pPhysicalMonitorArray);
38
39 #ifdef __cplusplus
40 }
41 #endif
42 #endif
43 #endif