[][src]Struct winapi::um::portabledeviceapi::IPortableDeviceManager

#[repr(C)]
pub struct IPortableDeviceManager { pub lpVtbl: *const IPortableDeviceManagerVtbl, }

Fields

lpVtbl: *const IPortableDeviceManagerVtbl

Methods

impl IPortableDeviceManager[src]

pub unsafe fn GetDevices(
    &self,
    pPnPDeviceIDs: *mut LPWSTR,
    pcPnPDeviceIDs: *mut DWORD
) -> HRESULT
[src]

pub unsafe fn RefreshDeviceList(&self) -> HRESULT[src]

pub unsafe fn GetDeviceFriendlyName(
    &self,
    pszPnPDeviceID: LPCWSTR,
    pDeviceFriendlyName: *mut WCHAR,
    pcchDeviceFriendlyName: *mut DWORD
) -> HRESULT
[src]

pub unsafe fn GetDeviceDescription(
    &self,
    pszPnPDeviceID: LPCWSTR,
    pDeviceDescription: *mut WCHAR,
    pcchDeviceDescription: *mut DWORD
) -> HRESULT
[src]

pub unsafe fn GetDeviceManufacturer(
    &self,
    pszPnPDeviceID: LPCWSTR,
    pDeviceManufacturer: *mut WCHAR,
    pcchDeviceManufacturer: *mut DWORD
) -> HRESULT
[src]

pub unsafe fn GetDeviceProperty(
    &self,
    pszPnPDeviceID: LPCWSTR,
    pszDevicePropertyName: LPCWSTR,
    pData: *mut BYTE,
    pcbData: *mut DWORD,
    pdwType: *mut DWORD
) -> HRESULT
[src]

pub unsafe fn GetPrivateDevices(
    &self,
    pPnPDeviceIDs: *mut LPWSTR,
    pcPnPDeviceIDs: *mut DWORD
) -> HRESULT
[src]

Methods from Deref<Target = IUnknown>

pub unsafe fn QueryInterface(
    &self,
    riid: REFIID,
    ppvObject: *mut *mut c_void
) -> HRESULT
[src]

pub unsafe fn AddRef(&self) -> ULONG[src]

pub unsafe fn Release(&self) -> ULONG[src]

Trait Implementations

impl Interface for IPortableDeviceManager[src]

impl Deref for IPortableDeviceManager[src]

type Target = IUnknown

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]