summaryrefslogtreecommitdiffstats
path: root/res/ATFBlast_ALL/userport/UserPort/Examples/IOPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'res/ATFBlast_ALL/userport/UserPort/Examples/IOPort.h')
-rw-r--r--res/ATFBlast_ALL/userport/UserPort/Examples/IOPort.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/res/ATFBlast_ALL/userport/UserPort/Examples/IOPort.h b/res/ATFBlast_ALL/userport/UserPort/Examples/IOPort.h
new file mode 100644
index 0000000..2fd3bf9
--- /dev/null
+++ b/res/ATFBlast_ALL/userport/UserPort/Examples/IOPort.h
@@ -0,0 +1,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