From c4cfd842916e09615dd63dbd68219ee5e1c5d6ca Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Sat, 7 Dec 2024 21:32:31 +0100 Subject: [PATCH] cargo fmt --- src/dll.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/dll.rs b/src/dll.rs index 218e42b..4e7562a 100644 --- a/src/dll.rs +++ b/src/dll.rs @@ -8,9 +8,11 @@ use crate::{ use windows as Windows; use windows::core::{implement, IUnknown, Interface, GUID, HRESULT}; use windows::Win32::{ - Foundation::*, System::Com::IClassFactory_Impl, System::LibraryLoader::GetModuleFileNameW, - UI::Shell::PropertiesSystem::{IInitializeWithStream, IPropertyStore}, + Foundation::*, + System::Com::IClassFactory_Impl, + System::LibraryLoader::GetModuleFileNameW, System::SystemServices::DLL_PROCESS_ATTACH, + UI::Shell::PropertiesSystem::{IInitializeWithStream, IPropertyStore}, }; static mut DLL_INSTANCE: HINSTANCE = HINSTANCE(std::ptr::null_mut());