PowerToys/tools/HandlesExperiment/ContextMenuEntry/dllmain.cpp

28 lines
739 B
C++
Raw Normal View History

2022-09-09 17:23:38 +08:00
// dllmain.cpp : Defines the entry point for the DLL application.
#include "pch.h"
// Additional libraries to link
#pragma comment(lib, "shlwapi")
2022-09-09 17:23:38 +08:00
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
// Things to implement:
2022-09-09 20:44:40 +08:00
// 1. (DONE) A class which implements IExplorerCommand
// 2. (DONE) A class which implements IClassFactory
2022-09-09 17:23:38 +08:00
// 3. DLL register/unregister functions which will create registry entries
// 4. Other DLL exported functions