//---------------------------------------------------------------------------

#ifndef TVSH
#define TVSH
//---------------------------------------------------------------------------

#pragma pack(1)
typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0001
    {	TN_LCI_MAX_MONITOR	= 0,
	TN_LCI_MAX_DISPLAY_CHANNEL	= ( TN_LCI_MAX_MONITOR + 1 ) ,
	TN_LCI_MAX_RECORD_CHANNEL	= ( TN_LCI_MAX_DISPLAY_CHANNEL + 1 ) ,
	TN_LCI_MAX_RESOLUTION	= ( TN_LCI_MAX_RECORD_CHANNEL + 1 ) ,
	TN_LCI_MIC_VOL	= ( TN_LCI_MAX_RESOLUTION + 1 ) ,
	TN_LCI_SPEAKER_VOL	= ( TN_LCI_MIC_VOL + 1 ) ,
	TN_LCI_SNAPSHOT_FOLDER	= ( TN_LCI_SPEAKER_VOL + 1 ) ,
	TN_LCI_BUFFER_FRAMES	= ( TN_LCI_SNAPSHOT_FOLDER + 1 ) ,
	TN_LCI_SYNC_CONNECT	= ( TN_LCI_BUFFER_FRAMES + 1 ) ,
	TN_LCI_AUTO_PLAY	= ( TN_LCI_SYNC_CONNECT + 1 ) ,
	TN_LCI_PTZ_BASE	= ( TN_LCI_AUTO_PLAY + 1 ) ,
	TN_LCI_MAX_HD_CHANNEL	= ( TN_LCI_PTZ_BASE + 1 ) ,
	TN_LCI_DISPLAY_VIDEOLOSS_ON	= ( TN_LCI_MAX_HD_CHANNEL + 1 ) ,
	TN_LCI_DISPLAY_VIDEOLOSS_TEXT	= ( TN_LCI_DISPLAY_VIDEOLOSS_ON + 1 ) ,
	TN_LCI_DISPLAY_TEXT_FOREGROUND	= ( TN_LCI_DISPLAY_VIDEOLOSS_TEXT + 1 ) ,
	TN_LCI_DISPLAY_TEXT_BACKGROUND	= ( TN_LCI_DISPLAY_TEXT_FOREGROUND + 1 ) ,
	TN_LCI_DISPLAY_GRID_ON	= ( TN_LCI_DISPLAY_TEXT_BACKGROUND + 1 ) ,
	TN_LCI_DISPLAY_GRID_COLOR	= ( TN_LCI_DISPLAY_GRID_ON + 1 ) ,
	TN_LCI_DISPLAY_TRY_CONNECT_ON	= ( TN_LCI_DISPLAY_GRID_COLOR + 1 ) ,
	TN_LCI_DISPLAY_TRY_CONNECT_TEXT	= ( TN_LCI_DISPLAY_TRY_CONNECT_ON + 1 ) ,
	TN_LCI_DISPLAY_DISCONNECT_ON	= ( TN_LCI_DISPLAY_TRY_CONNECT_TEXT + 1 ) ,
	TN_LCI_DISPLAY_DISCONNECT_TEXT	= ( TN_LCI_DISPLAY_DISCONNECT_ON + 1 ) ,
	TN_LCI_DISPLAY_GRID_WIDTH	= ( TN_LCI_DISPLAY_DISCONNECT_TEXT + 1 ) ,
	TN_LCI_DISPLAY_STATISTICS	= ( TN_LCI_DISPLAY_GRID_WIDTH + 1 ) ,
	TN_LCI_OSD_MODE	= ( TN_LCI_DISPLAY_STATISTICS + 1 ) ,
	TN_LCI_CONNECTION_TIMEOUT	= ( TN_LCI_OSD_MODE + 1 ) ,
	TN_LCI_ONSCREEN_DIGITALZOOM	= ( TN_LCI_CONNECTION_TIMEOUT + 1 ) ,
	TN_LCI_D3D_RESOURCES	= ( TN_LCI_ONSCREEN_DIGITALZOOM + 1 ) ,
	TN_LCI_NATIVE_NOTIFICATIONS	= ( TN_LCI_D3D_RESOURCES + 1 ) ,
	TN_LCI_IVS_PRESENTED	= ( TN_LCI_NATIVE_NOTIFICATIONS + 1 ) ,
	TN_LCI_IVS_USE	= ( TN_LCI_IVS_PRESENTED + 1 ) ,
	TN_LCI_ENUM_SERVERS	= ( TN_LCI_IVS_USE + 1 ) ,
	TN_LCI_TCFID	= ( TN_LCI_ENUM_SERVERS + 1 ) ,
	TN_LCI_PLAYBACKTIME	= ( TN_LCI_TCFID + 1 ) ,
	TN_LCI_KEYFRAMES_ONLY_FF	= ( TN_LCI_PLAYBACKTIME + 1 ) ,
	TN_LCI_1X1_VIDEO_CHNL	= ( TN_LCI_KEYFRAMES_ONLY_FF + 1 ) ,
	TN_LCI_1X1_AUDIO_CHNL	= ( TN_LCI_1X1_VIDEO_CHNL + 1 ) ,
	TN_LCI_PLAYBACKTIME_FONTSIZE	= ( TN_LCI_1X1_AUDIO_CHNL + 1 ) ,
	TN_LCI_DISPLAY_OUTOFMEMORY_TEXT	= ( TN_LCI_PLAYBACKTIME_FONTSIZE + 1 ) ,
	TN_LCI_AVSYNC_ENABLE	= ( TN_LCI_DISPLAY_OUTOFMEMORY_TEXT + 1 ) ,
	TN_LCI_AVSYNC_RESYNC	= ( TN_LCI_AVSYNC_ENABLE + 1 ) ,
	TN_LCI_ABUFFER	= ( TN_LCI_AVSYNC_RESYNC + 1 ) ,
	TN_LCI_SNAPSHOT_ASPECTRATIO	= ( TN_LCI_ABUFFER + 1 ) ,
	TN_LCI_APPLICATION_ID	= ( TN_LCI_SNAPSHOT_ASPECTRATIO + 1 ) ,
	TN_LCI_AVIBACKUP_FILENAME_CHANGE_MESSAGE	= ( TN_LCI_APPLICATION_ID + 1 ) ,
	TN_LCI_AVIBACKUP_FILENAME_CHANGE_CAPTION	= ( TN_LCI_AVIBACKUP_FILENAME_CHANGE_MESSAGE + 1 ) ,
	TN_LCI_VIDEO_MEMORY_LIMIT	= ( TN_LCI_AVIBACKUP_FILENAME_CHANGE_CAPTION + 1 ) ,
	TN_LCI_DISPLAY_RESTRICTED_ON	= ( TN_LCI_VIDEO_MEMORY_LIMIT + 1 ) ,
	TN_LCI_DISPLAY_RESTRICTED_TEXT	= ( TN_LCI_DISPLAY_RESTRICTED_ON + 1 ) ,
	TN_LCI_DISPLAY_RESTRICTED_TEXT_BOX	= ( TN_LCI_DISPLAY_RESTRICTED_TEXT + 1 ) ,
	TN_LCI_DISPLAY_LIMIT_FRAMERATE	= ( TN_LCI_DISPLAY_RESTRICTED_TEXT_BOX + 1 ) ,
	TN_LCI_AUDIO_DISPLAY_POS	= ( TN_LCI_DISPLAY_LIMIT_FRAMERATE + 1 ) ,
	TN_LCI_DISPLAY_AUDIOLOSS_ON	= ( TN_LCI_AUDIO_DISPLAY_POS + 1 ) ,
	TN_LCI_DISPLAY_AUDIOLOSS_TEXT	= ( TN_LCI_DISPLAY_AUDIOLOSS_ON + 1 ) ,
	TN_LCI_WMVBACKUP_NODECODER_MESSAGE	= ( TN_LCI_DISPLAY_AUDIOLOSS_TEXT + 1 ) ,
	TN_LCI_WMVBACKUP_NODECODER_CAPTION	= ( TN_LCI_WMVBACKUP_NODECODER_MESSAGE + 1 ) ,
	TN_LCI_AUDIOLEVEL_SUPPORTED	= ( TN_LCI_WMVBACKUP_NODECODER_CAPTION + 1 ) ,
	TN_LCI_DECODINGTIME_SUPPORTED	= ( TN_LCI_AUDIOLEVEL_SUPPORTED + 1 ) ,
	TN_LCI_IFRAMEPLAYBACK_SUPPORTED	= ( TN_LCI_DECODINGTIME_SUPPORTED + 1 ) ,
	TN_LCI_GUID	= ( TN_LCI_IFRAMEPLAYBACK_SUPPORTED + 1 )
    } 	TN_LCI_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0002
    {	TN_SNC_NO_ERROR	= 0,
	TN_SNC_MEMORYLACK	= ( TN_SNC_NO_ERROR + 1 ) ,
	TN_SNC_CPUOVERLOAD	= ( TN_SNC_MEMORYLACK + 1 ) ,
	TN_SNC_CN_SERVER_UNREACHABLE	= 10,
	TN_SNC_CN_TOO_MANY_CONNECTION	= ( TN_SNC_CN_SERVER_UNREACHABLE + 1 ) ,
	TN_SNC_CN_PASSWORD_MISMATCH	= ( TN_SNC_CN_TOO_MANY_CONNECTION + 1 ) ,
	TN_SNC_CN_CONNECTION_DISABLED	= ( TN_SNC_CN_PASSWORD_MISMATCH + 1 ) ,
	TN_SNC_CN_ID_NOT_EXIST	= ( TN_SNC_CN_CONNECTION_DISABLED + 1 ) ,
	TN_SNC_CN_DOMAINNAME_UNKNOWN	= ( TN_SNC_CN_ID_NOT_EXIST + 1 ) ,
	TN_SNC_CN_PARAMETER_OUTOFRANGE	= ( TN_SNC_CN_DOMAINNAME_UNKNOWN + 1 ) ,
	TN_SNC_CN_DUPLICATE_CONNECT	= ( TN_SNC_CN_PARAMETER_OUTOFRANGE + 1 ) ,
	TN_SNC_CN_KEEPALIVE_FAILED	= ( TN_SNC_CN_DUPLICATE_CONNECT + 1 ) ,
	TN_SNC_CN_NO_AUTHORITY_OPERATION	= ( TN_SNC_CN_KEEPALIVE_FAILED + 1 ) ,
	TN_SNC_CN_OPERATION_FAILED	= ( TN_SNC_CN_NO_AUTHORITY_OPERATION + 1 ) ,
	TN_SNC_FAILED_INITIALIZE_DISPLAY	= ( TN_SNC_CN_OPERATION_FAILED + 1 ) ,
	TN_SNC_CN_INVALID_TCFID	= ( TN_SNC_FAILED_INITIALIZE_DISPLAY + 1 )
    } 	TN_SNC_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0003
    {	TN_RT_D1	= 0,
	TN_RT_CIF	= ( TN_RT_D1 + 1 ) ,
	TN_RT_HDF	= ( TN_RT_CIF + 1 ) ,
	TN_RT_2CIF	= ( TN_RT_HDF + 1 ) ,
	TN_RT_HALFD1	= ( TN_RT_2CIF + 1 ) ,
	TN_RT_XHDF	= ( TN_RT_HALFD1 + 1 )
    } 	TN_RT_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0004
    {	TN_MT_VIDEO	= 0,
	TN_MT_AUDIO	= ( TN_MT_VIDEO + 1 ) ,
	TN_MT_AUDIO_UP	= ( TN_MT_AUDIO + 1 )
    } 	TN_MT_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0005
    {	TN_MTC_UNKNOWN	= 0,
	TN_MTC_MPEG_1	= ( TN_MTC_UNKNOWN + 1 ) ,
	TN_MTC_MPEG_2	= ( TN_MTC_MPEG_1 + 1 ) ,
	TN_MTC_MPEG_4	= ( TN_MTC_MPEG_2 + 1 ) ,
	TN_MTC_JPEG	= ( TN_MTC_MPEG_4 + 1 ) ,
	TN_MTC_H_263	= ( TN_MTC_JPEG + 1 ) ,
	TN_MTC_H_264	= ( TN_MTC_H_263 + 1 ) ,
	TN_MTC_PCM	= ( TN_MTC_H_264 + 1 ) ,
	TN_MTC_G_711A	= ( TN_MTC_PCM + 1 ) ,
	TN_MTC_G_711U	= ( TN_MTC_G_711A + 1 ) ,
	TN_MTC_G_722	= ( TN_MTC_G_711U + 1 ) ,
	TN_MTC_G_723_1	= ( TN_MTC_G_722 + 1 ) ,
	TN_MTC_GSM	= ( TN_MTC_G_723_1 + 1 ) ,
	TN_MTC_SERIAL	= ( TN_MTC_GSM + 1 ) ,
	TN_MTC_MPEG1A2	= ( TN_MTC_SERIAL + 1 ) ,
	TN_MTC_MPEG1A3	= ( TN_MTC_MPEG1A2 + 1 ) ,
	TN_MTC_AAC	= ( TN_MTC_MPEG1A3 + 1 ) ,
	TN_MTC_RAW_YUV420	= 0x20,
	TN_MTC_RAW_YUV422	= ( TN_MTC_RAW_YUV420 + 1 ) ,
	TN_MTC_RAW_RGB32	= ( TN_MTC_RAW_YUV422 + 1 ) ,
	TN_MTC_RAW_RGB888	= ( TN_MTC_RAW_RGB32 + 1 )
    } 	TN_MTC_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0006
    {	TN_CS_CONNECTED	= 0x1,
	TN_CS_STREAMED	= 0x2,
	TN_CS_DECODED	= 0x4,
	TN_CS_DISPLAYED	= 0x8,
	TN_CS_RECORDED	= 0x10,
	TN_CS_TRY_CONNECT	= 0x20
    } 	TN_CS_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0007
    {	TN_ENCODED	= 0,
	TN_DECODED	= ( TN_ENCODED + 1 )
    } 	TN_FORMAT_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0008
    {	TN_LM_1X1	= 0,
	TN_LM_2X2	= ( TN_LM_1X1 + 1 ) ,
	TN_LM_3X3	= ( TN_LM_2X2 + 1 ) ,
	TN_LM_4X4	= ( TN_LM_3X3 + 1 ) ,
	TN_LM_1_12	= ( TN_LM_4X4 + 1 ) ,
	TN_LM_2_8	= ( TN_LM_1_12 + 1 ) ,
	TN_LM_1_5	= ( TN_LM_2_8 + 1 ) ,
	TN_LM_5X5	= ( TN_LM_1_5 + 1 ) ,
	TN_LM_6X6	= ( TN_LM_5X5 + 1 ) ,
	TN_LM_7X7	= ( TN_LM_6X6 + 1 ) ,
	TN_LM_8X8	= ( TN_LM_7X7 + 1 ) ,
	TN_LM_2X3	= ( TN_LM_8X8 + 1 ) ,
	TN_LM_ARBITRARY	= 0xff
    } 	TN_LM_MODE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0009
    {	TN_ET_DI	= 0,
	TN_ET_VIDEOLOSS	= ( TN_ET_DI + 1 ) ,
	TN_ET_MOTION	= ( TN_ET_VIDEOLOSS + 1 ) ,
	TN_ET_TIMECHANGED	= ( TN_ET_MOTION + 1 ) ,
	TN_ET_DO	= ( TN_ET_TIMECHANGED + 1 ) ,
	TN_ET_RECORD	= ( TN_ET_DO + 1 ) ,
	TN_ET_RESOLUTIONCHANGED	= ( TN_ET_RECORD + 1 ) ,
	TN_ET_AUDIO_SILENCE	= ( TN_ET_RESOLUTIONCHANGED + 1 ) ,
	TN_ET_IVS_EVENT	= ( TN_ET_AUDIO_SILENCE + 1 ) ,
	TN_ET_IVS_CONFIG_CHANGED	= ( TN_ET_IVS_EVENT + 1 )
    } 	TN_ET_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0010
    {	TN_ES_ERROR	= -1,
	TN_ES_OFF	= 0,
	TN_ES_ON	= 1
    } 	TN_ES_STATUS;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0011
    {	TN_PTZ_STOP	= 0,
	TN_PTZ_CONTINUE	= 0x1,
	TN_PTZ_LEFT	= 0x2,
	TN_PTZ_RIGHT	= 0x3,
	TN_PTZ_UP	= 0x4,
	TN_PTZ_DOWN	= 0x5,
	TN_PTZ_ZOOMIN	= 0x6,
	TN_PTZ_ZOOMOUT	= 0x7,
	TN_PTZ_FOCUSNEAR	= 0x8,
	TN_PTZ_FOCUSFAR	= 0x9,
	TN_PTZ_LEFTUP	= 0xa,
	TN_PTZ_LEFTDOWN	= 0xb,
	TN_PTZ_RIGHTUP	= 0xc,
	TN_PTZ_RIGHTDOWN	= 0xd,
	TN_PTZ_LIGHT_ON	= 0xe,
	TN_PTZ_LIGHT_OFF	= 0xf,
	TN_PTZ_POWER_ON	= 0x10,
	TN_PTZ_POWER_OFF	= 0x11,
	TN_PTZ_HOME	= 0x12,
	TN_PTZ_AUTOPANSTART	= 0x13,
	TN_PTZ_AUTOPANSTOP	= 0x14,
	TN_PTZ_IRISCLOSE	= 0x15,
	TN_PTZ_IRISOPEN	= 0x16,
	TN_PTZ_IRISAUTO	= 0x17,
	TN_PTZ_PATROLSTART	= 0x18,
	TN_PTZ_PATROLSTOP	= 0x19,
	TN_PTZ_CODE_WIPER_ON	= 0x1a,
	TN_PTZ_CODE_WIPER_OFF	= 0x1b,
	TN_PTZ_CODE_FOCUSAUTO	= 0x1c,
	TN_PTZ_CODE_MENU_ON	= 0x1d,
	TN_PTZ_CODE_MENU_OFF	= 0x1e,
	TN_PTZ_CODE_MENU_ENTER	= 0x1f,
	TN_PTZ_CODE_MENU_ESC	= 0x20,
	TN_PTZ_CODE_MENU_UP	= 0x60,
	TN_PTZ_CODE_MENU_DOWN	= 0x61,
	TN_PTZ_CODE_MENU_RIGHT	= 0x62,
	TN_PTZ_CODE_MENU_LEFT	= 0x63
    } 	TN_PTZ_CMD;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0012
    {	TN_OSD_TEXT	= 0,
	TN_OSD_BITMAP	= 1,
	TN_OSD_RECTANGLE	= 2,
	TN_OSD_EMPTY_RECTANGLE	= 3
    } 	TN_OSD_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0013
    {	TN_OSD_MODE_GDI	= 0,
	TN_OSD_MODE_D3D	= ( TN_OSD_MODE_GDI + 1 )
    } 	TN_OSD_MODE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0014
    {	TN_BTN_PLAYSTOP	= 0x1,
	TN_BTN_SNAPSHOT	= 0x2,
	TN_BTN_FULLSCREEN	= 0x4,
	TN_BTN_SPK_VOLUME	= 0x8,
	TN_BTN_MIC_VOLUME	= 0x10,
	TN_BTN_TALK	= 0x20,
	TN_BTN_MUTE	= 0x40,
	TN_BTN_RECORD	= 0x80,
	TN_BTN_ALL	= 0xffffffff
    } 	TN_TOOLBAR_BTN;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0015
    {	TN_ST_ENCODER	= 0,
	TN_ST_DECODER	= ( TN_ST_ENCODER + 1 ) ,
	TN_ST_DUPLEX	= ( TN_ST_DECODER + 1 ) ,
	TN_ST_DVR	= ( TN_ST_DUPLEX + 1 ) ,
	TN_ST_VIDEO_SERVER	= ( TN_ST_DVR + 1 ) ,
	TN_ST_CMS	= ( TN_ST_VIDEO_SERVER + 1 )
    } 	TN_SERVER_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0016
    {	TN_RM_720X480	= 0,
	TN_RM_720X240	= ( TN_RM_720X480 + 1 ) ,
	TN_RM_352X480	= ( TN_RM_720X240 + 1 ) ,
	TN_RM_352X240	= ( TN_RM_352X480 + 1 ) ,
	TN_RM_720x576	= ( TN_RM_352X240 + 1 ) ,
	TN_RM_720x288	= ( TN_RM_720x576 + 1 ) ,
	TN_RM_352x576	= ( TN_RM_720x288 + 1 ) ,
	TN_RM_352x288	= ( TN_RM_352x576 + 1 ) ,
	TN_RM_640x480	= ( TN_RM_352x288 + 1 ) ,
	TN_RM_800x600	= ( TN_RM_640x480 + 1 ) ,
	TN_RM_1024x768	= ( TN_RM_800x600 + 1 ) ,
	TN_RM_1280x960	= ( TN_RM_1024x768 + 1 ) ,
	TN_RM_1280x1024	= ( TN_RM_1280x960 + 1 ) ,
	TN_RM_1440x900	= ( TN_RM_1280x1024 + 1 ) ,
	TN_RM_1600x900	= ( TN_RM_1440x900 + 1 ) ,
	TN_RM_1680x1050	= ( TN_RM_1600x900 + 1 ) ,
	TN_RM_1280x720	= ( TN_RM_1680x1050 + 1 ) ,
	TN_RM_1920x1080	= ( TN_RM_1280x720 + 1 ) ,
	TN_RM_176x128	= ( TN_RM_1920x1080 + 1 ) ,
	TN_RM_176x144	= ( TN_RM_176x128 + 1 ) ,
	TN_RM_320X288	= ( TN_RM_176x144 + 1 ) ,
	TN_RM_360X288	= ( TN_RM_320X288 + 1 ) ,
	TN_RM_320X240	= ( TN_RM_360X288 + 1 ) ,
	TN_RM_2048X1536	= ( TN_RM_320X240 + 1 ) ,
	TN_RM_2560X1600	= ( TN_RM_2048X1536 + 1 ) ,
	TN_RM_2592X1936	= ( TN_RM_2560X1600 + 1 ) ,
	TN_RM_1920x1056	= ( TN_RM_2592X1936 + 1 ) ,
	TN_RM_640x360	= ( TN_RM_1920x1056 + 1 ) ,
	TN_RM_1440x540	= ( TN_RM_640x360 + 1 ) ,
	TN_RM_1792x1344	= ( TN_RM_1440x540 + 1 ) ,
	TN_RM_1440x1080	= ( TN_RM_1792x1344 + 1 ) ,
	TN_RM_160x90	= 31,
	TN_RM_160x100	= ( TN_RM_160x90 + 1 ) ,
	TN_RM_160x120	= ( TN_RM_160x100 + 1 ) ,
	TN_RM_180x120	= ( TN_RM_160x120 + 1 ) ,
	TN_RM_240x180	= ( TN_RM_180x120 + 1 ) ,
	TN_RM_320x180	= ( TN_RM_240x180 + 1 ) ,
	TN_RM_320x200	= ( TN_RM_320x180 + 1 ) ,
	TN_RM_360x244	= ( TN_RM_320x200 + 1 ) ,
	TN_RM_480x270	= ( TN_RM_360x244 + 1 ) ,
	TN_RM_480x300	= ( TN_RM_480x270 + 1 ) ,
	TN_RM_480x360	= ( TN_RM_480x300 + 1 ) ,
	TN_RM_640x400	= ( TN_RM_480x360 + 1 ) ,
	TN_RM_800x450	= ( TN_RM_640x400 + 1 ) ,
	TN_RM_800x500	= ( TN_RM_800x450 + 1 ) ,
	TN_RM_1024x640	= ( TN_RM_800x500 + 1 ) ,
	TN_RM_1280x800	= ( TN_RM_1024x640 + 1 ) ,
	TN_RM_1600x1200	= ( TN_RM_1280x800 + 1 ) ,
	TN_RM_1920x1200	= ( TN_RM_1600x1200 + 1 ) ,
	TN_RM_704X480	= ( TN_RM_1920x1200 + 1 ) ,
	TN_RM_3840x2160	= ( TN_RM_704X480 + 1 ) ,
	TN_RM_4096x2160	= ( TN_RM_3840x2160 + 1 ) ,
	TN_RM_4000x3000	= ( TN_RM_4096x2160 + 1 ) ,
	TN_RM_1280x768	= ( TN_RM_4000x3000 + 1 ) ,
	TN_RM_1152x864	= ( TN_RM_1280x768 + 1 ) ,
	TN_RM_1360x768	= ( TN_RM_1152x864 + 1 ) ,
	TN_RM_1400x1050	= ( TN_RM_1360x768 + 1 ) ,
	TN_RM_2048x2048	= ( TN_RM_1400x1050 + 1 ) ,
	TN_RM_FIRST	= TN_RM_720X480,
	TN_RM_LAST	= TN_RM_2048x2048
    } 	TN_RESOLUTION;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0017
    {	TN_FPS_30_25	= 0,
	TN_FPS_25_20	= ( TN_FPS_30_25 + 1 ) ,
	TN_FPS_20_16	= ( TN_FPS_25_20 + 1 ) ,
	TN_FPS_15_12	= ( TN_FPS_20_16 + 1 ) ,
	TN_FPS_10	= ( TN_FPS_15_12 + 1 ) ,
	TN_FPS_8	= ( TN_FPS_10 + 1 ) ,
	TN_FPS_6	= ( TN_FPS_8 + 1 ) ,
	TN_FPS_5	= ( TN_FPS_6 + 1 ) ,
	TN_FPS_4	= ( TN_FPS_5 + 1 ) ,
	TN_FPS_3	= ( TN_FPS_4 + 1 ) ,
	TN_FPS_2	= ( TN_FPS_3 + 1 ) ,
	TN_FPS_1	= ( TN_FPS_2 + 1 ) ,
	TN_FPS_06	= ( TN_FPS_1 + 1 ) ,
	TN_FPS_04	= ( TN_FPS_06 + 1 ) ,
	TN_FPS_02	= ( TN_FPS_04 + 1 )
    } 	TN_FRAMERATE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0018
    {	TN_REC_OFF	= 0,
	TN_REC_TIMELAPS	= 0x1,
	TN_REC_EVENT_SENSOR	= 0x4,
	TN_REC_EVENT_MOTION	= 0x8,
	TN_REC_EVENT_VIDEOLOSS	= 0x10
    } 	TN_RECORD_MODE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0019
    {	TN_NOTIFY_REC_ACTUAL_CHANGE	= 0,
	TN_NOTIFY_REC_MODE_CHANGE	= ( TN_NOTIFY_REC_ACTUAL_CHANGE + 1 ) ,
	TN_NOTIFY_REC_DISK_FULL	= ( TN_NOTIFY_REC_MODE_CHANGE + 1 ) ,
	TN_NOTIFY_REC_DISK_CHANGE	= ( TN_NOTIFY_REC_DISK_FULL + 1 ) ,
	TN_NOTIFY_REC_DISK_FORMATTING_PROGRESS	= ( TN_NOTIFY_REC_DISK_CHANGE + 1 ) ,
	TN_NOTIFY_REC_DISK_FORMAT_RESULT	= ( TN_NOTIFY_REC_DISK_FORMATTING_PROGRESS + 1 ) ,
	TN_NOTIFY_REC_DISK_FORMATTING_CANCEL	= ( TN_NOTIFY_REC_DISK_FORMAT_RESULT + 1 ) ,
	TN_NOTIFY_NO_DATA_REC	= ( TN_NOTIFY_REC_DISK_FORMATTING_CANCEL + 1 )
    } 	TN_RECORD_NOTIFY;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0020
    {	TN_FF_SIMPLE_FRAME	= 0,
	TN_FF_NOTIME	= 0x1,
	TN_FF_DISCONTINUITY	= 0x2,
	TN_FF_ENDOFSTREAM	= 0x4,
	TN_FF_KEYFRAME	= 0x200
    } 	TN_FRAME_FLAGS;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0021
    {	TN_RGN_OFF	= 0,
	TN_RGN_SET	= ( TN_RGN_OFF + 1 ) ,
	TN_RGN_ERASE	= ( TN_RGN_SET + 1 ) ,
	TN_RGN_APPLY	= ( TN_RGN_ERASE + 1 ) ,
	TN_RGN_ERASEALL	= ( TN_RGN_APPLY + 1 ) ,
	TN_RGN_SETALL	= ( TN_RGN_ERASEALL + 1 ) ,
	TN_RGN_SET2	= ( TN_RGN_SETALL + 1 ) ,
	TN_RGN_SET3	= ( TN_RGN_SET2 + 1 ) ,
	TN_RGN_SET3_APPLY	= ( TN_RGN_SET3 + 1 )
    } 	TN_MOTION_RGN;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0022
    {	TN_MVD_PAUSE	= 0,
	TN_MVD_KEYFRAME	= ( TN_MVD_PAUSE + 1 ) ,
	TN_MVD_LIVE	= ( TN_MVD_KEYFRAME + 1 )
    } 	TN_MOTION_VIDEO_MODE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0023
    {	TN_DISPLAY_OFF	= 0,
	TN_DISPLAY_LEFT	= 1,
	TN_DISPLAY_TOP	= 2,
	TN_DISPLAY_RIGHT	= 4,
	TN_DISPLAY_BOTTOM	= 8
    } 	TN_DISPLAY_POSITION;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0024
    {	TN_FILERECORD_START	= 0,
	TN_FILERECORD_STOP	= 1,
	TN_FILERECORD_VIDEO	= 0,
	TN_FILERECORD_VIDEO_AUDIO	= 1,
	TN_FILERECORD_SUBTITLES	= 2,
	TN_FILERECORD_SILENTMODE	= 0,
	TN_FILERECORD_ALERT	= 4
    } 	TN_FILERECORD_IOCTL;


typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0025
    {	TN_DI_SENSOR_1	= 1,
	TN_DI_SENSOR_2	= 2
    } 	TN_DI_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0026
    {	TN_DO_BUZZER	= 0,
	TN_DO_RELAY_1	= 1,
	TN_DO_RELAY_2	= 2
    } 	TN_DO_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0027
    {	TN_COM_1	= 1,
	TN_COM_2	= 2
    } 	TN_COM_PORT;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0028
    {	TN_STAT_RECONNECT_COUNT	= 0,
	TN_STAT_VIDEO_BITRATE	= ( TN_STAT_RECONNECT_COUNT + 1 ) ,
	TN_STAT_VIDEO_FRAMERATE_DISPLAY	= ( TN_STAT_VIDEO_BITRATE + 1 ) ,
	TN_STAT_VIDEO_RESOLUTION	= ( TN_STAT_VIDEO_FRAMERATE_DISPLAY + 1 ) ,
	TN_STAT_AUDIO_BITRATE	= ( TN_STAT_VIDEO_RESOLUTION + 1 ) ,
	TN_STAT_VIDEO_FRAMERATE_RECORD	= ( TN_STAT_AUDIO_BITRATE + 1 ) ,
	TN_STAT_AUDIO_BACKWARD_LENGTH	= ( TN_STAT_VIDEO_FRAMERATE_RECORD + 1 ) ,
	TN_STAT_AUDIO_BACKWARD_CURPOS	= ( TN_STAT_AUDIO_BACKWARD_LENGTH + 1 )
    } 	TN_STAT_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0029
    {	TN_SC_VIDEO_BITRATE	= 0,
	TN_SC_VIDEO_FRAMERATE	= ( TN_SC_VIDEO_BITRATE + 1 ) ,
	TN_SC_VIDEO_RESOLUTION	= ( TN_SC_VIDEO_FRAMERATE + 1 ) ,
	TN_SC_VIDEO_BRIGHTNESS	= ( TN_SC_VIDEO_RESOLUTION + 1 ) ,
	TN_SC_VIDEO_CONTRAST	= ( TN_SC_VIDEO_BRIGHTNESS + 1 ) ,
	TN_SC_VIDEO_HUE	= ( TN_SC_VIDEO_CONTRAST + 1 ) ,
	TN_SC_VIDEO_SATURATION	= ( TN_SC_VIDEO_HUE + 1 ) ,
	TN_SC_VIDEO_RESOLUTION_SEC	= ( TN_SC_VIDEO_SATURATION + 1 ) ,
	TN_SC_VIDEO_STREAM	= ( TN_SC_VIDEO_RESOLUTION_SEC + 1 )
    } 	TN_SC_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0030
    {	TN_PB_SPEED_R1X	= -1,
	TN_PB_SPEED_R2X	= -2,
	TN_PB_SPEED_R4X	= -4,
	TN_PB_SPEED_R8X	= -8,
	TN_PB_SPEED_R16X	= -16,
	TN_PB_SPEED_F1X	= 1,
	TN_PB_SPEED_F2X	= 2,
	TN_PB_SPEED_F4X	= 4,
	TN_PB_SPEED_F8X	= 8,
	TN_PB_SPEED_F16X	= 16
    } 	TN_PB_SPEED;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0031
    {	TN_PB_EVENT_SENSOR	= 0x4,
	TN_PB_EVENT_MOTION	= 0x8,
	TN_PB_EVENT_VIDEOLOSS	= 0x10
    } 	TN_PB_EVENT_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0032
    {	TN_PB_COMPRESSION_BMP	= 0,
	TN_PB_COMPRESSION_JPEG	= ( TN_PB_COMPRESSION_BMP + 1 )
    } 	TN_PB_COMPRESSION_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0033
    {	TN_PB_STATE_STOP	= 1,
	TN_PB_STATE_PAUSE	= ( TN_PB_STATE_STOP + 1 ) ,
	TN_PB_STATE_PLAY	= ( TN_PB_STATE_PAUSE + 1 )
    } 	TN_PB_STATES;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0034
    {	TN_PB_NOTIFY_ERROR	= 1,
	TN_PB_NOTIFY_ENDOFDATA	= ( TN_PB_NOTIFY_ERROR + 1 ) ,
	TN_PB_NOTIFY_STATECHANGED	= ( TN_PB_NOTIFY_ENDOFDATA + 1 ) ,
	TN_PB_NOTIFY_PLAYBACKTIME	= ( TN_PB_NOTIFY_STATECHANGED + 1 )
    } 	TN_PB_NOTIFY_CODES;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0035
    {	TN_RPB_LATENCY	= 0,
	TN_RPB_TIMEOUT	= ( TN_RPB_LATENCY + 1 ) ,
	TN_RPB_TZ	= ( TN_RPB_TIMEOUT + 1 ) ,
	TN_RPB_ENUM_CHNLS	= ( TN_RPB_TZ + 1 ) ,
	TN_RPB_CHNL_FPS	= ( TN_RPB_ENUM_CHNLS + 1 )
    } 	TN_RPB_CONFIG;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0036
    {	TN_PB_EX_STORAGE_FILE	= 0
    } 	TN_PB_EX_STORAGE_TYPE;


typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0037
    {	TN_WAV_STOP	= 0,
	TN_WAV_START	= ( TN_WAV_STOP + 1 ) ,
	TN_WAV_FILE_NOT_FOUND	= ( TN_WAV_START + 1 ) ,
	TN_WAV_FILE_WRONG_FMT	= ( TN_WAV_FILE_NOT_FOUND + 1 ) ,
	TN_WAV_PROGRESS	= ( TN_WAV_FILE_WRONG_FMT + 1 )
    } 	TN_WAV_STATE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0038
    {	TN_DEC_DEINTERLACE	= 1,
	TN_DEC_SMP	= 2,
	TN_DEC_MAX_THREADS	= 3
    } 	TN_DEC_OPTION;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0039
    {	TN_DEINTERLACE_NONE	= 0,
	TN_DEINTERLACE_VERTICAL_SMOOTH	= 1,
	TN_DEINTERLACE_ONE_FIELD_INTERPOLATION	= 2,
	TN_DEINTERLACE_AUTO	= 4
    } 	TN_DEC_DEINTERLACE_VAL;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0040
    {	TN_OSD_NO_ALIGN	= 0,
	TN_OSD_CENTER	= 0x1,
	TN_OSD_TOP_LEFT	= 0x2,
	TN_OSD_BOTTOM_RIGHT	= 0x4
    } 	TN_OSD_ALIGN;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0041
    {	TN_ST_PRIMARY	= 1,
	TN_ST_SECONDARY_1	= ( TN_ST_PRIMARY + 1 ) ,
	TN_ST_SECONDARY_2	= ( TN_ST_SECONDARY_1 + 1 ) ,
	TN_ST_SECONDARY_3	= ( TN_ST_SECONDARY_2 + 1 )
    } 	TN_ST_TYPE;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0042
    {	TN_TURN_OFF	= 0,
	TN_TURN_AXIS_X	= 1,
	TN_TURN_AXIS_Y	= 2,
	TN_TURN_AXIS_XY	= 3
    } 	TN_TURN_DIRECTION;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0043
    {	TN_SN_DISPLAY_RECONFIGURE_MEMORY	= 0
    } 	TN_SYSTEM_NOTIFY;

typedef /* [public] */
enum __MIDL___MIDL_itf_TVS_0000_0000_0044
    {	TN_PVT_OFF	= 0,
	TN_PVT_SET	= ( TN_PVT_OFF + 1 ) ,
	TN_PVT_ERASE	= ( TN_PVT_SET + 1 ) ,
	TN_PVT_APPLY	= ( TN_PVT_ERASE + 1 )
    } 	TN_PVT_RGN;

#pragma pack()

#endif
