XLL+ Class Library

CXllApp::AddFn

Add a function to the list of functions to be registered

[C++]
BOOL AddFn(
   CXllFn* pfn
);

Parameters

pfn

Pointer an initialised function definition.

Return value

Returns TRUE if the call succeeds, and FALSE if it fails for any reason.

Remarks

Adds the defined function to the list of functions that will be registered when RegisterFunctions() is called during the OnXllOpen() event.

This function should only be used before RegisterFunctions() is called, preferably during the OnXllOpen() or OnXllOpenEx() event handlers.

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | CXllApp::RemoveFn() | CXllApp::FindFn()