From d7046e80d76de76c85fd77554ea61d0f606e7e52 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Date: Wed, 10 May 2006 09:35:26 +0000 Subject: [PATCH] * include/qedit.h (DEXTER_*,SCompFmt0): Add structures. (DEXTERF_TRACK_SEARCH_FLAGS,TIMELINE_MAJOR_TYPE): Add enums. (CONNECTF_DYNAMIC_*,SFN_VALIDATEF_*,RESIZEF_*): Define. --- winsup/w32api/ChangeLog | 6 ++++ winsup/w32api/include/qedit.h | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index f170dcd48..83cda5a3c 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,9 @@ +2006-05-10 Dimitri Papadopoulos + + * include/qedit.h (DEXTER_*,SCompFmt0): Add structures. + (DEXTERF_TRACK_SEARCH_FLAGS,TIMELINE_MAJOR_TYPE): Add enums. + (CONNECTF_DYNAMIC_*,SFN_VALIDATEF_*,RESIZEF_*): Define. + 2006-05-10 Dimitri Papadopoulos * include/qedit.h: New file. diff --git a/winsup/w32api/include/qedit.h b/winsup/w32api/include/qedit.h index 5f4eb3629..2e8b8217f 100644 --- a/winsup/w32api/include/qedit.h +++ b/winsup/w32api/include/qedit.h @@ -4,6 +4,14 @@ #pragma GCC system_header #endif +#ifndef _STRMIF_H +#include +#endif + +#ifdef __cplusplus +extern "C" { +#endif + /*--- DirectShow Reference - Constants and GUIDs - Error and Success Codes */ #define S_WARN_OUTPUTRESET 0x00009DD4 #define E_NOTINTREE 0x80040400 @@ -11,5 +19,52 @@ #define E_MUST_INIT_RENDERER 0x80040402 #define E_NOTDETERMINED 0x80040403 #define E_NO_TIMELINE 0x80040404 +/*--- DirectShow Editing Services - C++ Reference - Structures */ +typedef struct { + BSTR Name; + DISPID dispID; + LONG nValues; +} DEXTER_PARAM; +typedef struct { + VARIANT v; + REFERENCE_TIME rt; + DWORD dwInterp; +} DEXTER_VALUE; +typedef struct _SCompFmt0 { + long nFormatId; + AM_MEDIA_TYPE MediaType; +} SCompFmt0; +/*--- DirectShow Editing Services - C++ Reference - Enumerated Types */ +typedef enum { + DEXTERF_BOUNDING = -1, + DEXTERF_EXACTLY_AT = 0, + DEXTERF_FORWARDS = 1 +} DEXTERF_TRACK_SEARCH_FLAGS; +typedef enum { + TIMELINE_MAJOR_TYPE_COMPOSITE = 1, + TIMELINE_MAJOR_TYPE_TRACK = 2, + TIMELINE_MAJOR_TYPE_SOURCE = 4, + TIMELINE_MAJOR_TYPE_TRANSITION = 8, + TIMELINE_MAJOR_TYPE_EFFECT = 16, + TIMELINE_MAJOR_TYPE_GROUP = 128 +} TIMELINE_MAJOR_TYPE; +/*--- DirectShow Editing Services - C++ Reference - Constants */ +#define CONNECTF_DYNAMIC_NONE 0x00 +#define CONNECTF_DYNAMIC_SOURCES 0x01 +#define CONNECTF_DYNAMIC_EFFECTS 0x02 +#define SFN_VALIDATEF_CHECK 0x01 +#define SFN_VALIDATEF_POPUP 0x02 +#define SFN_VALIDATEF_TELLME 0x04 +#define SFN_VALIDATEF_REPLACE 0x08 +#define SFN_VALIDATEF_USELOCAL 0x10 +#define SFN_VALIDATEF_NOFIND 0x20 +#define SFN_VALIDATEF_IGNOREMUTED 0x40 +#define RESIZEF_STRETCH 0 +#define RESIZEF_CROP 1 +#define RESIZEF_PRESERVEASPECTRATIO 2 +#define RESIZEF_PRESERVEASPECTRATIO_NOLETTERBOX 3 +#ifdef __cplusplus +} +#endif #endif