_GetAPIHandle( ), API-Bibliotheksroutine
Gibt das Handle der aktuellen FLL-Datei zurück.
void _GetAPIHandle( )
Beispiel
Im folgenden Beispiel wird das Handle der aktuellen FLL-Datei zurückgegeben.
Visual FoxPro-Code
SET LIBR TO GETAPIHA.FLL
? GETAPIHAND( )
C-Code
#include <pro_ext.h>
void getAPIHandle()
{
_RetInt((int) _GetAPIHandle(),15);
}
FoxInfo myFoxInfo[] =
{
{"GETAPIHAND", (FPFI) getAPIHandle, 0, ""},
};
FoxTable _FoxTable =
{
(FoxTable *) 0, sizeof(myFoxInfo)/sizeof(FoxInfo), myFoxInfo
};
Siehe auch
Zugreifen auf die Visual FoxPro-API | Erstellen einer .FLL-Bibliothek | _ActivateHandler( ), API-Bibliotheksroutine | _DeActivateHandler( ), API-Bibliotheksroutine