(&mut self)
| 32 | |
| 33 | impl Drop for SafeVariant { |
| 34 | fn drop(&mut self) { |
| 35 | if let Err(e) = unsafe { VariantClear(&mut self.0) } { |
| 36 | crate::write_error(&format!("Warning: VariantClear failed with HRESULT: {:#010x}", e.code().0 as u32)); |
| 37 | } |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | struct ComGuard; |
nothing calls this directly
no test coverage detected