Herunterladen Inhalt Inhalt Diese Seite drucken
Inhaltsverzeichnis

Werbung

5.2.2. DapiClearLastErrorByHandle

Beschreibung

Diese Funktion löscht den letzten Fehler eines bestimmten Moduls
(handle), der mit
DapiGetLastErrorByHandle()
Definition
void DapiClearLastErrorByHandle();
Parameter
handle=Dies ist das Handle eines geöffneten Moduls.
Return-Wert
Keine
Programmierbeispiel
BOOL IsError(ULONG handle)
{
unsigned long error_code = DapiGetLastErrorByHandle(handle);
if (error_code != DAPI_ERR_NONE)
{
printf("Error detected on handle 0x%x - Error Code = 0x%x\n", handle,
error_code);
DapiClearLastErrorByHandle(handle);
return TRUE;
}
return FALSE;
}
erfasst wurde.
DELIB API Referenz | Seite 227

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Eth-relais-8Eth-optoin-8

Inhaltsverzeichnis