public static extern bool IsWow64Process([In] Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid hProcess,
                                          [Out, MarshalAs(UnmanagedType.Bool)] out bool wow64Process);
Esempio n. 2
0
        static public void UnLoadUnmanagedLibrary(SafeHandleZeroOrMinusOneIsInvalid _hLibrary)
        {
#if USESAFELIB && false
            if (_hLibrary != null && !_hLibrary.IsClosed)
            {
                _hLibrary.Close();
                _hLibrary.UnLoad();
                _hLibrary.Dispose();
                _hLibrary = null;
            }
#endif
        }