-
Notifications
You must be signed in to change notification settings - Fork 0
/
FkDrcom.h
48 lines (39 loc) · 1019 Bytes
/
FkDrcom.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#include "stdafx.h"
extern "C" __declspec(dllexport) int FuckDrcom(void);
static int (WSAAPI * TrueWSAStartup)(
_In_ WORD wVersionRequested,
_Out_ LPWSADATA lpWSAData
) = WSAStartup;
extern int WSAAPI RevisedWSAStartup(
_In_ WORD wVersionRequested,
_Out_ LPWSADATA lpWSAData
);
static BOOL(WINAPI * TrueShellExecuteExW)(
__inout SHELLEXECUTEINFOW *pExecInfo
)
= ShellExecuteExW;
extern BOOL WINAPI RevisedShellExecuteExW(
__inout SHELLEXECUTEINFOW *pExecInfo
);
static LSTATUS(APIENTRY * TrueRegOpenKeyExA)(
__in HKEY hKey,
__in_opt LPCSTR lpSubKey,
__in_opt DWORD ulOptions,
__in REGSAM samDesired,
__out PHKEY phkResult
) = RegOpenKeyExA;
extern LSTATUS APIENTRY RevisedRegOpenKeyExA(
__in HKEY hKey,
__in_opt LPCSTR lpSubKey,
__in_opt DWORD ulOptions,
__in REGSAM samDesired,
__out PHKEY phkResult
);
static BOOL(WINAPI * TrueProcess32Next)(
HANDLE hSnapshot,
LPPROCESSENTRY32 lppe
) = Process32Next;
extern BOOL WINAPI RevisedProcess32Next(
HANDLE hSnapshot,
LPPROCESSENTRY32 lppe
);