Example #1
0
        protected override bool ReleaseHandle()
        {
            bool result;

            try
            {
                result = (Win32.DeleteObject(base.handle) != 0);
            }
            catch
            {
                result = false;
            }
            base.handle = IntPtr.Zero;
            return(result);
        }