📄 mqoa.tli
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (fe285484).
//
// mqoa.tli
//
// Wrapper implementations for Win32 type library mqoa.dll
// compiler-generated file created 06/09/05 at 16:29:42 - DO NOT EDIT!
#pragma once
//
// interface IMSMQQuery wrapper method implementations
//
inline IMSMQQueueInfosPtr IMSMQQuery::LookupQueue ( VARIANT * QueueGuid, VARIANT * ServiceTypeGuid, VARIANT * Label, VARIANT * CreateTime, VARIANT * ModifyTime, VARIANT * RelServiceType, VARIANT * RelLabel, VARIANT * RelCreateTime, VARIANT * RelModifyTime ) {
struct IMSMQQueueInfos * _result;
HRESULT _hr = raw_LookupQueue(QueueGuid, ServiceTypeGuid, Label, CreateTime, ModifyTime, RelServiceType, RelLabel, RelCreateTime, RelModifyTime, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IMSMQQueueInfosPtr(_result, false);
}
//
// interface IMSMQQueueInfos wrapper method implementations
//
inline HRESULT IMSMQQueueInfos::Reset ( ) {
HRESULT _hr = raw_Reset();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline IMSMQQueueInfoPtr IMSMQQueueInfos::Next ( ) {
struct IMSMQQueueInfo * _result;
HRESULT _hr = raw_Next(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IMSMQQueueInfoPtr(_result, false);
}
//
// interface IMSMQQueueInfo wrapper method implementations
//
inline _bstr_t IMSMQQueueInfo::GetQueueGuid ( ) {
BSTR _result;
HRESULT _hr = get_QueueGuid(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline _bstr_t IMSMQQueueInfo::GetServiceTypeGuid ( ) {
BSTR _result;
HRESULT _hr = get_ServiceTypeGuid(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void IMSMQQueueInfo::PutServiceTypeGuid ( _bstr_t pbstrGuidServiceType ) {
HRESULT _hr = put_ServiceTypeGuid(pbstrGuidServiceType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t IMSMQQueueInfo::GetLabel ( ) {
BSTR _result;
HRESULT _hr = get_Label(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void IMSMQQueueInfo::PutLabel ( _bstr_t pbstrLabel ) {
HRESULT _hr = put_Label(pbstrLabel);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t IMSMQQueueInfo::GetPathName ( ) {
BSTR _result;
HRESULT _hr = get_PathName(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void IMSMQQueueInfo::PutPathName ( _bstr_t pbstrPathName ) {
HRESULT _hr = put_PathName(pbstrPathName);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t IMSMQQueueInfo::GetFormatName ( ) {
BSTR _result;
HRESULT _hr = get_FormatName(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void IMSMQQueueInfo::PutFormatName ( _bstr_t pbstrFormatName ) {
HRESULT _hr = put_FormatName(pbstrFormatName);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline short IMSMQQueueInfo::GetIsTransactional ( ) {
short _result;
HRESULT _hr = get_IsTransactional(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IMSMQQueueInfo::GetPrivLevel ( ) {
long _result;
HRESULT _hr = get_PrivLevel(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IMSMQQueueInfo::PutPrivLevel ( long plPrivLevel ) {
HRESULT _hr = put_PrivLevel(plPrivLevel);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long IMSMQQueueInfo::GetJournal ( ) {
long _result;
HRESULT _hr = get_Journal(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IMSMQQueueInfo::PutJournal ( long plJournal ) {
HRESULT _hr = put_Journal(plJournal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long IMSMQQueueInfo::GetQuota ( ) {
long _result;
HRESULT _hr = get_Quota(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IMSMQQueueInfo::PutQuota ( long plQuota ) {
HRESULT _hr = put_Quota(plQuota);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long IMSMQQueueInfo::GetBasePriority ( ) {
long _result;
HRESULT _hr = get_BasePriority(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IMSMQQueueInfo::PutBasePriority ( long plBasePriority ) {
HRESULT _hr = put_BasePriority(plBasePriority);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _variant_t IMSMQQueueInfo::GetCreateTime ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_CreateTime(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline _variant_t IMSMQQueueInfo::GetModifyTime ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_ModifyTime(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline long IMSMQQueueInfo::GetAuthenticate ( ) {
long _result;
HRESULT _hr = get_Authenticate(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IMSMQQueueInfo::PutAuthenticate ( long plAuthenticate ) {
HRESULT _hr = put_Authenticate(plAuthenticate);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long IMSMQQueueInfo::GetJournalQuota ( ) {
long _result;
HRESULT _hr = get_JournalQuota(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IMSMQQueueInfo::PutJournalQuota ( long plJournalQuota ) {
HRESULT _hr = put_JournalQuota(plJournalQuota);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline short IMSMQQueueInfo::GetIsWorldReadable ( ) {
short _result;
HRESULT _hr = get_IsWorldReadable(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline HRESULT IMSMQQueueInfo::Create ( VARIANT * IsTransactional, VARIANT * IsWorldReadable ) {
HRESULT _hr = raw_Create(IsTransactional, IsWorldReadable);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT IMSMQQueueInfo::Delete ( ) {
HRESULT _hr = raw_Delete();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline IMSMQQueuePtr IMSMQQueueInfo::Open ( long Access, long ShareMode ) {
struct IMSMQQueue * _result;
HRESULT _hr = raw_Open(Access, ShareMode, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IMSMQQueuePtr(_result, false);
}
inline HRESULT IMSMQQueueInfo::Refresh ( ) {
HRESULT _hr = raw_Refresh();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT IMSMQQueueInfo::Update ( ) {
HRESULT _hr = raw_Update();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface IMSMQQueue wrapper method implementations
//
inline long IMSMQQueue::GetAccess ( ) {
long _result;
HRESULT _hr = get_Access(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IMSMQQueue::GetShareMode ( ) {
long _result;
HRESULT _hr = get_ShareMode(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline IMSMQQueueInfoPtr IMSMQQueue::GetQueueInfo ( ) {
struct IMSMQQueueInfo * _result;
HRESULT _hr = get_QueueInfo(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IMSMQQueueInfoPtr(_result, false);
}
inline long IMSMQQueue::GetHandle ( ) {
long _result;
HRESULT _hr = get_Handle(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline short IMSMQQueue::GetIsOpen ( ) {
short _result;
HRESULT _hr = get_IsOpen(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline HRESULT IMSMQQueue::Close ( ) {
HRESULT _hr = raw_Close();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline IMSMQMessagePtr IMSMQQueue::Receive ( VARIANT * Transaction, VARIANT * WantDestinationQueue, VARIANT * WantBody, VARIANT * ReceiveTimeout ) {
struct IMSMQMessage * _result;
HRESULT _hr = raw_Receive(Transaction, WantDestinationQueue, WantBody, ReceiveTimeout, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IMSMQMessagePtr(_result, false);
}
inline IMSMQMessagePtr IMSMQQueue::Peek ( VARIANT * WantDestinationQueue, VARIANT * WantBody, VARIANT * ReceiveTimeout ) {
struct IMSMQMessage * _result;
HRESULT _hr = raw_Peek(WantDestinationQueue, WantBody, ReceiveTimeout, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IMSMQMessagePtr(_result, false);
}
inline HRESULT IMSMQQueue::EnableNotification ( struct IMSMQEvent * Event, VARIANT * Cursor, VARIANT * ReceiveTimeout ) {
HRESULT _hr = raw_EnableNotification(Event, Cursor, ReceiveTimeout);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT IMSMQQueue::Reset ( ) {
HRESULT _hr = raw_Reset();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline IMSMQMessagePtr IMSMQQueue::ReceiveCurrent ( VARIANT * Transaction, VARIANT * WantDestinationQueue, VARIANT * WantBody, VARIANT * ReceiveTimeout ) {
struct IMSMQMessage * _result;
HRESULT _hr = raw_ReceiveCurrent(Transaction, WantDestinationQueue, WantBody, ReceiveTimeout, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IMSMQMessagePtr(_result, false);
}
inline IMSMQMessagePtr IMSMQQueue::PeekNext ( VARIANT * WantDestinationQueue, VARIANT * WantBody, VARIANT * ReceiveTimeout ) {
struct IMSMQMessage * _result;
HRESULT _hr = raw_PeekNext(WantDestinationQueue, WantBody, ReceiveTimeout, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IMSMQMessagePtr(_result, false);
}
inline IMSMQMessagePtr IMSMQQueue::PeekCurrent ( VARIANT * WantDestinationQueue, VARIANT * WantBody, VARIANT * ReceiveTimeout ) {
struct IMSMQMessage * _result;
HRESULT _hr = raw_PeekCurrent(WantDestinationQueue, WantBody, ReceiveTimeout, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IMSMQMessagePtr(_result, false);
}
//
// interface IMSMQMessage wrapper method implementations
//
inline long IMSMQMessage::GetClass ( ) {
long _result;
HRESULT _hr = get_Class(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IMSMQMessage::GetPrivLevel ( ) {
long _result;
HRESULT _hr = get_PrivLevel(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IMSMQMessage::PutPrivLevel ( long plPrivLevel ) {
HRESULT _hr = put_PrivLevel(plPrivLevel);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long IMSMQMessage::GetAuthLevel ( ) {
long _result;
HRESULT _hr = get_AuthLevel(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IMSMQMessage::PutAuthLevel ( long plAuthLevel ) {
HRESULT _hr = put_AuthLevel(plAuthLevel);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline short IMSMQMessage::GetIsAuthenticated ( ) {
short _result;
HRESULT _hr = get_IsAuthenticated(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IMSMQMessage::GetDelivery ( ) {
long _result;
HRESULT _hr = get_Delivery(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IMSMQMessage::PutDelivery ( long plDelivery ) {
HRESULT _hr = put_Delivery(plDelivery);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long IMSMQMessage::GetTrace ( ) {
long _result;
HRESULT _hr = get_Trace(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IMSMQMessage::PutTrace ( long plTrace ) {
HRESULT _hr = put_Trace(plTrace);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long IMSMQMessage::GetPriority ( ) {
long _result;
HRESULT _hr = get_Priority(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IMSMQMessage::PutPriority ( long plPriority ) {
HRESULT _hr = put_Priority(plPriority);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long IMSMQMessage::GetJournal ( ) {
long _result;
HRESULT _hr = get_Journal(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IMSMQMessage::PutJournal ( long plJournal ) {
HRESULT _hr = put_Journal(plJournal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline IMSMQQueueInfoPtr IMSMQMessage::GetResponseQueueInfo ( ) {
struct IMSMQQueueInfo * _result;
HRESULT _hr = get_ResponseQueueInfo(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IMSMQQueueInfoPtr(_result, false);
}
inline void IMSMQMessage::PutRefResponseQueueInfo ( struct IMSMQQueueInfo * ppqinfoResponse ) {
HRESULT _hr = putref_ResponseQueueInfo(ppqinfoResponse);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long IMSMQMessage::GetAppSpecific ( ) {
long _result;
HRESULT _hr = get_AppSpecific(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -