XLL+ Class Library (6.3)

CXllApp::AddFn

Add a function to the list of functions to be registered

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 OnXllOpenEx() event.

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

Requirements

Header: xllplus.h

See Also

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