K
kkl
Unregistered / Unconfirmed
GUEST, unregistred user!
// callback function
typedef void (CALLBACK *NOTIFYPROC)(UINT nNofityMsg, LPARAM lParam);
//声明动态导出的函数
bool (__stdcall *USB_InitService) (NOTIFYPROC fnNotifyProc);
void (__stdcall *USB_ReleaseService) ();
HCONNECT (__stdcall *USB_OpenConnect) (LPCSTR lpConnectName);
void (__stdcall *USB_CloseConnect) (HCONNECT hConnect);
bool (__stdcall *USB_ReadConnect) (HCONNECT hConnect,DWORD *dwReadDataLen,LPVOID lpReadDataPtr,DWORD dwTimeOut);
bool (__stdcall *USB_WriteConnect) (HCONNECT hConnect,DWORD dwWriteDataLen,LPVOID lpWriteDataPtr);
请将他写成DELPHI。谢谢。
typedef void (CALLBACK *NOTIFYPROC)(UINT nNofityMsg, LPARAM lParam);
//声明动态导出的函数
bool (__stdcall *USB_InitService) (NOTIFYPROC fnNotifyProc);
void (__stdcall *USB_ReleaseService) ();
HCONNECT (__stdcall *USB_OpenConnect) (LPCSTR lpConnectName);
void (__stdcall *USB_CloseConnect) (HCONNECT hConnect);
bool (__stdcall *USB_ReadConnect) (HCONNECT hConnect,DWORD *dwReadDataLen,LPVOID lpReadDataPtr,DWORD dwTimeOut);
bool (__stdcall *USB_WriteConnect) (HCONNECT hConnect,DWORD dwWriteDataLen,LPVOID lpWriteDataPtr);
请将他写成DELPHI。谢谢。