Deditec USB-TTL-64 데이터 시트
![Deditec](https://files.manualsbrain.com/attachments/a76b78ffc5e50c07b8e4d95d0426c3f3908f6d10/common/fit/150/50/bc1d513137811a3530c47242f8c7f5c641167c30149915d948b33926cce6/brand_logo.gif)
DELIB API reference | Seite
36
4.2. Error handling
4.2.1. DapiGetLastError
Description
This function returns the last registered error.
This function returns the last registered error.
Definition
ULONG DapiGetLastError();
Parameters
None
None
Return value
Error code
0=no error. (see delib.h)
Error code
0=no error. (see delib.h)
Example program
ULONG error;
error=DapiGetLastError();
if(error==0) return FALSE;
printf("ERROR = %d", error);