Struct IFileSystemImage
pub struct IFileSystemImage(/* private fields */);
Implementations§
§impl IFileSystemImage
impl IFileSystemImage
pub unsafe fn Root(&self) -> Result<IFsiDirectoryItem>
pub unsafe fn SessionStartBlock(&self) -> Result<i32>
pub unsafe fn SetSessionStartBlock(&self, newval: i32) -> Result<()>
pub unsafe fn FreeMediaBlocks(&self) -> Result<i32>
pub unsafe fn SetFreeMediaBlocks(&self, newval: i32) -> Result<()>
pub unsafe fn SetMaxMediaBlocksFromDevice<P0>(
&self,
discrecorder: P0,
) -> Result<()>where
P0: Param<IDiscRecorder2>,
pub unsafe fn UsedBlocks(&self) -> Result<i32>
pub unsafe fn VolumeName(&self) -> Result<BSTR>
pub unsafe fn SetVolumeName(&self, newval: &BSTR) -> Result<()>
pub unsafe fn ImportedVolumeName(&self) -> Result<BSTR>
pub unsafe fn BootImageOptions(&self) -> Result<IBootOptions>
pub unsafe fn SetBootImageOptions<P0>(&self, newval: P0) -> Result<()>where
P0: Param<IBootOptions>,
pub unsafe fn FileCount(&self) -> Result<i32>
pub unsafe fn DirectoryCount(&self) -> Result<i32>
pub unsafe fn WorkingDirectory(&self) -> Result<BSTR>
pub unsafe fn SetWorkingDirectory(&self, newval: &BSTR) -> Result<()>
pub unsafe fn ChangePoint(&self) -> Result<i32>
pub unsafe fn StrictFileSystemCompliance(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetStrictFileSystemCompliance( &self, newval: VARIANT_BOOL, ) -> Result<()>
pub unsafe fn UseRestrictedCharacterSet(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetUseRestrictedCharacterSet( &self, newval: VARIANT_BOOL, ) -> Result<()>
pub unsafe fn FileSystemsToCreate(&self) -> Result<FsiFileSystems>
pub unsafe fn SetFileSystemsToCreate( &self, newval: FsiFileSystems, ) -> Result<()>
pub unsafe fn FileSystemsSupported(&self) -> Result<FsiFileSystems>
pub unsafe fn SetUDFRevision(&self, newval: i32) -> Result<()>
pub unsafe fn UDFRevision(&self) -> Result<i32>
pub unsafe fn UDFRevisionsSupported(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn ChooseImageDefaults<P0>(&self, discrecorder: P0) -> Result<()>where
P0: Param<IDiscRecorder2>,
pub unsafe fn ChooseImageDefaultsForMediaType( &self, value: IMAPI_MEDIA_PHYSICAL_TYPE, ) -> Result<()>
pub unsafe fn SetISO9660InterchangeLevel(&self, newval: i32) -> Result<()>
pub unsafe fn ISO9660InterchangeLevel(&self) -> Result<i32>
pub unsafe fn ISO9660InterchangeLevelsSupported(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn CreateResultImage(&self) -> Result<IFileSystemImageResult>
pub unsafe fn Exists(&self, fullpath: &BSTR) -> Result<FsiItemType>
pub unsafe fn CalculateDiscIdentifier(&self) -> Result<BSTR>
pub unsafe fn IdentifyFileSystemsOnDisc<P0>(
&self,
discrecorder: P0,
) -> Result<FsiFileSystems>where
P0: Param<IDiscRecorder2>,
pub unsafe fn GetDefaultFileSystemForImport( &self, filesystems: FsiFileSystems, ) -> Result<FsiFileSystems>
pub unsafe fn ImportFileSystem(&self) -> Result<FsiFileSystems>
pub unsafe fn ImportSpecificFileSystem( &self, filesystemtouse: FsiFileSystems, ) -> Result<()>
pub unsafe fn RollbackToChangePoint(&self, changepoint: i32) -> Result<()>
pub unsafe fn LockInChangePoint(&self) -> Result<()>
pub unsafe fn CreateDirectoryItem( &self, name: &BSTR, ) -> Result<IFsiDirectoryItem>
pub unsafe fn CreateFileItem(&self, name: &BSTR) -> Result<IFsiFileItem>
pub unsafe fn VolumeNameUDF(&self) -> Result<BSTR>
pub unsafe fn VolumeNameJoliet(&self) -> Result<BSTR>
pub unsafe fn VolumeNameISO9660(&self) -> Result<BSTR>
pub unsafe fn StageFiles(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetStageFiles(&self, newval: VARIANT_BOOL) -> Result<()>
pub unsafe fn MultisessionInterfaces(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn SetMultisessionInterfaces( &self, newval: *const SAFEARRAY, ) -> Result<()>
Methods from Deref<Target = IDispatch>§
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const GUID, rgsznames: *const PCWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const GUID, lcid: u32, wflags: DISPATCH_FLAGS, pdispparams: *const DISPPARAMS, pvarresult: Option<*mut VARIANT>, pexcepinfo: Option<*mut EXCEPINFO>, puargerr: Option<*mut u32>, ) -> Result<()>
Trait Implementations§
§impl CanInto<IFileSystemImage> for IFileSystemImage2
impl CanInto<IFileSystemImage> for IFileSystemImage2
§impl CanInto<IFileSystemImage> for IFileSystemImage3
impl CanInto<IFileSystemImage> for IFileSystemImage3
§impl CanInto<IUnknown> for IFileSystemImage
impl CanInto<IUnknown> for IFileSystemImage
§impl Clone for IFileSystemImage
impl Clone for IFileSystemImage
§fn clone(&self) -> IFileSystemImage
fn clone(&self) -> IFileSystemImage
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 IFileSystemImage
impl Debug for IFileSystemImage
§impl Deref for IFileSystemImage
impl Deref for IFileSystemImage
§impl From<&IFileSystemImage> for &IDispatch
impl From<&IFileSystemImage> for &IDispatch
§fn from(value: &IFileSystemImage) -> Self
fn from(value: &IFileSystemImage) -> Self
Converts to this type from the input type.
§impl From<&IFileSystemImage> for &IUnknown
impl From<&IFileSystemImage> for &IUnknown
§fn from(value: &IFileSystemImage) -> Self
fn from(value: &IFileSystemImage) -> Self
Converts to this type from the input type.
§impl From<&IFileSystemImage2> for &IFileSystemImage
impl From<&IFileSystemImage2> for &IFileSystemImage
§fn from(value: &IFileSystemImage2) -> Self
fn from(value: &IFileSystemImage2) -> Self
Converts to this type from the input type.
§impl From<&IFileSystemImage3> for &IFileSystemImage
impl From<&IFileSystemImage3> for &IFileSystemImage
§fn from(value: &IFileSystemImage3) -> Self
fn from(value: &IFileSystemImage3) -> Self
Converts to this type from the input type.
§impl From<IFileSystemImage> for IDispatch
impl From<IFileSystemImage> for IDispatch
§fn from(value: IFileSystemImage) -> Self
fn from(value: IFileSystemImage) -> Self
Converts to this type from the input type.
§impl From<IFileSystemImage> for IUnknown
impl From<IFileSystemImage> for IUnknown
§fn from(value: IFileSystemImage) -> Self
fn from(value: IFileSystemImage) -> Self
Converts to this type from the input type.
§impl From<IFileSystemImage2> for IFileSystemImage
impl From<IFileSystemImage2> for IFileSystemImage
§fn from(value: IFileSystemImage2) -> Self
fn from(value: IFileSystemImage2) -> Self
Converts to this type from the input type.
§impl From<IFileSystemImage3> for IFileSystemImage
impl From<IFileSystemImage3> for IFileSystemImage
§fn from(value: IFileSystemImage3) -> Self
fn from(value: IFileSystemImage3) -> Self
Converts to this type from the input type.
§impl Interface for IFileSystemImage
impl Interface for IFileSystemImage
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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 IFileSystemImage
impl PartialEq for IFileSystemImage
impl Eq for IFileSystemImage
impl StructuralPartialEq for IFileSystemImage
Auto Trait Implementations§
impl Freeze for IFileSystemImage
impl RefUnwindSafe for IFileSystemImage
impl !Send for IFileSystemImage
impl !Sync for IFileSystemImage
impl Unpin for IFileSystemImage
impl UnwindSafe for IFileSystemImage
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