⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mqoa.tlh

📁 短信开发源码
💻 TLH
📖 第 1 页 / 共 5 页
字号:
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Access (
        long * plAccess ) = 0;
    virtual HRESULT __stdcall get_ShareMode (
        long * plShareMode ) = 0;
    virtual HRESULT __stdcall get_QueueInfo (
        struct IMSMQQueueInfo * * ppqinfo ) = 0;
    virtual HRESULT __stdcall get_Handle (
        long * plHandle ) = 0;
    virtual HRESULT __stdcall get_IsOpen (
        short * pisOpen ) = 0;
    virtual HRESULT __stdcall raw_Close ( ) = 0;
    virtual HRESULT __stdcall raw_Receive (
        VARIANT * Transaction,
        VARIANT * WantDestinationQueue,
        VARIANT * WantBody,
        VARIANT * ReceiveTimeout,
        struct IMSMQMessage * * ppmsg ) = 0;
    virtual HRESULT __stdcall raw_Peek (
        VARIANT * WantDestinationQueue,
        VARIANT * WantBody,
        VARIANT * ReceiveTimeout,
        struct IMSMQMessage * * ppmsg ) = 0;
    virtual HRESULT __stdcall raw_EnableNotification (
        struct IMSMQEvent * Event,
        VARIANT * Cursor = &vtMissing,
        VARIANT * ReceiveTimeout = &vtMissing ) = 0;
    virtual HRESULT __stdcall raw_Reset ( ) = 0;
    virtual HRESULT __stdcall raw_ReceiveCurrent (
        VARIANT * Transaction,
        VARIANT * WantDestinationQueue,
        VARIANT * WantBody,
        VARIANT * ReceiveTimeout,
        struct IMSMQMessage * * ppmsg ) = 0;
    virtual HRESULT __stdcall raw_PeekNext (
        VARIANT * WantDestinationQueue,
        VARIANT * WantBody,
        VARIANT * ReceiveTimeout,
        struct IMSMQMessage * * ppmsg ) = 0;
    virtual HRESULT __stdcall raw_PeekCurrent (
        VARIANT * WantDestinationQueue,
        VARIANT * WantBody,
        VARIANT * ReceiveTimeout,
        struct IMSMQMessage * * ppmsg ) = 0;
};

