Type Alias PTP_IO_CALLBACK

Source
pub type PTP_IO_CALLBACK = Option<unsafe extern "system" fn(Instance: PTP_CALLBACK_INSTANCE, Context: PVOID, ApcContext: PVOID, IoSB: PIO_STATUS_BLOCK, Io: PTP_IO)>;

Aliased Type§

enum PTP_IO_CALLBACK {
    None,
    Some(unsafe extern "system" fn(_: *mut TP_CALLBACK_INSTANCE, _: *mut c_void, _: *mut c_void, _: *mut IO_STATUS_BLOCK, _: *mut TP_IO)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(_: *mut TP_CALLBACK_INSTANCE, _: *mut c_void, _: *mut c_void, _: *mut IO_STATUS_BLOCK, _: *mut TP_IO))

Some value of type T.