Imported Debian version 2.4.3~trusty1
[deb_ffmpeg.git] / ffmpeg / compat / avisynth / windowsPorts / basicDataTypeConversions.h
CommitLineData
2ba45a60
DM
1#ifndef __DATA_TYPE_CONVERSIONS_H__
2#define __DATA_TYPE_CONVERSIONS_H__
3
4#include <stdint.h>
5#include <wchar.h>
6
7#ifdef __cplusplus
8namespace avxsynth {
9#endif // __cplusplus
10
11typedef int64_t __int64;
12typedef int32_t __int32;
13#ifdef __cplusplus
14typedef bool BOOL;
15#else
16typedef uint32_t BOOL;
17#endif // __cplusplus
18typedef void* HMODULE;
19typedef void* LPVOID;
20typedef void* PVOID;
21typedef PVOID HANDLE;
22typedef HANDLE HWND;
23typedef HANDLE HINSTANCE;
24typedef void* HDC;
25typedef void* HBITMAP;
26typedef void* HICON;
27typedef void* HFONT;
28typedef void* HGDIOBJ;
29typedef void* HBRUSH;
30typedef void* HMMIO;
31typedef void* HACMSTREAM;
32typedef void* HACMDRIVER;
33typedef void* HIC;
34typedef void* HACMOBJ;
35typedef HACMSTREAM* LPHACMSTREAM;
36typedef void* HACMDRIVERID;
37typedef void* LPHACMDRIVER;
38typedef unsigned char BYTE;
39typedef BYTE* LPBYTE;
40typedef char TCHAR;
41typedef TCHAR* LPTSTR;
42typedef const TCHAR* LPCTSTR;
43typedef char* LPSTR;
44typedef LPSTR LPOLESTR;
45typedef const char* LPCSTR;
46typedef LPCSTR LPCOLESTR;
47typedef wchar_t WCHAR;
48typedef unsigned short WORD;
49typedef unsigned int UINT;
50typedef UINT MMRESULT;
51typedef uint32_t DWORD;
52typedef DWORD COLORREF;
53typedef DWORD FOURCC;
54typedef DWORD HRESULT;
55typedef DWORD* LPDWORD;
56typedef DWORD* DWORD_PTR;
57typedef int32_t LONG;
58typedef int32_t* LONG_PTR;
59typedef LONG_PTR LRESULT;
60typedef uint32_t ULONG;
61typedef uint32_t* ULONG_PTR;
62//typedef __int64_t intptr_t;
63typedef uint64_t _fsize_t;
64
65
66//
67// Structures
68//
69
70typedef struct _GUID {
71 DWORD Data1;
72 WORD Data2;
73 WORD Data3;
74 BYTE Data4[8];
75} GUID;
76
77typedef GUID REFIID;
78typedef GUID CLSID;
79typedef CLSID* LPCLSID;
80typedef GUID IID;
81
82#ifdef __cplusplus
83}; // namespace avxsynth
84#endif // __cplusplus
85#endif // __DATA_TYPE_CONVERSIONS_H__