Skip to content

Commit

Permalink
Added functions to start classes in runtime broker.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranid committed Apr 17, 2018
1 parent ecb8730 commit 486a5a1
Show file tree
Hide file tree
Showing 4 changed files with 261 additions and 125 deletions.
13 changes: 13 additions & 0 deletions OleViewDotNet/COMInterfaces.cs
Original file line number Diff line number Diff line change
Expand Up @@ -275,4 +275,17 @@ void HandleActivation(
ref Guid rclsid,
out Guid pReplacementClsId);
};

[Guid("6040ec14-6557-41f9-a3f7-b1cab7b42120")]
[InterfaceType(ComInterfaceType.InterfaceIsIInspectable)]
interface IRuntimeBroker
{
[return: MarshalAs(UnmanagedType.IInspectable)] object ActivateInstance([MarshalAs(UnmanagedType.LPWStr)] string instanceName);
[return: MarshalAs(UnmanagedType.IUnknown)] object GetActivationFactory([MarshalAs(UnmanagedType.LPWStr)] string instanceName, ref Guid uuid);
void SetErrorFlags(uint error_flags);
uint GetErrorFlags();
void DebuggerAddRef();
void DebuggerRelease();
[return: MarshalAs(UnmanagedType.IUnknown)] object GetClipboardBroker();
}
}
Loading

0 comments on commit 486a5a1

Please sign in to comment.