Struct windows::Win32::Media::DirectShow::IAMExtDevice_Vtbl
#[repr(C)]pub struct IAMExtDevice_Vtbl {
pub base__: IUnknown_Vtbl,
pub GetCapability: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut i32, _: *mut f64) -> HRESULT,
pub ExternalDeviceID: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub ExternalDeviceVersion: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub SetDevicePower: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub DevicePower: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub Calibrate: unsafe extern "system" fn(_: *mut c_void, _: usize, _: i32, _: *mut i32) -> HRESULT,
pub SetDevicePort: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub DevicePort: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§GetCapability: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut i32, _: *mut f64) -> HRESULT
§ExternalDeviceID: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT
§ExternalDeviceVersion: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT
§SetDevicePower: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§DevicePower: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§Calibrate: unsafe extern "system" fn(_: *mut c_void, _: usize, _: i32, _: *mut i32) -> HRESULT
§SetDevicePort: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§DevicePort: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
Implementations§
§impl IAMExtDevice_Vtbl
impl IAMExtDevice_Vtbl
pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: IAMExtDevice_Impl, const OFFSET: isize>( ) -> IAMExtDevice_Vtbl
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for IAMExtDevice_Vtbl
impl Send for IAMExtDevice_Vtbl
impl Sync for IAMExtDevice_Vtbl
impl Unpin for IAMExtDevice_Vtbl
impl UnwindSafe for IAMExtDevice_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