How to p/invoke this methode?
typedef CK_CALLBACK_FUNCTION(CK_RV, CK_CREATEMUTEX)(
CK_VOID_PTR_PTR ppMutex
);
regards,
/* I need a开发者_StackOverflow社区lso to get my hsm informaton via a C# application by P/Invoke PKCS#11*/
Please see this PInvoke.net page:
http://www.pinvoke.net/default.aspx/kernel32.createmutex
The C# signature is:
[DllImport("kernel32.dll")]
static extern IntPtr CreateMutex(IntPtr lpMutexAttributes, bool bInitialOwner, string lpName);
精彩评论