private COMProxyInstance(string path, Guid clsid, ISymbolResolver resolver) { NdrParser parser = new NdrParser(resolver); Entries = parser.ReadFromComProxyFile(path, clsid); ComplexTypes = parser.ComplexTypes; }
private COMProxyInterfaceInstance(COMCLSIDEntry clsid, ISymbolResolver resolver, COMInterfaceEntry intf, COMRegistry registry) { NdrParser parser = new NdrParser(resolver); Entry = parser.ReadFromComProxyFile(clsid.DefaultServer, clsid.Clsid, new Guid[] { intf.Iid }).FirstOrDefault(); ComplexTypes = parser.ComplexTypes; OriginalName = intf.Name; ClassEntry = clsid; m_registry = registry; }