Struct direct_storage::IDStorageFactory
source · #[repr(transparent)]pub struct IDStorageFactory(_);Implementations§
source§impl IDStorageFactory
impl IDStorageFactory
pub unsafe fn CreateQueue<T>(
&self,
desc: *const DSTORAGE_QUEUE_DESC
) -> Result<T>where
T: Interface,
pub unsafe fn OpenFile<T>(&self, path: PCWSTR) -> Result<T>where
T: Interface,
pub unsafe fn CreateStatusArray<T>(&self, capacity: u32, name: PCSTR) -> Result<T>where
T: Interface,
pub unsafe fn SetDebugFlags(&self, flags: DSTORAGE_DEBUG)
pub unsafe fn SetStagingBufferSize(&self, size: u32) -> Result<()>
Trait Implementations§
source§impl Clone for IDStorageFactory
impl Clone for IDStorageFactory
source§impl Debug for IDStorageFactory
impl Debug for IDStorageFactory
source§impl From<&IDStorageFactory> for IUnknown
impl From<&IDStorageFactory> for IUnknown
source§fn from(value: &IDStorageFactory) -> Self
fn from(value: &IDStorageFactory) -> Self
Converts to this type from the input type.
source§impl From<IDStorageFactory> for IUnknown
impl From<IDStorageFactory> for IUnknown
source§fn from(value: IDStorageFactory) -> Self
fn from(value: IDStorageFactory) -> Self
Converts to this type from the input type.
source§impl Interface for IDStorageFactory
impl Interface for IDStorageFactory
source§impl PartialEq<IDStorageFactory> for IDStorageFactory
impl PartialEq<IDStorageFactory> for IDStorageFactory
source§impl RuntimeName for IDStorageFactory
impl RuntimeName for IDStorageFactory
source§impl Vtable for IDStorageFactory
impl Vtable for IDStorageFactory
type Vtable = IDStorageFactory_Vtbl
source§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.source§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.