| Author |
Message |
Arm79
Joined: 24 Jul 2007 Posts: 1
|
Posted: Tue Jul 24, 2007 3:47 pm Post subject: correct declaration for C-function |
|
|
Hi
The declaration exists:
| Code: |
| MPFUN int MPAPI GetSignatureCertInBuffer(void *CTX, int Index, char **Buf, int *Len); |
The parameter Buf may be NULL
Please, help. I don't know how translate it to C#
It's correct?
| Code: |
[DLLImport("..." ... )]
public static extern int GetSignatureCertInBuffer(IntPtr CTX, int Index, [in, out] string[] Buf, IntPtr Len) |
Thanks |
|
| Back to top |
|
 |
fixitchris
Joined: 22 Jul 2008 Posts: 2
|
Posted: Tue Jul 22, 2008 4:38 pm Post subject: |
|
|
| I would try 'IntPtr' or 'StringBuilder' for 'char** Buf'. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group