//! Handles COM initialization and cleanup.
use ptr;
use winapi;
use ole32;
use check_result;
thread_local!;
/// RAII object that guards the fact that COM is initialized.
///
// We store a raw pointer because it's the only way at the moment to remove `Send`/`Sync` from the
// object.
);
/// Ensures that COM is initialized in this thread.