From 100b96f7b9904af93e43ad6b1cb8a67039ac72cc Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Date: Wed, 3 May 2006 06:22:00 +0000 Subject: [PATCH] * include/dshow.h: New file. * include/evcode.h: New file. * include/audevcod.h: New file. * include/dvdevcod.h: New file. --- winsup/w32api/ChangeLog | 7 +++ winsup/w32api/include/audevcod.h | 31 +++++++++++++ winsup/w32api/include/dshow.h | 11 +++++ winsup/w32api/include/dvdevcod.h | 76 ++++++++++++++++++++++++++++++++ winsup/w32api/include/evcode.h | 55 +++++++++++++++++++++++ 5 files changed, 180 insertions(+) create mode 100644 winsup/w32api/include/audevcod.h create mode 100644 winsup/w32api/include/dshow.h create mode 100644 winsup/w32api/include/dvdevcod.h create mode 100644 winsup/w32api/include/evcode.h diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 9251c305e..6f5189551 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,10 @@ +2006-05-02 Dimitri Papadopoulos + + * include/dshow.h: New file. + * include/evcode.h: New file. + * include/audevcod.h: New file. + * include/dvdevcod.h: New file. + 2006-05-02 Dimitri Papadopoulos * include/mprapi.h (MprAdminConnection*,MprAdminPort*): Add declaration. diff --git a/winsup/w32api/include/audevcod.h b/winsup/w32api/include/audevcod.h new file mode 100644 index 000000000..8d741e08b --- /dev/null +++ b/winsup/w32api/include/audevcod.h @@ -0,0 +1,31 @@ +#ifndef _AUDEVCOD_H +#define _AUDEVCOD_H +#if __GNUC__ >=3 +#pragma GCC system_header +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum _tagSND_DEVICE_ERROR { + SNDDEV_ERROR_Open = 1, + SNDDEV_ERROR_Close = 2, + SNDDEV_ERROR_GetCaps = 3, + SNDDEV_ERROR_PrepareHeader = 4, + SNDDEV_ERROR_UnprepareHeader = 5, + SNDDEV_ERROR_Reset = 6, + SNDDEV_ERROR_Restart = 7, + SNDDEV_ERROR_GetPosition = 8, + SNDDEV_ERROR_Write = 9, + SNDDEV_ERROR_Pause = 10, + SNDDEV_ERROR_Stop = 11, + SNDDEV_ERROR_Start = 12, + SNDDEV_ERROR_AddBuffer = 13, + SNDDEV_ERROR_Query = 14 +} SNDDEV_ERR; + +#ifdef __cplusplus +} +#endif +#endif diff --git a/winsup/w32api/include/dshow.h b/winsup/w32api/include/dshow.h new file mode 100644 index 000000000..b8754ba6b --- /dev/null +++ b/winsup/w32api/include/dshow.h @@ -0,0 +1,11 @@ +#ifndef _DSHOW_H +#define _DSHOW_H +#if __GNUC__ >=3 +#pragma GCC system_header +#endif + +#include +#include +#include + +#endif diff --git a/winsup/w32api/include/dvdevcod.h b/winsup/w32api/include/dvdevcod.h new file mode 100644 index 000000000..2c8e5bd29 --- /dev/null +++ b/winsup/w32api/include/dvdevcod.h @@ -0,0 +1,76 @@ +#ifndef _DVDEVCOD_H +#define _DVDEVCOD_H +#if __GNUC__ >=3 +#pragma GCC system_header +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#define EC_DVD_ANGLE_CHANGE 0x0106 +#define EC_DVD_ANGLES_AVAILABLE 0x0113 +#define EC_DVD_AUDIO_STREAM_CHANGE 0x0104 +#define EC_DVD_BUTTON_AUTO_ACTIVATED 0x0115 +#define EC_DVD_BUTTON_CHANGE 0x0107 +#define EC_DVD_CHAPTER_AUTOSTOP 0x010E +#define EC_DVD_CHAPTER_START 0x0103 +#define EC_DVD_CMD_START 0x0116 +#define EC_DVD_CMD_END 0x0117 +#define EC_DVD_CURRENT_HMSF_TIME 0x011A +#define EC_DVD_CURRENT_TIME 0x010B +#define EC_DVD_DISC_EJECTED 0x0118 +#define EC_DVD_DISC_INSERTED 0x0119 +#define EC_DVD_DOMAIN_CHANGE 0x0101 +#define EC_DVD_ERROR 0x010C +#define EC_DVD_KARAOKE_MODE 0x011B +#define EC_DVD_NO_FP_PGC 0x010F +#define EC_DVD_PARENTAL_LEVEL_CHANGE 0x0111 +#define EC_DVD_PLAYBACK_RATE_CHANGE 0x0110 +#define EC_DVD_PLAYBACK_STOPPED 0x0112 +#define EC_DVD_PLAYPERIOD_AUTOSTOP 0x0114 +#define EC_DVD_STILL_OFF 0x010A +#define EC_DVD_STILL_ON 0x0109 +#define EC_DVD_SUBPICTURE_STREAM_CHANGE 0x0105 +#define EC_DVD_TITLE_CHANGE 0x0102 +#define EC_DVD_VALID_UOPS_CHANGE 0x0108 +#define EC_DVD_WARNING 0x010D +typedef enum _tagDVD_ERROR { + DVD_ERROR_Unexpected = 1, + DVD_ERROR_CopyProtectFail = 2, + DVD_ERROR_InvalidDVD1_0Disc = 3, + DVD_ERROR_InvalidDiscRegion = 4, + DVD_ERROR_LowParentalLevel = 5, + DVD_ERROR_MacrovisionFail = 6, + DVD_ERROR_IncompatibleSystemAndDecoderRegions = 7, + DVD_ERROR_IncompatibleDiscAndDecoderRegions = 8 +} DVD_ERROR; +typedef enum _tagDVD_PB_STOPPED { + DVD_PB_STOPPED_Other = 0, + DVD_PB_STOPPED_NoBranch = 1, + DVD_PB_STOPPED_NoFirstPlayDomain = 2, + DVD_PB_STOPPED_StopCommand = 3, + DVD_PB_STOPPED_Reset = 4, + DVD_PB_STOPPED_DiscEjected = 5, + DVD_PB_STOPPED_IllegalNavCommand = 6, + DVD_PB_STOPPED_PlayPeriodAutoStop = 7, + DVD_PB_STOPPED_PlayChapterAutoStop = 8, + DVD_PB_STOPPED_ParentalFailure = 9, + DVD_PB_STOPPED_RegionFailure = 10, + DVD_PB_STOPPED_MacrovisionFailure = 11, + DVD_PB_STOPPED_DiscReadError = 12, + DVD_PB_STOPPED_CopyProtectFailure = 13 +} DVD_PB_STOPPED; +typedef enum _tagDVD_WARNING { + DVD_WARNING_InvalidDVD1_0Disc = 1, + DVD_WARNING_FormatNotSupported = 2, + DVD_WARNING_IllegalNavCommand = 3, + DVD_WARNING_Open = 4, + DVD_WARNING_Seek = 5, + DVD_WARNING_Read = 6 +} DVD_WARNING; + +#ifdef __cplusplus +} +#endif +#endif diff --git a/winsup/w32api/include/evcode.h b/winsup/w32api/include/evcode.h new file mode 100644 index 000000000..5362e11e4 --- /dev/null +++ b/winsup/w32api/include/evcode.h @@ -0,0 +1,55 @@ +#ifndef _EVCODE_H +#define _EVCODE_H +#if __GNUC__ >=3 +#pragma GCC system_header +#endif + +#define EC_ACTIVATE 0x0013 +#define EC_BUFFERING_DATA 0x0011 +#define EC_BUILT 0x0300 +#define EC_CLOCK_CHANGED 0x000D +#define EC_CLOCK_UNSET 0x0051 +#define EC_CODECAPI_EVENT 0x0057 +#define EC_COMPLETE 0x0001 +#define EC_DEVICE_LOST 0x001F +#define EC_DISPLAY_CHANGED 0x0016 +#define EC_END_OF_SEGMENT 0x001C +#define EC_ERROR_STILLPLAYING 0x0008 +#define EC_ERRORABORT 0x0003 +#define EC_EXTDEVICE_MODE_CHANGE 0x0031 +#define EC_FULLSCREEN_LOST 0x0012 +#define EC_GRAPH_CHANGED 0x0050 +#define EC_LENGTH_CHANGED 0x001E +#define EC_NEED_RESTART 0x0014 +#define EC_NOTIFY_WINDOW 0x0019 +#define EC_OLE_EVENT 0x0018 +#define EC_OPENING_FILE 0x0010 +#define EC_PALETTE_CHANGED 0x0009 +#define EC_PAUSED 0x000E +#define EC_PREPROCESS_COMPLETE 0x0056 +#define EC_QUALITY_CHANGE 0x000B +#define EC_REPAINT 0x0005 +#define EC_SEGMENT_STARTED 0x001D +#define EC_SHUTTING_DOWN 0x000C +#define EC_SNDDEV_IN_ERROR 0x0200 +#define EC_SNDDEV_OUT_ERROR 0x0201 +#define EC_STARVATION 0x0017 +#define EC_STATE_CHANGE 0x0032 +#define EC_STEP_COMPLETE 0x0024 +#define EC_STREAM_CONTROL_STARTED 0x001B +#define EC_STREAM_CONTROL_STOPPED 0x001A +#define EC_STREAM_ERROR_STILLPLAYING 0x0007 +#define EC_STREAM_ERROR_STOPPED 0x0006 +#define EC_TIMECODE_AVAILABLE 0x0030 +#define EC_UNBUILT 0x0301 +#define EC_USERABORT 0x0002 +#define EC_VIDEO_SIZE_CHANGED 0x000A +#define EC_VMR_RENDERDEVICE_SET 0x0053 +#define EC_VMR_SURFACE_FLIPPED 0x0054 +#define EC_VMR_RECONNECTION_FAILED 0x0055 +#define EC_WINDOW_DESTROYED 0x0015 +#define EC_WMT_EVENT 0x0252 +#define EC_WMT_INDEX_EVENT 0x0251 +#define EC_USER 0x8000 + +#endif -- 2.43.5