From dc251a7d8d8bb4fb57773790152bfe85236f5f12 Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 18 Jul 2009 22:06:37 +0200 Subject: win64: use new headers from mingw --- win32/include/winapi/tvout.h | 79 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 win32/include/winapi/tvout.h (limited to 'win32/include/winapi/tvout.h') diff --git a/win32/include/winapi/tvout.h b/win32/include/winapi/tvout.h new file mode 100644 index 0000000..228a682 --- /dev/null +++ b/win32/include/winapi/tvout.h @@ -0,0 +1,79 @@ +/** + * This file has no copyright assigned and is placed in the Public Domain. + * This file is part of the w64 mingw-runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ +#ifndef __TVOUT__ +#define __TVOUT__ + +#include + +typedef struct _VIDEOPARAMETERS { + GUID Guid; + ULONG dwOffset; + ULONG dwCommand; + ULONG dwFlags; + ULONG dwMode; + ULONG dwTVStandard; + ULONG dwAvailableModes; + ULONG dwAvailableTVStandard; + ULONG dwFlickerFilter; + ULONG dwOverScanX; + ULONG dwOverScanY; + ULONG dwMaxUnscaledX; + ULONG dwMaxUnscaledY; + ULONG dwPositionX; + ULONG dwPositionY; + ULONG dwBrightness; + ULONG dwContrast; + ULONG dwCPType; + ULONG dwCPCommand; + ULONG dwCPStandard; + ULONG dwCPKey; + ULONG bCP_APSTriggerBits; + UCHAR bOEMCopyProtection[256]; +} VIDEOPARAMETERS,*PVIDEOPARAMETERS,*LPVIDEOPARAMETERS; + +#define VP_COMMAND_GET 0x0001 +#define VP_COMMAND_SET 0x0002 + +#define VP_FLAGS_TV_MODE 0x0001 +#define VP_FLAGS_TV_STANDARD 0x0002 +#define VP_FLAGS_FLICKER 0x0004 +#define VP_FLAGS_OVERSCAN 0x0008 +#define VP_FLAGS_MAX_UNSCALED 0x0010 +#define VP_FLAGS_POSITION 0x0020 +#define VP_FLAGS_BRIGHTNESS 0x0040 +#define VP_FLAGS_CONTRAST 0x0080 +#define VP_FLAGS_COPYPROTECT 0x0100 + +#define VP_MODE_WIN_GRAPHICS 0x0001 +#define VP_MODE_TV_PLAYBACK 0x0002 + +#define VP_TV_STANDARD_NTSC_M 0x0001 +#define VP_TV_STANDARD_NTSC_M_J 0x0002 +#define VP_TV_STANDARD_PAL_B 0x0004 +#define VP_TV_STANDARD_PAL_D 0x0008 +#define VP_TV_STANDARD_PAL_H 0x0010 +#define VP_TV_STANDARD_PAL_I 0x0020 +#define VP_TV_STANDARD_PAL_M 0x0040 +#define VP_TV_STANDARD_PAL_N 0x0080 +#define VP_TV_STANDARD_SECAM_B 0x0100 +#define VP_TV_STANDARD_SECAM_D 0x0200 +#define VP_TV_STANDARD_SECAM_G 0x0400 +#define VP_TV_STANDARD_SECAM_H 0x0800 +#define VP_TV_STANDARD_SECAM_K 0x1000 +#define VP_TV_STANDARD_SECAM_K1 0x2000 +#define VP_TV_STANDARD_SECAM_L 0x4000 +#define VP_TV_STANDARD_WIN_VGA 0x8000 +#define VP_TV_STANDARD_NTSC_433 0x00010000 +#define VP_TV_STANDARD_PAL_G 0x00020000 +#define VP_TV_STANDARD_PAL_60 0x00040000 +#define VP_TV_STANDARD_SECAM_L1 0x00080000 + +#define VP_CP_TYPE_APS_TRIGGER 0x0001 +#define VP_CP_TYPE_MACROVISION 0x0002 +#define VP_CP_CMD_ACTIVATE 0x0001 +#define VP_CP_CMD_DEACTIVATE 0x0002 +#define VP_CP_CMD_CHANGE 0x0004 +#endif -- cgit v1.3.1