#[repr(C)]pub struct IComStaThreadPoolKnobs2_Vtbl {
pub base__: IComStaThreadPoolKnobs_Vtbl,
pub GetMaxCPULoad: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetMaxCPULoad: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub GetCPUMetricEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetCPUMetricEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub GetCreateThreadsAggressively: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetCreateThreadsAggressively: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub GetMaxCSR: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetMaxCSR: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub GetWaitTimeForThreadCleanup: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetWaitTimeForThreadCleanup: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
}
Fields§
§base__: IComStaThreadPoolKnobs_Vtbl
§GetMaxCPULoad: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§SetMaxCPULoad: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§GetCPUMetricEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetCPUMetricEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§GetCreateThreadsAggressively: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetCreateThreadsAggressively: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§GetMaxCSR: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§SetMaxCSR: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§GetWaitTimeForThreadCleanup: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§SetWaitTimeForThreadCleanup: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
Implementations§
§impl IComStaThreadPoolKnobs2_Vtbl
impl IComStaThreadPoolKnobs2_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IComStaThreadPoolKnobs2_Vtblwhere
Identity: IComStaThreadPoolKnobs2_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IComStaThreadPoolKnobs2_Vtbl
impl RefUnwindSafe for IComStaThreadPoolKnobs2_Vtbl
impl Send for IComStaThreadPoolKnobs2_Vtbl
impl Sync for IComStaThreadPoolKnobs2_Vtbl
impl Unpin for IComStaThreadPoolKnobs2_Vtbl
impl UnwindSafe for IComStaThreadPoolKnobs2_Vtbl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more