winapi_ui_automation/shared/
tvout.rs1use shared::guiddef::GUID;
7use shared::minwindef::{UCHAR, ULONG};
8STRUCT!{struct VIDEOPARAMETERS {
9 Guid: GUID,
10 dwOffset: ULONG,
11 dwCommand: ULONG,
12 dwFlags: ULONG,
13 dwMode: ULONG,
14 dwTVStandard: ULONG,
15 dwAvailableModes: ULONG,
16 dwAvailableTVStandard: ULONG,
17 dwFlickerFilter: ULONG,
18 dwOverScanX: ULONG,
19 dwOverScanY: ULONG,
20 dwMaxUnscaledX: ULONG,
21 dwMaxUnscaledY: ULONG,
22 dwPositionX: ULONG,
23 dwPositionY: ULONG,
24 dwBrightness: ULONG,
25 dwContrast: ULONG,
26 dwCPType: ULONG,
27 dwCPCommand: ULONG,
28 dwCPStandard: ULONG,
29 dwCPKey: ULONG,
30 bCP_APSTriggerBits: ULONG,
31 bOEMCopyProtection: [UCHAR; 256],
32}}
33pub type PVIDEOPARAMETERS = *mut VIDEOPARAMETERS;
34pub type LPVIDEOPARAMETERS = *mut VIDEOPARAMETERS;
35pub const VP_COMMAND_GET: ULONG = 0x0001;
36pub const VP_COMMAND_SET: ULONG = 0x0002;
37pub const VP_FLAGS_TV_MODE: ULONG = 0x0001;
38pub const VP_FLAGS_TV_STANDARD: ULONG = 0x0002;
39pub const VP_FLAGS_FLICKER: ULONG = 0x0004;
40pub const VP_FLAGS_OVERSCAN: ULONG = 0x0008;
41pub const VP_FLAGS_MAX_UNSCALED: ULONG = 0x0010;
42pub const VP_FLAGS_POSITION: ULONG = 0x0020;
43pub const VP_FLAGS_BRIGHTNESS: ULONG = 0x0040;
44pub const VP_FLAGS_CONTRAST: ULONG = 0x0080;
45pub const VP_FLAGS_COPYPROTECT: ULONG = 0x0100;
46pub const VP_MODE_WIN_GRAPHICS: ULONG = 0x0001;
47pub const VP_MODE_TV_PLAYBACK: ULONG = 0x0002;
48pub const VP_TV_STANDARD_NTSC_M: ULONG = 0x0001;
49pub const VP_TV_STANDARD_NTSC_M_J: ULONG = 0x0002;
50pub const VP_TV_STANDARD_PAL_B: ULONG = 0x0004;
51pub const VP_TV_STANDARD_PAL_D: ULONG = 0x0008;
52pub const VP_TV_STANDARD_PAL_H: ULONG = 0x0010;
53pub const VP_TV_STANDARD_PAL_I: ULONG = 0x0020;
54pub const VP_TV_STANDARD_PAL_M: ULONG = 0x0040;
55pub const VP_TV_STANDARD_PAL_N: ULONG = 0x0080;
56pub const VP_TV_STANDARD_SECAM_B: ULONG = 0x0100;
57pub const VP_TV_STANDARD_SECAM_D: ULONG = 0x0200;
58pub const VP_TV_STANDARD_SECAM_G: ULONG = 0x0400;
59pub const VP_TV_STANDARD_SECAM_H: ULONG = 0x0800;
60pub const VP_TV_STANDARD_SECAM_K: ULONG = 0x1000;
61pub const VP_TV_STANDARD_SECAM_K1: ULONG = 0x2000;
62pub const VP_TV_STANDARD_SECAM_L: ULONG = 0x4000;
63pub const VP_TV_STANDARD_WIN_VGA: ULONG = 0x8000;
64pub const VP_TV_STANDARD_NTSC_433: ULONG = 0x00010000;
65pub const VP_TV_STANDARD_PAL_G: ULONG = 0x00020000;
66pub const VP_TV_STANDARD_PAL_60: ULONG = 0x00040000;
67pub const VP_TV_STANDARD_SECAM_L1: ULONG = 0x00080000;
68pub const VP_CP_TYPE_APS_TRIGGER: ULONG = 0x0001;
69pub const VP_CP_TYPE_MACROVISION: ULONG = 0x0002;
70pub const VP_CP_CMD_ACTIVATE: ULONG = 0x0001;
71pub const VP_CP_CMD_DEACTIVATE: ULONG = 0x0002;
72pub const VP_CP_CMD_CHANGE: ULONG = 0x0004;