_GetAPIHandle( ) API Library Routine
Returns the handle of the current FLL.
void _GetAPIHandle( )
Example
The following example returns the handle of the current FLL.
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
};
See Also
Accessing the Visual FoxPro API | Creating a Basic FLL Library | _ActivateHandler( ) API Library Routine | _DeActivateHandler( ) API Library Routine