Struct windows_sys::Wdk::System::SystemServices::DMA_OPERATIONS

#[repr(C)]
pub struct DMA_OPERATIONS {
Show 40 fields pub Size: u32, pub PutDmaAdapter: PPUT_DMA_ADAPTER, pub AllocateCommonBuffer: PALLOCATE_COMMON_BUFFER, pub FreeCommonBuffer: PFREE_COMMON_BUFFER, pub AllocateAdapterChannel: PALLOCATE_ADAPTER_CHANNEL, pub FlushAdapterBuffers: PFLUSH_ADAPTER_BUFFERS, pub FreeAdapterChannel: PFREE_ADAPTER_CHANNEL, pub FreeMapRegisters: PFREE_MAP_REGISTERS, pub MapTransfer: PMAP_TRANSFER, pub GetDmaAlignment: PGET_DMA_ALIGNMENT, pub ReadDmaCounter: PREAD_DMA_COUNTER, pub GetScatterGatherList: PGET_SCATTER_GATHER_LIST, pub PutScatterGatherList: PPUT_SCATTER_GATHER_LIST, pub CalculateScatterGatherList: PCALCULATE_SCATTER_GATHER_LIST_SIZE, pub BuildScatterGatherList: PBUILD_SCATTER_GATHER_LIST, pub BuildMdlFromScatterGatherList: PBUILD_MDL_FROM_SCATTER_GATHER_LIST, pub GetDmaAdapterInfo: PGET_DMA_ADAPTER_INFO, pub GetDmaTransferInfo: PGET_DMA_TRANSFER_INFO, pub InitializeDmaTransferContext: PINITIALIZE_DMA_TRANSFER_CONTEXT, pub AllocateCommonBufferEx: PALLOCATE_COMMON_BUFFER_EX, pub AllocateAdapterChannelEx: PALLOCATE_ADAPTER_CHANNEL_EX, pub ConfigureAdapterChannel: PCONFIGURE_ADAPTER_CHANNEL, pub CancelAdapterChannel: PCANCEL_ADAPTER_CHANNEL, pub MapTransferEx: PMAP_TRANSFER_EX, pub GetScatterGatherListEx: PGET_SCATTER_GATHER_LIST_EX, pub BuildScatterGatherListEx: PBUILD_SCATTER_GATHER_LIST_EX, pub FlushAdapterBuffersEx: PFLUSH_ADAPTER_BUFFERS_EX, pub FreeAdapterObject: PFREE_ADAPTER_OBJECT, pub CancelMappedTransfer: PCANCEL_MAPPED_TRANSFER, pub AllocateDomainCommonBuffer: PALLOCATE_DOMAIN_COMMON_BUFFER, pub FlushDmaBuffer: PFLUSH_DMA_BUFFER, pub JoinDmaDomain: PJOIN_DMA_DOMAIN, pub LeaveDmaDomain: PLEAVE_DMA_DOMAIN, pub GetDmaDomain: PGET_DMA_DOMAIN, pub AllocateCommonBufferWithBounds: PALLOCATE_COMMON_BUFFER_WITH_BOUNDS, pub AllocateCommonBufferVector: PALLOCATE_COMMON_BUFFER_VECTOR, pub GetCommonBufferFromVectorByIndex: PGET_COMMON_BUFFER_FROM_VECTOR_BY_INDEX, pub FreeCommonBufferFromVector: PFREE_COMMON_BUFFER_FROM_VECTOR, pub FreeCommonBufferVector: PFREE_COMMON_BUFFER_VECTOR, pub CreateCommonBufferFromMdl: PCREATE_COMMON_BUFFER_FROM_MDL,
}

Fields§

§Size: u32§PutDmaAdapter: PPUT_DMA_ADAPTER§AllocateCommonBuffer: PALLOCATE_COMMON_BUFFER§FreeCommonBuffer: PFREE_COMMON_BUFFER§AllocateAdapterChannel: PALLOCATE_ADAPTER_CHANNEL§FlushAdapterBuffers: PFLUSH_ADAPTER_BUFFERS§FreeAdapterChannel: PFREE_ADAPTER_CHANNEL§FreeMapRegisters: PFREE_MAP_REGISTERS§MapTransfer: PMAP_TRANSFER§GetDmaAlignment: PGET_DMA_ALIGNMENT§ReadDmaCounter: PREAD_DMA_COUNTER§GetScatterGatherList: PGET_SCATTER_GATHER_LIST§PutScatterGatherList: PPUT_SCATTER_GATHER_LIST§CalculateScatterGatherList: PCALCULATE_SCATTER_GATHER_LIST_SIZE§BuildScatterGatherList: PBUILD_SCATTER_GATHER_LIST§BuildMdlFromScatterGatherList: PBUILD_MDL_FROM_SCATTER_GATHER_LIST§GetDmaAdapterInfo: PGET_DMA_ADAPTER_INFO§GetDmaTransferInfo: PGET_DMA_TRANSFER_INFO§InitializeDmaTransferContext: PINITIALIZE_DMA_TRANSFER_CONTEXT§AllocateCommonBufferEx: PALLOCATE_COMMON_BUFFER_EX§AllocateAdapterChannelEx: PALLOCATE_ADAPTER_CHANNEL_EX§ConfigureAdapterChannel: PCONFIGURE_ADAPTER_CHANNEL§CancelAdapterChannel: PCANCEL_ADAPTER_CHANNEL§MapTransferEx: PMAP_TRANSFER_EX§GetScatterGatherListEx: PGET_SCATTER_GATHER_LIST_EX§BuildScatterGatherListEx: PBUILD_SCATTER_GATHER_LIST_EX§FlushAdapterBuffersEx: PFLUSH_ADAPTER_BUFFERS_EX§FreeAdapterObject: PFREE_ADAPTER_OBJECT§CancelMappedTransfer: PCANCEL_MAPPED_TRANSFER§AllocateDomainCommonBuffer: PALLOCATE_DOMAIN_COMMON_BUFFER§FlushDmaBuffer: PFLUSH_DMA_BUFFER§JoinDmaDomain: PJOIN_DMA_DOMAIN§LeaveDmaDomain: PLEAVE_DMA_DOMAIN§GetDmaDomain: PGET_DMA_DOMAIN§AllocateCommonBufferWithBounds: PALLOCATE_COMMON_BUFFER_WITH_BOUNDS§AllocateCommonBufferVector: PALLOCATE_COMMON_BUFFER_VECTOR§GetCommonBufferFromVectorByIndex: PGET_COMMON_BUFFER_FROM_VECTOR_BY_INDEX§FreeCommonBufferFromVector: PFREE_COMMON_BUFFER_FROM_VECTOR§FreeCommonBufferVector: PFREE_COMMON_BUFFER_VECTOR§CreateCommonBufferFromMdl: PCREATE_COMMON_BUFFER_FROM_MDL

Trait Implementations§

§

impl Clone for DMA_OPERATIONS

§

fn clone(&self) -> DMA_OPERATIONS

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for DMA_OPERATIONS

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.