pub struct HFILEMAP(/* private fields */);
Available on crate feature
kernel
only.Expand description
Handle to a
file mapping.
Originally just a HANDLE
.
Unless you need something specific, consider using the
FileMapped
high-level abstraction.
Trait Implementations§
source§impl Handle for HFILEMAP
impl Handle for HFILEMAP
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Creates a new handle object by wrapping a pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Returns a mutable reference to the underlying raw pointer. Read more
source§impl PartialEq for HFILEMAP
impl PartialEq for HFILEMAP
source§impl kernel_Hfilemap for HFILEMAP
impl kernel_Hfilemap for HFILEMAP
source§fn MapViewOfFile(
&self,
desired_access: FILE_MAP,
offset: u64,
number_of_bytes_to_map: Option<usize>
) -> SysResult<UnmapViewOfFileGuard>
fn MapViewOfFile( &self, desired_access: FILE_MAP, offset: u64, number_of_bytes_to_map: Option<usize> ) -> SysResult<UnmapViewOfFileGuard>
MapViewOfFile
function.impl Eq for HFILEMAP
impl Send for HFILEMAP
impl StructuralPartialEq for HFILEMAP
Auto Trait Implementations§
impl Freeze for HFILEMAP
impl RefUnwindSafe for HFILEMAP
impl !Sync for HFILEMAP
impl Unpin for HFILEMAP
impl UnwindSafe for HFILEMAP
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