Struct windows::Win32::Media::MediaPlayer::IWMPSyncDevice_Vtbl

#[repr(C)]
pub struct IWMPSyncDevice_Vtbl {
Show 17 fields pub base__: IUnknown_Vtbl, pub friendlyName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetfriendlyName: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub deviceName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub deviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub partnershipIndex: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub connected: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub status: unsafe extern "system" fn(_: *mut c_void, _: *mut WMPDeviceStatus) -> HRESULT, pub syncState: unsafe extern "system" fn(_: *mut c_void, _: *mut WMPSyncState) -> HRESULT, pub progress: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub getItemInfo: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub createPartnership: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub deletePartnership: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub start: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub showSettings: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub isIdentical: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§friendlyName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetfriendlyName: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§deviceName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§deviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§partnershipIndex: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§connected: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§status: unsafe extern "system" fn(_: *mut c_void, _: *mut WMPDeviceStatus) -> HRESULT§syncState: unsafe extern "system" fn(_: *mut c_void, _: *mut WMPSyncState) -> HRESULT§progress: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§getItemInfo: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>) -> HRESULT§createPartnership: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§deletePartnership: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§start: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§showSettings: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§isIdentical: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT

Implementations§

§

impl IWMPSyncDevice_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> IWMPSyncDevice_Vtbl
where Identity: IWMPSyncDevice_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.