Source code of Windows XP (NT5)
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.

94 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. cwabobj.h
  5. Abstract:
  6. Class definition for CWabObj
  7. Environment:
  8. Fax send wizard
  9. Revision History:
  10. 10/23/97 -georgeje-
  11. Created it.
  12. mm/dd/yy -author-
  13. description
  14. --*/
  15. #define REGVAL_WABPATH TEXT("Software\\Microsoft\\WAB\\DLLPath")
  16. typedef class CWabObj {
  17. HINSTANCE m_hWab;
  18. LPWABOPEN m_lpWabOpen;
  19. LPADRBOOK m_lpAdrBook;
  20. LPWABOBJECT m_lpWABObject;
  21. LPADRLIST m_lpAdrList;
  22. BOOL m_Initialized;
  23. HWND m_hWnd;
  24. HINSTANCE m_hInstance;
  25. DWORD m_PickNumber;
  26. LPSTR DupStringUnicodeToAnsi(
  27. LPVOID lpObject,
  28. LPWSTR pUnicodeStr
  29. );
  30. BOOL GetRecipientInfo(
  31. LPSPropValue SPropVals,
  32. ULONG cValues,
  33. LPWSTR * FaxNumber,
  34. LPWSTR * DisplayName
  35. );
  36. BOOL InterpretAddress(
  37. LPSPropValue SPropVals,
  38. ULONG cValues,
  39. PRECIPIENT *ppNewRecip
  40. );
  41. BOOL InterpretDistList(
  42. LPSPropValue SPropVals,
  43. ULONG cValues,
  44. PRECIPIENT *ppNewRecip
  45. );
  46. public:
  47. CWabObj(HINSTANCE hInstance);
  48. ~CWabObj();
  49. BOOL
  50. Initialize();
  51. BOOL
  52. Address(
  53. HWND hWnd,
  54. PRECIPIENT pRecip,
  55. PRECIPIENT * ppNewRecip
  56. );
  57. } WABOBJ, * LPWABOBJ;
  58. typedef struct {
  59. LPWSTR DisplayName;
  60. LPWSTR BusinessFax;
  61. LPWSTR HomeFax;
  62. } PICKFAX, * PPICKFAX;