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

📄 mqoa.odl

📁 Windows CE 6.0 Server 源码
💻 ODL
📖 第 1 页 / 共 5 页
字号:
      properties:
      methods:
	[id(DISPID_MQEVENTEVENTS_ARRIVED),
#if defined(MQOAHELP)
	 helpstringcontext(IDS_Arrived)
#endif
	 ]
	void Arrived(
	  [in] IDispatch *Queue, 
	  [in] long Cursor);
	[id(DISPID_MQEVENTEVENTS_ARRIVEDERROR),
#if defined(MQOAHELP)
	 helpstringcontext(IDS_ArrivedError)
#endif
	 ]
	void ArrivedError(
	  [in] IDispatch *Queue,
	  [in] long ErrorCode,
	  [in] long Cursor);
    };

    // coclass for CMSMQQueue objects
    //
    [
	uuid(D7D6E079-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_MSMQQUEUE)
#endif
    ]
    coclass MSMQQueue {
	[default]         interface IMSMQQueue;
    };

    // coclass for CMSMQEvent objects
    //
    [
	uuid(D7D6E07A-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_MSMQEVENT)
#endif
    ]
    coclass MSMQEvent {
	[default]         interface IMSMQEvent;
        interface IMSMQPrivateEvent;
	[default, source] dispinterface _DMSMQEventEvents;
    };

    // primary dispatch interface for CMSMQQueueInfo object
    //
    [
	uuid(D7D6E07B-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_IMSMQQUEUEINFO),
#endif
	hidden,
	dual,
	odl
    ]
    interface IMSMQQueueInfo : IDispatch {

	// properties
	//
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_guidQueue), 
#endif
	propget, id(DISPID_MQQUEUEINFO_GUIDQUEUE)]
	HRESULT QueueGuid([out, retval] BSTR *pbstrGuidQueue);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_guidServiceType), 
#endif
	propget, id(DISPID_MQQUEUEINFO_GUIDSERVICETYPE)]
	HRESULT ServiceTypeGuid([out, retval] BSTR *pbstrGuidServiceType);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_guidServiceType), 
#endif
	propput, id(DISPID_MQQUEUEINFO_GUIDSERVICETYPE)]
	HRESULT ServiceTypeGuid([in] BSTR bstrGuidServiceType);

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

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_strPathName), 
#endif
	propget, id(DISPID_MQQUEUEINFO_PATHNAME)]
	HRESULT PathName([out, retval] BSTR *pbstrPathName);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_strPathName), 
#endif
	propput, id(DISPID_MQQUEUEINFO_PATHNAME)]
	HRESULT PathName([in] BSTR bstrPathName);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_strFormatName), 
#endif
	propget, id(DISPID_MQQUEUEINFO_FORMATNAME)]
	HRESULT FormatName([out, retval] BSTR *pbstrFormatName);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_strFormatName), 
#endif
	propput, id(DISPID_MQQUEUEINFO_FORMATNAME)]
	HRESULT FormatName([in] BSTR bstrFormatName);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_isTransactional), 
#endif
	propget, id(DISPID_MQQUEUEINFO_ISTRANSACTIONAL)]
	HRESULT IsTransactional([out, retval] Boolean *pisTransactional);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_MSMQQueueInfo_lPrivLevel), 
#endif
	propget, id(DISPID_MQQUEUEINFO_PRIVLEVEL)]
	HRESULT PrivLevel([out, retval] long *plPrivLevel);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_MSMQQueueInfo_lPrivLevel), 
#endif
	propput, id(DISPID_MQQUEUEINFO_PRIVLEVEL)]
	HRESULT PrivLevel([in] long lPrivLevel);

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

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lQuota), 
#endif
	propget, id(DISPID_MQQUEUEINFO_QUOTA)]
	HRESULT Quota([out, retval] long *plQuota);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lQuota), 
#endif
	propput, id(DISPID_MQQUEUEINFO_QUOTA)]
	HRESULT Quota([in] long lQuota);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lBasePriority), 
#endif
	propget, id(DISPID_MQQUEUEINFO_BASEPRIORITY)]
	HRESULT BasePriority([out, retval] long *plBasePriority);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lBasePriority), 
