438 lines
9 KiB
C
438 lines
9 KiB
C
/*++
|
|
|
|
Copyright (c) Microsoft Corporation
|
|
|
|
Constant definitions for common File Server Resource Management service
|
|
error messages.
|
|
|
|
--*/
|
|
|
|
#pragma once
|
|
|
|
|
|
//
|
|
// HRESULT Success codes
|
|
//
|
|
|
|
//
|
|
// Values are 32 bit values laid 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: FSRM_S_PARTIAL_BATCH
|
|
//
|
|
// MessageText:
|
|
//
|
|
// At least one failure occurred in a batch operation.
|
|
//
|
|
#define FSRM_S_PARTIAL_BATCH ((HRESULT)0x00045304L)
|
|
|
|
|
|
//
|
|
// HRESULT Failure codes
|
|
//
|
|
|
|
//
|
|
// MessageId: FSRM_E_NOT_FOUND
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The requested object was not found.
|
|
//
|
|
#define FSRM_E_NOT_FOUND ((HRESULT)0x80045301L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_ALREADY_EXISTS
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified object already exists.
|
|
//
|
|
#define FSRM_E_ALREADY_EXISTS ((HRESULT)0x80045303L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_PATH_NOT_FOUND
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified path was not found.
|
|
//
|
|
#define FSRM_E_PATH_NOT_FOUND ((HRESULT)0x80045304L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INVALID_USER
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified user is invalid.
|
|
//
|
|
#define FSRM_E_INVALID_USER ((HRESULT)0x80045305L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INVALID_PATH
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified path is invalid.
|
|
//
|
|
#define FSRM_E_INVALID_PATH ((HRESULT)0x80045306L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INVALID_LIMIT
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified limit is invalid.
|
|
//
|
|
#define FSRM_E_INVALID_LIMIT ((HRESULT)0x80045307L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INVALID_NAME
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified name is invalid.
|
|
//
|
|
#define FSRM_E_INVALID_NAME ((HRESULT)0x80045308L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_FAIL_BATCH
|
|
//
|
|
// MessageText:
|
|
//
|
|
// All items in a batch operation failed.
|
|
//
|
|
#define FSRM_E_FAIL_BATCH ((HRESULT)0x80045309L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INVALID_TEXT
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified text is invalid.
|
|
//
|
|
#define FSRM_E_INVALID_TEXT ((HRESULT)0x8004530AL)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INVALID_IMPORT_VERSION
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The version of the configuration file you are trying to import is not supported. You cannot import configuration files with database versions earlier than 2.0.
|
|
//
|
|
#define FSRM_E_INVALID_IMPORT_VERSION ((HRESULT)0x8004530BL)
|
|
|
|
//
|
|
// MessageId: FSRM_E_OUT_OF_RANGE
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified property is out of range.
|
|
//
|
|
#define FSRM_E_OUT_OF_RANGE ((HRESULT)0x8004530DL)
|
|
|
|
//
|
|
// MessageId: FSRM_E_REQD_PARAM_MISSING
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified required property is missing.
|
|
//
|
|
#define FSRM_E_REQD_PARAM_MISSING ((HRESULT)0x8004530EL)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INVALID_COMBINATION
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified property combination is invalid.
|
|
//
|
|
#define FSRM_E_INVALID_COMBINATION ((HRESULT)0x8004530FL)
|
|
|
|
//
|
|
// MessageId: FSRM_E_DUPLICATE_NAME
|
|
//
|
|
// MessageText:
|
|
//
|
|
// Duplicate names were detected for the same object.
|
|
//
|
|
#define FSRM_E_DUPLICATE_NAME ((HRESULT)0x80045310L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_NOT_SUPPORTED
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The operation or the specified combination of parameters is not supported.
|
|
//
|
|
#define FSRM_E_NOT_SUPPORTED ((HRESULT)0x80045311L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_DRIVER_NOT_READY
|
|
//
|
|
// MessageText:
|
|
//
|
|
// A required filter driver is not installed, loaded or ready for service.
|
|
//
|
|
#define FSRM_E_DRIVER_NOT_READY ((HRESULT)0x80045313L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INSUFFICIENT_DISK
|
|
//
|
|
// MessageText:
|
|
//
|
|
// There is insufficient disk space to perform the requested operation.
|
|
//
|
|
#define FSRM_E_INSUFFICIENT_DISK ((HRESULT)0x80045314L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_VOLUME_UNSUPPORTED
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified volume is unsupported.
|
|
//
|
|
#define FSRM_E_VOLUME_UNSUPPORTED ((HRESULT)0x80045315L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_UNEXPECTED
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The File Server Resource Manager service encountered an unexpected error.
|
|
// Check the application event log for more information.
|
|
//
|
|
#define FSRM_E_UNEXPECTED ((HRESULT)0x80045316L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INSECURE_PATH
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified path is insecure.
|
|
//
|
|
#define FSRM_E_INSECURE_PATH ((HRESULT)0x80045317L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INVALID_SMTP_SERVER
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The SMTP server is invalid.
|
|
//
|
|
#define FSRM_E_INVALID_SMTP_SERVER ((HRESULT)0x80045318L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_AUTO_QUOTA
|
|
//
|
|
// MessageText:
|
|
//
|
|
// Auto apply quota configuration for one or more folders failed. Check the application event log for more information.
|
|
//
|
|
#define FSRM_E_AUTO_QUOTA ((HRESULT)0x0004531BL)
|
|
|
|
//
|
|
// MessageId: FSRM_E_EMAIL_NOT_SENT
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The File Server Resource Manager service could not send email due to an error.
|
|
// Check the application event log for more information.
|
|
//
|
|
#define FSRM_E_EMAIL_NOT_SENT ((HRESULT)0x8004531CL)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INVALID_EMAIL_ADDRESS
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified email address is invalid.
|
|
//
|
|
#define FSRM_E_INVALID_EMAIL_ADDRESS ((HRESULT)0x8004531EL)
|
|
|
|
//
|
|
// MessageId: FSRM_E_FILE_SYSTEM_CORRUPT
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The file system might be corrupted. Please run the CHKDSK utility.
|
|
//
|
|
#define FSRM_E_FILE_SYSTEM_CORRUPT ((HRESULT)0x8004531FL)
|
|
|
|
//
|
|
// MessageId: FSRM_E_LONG_CMDLINE
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified command-line executable path is longer than MAX_PATH.
|
|
//
|
|
#define FSRM_E_LONG_CMDLINE ((HRESULT)0x80045320L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INVALID_FILEGROUP_DEFINITION
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified file group definition is invalid.
|
|
//
|
|
#define FSRM_E_INVALID_FILEGROUP_DEFINITION ((HRESULT)0x80045321L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INVALID_DATASCREEN_DEFINITION
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified file screen is invalid.
|
|
//
|
|
#define FSRM_E_INVALID_DATASCREEN_DEFINITION ((HRESULT)0x80045324L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INVALID_REPORT_FORMAT
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified report format is invalid.
|
|
//
|
|
#define FSRM_E_INVALID_REPORT_FORMAT ((HRESULT)0x80045328L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INVALID_REPORT_DESC
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified report description is invalid.
|
|
//
|
|
#define FSRM_E_INVALID_REPORT_DESC ((HRESULT)0x80045329L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_INVALID_FILENAME
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The specified file name is invalid.
|
|
//
|
|
#define FSRM_E_INVALID_FILENAME ((HRESULT)0x8004532AL)
|
|
|
|
//
|
|
// MessageId: FSRM_E_SHADOW_COPY
|
|
//
|
|
// MessageText:
|
|
//
|
|
// A volume shadow copy could not be created or was unexpectedly deleted.
|
|
//
|
|
#define FSRM_E_SHADOW_COPY ((HRESULT)0x8004532CL)
|
|
|
|
//
|
|
// MessageId: FSRM_E_XML_CORRUPTED
|
|
//
|
|
// MessageText:
|
|
//
|
|
// A File Server Resource Manager XML configuration file or import-export file is corrupted.
|
|
//
|
|
#define FSRM_E_XML_CORRUPTED ((HRESULT)0x8004532DL)
|
|
|
|
//
|
|
// MessageId: FSRM_E_CLUSTER_NOT_RUNNING
|
|
//
|
|
// MessageText:
|
|
//
|
|
// File Server Resource Manager global configuration cannot be accessed since the cluster service is not running.
|
|
//
|
|
#define FSRM_E_CLUSTER_NOT_RUNNING ((HRESULT)0x8004532EL)
|
|
|
|
//
|
|
// MessageId: FSRM_E_STORE_NOT_INSTALLED
|
|
//
|
|
// MessageText:
|
|
//
|
|
// File Server Resource Manager global configuration cannot be accessed since it is not installed yet.
|
|
//
|
|
#define FSRM_E_STORE_NOT_INSTALLED ((HRESULT)0x8004532FL)
|
|
|
|
//
|
|
// MessageId: FSRM_E_NOT_CLUSTER_VOLUME
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The volume does not reside on a cluster shared disk with an associated cluster resource.
|
|
//
|
|
#define FSRM_E_NOT_CLUSTER_VOLUME ((HRESULT)0x80045330L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_DIFFERENT_CLUSTER_GROUP
|
|
//
|
|
// MessageText:
|
|
//
|
|
// There are at least two paths which reside on different cluster shared disks which are not in the same cluster resource group.
|
|
//
|
|
#define FSRM_E_DIFFERENT_CLUSTER_GROUP ((HRESULT)0x80045331L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_REPORT_TYPE_ALREADY_EXISTS
|
|
//
|
|
// MessageText:
|
|
//
|
|
// A report of the specified type already exists in the report job.
|
|
//
|
|
#define FSRM_E_REPORT_TYPE_ALREADY_EXISTS ((HRESULT)0x80045332L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_REPORT_JOB_ALREADY_RUNNING
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The report job is already running or queued for running.
|
|
//
|
|
#define FSRM_E_REPORT_JOB_ALREADY_RUNNING ((HRESULT)0x80045333L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_REPORT_GENERATION_ERR
|
|
//
|
|
// MessageText:
|
|
//
|
|
// An error occurred during report generation.
|
|
//
|
|
#define FSRM_E_REPORT_GENERATION_ERR ((HRESULT)0x80045334L)
|
|
|
|
//
|
|
// MessageId: FSRM_E_REPORT_TASK_TRIGGER
|
|
//
|
|
// MessageText:
|
|
//
|
|
// The task contains zero or unsupported triggers.
|
|
//
|
|
#define FSRM_E_REPORT_TASK_TRIGGER ((HRESULT)0x80045335L)
|
|
|
|
|