Partager via


_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

Concepts

Creating Visual FoxPro Dynamic-Link Libraries

Reference

_ActivateHandler( ) API Library Routine

_DeActivateHandler( ) API Library Routine

Other Resources

API Library Construction