Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.4 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1998.
  5. //
  6. // File: N C N B I O S . H
  7. //
  8. // Contents: NetBios Binding object definitions
  9. //
  10. // Notes:
  11. //
  12. // Author: danielwe 14 Jul 1998
  13. //
  14. //----------------------------------------------------------------------------
  15. #pragma once
  16. //
  17. // Structure of LANA MAP
  18. //
  19. // The Lana map is a simple structure that looks like this in memory:
  20. //
  21. // Entry #0 Entry #1 ..... Entry #n
  22. // |-----------|-----------| ..... |-----------|
  23. // | 0x01 0x00 | 0x00 0x01 | ..... | 0x01 0x03 |
  24. // |-----------|-----------| ..... |-----------|
  25. // EP0 LN0 EP1 LN1 EPn LNn
  26. //
  27. // EP is "ExportPref" - means that when someone asks for the list of
  28. // all Lana numbers, entries with a 0 here will not be returned.
  29. //
  30. // LN is the "Lana number" - see the IBM NetBIOS spec for details.
  31. // Basically, this describes a single, unique network route which
  32. // uses NetBIOS.
  33. //
  34. // Using the above example, Entry #0 has a lana number of 0 and WILL
  35. // be returned during enumeration. Entry #1 has a lana number of 1
  36. // and WILL NOT be returned.
  37. //
  38. struct LANA_ENTRY
  39. {
  40. BYTE bIsExported;
  41. BYTE bLanaNum;
  42. };
  43. struct LANA_MAP
  44. {
  45. DWORD clmMap; // number of entries in map
  46. LANA_ENTRY * aleMap; // array for each entry
  47. };