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.

32 lines
982 B

  1. /*****************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1989-1990 **/
  4. /*****************************************************************/
  5. /*
  6. * Windows/Network Interface
  7. *
  8. * Local header files for checking LM versions.
  9. */
  10. #define FUNC_IncorrectNetwork 0
  11. #define FUNC_WkstaNotStarted 1
  12. #define FUNC_BaseFunctionality 2
  13. #define FUNC_MailslotFunctionality 3
  14. #define FUNC_APIFunctionality 4
  15. #define FUNC_InsufficientMemory 5
  16. #define FUNC_HigherLMVersion 6
  17. #define FUNC_LowerLMVersion 7
  18. #ifndef WIN32
  19. /* Define the currently supported LM versions. */
  20. #define SUPPORTED_MAJOR_VER 2
  21. #define SUPPORTED_MINOR_VER 1
  22. #else
  23. #define SUPPORTED_MAJOR_VER 3
  24. #define SUPPORTED_MINOR_VER 0
  25. #endif
  26. #define VAR_BUF_LEN 300
  27. extern INT W_QueryLMFunctionalityLevel ( void );