Lines Matching defs:handle
453 sane_open (SANE_String_Const devicename, SANE_Handle *handle)
475 *handle = (SANE_Handle)this;
478 this->pNext=pinstFirst; /* register open handle */
481 /* open and prepare USB scanner handle */
491 sane_close (SANE_Handle handle)
494 this=(TInstance*)handle;
515 DBG(1,"invalid handle in close()\n");
536 sane_get_option_descriptor (SANE_Handle handle, SANE_Int iOpt)
538 TInstance *this=(TInstance*)handle;
545 sane_control_option (SANE_Handle handle, SANE_Int iOpt,
552 this=(TInstance*)handle;
671 sane_get_parameters (SANE_Handle handle, SANE_Parameters *p)
675 this=(TInstance*)handle;
706 sane_start (SANE_Handle handle)
710 this=(TInstance*)handle;
730 sane_read (SANE_Handle handle, SANE_Byte *puchBuffer,
736 this=(TInstance*)handle;
759 sane_cancel (SANE_Handle handle)
762 this=(TInstance*)handle;
793 sane_get_select_fd(SANE_Handle handle, SANE_Int *fd)
795 (void) handle; (void) fd;