[saco] Implement UninstallFileSystemHooks()

* Updates `DllMain(...)`
This commit is contained in:
RD42
2024-02-16 22:20:59 +08:00
parent 29c3a8b351
commit 58263d0e96
3 changed files with 18 additions and 2 deletions

View File

@ -62,7 +62,6 @@ void LaunchMonitor(PVOID v)
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
// TODO: DllMain
if(DLL_PROCESS_ATTACH==fdwReason)
{
hInstance = hinstDLL;
@ -97,7 +96,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
else if(DLL_PROCESS_DETACH==fdwReason)
{
if(tSettings.bDebug || tSettings.bPlayOnline) {
//sub_10062D90
UninstallFileSystemHooks();
}
}