macro_rules! call { ($obj:expr, $name:ident($($arg:expr),*)) => { ... }; }
Call a method on the COM object
use variant_rs::call; let x = call!(com_object, SomeMethod(10, "hello"))?;