public MacroEntryPoint[] GetEntryPoints(string macroPath)
        {
            var methods = m_App.GetMacroMethods(macroPath,
                                                (int)swMacroMethods_e.swMethodsWithoutArguments) as string[];

            if (methods != null)
            {
                return(methods.Select(m =>
                {
                    if (IsVstaMacro(macroPath))
                    {
                        return new MacroEntryPoint()
                        {
                            SubName = m
                        };
                    }
                    else
                    {
                        var ep = m.Split('.');
                        return new MacroEntryPoint()
                        {
                            ModuleName = ep[0],
                            SubName = ep[1]
                        };
                    }
                }).OrderBy(e => e, new EntryPointComparer()).ToArray());
            }

            return(null);
        }