DELIB API reference | Seite
54
4.2.2. DapiGetLastErrorText
Description
This function reads the text of the last registered error.
Definition
extern ULONG __stdcall DapiGetLastErrorText(unsigned char * msg, unsigned long
msg_length);
Parameters
msg = text buffer
msg_length = length of the buffer
Example program
BOOL IsError ()
{
if (DapiGetLastError () != DAPI_ERR_NONE)
{
unsigned char msg[500];
DapiGetLastErrorText((unsigned char*) msg, sizeof(msg));
printf ("Error Code = %x * Message = %s\n", 0, msg);
return TRUE;
}
return FALSE;
}
Summary of Contents for USB WATCHDOG STICK
Page 1: ...Hardware Description März USB WATCHDOG STICK 2016 ...
Page 4: ...I Introduction Seite 4 Introduction ...
Page 6: ...II Hardware description Seite 6 Hardware description ...
Page 8: ...Hardware description Seite 8 2 1 Overview screen ...
Page 16: ...III Software Seite 16 Software ...
Page 35: ...Software Seite 35 Choose the option create VIs for DLL and press continue ...
Page 45: ...Software Seite 45 ...
Page 46: ...IV DELIB API reference Seite 46 DELIB API reference ...
Page 60: ...V Appendix Seite 60 Appendix ...