The Inject method injects a non-system-generated event into the event stream being written to the output trace logfile.
HRESULT Inject( ITraceEvent *Event );
The event to be injected into the stream.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
This is the primary way to indicate which events should go into the output trace logfile.
To preserve an existing event provided by IEventCallback::OnEvent, this method should be called.
|Minimum supported client||Windows 7 [desktop apps only]|
|Minimum supported server||Windows Server 2012 [desktop apps only]|