Diffstat (limited to 'gammu/emb/common/device/serial/ser_w32.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | gammu/emb/common/device/serial/ser_w32.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gammu/emb/common/device/serial/ser_w32.h b/gammu/emb/common/device/serial/ser_w32.h new file mode 100644 index 0000000..d226f32 --- a/dev/null +++ b/gammu/emb/common/device/serial/ser_w32.h | |||
@@ -0,0 +1,19 @@ | |||
1 | |||
2 | #ifdef WIN32 | ||
3 | #ifndef winserial_h | ||
4 | #define winserial_h | ||
5 | |||
6 | #include <windows.h> | ||
7 | |||
8 | typedef struct { | ||
9 | HANDLE hPhone; | ||
10 | DCB old_settings; | ||
11 | OVERLAPPED osWrite,osRead; | ||
12 | } GSM_Device_SerialData; | ||
13 | |||
14 | #endif | ||
15 | #endif | ||
16 | |||
17 | /* How should editor hadle tabs in this file? Add editor commands here. | ||
18 | * vim: noexpandtab sw=8 ts=8 sts=8: | ||
19 | */ | ||