ifndef __TVOUT__
__TVOUT__ equ 1

ifndef GUID_DEFINED
include guiddef.inc
endif

VIDEOPARAMETERS		STRUC
Guid			GUID <> 
dwOffset		dd ?	
dwCommand		dd ?	
dwFlags			dd ?	
dwMode			dd ?	
dwTVStandard		dd ?	
dwAvailableModes	dd ?	
dwAvailableTVStandard	dd ?	
dwFlickerFilter		dd ?	
dwOverScanX		dd ?	
dwOverScanY		dd ?	
dwMaxUnscaledX		dd ?	
dwMaxUnscaledY		dd ?	
dwPositionX		dd ?	
dwPositionY		dd ?	
dwBrightness		dd ?	
dwContrast		dd ?	
dwCPType		dd ?	
dwCPCommand		dd ?	
dwCPStandard		dd ?	
dwCPKey			dd ?
bCP_APSTriggerBits	dd ?	
bOEMCopyProtection	db 256 dup(?) 
VIDEOPARAMETERS		ENDS
PVIDEOPARAMETERS	typedef ptr VIDEOPARAMETERS
LPVIDEOPARAMETERS	typedef ptr VIDEOPARAMETERS

VP_COMMAND_GET		equ 0x0001  
VP_COMMAND_SET		equ 0x0002  

VP_FLAGS_TV_MODE	equ 0x0001
VP_FLAGS_TV_STANDARD	equ 0x0002
VP_FLAGS_FLICKER	equ 0x0004
VP_FLAGS_OVERSCAN	equ 0x0008
VP_FLAGS_MAX_UNSCALED	equ 0x0010  
VP_FLAGS_POSITION	equ 0x0020
VP_FLAGS_BRIGHTNESS	equ 0x0040
VP_FLAGS_CONTRAST	equ 0x0080
VP_FLAGS_COPYPROTECT	equ 0x0100

VP_MODE_WIN_GRAPHICS	equ 0x0001
VP_MODE_TV_PLAYBACK	equ 0x0002  

VP_TV_STANDARD_NTSC_M	equ 0x0001  
VP_TV_STANDARD_NTSC_M_J equ 0x0002  
VP_TV_STANDARD_PAL_B	equ 0x0004
VP_TV_STANDARD_PAL_D	equ 0x0008
VP_TV_STANDARD_PAL_H	equ 0x0010
VP_TV_STANDARD_PAL_I	equ 0x0020
VP_TV_STANDARD_PAL_M	equ 0x0040
VP_TV_STANDARD_PAL_N	equ 0x0080
VP_TV_STANDARD_SECAM_B	equ 0x0100
VP_TV_STANDARD_SECAM_D	equ 0x0200
VP_TV_STANDARD_SECAM_G	equ 0x0400
VP_TV_STANDARD_SECAM_H	equ 0x0800
VP_TV_STANDARD_SECAM_K	equ 0x1000
VP_TV_STANDARD_SECAM_K1 equ 0x2000
VP_TV_STANDARD_SECAM_L	equ 0x4000
VP_TV_STANDARD_WIN_VGA	equ 0x8000
VP_TV_STANDARD_NTSC_433 equ 0x00010000
VP_TV_STANDARD_PAL_G	equ 0x00020000
VP_TV_STANDARD_PAL_60	equ 0x00040000
VP_TV_STANDARD_SECAM_L1 equ 0x00080000

VP_CP_TYPE_APS_TRIGGER	equ 0x0001  
VP_CP_TYPE_MACROVISION	equ 0x0002  

VP_CP_CMD_ACTIVATE	equ 0x0001  
VP_CP_CMD_DEACTIVATE	equ 0x0002
VP_CP_CMD_CHANGE	equ 0x0004

endif

