Format codes
This commit is contained in:
parent
f757c95e0d
commit
1299128bf1
@ -1,13 +1,9 @@
|
|||||||
// dllmain.cpp : 定义 DLL 应用程序的入口点。
|
// dllmain.cpp : 定义 DLL 应用程序的入口点。
|
||||||
#include "framework.h"
|
#include "framework.h"
|
||||||
|
|
||||||
BOOL APIENTRY DllMain( HMODULE hModule,
|
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
|
||||||
DWORD ul_reason_for_call,
|
|
||||||
LPVOID lpReserved
|
|
||||||
)
|
|
||||||
{
|
|
||||||
switch (ul_reason_for_call)
|
|
||||||
{
|
{
|
||||||
|
switch (ul_reason_for_call) {
|
||||||
case DLL_PROCESS_ATTACH:
|
case DLL_PROCESS_ATTACH:
|
||||||
case DLL_THREAD_ATTACH:
|
case DLL_THREAD_ATTACH:
|
||||||
case DLL_THREAD_DETACH:
|
case DLL_THREAD_DETACH:
|
||||||
@ -16,4 +12,3 @@ BOOL APIENTRY DllMain( HMODULE hModule,
|
|||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
#define LOGGER_MAX_SIZE 1024 * 1024 * 10 // 10M
|
#define LOGGER_MAX_SIZE 1024 * 1024 * 10 // 10M
|
||||||
#define LOGGER_MAX_FILES 10 // 10 files
|
#define LOGGER_MAX_FILES 10 // 10 files
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void InitLogger()
|
void InitLogger()
|
||||||
{
|
{
|
||||||
static std::shared_ptr<spdlog::logger> gLogger = nullptr;
|
static std::shared_ptr<spdlog::logger> gLogger = nullptr;
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "spy_types.h"
|
|
||||||
#include "send_msg.h"
|
#include "send_msg.h"
|
||||||
|
#include "spy_types.h"
|
||||||
|
|
||||||
extern HANDLE g_hEvent;
|
extern HANDLE g_hEvent;
|
||||||
extern WxCalls_t g_WxCalls;
|
extern WxCalls_t g_WxCalls;
|
||||||
|
Loading…
Reference in New Issue
Block a user