This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/dm/include/WIN32/MAPIWZ.H

68 lines
1.9 KiB
C

/*
* M A P I W Z . H
*
* Definitions for the Profile Wizard. Includes all prototypes
* and constants required by the provider-wizard code consumers.
*
* Copyright 1986-1996 Microsoft Corporation. All Rights Reserved.
*/
#ifndef _MAPIWZ_H
#define _MAPIWZ_H
#define WIZ_QUERYNUMPAGES (WM_USER +10)
#define WIZ_NEXT (WM_USER +11)
#define WIZ_PREV (WM_USER +12)
/*
* NOTE: Provider-Wizards should not use ids ranging between
* (WM_USER + 1) and (WM_USER +20) as these have been reserved for
* future releases.
*/
/* Flags for LaunchWizard API */
#define MAPI_PW_FIRST_PROFILE 0x00000001
#define MAPI_PW_LAUNCHED_BY_CONFIG 0x00000002
#define MAPI_PW_ADD_SERVICE_ONLY 0x00000004
#define MAPI_PW_PROVIDER_UI_ONLY 0x00000008
#define MAPI_PW_HIDE_SERVICES_LIST 0x00000010
/*
* Provider should set this property to TRUE if it does not
* want the Profile Wizard to display the PST setup page.
*/
#define PR_WIZARD_NO_PST_PAGE PROP_TAG(PT_BOOLEAN, 0x6700)
typedef HRESULT (STDAPICALLTYPE LAUNCHWIZARDENTRY)
(
HWND hParentWnd,
ULONG ulFlags,
LPCTSTR FAR * lppszServiceNameToAdd,
ULONG cbBufferMax,
LPTSTR lpszNewProfileName
);
typedef LAUNCHWIZARDENTRY FAR * LPLAUNCHWIZARDENTRY;
typedef BOOL (STDAPICALLTYPE SERVICEWIZARDDLGPROC)
(
HWND hDlg,
UINT wMsgID,
WPARAM wParam,
LPARAM lParam
);
typedef SERVICEWIZARDDLGPROC FAR * LPSERVICEWIZARDDLGPROC;
typedef ULONG (STDAPICALLTYPE WIZARDENTRY)
(
HINSTANCE hProviderDLLInstance,
LPTSTR FAR * lppcsResourceName,
DLGPROC FAR * lppDlgProc,
LPMAPIPROP lpMapiProp,
LPVOID lpMapiSupportObject
);
typedef WIZARDENTRY FAR * LPWIZARDENTRY;
#define LAUNCHWIZARDENTRYNAME "LAUNCHWIZARD"
#endif /* _MAPIWZ_H */