mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 11:39:16 +08:00
25 lines
660 B
C++
25 lines
660 B
C++
|
// dllmain.cpp : Defines the entry point for the DLL application.
|
||
|
#include "pch.h"
|
||
|
|
||
|
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:
|
||
|
// 1. A class which implements IExplorerCommand
|
||
|
// 2. A class which implements IClassFactory
|
||
|
// 3. DLL register/unregister functions which will create registry entries
|
||
|
// 4. Other DLL exported functions
|