mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 03:15:07 +00:00
629 lines
28 KiB
C
629 lines
28 KiB
C
/**
|
|
* This file has no copyright assigned and is placed in the Public Domain.
|
|
* This file is part of the mingw-w64 runtime package.
|
|
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
|
*/
|
|
#ifndef __MQ_H__
|
|
#define __MQ_H__
|
|
|
|
#ifndef __ITransaction_FWD_DEFINED__
|
|
#define __ITransaction_FWD_DEFINED__
|
|
typedef struct ITransaction ITransaction;
|
|
#endif
|
|
|
|
typedef struct tagPROPVARIANT tagMQPROPVARIANT;
|
|
typedef tagMQPROPVARIANT MQPROPVARIANT;
|
|
|
|
#define PRLT (0)
|
|
#define PRLE (1)
|
|
#define PRGT (2)
|
|
#define PRGE (3)
|
|
#define PREQ (4)
|
|
#define PRNE (5)
|
|
|
|
typedef struct tagMQPROPERTYRESTRICTION {
|
|
ULONG rel;
|
|
PROPID prop;
|
|
MQPROPVARIANT prval;
|
|
} MQPROPERTYRESTRICTION;
|
|
|
|
typedef struct tagMQRESTRICTION {
|
|
ULONG cRes;
|
|
MQPROPERTYRESTRICTION *paPropRes;
|
|
} MQRESTRICTION;
|
|
|
|
typedef struct tagMQCOLUMNSET {
|
|
ULONG cCol;
|
|
PROPID *aCol;
|
|
} MQCOLUMNSET;
|
|
|
|
#define QUERY_SORTASCEND (0)
|
|
#define QUERY_SORTDESCEND (1)
|
|
|
|
typedef struct tagMQSORTKEY {
|
|
PROPID propColumn;
|
|
ULONG dwOrder;
|
|
} MQSORTKEY;
|
|
|
|
typedef struct tagMQSORTSET {
|
|
ULONG cCol;
|
|
MQSORTKEY *aCol;
|
|
} MQSORTSET;
|
|
|
|
typedef HANDLE QUEUEHANDLE;
|
|
typedef PROPID MSGPROPID;
|
|
|
|
typedef struct tagMQMSGPROPS {
|
|
DWORD cProp;
|
|
MSGPROPID *aPropID;
|
|
MQPROPVARIANT *aPropVar;
|
|
HRESULT *aStatus;
|
|
} MQMSGPROPS;
|
|
|
|
typedef PROPID QUEUEPROPID;
|
|
|
|
typedef struct tagMQQUEUEPROPS {
|
|
DWORD cProp;
|
|
QUEUEPROPID *aPropID;
|
|
MQPROPVARIANT *aPropVar;
|
|
HRESULT *aStatus;
|
|
} MQQUEUEPROPS;
|
|
|
|
typedef PROPID QMPROPID;
|
|
|
|
typedef struct tagMQQMPROPS {
|
|
DWORD cProp;
|
|
QMPROPID *aPropID;
|
|
MQPROPVARIANT *aPropVar;
|
|
HRESULT *aStatus;
|
|
} MQQMPROPS;
|
|
|
|
typedef struct tagMQPRIVATEPROPS {
|
|
DWORD cProp;
|
|
QMPROPID *aPropID;
|
|
MQPROPVARIANT *aPropVar;
|
|
HRESULT *aStatus;
|
|
} MQPRIVATEPROPS;
|
|
|
|
typedef PROPID MGMTPROPID;
|
|
|
|
typedef struct tagMQMGMTPROPS {
|
|
DWORD cProp;
|
|
MGMTPROPID *aPropID;
|
|
MQPROPVARIANT *aPropVar;
|
|
HRESULT *aStatus;
|
|
} MQMGMTPROPS;
|
|
|
|
typedef struct tagSEQUENCE_INFO {
|
|
LONGLONG SeqID;
|
|
ULONG SeqNo;
|
|
ULONG PrevNo;
|
|
} SEQUENCE_INFO;
|
|
|
|
#define MQ_RECEIVE_ACCESS 0x00000001
|
|
#define MQ_SEND_ACCESS 0x00000002
|
|
#define MQ_PEEK_ACCESS 0x00000020
|
|
#define MQ_ADMIN_ACCESS 0x00000080
|
|
|
|
#define MQ_DENY_NONE 0x00000000
|
|
#define MQ_DENY_RECEIVE_SHARE 0x00000001
|
|
|
|
#define MQ_ACTION_RECEIVE 0x00000000
|
|
#define MQ_ACTION_PEEK_CURRENT 0x80000000
|
|
#define MQ_ACTION_PEEK_NEXT 0x80000001
|
|
|
|
#define MQ_LOOKUP_PEEK_CURRENT 0x40000010
|
|
#define MQ_LOOKUP_PEEK_NEXT 0x40000011
|
|
#define MQ_LOOKUP_PEEK_PREV 0x40000012
|
|
#define MQ_LOOKUP_PEEK_FIRST 0x40000014
|
|
#define MQ_LOOKUP_PEEK_LAST 0x40000018
|
|
#define MQ_LOOKUP_RECEIVE_CURRENT 0x40000020
|
|
#define MQ_LOOKUP_RECEIVE_NEXT 0x40000021
|
|
#define MQ_LOOKUP_RECEIVE_PREV 0x40000022
|
|
#define MQ_LOOKUP_RECEIVE_FIRST 0x40000024
|
|
#define MQ_LOOKUP_RECEIVE_LAST 0x40000028
|
|
|
|
#define MQ_NO_TRANSACTION NULL
|
|
#define MQ_MTS_TRANSACTION (ITransaction *)1
|
|
#define MQ_XA_TRANSACTION (ITransaction *)2
|
|
#define MQ_SINGLE_MESSAGE (ITransaction *)3
|
|
|
|
#define MQ_MIN_PRIORITY 0
|
|
#define MQ_MAX_PRIORITY 7
|
|
|
|
#define PROPID_M_BASE 0
|
|
#define PROPID_M_CLASS (PROPID_M_BASE + 1)
|
|
#define PROPID_M_MSGID (PROPID_M_BASE + 2)
|
|
#define PROPID_M_CORRELATIONID (PROPID_M_BASE + 3)
|
|
#define PROPID_M_PRIORITY (PROPID_M_BASE + 4)
|
|
#define PROPID_M_DELIVERY (PROPID_M_BASE + 5)
|
|
#define PROPID_M_ACKNOWLEDGE (PROPID_M_BASE + 6)
|
|
#define PROPID_M_JOURNAL (PROPID_M_BASE + 7)
|
|
#define PROPID_M_APPSPECIFIC (PROPID_M_BASE + 8)
|
|
#define PROPID_M_BODY (PROPID_M_BASE + 9)
|
|
#define PROPID_M_BODY_SIZE (PROPID_M_BASE + 10)
|
|
#define PROPID_M_LABEL (PROPID_M_BASE + 11)
|
|
#define PROPID_M_LABEL_LEN (PROPID_M_BASE + 12)
|
|
#define PROPID_M_TIME_TO_REACH_QUEUE (PROPID_M_BASE + 13)
|
|
#define PROPID_M_TIME_TO_BE_RECEIVED (PROPID_M_BASE + 14)
|
|
#define PROPID_M_RESP_QUEUE (PROPID_M_BASE + 15)
|
|
#define PROPID_M_RESP_QUEUE_LEN (PROPID_M_BASE + 16)
|
|
#define PROPID_M_ADMIN_QUEUE (PROPID_M_BASE + 17)
|
|
#define PROPID_M_ADMIN_QUEUE_LEN (PROPID_M_BASE + 18)
|
|
#define PROPID_M_VERSION (PROPID_M_BASE + 19)
|
|
#define PROPID_M_SENDERID (PROPID_M_BASE + 20)
|
|
#define PROPID_M_SENDERID_LEN (PROPID_M_BASE + 21)
|
|
#define PROPID_M_SENDERID_TYPE (PROPID_M_BASE + 22)
|
|
#define PROPID_M_PRIV_LEVEL (PROPID_M_BASE + 23)
|
|
#define PROPID_M_AUTH_LEVEL (PROPID_M_BASE + 24)
|
|
#define PROPID_M_AUTHENTICATED (PROPID_M_BASE + 25)
|
|
#define PROPID_M_HASH_ALG (PROPID_M_BASE + 26)
|
|
#define PROPID_M_ENCRYPTION_ALG (PROPID_M_BASE + 27)
|
|
#define PROPID_M_SENDER_CERT (PROPID_M_BASE + 28)
|
|
#define PROPID_M_SENDER_CERT_LEN (PROPID_M_BASE + 29)
|
|
#define PROPID_M_SRC_MACHINE_ID (PROPID_M_BASE + 30)
|
|
#define PROPID_M_SENTTIME (PROPID_M_BASE + 31)
|
|
#define PROPID_M_ARRIVEDTIME (PROPID_M_BASE + 32)
|
|
#define PROPID_M_DEST_QUEUE (PROPID_M_BASE + 33)
|
|
#define PROPID_M_DEST_QUEUE_LEN (PROPID_M_BASE + 34)
|
|
#define PROPID_M_EXTENSION (PROPID_M_BASE + 35)
|
|
#define PROPID_M_EXTENSION_LEN (PROPID_M_BASE + 36)
|
|
#define PROPID_M_SECURITY_CONTEXT (PROPID_M_BASE + 37)
|
|
#define PROPID_M_CONNECTOR_TYPE (PROPID_M_BASE + 38)
|
|
#define PROPID_M_XACT_STATUS_QUEUE (PROPID_M_BASE + 39)
|
|
#define PROPID_M_XACT_STATUS_QUEUE_LEN (PROPID_M_BASE + 40)
|
|
#define PROPID_M_TRACE (PROPID_M_BASE + 41)
|
|
#define PROPID_M_BODY_TYPE (PROPID_M_BASE + 42)
|
|
#define PROPID_M_DEST_SYMM_KEY (PROPID_M_BASE + 43)
|
|
#define PROPID_M_DEST_SYMM_KEY_LEN (PROPID_M_BASE + 44)
|
|
#define PROPID_M_SIGNATURE (PROPID_M_BASE + 45)
|
|
#define PROPID_M_SIGNATURE_LEN (PROPID_M_BASE + 46)
|
|
#define PROPID_M_PROV_TYPE (PROPID_M_BASE + 47)
|
|
#define PROPID_M_PROV_NAME (PROPID_M_BASE + 48)
|
|
#define PROPID_M_PROV_NAME_LEN (PROPID_M_BASE + 49)
|
|
#define PROPID_M_FIRST_IN_XACT (PROPID_M_BASE + 50)
|
|
#define PROPID_M_LAST_IN_XACT (PROPID_M_BASE + 51)
|
|
#define PROPID_M_XACTID (PROPID_M_BASE + 52)
|
|
#define PROPID_M_AUTHENTICATED_EX (PROPID_M_BASE + 53)
|
|
#define PROPID_M_RESP_FORMAT_NAME (PROPID_M_BASE + 54)
|
|
#define PROPID_M_RESP_FORMAT_NAME_LEN (PROPID_M_BASE + 55)
|
|
#define PROPID_M_DEST_FORMAT_NAME (PROPID_M_BASE + 58)
|
|
#define PROPID_M_DEST_FORMAT_NAME_LEN (PROPID_M_BASE + 59)
|
|
#define PROPID_M_LOOKUPID (PROPID_M_BASE + 60)
|
|
#define PROPID_M_SOAP_ENVELOPE (PROPID_M_BASE + 61)
|
|
#define PROPID_M_SOAP_ENVELOPE_LEN (PROPID_M_BASE + 62)
|
|
#define PROPID_M_COMPOUND_MESSAGE (PROPID_M_BASE + 63)
|
|
#define PROPID_M_COMPOUND_MESSAGE_SIZE (PROPID_M_BASE + 64)
|
|
#define PROPID_M_SOAP_HEADER (PROPID_M_BASE + 65)
|
|
#define PROPID_M_SOAP_BODY (PROPID_M_BASE + 66)
|
|
#define PROPID_M_MSGID_SIZE 20
|
|
#define PROPID_M_CORRELATIONID_SIZE 20
|
|
#define PROPID_M_XACTID_SIZE 20
|
|
|
|
#define MQCLASS_CODE(s,r,code) ((USHORT)(((s) << 15) | ((r) << 14) | (code)))
|
|
#define MQCLASS_NACK(c) ((c) & 0x8000)
|
|
#define MQCLASS_RECEIVE(c) ((c) & 0x4000)
|
|
#define MQCLASS_NACK_HTTP(c) (((c) & 0xA000)==0xA000)
|
|
|
|
#define MQMSG_CLASS_NORMAL MQCLASS_CODE(0,0,0x00)
|
|
#define MQMSG_CLASS_REPORT MQCLASS_CODE(0,0,0x01)
|
|
#define MQMSG_CLASS_ACK_REACH_QUEUE MQCLASS_CODE(0,0,0x02)
|
|
#define MQMSG_CLASS_ACK_RECEIVE MQCLASS_CODE(0,1,0x00)
|
|
#define MQMSG_CLASS_NACK_BAD_DST_Q MQCLASS_CODE(1,0,0x00)
|
|
#define MQMSG_CLASS_NACK_PURGED MQCLASS_CODE(1,0,0x01)
|
|
#define MQMSG_CLASS_NACK_REACH_QUEUE_TIMEOUT MQCLASS_CODE(1,0,0x02)
|
|
#define MQMSG_CLASS_NACK_Q_EXCEED_QUOTA MQCLASS_CODE(1,0,0x03)
|
|
#define MQMSG_CLASS_NACK_ACCESS_DENIED MQCLASS_CODE(1,0,0x04)
|
|
#define MQMSG_CLASS_NACK_HOP_COUNT_EXCEEDED MQCLASS_CODE(1,0,0x05)
|
|
#define MQMSG_CLASS_NACK_BAD_SIGNATURE MQCLASS_CODE(1,0,0x06)
|
|
#define MQMSG_CLASS_NACK_BAD_ENCRYPTION MQCLASS_CODE(1,0,0x07)
|
|
#define MQMSG_CLASS_NACK_COULD_NOT_ENCRYPT MQCLASS_CODE(1,0,0x08)
|
|
#define MQMSG_CLASS_NACK_NOT_TRANSACTIONAL_Q MQCLASS_CODE(1,0,0x09)
|
|
#define MQMSG_CLASS_NACK_NOT_TRANSACTIONAL_MSG MQCLASS_CODE(1,0,0x0A)
|
|
#define MQMSG_CLASS_NACK_UNSUPPORTED_CRYPTO_PROVIDER MQCLASS_CODE(1,0,0x0B)
|
|
#define MQMSG_CLASS_NACK_SOURCE_COMPUTER_GUID_CHANGED MQCLASS_CODE(1,0,0x0C)
|
|
#define MQMSG_CLASS_NACK_Q_DELETED MQCLASS_CODE(1,1,0x00)
|
|
#define MQMSG_CLASS_NACK_Q_PURGED MQCLASS_CODE(1,1,0x01)
|
|
#define MQMSG_CLASS_NACK_RECEIVE_TIMEOUT MQCLASS_CODE(1,1,0x02)
|
|
#define MQMSG_CLASS_NACK_RECEIVE_TIMEOUT_AT_SENDER MQCLASS_CODE(1,1,0x03)
|
|
|
|
#define MQMSG_ACKNOWLEDGMENT_NONE 0x00
|
|
#define MQMSG_ACKNOWLEDGMENT_POS_ARRIVAL 0x01
|
|
#define MQMSG_ACKNOWLEDGMENT_POS_RECEIVE 0x02
|
|
#define MQMSG_ACKNOWLEDGMENT_NEG_ARRIVAL 0x04
|
|
#define MQMSG_ACKNOWLEDGMENT_NEG_RECEIVE 0x08
|
|
|
|
#define MQMSG_ACKNOWLEDGMENT_NACK_REACH_QUEUE ((UCHAR)(MQMSG_ACKNOWLEDGMENT_NEG_ARRIVAL))
|
|
#define MQMSG_ACKNOWLEDGMENT_FULL_REACH_QUEUE ((UCHAR)(MQMSG_ACKNOWLEDGMENT_NEG_ARRIVAL | MQMSG_ACKNOWLEDGMENT_POS_ARRIVAL))
|
|
#define MQMSG_ACKNOWLEDGMENT_NACK_RECEIVE ((UCHAR)(MQMSG_ACKNOWLEDGMENT_NEG_ARRIVAL | MQMSG_ACKNOWLEDGMENT_NEG_RECEIVE))
|
|
#define MQMSG_ACKNOWLEDGMENT_FULL_RECEIVE ((UCHAR)(MQMSG_ACKNOWLEDGMENT_NEG_ARRIVAL | MQMSG_ACKNOWLEDGMENT_NEG_RECEIVE | MQMSG_ACKNOWLEDGMENT_POS_RECEIVE))
|
|
|
|
#define MQMSG_DELIVERY_EXPRESS 0
|
|
#define MQMSG_DELIVERY_RECOVERABLE 1
|
|
|
|
#define MQMSG_JOURNAL_NONE 0
|
|
#define MQMSG_DEADLETTER 1
|
|
#define MQMSG_JOURNAL 2
|
|
|
|
#define MQMSG_TRACE_NONE 0
|
|
#define MQMSG_SEND_ROUTE_TO_REPORT_QUEUE 1
|
|
|
|
#define MQMSG_SENDERID_TYPE_NONE 0
|
|
#define MQMSG_SENDERID_TYPE_SID 1
|
|
|
|
#define MQMSG_PRIV_LEVEL_NONE 0
|
|
#define MQMSG_PRIV_LEVEL_BODY_BASE 0x01
|
|
#define MQMSG_PRIV_LEVEL_BODY_ENHANCED 0x03
|
|
|
|
#define MQMSG_AUTH_LEVEL_NONE 0
|
|
#define MQMSG_AUTH_LEVEL_ALWAYS 1
|
|
|
|
#define MQMSG_AUTH_LEVEL_MSMQ10 2
|
|
#define MQMSG_AUTH_LEVEL_MSMQ20 4
|
|
|
|
#define MQMSG_AUTH_LEVEL_SIG10 2
|
|
#define MQMSG_AUTH_LEVEL_SIG20 4
|
|
#define MQMSG_AUTH_LEVEL_SIG30 8
|
|
|
|
#define MQMSG_AUTHENTICATION_NOT_REQUESTED 0
|
|
#define MQMSG_AUTHENTICATION_REQUESTED 1
|
|
|
|
#define MQMSG_AUTHENTICATION_REQUESTED_EX 3
|
|
|
|
#define MQMSG_AUTHENTICATED_SIG10 1
|
|
#define MQMSG_AUTHENTICATED_SIG20 3
|
|
#define MQMSG_AUTHENTICATED_SIG30 5
|
|
#define MQMSG_AUTHENTICATED_SIGXML 9
|
|
|
|
#define MQMSG_NOT_FIRST_IN_XACT 0
|
|
#define MQMSG_FIRST_IN_XACT 1
|
|
|
|
#define MQMSG_NOT_LAST_IN_XACT 0
|
|
#define MQMSG_LAST_IN_XACT 1
|
|
|
|
#define PROPID_Q_BASE 100
|
|
#define PROPID_Q_INSTANCE (PROPID_Q_BASE + 1)
|
|
#define PROPID_Q_TYPE (PROPID_Q_BASE + 2)
|
|
#define PROPID_Q_PATHNAME (PROPID_Q_BASE + 3)
|
|
#define PROPID_Q_JOURNAL (PROPID_Q_BASE + 4)
|
|
#define PROPID_Q_QUOTA (PROPID_Q_BASE + 5)
|
|
#define PROPID_Q_BASEPRIORITY (PROPID_Q_BASE + 6)
|
|
#define PROPID_Q_JOURNAL_QUOTA (PROPID_Q_BASE + 7)
|
|
#define PROPID_Q_LABEL (PROPID_Q_BASE + 8)
|
|
#define PROPID_Q_CREATE_TIME (PROPID_Q_BASE + 9)
|
|
#define PROPID_Q_MODIFY_TIME (PROPID_Q_BASE + 10)
|
|
#define PROPID_Q_AUTHENTICATE (PROPID_Q_BASE + 11)
|
|
#define PROPID_Q_PRIV_LEVEL (PROPID_Q_BASE + 12)
|
|
#define PROPID_Q_TRANSACTION (PROPID_Q_BASE + 13)
|
|
#define PROPID_Q_PATHNAME_DNS (PROPID_Q_BASE + 24)
|
|
#define PROPID_Q_MULTICAST_ADDRESS (PROPID_Q_BASE + 25)
|
|
#define PROPID_Q_ADS_PATH (PROPID_Q_BASE + 26)
|
|
|
|
#define MQ_JOURNAL_NONE (unsigned char)0
|
|
#define MQ_JOURNAL (unsigned char)1
|
|
|
|
#define MQ_QTYPE_REPORT {0x55ee8f32,0xcce9,0x11cf,{0xb1,0x8,0x0,0x20,0xaf,0xd6,0x1c,0xe9}}
|
|
|
|
#define MQ_QTYPE_TEST {0x55ee8f33,0xcce9,0x11cf,{0xb1,0x8,0x0,0x20,0xaf,0xd6,0x1c,0xe9}}
|
|
|
|
#define MQ_TRANSACTIONAL_NONE (unsigned char)0
|
|
#define MQ_TRANSACTIONAL (unsigned char)1
|
|
|
|
#define MQ_AUTHENTICATE_NONE (unsigned char)0
|
|
#define MQ_AUTHENTICATE (unsigned char)1
|
|
|
|
#define MQ_PRIV_LEVEL_NONE (unsigned __LONG32)0
|
|
#define MQ_PRIV_LEVEL_OPTIONAL (unsigned __LONG32)1
|
|
#define MQ_PRIV_LEVEL_BODY (unsigned __LONG32)2
|
|
|
|
#define PROPID_QM_BASE 200
|
|
|
|
#define PROPID_QM_SITE_ID (PROPID_QM_BASE + 1)
|
|
#define PROPID_QM_MACHINE_ID (PROPID_QM_BASE + 2)
|
|
#define PROPID_QM_PATHNAME (PROPID_QM_BASE + 3)
|
|
#define PROPID_QM_CONNECTION (PROPID_QM_BASE + 4)
|
|
#define PROPID_QM_ENCRYPTION_PK (PROPID_QM_BASE + 5)
|
|
#define PROPID_QM_ENCRYPTION_PK_BASE (PROPID_QM_BASE + 31)
|
|
#define PROPID_QM_ENCRYPTION_PK_ENHANCED (PROPID_QM_BASE + 32)
|
|
#define PROPID_QM_PATHNAME_DNS (PROPID_QM_BASE + 33)
|
|
|
|
#define PROPID_PC_BASE 5800
|
|
|
|
#define PROPID_PC_VERSION (PROPID_PC_BASE + 1)
|
|
#define PROPID_PC_DS_ENABLED (PROPID_PC_BASE + 2)
|
|
|
|
#define PROPID_MGMT_MSMQ_BASE 0
|
|
#define PROPID_MGMT_MSMQ_ACTIVEQUEUES (PROPID_MGMT_MSMQ_BASE + 1)
|
|
#define PROPID_MGMT_MSMQ_PRIVATEQ (PROPID_MGMT_MSMQ_BASE + 2)
|
|
#define PROPID_MGMT_MSMQ_DSSERVER (PROPID_MGMT_MSMQ_BASE + 3)
|
|
#define PROPID_MGMT_MSMQ_CONNECTED (PROPID_MGMT_MSMQ_BASE + 4)
|
|
#define PROPID_MGMT_MSMQ_TYPE (PROPID_MGMT_MSMQ_BASE + 5)
|
|
#define PROPID_MGMT_MSMQ_BYTES_IN_ALL_QUEUES (PROPID_MGMT_QUEUE_BASE + 6)
|
|
|
|
#define MSMQ_CONNECTED L"CONNECTED"
|
|
#define MSMQ_DISCONNECTED L"DISCONNECTED"
|
|
|
|
#define PROPID_MGMT_QUEUE_BASE 0
|
|
#define PROPID_MGMT_QUEUE_PATHNAME (PROPID_MGMT_QUEUE_BASE + 1)
|
|
#define PROPID_MGMT_QUEUE_FORMATNAME (PROPID_MGMT_QUEUE_BASE + 2)
|
|
#define PROPID_MGMT_QUEUE_TYPE (PROPID_MGMT_QUEUE_BASE + 3)
|
|
#define PROPID_MGMT_QUEUE_LOCATION (PROPID_MGMT_QUEUE_BASE + 4)
|
|
#define PROPID_MGMT_QUEUE_XACT (PROPID_MGMT_QUEUE_BASE + 5)
|
|
#define PROPID_MGMT_QUEUE_FOREIGN (PROPID_MGMT_QUEUE_BASE + 6)
|
|
#define PROPID_MGMT_QUEUE_MESSAGE_COUNT (PROPID_MGMT_QUEUE_BASE + 7)
|
|
#define PROPID_MGMT_QUEUE_BYTES_IN_QUEUE (PROPID_MGMT_QUEUE_BASE + 8)
|
|
#define PROPID_MGMT_QUEUE_JOURNAL_MESSAGE_COUNT (PROPID_MGMT_QUEUE_BASE + 9)
|
|
#define PROPID_MGMT_QUEUE_BYTES_IN_JOURNAL (PROPID_MGMT_QUEUE_BASE + 10)
|
|
#define PROPID_MGMT_QUEUE_STATE (PROPID_MGMT_QUEUE_BASE + 11)
|
|
#define PROPID_MGMT_QUEUE_NEXTHOPS (PROPID_MGMT_QUEUE_BASE + 12)
|
|
#define PROPID_MGMT_QUEUE_EOD_LAST_ACK (PROPID_MGMT_QUEUE_BASE + 13)
|
|
#define PROPID_MGMT_QUEUE_EOD_LAST_ACK_TIME (PROPID_MGMT_QUEUE_BASE + 14)
|
|
#define PROPID_MGMT_QUEUE_EOD_LAST_ACK_COUNT (PROPID_MGMT_QUEUE_BASE + 15)
|
|
#define PROPID_MGMT_QUEUE_EOD_FIRST_NON_ACK (PROPID_MGMT_QUEUE_BASE + 16)
|
|
#define PROPID_MGMT_QUEUE_EOD_LAST_NON_ACK (PROPID_MGMT_QUEUE_BASE + 17)
|
|
#define PROPID_MGMT_QUEUE_EOD_NEXT_SEQ (PROPID_MGMT_QUEUE_BASE + 18)
|
|
#define PROPID_MGMT_QUEUE_EOD_NO_READ_COUNT (PROPID_MGMT_QUEUE_BASE + 19)
|
|
#define PROPID_MGMT_QUEUE_EOD_NO_ACK_COUNT (PROPID_MGMT_QUEUE_BASE + 20)
|
|
#define PROPID_MGMT_QUEUE_EOD_RESEND_TIME (PROPID_MGMT_QUEUE_BASE + 21)
|
|
#define PROPID_MGMT_QUEUE_EOD_RESEND_INTERVAL (PROPID_MGMT_QUEUE_BASE + 22)
|
|
#define PROPID_MGMT_QUEUE_EOD_RESEND_COUNT (PROPID_MGMT_QUEUE_BASE + 23)
|
|
#define PROPID_MGMT_QUEUE_EOD_SOURCE_INFO (PROPID_MGMT_QUEUE_BASE + 24)
|
|
|
|
#define PROPID_MGMT_QUEUE_USED_QUOTA PROPID_MGMT_QUEUE_BYTES_IN_QUEUE
|
|
#define PROPID_MGMT_QUEUE_JOURNAL_USED_QUOTA PROPID_MGMT_QUEUE_BYTES_IN_JOURNAL
|
|
|
|
#define MGMT_QUEUE_TYPE_PUBLIC L"PUBLIC"
|
|
#define MGMT_QUEUE_TYPE_PRIVATE L"PRIVATE"
|
|
#define MGMT_QUEUE_TYPE_MACHINE L"MACHINE"
|
|
#define MGMT_QUEUE_TYPE_CONNECTOR L"CONNECTOR"
|
|
#define MGMT_QUEUE_TYPE_MULTICAST L"MULTICAST"
|
|
|
|
#define MGMT_QUEUE_STATE_LOCAL L"LOCAL CONNECTION"
|
|
#define MGMT_QUEUE_STATE_NONACTIVE L"INACTIVE"
|
|
#define MGMT_QUEUE_STATE_WAITING L"WAITING"
|
|
#define MGMT_QUEUE_STATE_NEED_VALIDATE L"NEED VALIDATION"
|
|
#define MGMT_QUEUE_STATE_ONHOLD L"ONHOLD"
|
|
#define MGMT_QUEUE_STATE_CONNECTED L"CONNECTED"
|
|
#define MGMT_QUEUE_STATE_DISCONNECTING L"DISCONNECTING"
|
|
#define MGMT_QUEUE_STATE_DISCONNECTED L"DISCONNECTED"
|
|
#define MGMT_QUEUE_STATE_LOCKED L"LOCKED"
|
|
|
|
#define MGMT_QUEUE_LOCAL_LOCATION L"LOCAL"
|
|
#define MGMT_QUEUE_REMOTE_LOCATION L"REMOTE"
|
|
|
|
#define MGMT_QUEUE_UNKNOWN_TYPE L"UNKNOWN"
|
|
|
|
#define MGMT_QUEUE_CORRECT_TYPE L"YES"
|
|
#define MGMT_QUEUE_INCORRECT_TYPE L"NO"
|
|
|
|
#define MGMT_QUEUE_TRANSACTIONAL_TYPE L"YES"
|
|
#define MGMT_QUEUE_NOT_TRANSACTIONAL_TYPE L"NO"
|
|
|
|
#define MGMT_QUEUE_FOREIGN_TYPE L"YES"
|
|
#define MGMT_QUEUE_NOT_FOREIGN_TYPE L"NO"
|
|
|
|
#define MO_MACHINE_TOKEN L"MACHINE"
|
|
#define MO_QUEUE_TOKEN L"QUEUE"
|
|
|
|
#define MACHINE_ACTION_CONNECT L"CONNECT"
|
|
#define MACHINE_ACTION_DISCONNECT L"DISCONNECT"
|
|
#define MACHINE_ACTION_TIDY L"TIDY"
|
|
|
|
#define QUEUE_ACTION_PAUSE L"PAUSE"
|
|
#define QUEUE_ACTION_RESUME L"RESUME"
|
|
#define QUEUE_ACTION_EOD_RESEND L"EOD_RESEND"
|
|
|
|
#define LONG_LIVED 0xfffffffe
|
|
|
|
#define MQ_MAX_Q_NAME_LEN 124
|
|
#define MQ_MAX_Q_LABEL_LEN 124
|
|
#define MQ_MAX_MSG_LABEL_LEN 250
|
|
|
|
#define MQ_OK ((HRESULT)0)
|
|
|
|
#define MQ_INFORMATION_PROPERTY ((HRESULT)0x400E0001)
|
|
#define MQ_INFORMATION_ILLEGAL_PROPERTY ((HRESULT)0x400E0002)
|
|
#define MQ_INFORMATION_PROPERTY_IGNORED ((HRESULT)0x400E0003)
|
|
#define MQ_INFORMATION_UNSUPPORTED_PROPERTY ((HRESULT)0x400E0004)
|
|
#define MQ_INFORMATION_DUPLICATE_PROPERTY ((HRESULT)0x400E0005)
|
|
#define MQ_INFORMATION_OPERATION_PENDING ((HRESULT)0x400E0006)
|
|
#define MQ_INFORMATION_FORMATNAME_BUFFER_TOO_SMALL ((HRESULT)0x400E0009)
|
|
#define MQ_INFORMATION_INTERNAL_USER_CERT_EXIST ((HRESULT)0x400E000A)
|
|
#define MQ_INFORMATION_OWNER_IGNORED ((HRESULT)0x400E000B)
|
|
|
|
#define MQ_ERROR ((HRESULT)0xC00E0001)
|
|
#define MQ_ERROR_PROPERTY ((HRESULT)0xC00E0002)
|
|
#define MQ_ERROR_QUEUE_NOT_FOUND ((HRESULT)0xC00E0003)
|
|
#define MQ_ERROR_QUEUE_NOT_ACTIVE ((HRESULT)0xC00E0004)
|
|
#define MQ_ERROR_QUEUE_EXISTS ((HRESULT)0xC00E0005)
|
|
#define MQ_ERROR_INVALID_PARAMETER ((HRESULT)0xC00E0006)
|
|
#define MQ_ERROR_INVALID_HANDLE ((HRESULT)0xC00E0007)
|
|
#define MQ_ERROR_OPERATION_CANCELLED ((HRESULT)0xC00E0008)
|
|
#define MQ_ERROR_SHARING_VIOLATION ((HRESULT)0xC00E0009)
|
|
#define MQ_ERROR_SERVICE_NOT_AVAILABLE ((HRESULT)0xC00E000B)
|
|
#define MQ_ERROR_MACHINE_NOT_FOUND ((HRESULT)0xC00E000D)
|
|
#define MQ_ERROR_ILLEGAL_SORT ((HRESULT)0xC00E0010)
|
|
#define MQ_ERROR_ILLEGAL_USER ((HRESULT)0xC00E0011)
|
|
#define MQ_ERROR_NO_DS ((HRESULT)0xC00E0013)
|
|
#define MQ_ERROR_ILLEGAL_QUEUE_PATHNAME ((HRESULT)0xC00E0014)
|
|
#define MQ_ERROR_ILLEGAL_PROPERTY_VALUE ((HRESULT)0xC00E0018)
|
|
#define MQ_ERROR_ILLEGAL_PROPERTY_VT ((HRESULT)0xC00E0019)
|
|
#define MQ_ERROR_BUFFER_OVERFLOW ((HRESULT)0xC00E001A)
|
|
#define MQ_ERROR_IO_TIMEOUT ((HRESULT)0xC00E001B)
|
|
#define MQ_ERROR_ILLEGAL_CURSOR_ACTION ((HRESULT)0xC00E001C)
|
|
#define MQ_ERROR_MESSAGE_ALREADY_RECEIVED ((HRESULT)0xC00E001D)
|
|
#define MQ_ERROR_ILLEGAL_FORMATNAME ((HRESULT)0xC00E001E)
|
|
#define MQ_ERROR_FORMATNAME_BUFFER_TOO_SMALL ((HRESULT)0xC00E001F)
|
|
#define MQ_ERROR_UNSUPPORTED_FORMATNAME_OPERATION ((HRESULT)0xC00E0020)
|
|
#define MQ_ERROR_ILLEGAL_SECURITY_DESCRIPTOR ((HRESULT)0xC00E0021)
|
|
#define MQ_ERROR_SENDERID_BUFFER_TOO_SMALL ((HRESULT)0xC00E0022)
|
|
#define MQ_ERROR_SECURITY_DESCRIPTOR_TOO_SMALL ((HRESULT)0xC00E0023)
|
|
#define MQ_ERROR_CANNOT_IMPERSONATE_CLIENT ((HRESULT)0xC00E0024)
|
|
#define MQ_ERROR_ACCESS_DENIED ((HRESULT)0xC00E0025)
|
|
#define MQ_ERROR_PRIVILEGE_NOT_HELD ((HRESULT)0xC00E0026)
|
|
#define MQ_ERROR_INSUFFICIENT_RESOURCES ((HRESULT)0xC00E0027)
|
|
#define MQ_ERROR_USER_BUFFER_TOO_SMALL ((HRESULT)0xC00E0028)
|
|
#define MQ_ERROR_MESSAGE_STORAGE_FAILED ((HRESULT)0xC00E002A)
|
|
#define MQ_ERROR_SENDER_CERT_BUFFER_TOO_SMALL ((HRESULT)0xC00E002B)
|
|
#define MQ_ERROR_INVALID_CERTIFICATE ((HRESULT)0xC00E002C)
|
|
#define MQ_ERROR_CORRUPTED_INTERNAL_CERTIFICATE ((HRESULT)0xC00E002D)
|
|
#define MQ_ERROR_INTERNAL_USER_CERT_EXIST ((HRESULT)0xC00E002E)
|
|
#define MQ_ERROR_NO_INTERNAL_USER_CERT ((HRESULT)0xC00E002F)
|
|
#define MQ_ERROR_CORRUPTED_SECURITY_DATA ((HRESULT)0xC00E0030)
|
|
#define MQ_ERROR_CORRUPTED_PERSONAL_CERT_STORE ((HRESULT)0xC00E0031)
|
|
#define MQ_ERROR_COMPUTER_DOES_NOT_SUPPORT_ENCRYPTION ((HRESULT)0xC00E0033)
|
|
#define MQ_ERROR_BAD_SECURITY_CONTEXT ((HRESULT)0xC00E0035)
|
|
#define MQ_ERROR_COULD_NOT_GET_USER_SID ((HRESULT)0xC00E0036)
|
|
#define MQ_ERROR_COULD_NOT_GET_ACCOUNT_INFO ((HRESULT)0xC00E0037)
|
|
#define MQ_ERROR_ILLEGAL_MQCOLUMNS ((HRESULT)0xC00E0038)
|
|
#define MQ_ERROR_ILLEGAL_PROPID ((HRESULT)0xC00E0039)
|
|
#define MQ_ERROR_ILLEGAL_RELATION ((HRESULT)0xC00E003A)
|
|
#define MQ_ERROR_ILLEGAL_PROPERTY_SIZE ((HRESULT)0xC00E003B)
|
|
#define MQ_ERROR_ILLEGAL_RESTRICTION_PROPID ((HRESULT)0xC00E003C)
|
|
#define MQ_ERROR_ILLEGAL_MQQUEUEPROPS ((HRESULT)0xC00E003D)
|
|
#define MQ_ERROR_PROPERTY_NOTALLOWED ((HRESULT)0xC00E003E)
|
|
#define MQ_ERROR_INSUFFICIENT_PROPERTIES ((HRESULT)0xC00E003F)
|
|
#define MQ_ERROR_MACHINE_EXISTS ((HRESULT)0xC00E0040)
|
|
#define MQ_ERROR_ILLEGAL_MQQMPROPS ((HRESULT)0xC00E0041)
|
|
#define MQ_ERROR_DS_IS_FULL ((HRESULT)0xC00E0042)
|
|
#define MQ_ERROR_DS_ERROR ((HRESULT)0xC00E0043)
|
|
#define MQ_ERROR_INVALID_OWNER ((HRESULT)0xC00E0044)
|
|
#define MQ_ERROR_UNSUPPORTED_ACCESS_MODE ((HRESULT)0xC00E0045)
|
|
#define MQ_ERROR_RESULT_BUFFER_TOO_SMALL ((HRESULT)0xC00E0046)
|
|
#define MQ_ERROR_DELETE_CN_IN_USE ((HRESULT)0xC00E0048)
|
|
#define MQ_ERROR_NO_RESPONSE_FROM_OBJECT_SERVER ((HRESULT)0xC00E0049)
|
|
#define MQ_ERROR_OBJECT_SERVER_NOT_AVAILABLE ((HRESULT)0xC00E004A)
|
|
#define MQ_ERROR_QUEUE_NOT_AVAILABLE ((HRESULT)0xC00E004B)
|
|
#define MQ_ERROR_DTC_CONNECT ((HRESULT)0xC00E004C)
|
|
#define MQ_ERROR_TRANSACTION_IMPORT ((HRESULT)0xC00E004E)
|
|
#define MQ_ERROR_TRANSACTION_USAGE ((HRESULT)0xC00E0050)
|
|
#define MQ_ERROR_TRANSACTION_SEQUENCE ((HRESULT)0xC00E0051)
|
|
#define MQ_ERROR_MISSING_CONNECTOR_TYPE ((HRESULT)0xC00E0055)
|
|
#define MQ_ERROR_STALE_HANDLE ((HRESULT)0xC00E0056)
|
|
#define MQ_ERROR_TRANSACTION_ENLIST ((HRESULT)0xC00E0058)
|
|
#define MQ_ERROR_QUEUE_DELETED ((HRESULT)0xC00E005A)
|
|
#define MQ_ERROR_ILLEGAL_CONTEXT ((HRESULT)0xC00E005B)
|
|
#define MQ_ERROR_ILLEGAL_SORT_PROPID ((HRESULT)0xC00E005C)
|
|
#define MQ_ERROR_LABEL_TOO_LONG ((HRESULT)0xC00E005D)
|
|
#define MQ_ERROR_LABEL_BUFFER_TOO_SMALL ((HRESULT)0xC00E005E)
|
|
#define MQ_ERROR_MQIS_SERVER_EMPTY ((HRESULT)0xC00E005F)
|
|
#define MQ_ERROR_MQIS_READONLY_MODE ((HRESULT)0xC00E0060)
|
|
#define MQ_ERROR_SYMM_KEY_BUFFER_TOO_SMALL ((HRESULT)0xC00E0061)
|
|
#define MQ_ERROR_SIGNATURE_BUFFER_TOO_SMALL ((HRESULT)0xC00E0062)
|
|
#define MQ_ERROR_PROV_NAME_BUFFER_TOO_SMALL ((HRESULT)0xC00E0063)
|
|
#define MQ_ERROR_ILLEGAL_OPERATION ((HRESULT)0xC00E0064)
|
|
#define MQ_ERROR_WRITE_NOT_ALLOWED ((HRESULT)0xC00E0065)
|
|
#define MQ_ERROR_WKS_CANT_SERVE_CLIENT ((HRESULT)0xC00E0066)
|
|
#define MQ_ERROR_DEPEND_WKS_LICENSE_OVERFLOW ((HRESULT)0xC00E0067)
|
|
#define MQ_CORRUPTED_QUEUE_WAS_DELETED ((HRESULT)0xC00E0068)
|
|
#define MQ_ERROR_REMOTE_MACHINE_NOT_AVAILABLE ((HRESULT)0xC00E0069)
|
|
#define MQ_ERROR_UNSUPPORTED_OPERATION ((HRESULT)0xC00E006A)
|
|
#define MQ_ERROR_ENCRYPTION_PROVIDER_NOT_SUPPORTED ((HRESULT)0xC00E006B)
|
|
#define MQ_ERROR_CANNOT_SET_CRYPTO_SEC_DESCR ((HRESULT)0xC00E006C)
|
|
#define MQ_ERROR_CERTIFICATE_NOT_PROVIDED ((HRESULT)0xC00E006D)
|
|
#define MQ_ERROR_Q_DNS_PROPERTY_NOT_SUPPORTED ((HRESULT)0xC00E006E)
|
|
#define MQ_ERROR_CANNOT_CREATE_CERT_STORE ((HRESULT)0xC00E006F)
|
|
#define MQ_ERROR_CANNOT_OPEN_CERT_STORE ((HRESULT)0xC00E0070)
|
|
#define MQ_ERROR_ILLEGAL_ENTERPRISE_OPERATION ((HRESULT)0xC00E0071)
|
|
#define MQ_ERROR_CANNOT_GRANT_ADD_GUID ((HRESULT)0xC00E0072)
|
|
#define MQ_ERROR_CANNOT_LOAD_MSMQOCM ((HRESULT)0xC00E0073)
|
|
#define MQ_ERROR_NO_ENTRY_POINT_MSMQOCM ((HRESULT)0xC00E0074)
|
|
#define MQ_ERROR_NO_MSMQ_SERVERS_ON_DC ((HRESULT)0xC00E0075)
|
|
#define MQ_ERROR_CANNOT_JOIN_DOMAIN ((HRESULT)0xC00E0076)
|
|
#define MQ_ERROR_CANNOT_CREATE_ON_GC ((HRESULT)0xC00E0077)
|
|
#define MQ_ERROR_GUID_NOT_MATCHING ((HRESULT)0xC00E0078)
|
|
#define MQ_ERROR_PUBLIC_KEY_NOT_FOUND ((HRESULT)0xC00E0079)
|
|
#define MQ_ERROR_PUBLIC_KEY_DOES_NOT_EXIST ((HRESULT)0xC00E007A)
|
|
#define MQ_ERROR_ILLEGAL_MQPRIVATEPROPS ((HRESULT)0xC00E007B)
|
|
#define MQ_ERROR_NO_GC_IN_DOMAIN ((HRESULT)0xC00E007C)
|
|
#define MQ_ERROR_NO_MSMQ_SERVERS_ON_GC ((HRESULT)0xC00E007D)
|
|
#define MQ_ERROR_CANNOT_GET_DN ((HRESULT)0xC00E007E)
|
|
#define MQ_ERROR_CANNOT_HASH_DATA_EX ((HRESULT)0xC00E007F)
|
|
#define MQ_ERROR_CANNOT_SIGN_DATA_EX ((HRESULT)0xC00E0080)
|
|
#define MQ_ERROR_CANNOT_CREATE_HASH_EX ((HRESULT)0xC00E0081)
|
|
#define MQ_ERROR_FAIL_VERIFY_SIGNATURE_EX ((HRESULT)0xC00E0082)
|
|
#define MQ_ERROR_CANNOT_DELETE_PSC_OBJECTS ((HRESULT)0xC00E0083)
|
|
#define MQ_ERROR_NO_MQUSER_OU ((HRESULT)0xC00E0084)
|
|
#define MQ_ERROR_CANNOT_LOAD_MQAD ((HRESULT)0xC00E0085)
|
|
#define MQ_ERROR_CANNOT_LOAD_MQDSSRV ((HRESULT)0xC00E0086)
|
|
#define MQ_ERROR_PROPERTIES_CONFLICT ((HRESULT)0xC00E0087)
|
|
#define MQ_ERROR_MESSAGE_NOT_FOUND ((HRESULT)0xC00E0088)
|
|
#define MQ_ERROR_CANT_RESOLVE_SITES ((HRESULT)0xC00E0089)
|
|
#define MQ_ERROR_NOT_SUPPORTED_BY_DEPENDENT_CLIENTS ((HRESULT)0xC00E008A)
|
|
#define MQ_ERROR_OPERATION_NOT_SUPPORTED_BY_REMOTE_COMPUTER ((HRESULT)0xC00E008B)
|
|
#define MQ_ERROR_NOT_A_CORRECT_OBJECT_CLASS ((HRESULT)0xC00E008C)
|
|
#define MQ_ERROR_MULTI_SORT_KEYS ((HRESULT)0xC00E008D)
|
|
#define MQ_ERROR_GC_NEEDED ((HRESULT)0xC00E008E)
|
|
#define MQ_ERROR_DS_BIND_ROOT_FOREST ((HRESULT)0xC00E008F)
|
|
#define MQ_ERROR_DS_LOCAL_USER ((HRESULT)0xC00E0090)
|
|
#define MQ_ERROR_Q_ADS_PROPERTY_NOT_SUPPORTED ((HRESULT)0xC00E0091)
|
|
#define MQ_ERROR_BAD_XML_FORMAT ((HRESULT)0xC00E0092)
|
|
#define MQ_ERROR_UNSUPPORTED_CLASS ((HRESULT)0xC00E0093)
|
|
#define MQ_ERROR_UNINITIALIZED_OBJECT ((HRESULT)0xC00E0094)
|
|
#define MQ_ERROR_CANNOT_CREATE_PSC_OBJECTS ((HRESULT)0xC00E0095)
|
|
#define MQ_ERROR_CANNOT_UPDATE_PSC_OBJECTS ((HRESULT)0xC00E0096)
|
|
|
|
#define MQCERT_REGISTER_ALWAYS 0x01
|
|
#define MQCERT_REGISTER_IF_NOT_EXIST 0x02
|
|
|
|
#define MQSEC_DELETE_MESSAGE 0x1
|
|
#define MQSEC_PEEK_MESSAGE 0x2
|
|
#define MQSEC_WRITE_MESSAGE 0x4
|
|
#define MQSEC_DELETE_JOURNAL_MESSAGE 0x8
|
|
#define MQSEC_SET_QUEUE_PROPERTIES 0x10
|
|
#define MQSEC_GET_QUEUE_PROPERTIES 0x20
|
|
#define MQSEC_DELETE_QUEUE DELETE
|
|
#define MQSEC_GET_QUEUE_PERMISSIONS READ_CONTROL
|
|
#define MQSEC_CHANGE_QUEUE_PERMISSIONS WRITE_DAC
|
|
#define MQSEC_TAKE_QUEUE_OWNERSHIP WRITE_OWNER
|
|
|
|
#define MQSEC_RECEIVE_MESSAGE (MQSEC_DELETE_MESSAGE | MQSEC_PEEK_MESSAGE)
|
|
#define MQSEC_RECEIVE_JOURNAL_MESSAGE (MQSEC_DELETE_JOURNAL_MESSAGE | MQSEC_PEEK_MESSAGE)
|
|
#define MQSEC_QUEUE_GENERIC_READ (MQSEC_GET_QUEUE_PROPERTIES | MQSEC_GET_QUEUE_PERMISSIONS | MQSEC_RECEIVE_MESSAGE | MQSEC_RECEIVE_JOURNAL_MESSAGE)
|
|
#define MQSEC_QUEUE_GENERIC_WRITE (MQSEC_GET_QUEUE_PROPERTIES | MQSEC_GET_QUEUE_PERMISSIONS | MQSEC_WRITE_MESSAGE)
|
|
#define MQSEC_QUEUE_GENERIC_EXECUTE 0
|
|
#define 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)
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef VOID (WINAPI *PMQRECEIVECALLBACK)(HRESULT hrStatus,QUEUEHANDLE hSource,DWORD dwTimeout,DWORD dwAction,MQMSGPROPS *pMessageProps,LPOVERLAPPED lpOverlapped,HANDLE hCursor);
|
|
|
|
HRESULT WINAPI MQCreateQueue(PSECURITY_DESCRIPTOR pSecurityDescriptor,MQQUEUEPROPS *pQueueProps,LPWSTR lpwcsFormatName,LPDWORD lpdwFormatNameLength);
|
|
HRESULT WINAPI MQDeleteQueue(LPCWSTR lpwcsFormatName);
|
|
HRESULT WINAPI MQLocateBegin(LPCWSTR lpwcsContext,MQRESTRICTION *pRestriction,MQCOLUMNSET *pColumns,MQSORTSET *pSort,PHANDLE phEnum);
|
|
HRESULT WINAPI MQLocateNext(HANDLE hEnum,DWORD *pcProps,MQPROPVARIANT aPropVar[]);
|
|
HRESULT WINAPI MQLocateEnd(HANDLE hEnum);
|
|
HRESULT WINAPI MQOpenQueue(LPCWSTR lpwcsFormatName,DWORD dwAccess,DWORD dwShareMode,QUEUEHANDLE *phQueue);
|
|
HRESULT WINAPI MQSendMessage(QUEUEHANDLE hDestinationQueue,MQMSGPROPS *pMessageProps,ITransaction *pTransaction);
|
|
HRESULT WINAPI MQReceiveMessage(QUEUEHANDLE hSource,DWORD dwTimeout,DWORD dwAction,MQMSGPROPS *pMessageProps,LPOVERLAPPED lpOverlapped,PMQRECEIVECALLBACK fnReceiveCallback,HANDLE hCursor,ITransaction *pTransaction);
|
|
HRESULT WINAPI MQReceiveMessageByLookupId(QUEUEHANDLE hSource,ULONGLONG ullLookupId,DWORD dwLookupAction,MQMSGPROPS *pMessageProps,LPOVERLAPPED lpOverlapped,PMQRECEIVECALLBACK fnReceiveCallback,ITransaction *pTransaction);
|
|
HRESULT WINAPI MQCreateCursor(QUEUEHANDLE hQueue,PHANDLE phCursor);
|
|
HRESULT WINAPI MQCloseCursor(HANDLE hCursor);
|
|
HRESULT WINAPI MQCloseQueue(QUEUEHANDLE hQueue);
|
|
HRESULT WINAPI MQSetQueueProperties(LPCWSTR lpwcsFormatName,MQQUEUEPROPS *pQueueProps);
|
|
HRESULT WINAPI MQGetQueueProperties(LPCWSTR lpwcsFormatName,MQQUEUEPROPS *pQueueProps);
|
|
HRESULT WINAPI MQGetQueueSecurity(LPCWSTR lpwcsFormatName,SECURITY_INFORMATION RequestedInformation,PSECURITY_DESCRIPTOR pSecurityDescriptor,DWORD nLength,LPDWORD lpnLengthNeeded);
|
|
HRESULT WINAPI MQSetQueueSecurity(LPCWSTR lpwcsFormatName,SECURITY_INFORMATION SecurityInformation,PSECURITY_DESCRIPTOR pSecurityDescriptor);
|
|
HRESULT WINAPI MQPathNameToFormatName(LPCWSTR lpwcsPathName,LPWSTR lpwcsFormatName,LPDWORD lpdwFormatNameLength);
|
|
HRESULT WINAPI MQHandleToFormatName(QUEUEHANDLE hQueue,LPWSTR lpwcsFormatName,LPDWORD lpdwFormatNameLength);
|
|
HRESULT WINAPI MQInstanceToFormatName(GUID *pGuid,LPWSTR lpwcsFormatName,LPDWORD lpdwFormatNameLength);
|
|
HRESULT WINAPI MQADsPathToFormatName(LPCWSTR lpwcsADsPath,LPWSTR lpwcsFormatName,LPDWORD lpdwFormatNameLength);
|
|
VOID WINAPI MQFreeMemory(PVOID pvMemory);
|
|
HRESULT WINAPI MQGetMachineProperties(LPCWSTR lpwcsMachineName,const GUID *pguidMachineId,MQQMPROPS *pQMProps);
|
|
HRESULT WINAPI MQGetSecurityContext(PVOID lpCertBuffer,DWORD dwCertBufferLength,HANDLE *phSecurityContext);
|
|
HRESULT WINAPI MQGetSecurityContextEx(PVOID lpCertBuffer,DWORD dwCertBufferLength,HANDLE *phSecurityContext);
|
|
VOID WINAPI MQFreeSecurityContext(HANDLE hSecurityContext);
|
|
HRESULT WINAPI MQRegisterCertificate(DWORD dwFlags,PVOID lpCertBuffer,DWORD dwCertBufferLength);
|
|
HRESULT WINAPI MQBeginTransaction(ITransaction **ppTransaction);
|
|
HRESULT WINAPI MQGetOverlappedResult(LPOVERLAPPED lpOverlapped);
|
|
HRESULT WINAPI MQGetPrivateComputerInformation(LPCWSTR lpwcsComputerName,MQPRIVATEPROPS *pPrivateProps);
|
|
HRESULT WINAPI MQPurgeQueue(QUEUEHANDLE hQueue);
|
|
HRESULT WINAPI MQMgmtGetInfo(LPCWSTR pComputerName,LPCWSTR pObjectName,MQMGMTPROPS *pMgmtProps);
|
|
HRESULT WINAPI MQMgmtAction(LPCWSTR pComputerName,LPCWSTR pObjectName,LPCWSTR pAction);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|