示例#1
0
 public static IntPtr LoadProcedure(SafeLibraryHandle handle, string functionName)
 {
     return(dlsym(handle, functionName));
 }
示例#2
0
 private static extern IntPtr dlsym(SafeLibraryHandle handle, string symbol);
示例#3
0
 private static extern IntPtr GetProcAddress(SafeLibraryHandle moduleHandle, string procname);
示例#4
0
 private static extern IntPtr dlsym(SafeLibraryHandle handle, string symbol);
示例#5
0
 public static IntPtr LoadProcedure(SafeLibraryHandle handle, string functionName)
 {
     return dlsym(handle, functionName);
 }
示例#6
0
 private static SafeLibraryHandle NullifyInvalidHandle(SafeLibraryHandle handle)
 {
     return(handle.IsInvalid ? null : handle);
 }
示例#7
0
 private static extern IntPtr GetProcAddress(SafeLibraryHandle moduleHandle, string procname);