This member of RFAuxPort Object is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.
The RFGetLastError method returns the value of the last generated error.
VB
dError = object.RFGetLastError()
VC++
HRESULT hr = object->RFGetLastError(DWORD *dError);
Return Value
dError |
The numeric DWORD value of the last generated function error. |
Remarks
Whenever a function error occurs, an error value is generated. You may use RFGetLastError to return the value of the error. The generated errors are listed below:
WLNOERROR |
No error returned from function call. |
WLCOMMERROR |
RF network communication error |
WLMEMORYERROR |
Memory allocation error |
WLNOTINITIALIZED |
RF object is improperly initialized. |
WLREQUESTFAIL |
Input request string format failure |
WLINVALIDPARAMS |
Invalid parameter(s) for function call |
WLINVALIDRETURN |
Invalid return designator for function call |
WLFUNCTIONFAILED |
RF device returned a failure code for the function |
WLBCPARSEERROR |
Failure parsing barcode file |
WLBCADDERROR |
Failed to add barcode to object |
WLBCCLEARERROR |
Failed to clear barcode list |
WLBARCODELIMITEXCEEDED |
Too many barcodes for configuration file |
WLTONEADDERROR |
Failed to add tone to object |
WLTONECLEARERROR |
Failed to clear tone list |
WLIOQUEUEERROR |
IO queue is empty |
WLNOINPUTTYPE |
Unable to determine input type |
WLPORTTIMEOUT |
Auxiliary port timeout |
WLDTOUTOFSYNC |
Terminal date/time out of sync by more than five seconds |
See the Constant Values for the numeric equates returned by the function.
Example
See RFAuxPort Samples.
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other