struct __declspec(uuid("d7d6e074-dccd-11d0-aa4b-0060970debae"))
IMSMQMessage : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetBody,put=PutBody))
    _variant_t Body;
    __declspec(property(get=GetDelivery,put=PutDelivery))
    long Delivery;
    __declspec(property(get=GetPriority,put=PutPriority))
    long Priority;
    __declspec(property(get=GetJournal,put=PutJournal))
    long Journal;
    __declspec(property(get=GetResponseQueueInfo,put=PutRefResponseQueueInfo))
    IMSMQQueueInfoPtr ResponseQueueInfo;
    __declspec(property(get=GetAppSpecific,put=PutAppSpecific))
    long AppSpecific;
    __declspec(property(get=GetSourceMachineGuid))
    _bstr_t SourceMachineGuid;
    __declspec(property(get=GetClass))
    long Class;
    __declspec(property(get=GetAdminQueueInfo,put=PutRefAdminQueueInfo))
    IMSMQQueueInfoPtr AdminQueueInfo;
    __declspec(property(get=GetId))
    _variant_t Id;
    __declspec(property(get=GetCorrelationId,put=PutCorrelationId))
    _variant_t CorrelationId;
    __declspec(property(get=GetAck,put=PutAck))
    long Ack;
    __declspec(property(get=GetLabel,put=PutLabel))
    _bstr_t Label;
    __declspec(property(get=GetBodyLength))
    long BodyLength;
    __declspec(property(get=GetMaxTimeToReachQueue,put=PutMaxTimeToReachQueue))
    long MaxTimeToReachQueue;
    __declspec(property(get=GetMaxTimeToReceive,put=PutMaxTimeToReceive))
    long MaxTimeToReceive;
    __declspec(property(get=GetEncryptAlgorithm,put=PutEncryptAlgorithm))
    long EncryptAlgorithm;
    __declspec(property(get=GetHashAlgorithm,put=PutHashAlgorithm))
    long HashAlgorithm;
    __declspec(property(get=GetSentTime))
    _variant_t SentTime;
    __declspec(property(get=GetArrivedTime))
    _variant_t ArrivedTime;
    __declspec(property(get=GetDestinationQueueInfo))
    IMSMQQueueInfoPtr DestinationQueueInfo;
    __declspec(property(get=GetSenderCertificate,put=PutSenderCertificate))
    _variant_t SenderCertificate;
    __declspec(property(get=GetSenderId))
    _variant_t SenderId;
    __declspec(property(get=GetSenderIdType,put=PutSenderIdType))
    long SenderIdType;
    __declspec(property(get=GetTrace,put=PutTrace))
    long Trace;
    __declspec(property(get=GetPrivLevel,put=PutPrivLevel))
    long PrivLevel;
    __declspec(property(get=GetAuthLevel,put=PutAuthLevel))
    long AuthLevel;
    __declspec(property(get=GetIsAuthenticated))
    short IsAuthenticated;

    //
    // Wrapper methods for error-handling
    //

    long GetClass ( );
    long GetPrivLevel ( );
    void PutPrivLevel (
        long plPrivLevel );
    long GetAuthLevel ( );
    void PutAuthLevel (
        long plAuthLevel );
    short GetIsAuthenticated ( );
    long GetDelivery ( );
    void PutDelivery (
        long plDelivery );
    long GetTrace ( );
    void PutTrace (
        long plTrace );
    long GetPriority ( );
    void PutPriority (
        long plPriority );
    long GetJournal ( );
    void PutJournal (
        long plJournal );
    IMSMQQueueInfoPtr GetResponseQueueInfo ( );
    void PutRefResponseQueueInfo (
        struct IMSMQQueueInfo * ppqinfoResponse );
    long GetAppSpecific ( );
    void PutAppSpecific (
        long plAppSpecific );
    _bstr_t GetSourceMachineGuid ( );
    long GetBodyLength ( );
    _variant_t GetBody ( );
    void PutBody (
        const _variant_t & pvarBody );
    IMSMQQueueInfoPtr GetAdminQueueInfo ( );
    void PutRefAdminQueueInfo (
        struct IMSMQQueueInfo * ppqinfoAdmin );
    _variant_t GetId ( );
    _variant_t GetCorrelationId ( );
    void PutCorrelationId (
        const _variant_t & pvarMsgId );
    long GetAck ( );
    void PutAck (
        long plAck );
    _bstr_t GetLabel ( );
    void PutLabel (
        _bstr_t pbstrLabel );
    long GetMaxTimeToReachQueue ( );
    void PutMaxTimeToReachQueue (
        long plMaxTimeToReachQueue );
    long GetMaxTimeToReceive ( );
    void PutMaxTimeToReceive (
        long plMaxTimeToReceive );
    long GetHashAlgorithm ( );
    void PutHashAlgorithm (
        long plHashAlg );
    long GetEncryptAlgorithm ( );
    void PutEncryptAlgorithm (
        long plEncryptAlg );
    _variant_t GetSentTime ( );
    _variant_t GetArrivedTime ( );
    IMSMQQueueInfoPtr GetDestinationQueueInfo ( );
    _variant_t GetSenderCertificate ( );
    void PutSenderCertificate (
        const _variant_t & pvarSenderCert );
    _variant_t GetSenderId ( );
    long GetSenderIdType ( );
    void PutSenderIdType (
        long plSenderIdType );
    HRESULT Send (
        struct IMSMQQueue * DestinationQueue,
        VARIANT * Transaction = &vtMissing );
    HRESULT AttachCurrentSecurityContext ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Class (
        long * plClass ) = 0;
    virtual HRESULT __stdcall get_PrivLevel (
        long * plPrivLevel ) = 0;
    virtual HRESULT __stdcall put_PrivLevel (
        long plPrivLevel ) = 0;
    virtual HRESULT __stdcall get_AuthLevel (
        long * plAuthLevel ) = 0;
    virtual HRESULT __stdcall put_AuthLevel (
        long plAuthLevel ) = 0;
    virtual HRESULT __stdcall get_IsAuthenticated (
        short * pisAuthenticated ) = 0;
    virtual HRESULT __stdcall get_Delivery (
        long * plDelivery ) = 0;
    virtual HRESULT __stdcall put_Delivery (
        long plDelivery ) = 0;
    virtual HRESULT __stdcall get_Trace (
        long * plTrace ) = 0;
    virtual HRESULT __stdcall put_Trace (
        long plTrace ) = 0;
    virtual HRESULT __stdcall get_Priority (
        long * plPriority ) = 0;
    virtual HRESULT __stdcall put_Priority (
        long plPriority ) = 0;
    virtual HRESULT __stdcall get_Journal (
        long * plJournal ) = 0;
    virtual HRESULT __stdcall put_Journal (
        long plJournal ) = 0;
    virtual HRESULT __stdcall get_ResponseQueueInfo (
        struct IMSMQQueueInfo * * ppqinfoResponse ) = 0;
    virtual HRESULT __stdcall putref_ResponseQueueInfo (
        struct IMSMQQueueInfo * ppqinfoResponse ) = 0;
    virtual HRESULT __stdcall get_AppSpecific (
        long * plAppSpecific ) = 0;
    virtual HRESULT __stdcall put_AppSpecific (
        long plAppSpecific ) = 0;
    virtual HRESULT __stdcall get_SourceMachineGuid (
        BSTR * pbstrGuidSrcMachine ) = 0;
    virtual HRESULT __stdcall get_BodyLength (
        long * pcbBody ) = 0;
    virtual HRESULT __stdcall get_Body (
        VARIANT * pvarBody ) = 0;
    virtual HRESULT __stdcall put_Body (
        VARIANT pvarBody ) = 0;
    virtual HRESULT __stdcall get_AdminQueueInfo (
        struct IMSMQQueueInfo * * ppqinfoAdmin ) = 0;
    virtual HRESULT __stdcall putref_AdminQueueInfo (
        struct IMSMQQueueInfo * ppqinfoAdmin ) = 0;
    virtual HRESULT __stdcall get_Id (
        VARIANT * pvarMsgId ) = 0;
    virtual HRESULT __stdcall get_CorrelationId (
        VARIANT * pvarMsgId ) = 0;
    virtual HRESULT __stdcall put_CorrelationId (
        VARIANT pvarMsgId ) = 0;
    virtual HRESULT __stdcall get_Ack (
        long * plAck ) = 0;
    virtual HRESULT __stdcall put_Ack (
        long plAck ) = 0;
    virtual HRESULT __stdcall get_Label (
        BSTR * pbstrLabel ) = 0;
    virtual HRESULT __stdcall put_Label (
        BSTR pbstrLabel ) = 0;
    virtual HRESULT __stdcall get_MaxTimeToReachQueue (
        long * plMaxTimeToReachQueue ) = 0;
    virtual HRESULT __stdcall put_MaxTimeToReachQueue (
        long plMaxTimeToReachQueue ) = 0;
    virtual HRESULT __stdcall get_MaxTimeToReceive (
        long * plMaxTimeToReceive ) = 0;
    virtual HRESULT __stdcall put_MaxTimeToReceive (
        long plMaxTimeToReceive ) = 0;
    virtual HRESULT __stdcall get_HashAlgorithm (
        long * plHashAlg ) = 0;
    virtual HRESULT __stdcall put_HashAlgorithm (
        long plHashAlg ) = 0;
    virtual HRESULT __stdcall get_EncryptAlgorithm (
        long * plEncryptAlg ) = 0;
    virtual HRESULT __stdcall put_EncryptAlgorithm (
        long plEncryptAlg ) = 0;
    virtual HRESULT __stdcall get_SentTime (
        VARIANT * pvarSentTime ) = 0;
    virtual HRESULT __stdcall get_ArrivedTime (
        VARIANT * plArrivedTime ) = 0;
    virtual HRESULT __stdcall get_DestinationQueueInfo (
        struct IMSMQQueueInfo * * ppqinfoDest ) = 0;
    virtual HRESULT __stdcall get_SenderCertificate (
        VARIANT * pvarSenderCert ) = 0;
    virtual HRESULT __stdcall put_SenderCertificate (
        VARIANT pvarSenderCert ) = 0;
    virtual HRESULT __stdcall get_SenderId (
        VARIANT * pvarSenderId ) = 0;
    virtual HRESULT __stdcall get_SenderIdType (
        long * plSenderIdType ) = 0;
    virtual HRESULT __stdcall put_SenderIdType (
        long plSenderIdType ) = 0;
    virtual HRESULT __stdcall raw_Send (
        struct IMSMQQueue * DestinationQueue,
        VARIANT * Transaction = &vtMissing ) = 0;
    virtual HRESULT __stdcall raw_AttachCurrentSecurityContext ( ) = 0;
};

