G
Guest
I have a PocketPC .Net application (Compact Framework) that calls a Win32
DLL. This DLL in turn has a WINAPI type callback. Following is the actual
prototype.
Win32 DLL Function Prototype
-----------
Status = XferFiles(int PortID, int Direction, int Protocol, LPCTSTR Fspec,
int Flag, int (WINAPI *Callback)(int Chgflg, char *Fname, long Bytcnt, int
Curblk, int Errcnt, unsigned Rate));
1. What would the above C# function prototype look like?
2. And the delegate for the callback function?
Thanks
DLL. This DLL in turn has a WINAPI type callback. Following is the actual
prototype.
Win32 DLL Function Prototype
-----------
Status = XferFiles(int PortID, int Direction, int Protocol, LPCTSTR Fspec,
int Flag, int (WINAPI *Callback)(int Chgflg, char *Fname, long Bytcnt, int
Curblk, int Errcnt, unsigned Rate));
1. What would the above C# function prototype look like?
2. And the delegate for the callback function?
Thanks