[DllImport("xxx.dll")]
public extern static void Create(out IntPtr handle );
[DllImport("xxx.dll")]
public extern static void Initial( IntPtr handle, string szSourceName, string szDecFileName);
[DllImport("xxx.dll")]
public extern static void SetPara( IntPtr handle, IntPtr pDecFileInfo);
-----------------------------------------
权当试试吧