struct __declspec(uuid("d7d6e077-dccd-11d0-aa4b-0060970debae"))
IMSMQEvent : IDispatch
{};

struct __declspec(uuid("fd174a80-89cf-11d2-b0f2-00e02c074f6b"))
IMSMQQueueInfo2 : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetQueueGuid))
    _bstr_t QueueGuid;
    __declspec(property(get=GetServiceTypeGuid,put=PutServiceTypeGuid))
    _bstr_t ServiceTypeGuid;
    __declspec(property(get=GetLabel,put=PutLabel))
    _bstr_t Label;
    __declspec(property(get=GetPathName,put=PutPathName))
    _bstr_t PathName;
    __declspec(property(get=GetFormatName,put=PutFormatName))
    _bstr_t FormatName;
    __declspec(property(get=GetIsTransactional))
    short IsTransactional;
    __declspec(property(get=GetPrivLevel,put=PutPrivLevel))
    long PrivLevel;
    __declspec(property(get=GetJournal,put=PutJournal))
    long Journal;
    __declspec(property(get=GetBasePriority,put=PutBasePriority))
    long BasePriority;
    __declspec(property(get=GetCreateTime))
    _variant_t CreateTime;
    __declspec(property(get=GetModifyTime))
    _variant_t ModifyTime;
    __declspec(property(get=GetAuthenticate,put=PutAuthenticate))
    long Authenticate;
    __declspec(property(get=GetQuota,put=PutQuota))
    long Quota;
    __declspec(property(get=GetJournalQuota,put=PutJournalQuota))
    long JournalQuota;
    __declspec(property(get=GetIsWorldReadable))
    short IsWorldReadable;
    __declspec(property(get=GetPathNameDNS))
    _bstr_t PathNameDNS;
    __declspec(property(get=GetProperties))
    IDispatchPtr Properties;
    __declspec(property(get=GetSecurity,put=PutSecurity))
    _variant_t Security;

    //
    // Wrapper methods for error-handling
    //

    _bstr_t GetQueueGuid ( );
    _bstr_t GetServiceTypeGuid ( );
    void PutServiceTypeGuid (
        _bstr_t pbstrGuidServiceType );
    _bstr_t GetLabel ( );
    void PutLabel (
        _bstr_t pbstrLabel );
    _bstr_t GetPathName ( );
    void PutPathName (
        _bstr_t pbstrPathName );
    _bstr_t GetFormatName ( );
    void PutFormatName (
        _bstr_t pbstrFormatName );
    short GetIsTransactional ( );
    long GetPrivLevel ( );
    void PutPrivLevel (
        long plPrivLevel );
    long GetJournal ( );
    void PutJournal (
        long plJournal );
    long GetQuota ( );
    void PutQuota (
        long plQuota );
    long GetBasePriority ( );
    void PutBasePriority (

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -