public static void FreeHGlobal(IntPtr hglobal) { if (IsNotWin32Atom(hglobal)) { if (Win32Native.NULL != Win32Native.LocalFree(hglobal)) { ThrowExceptionForHR(GetHRForLastWin32Error()); } } }
public static void FreeHGlobal(IntPtr hglobal) { if (IsNotWin32Atom(hglobal)) { if (Win32Native.NULL != Win32Native.LocalFree(hglobal)) { ThrowExceptionForHR(GetHRForLastWin32Error()); } } }