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.

75 lines
2.3 KiB

  1. /*++
  2. Copyright (c) 1994 Microsoft Corporation
  3. Module Name:
  4. NtConnct.h
  5. Abstract:
  6. This module defines the prototypes and structures for the nt version of the high level routines dealing
  7. with connections including both the routines for establishing connections and the winnet connection apis.
  8. Author:
  9. Joe Linn [JoeLinn] 1-mar-95
  10. Revision History:
  11. --*/
  12. #ifndef _CONNECTHIGH_STUFF_DEFINED_
  13. #define _CONNECTHIGH_STUFF_DEFINED_
  14. extern NTSTATUS
  15. MRxEnumerateTransports(
  16. IN PRX_CONTEXT RxContext,
  17. OUT PBOOLEAN PostToFsp
  18. );
  19. extern NTSTATUS
  20. MRxSmbEnumerateConnections (
  21. IN PRX_CONTEXT RxContext,
  22. OUT PBOOLEAN PostToFsp
  23. );
  24. extern NTSTATUS
  25. MRxSmbGetConnectionInfo (
  26. IN PRX_CONTEXT RxContext,
  27. OUT PBOOLEAN PostToFsp
  28. );
  29. extern NTSTATUS
  30. MRxSmbDeleteConnection (
  31. IN PRX_CONTEXT RxContext,
  32. OUT PBOOLEAN PostToFsp
  33. );
  34. #if 0
  35. //this structure is used to store information about a connection that must be obtained under server/session reference.
  36. typedef struct _GETCONNECTINFO_STOVEPIPE {
  37. //PMRX_V_NET_ROOT VNetRoot;
  38. PVOID ConnectionInfo;
  39. USHORT Level;
  40. PUNICODE_STRING UserName;
  41. PUNICODE_STRING TransportName;
  42. //i have just copied this from SMBCE.h
  43. //ULONG Dialect; // the SMB dialect
  44. ULONG SessionKey; // the session key
  45. //USHORT MaximumRequests; // Maximum number of multiplexed requests
  46. //USHORT MaximumVCs; // Maximum number of VC's
  47. //USHORT Capabilities; // Server Capabilities
  48. ULONG DialectFlags; // More Server Capabilities
  49. ULONG SecurityMode; // Security mode supported on the server
  50. //ULONG MaximumBufferSize; // Maximum negotiated buffer size.
  51. LARGE_INTEGER TimeZoneBias; // Time zone bias for conversion.
  52. BOOLEAN EncryptPasswords; // encrypt passwords
  53. //ULONG NtCapabilities;
  54. } GETCONNECTINFO_STOVEPIPE, *PGETCONNECTINFO_STOVEPIPE;
  55. #endif //if 0
  56. #endif // _CONNECTHIGH_STUFF_DEFINED_
  57.