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.

56 lines
1.5 KiB

  1. //*************************************************************
  2. // File name: delprof.h
  3. //
  4. // Description: header file for delprof.c
  5. //
  6. //
  7. // Microsoft Confidential
  8. // Copyright (c) Microsoft Corporation 1996
  9. // All rights reserved
  10. //
  11. //*************************************************************
  12. //
  13. // Strings
  14. //
  15. #define IDS_USAGE1 1
  16. #define IDS_USAGE2 2
  17. #define IDS_USAGE3 3
  18. #define IDS_USAGE4 4
  19. #define IDS_USAGE5 5
  20. #define IDS_USAGE6 6
  21. #define IDS_USAGE7 7
  22. #define IDS_USAGE8 8
  23. #define IDS_USAGE9 9
  24. #define IDS_CONFIRM 10
  25. #define IDS_CONFIRMDAYS 11
  26. #define IDS_NO 12
  27. #define IDS_FAILEDPROFILELIST 13
  28. #define IDS_FAILEDENUM 14
  29. #define IDS_FAILEDPATHQUERY 15
  30. #define IDS_FAILEDOPENPROFILE 16
  31. #define IDS_SKIPPROFILE 17
  32. #define IDS_DELETEPROMPT 18
  33. #define IDS_DELETING 19
  34. #define IDS_SUCCESS 20
  35. #define IDS_FAILED 21
  36. typedef struct _DELETEITEM {
  37. LPTSTR lpSubKey;
  38. LPTSTR lpProfilePath;
  39. BOOL bDir;
  40. struct _DELETEITEM * pNext;
  41. } DELETEITEM, *LPDELETEITEM;
  42. //
  43. // Date conversion functions
  44. //
  45. void APIENTRY gdate_daytodmy(LONG days, int FAR* yrp, int FAR* monthp, int FAR* dayp);
  46. LONG APIENTRY gdate_dmytoday(int yr, int month, int day);
  47. int APIENTRY gdate_monthdays(int month, int year);
  48. int APIENTRY gdate_weekday(long daynr);