windows-nt/Source/XPSP1/NT/printscan/fax/test/faxvrfy/faxvrfy.rc
2020-09-26 16:20:57 +08:00

158 lines
8.7 KiB
Plaintext

#include <windows.h>
#include <commctrl.h>
#include <ntverp.h>
#include "resource.h"
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "FaxVrfy"
#define VER_INTERNALNAME_STR "faxvrfy.exe"
#define VER_ORIGINALFILENAME_STR "faxvrfy.exe"
#include <common.ver>
#include "faxvrfy.h"
IDD_SETUP DIALOG DISCARDABLE 0, 0, 335, 227
STYLE WS_CAPTION | WS_VISIBLE | WS_DLGFRAME | WS_SYSMENU | WS_MINIMIZEBOX
CAPTION FAXVRFY_NAME
CLASS FAXVRFY_NAME
FONT FONTSIZE, FONTNAME
{
DEFPUSHBUTTON "S&tart", IDC_START_BUTTON, 5, 208, 50, 14, WS_GROUP
PUSHBUTTON "S&top", IDC_STOP_BUTTON, 60, 208, 50, 14, WS_GROUP
PUSHBUTTON "E&xit", IDC_EXIT_BUTTON, 280, 208, 50, 14, WS_GROUP
GROUPBOX "Fax", -1, 5, 5, 160, 47
LTEXT "&Send to:", IDC_SEND_NUMBER_STATIC, 10, 20, 40, 8
EDITTEXT IDC_SEND_NUMBER, 55, 18, 105, 12, ES_AUTOHSCROLL
LTEXT "&Receive on:", IDC_RECEIVE_NUMBER_STATIC, 10, 37, 40, 8
EDITTEXT IDC_RECEIVE_NUMBER, 55, 35, 105, 12, ES_AUTOHSCROLL
GROUPBOX "RAS", -1, 170, 5, 160, 77
AUTOCHECKBOX "&Enabled", IDC_RAS_ENABLED_BUTTON, 175, 18, 40, 8, WS_GROUP
LTEXT "&User Name:", IDC_RAS_USER_NAME_STATIC, 175, 33, 40, 8
EDITTEXT IDC_RAS_USER_NAME, 220, 31, 105, 12, ES_AUTOHSCROLL
LTEXT "&Password:", IDC_RAS_PASSWORD_STATIC, 175, 50, 40, 8
EDITTEXT IDC_RAS_PASSWORD, 220, 48, 105, 12, ES_PASSWORD | ES_AUTOHSCROLL
LTEXT "&Domain:", IDC_RAS_DOMAIN_STATIC, 175, 67, 40, 8
EDITTEXT IDC_RAS_DOMAIN, 220, 65, 105, 12, ES_AUTOHSCROLL
GROUPBOX "Status", -1, 5, 87, 325, 116
GROUPBOX "Iterations", -1, 10, 100, 315, 26
RTEXT "0", IDC_NUM_PASSED, 16, 113, 50, 8
LTEXT " Passed", -1, 66, 113, 40, 8
RTEXT "0", IDC_NUM_FAILED, 117, 113, 50, 8
LTEXT " Failed", -1, 167, 113, 40, 8
RTEXT "0", IDC_NUM_TOTAL, 218, 113, 50, 8
LTEXT " Total", -1, 268, 113, 40, 8
CONTROL "", IDC_STATUS_LIST, "SysListView32", LVS_NOSORTHEADER | LVS_REPORT | LVS_SHOWSELALWAYS | LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 10, 133, 315, 65
}
IDR_MENU MENU DISCARDABLE
{
POPUP "&Options"
{
MENUITEM "&Send", IDM_SEND
MENUITEM "&Receive", IDM_RECEIVE
}
POPUP "&Help"
{
MENUITEM "&Help", IDM_HELP
}
}
STRINGTABLE DISCARDABLE
{
IDS_FAX_MONITOR_NOT_INSTALLED, "The Fax Printer Monitor is not installed."
IDS_FAX_PORT_NOT_INSTALLED, "The Fax Printer Port is not installed."
IDS_FAX_DRIVER_NOT_INSTALLED, "The Fax Printer Driver is not installed."
IDS_FAX_PRINTER_NOT_INSTALLED, "The Fax Printer is not installed."
IDS_COM_NOT_INITIALIZED, "Cannot initialize the COM library."
IDS_FAXCOM_NOT_INSTALLED, "faxcom.dll is not registered."
IDS_FAXADMIN_NOT_INSTALLED, "faxadmin.dll is not registered."
IDS_ROUTEEXT_NOT_INSTALLED, "routeext.dll is not registered."
IDS_FAX_SVC_NOT_INSTALLED, "The Fax Service is not installed."
IDS_FAX_SVC_NOT_STOPPED, "Cannot stop the Fax Service."
IDS_FAX_RCV_NOT_INITIALIZED, "Cannot initialize the FaxRcv Routing Extension."
IDS_FAX_CONNECT_FAILED, "Cannot connect to the Fax Service."
IDS_FAX_ENUM_PORTS_FAILED, "Cannot retrieve the Fax Ports Configuration."
IDS_FAX_PORTS_NOT_INSTALLED, "There are no Fax Ports installed."
IDS_FAX_SET_PORT_FAILED, "Cannot set the Fax Port Configuration for Fax Port: %s."
IDS_FAX_RESTORE_PORT_FAILED, "Cannot restore the Fax Port Configuration for Fax Port: %s."
IDS_OPEN_FAXDEVICES_REGKEY_FAILED, "Cannot open the Fax Devices Registry Key."
IDS_FIXMODEMCLASS_DATA, "Fax Port ""%s"" is using Class %s Fax."
IDS_FAX_GET_CONFIG_FAILED, "Cannot retrieve the Fax Service Configuration."
IDS_FAX_SET_CONFIG_FAILED, "Cannot set the Fax Service Configuration."
IDS_FAX_RESTORE_CONFIG_FAILED, "Cannot restore the Fax Service Configuration."
IDS_FAX_EVENT_QUEUE_FAILED, "Cannot initialize the Fax Event Queue."
IDS_EVENT_LABEL, "Event"
IDS_PORT_LABEL, "Port"
IDS_ASCII_SEND_NUMBER, "The ""Send to"" phone number may be only ASCII characters."
IDS_ASCII_RECEIVE_NUMBER, "The ""Receive on"" phone number may be only ASCII characters."
IDS_MISSING_INFO, "The following info is missing: \n\n"
IDS_NO_SEND_NUMBER, " ""Send to"" phone number."
IDS_NO_RECEIVE_NUMBER, " ""Receive on"" phone number."
IDS_NO_RAS_USER_NAME, " ""User Name."""
IDS_NO_RAS_DOMAIN, " ""Domain."""
IDS_STATUS_ITERATION_STARTED, "Test Started"
IDS_STATUS_ITERATION_STOPPED, "Test Stopped"
IDS_STATUS_ITERATION_PASSED, "Test Iteration Passed"
IDS_STATUS_ITERATION_FAILED, "Test Iteration Failed"
IDS_STATUS_TEST_PASSED, "Test Passed"
IDS_STATUS_TEST_FAILED, "Test Failed"
IDS_STATUS_TIMEOUT_ENDED, "Timeout"
IDS_STATUS_RAS_STARTING, "Starting a RAS Call: %s"
IDS_STATUS_RAS_STOPPING, "Stopping the RAS Call"
IDS_STATUS_RAS_FAILED, "RAS Failed: %s"
IDS_STATUS_RAS_LINESPEED, "RAS Line Speed: %d"
IDS_STATUS_RAS_PASSED, "RAS Passed"
IDS_STATUS_RAS_SPEED_SUSPECT, "The line speed is suspect; it is less than %d"
IDS_STATUS_FAX_STARTING, "Sending a Fax: %s"
IDS_STATUS_FAX_STOPPING, "Stopping the Fax"
IDS_STATUS_FAX_SEND_PASSED, "Fax Send Passed"
IDS_STATUS_FAX_SEND_FAILED, "Fax Send Failed"
IDS_STATUS_FAX_WAITING, "Waiting for a Fax..."
IDS_STATUS_FAX_RECEIVED, "Fax Received: %s"
IDS_STATUS_FAX_ID, "Fax Id: %s"
IDS_STATUS_FAX_INVALID, "Invalid Fax: The Fax was not sent by the FaxVrfy application."
IDS_STATUS_FAX_VERIFYING, "Verifying Fax: %s"
IDS_TIFF_VALID_TIFF, "Valid Fax"
IDS_TIFF_INVALID_TIFF, "Invalid Fax: The TIFF file is invalid"
IDS_TIFF_INVALID_IMAGEWIDTH, "Invalid Fax: The ImageWidth TIFF Tag is invalid"
IDS_TIFF_INVALID_IMAGELENGTH, "Invalid Fax: The ImageLength TIFF Tag is invalid"
IDS_TIFF_INVALID_COMPRESSION, "Invalid Fax: The Compression TIFF Tag is invalid"
IDS_TIFF_INVALID_PHOTOMETRIC, "Invalid Fax: The Photometric TIFF Tag is invalid"
IDS_TIFF_INVALID_XRESOLUTION, "Invalid Fax: The XResolution TIFF Tag is invalid"
IDS_TIFF_INVALID_YRESOLUTION, "Invalid Fax: The YResolution TIFF Tag is invalid"
IDS_TIFF_INVALID_SOFTWARE, "Invalid Fax: The Software TIFF Tag is invalid"
IDS_TIFF_INVALID_PAGES, "Invalid Fax: Missing Pages. Received %d pages, Expected %d pages."
IDS_STATUS_RAS_DIALING, "Dialing"
IDS_STATUS_RAS_AUTHENTICATING, "Authenticating"
IDS_STATUS_RAS_CONNECTED, "Connected"
IDS_STATUS_FAX_INITIALIZING, "Initializing"
IDS_STATUS_FAX_DIALING, "Dialing, Attempt: %d"
IDS_STATUS_FAX_NO_DIAL_TONE_ABORT, "No Dial Tone, Abort"
IDS_STATUS_FAX_NO_DIAL_TONE_RETRY, "No Dial Tone, Retry"
IDS_STATUS_FAX_BUSY_ABORT, "Busy, Abort"
IDS_STATUS_FAX_BUSY_RETRY, "Busy, Retry"
IDS_STATUS_FAX_NO_ANSWER_ABORT, "No Answer, Abort"
IDS_STATUS_FAX_NO_ANSWER_RETRY, "No Answer, Retry"
IDS_STATUS_FAX_RINGING, "Ringing"
IDS_STATUS_FAX_ANSWERED, "Answered"
IDS_STATUS_FAX_NOT_FAX_CALL, "Not a Fax Call"
IDS_STATUS_FAX_SENDING, "Sending"
IDS_STATUS_FAX_RECEIVING, "Receiving"
IDS_STATUS_FAX_FATAL_ERROR_ABORT, "Fatal Error, Abort"
IDS_STATUS_FAX_FATAL_ERROR_RETRY, "Fatal Error, Retry"
IDS_STATUS_FAX_FATAL_ERROR, "Fatal Error"
IDS_STATUS_FAX_ABORTING, "Aborting"
IDS_STATUS_FAX_COMPLETED, "Completed"
IDS_STATUS_FAX_IDLE, "Idle"
IDS_STATUS_FAXSVC_ENDED, "Fax Service Stopped"
IDS_STATUS_DEVICE_POWERED_OFF, "Device Powered Off"
IDS_STATUS_DEVICE_POWERED_ON, "Device Powered On"
IDS_STATUS_PORTS_NOT_AVAILABLE, "There are no Fax Ports available"
IDS_STATUS_UNEXPECTED_STATE, "Unexpected State"
IDS_NUM_PASSED, "Passed: %d\r\n"
IDS_NUM_FAILED, "Failed: %d\r\n"
IDS_NUM_TOTAL, "Total: %d\r\n"
}