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

📄 mqoa.odl

📁 Windows CE 6.0 Server 源码
💻 ODL
📖 第 1 页 / 共 5 页
字号:
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lPrivLevel), 
#endif
	propget, id(DISPID_MQMESSAGE_PRIVLEVEL)]
	HRESULT PrivLevel([out, retval] long *plPrivLevel);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lPrivLevel), 
#endif
	propput, id(DISPID_MQMESSAGE_PRIVLEVEL)]
	HRESULT PrivLevel([in] long lPrivLevel);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lAuthLevel), 
#endif
	propget, id(DISPID_MQMESSAGE_AUTHLEVEL)]
	HRESULT AuthLevel([out, retval] long *plAuthLevel);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lAuthLevel), 
#endif
	propput, id(DISPID_MQMESSAGE_AUTHLEVEL)]
	HRESULT AuthLevel([in] long lAuthLevel);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_isAuthenticated), 
#endif
	propget, id(DISPID_MQMESSAGE_AUTHENTICATED)]
	HRESULT IsAuthenticated([out, retval] Boolean *pisAuthenticated);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lDelivery), 
#endif
	propget, id(DISPID_MQMESSAGE_DELIVERY)]
	HRESULT Delivery([out, retval] long *plDelivery);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lDelivery), 
#endif
	propput, id(DISPID_MQMESSAGE_DELIVERY)]
	HRESULT Delivery([in] long lDelivery);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lTrace), 
#endif
	propget, id(DISPID_MQMESSAGE_TRACE)]
	HRESULT Trace([out, retval] long *plTrace);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lTrace), 
#endif
	propput, id(DISPID_MQMESSAGE_TRACE)]
	HRESULT Trace([in] long lTrace);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lPriority), 
#endif
	propget, id(DISPID_MQMESSAGE_PRIORITY)]
	HRESULT Priority([out, retval] long *plPriority);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lPriority), 
#endif
	propput, id(DISPID_MQMESSAGE_PRIORITY)]
	HRESULT Priority([in] long lPriority);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lJournal), 
#endif
	propget, id(DISPID_MQMESSAGE_JOURNAL)]
	HRESULT Journal([out, retval] long *plJournal);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lJournal), 
#endif
	propput, id(DISPID_MQMESSAGE_JOURNAL)]
	HRESULT Journal([in] long lJournal);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_queueinfoResponse), 
#endif
	propget, id(DISPID_MQMESSAGE_QUEUEINFORESPONSE)]
	HRESULT ResponseQueueInfo([out, retval] IMSMQQueueInfo **ppqinfoResponse);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_queueinfoResponse), 
#endif
	propputref, id(DISPID_MQMESSAGE_QUEUEINFORESPONSE)]
	HRESULT ResponseQueueInfo([in] IMSMQQueueInfo *pqinfoResponse);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lAppSpecific), 
#endif
	propget, id(DISPID_MQMESSAGE_APPSPECIFIC)]
	HRESULT AppSpecific([out, retval] long *plAppSpecific);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lAppSpecific), 
#endif
	propput, id(DISPID_MQMESSAGE_APPSPECIFIC)]
	HRESULT AppSpecific([in] long lAppSpecific);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_guidSrcMachine), 
#endif
	propget, id(DISPID_MQMESSAGE_GUIDSRCMACHINE)]
	HRESULT SourceMachineGuid([out, retval] BSTR *pbstrGuidSrcMachine);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lenBody), 
#endif
	propget, id(DISPID_MQMESSAGE_LENBODY)]
	HRESULT BodyLength([out, retval] long *pcbBody);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_body), 
#endif
	propget, id(DISPID_MQMESSAGE_BODY)]
	HRESULT Body([out, retval] VARIANT *pvarBody);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_body), 
#endif
	propput, id(DISPID_MQMESSAGE_BODY)]
	HRESULT Body([in] VARIANT varBody);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_queueinfoAdmin), 
#endif
	propget, id(DISPID_MQMESSAGE_QUEUEINFOADMIN)]
	HRESULT AdminQueueInfo([out, retval] IMSMQQueueInfo **ppqinfoAdmin);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_queueinfoAdmin), 
#endif
	propputref, id(DISPID_MQMESSAGE_QUEUEINFOADMIN)]
	HRESULT AdminQueueInfo([in] IMSMQQueueInfo *pqinfoAdmin);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_id), 
#endif
	propget, id(DISPID_MQMESSAGE_ID)]
	HRESULT Id([out, retval] VARIANT *pvarMsgId);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_idCorrelation), 
#endif
	propget, id(DISPID_MQMESSAGE_IDCORRELATION)]
	HRESULT CorrelationId([out, retval] VARIANT *pvarMsgId);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_idCorrelation), 
