pub unsafe extern "C" fn xiOpenDeviceBy(
sel: Type,
prm: *const c_char,
hDevice: PHANDLE,
) -> XI_RETURNExpand description
\brief Initialize selected device
This function prepares the camera’s software for work. Camera is selected by using appropriate enumerator and input parameters. It populates structures, runs initializing procedures, allocates resources - prepares the camera for work.
\note Function creates and returns handle of the specified device. To de-initialize the camera and destroy the handler xiCloseDevice should be called.
@param[in] sel select method to be used for camera selection @param[in] prm input string to be used during camera selection @param[out] hDevice handle to device @return XI_OK on success, error value otherwise.