tinyproto
src
hal
win32
win32_serial.h
Go to the documentation of this file.
1
/*
2
Copyright 2017,2020,2022 (C) Alexey Dynda
3
4
This file is part of Tiny Protocol Library.
5
6
GNU General Public License Usage
7
8
Protocol Library is free software: you can redistribute it and/or modify
9
it under the terms of the GNU Lesser General Public License as published by
10
the Free Software Foundation, either version 3 of the License, or
11
(at your option) any later version.
12
13
Protocol Library is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU Lesser General Public License for more details.
17
18
You should have received a copy of the GNU Lesser General Public License
19
along with Protocol Library. If not, see <http://www.gnu.org/licenses/>.
20
21
Commercial License Usage
22
23
Licensees holding valid commercial Tiny Protocol licenses may use this file in
24
accordance with the commercial license agreement provided in accordance with
25
the terms contained in a written agreement between you and Alexey Dynda.
26
For further information contact via email on github account.
27
*/
35
#pragma once
36
37
#ifdef __cplusplus
38
extern
"C"
39
{
40
#endif
41
42
#include <windows.h>
43
45
typedef
HANDLE
tiny_serial_handle_t
;
47
#define TINY_SERIAL_INVALID INVALID_HANDLE_VALUE
48
49
#ifdef __cplusplus
50
}
51
#endif
tiny_serial_handle_t
HANDLE tiny_serial_handle_t
Unique port handle.
Definition:
win32_serial.h:45
Generated by
1.8.13