Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions OleViewDotNet/Forms/COMRegistryDisplayMode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ internal enum COMRegistryDisplayMode
CLSIDsByServer,
CLSIDsByLocalServer,
CLSIDsWithSurrogate,
CLSIDsAsInteractiveUser,
Interfaces,
InterfacesByName,
ImplementedCategories,
Expand Down
12 changes: 10 additions & 2 deletions OleViewDotNet/Forms/COMRegistryViewer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ private static string GetDisplayName(COMRegistryDisplayMode mode)
COMRegistryDisplayMode.CLSIDsByServer => "CLSIDs by Server",
COMRegistryDisplayMode.CLSIDsByLocalServer => "CLSIDs by Local Server",
COMRegistryDisplayMode.CLSIDsWithSurrogate => "CLSIDs with Surrogate",
COMRegistryDisplayMode.CLSIDsAsInteractiveUser => "CLSIDs as Interactive User",
COMRegistryDisplayMode.Interfaces => "Interfaces",
COMRegistryDisplayMode.InterfacesByName => "Interfaces by Name",
COMRegistryDisplayMode.ImplementedCategories => "Implemented Categories",
Expand Down Expand Up @@ -134,7 +135,8 @@ private static IEnumerable<FilterType> GetFilterTypes(COMRegistryDisplayMode mod
break;
case COMRegistryDisplayMode.CLSIDsByServer:
case COMRegistryDisplayMode.CLSIDsByLocalServer:
case COMRegistryDisplayMode.CLSIDsWithSurrogate:
case COMRegistryDisplayMode.CLSIDsWithSurrogate:
case COMRegistryDisplayMode.CLSIDsAsInteractiveUser:
case COMRegistryDisplayMode.ProxyCLSIDs:
filter_types.Add(FilterType.CLSID);
filter_types.Add(FilterType.Server);
Expand Down Expand Up @@ -244,6 +246,8 @@ private static IEnumerable<TreeNode> SetupTree(COMRegistry registry, COMRegistry
return LoadCLSIDByServer(registry, ServerType.Local);
case COMRegistryDisplayMode.CLSIDsWithSurrogate:
return LoadCLSIDByServer(registry, ServerType.Surrogate);
case COMRegistryDisplayMode.CLSIDsAsInteractiveUser:
return LoadCLSIDByServer(registry, ServerType.InteractiveUser);
case COMRegistryDisplayMode.Interfaces:
return LoadInterfaces(registry, false, false);
case COMRegistryDisplayMode.InterfacesByName:
Expand Down Expand Up @@ -566,6 +570,7 @@ private enum ServerType
None,
Local,
Surrogate,
InteractiveUser,
Proxies,
}

Expand Down Expand Up @@ -611,7 +616,10 @@ private static IEnumerable<TreeNode> LoadCLSIDByServer(COMRegistry registry, Ser
{
clsids = clsids.Where(c => IsProxyClsid(registry, c));
}

else if (serverType == ServerType.InteractiveUser)
{
clsids = clsids.Where(c => c.IsInteractiveUser);
}
foreach (COMCLSIDEntry entry in clsids)
{
foreach (COMCLSIDServerEntry server in entry.Servers.Values)
Expand Down
53 changes: 31 additions & 22 deletions OleViewDotNet/Forms/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions OleViewDotNet/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,10 @@ private void menuRegistryAppIDsIL_Click(object sender, EventArgs e)
private void menuViewCLSIDsWithSurrogate_Click(object sender, EventArgs e)
{
OpenView(COMRegistryDisplayMode.CLSIDsWithSurrogate);
}
private void menuViewCLSIDsAsInteractiveUser_Click(object sender, EventArgs e)
{
OpenView(COMRegistryDisplayMode.CLSIDsAsInteractiveUser);
}

private void menuFileOpen32BitViewer_Click(object sender, EventArgs e)
Expand Down