mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
Find some older works, dxsdk header compatible with dxsdk 2004 dec release. I will clean up sdk so dx thuse dx header belong to dxsdk will be here. later.
In this folder will contain all header that is compatible with dxsdk 2004 dec. later I will upgrade this folder file to more resent dxsdk headers. svn path=/trunk/; revision=26343
This commit is contained in:
parent
5f8f828416
commit
d5f02da15d
12 changed files with 254 additions and 0 deletions
8
reactos/include/dxsdk/ActiveCf.h
Normal file
8
reactos/include/dxsdk/ActiveCf.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
typedef struct tagVFW_FILTERLIST
|
||||
{
|
||||
UINT cFilters;
|
||||
CLSID aClsId[1];
|
||||
} VFW_FILTERLIST;
|
||||
|
||||
#define CFSTR_VFW_FILTERLIST "Video for Windows 4 Filters"
|
33
reactos/include/dxsdk/amaudio.h
Normal file
33
reactos/include/dxsdk/amaudio.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
|
||||
#ifndef __AMAUDIO__
|
||||
#define __AMAUDIO__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <mmsystem.h>
|
||||
#include <dsound.h>
|
||||
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IAMDirectSound
|
||||
|
||||
DECLARE_INTERFACE_(IAMDirectSound,IUnknown)
|
||||
{
|
||||
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID *ppvObj) PURE;
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
||||
STDMETHOD(GetDirectSoundInterface)(THIS_ LPDIRECTSOUND *lplpds) PURE;
|
||||
STDMETHOD(GetPrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER *lplpdsb) PURE;
|
||||
STDMETHOD(GetSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER *lplpdsb) PURE;
|
||||
STDMETHOD(ReleaseDirectSoundInterface)(THIS_ LPDIRECTSOUND lpds) PURE;
|
||||
STDMETHOD(ReleasePrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER lpdsb) PURE;
|
||||
STDMETHOD(ReleaseSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER lpdsb) PURE;
|
||||
STDMETHOD(SetFocusWindow)(THIS_ HWND, BOOL) PURE ;
|
||||
STDMETHOD(GetFocusWindow)(THIS_ HWND *, BOOL*) PURE ;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
22
reactos/include/dxsdk/amparse.h
Normal file
22
reactos/include/dxsdk/amparse.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
#ifndef __AMPARSE__
|
||||
#define __AMPARSE__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
DEFINE_GUID(IID_IAMParse, 0xC47A3420, 0x005C, 0x11D2, 0x90, 0x38, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x98);
|
||||
|
||||
DECLARE_INTERFACE_(IAMParse, IUnknown)
|
||||
{
|
||||
STDMETHOD(GetParseTime) (THIS_ REFERENCE_TIME *prtCurrent) PURE;
|
||||
STDMETHOD(SetParseTime) (THIS_ REFERENCE_TIME rtCurrent) PURE;
|
||||
STDMETHOD(Flush) (THIS) PURE;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
17
reactos/include/dxsdk/atsmedia.h
Normal file
17
reactos/include/dxsdk/atsmedia.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
#if !defined(_BDAMEDIA_)
|
||||
#error BDAMEDIA.H must be included before ATSCMEDIA.H
|
||||
#endif
|
||||
|
||||
#if !defined(_KSMEDIA_)
|
||||
#error KSMEDIA.H must be included before BDAMEDIA.H
|
||||
#endif
|
||||
|
||||
#if !defined(_ATSCMEDIA_)
|
||||
#define _ATSCMEDIA_
|
||||
|
||||
#define BDANETWORKTYPE_ATSC DEFINE_GUIDNAMED(BDANETWORKTYPE_ATSC)
|
||||
#define STATIC_BDANETWORKTYPE_ATSC 0x71985F51, 0x1CA1, 0x11D3, 0x9C, 0xC8, 0x0, 0xC0, 0x4F, 0x79, 0x71, 0xE0
|
||||
DEFINE_GUIDSTRUCT("71985F51-1CA1-11D3-9CC8-00C04F7971E0", BDANETWORKTYPE_ATSC);
|
||||
#endif
|
||||
|
15
reactos/include/dxsdk/comlite.h
Normal file
15
reactos/include/dxsdk/comlite.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
#ifndef _INC_COMLITE_
|
||||
#define _INC_COMLITE_
|
||||
#define QzCLSIDFromString CLSIDFromString
|
||||
#define QzCreateFilterObject CoCreateInstance
|
||||
#define QzFreeUnusedLibraries CoFreeUnusedLibraries
|
||||
#define QzGetMalloc CoGetMalloc
|
||||
#define QzInitialize CoInitialize
|
||||
#define QzTaskMemAlloc CoTaskMemAlloc
|
||||
#define QzTaskMemRealloc CoTaskMemRealloc
|
||||
#define QzTaskMemFree CoTaskMemFree
|
||||
#define QzUninitialize CoUninitialize
|
||||
#define QzStringFromGUID2 StringFromGUID2
|
||||
|
||||
#endif
|
28
reactos/include/dxsdk/d3drmwin.h
Normal file
28
reactos/include/dxsdk/d3drmwin.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
|
||||
#ifndef __D3DRMWIN_H__
|
||||
#define __D3DRMWIN_H__
|
||||
|
||||
#ifndef WIN32
|
||||
#define WIN32
|
||||
#endif
|
||||
|
||||
#include "d3drm.h"
|
||||
#include "ddraw.h"
|
||||
#include "d3d.h"
|
||||
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IDirect3DRMWinDevice
|
||||
|
||||
DECLARE_INTERFACE_(IDirect3DRMWinDevice, IDirect3DRMObject)
|
||||
{
|
||||
IUNKNOWN_METHODS(PURE);
|
||||
IDIRECT3DRMOBJECT_METHODS(PURE);
|
||||
STDMETHOD(HandlePaint) (THIS_ HDC hdc) PURE;
|
||||
STDMETHOD(HandleActivate) (THIS_ WORD wparam) PURE;
|
||||
};
|
||||
|
||||
DEFINE_GUID(IID_IDirect3DRMWinDevice, 0xC5016CC0, 0xD273, 0x11CE, 0xAC, 0x48, 0x0, 0x0, 0xC0, 0x38, 0x25, 0xA1);
|
||||
WIN_TYPES(IDirect3DRMWinDevice, DIRECT3DRMWINDEVICE);
|
||||
|
||||
#endif
|
||||
|
19
reactos/include/dxsdk/dmo.h
Normal file
19
reactos/include/dxsdk/dmo.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
#ifndef __DMO_H__
|
||||
#define __DMO_H__
|
||||
|
||||
#include "mediaerr.h"
|
||||
|
||||
#ifdef FIX_LOCK_NAME
|
||||
#define Lock DMOLock
|
||||
#endif
|
||||
|
||||
#include "mediaobj.h"
|
||||
|
||||
#ifdef FIX_LOCK_NAME
|
||||
#undef Lock
|
||||
#endif
|
||||
|
||||
#include "dmoreg.h"
|
||||
#include "dmort.h"
|
||||
|
35
reactos/include/dxsdk/dv.h
Normal file
35
reactos/include/dxsdk/dv.h
Normal file
|
@ -0,0 +1,35 @@
|
|||
|
||||
#ifndef _DV_H_
|
||||
#define _DV_H_
|
||||
|
||||
typedef struct Tag_DVAudInfo
|
||||
{
|
||||
BYTE bAudStyle[2];
|
||||
BYTE bAudQu[2];
|
||||
BYTE bNumAudPin;
|
||||
WORD wAvgSamplesPerPinPerFrm[2];
|
||||
WORD wBlkMode;
|
||||
WORD wDIFMode;
|
||||
WORD wBlkDiv;
|
||||
|
||||
} DVAudInfo;
|
||||
|
||||
#define DV_AUDIOMODE 0x00000f00
|
||||
#define DV_AUDIOQU 0x07000000
|
||||
#define DV_AUDIOSMP 0x38000000
|
||||
#define DV_CAP_AUD16Bits 0x00
|
||||
#define DV_CAP_AUD12Bits 0x01
|
||||
#define DV_HD 0x01
|
||||
#define DV_DVSD_NTSC_FRAMESIZE 120000
|
||||
#define DV_DVSD_PAL_FRAMESIZE 144000
|
||||
#define DV_NTSC 0
|
||||
#define DV_NTSCPAL 0x00200000
|
||||
#define DV_PAL 1
|
||||
#define DV_SMCHN 0x0000e000
|
||||
#define DV_SD 0x00
|
||||
#define DV_SL 0x02
|
||||
#define DV_STYPE 0x001f0000
|
||||
|
||||
#define SIZE_DVINFO 0x20
|
||||
|
||||
#endif
|
10
reactos/include/dxsdk/dxsdkver.h
Normal file
10
reactos/include/dxsdk/dxsdkver.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#ifndef _DXSDKVER_H_
|
||||
|
||||
#define _DXSDKVER_H_
|
||||
|
||||
#define _DXSDK_PRODUCT_MAJOR 9
|
||||
#define _DXSDK_PRODUCT_MINOR 04
|
||||
#define _DXSDK_BUILD_MAJOR 91
|
||||
#define _DXSDK_BUILD_MINOR 0000
|
||||
|
||||
#endif
|
38
reactos/include/dxsdk/errors.h
Normal file
38
reactos/include/dxsdk/errors.h
Normal file
|
@ -0,0 +1,38 @@
|
|||
|
||||
#ifndef __ERRORS__
|
||||
#define __ERRORS__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef _AMOVIE_
|
||||
#define AMOVIEAPI DECLSPEC_IMPORT
|
||||
#else
|
||||
#define AMOVIEAPI
|
||||
#endif
|
||||
|
||||
#define VFW_FIRST_CODE 0x200
|
||||
#define MAX_ERROR_TEXT_LEN 160
|
||||
|
||||
#include <VFWMSGS.H>
|
||||
|
||||
typedef BOOL (WINAPI* AMGETERRORTEXTPROCA)(HRESULT, char *, DWORD);
|
||||
typedef BOOL (WINAPI* AMGETERRORTEXTPROCW)(HRESULT, WCHAR *, DWORD);
|
||||
|
||||
AMOVIEAPI DWORD WINAPI AMGetErrorTextA( HRESULT hr , char *pbuffer , DWORD MaxLen);
|
||||
AMOVIEAPI DWORD WINAPI AMGetErrorTextW( HRESULT hr , WCHAR *pbuffer , DWORD MaxLen);
|
||||
|
||||
#ifdef UNICODE
|
||||
#define AMGetErrorText AMGetErrorTextW
|
||||
typedef AMGETERRORTEXTPROCW AMGETERRORTEXTPROC;
|
||||
#else
|
||||
#define AMGetErrorText AMGetErrorTextA
|
||||
typedef AMGETERRORTEXTPROCA AMGETERRORTEXTPROC;
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
18
reactos/include/dxsdk/ksguid.h
Normal file
18
reactos/include/dxsdk/ksguid.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#define INITGUID
|
||||
#include <guiddef.h>
|
||||
|
||||
#ifndef STATICGUIDOF
|
||||
#define STATICGUIDOF(guid) STATIC_##guid
|
||||
#endif
|
||||
|
||||
#if !defined( DEFINE_WAVEFORMATEX_GUID )
|
||||
#define DEFINE_WAVEFORMATEX_GUID(x) (USHORT)(x), 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71
|
||||
#endif
|
||||
|
||||
#if defined( DEFINE_GUIDEX )
|
||||
#undef DEFINE_GUIDEX
|
||||
#define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID __declspec(selectany) name = { STATICGUIDOF(name) }
|
||||
#else
|
||||
#define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID __declspec(selectany) name = { STATICGUIDOF(name) }
|
||||
#endif
|
||||
|
11
reactos/include/dxsdk/mediaerr.h
Normal file
11
reactos/include/dxsdk/mediaerr.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
#ifndef _MEDIAERR_H_
|
||||
#define _MEDIAERR_H_
|
||||
#define DMO_E_INVALIDSTREAMINDEX 0x80040201
|
||||
#define DMO_E_INVALIDTYPE 0x80040202
|
||||
#define DMO_E_TYPE_NOT_SET 0x80040203
|
||||
#define DMO_E_NOTACCEPTING 0x80040204
|
||||
#define DMO_E_TYPE_NOT_ACCEPTED 0x80040205
|
||||
#define DMO_E_NO_MORE_ITEMS 0x80040206
|
||||
#endif _MEDIAERR_H_
|
||||
|
Loading…
Reference in a new issue