#endif
	propput, id(DISPID_MQMESSAGE_IDCORRELATION)]
	HRESULT CorrelationId([in] VARIANT varMsgId);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lAck), 
#endif
	propget, id(DISPID_MQMESSAGE_ACKNOWLEDGE)]
	HRESULT Ack([out, retval] long *plAck);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lAck), 
#endif
	propput, id(DISPID_MQMESSAGE_ACKNOWLEDGE)]
	HRESULT Ack([in] long lAck);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_strLabel), 
#endif
	propget, id(DISPID_MQMESSAGE_LABEL)]
	HRESULT Label([out, retval] BSTR *pbstrLabel);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_strLabel), 
#endif
	propput, id(DISPID_MQMESSAGE_LABEL)]
	HRESULT Label([in] BSTR bstrLabel);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lMaxTimeToReachQueue), 
#endif
	propget, id(DISPID_MQMESSAGE_MAXTIMETOREACHQUEUE)]
	HRESULT MaxTimeToReachQueue([out, retval] long *plMaxTimeToReachQueue);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lMaxTimeToReachQueue), 
#endif
	propput, id(DISPID_MQMESSAGE_MAXTIMETOREACHQUEUE)]
	HRESULT MaxTimeToReachQueue([in] long lMaxTimeToReachQueue);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lMaxTimeToReceive), 
#endif
	propget, id(DISPID_MQMESSAGE_MAXTIMETORECEIVE)]
	HRESULT MaxTimeToReceive([out, retval] long *plMaxTimeToReceive);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lMaxTimeToReceive), 
#endif
	propput, id(DISPID_MQMESSAGE_MAXTIMETORECEIVE)]
	HRESULT MaxTimeToReceive([in] long lMaxTimeToReceive);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lHashAlg), 
#endif
	propget, id(DISPID_MQMESSAGE_HASHALG)]
	HRESULT HashAlgorithm([out, retval] long *plHashAlg);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lHashAlg), 
#endif
	propput, id(DISPID_MQMESSAGE_HASHALG)]
	HRESULT HashAlgorithm([in] long lHashAlg);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lEncryptAlg), 
#endif
	propget, id(DISPID_MQMESSAGE_ENCRYPTALG)]
	HRESULT EncryptAlgorithm([out, retval] long *plEncryptAlg);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lEncryptAlg), 
#endif
	propput, id(DISPID_MQMESSAGE_ENCRYPTALG)]
	HRESULT EncryptAlgorithm([in] long lEncryptAlg);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_dateSentTime), 
#endif
	propget, id(DISPID_MQMESSAGE_SENTTIME)]
	HRESULT SentTime([out, retval] VARIANT *pvarSentTime);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_dateArrivedTime), 
#endif
	propget, id(DISPID_MQMESSAGE_ARRIVEDTIME)]
	HRESULT ArrivedTime([out, retval] VARIANT *plArrivedTime);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_queueinfoDest), 
#endif
	propget, id(DISPID_MQMESSAGE_QUEUEINFODEST)]
	HRESULT DestinationQueueInfo([out, retval] IMSMQQueueInfo **ppqinfoDest);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_binSenderCert), 
#endif
	propget, id(DISPID_MQMESSAGE_SENDERCERT)]
	HRESULT SenderCertificate([out, retval] VARIANT *pvarSenderCert);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_binSenderCert), 
#endif
	propput, id(DISPID_MQMESSAGE_SENDERCERT)]
	HRESULT SenderCertificate([in] VARIANT varSenderCert);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_binSenderId), 
#endif
	propget, id(DISPID_MQMESSAGE_SENDERID)]
	HRESULT SenderId([out, retval] VARIANT *pvarSenderId);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lSenderIdType), 
#endif
	propget, id(DISPID_MQMESSAGE_SENDERIDTYPE)]
	HRESULT SenderIdType([out, retval] long *plSenderIdType);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lSenderIdType), 
#endif
	propput, id(DISPID_MQMESSAGE_SENDERIDTYPE)]
	HRESULT SenderIdType([in] long lSenderIdType);

	// methods
	//
#if defined(MQOAHELP)
	[helpstringcontext(IDS_Send)]
#endif
	HRESULT Send(
	  [in] IMSMQQueue *DestinationQueue,
	  [in, optional] VARIANT *Transaction);
#if defined(MQOAHELP)
	[helpstringcontext(IDS_AttachCurrentSecurityContext)]
