public static IntPtr GetProcAddress(IntPtr handle, string dllFunctionToImport) { IntPtr procAddress = Utilities.GetProcAddress_(handle, dllFunctionToImport); if (procAddress == IntPtr.Zero) throw new SharpDXException(dllFunctionToImport, new object[0]); }