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.

53 lines
1.1 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: icwsupport.h
  4. //
  5. // Synopsis: holds the function declaration, etc
  6. // for the support.cpp file
  7. //
  8. // History: 5/8/97 MKarki Created
  9. //
  10. // Copyright (C) 1996-97 Microsoft Corporation
  11. // All rights reserved.
  12. //
  13. //----------------------------------------------------------------
  14. #ifndef _SUPPORT_H_
  15. #define _SUPPORT_H_
  16. #include "ccsv.h"
  17. //
  18. // size of Phone Number string
  19. //
  20. const DWORD PHONE_NUM_SIZE = 64;
  21. //
  22. // SUPPORTNUM struct declaration
  23. //
  24. typedef struct _SUPPORTNUM
  25. {
  26. DWORD dwCountryCode;
  27. CHAR szPhoneNumber[PHONE_NUM_SIZE +4];
  28. }
  29. SUPPORTNUM, *PSUPPORTNUM;
  30. //
  31. // function gets the support phone number from the SUPPORT.ICW
  32. // file
  33. //
  34. HRESULT
  35. GetSupportNumsFromFile (
  36. PSUPPORTNUM pSupportNumList,
  37. PDWORD pdwSize
  38. );
  39. //
  40. // processes one line at a time from the file
  41. //
  42. HRESULT
  43. ReadOneLine (
  44. PSUPPORTNUM pPhbk,
  45. CCSVFile *pcCSVFile
  46. );
  47. #endif //_SUPPORT_H_