mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2025-02-07 23:11:21 +01:00
Better comments in ch341.h
This commit is contained in:
parent
98d0debd05
commit
f39843b41f
@ -1,9 +1,16 @@
|
|||||||
|
/**
|
||||||
|
* This is the header for ch341dll.dll, a library for interfacing with the
|
||||||
|
* CH341 USB to serial/parallel port chip. Magic Box uses this for their
|
||||||
|
* proprietary IO, and it provides access to the panel sensors.
|
||||||
|
*
|
||||||
|
* The full .h for this file is floating around online with many more functions
|
||||||
|
* and comments (in Chinese). Only the bare minimum definitions are provided
|
||||||
|
* here for use in jbio-magicbox
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef IMPORTS_CH341_H
|
#ifndef IMPORTS_CH341_H
|
||||||
#define 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);
|
HANDLE WINAPI CH341OpenDevice(ULONG iIndex);
|
||||||
VOID WINAPI CH341CloseDevice(ULONG iIndex);
|
VOID WINAPI CH341CloseDevice(ULONG iIndex);
|
||||||
BOOL WINAPI CH341EppReadData(ULONG iIndex, PVOID oBuffer, PULONG ioLength);
|
BOOL WINAPI CH341EppReadData(ULONG iIndex, PVOID oBuffer, PULONG ioLength);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user