From d499c4b7f0ade6396f40f64fc41830639ecf7b4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Wed, 26 Mar 2014 05:24:03 +0100 Subject: [PATCH] include: Add lowlevelmonitorconfigurationapi.h. --- include/Makefile.in | 1 + include/lowlevelmonitorconfigurationapi.h | 43 +++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 include/lowlevelmonitorconfigurationapi.h diff --git a/include/Makefile.in b/include/Makefile.in index 3aa45cf07e8..eee809e5a49 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -373,6 +373,7 @@ SRCDIR_INCLUDES = \ lmuseflg.h \ lmwksta.h \ loadperf.h \ + lowlevelmonitorconfigurationapi.h \ lzexpand.h \ mapi.h \ mapicode.h \ diff --git a/include/lowlevelmonitorconfigurationapi.h b/include/lowlevelmonitorconfigurationapi.h new file mode 100644 index 00000000000..aeedf4b6aa1 --- /dev/null +++ b/include/lowlevelmonitorconfigurationapi.h @@ -0,0 +1,43 @@ +/* + * 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_LOWLEVELMONITORCONFIGURATIONAPI_H +#define __WINE_LOWLEVELMONITORCONFIGURATIONAPI_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _MC_TIMING_REPORT +{ + BYTE bTimingStatusByte; + DWORD dwHorizontalFrequencyInHZ; + DWORD dwVerticalFrequencyInHZ; +} MC_TIMING_REPORT, *LPMC_TIMING_REPORT; + +typedef enum _MC_VCP_CODE_TYPE +{ + MC_MOMENTARY, + MC_SET_PARAMETER +} MC_VCP_CODE_TYPE, *LPMC_VCP_CODE_TYPE; + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_LOWLEVELMONITORCONFIGURATIONAPI_H */