PB串口通讯源码-API 利用api实现 Function Boolean CloseHandle(ulong hObject ) Library "kernel32.dll" FUNCTION boolean ReadFile(ulong fhand, ref string lpbuffer, ulong numbyte, ref ulong bytesread, ulong lpover) LIBRARY "kernel32.dll" FUNCTION ulong CreateFileA(ref string fname, ulong f_access, ulong f_share