* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h, d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, mcd.h, miniport.h, mountdev.h, mountmgr.h, ndis.h, ndistapi.h, ndiswan.h, netpnp.h, newdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h, ntddcdvd.h, ntddchgr.h, ntdddisk.h, ntddkbd.h, ntddmou.h, ntddpar.h, ntddpcm.h, ntddscsi.h, ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h, ntddvdeo.h, ntddvol.h, ntpoapi.h, parallel.h, pfhook.h, poclass.h, scsi.h, scsiscan.h, smbus.h, srb.h, storport.h, tdiinfo.h, tdikrnl.h, tvout.h, upssvc.h, usb.h, usb100.h, usbdi.h, usbioctl.h, usbiodef.h, usbscan.h, usbuser.h, videoagp.h, winddi.h, winddk.h, winnt4.h, ws2san.h): Fixed packing. * include/ddk/atm.h (ATM_TRAFFIC_DESCRIPTOR_IE): Fixed declaration. * include/ddk/hidclass.h (HID_INTERFACE_HIDPARSE, HID_INTERFACE_NOTIFY_PNP): Likewise. * include/ddk/ndis.h (NDIS_DMA_BLOCK, CO_FLOW_PARAMETERS): Likewise. (NdisQueryPacketLength): Added macro. Thanks to Art Yerkes <ayerkes@speakeasy.net>. * include/ddk/usb100.h (USB_CONFIGURATION_DESCRIPTOR): Fixed declaration. * include/ddk/winddi.h (PATHDATA, GLYPHPOS): Likewise. * include/ddk/winddk.h (PDRIVER_CONTROL, PDRIVER_LIST_CONTROL, PDRIVER_ADD_DEVICE, PIO_COMPLETION_ROUTINE, PDRIVER_CANCEL, PKDEFERRED_ROUTINE, PDRIVER_DISPATCH, PIO_DPC_ROUTINE, PMM_DLL_INITIALIZE, PMM_DLL_UNLOAD, PDRIVER_ENTRY, PDRIVER_INITIALIZE, PKSERVICE_ROUTINE, PIO_TIMER_ROUTINE, PDRIVER_REINITIALIZE, PDRIVER_STARTIO, PKSYNCHRONIZE_ROUTINE, PDRIVER_UNLOAD, DRIVER_OBJECT): Fixed callback declarations. (struct FILE_BASIC_INFORMATION): Renamed to _FILE_BASIC_INFORMATION. (SYNCH_LEVEL): Added definition. (KPCR, KPCR_TIB): Fixed declaration. (Interlocked[Push/Pop]EntrySList): Declare only if winbase.h isn't included and _WIN32_WINNT >= 0x0501. (RtlEqualLuid): Fixed macro definition. (KfLowerIrql, KfRaiseIrql): Declare and use instead of KeLowerIrql and KeRaiseIrql on i386 architectures.
		
			
				
	
	
		
			117 lines
		
	
	
		
			3.6 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			117 lines
		
	
	
		
			3.6 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * tvout.h
 | 
						|
 *
 | 
						|
 * Definitions for TV-out support
 | 
						|
 *
 | 
						|
 * This file is part of the w32api package.
 | 
						|
 *
 | 
						|
 * Contributors:
 | 
						|
 *   Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
 | 
						|
 *
 | 
						|
 * THIS SOFTWARE IS NOT COPYRIGHTED
 | 
						|
 *
 | 
						|
 * This source code is offered for use in the public domain. You may
 | 
						|
 * use, modify or distribute it freely.
 | 
						|
 *
 | 
						|
 * This code is distributed in the hope that it will be useful but
 | 
						|
 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
 | 
						|
 * DISCLAIMED. This includes but is not limited to warranties of
 | 
						|
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 | 
						|
 *
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __TVOUT_H
 | 
						|
#define __TVOUT_H
 | 
						|
 | 
						|
#if __GNUC__ >=3
 | 
						|
#pragma GCC system_header
 | 
						|
#endif
 | 
						|
 | 
						|
#ifdef __cplusplus
 | 
						|
