I have one Method called GetUser() in my C++ dll.
int GetUser(char *cUserid, USERINFO **pUserInfo); // C++
USERINFO is a structure which contains UserInformation Now when i consume this dll in C# the above API Looks like :
int GetUser(string bstrUserId,IntPtr USERINFO); // C#
Now the Problem is How to Pass this IntPtr in C# to get the User data of that UserID. Thanks in Advance.