Last change
on this file since 1180 was 1166, checked in by rossy, 3 years ago |
Daodan: Replace MinGW build env with an up-to-date MSYS2 env
|
File size:
1.4 KB
|
Rev | Line | |
---|
[1166] | 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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.