Trait windows::Win32::System::Search::ICommandCost_Impl

pub trait ICommandCost_Impl: Sized {
    // Required methods
    fn GetAccumulatedCost(
        &self,
        pwszrowsetname: &PCWSTR,
        pccostlimits: *mut u32,
        prgcostlimits: *mut *mut DBCOST,
    ) -> Result<()>;
    fn GetCostEstimate(
        &self,
        pwszrowsetname: &PCWSTR,
        pccostestimates: *mut u32,
        prgcostestimates: *mut DBCOST,
    ) -> Result<()>;
    fn GetCostGoals(
        &self,
        pwszrowsetname: &PCWSTR,
        pccostgoals: *mut u32,
        prgcostgoals: *mut DBCOST,
    ) -> Result<()>;
    fn GetCostLimits(
        &self,
        pwszrowsetname: &PCWSTR,
        pccostlimits: *mut u32,
        prgcostlimits: *mut DBCOST,
    ) -> Result<()>;
    fn SetCostGoals(
        &self,
        pwszrowsetname: &PCWSTR,
        ccostgoals: u32,
        rgcostgoals: *const DBCOST,
    ) -> Result<()>;
    fn SetCostLimits(
        &self,
        pwszrowsetname: &PCWSTR,
        ccostlimits: u32,
        prgcostlimits: *const DBCOST,
        dwexecutionflags: u32,
    ) -> Result<()>;
}

Required Methods§

fn GetAccumulatedCost( &self, pwszrowsetname: &PCWSTR, pccostlimits: *mut u32, prgcostlimits: *mut *mut DBCOST, ) -> Result<()>

fn GetCostEstimate( &self, pwszrowsetname: &PCWSTR, pccostestimates: *mut u32, prgcostestimates: *mut DBCOST, ) -> Result<()>

fn GetCostGoals( &self, pwszrowsetname: &PCWSTR, pccostgoals: *mut u32, prgcostgoals: *mut DBCOST, ) -> Result<()>

fn GetCostLimits( &self, pwszrowsetname: &PCWSTR, pccostlimits: *mut u32, prgcostlimits: *mut DBCOST, ) -> Result<()>

fn SetCostGoals( &self, pwszrowsetname: &PCWSTR, ccostgoals: u32, rgcostgoals: *const DBCOST, ) -> Result<()>

fn SetCostLimits( &self, pwszrowsetname: &PCWSTR, ccostlimits: u32, prgcostlimits: *const DBCOST, dwexecutionflags: u32, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§