_GetAPIHandle( ) (Rutina de biblioteca API)
Devuelve el controlador de la FLL actual.
void _GetAPIHandle( )
Ejemplo
El siguiente ejemplo devuelve el controlador de la FLL actual.
Código Visual FoxPro
SET LIBR TO GETAPIHA.FLL
? GETAPIHAND( )
Código C
#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
};
Vea también
Acceso a la API de Visual FoxPro | Crear una biblioteca FLL básica | _ActivateHandler( ) (Rutina de biblioteca API) | _DeActivateHandler( ) (Rutina de biblioteca API)