T
t4urean
I am involved in a project whereby I have to use a methods from a Win32 dll.
There are two methods for which I can't write signature in C#
I have even tried using p/invoke wizard, but it didn't gave the right answer.
The C/C++ declaration for these methods is
BOOL __stdcall CodecStart(int hRadio,void __stdcall (*CallbackFunc)(void *),
void *CallbackTarget);
and
DWORD __stdcall CodecRead(int hRadio, void *Buf, DWORD Size);
I would highly appreciate if any2 can suggest the signature that I can use in
C#
There are two methods for which I can't write signature in C#
I have even tried using p/invoke wizard, but it didn't gave the right answer.
The C/C++ declaration for these methods is
BOOL __stdcall CodecStart(int hRadio,void __stdcall (*CallbackFunc)(void *),
void *CallbackTarget);
and
DWORD __stdcall CodecRead(int hRadio, void *Buf, DWORD Size);
I would highly appreciate if any2 can suggest the signature that I can use in
C#