Initialise the CExtAPI instance. This function must be called before any other member functions of CExtAPI.
bool CExtAPI::InitAPI(FARPROC pFunc, void* hID);
Name | Type | Comment |
---|---|---|
pFunc | FARPROC | A parent application function handle. |
hID | void* | A plugin identifier handle. |
False if an error has occurred, and true otherwise.
The arguments for this function are passed from the parent application via the ExtInitPlugin function.