Lines Matching defs:handle
338 * name. If the call completes successfully, a handle for the device
344 sane_open (SANE_String_Const name, SANE_Handle * handle)
378 *handle = scanner;
430 * represented by handle h. Option number 0 is guaranteed to be a
432 * options that are available for device handle h (the count includes
438 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
440 struct hp3500_data *scanner = handle;
456 * number n of the device represented by handle h. The manner in which
473 sane_control_option (SANE_Handle handle, SANE_Int option,
476 struct hp3500_data *scanner = (struct hp3500_data *) handle;
676 sane_start (SANE_Handle handle)
678 struct hp3500_data *scanner = handle;
755 * be. The parameters passed to this function are the handle h of the
760 sane_get_parameters (SANE_Handle handle, SANE_Parameters * params)
762 struct hp3500_data *scanner = (struct hp3500_data *) handle;
797 * represented by handle h. Argument buf is a pointer to a memory
807 sane_read (SANE_Handle handle, SANE_Byte * buf,
810 struct hp3500_data *scanner = (struct hp3500_data *) handle;
870 * handle h. This function can be called at any time (as long as
871 * handle h is a valid handle) but usually affects long-running
895 * This function terminates the association between the device handle
898 * this function returns, handle h must not be used anymore.
901 sane_close (SANE_Handle handle)
904 do_reset (handle);
905 do_cancel (handle);