#ifndef WIN32
#define TELMATEFUNC
#else
#define TELMATEFUNC WINAPI
#endifint TELMATEFUNC TV_ChannelType (int);  //主要想问问TELMATEFUNC在这句什么意思?

解决方案 »

  1.   

    TELMATEFUNC用来代替WINAPI,也就是__stdcall
      

  2.   

    如果定义了WIN32就相当于 int TV_ChannelType (int); 
    否则相当于int WINAPI TV_ChannelType (int);
      

  3.   

    在win32下,相当于一个__stdcall的约定
      

  4.   

    Private Declare Function TeleBridge Lib "D:\test\usbid.dll" Alias "TELMATEFUNC TV_ChannelType" () As Integer
    这样行不行?
      

  5.   

    在vb中好像默认就是使用__stdcall的约定吧