Struct windows::Devices::Adc::Provider::IAdcControllerProvider_Vtbl
#[repr(C)]pub struct IAdcControllerProvider_Vtbl {
pub base__: IInspectable_Vtbl,
pub ChannelCount: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub ResolutionInBits: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub MinValue: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub MaxValue: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub ChannelMode: unsafe extern "system" fn(_: *mut c_void, _: *mut ProviderAdcChannelMode) -> HRESULT,
pub SetChannelMode: unsafe extern "system" fn(_: *mut c_void, _: ProviderAdcChannelMode) -> HRESULT,
pub IsChannelModeSupported: unsafe extern "system" fn(_: *mut c_void, _: ProviderAdcChannelMode, _: *mut bool) -> HRESULT,
pub AcquireChannel: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub ReleaseChannel: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub ReadValue: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut i32) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§ChannelCount: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§ResolutionInBits: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§MinValue: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§MaxValue: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§ChannelMode: unsafe extern "system" fn(_: *mut c_void, _: *mut ProviderAdcChannelMode) -> HRESULT
§SetChannelMode: unsafe extern "system" fn(_: *mut c_void, _: ProviderAdcChannelMode) -> HRESULT
§IsChannelModeSupported: unsafe extern "system" fn(_: *mut c_void, _: ProviderAdcChannelMode, _: *mut bool) -> HRESULT
§AcquireChannel: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§ReleaseChannel: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§ReadValue: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut i32) -> HRESULT
Implementations§
§impl IAdcControllerProvider_Vtbl
impl IAdcControllerProvider_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IAdcControllerProvider_Vtblwhere
Identity: IAdcControllerProvider_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IAdcControllerProvider_Vtbl
impl RefUnwindSafe for IAdcControllerProvider_Vtbl
impl Send for IAdcControllerProvider_Vtbl
impl Sync for IAdcControllerProvider_Vtbl
impl Unpin for IAdcControllerProvider_Vtbl
impl UnwindSafe for IAdcControllerProvider_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