summaryrefslogtreecommitdiffstats
path: root/private/inc/tcpsvcs.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/inc/tcpsvcs.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/inc/tcpsvcs.h')
-rw-r--r--private/inc/tcpsvcs.h87
1 files changed, 87 insertions, 0 deletions
diff --git a/private/inc/tcpsvcs.h b/private/inc/tcpsvcs.h
new file mode 100644
index 000000000..625ec10a5
--- /dev/null
+++ b/private/inc/tcpsvcs.h
@@ -0,0 +1,87 @@
+/*++
+
+Copyright (c) 1993 Microsoft Corporation
+
+Module Name:
+
+ Tcpsvcs.h
+
+Abstract:
+
+ Header file fr TCP/IP services.
+
+Author:
+
+ David Treadwell (davidtr) 7-27-93
+
+Revision History:
+
+--*/
+
+#ifndef _TCPSVCS_
+#define _TCPSVCS_
+
+//
+// Service DLLs loaded into tcpsvcs.exe all export the same main
+// entry point. TCPSVCS_ENTRY_POINT defines that name.
+//
+// Note that TCPSVCS_ENTRY_POINT_STRING is always ANSI, because that's
+// what GetProcAddress takes.
+//
+
+#define TCPSVCS_ENTRY_POINT ServiceEntry
+#define TCPSVCS_ENTRY_POINT_STRING "ServiceEntry"
+
+//
+// Name for the common RPC pipe shared by all the RPC servers in tcpsvcs.exe.
+// Note: Because version 1.0 of WinNt had seperate names for each server's
+// pipe, the client side names have remained the same. Mapping to the new
+// name is handled by the named pipe file system.
+//
+
+#define TCPSVCS_RPC_PIPE L"nttcpsvcs"
+
+//
+// Start and stop RPC server entry point prototype.
+//
+
+typedef
+DWORD
+(*PTCPSVCS_START_RPC_SERVER_LISTEN) (
+ VOID
+ );
+
+typedef
+DWORD
+(*PTCPSVCS_STOP_RPC_SERVER_LISTEN) (
+ VOID
+ );
+
+//
+// Structure containing "global" data for the various DLLs.
+//
+
+typedef struct _TCPSVCS_GLOBAL_DATA {
+
+ //
+ // Entry points provided by TCPSVCS.EXE.
+ //
+
+ PTCPSVCS_START_RPC_SERVER_LISTEN StartRpcServerListen;
+ PTCPSVCS_STOP_RPC_SERVER_LISTEN StopRpcServerListen;
+
+} TCPSVCS_GLOBAL_DATA, *PTCPSVCS_GLOBAL_DATA;
+
+//
+// Service DLL entry point prototype.
+//
+
+typedef
+VOID
+(*PTCPSVCS_SERVICE_DLL_ENTRY) (
+ IN DWORD argc,
+ IN LPTSTR argv[],
+ IN PTCPSVCS_GLOBAL_DATA pGlobalData
+ );
+
+#endif // ndef _TCPSVCS_