问题描述
- c++ 转 Pascal 数据类型声明
- 请大侠们帮忙看看下面的C++数据类型声明怎么用Pascal语音实现(IDE是delphi6)
typedef void (*rfmErrorMsg_t)
(
struct rfm2gHandle_s * rh
ULONG enochar
...
);
typedef struct rfm2gHandle_s
{
HANDLE handle;char fn[80];
rfmMapMemory_t rmm;
rfmGetConfig_t rgc;
rfmOPMap_t ropmap;
rfmOpReg_t plxregs;rfmErrorMsg_t print;
OVERLAPPED overlapped_reset;
OVERLAPPED overlapped_1;
OVERLAPPED overlapped_2;
OVERLAPPED overlapped_3;
OVERLAPPED overlapped_4;
OVERLAPPED overlapped_bd;
OVERLAPPED overlapped_rxffull;
OVERLAPPED overlapped_roguepkt;
OVERLAPPED overlapped_r;
OVERLAPPED overlapped_w;
HANDLE mutex_reset;HANDLE mutex_1;
HANDLE mutex_2;
HANDLE mutex_3;
HANDLE mutex_4;
HANDLE mutex_bd;
HANDLE mutex_rxffull;
HANDLE mutex_roguepkt;
HANDLE cancel_reset;
HANDLE cancel_2;HANDLE cancel_3;
HANDLE cancel_4;
HANDLE cancel_bd;
HANDLE cancel_rxffull;
HANDLE cancel_roguepkt;
void *Callback[RFM2GEVENT_LAST];
int CallbackStat[RFM2GEVENT_LAST]; / Results of registering Callback func */
} rfm2gHandle_t *RFM2GHANDLE;