summaryrefslogtreecommitdiffstats
path: root/private/inc/nb30p.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/nb30p.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/nb30p.h')
-rw-r--r--private/inc/nb30p.h70
1 files changed, 70 insertions, 0 deletions
diff --git a/private/inc/nb30p.h b/private/inc/nb30p.h
new file mode 100644
index 000000000..5a47d4f1a
--- /dev/null
+++ b/private/inc/nb30p.h
@@ -0,0 +1,70 @@
+
+/*++
+
+Copyright (c) 1989 Microsoft Corporation
+
+Module Name:
+
+ nb30p.h
+
+Abstract:
+
+ Private include file for the NB (NetBIOS) component of the NTOS project.
+
+Author:
+
+ Colin Watson (ColinW) 09-Dec-1991
+
+Revision History:
+
+--*/
+
+
+#ifndef _NB30P_
+#define _NB30P_
+
+#define NB_DEVICE_NAME L"\\Device\\Netbios" // name of our driver.
+#define NB_REGISTRY_STRING L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\Netbios"
+//
+// private IOCTLs used by the Netbios routine in the dll to communicate with
+// \Device\Netbios
+//
+
+#define IOCTL_NB_BASE FILE_DEVICE_TRANSPORT
+
+#define _NB_CONTROL_CODE(request,method) \
+ CTL_CODE(IOCTL_NB_BASE, request, method, FILE_ANY_ACCESS)
+
+#define IOCTL_NB_NCB _NB_CONTROL_CODE(20,METHOD_NEITHER)
+
+//
+// MessageId: STATUS_HANGUP_REQUIRED
+//
+// MessageText:
+//
+// Warning error for the Netbios driver to the Netbios dll. When receiving this
+// status on an NCB completion, the dll will hangup the connection causing the
+// connection block to be deleted. This status will never be returned to a user
+// application.
+//
+#define STATUS_HANGUP_REQUIRED ((NTSTATUS)0x80010001L)
+
+//
+// Private extension for XNS to support vtp.exe
+//
+
+#define NCALLNIU 0x74 /* UB special */
+
+//
+// Private extension to support AsyBEUI
+//
+
+#define NCBQUICKADDNAME 0x75
+#define NCBQUICKADDGRNAME 0x76
+
+// Values for transport_id in ACTION_HEADER
+
+#define MS_ABF "MABF"
+#define MS_XNS "MXNS"
+
+#endif // _NB30P_