#endif
	propput, id(DISPID_MQQUEUEINFO_BASEPRIORITY)]
	HRESULT BasePriority([in] long lBasePriority);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_dateCreateTime), 
#endif
	propget, id(DISPID_MQQUEUEINFO_CREATETIME)]
	HRESULT CreateTime([out, retval] VARIANT *pvarCreateTime);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_dateModifyTime),
#endif
	propget, id(DISPID_MQQUEUEINFO_MODIFYTIME)]
	HRESULT ModifyTime([out, retval] VARIANT *pvarModifyTime);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lAuthenticate), 
#endif
	propget, id(DISPID_MQQUEUEINFO_AUTHENTICATE)]
	HRESULT Authenticate([out, retval] long *plAuthenticate);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lAuthenticate), 
#endif
	propput, id(DISPID_MQQUEUEINFO_AUTHENTICATE)]
	HRESULT Authenticate([in] long lAuthenticate);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lJournalQuota), 
#endif
	propget, id(DISPID_MQQUEUEINFO_JOURNALQUOTA)]
	HRESULT JournalQuota([out, retval] long *plJournalQuota);
	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_lJournalQuota), 
#endif
	propput, id(DISPID_MQQUEUEINFO_JOURNALQUOTA)]
	HRESULT JournalQuota([in] long lJournalQuota);

	[
#if defined(MQOAHELP)
	helpstringcontext(IDS_IsWorldReadable), 
#endif
	propget, id(DISPID_MQQUEUEINFO_ISWORLDREADABLE)]
	HRESULT IsWorldReadable([out, retval] Boolean *pisWorldReadable);

	// methods
	//
#if defined(MQOAHELP)
	[helpstringcontext(IDS_Create)]
#endif
	HRESULT Create(
	  [in, optional] VARIANT *IsTransactional,
	  [in, optional] VARIANT *IsWorldReadable);

#if defined(MQOAHELP)
	[helpstringcontext(IDS_Delete)]
#endif
	HRESULT Delete();

#if defined(MQOAHELP)
	[helpstringcontext(IDS_Open)]
#endif
	HRESULT Open([in] long Access,
		     [in] long ShareMode,
		     [out, retval] IMSMQQueue **ppq);

#if defined(MQOAHELP)
	[helpstringcontext(IDS_Refresh)]
#endif
	HRESULT Refresh();

#if defined(MQOAHELP)
	[helpstringcontext(IDS_Update)]
#endif
	HRESULT Update();
    };

    // coclass for CMSMQQueueInfo objects
    //
    [
	uuid(D7D6E07C-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_MSMQQUEUEINFO)
#endif
    ]
    coclass MSMQQueueInfo {
	[default]         interface IMSMQQueueInfo;
    };

    // primary dispatch interface for CMSMQQueueInfos object
    //
    [
	uuid(D7D6E07D-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_IMSMQQUEUEINFOS),
#endif
	hidden,
	dual,
	odl
    ]
    interface IMSMQQueueInfos : IDispatch {

	// properties
	//

	// methods
	//
#if defined(MQOAHELP)
	[helpstringcontext(IDS_MSMQQueueInfos_Reset)]
#endif
	HRESULT Reset();
#if defined(MQOAHELP)
	[helpstringcontext(IDS_MSMQQueueInfos_Reset)]
#endif
	HRESULT Next([out, retval] IMSMQQueueInfo **ppqinfoNext);
    };

    // coclass for CMSMQQueueInfos objects
    //
    [
	uuid(D7D6E07E-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_MSMQQUEUEINFOS)
#endif
    ]
    coclass MSMQQueueInfos {
	[default]         interface IMSMQQueueInfos;
    };

    //
    // Transactions
    //
 #if 0 // no transaction support
    typedef struct _MQBOID
    {
      BYTE rgb[ 16 ];
    } MQBOID;
    typedef MQBOID MQXACTUOW;
    typedef LONG MQISOLEVEL;

    typedef struct _MQXACTTRANSINFO
    {
      MQXACTUOW uow;
      MQISOLEVEL isoLevel;
      ULONG isoFlags;
      DWORD grfTCSupported;
      DWORD grfRMSupported;
      DWORD grfTCSupportedRetaining;
      DWORD grfRMSupportedRetaining;
    } MQXACTTRANSINFO;

