Skip to main content

initialize

Function initialize 

Source
pub fn initialize() -> bool
Expand description

Join the multi-threaded apartment for this thread.

Every thread that touches WinRT must, and it is refcounted, so calling twice is fine as long as each is balanced.