annotate common.h @ 0:6b1b602514db libpst_0_5

Initial revision
author carl
date Fri, 09 Jul 2004 07:26:16 -0700
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6b1b602514db Initial revision
carl
parents:
diff changeset
1
6b1b602514db Initial revision
carl
parents:
diff changeset
2 #ifndef __COMMON_H
6b1b602514db Initial revision
carl
parents:
diff changeset
3 #define __COMMON_H
6b1b602514db Initial revision
carl
parents:
diff changeset
4
6b1b602514db Initial revision
carl
parents:
diff changeset
5 #ifndef _WIN32
6b1b602514db Initial revision
carl
parents:
diff changeset
6 typedef unsigned int DWORD;
6b1b602514db Initial revision
carl
parents:
diff changeset
7 typedef unsigned short int WORD;
6b1b602514db Initial revision
carl
parents:
diff changeset
8 typedef unsigned char BYTE;
6b1b602514db Initial revision
carl
parents:
diff changeset
9 typedef unsigned int UINT32;
6b1b602514db Initial revision
carl
parents:
diff changeset
10
6b1b602514db Initial revision
carl
parents:
diff changeset
11 # pragma pack (1)
6b1b602514db Initial revision
carl
parents:
diff changeset
12
6b1b602514db Initial revision
carl
parents:
diff changeset
13 # ifndef FILETIME_DEFINED
6b1b602514db Initial revision
carl
parents:
diff changeset
14 # define FILETIME_DEFINED
6b1b602514db Initial revision
carl
parents:
diff changeset
15 /*Win32 Filetime struct - copied from WINE*/
6b1b602514db Initial revision
carl
parents:
diff changeset
16 typedef struct {
6b1b602514db Initial revision
carl
parents:
diff changeset
17 unsigned int dwLowDateTime;
6b1b602514db Initial revision
carl
parents:
diff changeset
18 unsigned int dwHighDateTime;
6b1b602514db Initial revision
carl
parents:
diff changeset
19 } FILETIME;
6b1b602514db Initial revision
carl
parents:
diff changeset
20 # endif
6b1b602514db Initial revision
carl
parents:
diff changeset
21 #endif // _WIN32
6b1b602514db Initial revision
carl
parents:
diff changeset
22 #endif // __COMMON_H