/*-----------------------------------------------------*\
*
*Copyright (c) 1997 Microsoft Corporation
*
*Module Name:
*
*wppdefs.h
*
*Abstract:
*
*#defines for Web Publishing Service Provider
*implementations
*
\*-----------------------------------------------------*/
#ifndef __WPPDEFS_H__
#define __WPPDEFS_H__
//Miscellaneous
#define MAX_MSG_LEN1024
#define MAX_URL_LEN1024
#define WIN32_FROM_HRESULT(x)((x) & 0x0000FFFF)
#define WIZARD_HELP_FILENAME_A"WPWIZ.HLP>proc4"
#define MY_CXDLG304
#define MY_CYDLG163
#define MY_CXBMP79
#define MY_CYBMP160
//Service Provider's Resource IDs should be between the following
#define IDD_FIRST_PROV_PAGE9000
#define IDD_LAST_PROV_PAGE9999
//Registry keys & values
#define REGSUBKEY_WP_SITES_A"Software\\Microsoft\\WebPost\\Sites"
#define REGKEY_WP_SITES_A"HKCU\\" REGSUBKEY_WP_SITES_A
#define REGVAL_SITE_PROVIDER_A"Provider"
#define REGVAL_SITE_URL_A"DestURL"
#define REGVAL_SITE_BASEDIR_A"LocalBaseDir"
#define REGVAL_SITE_FLAGS_A"Flags"
#define REGSUBKEY_WP_SITES_WL""REGSUBKEY_WP_SITES_A
#define REGKEY_WP_SITES_WL""REGKEY_WP_SITES_A
#define REGVAL_SITE_PROVIDER_WL""REGVAL_SITE_PROVIDER_A
#define REGVAL_SITE_URL_WL"DestURL"
#define REGVAL_SITE_BASEDIR_WL""REGVAL_SITE_BASEDIR_A
#define REGVAL_SITE_FLAGS_WL""REGVAL_SITE_FLAGS_A
//Provider registry keys and values
#define HKEY_WPPHKEY_LOCAL_MACHINE
#define REGSUBKEY_WPP_A"System\\CurrentControlSet\\Services\\WebPost\\Providers"
#define REGKEY_WPP_A"HKLM\\"REGSUBKEY_WPP_A
#define REGVAL_WPP_NAME_A"Provider"
#define REGVAL_WPP_DLLPATH_A"Path"
#define REGVAL_WPP_PRIORITY_A"Priority"
#define REGVAL_WPP_POSTINFO_REQUIRED_A"PostInfoRequired"
#define REGSUBKEY_WPP_WL""REGSUBKEY_WPP_A
#define REGKEY_WPP_WL""REGKEY_WPP_A
#define REGVAL_WPP_NAME_WL""REGVAL_WPP_NAME_A
#define REGVAL_WPP_DLLPATH_WL""REGVAL_WPP_DLLPATH_A
#define REGVAL_WPP_PRIORITY_WL""REGVAL_WPP_PRIORITY_A
#define REGVAL_WPP_POSTINFO_REQUIRED_WL""REGVAL_WPP_POSTINFO_REQUIRED_A
#endif//__WPPDEFS_H__