Add jbio-magicbox.dll

This commit is contained in:
Will Toohey
2020-11-08 15:32:42 +01:00
committed by icex2
parent ae9db4a8c5
commit ce5462f92d
8 changed files with 193 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
#ifndef IMPORTS_CH341_H
#define IMPORTS_CH341_H
// The bare minimum definitions to implement jbio-magicbox
// There is a full .h for this DLL floating around online, if you care
HANDLE WINAPI CH341OpenDevice(ULONG iIndex);
VOID WINAPI CH341CloseDevice(ULONG iIndex);
BOOL WINAPI CH341EppReadData(ULONG iIndex, PVOID oBuffer, PULONG ioLength);
BOOL WINAPI CH341EppSetAddr(ULONG iIndex, UCHAR iAddr);
#endif
+7
View File
@@ -0,0 +1,7 @@
LIBRARY ch341dll
EXPORTS
CH341OpenDevice@4=CH341OpenDevice
CH341CloseDevice@4=CH341CloseDevice
CH341EppReadData@12=CH341EppReadData
CH341EppSetAddr@8=CH341EppSetAddr