-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPhysical.h
25 lines (20 loc) · 924 Bytes
/
Physical.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*------------------------------------------------------------------------------
-- FILE: Physical.h
-- PROGRAM: Dean and the Rockets' Wireless Protocol Testing and Evaluation
-- DATE: Dec 03, 2010
-- DESIGNER: Dean Morin, Ian Lee, Daniel Wright, Marcel Vangrootheest
------------------------------------------------------------------------------*/
#ifndef PHYSICAL_H
#define PHYSICAL_H
#include "List.h"
#include "osi.h"
#include "WndExtra.h"
/*--------------------------------Macros--------------------------------------*/
#define READ_BUFSIZE 4096
/*---------------------------Function Prototypes------------------------------*/
DWORD WINAPI PortIOThreadProc(HWND hWnd);
DWORD WINAPI FileIOThreadProc(HWND hWnd);
VOID InitStateInfo (PSTATEINFO psi);
VOID ProcessCommError(HANDLE hPort);
VOID ReadFromPort(HWND hWnd, PSTATEINFO psi, OVERLAPPED ol, DWORD cbInQue);
#endif