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