public IntPtr GetProcAddress(IntPtr dllHandle, string name) { var procAddress = logic.GetProcAddress(dllHandle, name); if (procAddress == IntPtr.Zero) { throw new LoadLibraryException(string.Format("Failed to load proc {0}", name)); } return(procAddress); }
public IntPtr GetProcAddress(IntPtr dllHandle, string name) { return(logic.GetProcAddress(dllHandle, name)); }