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.

45 lines
1.0 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: support.h
  4. //
  5. // Synopsis: holds the Class declaration for the CSupport
  6. // class
  7. //
  8. // History: 5/8/97 MKarki Created
  9. //
  10. // Copyright (C) 1996-97 Microsoft Corporation
  11. // All rights reserved.
  12. //
  13. //----------------------------------------------------------------
  14. #include "..\icwphbk\icwsupport.h"
  15. const TCHAR PHBK_LIB[] = TEXT("icwphbk.dll");
  16. const CHAR PHBK_SUPPORTNUMAPI[] = "GetSupportNumbers";
  17. typedef HRESULT (WINAPI *PFNGETSUPPORTNUMBERS) (PSUPPORTNUM, PDWORD);
  18. class CSupport
  19. {
  20. private:
  21. PSUPPORTNUM m_pSupportNumList;
  22. DWORD m_dwTotalNums;
  23. //
  24. // this function gets the countryID
  25. //
  26. BOOL GetCountryID (PDWORD pdwCountryID);
  27. public:
  28. CSupport (VOID)
  29. {
  30. m_pSupportNumList = NULL;
  31. m_dwTotalNums = 0;
  32. }
  33. ~CSupport (VOID);
  34. BOOL GetSupportInfo (LPTSTR, DWORD);
  35. }; // end of CSupport class declaration