I have a dll with following signature in C++. It is working in c++;
void Decompress(unsigned char *in,int in_len,unsigned char * out,
unsigned *o_len,int *e);
Description of parameter
- *in : It is byte array passed to fucntion.
- in_len : Length of bytes in first parameter.
- *out : This would be the output as byte array.
- *o_len : No of bytes in third parameter
- *e : Error code returned
How can i call it from c#?
What would be the P/Invoke declration?