' ########################################################################################
' Microsoft Windows
' File: WPFtpMsg.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_WPFtpMsg_PBI)
#DEFINE PBX_WPFtpMsg_PBI
%EQUATE `WPFTPMSG_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: FTPWPP_ERROR_FIRST
'//
'// MessageText:
'//
'// CFtpWpp's first error message.
'//
%EQUATE `FTPWPP_ERROR_FIRST = &H40042300
'//
'// MessageId: FTPWPP_ERROR_INETOPEN_FAILED
'//
'// MessageText:
'//
'// The FTP provider could not connect to the internet.
'//
%EQUATE `FTPWPP_ERROR_INETOPEN_FAILED = &HC0042301
'//
'// MessageId: FTPWPP_ERROR_AUTHENTICATION_FAILED
'//
'// MessageText:
'//
'// The FTP provider could not log in to the FTP server.
'//
%EQUATE `FTPWPP_ERROR_AUTHENTICATION_FAILED = &HC0042302
'//
'// MessageId: FTPWPP_ERROR_LAST
'//
'// MessageText:
'//
'// CFtpWpp's last error message.
'//
%EQUATE `FTPWPP_ERROR_LAST = &H400423FF
#ENDIF
