[][src]Function vigem_sys::binds::vigem_target_remove

pub unsafe extern "C" fn vigem_target_remove(
    vigem: PVIGEM_CLIENT,
    target: PVIGEM_TARGET
) -> VIGEM_ERROR

\fn VIGEM_ERROR vigem_target_remove(PVIGEM_CLIENT vigem, PVIGEM_TARGET target);

\brief Removes a provided target device from the bus driver, which is equal to a device unplug event of a physical hardware device. The target device object may be reused after this function is called. If this function is never called on target device objects, they will be removed from the bus when the owning process terminates.

\author Benjamin "Nefarius" H�glinger \date 28.08.2017

\param vigem The driver connection object. \param target The target device object.

\return A VIGEM_ERROR.