Changes between Version 14 and Version 15 of libwdi/usage


Ignore:
Timestamp:
06/10/10 19:02:41 (3 years ago)
Author:
pbatard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • libwdi/usage

    v14 v15  
    5252 * '''WDI_ERROR_NOT_FOUND''':[[BR]] This code is returned when a non device element, required for the function to perform a successful operation, is unavailable. 
    5353 
    54  * '''WDI_ERROR_BUSY''':[[BR]] This code is returned when a resource (device, I/O channel, etc) needed for a function's operation and that does not support concurrent access is found busy. 
     54 * '''WDI_ERROR_BUSY''':[[BR]] This code is returned when a resource (device, I/O channel, etc) or a function that does not support concurrent is already in use. 
    5555 
    5656 * '''WDI_ERROR_TIMEOUT''':[[BR]] This code reports that an operation that has a time limit expired before it could be completed. 
     
    160160    '''WDI_SUCCESS''' if the list of devices was successfully created.[[BR]] 
    161161    '''WDI_ERROR_NO_DEVICE''' if the list is empty (*list will also be set to NULL).[[BR]] 
    162     '''WDI_ERROR_RESOURCE''' if memory could not be allocated internally. 
     162    '''WDI_ERROR_RESOURCE''' if memory could not be allocated internally.[[BR]] 
     163    '''WDI_ERROR_BUSY''' if another instance of this function call is in process. 
    163164 
    164165  '''Remarks:''' 
     
    181182 
    182183  '''Return value:''' 
    183     Currently, this function always returns '''WDI_SUCCESS'''. 
     184    '''WDI_SUCCESS''' if the list of devices was successfully destroyed.[[BR]] 
     185    '''WDI_ERROR_BUSY''' if another instance of this function call is in process. 
     186 
    184187}}} 
    185188|---------------- 
     
    205208    '''WDI_ERROR_INVALID_PARAM''' if either one of the parameters is NULL or if driver_type is not WDI_WINUSB or WDI_LIBUSB.[[BR]] 
    206209    '''WDI_ERROR_NOT_FOUND''' if the device_info is missing a description string.[[BR]] 
    207     '''WDI_ERROR_ACCESS''' if the destination directory, the inf file, or any of the required subdirectories for extraction, cannot be accessed or created. 
     210    '''WDI_ERROR_ACCESS''' if the destination directory, the inf file, or any of the required subdirectories for extraction, cannot be accessed or created.[[BR]] 
     211    '''WDI_ERROR_BUSY''' if another instance of this function call is in process. 
    208212}}} 
    209213|---------------- 
     
    241245    '''WDI_ERROR_CAT_MISSING''' if a cat file is required and cannot be located.[[BR]] 
    242246    '''WDI_ERROR_USER_CANCEL''' if the user cancelled the installation process after an UAC prompt.[[BR]] 
    243     '''WDI_ERROR_OTHER''' for unhandled errors from the installer executable process. 
     247    '''WDI_ERROR_OTHER''' for unhandled errors from the installer executable process.[[BR]] 
     248    '''WDI_ERROR_BUSY''' if another instance of this function call is in process. 
    244249    
    245250}}} 
     
    281286  '''Return value:''' 
    282287    '''WDI_SUCCESS''' if the logger was successfully registered.[[BR]] 
    283     '''WDI_ERROR_EXISTS''' if a logger has already been registered. 
     288    '''WDI_ERROR_EXISTS''' if a logger has already been registered.[[BR]] 
     289    '''WDI_ERROR_BUSY''' if another instance of this function call is in process. 
    284290 
    285291  '''Remarks:''' 
     
    305311    '''WDI_SUCCESS''' if the logger was successfully unregistered.[[BR]] 
    306312    '''WDI_ERROR_INVALID_PARAM''' if '''hWnd''' does not match the one from the current logger destination.[[BR]] 
     313    '''WDI_ERROR_BUSY''' if another instance of this function call is in process. 
    307314}}} 
    308315|---------------- 
     
    326333    '''WDI_SUCCESS''' if a log message was successfully read.[[BR]] 
    327334    '''WDI_ERROR_NOT_FOUND''' if no logger could be registered.[[BR]] 
    328     '''WDI_ERROR_IO''' if the log message could not be read. 
     335    '''WDI_ERROR_IO''' if the log message could not be read.[[BR]] 
     336    '''WDI_ERROR_BUSY''' if another instance of this function call is in process. 
    329337 
    330338  '''Remarks:'''