Skip to content

Commit ef1321e

Browse files
init fork
0 parents  commit ef1321e

File tree

196 files changed

+42445
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+42445
-0
lines changed

BIN/DEF/MFC42.DEF

+6,699
Large diffs are not rendered by default.

BIN/DEF/WSOCK32.def

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
LIBRARY WSOCK32.DLL
2+
3+
EXPORTS
4+
accept @1 ; accept
5+
bind @2 ; bind
6+
closesocket @3 ; closesocket
7+
connect @4 ; connect
8+
getpeername @5 ; getpeername
9+
getsockname @6 ; getsockname
10+
getsockopt @7 ; getsockopt
11+
htonl @8 ; htonl
12+
htons @9 ; htons
13+
inet_addr @10 ; inet_addr
14+
inet_ntoa @11 ; inet_ntoa
15+
ioctlsocket @12 ; ioctlsocket
16+
listen @13 ; listen
17+
ntohl @14 ; ntohl
18+
ntohs @15 ; ntohs
19+
recv @16 ; recv
20+
recvfrom @17 ; recvfrom
21+
select @18 ; select
22+
send @19 ; send
23+
sendto @20 ; sendto
24+
setsockopt @21 ; setsockopt
25+
shutdown @22 ; shutdown
26+
socket @23 ; socket
27+
MigrateWinsockConfiguration @24 ; MigrateWinsockConfiguration
28+
gethostbyaddr @51 ; gethostbyaddr
29+
gethostbyname @52 ; gethostbyname
30+
getprotobyname @53 ; getprotobyname
31+
getprotobynumber @54 ; getprotobynumber
32+
getservbyname @55 ; getservbyname
33+
getservbyport @56 ; getservbyport
34+
gethostname @57 ; gethostname
35+
WSAAsyncSelect @101 ; WSAAsyncSelect
36+
WSAAsyncGetHostByAddr @102 ; WSAAsyncGetHostByAddr
37+
WSAAsyncGetHostByName @103 ; WSAAsyncGetHostByName
38+
WSAAsyncGetProtoByNumber @104 ; WSAAsyncGetProtoByNumber
39+
WSAAsyncGetProtoByName @105 ; WSAAsyncGetProtoByName
40+
WSAAsyncGetServByPort @106 ; WSAAsyncGetServByPort
41+
WSAAsyncGetServByName @107 ; WSAAsyncGetServByName
42+
WSACancelAsyncRequest @108 ; WSACancelAsyncRequest
43+
WSASetBlockingHook @109 ; WSASetBlockingHook
44+
WSAUnhookBlockingHook @110 ; WSAUnhookBlockingHook
45+
WSAGetLastError @111 ; WSAGetLastError
46+
WSASetLastError @112 ; WSASetLastError
47+
WSACancelBlockingCall @113 ; WSACancelBlockingCall
48+
WSAIsBlocking @114 ; WSAIsBlocking
49+
WSAStartup @115 ; WSAStartup
50+
WSACleanup @116 ; WSACleanup
51+
__WSAFDIsSet @151 ; __WSAFDIsSet
52+
WEP @500 ; WEP
53+
WSApSetPostRoutine @1000; WSApSetPostRoutine
54+
inet_network @1100; inet_network
55+
getnetbyname @1101; getnetbyname
56+
rcmd @1102; rcmd
57+
rexec @1103; rexec
58+
rresvport @1104; rresvport
59+
sethostname @1105; sethostname
60+
dn_expand @1106; dn_expand
61+
WSARecvEx @1107; WSARecvEx
62+
s_perror @1108; s_perror
63+
GetAddressByNameA @1109; GetAddressByNameA
64+
GetAddressByNameW @1110; GetAddressByNameW
65+
EnumProtocolsA @1111; EnumProtocolsA
66+
EnumProtocolsW @1112; EnumProtocolsW
67+
GetTypeByNameA @1113; GetTypeByNameA
68+
GetTypeByNameW @1114; GetTypeByNameW
69+
GetNameByTypeA @1115; GetNameByTypeA
70+
GetNameByTypeW @1116; GetNameByTypeW
71+
SetServiceA @1117; SetServiceA
72+
SetServiceW @1118; SetServiceW
73+
GetServiceA @1119; GetServiceA
74+
GetServiceW @1120; GetServiceW
75+
NPLoadNameSpaces @1130; NPLoadNameSpaces
76+
TransmitFile @1140; TransmitFile
77+
AcceptEx @1141; AcceptEx
78+
GetAcceptExSockaddrs @1142; GetAcceptExSockaddrs

BIN/INC/MFC42.h

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// -----------------------------------------------------------------
2+
// Exe2C LiuTaoTao @ coder.com.cn
3+
//
4+
// mfc42.h
5+
// -----------------------------------------------------------------
6+
int __stdcall AfxWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow);
7+

BIN/INC/NTDDK/my.h

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#define IN
2+
#define OUT
3+
4+
#include "ntddk.h"
5+
//#include "ntdef.h"
6+
//#include "wdm.h"
7+
8+
NTSTATUS
9+
__stdcall
10+
DriverEntry(
11+
IN PDRIVER_OBJECT DriverObject,
12+
IN PUNICODE_STRING RegistryPath
13+
);
14+
15+
int __cdecl sprintf(char *, const char *, ...);
16+
17+
void __stdcall KeAttachProcess(PEPROCESS pProcess);
18+
void __stdcall KeDetachProcess();
19+

BIN/INC/NTDDK/ntdef.h

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
typedef char CHAR;
2+
typedef short SHORT;
3+
typedef long LONG;
4+
5+
typedef CHAR *PCHAR;
6+
typedef CHAR *LPCH, *PCH;
7+
8+
typedef const CHAR *LPCCH, *PCCH;
9+
typedef CHAR *NPSTR;
10+
typedef CHAR *LPSTR, *PSTR;
11+
typedef const CHAR *LPCSTR, *PCSTR;
12+
13+
typedef char CCHAR; // winnt
14+
15+
16+
typedef long NTSTATUS;
17+
18+
typedef void *PVOID;
19+
typedef unsigned char UCHAR;
20+
typedef unsigned short USHORT;
21+
typedef unsigned long ULONG;
22+
typedef short CSHORT;
23+
24+
typedef UCHAR *PUCHAR;
25+
typedef USHORT *PUSHORT;
26+
typedef ULONG *PULONG;
27+
28+
typedef SHORT *PSHORT; // winnt
29+
typedef LONG *PLONG; // winnt
30+
31+
typedef PVOID HANDLE;
32+
typedef HANDLE *PHANDLE;
33+
34+
typedef UCHAR KIRQL;
35+
36+
typedef unsigned short wchar_t;
37+
typedef unsigned short WCHAR;
38+
39+
typedef WCHAR *LPWSTR, *PWSTR;
40+
typedef const WCHAR *LPCWSTR, *PCWSTR;
41+
42+
typedef struct _UNICODE_STRING {
43+
USHORT Length;
44+
USHORT MaximumLength;
45+
PWSTR Buffer;
46+
} UNICODE_STRING;
47+
typedef UNICODE_STRING *PUNICODE_STRING;
48+
49+
50+
//typedef __int64 LONGLONG;
51+
52+
typedef struct _LIST_ENTRY {
53+
struct _LIST_ENTRY *Flink;
54+
struct _LIST_ENTRY *Blink;
55+
} LIST_ENTRY, *PLIST_ENTRY, *PRLIST_ENTRY;
56+
57+

0 commit comments

Comments
 (0)