summaryrefslogtreecommitdiffstats
path: root/src/windows/wintel/telnet.def
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 LINKEXE
NAME TELNET
DESCRIPTION 'Sample Microsoft Windows Application'
EXETYPE WINDOWS
STUB 'WINSTUBEXE'
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 
        WINSOCKWSAStartup
        WINSOCKWSACleanup
        WINSOCKWSAAsyncSelect
        WINSOCKWSAGetLastError
        WINSOCKWSAAsyncGetHostByName
        WINSOCKlisten
        WINSOCKaccept
        WINSOCK__wsafdisset
        WINSOCKsocket
        WINSOCKbind
        WINSOCKgethostbyname
        WINSOCKgetsockname
        WINSOCKhtons
        WINSOCKconnect
        WINSOCKrecv
        WINSOCKsend
        WINSOCKhtonl
        WINSOCKclosesocket
        WINSOCKselect
        WINSOCKioctlsocket
        WINSOCKgetpeername