Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nefarius committed Aug 7, 2024
1 parent e496abe commit 99e7ef2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions NefConUtil.sln.DotSettings
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=Hoeglinger/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=hwid/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=luid/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=matchstring/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=nefarius/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=nefcon/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Newdev/@EntryIndexedValue">True</s:Boolean>
Expand Down
9 changes: 6 additions & 3 deletions src/Devcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,20 @@ namespace devcon

std::expected<void, nefarius::util::Win32Error> enable_disable_bth_usb_device(bool state, int instance = 0);

std::expected<void, nefarius::util::Win32Error> install_driver(const std::wstring& fullInfPath, bool* rebootRequired);
std::expected<void, nefarius::util::Win32Error> install_driver(const std::wstring& fullInfPath,
bool* rebootRequired);

std::expected<void, nefarius::util::Win32Error> uninstall_driver(const std::wstring& fullInfPath, bool* rebootRequired);
std::expected<void, nefarius::util::Win32Error> uninstall_driver(const std::wstring& fullInfPath,
bool* rebootRequired);

bool add_device_class_filter(const GUID* classGuid, const std::wstring& filterName,
DeviceClassFilterPosition position);

bool remove_device_class_filter(const GUID* classGuid, const std::wstring& filterName,
DeviceClassFilterPosition position);

std::vector<std::expected<void, nefarius::util::Win32Error>> uninstall_device_and_driver(const GUID* classGuid, const std::wstring& hardwareId, bool* rebootRequired);
std::vector<std::expected<void, nefarius::util::Win32Error>> uninstall_device_and_driver(
const GUID* classGuid, const std::wstring& hardwareId, bool* rebootRequired);

bool inf_default_install(const std::wstring& fullInfPath, bool* rebootRequired);

Expand Down

0 comments on commit 99e7ef2

Please sign in to comment.