有一个事件响应的接口方法
C++:
GetEventPoll (ACSHandle_t acsHandle, void FAR *eventBuf, unsigned short *eventBufSize)请问在C#中怎么实现,eventBuf是未指定的struct,如何通过eventBufSize关联上知道的帮个忙,谢谢
C++:
GetEventPoll (ACSHandle_t acsHandle, void FAR *eventBuf, unsigned short *eventBufSize)请问在C#中怎么实现,eventBuf是未指定的struct,如何通过eventBufSize关联上知道的帮个忙,谢谢
IntPtr oThis=IntPtr.Zero;
GetEventPoll(UInt32 acsHandle,ref IntPtr eventBuf, ref UInt16 eventBufSize)调用函数后返回IntPtr和eventBufSize有什么办法可以通过这两个参数,得到DLL中的结构吗?