Struct windows::Win32::Storage::Imapi::IDiscRecorder2Ex
pub struct IDiscRecorder2Ex(/* private fields */);
Implementations§
§impl IDiscRecorder2Ex
impl IDiscRecorder2Ex
pub unsafe fn SendCommandNoData( &self, cdb: &[u8], sensebuffer: &mut [u8; 18], timeout: u32, ) -> Result<()>
pub unsafe fn SendCommandSendDataToDevice( &self, cdb: &[u8], sensebuffer: &mut [u8; 18], timeout: u32, buffer: &[u8], ) -> Result<()>
pub unsafe fn SendCommandGetDataFromDevice( &self, cdb: &[u8], sensebuffer: &mut [u8; 18], timeout: u32, buffer: &mut [u8], bufferfetched: *mut u32, ) -> Result<()>
pub unsafe fn ReadDvdStructure( &self, format: u32, address: u32, layer: u32, agid: u32, data: *mut *mut u8, count: *mut u32, ) -> Result<()>
pub unsafe fn SendDvdStructure(&self, format: u32, data: &[u8]) -> Result<()>
pub unsafe fn GetAdapterDescriptor( &self, data: *mut *mut u8, bytesize: *mut u32, ) -> Result<()>
pub unsafe fn GetDeviceDescriptor( &self, data: *mut *mut u8, bytesize: *mut u32, ) -> Result<()>
pub unsafe fn GetDiscInformation( &self, discinformation: *mut *mut u8, bytesize: *mut u32, ) -> Result<()>
pub unsafe fn GetTrackInformation( &self, address: u32, addresstype: IMAPI_READ_TRACK_ADDRESS_TYPE, trackinformation: *mut *mut u8, bytesize: *mut u32, ) -> Result<()>
pub unsafe fn GetFeaturePage<P0>(
&self,
requestedfeature: IMAPI_FEATURE_PAGE_TYPE,
currentfeatureonly: P0,
featuredata: *mut *mut u8,
bytesize: *mut u32,
) -> Result<()>where
P0: Param<BOOLEAN>,
pub unsafe fn GetModePage( &self, requestedmodepage: IMAPI_MODE_PAGE_TYPE, requesttype: IMAPI_MODE_PAGE_REQUEST_TYPE, modepagedata: *mut *mut u8, bytesize: *mut u32, ) -> Result<()>
pub unsafe fn SetModePage( &self, requesttype: IMAPI_MODE_PAGE_REQUEST_TYPE, data: &[u8], ) -> Result<()>
pub unsafe fn GetSupportedFeaturePages<P0>(
&self,
currentfeatureonly: P0,
featuredata: *mut *mut IMAPI_FEATURE_PAGE_TYPE,
bytesize: *mut u32,
) -> Result<()>where
P0: Param<BOOLEAN>,
pub unsafe fn GetSupportedProfiles<P0>(
&self,
currentonly: P0,
profiletypes: *mut *mut IMAPI_PROFILE_TYPE,
validprofiles: *mut u32,
) -> Result<()>where
P0: Param<BOOLEAN>,
pub unsafe fn GetSupportedModePages( &self, requesttype: IMAPI_MODE_PAGE_REQUEST_TYPE, modepagetypes: *mut *mut IMAPI_MODE_PAGE_TYPE, validpages: *mut u32, ) -> Result<()>
pub unsafe fn GetByteAlignmentMask(&self) -> Result<u32>
pub unsafe fn GetMaximumNonPageAlignedTransferSize(&self) -> Result<u32>
pub unsafe fn GetMaximumPageAlignedTransferSize(&self) -> Result<u32>
Trait Implementations§
§impl CanInto<IUnknown> for IDiscRecorder2Ex
impl CanInto<IUnknown> for IDiscRecorder2Ex
§impl Clone for IDiscRecorder2Ex
impl Clone for IDiscRecorder2Ex
§fn clone(&self) -> IDiscRecorder2Ex
fn clone(&self) -> IDiscRecorder2Ex
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IDiscRecorder2Ex
impl Debug for IDiscRecorder2Ex
§impl Deref for IDiscRecorder2Ex
impl Deref for IDiscRecorder2Ex
§impl From<&IDiscRecorder2Ex> for &IUnknown
impl From<&IDiscRecorder2Ex> for &IUnknown
§fn from(value: &IDiscRecorder2Ex) -> Self
fn from(value: &IDiscRecorder2Ex) -> Self
Converts to this type from the input type.
§impl From<IDiscRecorder2Ex> for IUnknown
impl From<IDiscRecorder2Ex> for IUnknown
§fn from(value: IDiscRecorder2Ex) -> Self
fn from(value: IDiscRecorder2Ex) -> Self
Converts to this type from the input type.
§impl Interface for IDiscRecorder2Ex
impl Interface for IDiscRecorder2Ex
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IDiscRecorder2Ex
impl PartialEq for IDiscRecorder2Ex
§fn eq(&self, other: &IDiscRecorder2Ex) -> bool
fn eq(&self, other: &IDiscRecorder2Ex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDiscRecorder2Ex
impl StructuralPartialEq for IDiscRecorder2Ex
Auto Trait Implementations§
impl Freeze for IDiscRecorder2Ex
impl RefUnwindSafe for IDiscRecorder2Ex
impl !Send for IDiscRecorder2Ex
impl !Sync for IDiscRecorder2Ex
impl Unpin for IDiscRecorder2Ex
impl UnwindSafe for IDiscRecorder2Ex
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)