#[repr(C)]pub struct STGMEDIUM {
pub tymed: TYMED,
pub ptr: usize,
pub pUnkForRelease: *mut c_void,
}
Available on crate feature
ole
only.Expand description
STGMEDIUM
struct.
Fields§
§tymed: TYMED
§ptr: usize
§pUnkForRelease: *mut c_void
Implementations§
Source§impl STGMEDIUM
impl STGMEDIUM
Sourcepub unsafe fn ptr_hglobal(&self) -> Option<HGLOBAL>
pub unsafe fn ptr_hglobal(&self) -> Option<HGLOBAL>
Returns ptr
as HGLOBAL
if tymed
is
TYMED::GDI
.
§Safety
Make sure the struct has been properly initialized.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for STGMEDIUM
impl RefUnwindSafe for STGMEDIUM
impl !Send for STGMEDIUM
impl !Sync for STGMEDIUM
impl Unpin for STGMEDIUM
impl UnwindSafe for STGMEDIUM
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