refactor
This commit is contained in:
parent
4bc0c834d7
commit
c5d5976b47
@ -23,7 +23,7 @@ int currentHook = 0, userhookCount = 0;
|
|||||||
DWORD trigger = 0;
|
DWORD trigger = 0;
|
||||||
HANDLE hmMutex;
|
HANDLE hmMutex;
|
||||||
|
|
||||||
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD fdwReason, LPVOID unused)
|
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD fdwReason, LPVOID)
|
||||||
{
|
{
|
||||||
switch (fdwReason)
|
switch (fdwReason)
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,7 @@ DWORD DUMMY[100];
|
|||||||
|
|
||||||
void CreatePipe()
|
void CreatePipe()
|
||||||
{
|
{
|
||||||
CreateThread(nullptr, 0, [](LPVOID unused)
|
CreateThread(nullptr, 0, [](LPVOID)
|
||||||
{
|
{
|
||||||
enum { STANDARD_WAIT = 50 };
|
enum { STANDARD_WAIT = 50 };
|
||||||
while (::running)
|
while (::running)
|
||||||
|
Loading…
Reference in New Issue
Block a user