The list of OLE Automation-callable MAXScript functions is defined using the registerOLEInterface() function. It takes an array of functions to be exposed:
registerOLEInterface <array_of_fns>
For example:
registerOLEInterface #(get_object_count,
get_object_name,
get_object_position)
Each time you call this function, it replaces the current set of exposed functions with the new set -- it does not add to the existing set. The functions you expose should limit themselves to passing and returning only the following data types: integers, reals (floats), currency, string, boolean and empty (undefined).