1 message in net.java.dev.jna.users[jna-users] Re: 回复: 回复: The struct ma...
FromSent OnAttachments
Timothy WallJan 11, 2009 10:29 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[jna-users] Re: 回复: 回复: The struct mapping problem JNAActions...
From:Timothy Wall (twal@dev.java.net)
Date:Jan 11, 2009 10:29:48 pm
List:net.java.dev.jna.users

On Jan 12, 2009, at 1:21 AM, fejjsong wrote:

Thanks for your suggestion,and how can I create the Class? This is SM_ALGORITHM,the pParameter,how can I write it? public static class SM_ALGORITHM extends Structure { public NativeLong AlgoType; public Memory pParameter; public NativeLong ulParameterLen; public SM_ALGORITHM() { AlgoType = new NativeLong(0x00000203); pParameter = ??????;

pParameter = new Memory(desiredSize);

ulParameterLen = new NativeLong(32); } }