Function NbError() Foundation
Retrieves the error code of the last NetBIOS call.
NbError( [<nConnectionHandle>] ; // Default: NIL
) --> nErrorCode
If a valid connection handle is passed to NbError() the function returns the last NetBIOS error that occured with that handle, otherwise the last global NetBIOS error code is returned.
The following table lists possible return values of NbError().
Value | Description |
---|---|
0 | No error |
1 | Illegal buffer length |
3 | Invalid command |
5 | Command time out |
6 | Message incomplete |
7 | Data not received |
8 | Illegal local session number |
9 | No resource available |
10 | Session closed |
11 | Command cancelled |
13 | Duplicate name |
14 | Name table full |
15 | Name still has sessions |
17 | Session table full |
18 | Session open error |
19 | Illegal name number |
20 | Remote name not found |
21 | Local name not found |
22 | Remote name in use |
23 | Name deleted |
24 | Session ended abnormally |
25 | Name conflict |
33 | Interface busy |
34 | Too many commands |
35 | Invalid adapter |
36 | Command already completed |
38 | Command invalid to cancel |
48 | Name defined by others |
52 | Environment not defined |
53 | No OS resources |
54 | Maximum applications exceeded |
55 | No Service Advertising Protocol available |
56 | Inadequate resources |
57 | Invalid NCB address |
58 | Invalid reset |
60 | Segment lock unsuccessful |
>78 | Network and adapter errors |
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.