如何调用其他程序做的API

jokingjun 2001-12-15 02:46:24
我有一其他程序编的**.DLL,

API的原形BOOL WINAPI IFInitInterface(DWORD dwCodeProtocol, DWORD dwDriverProtocol, LPCTSTR pDriverParam);

dwCodeProtocol 类型:DWORD

dwDriverProtocol 类型:DWORD

PDriverParam 类型;LPCTSTR

调用举例】
IFInitInterface(1, 1, "129.9.123.8 7000 5000 ");

请问我如何调用和声明函数????


...全文
494 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
Sunnuy 2001-12-15
  • 打赏
  • 举报
回复
Public Declare Function IFIintInterFace Lib "run.dll" (ByVal dwCodeProtocol as long ,byval dwDriverProtocol as long,byval pDriverParam as string) As Integer
enmity 2001-12-15
  • 打赏
  • 举报
回复
Public Declare Function IFIintInterFace Lib "run.dll" (ByVal dwCodeProtocol As Long ,ByVal dwDriverProtocol As Long, ByVal pDriverParam As String) As Long
yangzhaoyu 2001-12-15
  • 打赏
  • 举报
回复
Declare Function IFIintInterFace Lib "**.dll" (ByVal dwCodeProtocol as any ,byval dwDriverProtocol as any,byval pDriverParam as any) As Bool


1,486

社区成员

发帖
与我相关
我的任务
社区描述
VB API
社区管理员
  • API
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