' ########################################################################################
' Microsoft Windows
' File: WPPstMsg.inc
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_WPPstMsg_PBI)
#DEFINE PBX_WPPstMsg_PBI
%WPPSTMSG_INC = 1
'//
'// Values are 32 bit values layed out as follows:
'//
'// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
'// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
'// +---+-+-+-----------------------+-------------------------------+
'// |Sev|C|R| Facility | Code |
'// +---+-+-+-----------------------+-------------------------------+
'//
'// where
'//
'// Sev - is the severity code
'//
'// 00 - Success
'// 01 - Informational
'// 10 - Warning
'// 11 - Error
'//
'// C - is the Customer code flag
'//
'// R - is a reserved bit
'//
'// Facility - is the facility code
'//
'// Code - is the facility's status code
'//
'//
'// Define the facility codes
'//
'//
'// Define the severity codes
'//
'//
'// MessageId: WPP_ERROR_FIRST
'//
'// MessageText:
'//
'// WebPost Provider first error message.
'//
%WPP_ERROR_FIRST = &H40042380
'//
'// MessageId: WPP_POST_POSTING_URL_ERROR
'//
'// MessageText:
'//
'// The URL you selected, %1, is invalid.
'//
%WPP_POST_POSTING_URL_ERROR = &HC0042381
'//
'// MessageId: WPP_POST_POSTING_SERVER_ERROR
'//
'// MessageText:
'//
'// The Web server returned the following error: %1.
'//
%WPP_POST_POSTING_SERVER_ERROR = &HC0042382
'//
'// MessageId: WPP_POST_POSTING_NO_RESPONSE_ERROR
'//
'// MessageText:
'//
'// The Web server either is not responding or returned an unrecognized response.
'//
%WPP_POST_POSTING_NO_RESPONSE_ERROR = &HC0042383
'//
'// MessageId: WPP_ERROR_LAST
'//
'// MessageText:
'//
'// WebPost Provider last error message.
'//
%WPP_ERROR_LAST = &H400423FF