extern "C" {
 | 
						|
#endif
 | 
						|
 | 
						|
#include "ntddk.h"
 | 
						|
 | 
						|
/* VIDEOPARAMETERS.dwCommand constants */
 | 
						|
#define VP_COMMAND_GET                    0x00000001
 | 
						|
#define VP_COMMAND_SET                    0x00000002
 | 
						|
 | 
						|
/* VIDEOPARAMETERS.dwFlags constants */
 | 
						|
#define VP_FLAGS_TV_MODE                  0x00000001
 | 
						|
#define VP_FLAGS_TV_STANDARD              0x00000002
 | 
						|
#define VP_FLAGS_FLICKER                  0x00000004
 | 
						|
#define VP_FLAGS_OVERSCAN                 0x00000008
 | 
						|
#define VP_FLAGS_MAX_UNSCALED             0x00000010
 | 
						|
#define VP_FLAGS_POSITION                 0x00000020
 | 
						|
#define VP_FLAGS_BRIGHTNESS               0x00000040
 | 
						|
#define VP_FLAGS_CONTRAST                 0x00000080
 | 
						|
#define VP_FLAGS_COPYPROTECT              0x00000100
 | 
						|
 | 
						|
/* VIDEOPARAMETERS.dwMode constants */
 | 
						|
#define VP_MODE_WIN_GRAPHICS              0x00000001
 | 
						|
#define VP_MODE_TV_PLAYBACK               0x00000002
 | 
						|
 | 
						|
/* VIDEOPARAMETERS.dwTVStandard/dwAvailableTVStandard constants */
 | 
						|
#define VP_TV_STANDARD_NTSC_M             0x00000001
 | 
						|
#define VP_TV_STANDARD_NTSC_M_J           0x00000002
 | 
						|
#define VP_TV_STANDARD_PAL_B              0x00000004
 | 
						|
#define VP_TV_STANDARD_PAL_D              0x00000008
 | 
						|
#define VP_TV_STANDARD_PAL_H              0x00000010
 | 
						|
#define VP_TV_STANDARD_PAL_I              0x00000020
 | 
						|
#define VP_TV_STANDARD_PAL_M              0x00000040
 | 
						|
#define VP_TV_STANDARD_PAL_N              0x00000080
 | 
						|
#define VP_TV_STANDARD_SECAM_B            0x00000100
 | 
						|
#define VP_TV_STANDARD_SECAM_D            0x00000200
 | 
						|
#define VP_TV_STANDARD_SECAM_G            0x00000400
 | 
						|
#define VP_TV_STANDARD_SECAM_H            0x00000800
 | 
						|
#define VP_TV_STANDARD_SECAM_K            0x00001000
 | 
						|
#define VP_TV_STANDARD_SECAM_K1           0x00002000
 | 
						|
#define VP_TV_STANDARD_SECAM_L            0x00004000
 | 
						|
#define VP_TV_STANDARD_WIN_VGA            0x00008000
 | 
						|
#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
 | 
						|
 | 
						|
/* VIDEOPARAMETERS.dwMode constants */
 | 
						|
#define VP_CP_TYPE_APS_TRIGGER            0x00000001
 | 
						|
#define VP_CP_TYPE_MACROVISION            0x00000002
 | 
						|
 | 
						|
/* VIDEOPARAMETERS.dwCPCommand constants */
 | 
						|
#define VP_CP_CMD_ACTIVATE                0x00000001
 | 
						|
#define VP_CP_CMD_DEACTIVATE              0x00000002
 | 
						|
#define VP_CP_CMD_CHANGE                  0x00000004
 | 
						|
 | 
						|
typedef struct _VIDEOPARAMETERS {
 | 
						|
  GUID  Guid;
 | 
						|
  DWORD  dwOffset;
 | 
						|
  DWORD  dwCommand;
 | 
						|
  DWORD  dwFlags;
 | 
						|
  DWORD  dwMode;
 | 
						|
  DWORD  dwTVStandard;
 | 
						|
  DWORD  dwAvailableModes;
 | 
						|
  DWORD  dwAvailableTVStandard;
 | 
						|
  DWORD  dwFlickerFilter;
 | 
						|
  DWORD  dwOverScanX;
 | 
						|
  DWORD  dwOverScanY;
 | 
						|
  DWORD  dwMaxUnscaledX;
 | 
						|
  DWORD  dwMaxUnscaledY;
 | 
						|
  DWORD  dwPositionX;
 | 
						|
  DWORD  dwPositionY;
 | 
						|
  DWORD  dwBrightness;
 | 
						|
  DWORD  dwContrast;
 | 
						|
  DWORD  dwCPType;
 | 
						|
  DWORD  dwCPCommand;
 | 
						|
  DWORD  dwCPStandard;
 | 
						|
  DWORD  dwCPKey;
 | 
						|
  BYTE  bCP_APSTriggerBits;
 | 
						|
  BYTE  bOEMCopyProtection[256];
 | 
						|
} VIDEOPARAMETERS, *PVIDEOPARAMETERS, FAR *LPVIDEOPARAMETERS;
 | 
						|
 | 
						|
#ifdef __cplusplus
 | 
						|
}
 | 
						|
#endif
 | 
						|
 | 
						|
#endif /* __TVOUT_H */
 |