// UNDONE: should be a way to track transact.h
#define IID_ITRANSACTION 0fb15084-af41-11ce-bd2b-204c4f4f5020


    // primary dispatch interface for CMSMQTransaction object
    //
    [
	uuid(D7D6E07F-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_IMSMQTRANSACTION),
#endif
	hidden,
	dual,
	odl
    ]
    interface IMSMQTransaction : IDispatch {
      // properties
      //
      [
#if defined(MQOAHELP)
      helpstringcontext(IDS_lTransaction), 
#endif
      propget, id(DISPID_MQTRANSACTION_TRANSACTION)]
      HRESULT Transaction([out, retval] long *plTransaction);
      
      // methods
      //
#if defined(MQOAHELP)
      [helpstringcontext(IDS_Commit)]
#endif
      HRESULT Commit([in, optional] VARIANT *fRetaining,
		     [in, optional] VARIANT *grfTC,
		     [in, optional] VARIANT *grfRM);

#if defined(MQOAHELP)
      [helpstringcontext(IDS_Abort)]
#endif 
      HRESULT Abort([in, optional] VARIANT *fRetaining,
		    [in, optional] VARIANT *fAsync);
      // UNDONE: HRESULT GetTransactionInfo([out] void *pvInfo);
    };

    // coclass for CMSMQTransaction objects
    //
    [
	uuid(D7D6E080-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_MSMQTRANSACTION)
#endif
    ]
    coclass MSMQTransaction {
	[default]         interface IMSMQTransaction;
    };


    // primary dispatch interface for CMSMQCoordinatedTransactionDispenser object
    //
    [
	uuid(D7D6E081-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_IMSMQCOORDINATEDTRANSACTIONDISPENSER),
#endif
	hidden,
	dual,
	odl
    ]
    interface IMSMQCoordinatedTransactionDispenser : IDispatch {
#if defined(MQOAHELP)
      [helpstringcontext(IDS_BeginTransaction)]
#endif
      HRESULT BeginTransaction(
	[out, retval] IMSMQTransaction **ptransaction);
    };

    // coclass for CMSMQCoordinatedTransactionDispenser objects
    //
    [
	uuid(D7D6E082-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_MSMQCOORDINATEDTRANSACTIONDISPENSER)
#endif
    ]
    coclass MSMQCoordinatedTransactionDispenser {
	[default]         interface IMSMQCoordinatedTransactionDispenser;
    };


    // primary dispatch interface for CMSMQTransactionDispenser object
    //
    [
	uuid(D7D6E083-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_IMSMQTRANSACTIONDISPENSER),
#endif
	hidden,
	dual,
	odl
    ]
    interface IMSMQTransactionDispenser : IDispatch {
#if defined(MQOAHELP)
      [helpstringcontext(IDS_BeginTransaction)]
#endif
      HRESULT BeginTransaction(
	[out, retval] IMSMQTransaction **ptransaction);
    };

    // coclass for CMSMQTransactionDispenser objects
    //
    [
	uuid(D7D6E084-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_MSMQTRANSACTIONDISPENSER)
#endif
    ]
    coclass MSMQTransactionDispenser {
	[default]         interface IMSMQTransactionDispenser;
    };
#endif // 0 no transaction support

    // primary dispatch interface for CMSMQApplication object
    //
    [
	uuid(D7D6E085-DCCD-11d0-AA4B-0060970DEBAE),
#if defined(MQOAHELP)
	helpstringcontext(IDS_IMSMQAPPLICATION),
#endif
	hidden,
	dual,
	odl
    ]
    interface IMSMQApplication : IDispatch {
      // methods
      //
#if defined(MQOAHELP)
      [helpstringcontext(IDS_StrMachineIdOfMachineName)]
#endif
      HRESULT MachineIdOfMachineName(
	[in] BSTR MachineName,
	[out, retval] BSTR *pbstrGuid
	);
    };

    // coclass for CMSMQApplication objects
    //
    [
	uuid(D7D6E086-DCCD-11d0-AA4B-0060970DEBAE),
	appobject,
#if defined(MQOAHELP)
	helpstringcontext(IDS_MSMQAPPLICATION)
#endif
    ]
    coclass MSMQApplication {
	[default]         interface IMSMQApplication;
    };
};

⌨️ 快捷键说明

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