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.

72 lines
1.9 KiB

  1. /*
  2. * M A P I W Z . H
  3. *
  4. * Definitions for the Profile Wizard. Includes all prototypes
  5. * and constants required by the provider-wizard code consumers.
  6. *
  7. * Copyright 1986-1999 Microsoft Corporation. All Rights Reserved.
  8. */
  9. #ifndef _MAPIWZ_H
  10. #define _MAPIWZ_H
  11. #if _MSC_VER > 1000
  12. #pragma once
  13. #endif
  14. #define WIZ_QUERYNUMPAGES (WM_USER +10)
  15. #define WIZ_NEXT (WM_USER +11)
  16. #define WIZ_PREV (WM_USER +12)
  17. /*
  18. * NOTE: Provider-Wizards should not use ids ranging between
  19. * (WM_USER + 1) and (WM_USER +20) as these have been reserved for
  20. * future releases.
  21. */
  22. /* Flags for LaunchWizard API */
  23. #define MAPI_PW_FIRST_PROFILE 0x00000001
  24. #define MAPI_PW_LAUNCHED_BY_CONFIG 0x00000002
  25. #define MAPI_PW_ADD_SERVICE_ONLY 0x00000004
  26. #define MAPI_PW_PROVIDER_UI_ONLY 0x00000008
  27. #define MAPI_PW_HIDE_SERVICES_LIST 0x00000010
  28. /*
  29. * Provider should set this property to TRUE if it does not
  30. * want the Profile Wizard to display the PST setup page.
  31. */
  32. #define PR_WIZARD_NO_PST_PAGE PROP_TAG(PT_BOOLEAN, 0x6700)
  33. #define PR_WIZARD_NO_PAB_PAGE PROP_TAG(PT_BOOLEAN, 0x6701)
  34. typedef HRESULT (STDAPICALLTYPE LAUNCHWIZARDENTRY)
  35. (
  36. HWND hParentWnd,
  37. ULONG ulFlags,
  38. LPCTSTR FAR * lppszServiceNameToAdd,
  39. ULONG cbBufferMax,
  40. LPTSTR lpszNewProfileName
  41. );
  42. typedef LAUNCHWIZARDENTRY FAR * LPLAUNCHWIZARDENTRY;
  43. typedef BOOL (STDAPICALLTYPE SERVICEWIZARDDLGPROC)
  44. (
  45. HWND hDlg,
  46. UINT wMsgID,
  47. WPARAM wParam,
  48. LPARAM lParam
  49. );
  50. typedef SERVICEWIZARDDLGPROC FAR * LPSERVICEWIZARDDLGPROC;
  51. typedef ULONG (STDAPICALLTYPE WIZARDENTRY)
  52. (
  53. HINSTANCE hProviderDLLInstance,
  54. LPTSTR FAR * lppcsResourceName,
  55. DLGPROC FAR * lppDlgProc,
  56. LPMAPIPROP lpMapiProp,
  57. LPVOID lpMapiSupportObject
  58. );
  59. typedef WIZARDENTRY FAR * LPWIZARDENTRY;
  60. #define LAUNCHWIZARDENTRYNAME "LAUNCHWIZARD"
  61. #endif /* _MAPIWZ_H */