📄 mqoa.odl
字号:
MQSEC_TAKE_QUEUE_OWNERSHIP = WRITE_OWNER,
MQSEC_RECEIVE_MESSAGE = (MQSEC_DELETE_MESSAGE +
MQSEC_PEEK_MESSAGE),
MQSEC_RECEIVE_JOURNAL_MESSAGE = (MQSEC_DELETE_JOURNAL_MESSAGE +
MQSEC_PEEK_MESSAGE),
MQSEC_QUEUE_GENERIC_READ = (MQSEC_GET_QUEUE_PROPERTIES +
MQSEC_GET_QUEUE_PERMISSIONS +
MQSEC_RECEIVE_MESSAGE +
MQSEC_RECEIVE_JOURNAL_MESSAGE),
MQSEC_QUEUE_GENERIC_WRITE = (MQSEC_GET_QUEUE_PROPERTIES +
MQSEC_GET_QUEUE_PERMISSIONS +
MQSEC_WRITE_MESSAGE),
MQSEC_QUEUE_GENERIC_EXECUTE = 0,
MQSEC_QUEUE_GENERIC_ALL = (MQSEC_RECEIVE_MESSAGE +
MQSEC_RECEIVE_JOURNAL_MESSAGE +
MQSEC_WRITE_MESSAGE +
MQSEC_SET_QUEUE_PROPERTIES +
MQSEC_GET_QUEUE_PROPERTIES +
MQSEC_DELETE_QUEUE +
MQSEC_GET_QUEUE_PERMISSIONS +
MQSEC_CHANGE_QUEUE_PERMISSIONS +
MQSEC_TAKE_QUEUE_OWNERSHIP)
} MQSECFLAGS;
#endif // 0
//
// Return codes
//
#define FACILITY_MQ 0x0E
// #define MQ_E_BASE (0xC0000000 + (FACILITY_MQ << 16))
// #define MQ_I_BASE (0x40000000 + (FACILITY_MQ << 16))
#define MQ_E_BASE (0xC00E0000)
#define MQ_I_BASE (0x400E0000)
//********************************************************************
// E R R O R / S T A T U S C O D E S
//********************************************************************
typedef
#if defined(MQOAHELP)
[helpstringcontext(IDS_MQERROR)]
#endif
enum _MQERROR {
//
// MessageId: MQ_ERROR
//
// MessageText:
//
// GenericError
//
MQ_ERROR = 0xC00E0001,
//
// MessageId: MQ_ERROR_PROPERTY
//
// MessageText:
//
// One or more of the passed properites are invalid.
//
MQ_ERROR_PROPERTY = 0xC00E0002,
//
// MessageId: MQ_ERROR_QUEUE_NOT_FOUND
//
// MessageText:
//
// The queue is not registered in the DS
//
MQ_ERROR_QUEUE_NOT_FOUND = 0xC00E0003,
//
// MessageId: MQ_ERROR_QUEUE_EXISTS
//
// MessageText:
//
// A queue with the same pathname is already registered
//
MQ_ERROR_QUEUE_EXISTS = 0xC00E0005,
//
// MessageId: MQ_ERROR_INVALID_PARAMETER
//
// MessageText:
//
// An invalid parameter passed to a function.
//
MQ_ERROR_INVALID_PARAMETER = 0xC00E0006,
//
// MessageId: MQ_ERROR_INVALID_HANDLE
//
// MessageText:
//
// An invalid handle passed to a function.
//
MQ_ERROR_INVALID_HANDLE = 0xC00E0007,
//
// MessageId: MQ_ERROR_OPERATION_CANCELLED
//
// MessageText:
//
// The operation was cancelled before it could be completed.
//
MQ_ERROR_OPERATION_CANCELLED = 0xC00E0008,
//
// MessageId: MQ_ERROR_SHARING_VIOLATION
//
// MessageText:
//
// Sharing violation. The queue is already opened for exclusive receive.
//
MQ_ERROR_SHARING_VIOLATION = 0xC00E0009,
//
// MessageId: MQ_ERROR_SERVICE_NOT_AVAILABLE
//
// MessageText:
//
// The Message Queues service is not available
//
MQ_ERROR_SERVICE_NOT_AVAILABLE = 0xC00E000B,
//
// MessageId: MQ_ERROR_MACHINE_NOT_FOUND
//
// MessageText:
//
// The specified machine could not be found.
//
MQ_ERROR_MACHINE_NOT_FOUND = 0xC00E000D,
//
// MessageId: MQ_ERROR_ILLEGAL_SORT
//
// MessageText:
//
// Illegal sort specified in MQLocateBegin (e.g., duplicate columns).
//
MQ_ERROR_ILLEGAL_SORT = 0xC00E0010,
//
// MessageId: MQ_ERROR_ILLEGAL_USER
//
// MessageText:
//
// The user is an illegal user.
//
MQ_ERROR_ILLEGAL_USER = 0xC00E0011,
//
// MessageId: MQ_ERROR_UNSUPPORTED_DBMS
//
// MessageText:
//
// Current version of Database Management System is not supported.
//
MQ_ERROR_UNSUPPORTED_DBMS = 0xC00E0012,
//
// MessageId: MQ_ERROR_NO_DS
//
// MessageText:
//
// No connection with this site's controller(s).
//
MQ_ERROR_NO_DS = 0xC00E0013,
//
// MessageId: MQ_ERROR_ILLEGAL_QUEUE_PATHNAME
//
// MessageText:
//
// Illegal queue path name.
//
MQ_ERROR_ILLEGAL_QUEUE_PATHNAME = 0xC00E0014,
//
// MessageId: MQ_ERROR_ILLEGAL_PROPERTY_VALUE
//
// MessageText:
//
// Illegal property value.
//
MQ_ERROR_ILLEGAL_PROPERTY_VALUE = 0xC00E0018,
//
// MessageId: MQ_ERROR_ILLEGAL_PROPERTY_VT
//
// MessageText:
//
// Invalid VARTYPE value.
//
MQ_ERROR_ILLEGAL_PROPERTY_VT = 0xC00E0019,
//
// MessageId: MQ_ERROR_BUFFER_OVERFLOW
//
// MessageText:
//
// The buffer supplied to MQReceiveMessage for message body retrieval
// was too small. The message is not removed from the queue and part
// of the message body that fits in the buffer was copied.
//
MQ_ERROR_BUFFER_OVERFLOW = 0xC00E001A,
//
// MessageId: MQ_ERROR_IO_TIMEOUT
//
// MessageText:
//
// The MQReceiveMessage IO timeout has expired
//
MQ_ERROR_IO_TIMEOUT = 0xC00E001B,
//
// MessageId: MQ_ERROR_ILLEGAL_CURSOR_ACTION
//
// MessageText:
//
// MQ_ACTION_PEEK_NEXT specified to MQReceiveMessage can not be used with
// the current cursor position.
//
MQ_ERROR_ILLEGAL_CURSOR_ACTION = 0xC00E001C,
//
// MessageId: MQ_ERROR_MESSAGE_ALREADY_RECEIVED
//
// MessageText:
//
// A message that is currently pointed at by the cursor has been removed from
// the queue by another process or by another call to MQReceiveMessage
// without the use of this cursor.
//
MQ_ERROR_MESSAGE_ALREADY_RECEIVED = 0xC00E001D,
//
// MessageId: MQ_ERROR_ILLEGAL_FORMATNAME
//
// MessageText:
//
// The given format name is invalid.
//
MQ_ERROR_ILLEGAL_FORMATNAME = 0xC00E001E,
//
// MessageId: MQ_ERROR_FORMATNAME_BUFFER_TOO_SMALL
//
// MessageText:
//
// The format name buffer supplied to the api was too small
// to fit the format name
//
MQ_ERROR_FORMATNAME_BUFFER_TOO_SMALL = 0xC00E001F,
//
// MessageId: MQ_ERROR_UNSUPPORTED_FORMATNAME_OPERATION
//
// MessageText:
//
// The requested operation for the specified format name is not
// supported (e.g., delete a direct queue format name).
//
MQ_ERROR_UNSUPPORTED_FORMATNAME_OPERATION = 0xC00E0020,
//
// MessageId: MQ_ERROR_ILLEGAL_SECURITY_DESCRIPTOR
//
// MessageText:
//
// The specified security descriptor is not a valid security descriptor.
//
MQ_ERROR_ILLEGAL_SECURITY_DESCRIPTOR = 0xC00E0021,
//
// MessageId: MQ_ERROR_SENDERID_BUFFER_TOO_SMALL
//
// MessageText:
//
// The passed buffer for the user ID property is too small.
//
MQ_ERROR_SENDERID_BUFFER_TOO_SMALL = 0xC00E0022,
//
// MessageId: MQ_ERROR_SECURITY_DESCRIPTOR_TOO_SMALL
//
// MessageText:
//
// The size of the buffer passed to MQGetQueueSecurity is too small.
//
MQ_ERROR_SECURITY_DESCRIPTOR_TOO_SMALL = 0xC00E0023,
//
// MessageId: MQ_ERROR_CANNOT_IMPERSONATE_CLIENT
//
// MessageText:
//
// The RPC server can not impersonate the client application, hence security
// credentials could not be verified.
//
MQ_ERROR_CANNOT_IMPERSONATE_CLIENT = 0xC00E0024,
//
// MessageId: MQ_ERROR_ACCESS_DENIED
//
// MessageText:
//
// Access is denied.
//
MQ_ERROR_ACCESS_DENIED = 0xC00E0025,
//
// MessageId: MQ_ERROR_PRIVILEGE_NOT_HELD
//
// MessageText:
//
// Client does not have the required privileges to perform the operation.
//
MQ_ERROR_PRIVILEGE_NOT_HELD = 0xC00E0026,
//
// MessageId: MQ_ERROR_INSUFFICIENT_RESOURCES
//
// MessageText:
//
// Insufficient resources to perform operation.
//
MQ_ERROR_INSUFFICIENT_RESOURCES = 0xC00E0027,
//
// MessageId: MQ_ERROR_USER_BUFFER_TOO_SMALL
//
// MessageText:
//
// Request failed because user buffer is too small to hold the returned information
//
MQ_ERROR_USER_BUFFER_TOO_SMALL = 0xC00E0028,
//
// MessageId: MQ_ERROR_MESSAGE_STORAGE_FAILED
//
// MessageText:
//
// Could not store a recoverable or journal message. Message was not sent
//
MQ_ERROR_MESSAGE_STORAGE_FAILED = 0xC00E002A,
//
// MessageId: MQ_ERROR_SENDER_CERT_BUFFER_TOO_SMALL
//
// MessageText:
//
// The passed buffer for the user certificate property is too small.
//
MQ_ERROR_SENDER_CERT_BUFFER_TOO_SMALL = 0xC00E002B,
//
// MessageId: MQ_ERROR_INVALID_CERTIFICATE
//
// MessageText:
//
// The passed buffer for the user certificate property is too small.
//
MQ_ERROR_INVALID_CERTIFICATE = 0xC00E002C,
//
// MessageId: MQ_ERROR_CORRUPTED_INTERNAL_CERTIFICATE
//
// MessageText:
//
// The internal MSMQ certificate is corrupted.
//
MQ_ERROR_CORRUPTED_INTERNAL_CERTIFICATE = 0xC00E002D,
//
// MessageId: MQ_ERROR_INTERNAL_USER_CERT_EXIST
//
// MessageText:
//
// The internal MSMQ certificate already exist for this user.
//
MQ_ERROR_INTERNAL_USER_CERT_EXIST = 0xC00E002E,
//
// MessageId: MQ_ERROR_NO_INTERNAL_USER_CERT
//
// MessageText:
//
// The internal MSMQ certificate for the user does not exist.
//
MQ_ERROR_NO_INTERNAL_USER_CERT = 0xC00E002F,
//
// MessageId: MQ_ERROR_CORRUPTED_SECURITY_DATA
//
// MessageText:
//
// A cryptogrphic function has failed.
//
MQ_ERROR_CORRUPTED_SECURITY_DATA = 0xC00E0030,
//
// MessageId: MQ_ERROR_CORRUPTED_PERSONAL_CERT_STORE
//
// MessageText:
//
// The personal certificate store is corrupted.
//
MQ_ERROR_CORRUPTED_PERSONAL_CERT_STORE = 0xC00E0031,
//
// MessageId: MQ_ERROR_COMPUTER_DOES_NOT_SUPPORT_ENCRYPTION
//
// MessageText:
//
// The computer does not support encryption operations.
//
MQ_ERROR_COMPUTER_DOES_NOT_SUPPORT_ENCRYPTION = 0xC00E0033,
//
// MessageId: MQ_ERROR_BAD_SECURITY_CONTEXT
//
// MessageText:
//
// Bad security context.
//
MQ_ERROR_BAD_SECURITY_CONTEXT = 0xC00E0035,
//
// MessageId: MQ_ERROR_COULD_NOT_GET_USER_SID
//
// MessageText:
//
// Could not get the SID information out of the thread token.
//
MQ_ERROR_COULD_NOT_GET_USER_SID = 0xC00E0036,
//
// MessageId: MQ_ERROR_COULD_NOT_GET_ACCOUNT_INFO
//
// MessageText:
//
// Could not get the account information for the user.
//
MQ_ERROR_COULD_NOT_GET_ACCOUNT_INFO = 0xC00E0037,
//
// MessageId: MQ_ERROR_ILLEGAL_MQCOLUMNS
//
// MessageText:
//
// Invalid MQCOLUMNS parameter
//
MQ_ERROR_ILLEGAL_MQCOLUMNS = 0xC00E0038,
//
// MessageId: MQ_ERROR_ILLEGAL_PROPID
//
// MessageText:
//
// Invalid propid value
//
MQ_ERROR_ILLEGAL_PROPID = 0xC00E0039,
//
// MessageId: MQ_ERROR_ILLEGAL_RELATION
//
// MessageText:
//
// Invalid relation value in restriction
//
MQ_ERROR_ILLEGAL_RELATION = 0xC00E003A,
//
// MessageId: MQ_ERROR_ILLEGAL_PROPERTY_SIZE
//
// MessageText:
//
// ILLEGAL Property Buffer Size
//
MQ_ERROR_ILLEGAL_PROPERTY_SIZE = 0xC00E003B,
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -