Struct winsafe::HFILEMAP [−][src]
#[repr(C)]pub struct HFILEMAP { /* fields omitted */ }
Expand description
Handle to a
file mapping.
Originally just a HANDLE
.
Implementations
Creates a new handle instance by wrapping a pointer.
This method is common to all handle types.
Consumes the handle returning the underlying raw pointer.
This method is common to all handle types.
Tells if the handle is invalid (null).
This method is common to all handle types.
CloseHandle
method.
pub fn MapViewOfFile(
self,
desired_access: FILE_MAP,
offset: u64,
number_of_bytes_to_map: Option<i64>
) -> WinResult<HFILEMAPVIEW>
pub fn MapViewOfFile(
self,
desired_access: FILE_MAP,
offset: u64,
number_of_bytes_to_map: Option<i64>
) -> WinResult<HFILEMAPVIEW>
MapViewOfFile
method.
Note: Must be paired with an
HFILEMAPVIEW::UnmapViewOfFile
call.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more