By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,950 Members | 1,035 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,950 IT Pros & Developers. It's quick & easy.

C# Interop , How to use this DllImport code

P: 1
I have this c# wrapper code:
Expand|Select|Wrap|Line Numbers
  1.  /// extern TSK_IMG_INFO *tsk_img_open(int,const TSK_TCHAR * const images[], TSK_IMG_TYPE_ENUM, unsigned int a_ssize);
  2.  
  3. [DllImport(NativeLibrary, CallingConvention = CallingConvention.Cdecl)]
  4.         internal static extern DiskImageHandle tsk_img_open(int imageCount, byte[] image, ImageType imageType, uint sectorSize);
  5.  
Is there anybody who could tell me how the use this code in C#. The part I don't know how to call from C# is " TSK_TCHAR * const images[] ".

More info about this function on: http://www.sleuthkit.org/sleuthkit/docs/api-docs/group__imglib.html
Mar 28 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.