Trait windows::Win32::System::Diagnostics::Etw::ITraceEvent_Impl

pub trait ITraceEvent_Impl: Sized {
    // Required methods
    fn Clone(&self) -> Result<ITraceEvent>;
    fn GetUserContext(&self) -> Result<*mut c_void>;
    fn GetEventRecord(&self) -> Result<*mut EVENT_RECORD>;
    fn SetPayload(&self, payload: *const u8, payloadsize: u32) -> Result<()>;
    fn SetEventDescriptor(
        &self,
        eventdescriptor: *const EVENT_DESCRIPTOR,
    ) -> Result<()>;
    fn SetProcessId(&self, processid: u32) -> Result<()>;
    fn SetProcessorIndex(&self, processorindex: u32) -> Result<()>;
    fn SetThreadId(&self, threadid: u32) -> Result<()>;
    fn SetThreadTimes(&self, kerneltime: u32, usertime: u32) -> Result<()>;
    fn SetActivityId(&self, activityid: *const GUID) -> Result<()>;
    fn SetTimeStamp(&self, timestamp: *const i64) -> Result<()>;
    fn SetProviderId(&self, providerid: *const GUID) -> Result<()>;
}

Required Methods§

fn Clone(&self) -> Result<ITraceEvent>

fn GetUserContext(&self) -> Result<*mut c_void>

fn GetEventRecord(&self) -> Result<*mut EVENT_RECORD>

fn SetPayload(&self, payload: *const u8, payloadsize: u32) -> Result<()>

fn SetEventDescriptor( &self, eventdescriptor: *const EVENT_DESCRIPTOR, ) -> Result<()>

fn SetProcessId(&self, processid: u32) -> Result<()>

fn SetProcessorIndex(&self, processorindex: u32) -> Result<()>

fn SetThreadId(&self, threadid: u32) -> Result<()>

fn SetThreadTimes(&self, kerneltime: u32, usertime: u32) -> Result<()>

fn SetActivityId(&self, activityid: *const GUID) -> Result<()>

fn SetTimeStamp(&self, timestamp: *const i64) -> Result<()>

fn SetProviderId(&self, providerid: *const GUID) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§