Skip to main content

wcm_com_init

Function wcm_com_init 

Source
#[unsafe(no_mangle)]
pub extern "C" fn wcm_com_init() -> *mut FfiComGuard
Expand description

Initialize COM in STA mode.

Must be called once per thread before any other wcm_* function. Returns an opaque handle that must be freed with wcm_com_uninit. Returns null on failure (call wcm_last_error for details).