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]

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]

Executes the destructor for this type. Read more

Auto Trait Implementations