Module: wine Branch: master Commit: 245c53655dccba658b893126384c59127b67d07d URL: http://source.winehq.org/git/wine.git/?a=commit;h=245c53655dccba658b89312638...
Author: Michael Müller michael@fds-team.de Date: Wed Mar 26 05:20:09 2014 +0100
include: Add physicalmonitorenumerationapi.h.
---
include/Makefile.in | 1 + include/physicalmonitorenumerationapi.h | 40 +++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in index d6997db..3aa45cf 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -475,6 +475,7 @@ SRCDIR_INCLUDES = \ patchapi.h \ pdh.h \ pdhmsg.h \ + physicalmonitorenumerationapi.h \ pktdef.h \ poppack.h \ powrprof.h \ diff --git a/include/physicalmonitorenumerationapi.h b/include/physicalmonitorenumerationapi.h new file mode 100644 index 0000000..deac267 --- /dev/null +++ b/include/physicalmonitorenumerationapi.h @@ -0,0 +1,40 @@ +/* + * Copyright 2014 Michael Müller for Pipelight + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_PHYSICALMONITORENUMERATIONAPI_H +#define __WINE_PHYSICALMONITORENUMERATIONAPI_H + +#include <d3d9.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#define PHYSICAL_MONITOR_DESCRIPTION_SIZE 128 + +typedef struct _PHYSICAL_MONITOR +{ + HANDLE hPhysicalMonitor; + WCHAR szPhysicalMonitorDescription[PHYSICAL_MONITOR_DESCRIPTION_SIZE]; +} PHYSICAL_MONITOR, *LPPHYSICAL_MONITOR; + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_PHYSICALMONITORENUMERATIONAPI_H */