Struct winsafe::HGLOBAL [−][src]
#[repr(C)]pub struct HGLOBAL { /* fields omitted */ }
Expand description
Handle to a
global memory block.
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.
GlobalAlloc
static method.
Note: Must be paired with an
HGLOBAL::GlobalFree
call.
GlobalFlags
method.
GlobalFree
method.
GlobalLock
method.
Calls GlobalSize
to retrieve the size of
the memory block.
Note: Must be paired with an
HGLOBAL::GlobalUnlock
call.
GlobalReAlloc
method.
Note: Must be paired with an
HGLOBAL::GlobalFree
call.
GlobalSize
method.
GlobalUnlock
method.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more