Struct winrt::RuntimeContext [] [src]

pub struct RuntimeContext { /* fields omitted */ }

Manages initialization and uninitialization of the Windows Runtime.

Methods

impl RuntimeContext
[src]

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.

Unitializes the Windows Runtime. This must not be called as long as any Windows Runtime object is still alive.

Trait Implementations

impl Drop for RuntimeContext
[src]

A method called when the value goes out of scope. Read more