summaryrefslogtreecommitdiffstats
path: root/res/ATFBlast_ALL/userport/UserPort/Examples/IOPort.h
blob: 2fd3bf9ed96a589761efe82e5010ac0a2c74fc66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef IOPORTH
#define IOPORTH

#ifdef __cplusplus
extern "C" {
#endif

void outport(UINT portid, UINT value);
void outportb(UINT portid, BYTE value);
BYTE inportb(UINT portid);
UINT inport(UINT portid);
BOOL StartUpIoPorts(UINT PortToAccess, BOOL bShowMessageBox, HWND hParentWnd);

#ifdef __cplusplus
}
#endif

#endif