You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unsafe{ <InterfaceasRtType>::wrap_nonnull(RoGetActivationFactory(class_id.get(), <InterfaceasComIid>::iid().as_ref(),&mut res as*mut*mut_as*mut*mutVOID))};
171
+
}
172
+
RegistrationStatus::NotRegistered => {
173
+
let name = Self::name();
174
+
panic!("WinRT class \"{}\" not registered",String::from_utf16_lossy(&name[0..name.len()-1]))
175
+
}
176
+
RegistrationStatus::Error(hr) => {
177
+
panic!("RoGetActivationFactory failed with error code 0x{:X}", hr)
0 commit comments