#endif
	HRESULT AttachCurrentSecurityContext();
    };

    // coclass for CMSMQMessage objects
    //
    [
	uuid(D7D6E075-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_MSMQMESSAGE),
#endif
    ]
    coclass MSMQMessage {
	[default]         interface IMSMQMessage;
    };

    // primary dispatch interface for CMSMQQueue object
    //
    [
	uuid(D7D6E076-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_IMSMQQUEUE),
#endif
	hidden,
	dual,
	odl
    ]
    interface IMSMQQueue : IDispatch {

	// properties
	//
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lAccess), 
#endif
	propget, id(DISPID_MQQUEUE_ACCESS)]
	HRESULT Access([out, retval] long *plAccess);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lShareMode), 
#endif
	propget, id(DISPID_MQQUEUE_SHAREMODE)]
	HRESULT ShareMode([out, retval] long *plShareMode);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_queueinfo), 
#endif
	propget, id(DISPID_MQQUEUE_QUEUEINFO)]
	HRESULT QueueInfo([out, retval] IMSMQQueueInfo **ppqinfo);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lHandle), 
#endif
	propget, id(DISPID_MQQUEUE_HANDLE)]
	HRESULT Handle([out, retval] long *plHandle);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_isOpen), 
#endif
	propget, id(DISPID_MQQUEUE_ISOPEN)]
	HRESULT IsOpen([out, retval] Boolean *pisOpen);

	// methods
	//
#if defined(MQOAHELP)	
	[helpstringcontext(IDS_Close)]
#endif
	HRESULT Close();
#if defined(MQOAHELP)
	[helpstringcontext(IDS_Receive)]
#endif
	HRESULT Receive(
	  [in, optional] VARIANT *Transaction,
	  [in, optional] VARIANT *WantDestinationQueue,
	  [in, optional] VARIANT *WantBody,
	  [in, optional] VARIANT *ReceiveTimeout,
	  [out, retval] IMSMQMessage **ppmsg);

#if defined(MQOAHELP)
	[helpstringcontext(IDS_Peek)]
#endif
	HRESULT Peek(
	  [in, optional] VARIANT *WantDestinationQueue,
	  [in, optional] VARIANT *WantBody,
	  [in, optional] VARIANT *ReceiveTimeout,
	  [out, retval] IMSMQMessage **ppmsg);

#if defined(MQOAHELP)
	[helpstringcontext(IDS_EnableNotification)]
#endif
	HRESULT EnableNotification(
	  [in] IMSMQEvent *Event,
	  [in , optional] VARIANT *Cursor,
	  [in, optional] VARIANT *ReceiveTimeout);

#if defined(MQOAHELP)
	[helpstringcontext(IDS_Reset)]
#endif
	HRESULT Reset();

#if defined(MQOAHELP)
	[helpstringcontext(IDS_ReceiveCurrent)]
#endif
	HRESULT ReceiveCurrent(
	  [in, optional] VARIANT *Transaction,
	  [in, optional] VARIANT *WantDestinationQueue,
	  [in, optional] VARIANT *WantBody,
	  [in, optional] VARIANT *ReceiveTimeout,
	  [out, retval] IMSMQMessage **ppmsg);

#if defined(MQOAHELP)
	[helpstringcontext(IDS_PeekNext)]
#endif
	HRESULT PeekNext(
	  [in, optional] VARIANT *WantDestinationQueue,
	  [in, optional] VARIANT *WantBody,
	  [in, optional] VARIANT *ReceiveTimeout,
	  [out, retval] IMSMQMessage **ppmsg);

#if defined(MQOAHELP)
	[helpstringcontext(IDS_PeekCurrent)]
#endif
	HRESULT PeekCurrent(
	  [in, optional] VARIANT *WantDestinationQueue,
	  [in, optional] VARIANT *WantBody,
	  [in, optional] VARIANT *ReceiveTimeout,
	  [out, retval] IMSMQMessage **ppmsg);
    };

    // secondary unknown interface for CMSMQEvent object
    //
    [
	uuid(D7AB3341-C9D3-11d1-BB47-0080C7C5A2C0),
	hidden,
        dual,
        odl
    ]
    interface IMSMQPrivateEvent : IDispatch {
        // methods
        //
        HRESULT FireArrivedEvent(
          [in] IMSMQQueue *pq,
          [in] long msgcursor);
        HRESULT FireArrivedErrorEvent(
          [in] IMSMQQueue *pq,
          [in] HRESULT hrStatus,
          [in] long msgcursor);
    }

    // primary dispatch interface for CMSMQEvent object
    //
    [
	uuid(D7D6E077-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_IMSMQEVENT),
#endif
	hidden,
	dual,
	odl
    ]
    interface IMSMQEvent : IDispatch {
    }


    // event interface for CMSMQEvent objects
    //
    [
	uuid(D7D6E078-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_DMSMQEVENTEVENTS),
#endif
	hidden
    ]
    dispinterface _DMSMQEventEvents {

⌨️ 快捷键说明

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