private static extern IntPtr GetProcAddress(SafeLibraryHandle moduleHandle, string procname);
 public static IntPtr LoadProcedure(SafeLibraryHandle handle, string functionName)
 {
     return GetProcAddress(handle, functionName);
 }
 public static IntPtr LoadProcedure(SafeLibraryHandle handle, string functionName)
 {
     return(GetProcAddress(handle, functionName));
 }
 private static extern IntPtr GetProcAddress(SafeLibraryHandle moduleHandle, string procname);
 private static SafeLibraryHandle NullifyInvalidHandle(SafeLibraryHandle handle)
 {
     return(handle.IsInvalid ? null : handle);
 }