Struct audio_device_windows_sys::Windows::Win32::CoreAudio::IPart [−][src]
Implementations
impl IPart
[src]
pub unsafe fn GetName(&self, ppwstrname: *mut PWSTR) -> HRESULT
[src]
pub unsafe fn GetLocalId(&self, pnid: *mut u32) -> HRESULT
[src]
pub unsafe fn GetGlobalId(&self, ppwstrglobalid: *mut PWSTR) -> HRESULT
[src]
pub unsafe fn GetPartType(&self, pparttype: *mut PartType) -> HRESULT
[src]
pub unsafe fn GetSubType(&self, psubtype: *mut Guid) -> HRESULT
[src]
pub unsafe fn GetControlInterfaceCount(&self, pcount: *mut u32) -> HRESULT
[src]
pub unsafe fn GetControlInterface(
&self,
nindex: u32,
ppinterfacedesc: *mut Option<IControlInterface>
) -> HRESULT
[src]
&self,
nindex: u32,
ppinterfacedesc: *mut Option<IControlInterface>
) -> HRESULT
pub unsafe fn EnumPartsIncoming(
&self,
ppparts: *mut Option<IPartsList>
) -> HRESULT
[src]
&self,
ppparts: *mut Option<IPartsList>
) -> HRESULT
pub unsafe fn EnumPartsOutgoing(
&self,
ppparts: *mut Option<IPartsList>
) -> HRESULT
[src]
&self,
ppparts: *mut Option<IPartsList>
) -> HRESULT
pub unsafe fn GetTopologyObject(
&self,
pptopology: *mut Option<IDeviceTopology>
) -> HRESULT
[src]
&self,
pptopology: *mut Option<IDeviceTopology>
) -> HRESULT
pub unsafe fn Activate(
&self,
dwclscontext: u32,
refiid: *const Guid,
ppvobject: *mut *mut c_void
) -> HRESULT
[src]
&self,
dwclscontext: u32,
refiid: *const Guid,
ppvobject: *mut *mut c_void
) -> HRESULT
pub unsafe fn RegisterControlChangeCallback<'a>(
&self,
riid: *const Guid,
pnotify: impl IntoParam<'a, IControlChangeNotify>
) -> HRESULT
[src]
&self,
riid: *const Guid,
pnotify: impl IntoParam<'a, IControlChangeNotify>
) -> HRESULT
pub unsafe fn UnregisterControlChangeCallback<'a>(
&self,
pnotify: impl IntoParam<'a, IControlChangeNotify>
) -> HRESULT
[src]
&self,
pnotify: impl IntoParam<'a, IControlChangeNotify>
) -> HRESULT
Trait Implementations
impl Clone for IPart
[src]
impl Debug for IPart
[src]
impl Eq for IPart
[src]
impl Interface for IPart
[src]
type Vtable = IPart_abi
const IID: Guid
[src]
pub unsafe fn vtable(&self) -> &Self::Vtable
[src]
pub unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtable where
T: Interface,
[src]
T: Interface,
pub fn cast<T>(&self) -> Result<T, Error> where
T: Interface,
[src]
T: Interface,
impl<'a> IntoParam<'a, IUnknown> for IPart
[src]
fn into_param(self) -> Param<'a, IUnknown>
[src]
impl<'a> IntoParam<'a, IUnknown> for &'a IPart
[src]
fn into_param(self) -> Param<'a, IUnknown>
[src]
impl PartialEq<IPart> for IPart
[src]
impl StructuralEq for IPart
[src]
impl StructuralPartialEq for IPart
[src]
Auto Trait Implementations
impl RefUnwindSafe for IPart
impl !Send for IPart
impl !Sync for IPart
impl Unpin for IPart
impl UnwindSafe for IPart
Blanket Implementations
impl<T> Abi for T where
T: Interface,
[src]
T: Interface,
type Abi = *mut c_void
The abi representation of the implementing type. Read more
pub fn set_abi(&mut self) -> *mut <T as Abi>::Abi
[src]
pub unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
[src]
pub fn abi(&self) -> Self::Abi
[src]
pub fn drop_param(&mut Param<'_, Self>)
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> IntoParam<'a, T> for T where
T: Abi,
[src]
T: Abi,
pub fn into_param(self) -> Param<'a, T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,