Source code of Windows XP (NT5)
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.

33 lines
786 B

  1. /*****************************************************************************\
  2. * MODULE: inetpp.h
  3. *
  4. * Header file for the INETPP provider routines.
  5. *
  6. *
  7. * Copyright (C) 1996-1997 Microsoft Corporation
  8. * Copyright (C) 1996-1997 Hewlett Packard
  9. *
  10. * History:
  11. * 07-Oct-1996 HWP-Guys Initiated port from win95 to winNT
  12. *
  13. \*****************************************************************************/
  14. #ifndef _INETPP_COMMON_H
  15. #define _INETPP_COMMON_H
  16. // Max length for username & password
  17. //
  18. #define MAX_USERNAME_LEN 256
  19. #define MAX_PASSWORD_LEN 256
  20. #define MAX_PORTNAME_LEN 512
  21. #define AUTH_ANONYMOUS 0
  22. #define AUTH_BASIC 1
  23. #define AUTH_NT 2
  24. #define AUTH_IE 3
  25. #define AUTH_OTHER 4
  26. #define AUTH_ACCESS_DENIED 0x100
  27. #define AUTH_UNKNOWN 0xffff
  28. #endif