Type Definition hostfxr_sys::get_function_pointer_fn
source · [−]pub type get_function_pointer_fn = unsafe extern "system" fn(type_name: *const char_t, method_name: *const char_t, delegate_type_name: *const char_t, load_context: *const c_void, reserved: *const c_void, delegate: *mut *const c_void) -> i32;Expand description
Signature of delegate returned by hostfxr_get_runtime_delegate for type hdt_get_function_pointer
Arguments
type_name: Assembly qualified type namemethod_name: Public static method name compatible with delegateTypedelegate_type_name: Assembly qualified delegate type name ornull, orUNMANAGED_CALLERS_ONLY_METHODif the method is marked with theUnmanagedCallersOnlyAttribute.load_context: Extensibility parameter (currently unused and must be 0)reserved: Extensibility parameter (currently unused and must be 0)delegate: Pointer where to store the function pointer result