コード例 #1
0
        public static bool RegisterCleanupDelegate(IntPtr cleanupObject, IntPtr notifyObject, CleanupNotifierBridge.CleanupDelegate cleanupDelegate, IntPtr context)
        {
            bool result = AppUtilPINVOKE.CleanupNotifierBridge_RegisterCleanupDelegate(cleanupObject, notifyObject, cleanupDelegate, context);

            if (AppUtilPINVOKE.SWIGPendingException.Pending)
            {
                throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
            }
            return(result);
        }