From 6cb4b6673e8e5aa5c0101e179cc7afcdcf07236c Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sat, 1 Feb 2025 08:50:40 +0000 Subject: Initial import --- iDSK/src/MyType.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 iDSK/src/MyType.h (limited to 'iDSK/src/MyType.h') diff --git a/iDSK/src/MyType.h b/iDSK/src/MyType.h new file mode 100644 index 0000000..0112428 --- /dev/null +++ b/iDSK/src/MyType.h @@ -0,0 +1,20 @@ +#ifndef MYTYPE_H_ +#define MYTYPE_H_ + +/* types definitions to be coherent with Visual Basic C++ types */ + +typedef unsigned char BYTE; /* unsigned 8-bit type */ +typedef unsigned short WORD; /* unsigned 16-bit type */ +typedef unsigned long DWORD; /* unsigned 32-bit type */ + + +/* constant defintion usefull in the code */ + +#define TRUE 1 +#define FALSE 0 +#define MODE_ASCII 0 +#define MODE_BINAIRE 1 +#define MODE_RAW 2 + + +#endif /*MYTYPE_H_*/ -- cgit v1.2.3