Trait windows::Win32::System::Diagnostics::Etw::ITraceRelogger_Impl

pub trait ITraceRelogger_Impl: Sized {
    // Required methods
    fn AddLogfileTraceStream(
        &self,
        logfilename: &BSTR,
        usercontext: *const c_void,
    ) -> Result<RELOGSTREAM_HANDLE>;
    fn AddRealtimeTraceStream(
        &self,
        loggername: &BSTR,
        usercontext: *const c_void,
    ) -> Result<RELOGSTREAM_HANDLE>;
    fn RegisterCallback(
        &self,
        callback: Option<&ITraceEventCallback>,
    ) -> Result<()>;
    fn Inject(&self, event: Option<&ITraceEvent>) -> Result<()>;
    fn CreateEventInstance(
        &self,
        tracehandle: &RELOGSTREAM_HANDLE,
        flags: u32,
    ) -> Result<ITraceEvent>;
    fn ProcessTrace(&self) -> Result<()>;
    fn SetOutputFilename(&self, logfilename: &BSTR) -> Result<()>;
    fn SetCompressionMode(&self, compressionmode: BOOLEAN) -> Result<()>;
    fn Cancel(&self) -> Result<()>;
}

Required Methods§

fn AddLogfileTraceStream( &self, logfilename: &BSTR, usercontext: *const c_void, ) -> Result<RELOGSTREAM_HANDLE>

fn AddRealtimeTraceStream( &self, loggername: &BSTR, usercontext: *const c_void, ) -> Result<RELOGSTREAM_HANDLE>

fn RegisterCallback(&self, callback: Option<&ITraceEventCallback>) -> Result<()>

fn Inject(&self, event: Option<&ITraceEvent>) -> Result<()>

fn CreateEventInstance( &self, tracehandle: &RELOGSTREAM_HANDLE, flags: u32, ) -> Result<ITraceEvent>

fn ProcessTrace(&self) -> Result<()>

fn SetOutputFilename(&self, logfilename: &BSTR) -> Result<()>

fn SetCompressionMode(&self, compressionmode: BOOLEAN) -> Result<()>

fn Cancel(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§