Type Alias PTP_SIMPLE_CALLBACK

Source
pub type PTP_SIMPLE_CALLBACK = Option<unsafe extern "C" fn(arg1: PTP_CALLBACK_INSTANCE, arg2: PVOID)>;

Aliased Type§

enum PTP_SIMPLE_CALLBACK {
    None,
    Some(unsafe extern "C" fn(_: *mut _TP_CALLBACK_INSTANCE, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut _TP_CALLBACK_INSTANCE, _: *mut c_void))

Some value of type T.