blob: e2d2ab93ff269b2e9682fda75266338328bcdc11 (
plain)
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
|
; module-definition file for testdll -- used by LINK.EXE
NAME TELNET
DESCRIPTION 'Sample Microsoft Windows Application'
EXETYPE WINDOWS
STUB 'WINSTUB.EXE'
SEGMENTS _TEXT CLASS 'CODE' PRELOAD
CODE DISCARDABLE
DATA PRELOAD MOVEABLE MULTIPLE
HEAPSIZE 10240
; All functions that will be called by any Windows routine
; MUST be exported.
EXPORTS
MainWndProc @1 ; name of window processing function
OpenTelnetDlg @3 ; name of "Open New Telnet Connection" Dialog Function
IMPORTS
WINSOCK.WSAStartup
WINSOCK.WSACleanup
WINSOCK.WSAAsyncSelect
WINSOCK.WSAGetLastError
WINSOCK.WSAAsyncGetHostByName
WINSOCK.listen
WINSOCK.accept
WINSOCK.__wsafdisset
WINSOCK.socket
WINSOCK.bind
WINSOCK.gethostbyname
WINSOCK.getsockname
WINSOCK.htons
WINSOCK.connect
WINSOCK.recv
WINSOCK.send
WINSOCK.htonl
WINSOCK.closesocket
WINSOCK.select
WINSOCK.ioctlsocket
WINSOCK.getpeername
|