Struct winrt::RuntimeContext
[−]
[src]
pub struct RuntimeContext { /* fields omitted */ }
Manages initialization and uninitialization of the Windows Runtime.
Methods
impl RuntimeContext
[src]
fn init() -> RuntimeContext
Initializes the Windows Runtime. This must be called before any other operations can use
the Windows Runtime. The Windows Runtime will be unitilized when the returned RuntimeContext
is dropped or uninit
is called explicitly. You have to make sure that this does not happen
as long as any Windows Runtime object is still alive.
fn uninit(self)
Unitializes the Windows Runtime. This must not be called as long as any Windows Runtime object is still alive.