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.

42 lines
1.5 KiB

  1. /*****************************************************************/
  2. /** Microsoft Windows for Workgroups **/
  3. /** Copyright (C) Microsoft Corp., 1991-1992 **/
  4. /*****************************************************************/
  5. #ifndef RC_INVOKED
  6. #pragma pack(1) /* Assume byte packing throughout */
  7. #endif
  8. #ifdef __cplusplus
  9. extern "C" { /* Assume C declarations for C++ */
  10. #endif /* __cplusplus */
  11. /*
  12. Password cache error codes.
  13. */
  14. #define IERR_PCACHE_BASE 7200
  15. #define IERR_CachingDisabled (IERR_PCACHE_BASE + 0)
  16. #define IERR_BadSig (IERR_PCACHE_BASE + 1)
  17. #define IERR_VersionChanged (IERR_PCACHE_BASE + 2)
  18. #define IERR_CacheNotLoaded (IERR_PCACHE_BASE + 3)
  19. #define IERR_CacheEntryNotFound (IERR_PCACHE_BASE + 4)
  20. #define IERR_CacheReadOnly (IERR_PCACHE_BASE + 5)
  21. #define IERR_IncorrectUsername (IERR_PCACHE_BASE + 6)
  22. #define IERR_CacheCorrupt (IERR_PCACHE_BASE + 7)
  23. #define IERR_EntryTooLarge (IERR_PCACHE_BASE + 8)
  24. #define IERR_CacheEnumCancelled (IERR_PCACHE_BASE + 9)
  25. #define IERR_UsernameNotFound (IERR_PCACHE_BASE + 10)
  26. #define IERR_CacheFull (IERR_PCACHE_BASE + 11) /* only if cache would exceed 64K */
  27. #define IERR_CacheAlreadyOpen (IERR_PCACHE_BASE + 12)
  28. #define IERR_CantCreateUniqueFile (IERR_PCACHE_BASE + 13)
  29. #define IERR_InvalidParameter (IERR_PCACHE_BASE + 14)
  30. #ifdef __cplusplus
  31. }
  32. #endif /* __cplusplus */
  33. #ifndef RC_INVOKED
  34. #pragma pack() /* Revert to default packing */
  35. #endif