コード例 #1
0
ファイル: JSession.cs プロジェクト: rdm/NetJ
 public void SetDoWd(DoWdType doWdType)
 {
     this._callbacks[1] = Marshal.GetFunctionPointerForDelegate(doWdType);
 }
コード例 #2
0
 public void SetDoWd(DoWdType doWdType)
 {
     this._callbacks[1] = Marshal.GetFunctionPointerForDelegate((InteropDoWdType)(
                                                                    (IntPtr jt, int t, IntPtr w, ref IntPtr z) => doWdType(t, w, ref z)));
 }