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.

86 lines
2.1 KiB

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. card.h
  5. Abstract:
  6. Author:
  7. noela 01-20-98
  8. Notes:
  9. Revision History:
  10. --*/
  11. //***************************************************************************
  12. typedef struct {
  13. DWORD dwID;
  14. #define MAXLEN_CARDNAME 96
  15. WCHAR NameW[MAXLEN_CARDNAME];
  16. #define MAXLEN_PIN 96
  17. WCHAR PinW[MAXLEN_PIN];
  18. //Card3=3,"AT&T via 1-800-321-0288","","G","18003210288$TFG$TH","18003210288$T01EFG$TH",1
  19. #define MAXLEN_RULE 128
  20. WCHAR LocalRuleW[MAXLEN_RULE];
  21. WCHAR LDRuleW[MAXLEN_RULE];
  22. WCHAR InternationalRuleW[MAXLEN_RULE];
  23. DWORD dwFlags;
  24. #define CARD_BUILTIN 1
  25. #define CARD_HIDE 2
  26. } CARD, *PCARD;
  27. extern PCARD gCardList;
  28. //extern UINT gnNumCards;
  29. //UINT gnCurrentCardID = 0;
  30. extern DWORD *gpnStuff;
  31. extern PCARD gpCardList;
  32. extern PCARD gpCurrentCard;
  33. //***************************************************************************
  34. //***************************************************************************
  35. BOOL UtilGetEditNumStr( HWND hWnd,
  36. UINT uControl,
  37. UINT nExtendNum );
  38. //***************************************************************************
  39. //***************************************************************************
  40. //enum DWORD {
  41. enum {
  42. UTIL_BIG_EXTENDED,
  43. UTIL_NUMBER
  44. };
  45. //***************************************************************************
  46. //***************************************************************************
  47. //***************************************************************************
  48. LONG PASCAL ReadCardsEasy(
  49. PCARD *pCardSpace,
  50. LPUINT *pnStuff );
  51. LONG PASCAL GetCardIndexFromID( UINT nID,
  52. PCARD pCallersList,
  53. UINT nCallersNumCards );
  54. void PASCAL WriteCards( PCARD pCardList, UINT nNumCards,
  55. DWORD dwChangedFlags);