Struct oaidl::DroppableBString [−][src]
pub struct DroppableBString { /* fields omitted */ }
Struct that holds pointer to Sys* allocated memory. It will automatically free the memory via the Sys* functions unless it has been consumed.
Methods
impl DroppableBString
[src]
impl DroppableBString
pub fn consume(&mut self) -> *mut u16
[src]
pub fn consume(&mut self) -> *mut u16
consume()
-> *mut u16
returns the contained data
while also setting a flag that the data has been
consumed. It is your responsibility to manage the
memory yourself. Most uses of BSTR in FFI will
free the memory for you.
Trait Implementations
impl Drop for DroppableBString
[src]
impl Drop for DroppableBString
Auto Trait Implementations
impl !Send for DroppableBString
impl !Send for DroppableBString
impl !Sync for DroppableBString
impl !Sync for DroppableBString