コード例 #1
0
ファイル: CorInfoBase.cs プロジェクト: nguerrera/corert
 public virtual void getGSCookie_wrapper(IntPtr _this, out IntPtr exception, GSCookie* pCookieVal, GSCookie** ppCookieVal)
 {
     exception = IntPtr.Zero;
     try
     {
         getGSCookie(pCookieVal, ppCookieVal);
         return;
     }
     catch (Exception ex)
     {
         exception = AllocException(ex);
     }
 }
コード例 #2
0
ファイル: CorInfoImpl.cs プロジェクト: smartmaster/corert
        private void getGSCookie(IntPtr _this, GSCookie* pCookieVal, GSCookie** ppCookieVal)
        {
            // TODO: fully implement GS cookies

            if (pCookieVal != null)
            {
                *pCookieVal = (GSCookie)0x216D6F6D202C6948;
                *ppCookieVal = null;
            }
            else
            {
                throw new NotImplementedException("getGSCookie");
            }
        }
コード例 #3
0
ファイル: CorInfoBase.cs プロジェクト: tijoytom/corert
 static void _getGSCookie(IntPtr thisHandle, IntPtr* ppException, GSCookie* pCookieVal, GSCookie** ppCookieVal)
 {
     var _this = GetThis(thisHandle);
     try
     {
         _this.getGSCookie(pCookieVal, ppCookieVal);
     }
     catch (Exception ex)
     {
         *ppException = _this.AllocException(ex);
     }
 }