MqOaI.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:587k
源码类别:

模拟服务器

开发平台:

C/C++

  1.     IMSMQQueueInfo3 * This,
  2.     /* [retval][out] */ long *plPrivLevel);
  3. void __RPC_STUB IMSMQQueueInfo3_get_PrivLevel_Stub(
  4.     IRpcStubBuffer *This,
  5.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6.     PRPC_MESSAGE _pRpcMessage,
  7.     DWORD *_pdwStubPhase);
  8. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_put_PrivLevel_Proxy( 
  9.     IMSMQQueueInfo3 * This,
  10.     /* [in] */ long lPrivLevel);
  11. void __RPC_STUB IMSMQQueueInfo3_put_PrivLevel_Stub(
  12.     IRpcStubBuffer *This,
  13.     IRpcChannelBuffer *_pRpcChannelBuffer,
  14.     PRPC_MESSAGE _pRpcMessage,
  15.     DWORD *_pdwStubPhase);
  16. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_Journal_Proxy( 
  17.     IMSMQQueueInfo3 * This,
  18.     /* [retval][out] */ long *plJournal);
  19. void __RPC_STUB IMSMQQueueInfo3_get_Journal_Stub(
  20.     IRpcStubBuffer *This,
  21.     IRpcChannelBuffer *_pRpcChannelBuffer,
  22.     PRPC_MESSAGE _pRpcMessage,
  23.     DWORD *_pdwStubPhase);
  24. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_put_Journal_Proxy( 
  25.     IMSMQQueueInfo3 * This,
  26.     /* [in] */ long lJournal);
  27. void __RPC_STUB IMSMQQueueInfo3_put_Journal_Stub(
  28.     IRpcStubBuffer *This,
  29.     IRpcChannelBuffer *_pRpcChannelBuffer,
  30.     PRPC_MESSAGE _pRpcMessage,
  31.     DWORD *_pdwStubPhase);
  32. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_Quota_Proxy( 
  33.     IMSMQQueueInfo3 * This,
  34.     /* [retval][out] */ long *plQuota);
  35. void __RPC_STUB IMSMQQueueInfo3_get_Quota_Stub(
  36.     IRpcStubBuffer *This,
  37.     IRpcChannelBuffer *_pRpcChannelBuffer,
  38.     PRPC_MESSAGE _pRpcMessage,
  39.     DWORD *_pdwStubPhase);
  40. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_put_Quota_Proxy( 
  41.     IMSMQQueueInfo3 * This,
  42.     /* [in] */ long lQuota);
  43. void __RPC_STUB IMSMQQueueInfo3_put_Quota_Stub(
  44.     IRpcStubBuffer *This,
  45.     IRpcChannelBuffer *_pRpcChannelBuffer,
  46.     PRPC_MESSAGE _pRpcMessage,
  47.     DWORD *_pdwStubPhase);
  48. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_BasePriority_Proxy( 
  49.     IMSMQQueueInfo3 * This,
  50.     /* [retval][out] */ long *plBasePriority);
  51. void __RPC_STUB IMSMQQueueInfo3_get_BasePriority_Stub(
  52.     IRpcStubBuffer *This,
  53.     IRpcChannelBuffer *_pRpcChannelBuffer,
  54.     PRPC_MESSAGE _pRpcMessage,
  55.     DWORD *_pdwStubPhase);
  56. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_put_BasePriority_Proxy( 
  57.     IMSMQQueueInfo3 * This,
  58.     /* [in] */ long lBasePriority);
  59. void __RPC_STUB IMSMQQueueInfo3_put_BasePriority_Stub(
  60.     IRpcStubBuffer *This,
  61.     IRpcChannelBuffer *_pRpcChannelBuffer,
  62.     PRPC_MESSAGE _pRpcMessage,
  63.     DWORD *_pdwStubPhase);
  64. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_CreateTime_Proxy( 
  65.     IMSMQQueueInfo3 * This,
  66.     /* [retval][out] */ VARIANT *pvarCreateTime);
  67. void __RPC_STUB IMSMQQueueInfo3_get_CreateTime_Stub(
  68.     IRpcStubBuffer *This,
  69.     IRpcChannelBuffer *_pRpcChannelBuffer,
  70.     PRPC_MESSAGE _pRpcMessage,
  71.     DWORD *_pdwStubPhase);
  72. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_ModifyTime_Proxy( 
  73.     IMSMQQueueInfo3 * This,
  74.     /* [retval][out] */ VARIANT *pvarModifyTime);
  75. void __RPC_STUB IMSMQQueueInfo3_get_ModifyTime_Stub(
  76.     IRpcStubBuffer *This,
  77.     IRpcChannelBuffer *_pRpcChannelBuffer,
  78.     PRPC_MESSAGE _pRpcMessage,
  79.     DWORD *_pdwStubPhase);
  80. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_Authenticate_Proxy( 
  81.     IMSMQQueueInfo3 * This,
  82.     /* [retval][out] */ long *plAuthenticate);
  83. void __RPC_STUB IMSMQQueueInfo3_get_Authenticate_Stub(
  84.     IRpcStubBuffer *This,
  85.     IRpcChannelBuffer *_pRpcChannelBuffer,
  86.     PRPC_MESSAGE _pRpcMessage,
  87.     DWORD *_pdwStubPhase);
  88. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_put_Authenticate_Proxy( 
  89.     IMSMQQueueInfo3 * This,
  90.     /* [in] */ long lAuthenticate);
  91. void __RPC_STUB IMSMQQueueInfo3_put_Authenticate_Stub(
  92.     IRpcStubBuffer *This,
  93.     IRpcChannelBuffer *_pRpcChannelBuffer,
  94.     PRPC_MESSAGE _pRpcMessage,
  95.     DWORD *_pdwStubPhase);
  96. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_JournalQuota_Proxy( 
  97.     IMSMQQueueInfo3 * This,
  98.     /* [retval][out] */ long *plJournalQuota);
  99. void __RPC_STUB IMSMQQueueInfo3_get_JournalQuota_Stub(
  100.     IRpcStubBuffer *This,
  101.     IRpcChannelBuffer *_pRpcChannelBuffer,
  102.     PRPC_MESSAGE _pRpcMessage,
  103.     DWORD *_pdwStubPhase);
  104. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_put_JournalQuota_Proxy( 
  105.     IMSMQQueueInfo3 * This,
  106.     /* [in] */ long lJournalQuota);
  107. void __RPC_STUB IMSMQQueueInfo3_put_JournalQuota_Stub(
  108.     IRpcStubBuffer *This,
  109.     IRpcChannelBuffer *_pRpcChannelBuffer,
  110.     PRPC_MESSAGE _pRpcMessage,
  111.     DWORD *_pdwStubPhase);
  112. /* [id][propget][helpstringcontext][hidden] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_IsWorldReadable_Proxy( 
  113.     IMSMQQueueInfo3 * This,
  114.     /* [retval][out] */ Boolean *pisWorldReadable);
  115. void __RPC_STUB IMSMQQueueInfo3_get_IsWorldReadable_Stub(
  116.     IRpcStubBuffer *This,
  117.     IRpcChannelBuffer *_pRpcChannelBuffer,
  118.     PRPC_MESSAGE _pRpcMessage,
  119.     DWORD *_pdwStubPhase);
  120. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_Create_Proxy( 
  121.     IMSMQQueueInfo3 * This,
  122.     /* [optional][in] */ VARIANT *IsTransactional,
  123.     /* [optional][in] */ VARIANT *IsWorldReadable);
  124. void __RPC_STUB IMSMQQueueInfo3_Create_Stub(
  125.     IRpcStubBuffer *This,
  126.     IRpcChannelBuffer *_pRpcChannelBuffer,
  127.     PRPC_MESSAGE _pRpcMessage,
  128.     DWORD *_pdwStubPhase);
  129. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_Delete_Proxy( 
  130.     IMSMQQueueInfo3 * This);
  131. void __RPC_STUB IMSMQQueueInfo3_Delete_Stub(
  132.     IRpcStubBuffer *This,
  133.     IRpcChannelBuffer *_pRpcChannelBuffer,
  134.     PRPC_MESSAGE _pRpcMessage,
  135.     DWORD *_pdwStubPhase);
  136. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_Open_Proxy( 
  137.     IMSMQQueueInfo3 * This,
  138.     /* [in] */ long Access,
  139.     /* [in] */ long ShareMode,
  140.     /* [retval][out] */ IMSMQQueue3 **ppq);
  141. void __RPC_STUB IMSMQQueueInfo3_Open_Stub(
  142.     IRpcStubBuffer *This,
  143.     IRpcChannelBuffer *_pRpcChannelBuffer,
  144.     PRPC_MESSAGE _pRpcMessage,
  145.     DWORD *_pdwStubPhase);
  146. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_Refresh_Proxy( 
  147.     IMSMQQueueInfo3 * This);
  148. void __RPC_STUB IMSMQQueueInfo3_Refresh_Stub(
  149.     IRpcStubBuffer *This,
  150.     IRpcChannelBuffer *_pRpcChannelBuffer,
  151.     PRPC_MESSAGE _pRpcMessage,
  152.     DWORD *_pdwStubPhase);
  153. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_Update_Proxy( 
  154.     IMSMQQueueInfo3 * This);
  155. void __RPC_STUB IMSMQQueueInfo3_Update_Stub(
  156.     IRpcStubBuffer *This,
  157.     IRpcChannelBuffer *_pRpcChannelBuffer,
  158.     PRPC_MESSAGE _pRpcMessage,
  159.     DWORD *_pdwStubPhase);
  160. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_PathNameDNS_Proxy( 
  161.     IMSMQQueueInfo3 * This,
  162.     /* [retval][out] */ BSTR *pbstrPathNameDNS);
  163. void __RPC_STUB IMSMQQueueInfo3_get_PathNameDNS_Stub(
  164.     IRpcStubBuffer *This,
  165.     IRpcChannelBuffer *_pRpcChannelBuffer,
  166.     PRPC_MESSAGE _pRpcMessage,
  167.     DWORD *_pdwStubPhase);
  168. /* [id][propget][hidden] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_Properties_Proxy( 
  169.     IMSMQQueueInfo3 * This,
  170.     /* [retval][out] */ IDispatch **ppcolProperties);
  171. void __RPC_STUB IMSMQQueueInfo3_get_Properties_Stub(
  172.     IRpcStubBuffer *This,
  173.     IRpcChannelBuffer *_pRpcChannelBuffer,
  174.     PRPC_MESSAGE _pRpcMessage,
  175.     DWORD *_pdwStubPhase);
  176. /* [id][propget][hidden] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_Security_Proxy( 
  177.     IMSMQQueueInfo3 * This,
  178.     /* [retval][out] */ VARIANT *pvarSecurity);
  179. void __RPC_STUB IMSMQQueueInfo3_get_Security_Stub(
  180.     IRpcStubBuffer *This,
  181.     IRpcChannelBuffer *_pRpcChannelBuffer,
  182.     PRPC_MESSAGE _pRpcMessage,
  183.     DWORD *_pdwStubPhase);
  184. /* [id][propput][hidden] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_put_Security_Proxy( 
  185.     IMSMQQueueInfo3 * This,
  186.     /* [in] */ VARIANT varSecurity);
  187. void __RPC_STUB IMSMQQueueInfo3_put_Security_Stub(
  188.     IRpcStubBuffer *This,
  189.     IRpcChannelBuffer *_pRpcChannelBuffer,
  190.     PRPC_MESSAGE _pRpcMessage,
  191.     DWORD *_pdwStubPhase);
  192. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_IsTransactional2_Proxy( 
  193.     IMSMQQueueInfo3 * This,
  194.     /* [retval][out] */ VARIANT_BOOL *pisTransactional);
  195. void __RPC_STUB IMSMQQueueInfo3_get_IsTransactional2_Stub(
  196.     IRpcStubBuffer *This,
  197.     IRpcChannelBuffer *_pRpcChannelBuffer,
  198.     PRPC_MESSAGE _pRpcMessage,
  199.     DWORD *_pdwStubPhase);
  200. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_IsWorldReadable2_Proxy( 
  201.     IMSMQQueueInfo3 * This,
  202.     /* [retval][out] */ VARIANT_BOOL *pisWorldReadable);
  203. void __RPC_STUB IMSMQQueueInfo3_get_IsWorldReadable2_Stub(
  204.     IRpcStubBuffer *This,
  205.     IRpcChannelBuffer *_pRpcChannelBuffer,
  206.     PRPC_MESSAGE _pRpcMessage,
  207.     DWORD *_pdwStubPhase);
  208. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_MulticastAddress_Proxy( 
  209.     IMSMQQueueInfo3 * This,
  210.     /* [retval][out] */ BSTR *pbstrMulticastAddress);
  211. void __RPC_STUB IMSMQQueueInfo3_get_MulticastAddress_Stub(
  212.     IRpcStubBuffer *This,
  213.     IRpcChannelBuffer *_pRpcChannelBuffer,
  214.     PRPC_MESSAGE _pRpcMessage,
  215.     DWORD *_pdwStubPhase);
  216. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_put_MulticastAddress_Proxy( 
  217.     IMSMQQueueInfo3 * This,
  218.     /* [in] */ BSTR bstrMulticastAddress);
  219. void __RPC_STUB IMSMQQueueInfo3_put_MulticastAddress_Stub(
  220.     IRpcStubBuffer *This,
  221.     IRpcChannelBuffer *_pRpcChannelBuffer,
  222.     PRPC_MESSAGE _pRpcMessage,
  223.     DWORD *_pdwStubPhase);
  224. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfo3_get_ADsPath_Proxy( 
  225.     IMSMQQueueInfo3 * This,
  226.     /* [retval][out] */ BSTR *pbstrADsPath);
  227. void __RPC_STUB IMSMQQueueInfo3_get_ADsPath_Stub(
  228.     IRpcStubBuffer *This,
  229.     IRpcChannelBuffer *_pRpcChannelBuffer,
  230.     PRPC_MESSAGE _pRpcMessage,
  231.     DWORD *_pdwStubPhase);
  232. #endif  /* __IMSMQQueueInfo3_INTERFACE_DEFINED__ */
  233. #ifndef __IMSMQQueue_INTERFACE_DEFINED__
  234. #define __IMSMQQueue_INTERFACE_DEFINED__
  235. /* interface IMSMQQueue */
  236. /* [object][dual][hidden][helpstringcontext][uuid] */ 
  237. EXTERN_C const IID IID_IMSMQQueue;
  238. #if defined(__cplusplus) && !defined(CINTERFACE)
  239.     
  240.     MIDL_INTERFACE("D7D6E076-DCCD-11d0-AA4B-0060970DEBAE")
  241.     IMSMQQueue : public IDispatch
  242.     {
  243.     public:
  244.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_Access( 
  245.             /* [retval][out] */ long *plAccess) = 0;
  246.         
  247.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_ShareMode( 
  248.             /* [retval][out] */ long *plShareMode) = 0;
  249.         
  250.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_QueueInfo( 
  251.             /* [retval][out] */ IMSMQQueueInfo **ppqinfo) = 0;
  252.         
  253.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_Handle( 
  254.             /* [retval][out] */ long *plHandle) = 0;
  255.         
  256.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_IsOpen( 
  257.             /* [retval][out] */ Boolean *pisOpen) = 0;
  258.         
  259.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  260.         
  261.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Receive( 
  262.             /* [optional][in] */ VARIANT *Transaction,
  263.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  264.             /* [optional][in] */ VARIANT *WantBody,
  265.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  266.             /* [retval][out] */ IMSMQMessage **ppmsg) = 0;
  267.         
  268.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Peek( 
  269.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  270.             /* [optional][in] */ VARIANT *WantBody,
  271.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  272.             /* [retval][out] */ IMSMQMessage **ppmsg) = 0;
  273.         
  274.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE EnableNotification( 
  275.             /* [in] */ IMSMQEvent *Event,
  276.             /* [optional][in] */ VARIANT *Cursor,
  277.             /* [optional][in] */ VARIANT *ReceiveTimeout) = 0;
  278.         
  279.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  280.         
  281.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE ReceiveCurrent( 
  282.             /* [optional][in] */ VARIANT *Transaction,
  283.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  284.             /* [optional][in] */ VARIANT *WantBody,
  285.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  286.             /* [retval][out] */ IMSMQMessage **ppmsg) = 0;
  287.         
  288.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE PeekNext( 
  289.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  290.             /* [optional][in] */ VARIANT *WantBody,
  291.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  292.             /* [retval][out] */ IMSMQMessage **ppmsg) = 0;
  293.         
  294.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE PeekCurrent( 
  295.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  296.             /* [optional][in] */ VARIANT *WantBody,
  297.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  298.             /* [retval][out] */ IMSMQMessage **ppmsg) = 0;
  299.         
  300.     };
  301.     
  302. #else  /* C style interface */
  303.     typedef struct IMSMQQueueVtbl
  304.     {
  305.         BEGIN_INTERFACE
  306.         
  307.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  308.             IMSMQQueue * This,
  309.             /* [in] */ REFIID riid,
  310.             /* [iid_is][out] */ void **ppvObject);
  311.         
  312.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  313.             IMSMQQueue * This);
  314.         
  315.         ULONG ( STDMETHODCALLTYPE *Release )( 
  316.             IMSMQQueue * This);
  317.         
  318.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  319.             IMSMQQueue * This,
  320.             /* [out] */ UINT *pctinfo);
  321.         
  322.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  323.             IMSMQQueue * This,
  324.             /* [in] */ UINT iTInfo,
  325.             /* [in] */ LCID lcid,
  326.             /* [out] */ ITypeInfo **ppTInfo);
  327.         
  328.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  329.             IMSMQQueue * This,
  330.             /* [in] */ REFIID riid,
  331.             /* [size_is][in] */ LPOLESTR *rgszNames,
  332.             /* [in] */ UINT cNames,
  333.             /* [in] */ LCID lcid,
  334.             /* [size_is][out] */ DISPID *rgDispId);
  335.         
  336.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  337.             IMSMQQueue * This,
  338.             /* [in] */ DISPID dispIdMember,
  339.             /* [in] */ REFIID riid,
  340.             /* [in] */ LCID lcid,
  341.             /* [in] */ WORD wFlags,
  342.             /* [out][in] */ DISPPARAMS *pDispParams,
  343.             /* [out] */ VARIANT *pVarResult,
  344.             /* [out] */ EXCEPINFO *pExcepInfo,
  345.             /* [out] */ UINT *puArgErr);
  346.         
  347.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_Access )( 
  348.             IMSMQQueue * This,
  349.             /* [retval][out] */ long *plAccess);
  350.         
  351.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_ShareMode )( 
  352.             IMSMQQueue * This,
  353.             /* [retval][out] */ long *plShareMode);
  354.         
  355.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_QueueInfo )( 
  356.             IMSMQQueue * This,
  357.             /* [retval][out] */ IMSMQQueueInfo **ppqinfo);
  358.         
  359.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_Handle )( 
  360.             IMSMQQueue * This,
  361.             /* [retval][out] */ long *plHandle);
  362.         
  363.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_IsOpen )( 
  364.             IMSMQQueue * This,
  365.             /* [retval][out] */ Boolean *pisOpen);
  366.         
  367.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Close )( 
  368.             IMSMQQueue * This);
  369.         
  370.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Receive )( 
  371.             IMSMQQueue * This,
  372.             /* [optional][in] */ VARIANT *Transaction,
  373.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  374.             /* [optional][in] */ VARIANT *WantBody,
  375.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  376.             /* [retval][out] */ IMSMQMessage **ppmsg);
  377.         
  378.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Peek )( 
  379.             IMSMQQueue * This,
  380.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  381.             /* [optional][in] */ VARIANT *WantBody,
  382.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  383.             /* [retval][out] */ IMSMQMessage **ppmsg);
  384.         
  385.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *EnableNotification )( 
  386.             IMSMQQueue * This,
  387.             /* [in] */ IMSMQEvent *Event,
  388.             /* [optional][in] */ VARIANT *Cursor,
  389.             /* [optional][in] */ VARIANT *ReceiveTimeout);
  390.         
  391.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Reset )( 
  392.             IMSMQQueue * This);
  393.         
  394.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *ReceiveCurrent )( 
  395.             IMSMQQueue * This,
  396.             /* [optional][in] */ VARIANT *Transaction,
  397.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  398.             /* [optional][in] */ VARIANT *WantBody,
  399.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  400.             /* [retval][out] */ IMSMQMessage **ppmsg);
  401.         
  402.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *PeekNext )( 
  403.             IMSMQQueue * This,
  404.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  405.             /* [optional][in] */ VARIANT *WantBody,
  406.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  407.             /* [retval][out] */ IMSMQMessage **ppmsg);
  408.         
  409.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *PeekCurrent )( 
  410.             IMSMQQueue * This,
  411.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  412.             /* [optional][in] */ VARIANT *WantBody,
  413.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  414.             /* [retval][out] */ IMSMQMessage **ppmsg);
  415.         
  416.         END_INTERFACE
  417.     } IMSMQQueueVtbl;
  418.     interface IMSMQQueue
  419.     {
  420.         CONST_VTBL struct IMSMQQueueVtbl *lpVtbl;
  421.     };
  422.     
  423. #ifdef COBJMACROS
  424. #define IMSMQQueue_QueryInterface(This,riid,ppvObject)
  425.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  426. #define IMSMQQueue_AddRef(This)
  427.     (This)->lpVtbl -> AddRef(This)
  428. #define IMSMQQueue_Release(This)
  429.     (This)->lpVtbl -> Release(This)
  430. #define IMSMQQueue_GetTypeInfoCount(This,pctinfo)
  431.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  432. #define IMSMQQueue_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  433.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  434. #define IMSMQQueue_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  435.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  436. #define IMSMQQueue_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  437.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  438. #define IMSMQQueue_get_Access(This,plAccess)
  439.     (This)->lpVtbl -> get_Access(This,plAccess)
  440. #define IMSMQQueue_get_ShareMode(This,plShareMode)
  441.     (This)->lpVtbl -> get_ShareMode(This,plShareMode)
  442. #define IMSMQQueue_get_QueueInfo(This,ppqinfo)
  443.     (This)->lpVtbl -> get_QueueInfo(This,ppqinfo)
  444. #define IMSMQQueue_get_Handle(This,plHandle)
  445.     (This)->lpVtbl -> get_Handle(This,plHandle)
  446. #define IMSMQQueue_get_IsOpen(This,pisOpen)
  447.     (This)->lpVtbl -> get_IsOpen(This,pisOpen)
  448. #define IMSMQQueue_Close(This)
  449.     (This)->lpVtbl -> Close(This)
  450. #define IMSMQQueue_Receive(This,Transaction,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  451.     (This)->lpVtbl -> Receive(This,Transaction,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  452. #define IMSMQQueue_Peek(This,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  453.     (This)->lpVtbl -> Peek(This,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  454. #define IMSMQQueue_EnableNotification(This,Event,Cursor,ReceiveTimeout)
  455.     (This)->lpVtbl -> EnableNotification(This,Event,Cursor,ReceiveTimeout)
  456. #define IMSMQQueue_Reset(This)
  457.     (This)->lpVtbl -> Reset(This)
  458. #define IMSMQQueue_ReceiveCurrent(This,Transaction,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  459.     (This)->lpVtbl -> ReceiveCurrent(This,Transaction,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  460. #define IMSMQQueue_PeekNext(This,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  461.     (This)->lpVtbl -> PeekNext(This,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  462. #define IMSMQQueue_PeekCurrent(This,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  463.     (This)->lpVtbl -> PeekCurrent(This,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  464. #endif /* COBJMACROS */
  465. #endif  /* C style interface */
  466. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue_get_Access_Proxy( 
  467.     IMSMQQueue * This,
  468.     /* [retval][out] */ long *plAccess);
  469. void __RPC_STUB IMSMQQueue_get_Access_Stub(
  470.     IRpcStubBuffer *This,
  471.     IRpcChannelBuffer *_pRpcChannelBuffer,
  472.     PRPC_MESSAGE _pRpcMessage,
  473.     DWORD *_pdwStubPhase);
  474. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue_get_ShareMode_Proxy( 
  475.     IMSMQQueue * This,
  476.     /* [retval][out] */ long *plShareMode);
  477. void __RPC_STUB IMSMQQueue_get_ShareMode_Stub(
  478.     IRpcStubBuffer *This,
  479.     IRpcChannelBuffer *_pRpcChannelBuffer,
  480.     PRPC_MESSAGE _pRpcMessage,
  481.     DWORD *_pdwStubPhase);
  482. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue_get_QueueInfo_Proxy( 
  483.     IMSMQQueue * This,
  484.     /* [retval][out] */ IMSMQQueueInfo **ppqinfo);
  485. void __RPC_STUB IMSMQQueue_get_QueueInfo_Stub(
  486.     IRpcStubBuffer *This,
  487.     IRpcChannelBuffer *_pRpcChannelBuffer,
  488.     PRPC_MESSAGE _pRpcMessage,
  489.     DWORD *_pdwStubPhase);
  490. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue_get_Handle_Proxy( 
  491.     IMSMQQueue * This,
  492.     /* [retval][out] */ long *plHandle);
  493. void __RPC_STUB IMSMQQueue_get_Handle_Stub(
  494.     IRpcStubBuffer *This,
  495.     IRpcChannelBuffer *_pRpcChannelBuffer,
  496.     PRPC_MESSAGE _pRpcMessage,
  497.     DWORD *_pdwStubPhase);
  498. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue_get_IsOpen_Proxy( 
  499.     IMSMQQueue * This,
  500.     /* [retval][out] */ Boolean *pisOpen);
  501. void __RPC_STUB IMSMQQueue_get_IsOpen_Stub(
  502.     IRpcStubBuffer *This,
  503.     IRpcChannelBuffer *_pRpcChannelBuffer,
  504.     PRPC_MESSAGE _pRpcMessage,
  505.     DWORD *_pdwStubPhase);
  506. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue_Close_Proxy( 
  507.     IMSMQQueue * This);
  508. void __RPC_STUB IMSMQQueue_Close_Stub(
  509.     IRpcStubBuffer *This,
  510.     IRpcChannelBuffer *_pRpcChannelBuffer,
  511.     PRPC_MESSAGE _pRpcMessage,
  512.     DWORD *_pdwStubPhase);
  513. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue_Receive_Proxy( 
  514.     IMSMQQueue * This,
  515.     /* [optional][in] */ VARIANT *Transaction,
  516.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  517.     /* [optional][in] */ VARIANT *WantBody,
  518.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  519.     /* [retval][out] */ IMSMQMessage **ppmsg);
  520. void __RPC_STUB IMSMQQueue_Receive_Stub(
  521.     IRpcStubBuffer *This,
  522.     IRpcChannelBuffer *_pRpcChannelBuffer,
  523.     PRPC_MESSAGE _pRpcMessage,
  524.     DWORD *_pdwStubPhase);
  525. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue_Peek_Proxy( 
  526.     IMSMQQueue * This,
  527.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  528.     /* [optional][in] */ VARIANT *WantBody,
  529.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  530.     /* [retval][out] */ IMSMQMessage **ppmsg);
  531. void __RPC_STUB IMSMQQueue_Peek_Stub(
  532.     IRpcStubBuffer *This,
  533.     IRpcChannelBuffer *_pRpcChannelBuffer,
  534.     PRPC_MESSAGE _pRpcMessage,
  535.     DWORD *_pdwStubPhase);
  536. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue_EnableNotification_Proxy( 
  537.     IMSMQQueue * This,
  538.     /* [in] */ IMSMQEvent *Event,
  539.     /* [optional][in] */ VARIANT *Cursor,
  540.     /* [optional][in] */ VARIANT *ReceiveTimeout);
  541. void __RPC_STUB IMSMQQueue_EnableNotification_Stub(
  542.     IRpcStubBuffer *This,
  543.     IRpcChannelBuffer *_pRpcChannelBuffer,
  544.     PRPC_MESSAGE _pRpcMessage,
  545.     DWORD *_pdwStubPhase);
  546. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue_Reset_Proxy( 
  547.     IMSMQQueue * This);
  548. void __RPC_STUB IMSMQQueue_Reset_Stub(
  549.     IRpcStubBuffer *This,
  550.     IRpcChannelBuffer *_pRpcChannelBuffer,
  551.     PRPC_MESSAGE _pRpcMessage,
  552.     DWORD *_pdwStubPhase);
  553. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue_ReceiveCurrent_Proxy( 
  554.     IMSMQQueue * This,
  555.     /* [optional][in] */ VARIANT *Transaction,
  556.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  557.     /* [optional][in] */ VARIANT *WantBody,
  558.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  559.     /* [retval][out] */ IMSMQMessage **ppmsg);
  560. void __RPC_STUB IMSMQQueue_ReceiveCurrent_Stub(
  561.     IRpcStubBuffer *This,
  562.     IRpcChannelBuffer *_pRpcChannelBuffer,
  563.     PRPC_MESSAGE _pRpcMessage,
  564.     DWORD *_pdwStubPhase);
  565. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue_PeekNext_Proxy( 
  566.     IMSMQQueue * This,
  567.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  568.     /* [optional][in] */ VARIANT *WantBody,
  569.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  570.     /* [retval][out] */ IMSMQMessage **ppmsg);
  571. void __RPC_STUB IMSMQQueue_PeekNext_Stub(
  572.     IRpcStubBuffer *This,
  573.     IRpcChannelBuffer *_pRpcChannelBuffer,
  574.     PRPC_MESSAGE _pRpcMessage,
  575.     DWORD *_pdwStubPhase);
  576. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue_PeekCurrent_Proxy( 
  577.     IMSMQQueue * This,
  578.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  579.     /* [optional][in] */ VARIANT *WantBody,
  580.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  581.     /* [retval][out] */ IMSMQMessage **ppmsg);
  582. void __RPC_STUB IMSMQQueue_PeekCurrent_Stub(
  583.     IRpcStubBuffer *This,
  584.     IRpcChannelBuffer *_pRpcChannelBuffer,
  585.     PRPC_MESSAGE _pRpcMessage,
  586.     DWORD *_pdwStubPhase);
  587. #endif  /* __IMSMQQueue_INTERFACE_DEFINED__ */
  588. #ifndef __IMSMQQueue2_INTERFACE_DEFINED__
  589. #define __IMSMQQueue2_INTERFACE_DEFINED__
  590. /* interface IMSMQQueue2 */
  591. /* [object][dual][hidden][helpstringcontext][uuid] */ 
  592. EXTERN_C const IID IID_IMSMQQueue2;
  593. #if defined(__cplusplus) && !defined(CINTERFACE)
  594.     
  595.     MIDL_INTERFACE("EF0574E0-06D8-11D3-B100-00E02C074F6B")
  596.     IMSMQQueue2 : public IDispatch
  597.     {
  598.     public:
  599.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_Access( 
  600.             /* [retval][out] */ long *plAccess) = 0;
  601.         
  602.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_ShareMode( 
  603.             /* [retval][out] */ long *plShareMode) = 0;
  604.         
  605.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_QueueInfo( 
  606.             /* [retval][out] */ IMSMQQueueInfo2 **ppqinfo) = 0;
  607.         
  608.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_Handle( 
  609.             /* [retval][out] */ long *plHandle) = 0;
  610.         
  611.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_IsOpen( 
  612.             /* [retval][out] */ Boolean *pisOpen) = 0;
  613.         
  614.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  615.         
  616.         virtual /* [hidden][helpstringcontext] */ HRESULT STDMETHODCALLTYPE Receive_v1( 
  617.             /* [optional][in] */ VARIANT *Transaction,
  618.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  619.             /* [optional][in] */ VARIANT *WantBody,
  620.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  621.             /* [retval][out] */ IMSMQMessage **ppmsg) = 0;
  622.         
  623.         virtual /* [hidden][helpstringcontext] */ HRESULT STDMETHODCALLTYPE Peek_v1( 
  624.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  625.             /* [optional][in] */ VARIANT *WantBody,
  626.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  627.             /* [retval][out] */ IMSMQMessage **ppmsg) = 0;
  628.         
  629.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE EnableNotification( 
  630.             /* [in] */ IMSMQEvent2 *Event,
  631.             /* [optional][in] */ VARIANT *Cursor,
  632.             /* [optional][in] */ VARIANT *ReceiveTimeout) = 0;
  633.         
  634.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  635.         
  636.         virtual /* [hidden][helpstringcontext] */ HRESULT STDMETHODCALLTYPE ReceiveCurrent_v1( 
  637.             /* [optional][in] */ VARIANT *Transaction,
  638.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  639.             /* [optional][in] */ VARIANT *WantBody,
  640.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  641.             /* [retval][out] */ IMSMQMessage **ppmsg) = 0;
  642.         
  643.         virtual /* [hidden][helpstringcontext] */ HRESULT STDMETHODCALLTYPE PeekNext_v1( 
  644.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  645.             /* [optional][in] */ VARIANT *WantBody,
  646.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  647.             /* [retval][out] */ IMSMQMessage **ppmsg) = 0;
  648.         
  649.         virtual /* [hidden][helpstringcontext] */ HRESULT STDMETHODCALLTYPE PeekCurrent_v1( 
  650.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  651.             /* [optional][in] */ VARIANT *WantBody,
  652.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  653.             /* [retval][out] */ IMSMQMessage **ppmsg) = 0;
  654.         
  655.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Receive( 
  656.             /* [optional][in] */ VARIANT *Transaction,
  657.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  658.             /* [optional][in] */ VARIANT *WantBody,
  659.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  660.             /* [optional][in] */ VARIANT *WantConnectorType,
  661.             /* [retval][out] */ IMSMQMessage2 **ppmsg) = 0;
  662.         
  663.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Peek( 
  664.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  665.             /* [optional][in] */ VARIANT *WantBody,
  666.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  667.             /* [optional][in] */ VARIANT *WantConnectorType,
  668.             /* [retval][out] */ IMSMQMessage2 **ppmsg) = 0;
  669.         
  670.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE ReceiveCurrent( 
  671.             /* [optional][in] */ VARIANT *Transaction,
  672.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  673.             /* [optional][in] */ VARIANT *WantBody,
  674.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  675.             /* [optional][in] */ VARIANT *WantConnectorType,
  676.             /* [retval][out] */ IMSMQMessage2 **ppmsg) = 0;
  677.         
  678.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE PeekNext( 
  679.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  680.             /* [optional][in] */ VARIANT *WantBody,
  681.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  682.             /* [optional][in] */ VARIANT *WantConnectorType,
  683.             /* [retval][out] */ IMSMQMessage2 **ppmsg) = 0;
  684.         
  685.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE PeekCurrent( 
  686.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  687.             /* [optional][in] */ VARIANT *WantBody,
  688.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  689.             /* [optional][in] */ VARIANT *WantConnectorType,
  690.             /* [retval][out] */ IMSMQMessage2 **ppmsg) = 0;
  691.         
  692.         virtual /* [id][propget][hidden] */ HRESULT STDMETHODCALLTYPE get_Properties( 
  693.             /* [retval][out] */ IDispatch **ppcolProperties) = 0;
  694.         
  695.     };
  696.     
  697. #else  /* C style interface */
  698.     typedef struct IMSMQQueue2Vtbl
  699.     {
  700.         BEGIN_INTERFACE
  701.         
  702.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  703.             IMSMQQueue2 * This,
  704.             /* [in] */ REFIID riid,
  705.             /* [iid_is][out] */ void **ppvObject);
  706.         
  707.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  708.             IMSMQQueue2 * This);
  709.         
  710.         ULONG ( STDMETHODCALLTYPE *Release )( 
  711.             IMSMQQueue2 * This);
  712.         
  713.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  714.             IMSMQQueue2 * This,
  715.             /* [out] */ UINT *pctinfo);
  716.         
  717.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  718.             IMSMQQueue2 * This,
  719.             /* [in] */ UINT iTInfo,
  720.             /* [in] */ LCID lcid,
  721.             /* [out] */ ITypeInfo **ppTInfo);
  722.         
  723.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  724.             IMSMQQueue2 * This,
  725.             /* [in] */ REFIID riid,
  726.             /* [size_is][in] */ LPOLESTR *rgszNames,
  727.             /* [in] */ UINT cNames,
  728.             /* [in] */ LCID lcid,
  729.             /* [size_is][out] */ DISPID *rgDispId);
  730.         
  731.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  732.             IMSMQQueue2 * This,
  733.             /* [in] */ DISPID dispIdMember,
  734.             /* [in] */ REFIID riid,
  735.             /* [in] */ LCID lcid,
  736.             /* [in] */ WORD wFlags,
  737.             /* [out][in] */ DISPPARAMS *pDispParams,
  738.             /* [out] */ VARIANT *pVarResult,
  739.             /* [out] */ EXCEPINFO *pExcepInfo,
  740.             /* [out] */ UINT *puArgErr);
  741.         
  742.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_Access )( 
  743.             IMSMQQueue2 * This,
  744.             /* [retval][out] */ long *plAccess);
  745.         
  746.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_ShareMode )( 
  747.             IMSMQQueue2 * This,
  748.             /* [retval][out] */ long *plShareMode);
  749.         
  750.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_QueueInfo )( 
  751.             IMSMQQueue2 * This,
  752.             /* [retval][out] */ IMSMQQueueInfo2 **ppqinfo);
  753.         
  754.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_Handle )( 
  755.             IMSMQQueue2 * This,
  756.             /* [retval][out] */ long *plHandle);
  757.         
  758.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_IsOpen )( 
  759.             IMSMQQueue2 * This,
  760.             /* [retval][out] */ Boolean *pisOpen);
  761.         
  762.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Close )( 
  763.             IMSMQQueue2 * This);
  764.         
  765.         /* [hidden][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Receive_v1 )( 
  766.             IMSMQQueue2 * This,
  767.             /* [optional][in] */ VARIANT *Transaction,
  768.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  769.             /* [optional][in] */ VARIANT *WantBody,
  770.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  771.             /* [retval][out] */ IMSMQMessage **ppmsg);
  772.         
  773.         /* [hidden][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Peek_v1 )( 
  774.             IMSMQQueue2 * This,
  775.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  776.             /* [optional][in] */ VARIANT *WantBody,
  777.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  778.             /* [retval][out] */ IMSMQMessage **ppmsg);
  779.         
  780.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *EnableNotification )( 
  781.             IMSMQQueue2 * This,
  782.             /* [in] */ IMSMQEvent2 *Event,
  783.             /* [optional][in] */ VARIANT *Cursor,
  784.             /* [optional][in] */ VARIANT *ReceiveTimeout);
  785.         
  786.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Reset )( 
  787.             IMSMQQueue2 * This);
  788.         
  789.         /* [hidden][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *ReceiveCurrent_v1 )( 
  790.             IMSMQQueue2 * This,
  791.             /* [optional][in] */ VARIANT *Transaction,
  792.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  793.             /* [optional][in] */ VARIANT *WantBody,
  794.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  795.             /* [retval][out] */ IMSMQMessage **ppmsg);
  796.         
  797.         /* [hidden][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *PeekNext_v1 )( 
  798.             IMSMQQueue2 * This,
  799.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  800.             /* [optional][in] */ VARIANT *WantBody,
  801.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  802.             /* [retval][out] */ IMSMQMessage **ppmsg);
  803.         
  804.         /* [hidden][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *PeekCurrent_v1 )( 
  805.             IMSMQQueue2 * This,
  806.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  807.             /* [optional][in] */ VARIANT *WantBody,
  808.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  809.             /* [retval][out] */ IMSMQMessage **ppmsg);
  810.         
  811.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Receive )( 
  812.             IMSMQQueue2 * This,
  813.             /* [optional][in] */ VARIANT *Transaction,
  814.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  815.             /* [optional][in] */ VARIANT *WantBody,
  816.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  817.             /* [optional][in] */ VARIANT *WantConnectorType,
  818.             /* [retval][out] */ IMSMQMessage2 **ppmsg);
  819.         
  820.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Peek )( 
  821.             IMSMQQueue2 * This,
  822.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  823.             /* [optional][in] */ VARIANT *WantBody,
  824.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  825.             /* [optional][in] */ VARIANT *WantConnectorType,
  826.             /* [retval][out] */ IMSMQMessage2 **ppmsg);
  827.         
  828.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *ReceiveCurrent )( 
  829.             IMSMQQueue2 * This,
  830.             /* [optional][in] */ VARIANT *Transaction,
  831.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  832.             /* [optional][in] */ VARIANT *WantBody,
  833.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  834.             /* [optional][in] */ VARIANT *WantConnectorType,
  835.             /* [retval][out] */ IMSMQMessage2 **ppmsg);
  836.         
  837.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *PeekNext )( 
  838.             IMSMQQueue2 * This,
  839.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  840.             /* [optional][in] */ VARIANT *WantBody,
  841.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  842.             /* [optional][in] */ VARIANT *WantConnectorType,
  843.             /* [retval][out] */ IMSMQMessage2 **ppmsg);
  844.         
  845.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *PeekCurrent )( 
  846.             IMSMQQueue2 * This,
  847.             /* [optional][in] */ VARIANT *WantDestinationQueue,
  848.             /* [optional][in] */ VARIANT *WantBody,
  849.             /* [optional][in] */ VARIANT *ReceiveTimeout,
  850.             /* [optional][in] */ VARIANT *WantConnectorType,
  851.             /* [retval][out] */ IMSMQMessage2 **ppmsg);
  852.         
  853.         /* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )( 
  854.             IMSMQQueue2 * This,
  855.             /* [retval][out] */ IDispatch **ppcolProperties);
  856.         
  857.         END_INTERFACE
  858.     } IMSMQQueue2Vtbl;
  859.     interface IMSMQQueue2
  860.     {
  861.         CONST_VTBL struct IMSMQQueue2Vtbl *lpVtbl;
  862.     };
  863.     
  864. #ifdef COBJMACROS
  865. #define IMSMQQueue2_QueryInterface(This,riid,ppvObject)
  866.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  867. #define IMSMQQueue2_AddRef(This)
  868.     (This)->lpVtbl -> AddRef(This)
  869. #define IMSMQQueue2_Release(This)
  870.     (This)->lpVtbl -> Release(This)
  871. #define IMSMQQueue2_GetTypeInfoCount(This,pctinfo)
  872.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  873. #define IMSMQQueue2_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  874.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  875. #define IMSMQQueue2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  876.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  877. #define IMSMQQueue2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  878.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  879. #define IMSMQQueue2_get_Access(This,plAccess)
  880.     (This)->lpVtbl -> get_Access(This,plAccess)
  881. #define IMSMQQueue2_get_ShareMode(This,plShareMode)
  882.     (This)->lpVtbl -> get_ShareMode(This,plShareMode)
  883. #define IMSMQQueue2_get_QueueInfo(This,ppqinfo)
  884.     (This)->lpVtbl -> get_QueueInfo(This,ppqinfo)
  885. #define IMSMQQueue2_get_Handle(This,plHandle)
  886.     (This)->lpVtbl -> get_Handle(This,plHandle)
  887. #define IMSMQQueue2_get_IsOpen(This,pisOpen)
  888.     (This)->lpVtbl -> get_IsOpen(This,pisOpen)
  889. #define IMSMQQueue2_Close(This)
  890.     (This)->lpVtbl -> Close(This)
  891. #define IMSMQQueue2_Receive_v1(This,Transaction,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  892.     (This)->lpVtbl -> Receive_v1(This,Transaction,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  893. #define IMSMQQueue2_Peek_v1(This,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  894.     (This)->lpVtbl -> Peek_v1(This,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  895. #define IMSMQQueue2_EnableNotification(This,Event,Cursor,ReceiveTimeout)
  896.     (This)->lpVtbl -> EnableNotification(This,Event,Cursor,ReceiveTimeout)
  897. #define IMSMQQueue2_Reset(This)
  898.     (This)->lpVtbl -> Reset(This)
  899. #define IMSMQQueue2_ReceiveCurrent_v1(This,Transaction,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  900.     (This)->lpVtbl -> ReceiveCurrent_v1(This,Transaction,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  901. #define IMSMQQueue2_PeekNext_v1(This,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  902.     (This)->lpVtbl -> PeekNext_v1(This,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  903. #define IMSMQQueue2_PeekCurrent_v1(This,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  904.     (This)->lpVtbl -> PeekCurrent_v1(This,WantDestinationQueue,WantBody,ReceiveTimeout,ppmsg)
  905. #define IMSMQQueue2_Receive(This,Transaction,WantDestinationQueue,WantBody,ReceiveTimeout,WantConnectorType,ppmsg)
  906.     (This)->lpVtbl -> Receive(This,Transaction,WantDestinationQueue,WantBody,ReceiveTimeout,WantConnectorType,ppmsg)
  907. #define IMSMQQueue2_Peek(This,WantDestinationQueue,WantBody,ReceiveTimeout,WantConnectorType,ppmsg)
  908.     (This)->lpVtbl -> Peek(This,WantDestinationQueue,WantBody,ReceiveTimeout,WantConnectorType,ppmsg)
  909. #define IMSMQQueue2_ReceiveCurrent(This,Transaction,WantDestinationQueue,WantBody,ReceiveTimeout,WantConnectorType,ppmsg)
  910.     (This)->lpVtbl -> ReceiveCurrent(This,Transaction,WantDestinationQueue,WantBody,ReceiveTimeout,WantConnectorType,ppmsg)
  911. #define IMSMQQueue2_PeekNext(This,WantDestinationQueue,WantBody,ReceiveTimeout,WantConnectorType,ppmsg)
  912.     (This)->lpVtbl -> PeekNext(This,WantDestinationQueue,WantBody,ReceiveTimeout,WantConnectorType,ppmsg)
  913. #define IMSMQQueue2_PeekCurrent(This,WantDestinationQueue,WantBody,ReceiveTimeout,WantConnectorType,ppmsg)
  914.     (This)->lpVtbl -> PeekCurrent(This,WantDestinationQueue,WantBody,ReceiveTimeout,WantConnectorType,ppmsg)
  915. #define IMSMQQueue2_get_Properties(This,ppcolProperties)
  916.     (This)->lpVtbl -> get_Properties(This,ppcolProperties)
  917. #endif /* COBJMACROS */
  918. #endif  /* C style interface */
  919. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_get_Access_Proxy( 
  920.     IMSMQQueue2 * This,
  921.     /* [retval][out] */ long *plAccess);
  922. void __RPC_STUB IMSMQQueue2_get_Access_Stub(
  923.     IRpcStubBuffer *This,
  924.     IRpcChannelBuffer *_pRpcChannelBuffer,
  925.     PRPC_MESSAGE _pRpcMessage,
  926.     DWORD *_pdwStubPhase);
  927. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_get_ShareMode_Proxy( 
  928.     IMSMQQueue2 * This,
  929.     /* [retval][out] */ long *plShareMode);
  930. void __RPC_STUB IMSMQQueue2_get_ShareMode_Stub(
  931.     IRpcStubBuffer *This,
  932.     IRpcChannelBuffer *_pRpcChannelBuffer,
  933.     PRPC_MESSAGE _pRpcMessage,
  934.     DWORD *_pdwStubPhase);
  935. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_get_QueueInfo_Proxy( 
  936.     IMSMQQueue2 * This,
  937.     /* [retval][out] */ IMSMQQueueInfo2 **ppqinfo);
  938. void __RPC_STUB IMSMQQueue2_get_QueueInfo_Stub(
  939.     IRpcStubBuffer *This,
  940.     IRpcChannelBuffer *_pRpcChannelBuffer,
  941.     PRPC_MESSAGE _pRpcMessage,
  942.     DWORD *_pdwStubPhase);
  943. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_get_Handle_Proxy( 
  944.     IMSMQQueue2 * This,
  945.     /* [retval][out] */ long *plHandle);
  946. void __RPC_STUB IMSMQQueue2_get_Handle_Stub(
  947.     IRpcStubBuffer *This,
  948.     IRpcChannelBuffer *_pRpcChannelBuffer,
  949.     PRPC_MESSAGE _pRpcMessage,
  950.     DWORD *_pdwStubPhase);
  951. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_get_IsOpen_Proxy( 
  952.     IMSMQQueue2 * This,
  953.     /* [retval][out] */ Boolean *pisOpen);
  954. void __RPC_STUB IMSMQQueue2_get_IsOpen_Stub(
  955.     IRpcStubBuffer *This,
  956.     IRpcChannelBuffer *_pRpcChannelBuffer,
  957.     PRPC_MESSAGE _pRpcMessage,
  958.     DWORD *_pdwStubPhase);
  959. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_Close_Proxy( 
  960.     IMSMQQueue2 * This);
  961. void __RPC_STUB IMSMQQueue2_Close_Stub(
  962.     IRpcStubBuffer *This,
  963.     IRpcChannelBuffer *_pRpcChannelBuffer,
  964.     PRPC_MESSAGE _pRpcMessage,
  965.     DWORD *_pdwStubPhase);
  966. /* [hidden][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_Receive_v1_Proxy( 
  967.     IMSMQQueue2 * This,
  968.     /* [optional][in] */ VARIANT *Transaction,
  969.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  970.     /* [optional][in] */ VARIANT *WantBody,
  971.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  972.     /* [retval][out] */ IMSMQMessage **ppmsg);
  973. void __RPC_STUB IMSMQQueue2_Receive_v1_Stub(
  974.     IRpcStubBuffer *This,
  975.     IRpcChannelBuffer *_pRpcChannelBuffer,
  976.     PRPC_MESSAGE _pRpcMessage,
  977.     DWORD *_pdwStubPhase);
  978. /* [hidden][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_Peek_v1_Proxy( 
  979.     IMSMQQueue2 * This,
  980.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  981.     /* [optional][in] */ VARIANT *WantBody,
  982.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  983.     /* [retval][out] */ IMSMQMessage **ppmsg);
  984. void __RPC_STUB IMSMQQueue2_Peek_v1_Stub(
  985.     IRpcStubBuffer *This,
  986.     IRpcChannelBuffer *_pRpcChannelBuffer,
  987.     PRPC_MESSAGE _pRpcMessage,
  988.     DWORD *_pdwStubPhase);
  989. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_EnableNotification_Proxy( 
  990.     IMSMQQueue2 * This,
  991.     /* [in] */ IMSMQEvent2 *Event,
  992.     /* [optional][in] */ VARIANT *Cursor,
  993.     /* [optional][in] */ VARIANT *ReceiveTimeout);
  994. void __RPC_STUB IMSMQQueue2_EnableNotification_Stub(
  995.     IRpcStubBuffer *This,
  996.     IRpcChannelBuffer *_pRpcChannelBuffer,
  997.     PRPC_MESSAGE _pRpcMessage,
  998.     DWORD *_pdwStubPhase);
  999. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_Reset_Proxy( 
  1000.     IMSMQQueue2 * This);
  1001. void __RPC_STUB IMSMQQueue2_Reset_Stub(
  1002.     IRpcStubBuffer *This,
  1003.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1004.     PRPC_MESSAGE _pRpcMessage,
  1005.     DWORD *_pdwStubPhase);
  1006. /* [hidden][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_ReceiveCurrent_v1_Proxy( 
  1007.     IMSMQQueue2 * This,
  1008.     /* [optional][in] */ VARIANT *Transaction,
  1009.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  1010.     /* [optional][in] */ VARIANT *WantBody,
  1011.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  1012.     /* [retval][out] */ IMSMQMessage **ppmsg);
  1013. void __RPC_STUB IMSMQQueue2_ReceiveCurrent_v1_Stub(
  1014.     IRpcStubBuffer *This,
  1015.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1016.     PRPC_MESSAGE _pRpcMessage,
  1017.     DWORD *_pdwStubPhase);
  1018. /* [hidden][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_PeekNext_v1_Proxy( 
  1019.     IMSMQQueue2 * This,
  1020.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  1021.     /* [optional][in] */ VARIANT *WantBody,
  1022.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  1023.     /* [retval][out] */ IMSMQMessage **ppmsg);
  1024. void __RPC_STUB IMSMQQueue2_PeekNext_v1_Stub(
  1025.     IRpcStubBuffer *This,
  1026.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1027.     PRPC_MESSAGE _pRpcMessage,
  1028.     DWORD *_pdwStubPhase);
  1029. /* [hidden][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_PeekCurrent_v1_Proxy( 
  1030.     IMSMQQueue2 * This,
  1031.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  1032.     /* [optional][in] */ VARIANT *WantBody,
  1033.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  1034.     /* [retval][out] */ IMSMQMessage **ppmsg);
  1035. void __RPC_STUB IMSMQQueue2_PeekCurrent_v1_Stub(
  1036.     IRpcStubBuffer *This,
  1037.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1038.     PRPC_MESSAGE _pRpcMessage,
  1039.     DWORD *_pdwStubPhase);
  1040. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_Receive_Proxy( 
  1041.     IMSMQQueue2 * This,
  1042.     /* [optional][in] */ VARIANT *Transaction,
  1043.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  1044.     /* [optional][in] */ VARIANT *WantBody,
  1045.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  1046.     /* [optional][in] */ VARIANT *WantConnectorType,
  1047.     /* [retval][out] */ IMSMQMessage2 **ppmsg);
  1048. void __RPC_STUB IMSMQQueue2_Receive_Stub(
  1049.     IRpcStubBuffer *This,
  1050.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1051.     PRPC_MESSAGE _pRpcMessage,
  1052.     DWORD *_pdwStubPhase);
  1053. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_Peek_Proxy( 
  1054.     IMSMQQueue2 * This,
  1055.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  1056.     /* [optional][in] */ VARIANT *WantBody,
  1057.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  1058.     /* [optional][in] */ VARIANT *WantConnectorType,
  1059.     /* [retval][out] */ IMSMQMessage2 **ppmsg);
  1060. void __RPC_STUB IMSMQQueue2_Peek_Stub(
  1061.     IRpcStubBuffer *This,
  1062.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1063.     PRPC_MESSAGE _pRpcMessage,
  1064.     DWORD *_pdwStubPhase);
  1065. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_ReceiveCurrent_Proxy( 
  1066.     IMSMQQueue2 * This,
  1067.     /* [optional][in] */ VARIANT *Transaction,
  1068.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  1069.     /* [optional][in] */ VARIANT *WantBody,
  1070.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  1071.     /* [optional][in] */ VARIANT *WantConnectorType,
  1072.     /* [retval][out] */ IMSMQMessage2 **ppmsg);
  1073. void __RPC_STUB IMSMQQueue2_ReceiveCurrent_Stub(
  1074.     IRpcStubBuffer *This,
  1075.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1076.     PRPC_MESSAGE _pRpcMessage,
  1077.     DWORD *_pdwStubPhase);
  1078. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_PeekNext_Proxy( 
  1079.     IMSMQQueue2 * This,
  1080.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  1081.     /* [optional][in] */ VARIANT *WantBody,
  1082.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  1083.     /* [optional][in] */ VARIANT *WantConnectorType,
  1084.     /* [retval][out] */ IMSMQMessage2 **ppmsg);
  1085. void __RPC_STUB IMSMQQueue2_PeekNext_Stub(
  1086.     IRpcStubBuffer *This,
  1087.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1088.     PRPC_MESSAGE _pRpcMessage,
  1089.     DWORD *_pdwStubPhase);
  1090. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_PeekCurrent_Proxy( 
  1091.     IMSMQQueue2 * This,
  1092.     /* [optional][in] */ VARIANT *WantDestinationQueue,
  1093.     /* [optional][in] */ VARIANT *WantBody,
  1094.     /* [optional][in] */ VARIANT *ReceiveTimeout,
  1095.     /* [optional][in] */ VARIANT *WantConnectorType,
  1096.     /* [retval][out] */ IMSMQMessage2 **ppmsg);
  1097. void __RPC_STUB IMSMQQueue2_PeekCurrent_Stub(
  1098.     IRpcStubBuffer *This,
  1099.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1100.     PRPC_MESSAGE _pRpcMessage,
  1101.     DWORD *_pdwStubPhase);
  1102. /* [id][propget][hidden] */ HRESULT STDMETHODCALLTYPE IMSMQQueue2_get_Properties_Proxy( 
  1103.     IMSMQQueue2 * This,
  1104.     /* [retval][out] */ IDispatch **ppcolProperties);
  1105. void __RPC_STUB IMSMQQueue2_get_Properties_Stub(
  1106.     IRpcStubBuffer *This,
  1107.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1108.     PRPC_MESSAGE _pRpcMessage,
  1109.     DWORD *_pdwStubPhase);
  1110. #endif  /* __IMSMQQueue2_INTERFACE_DEFINED__ */
  1111. #ifndef __IMSMQMessage_INTERFACE_DEFINED__
  1112. #define __IMSMQMessage_INTERFACE_DEFINED__
  1113. /* interface IMSMQMessage */
  1114. /* [object][dual][hidden][helpstringcontext][uuid] */ 
  1115. EXTERN_C const IID IID_IMSMQMessage;
  1116. #if defined(__cplusplus) && !defined(CINTERFACE)
  1117.     
  1118.     MIDL_INTERFACE("D7D6E074-DCCD-11d0-AA4B-0060970DEBAE")
  1119.     IMSMQMessage : public IDispatch
  1120.     {
  1121.     public:
  1122.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_Class( 
  1123.             /* [retval][out] */ long *plClass) = 0;
  1124.         
  1125.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_PrivLevel( 
  1126.             /* [retval][out] */ long *plPrivLevel) = 0;
  1127.         
  1128.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_PrivLevel( 
  1129.             /* [in] */ long lPrivLevel) = 0;
  1130.         
  1131.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_AuthLevel( 
  1132.             /* [retval][out] */ long *plAuthLevel) = 0;
  1133.         
  1134.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_AuthLevel( 
  1135.             /* [in] */ long lAuthLevel) = 0;
  1136.         
  1137.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_IsAuthenticated( 
  1138.             /* [retval][out] */ Boolean *pisAuthenticated) = 0;
  1139.         
  1140.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_Delivery( 
  1141.             /* [retval][out] */ long *plDelivery) = 0;
  1142.         
  1143.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_Delivery( 
  1144.             /* [in] */ long lDelivery) = 0;
  1145.         
  1146.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_Trace( 
  1147.             /* [retval][out] */ long *plTrace) = 0;
  1148.         
  1149.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_Trace( 
  1150.             /* [in] */ long lTrace) = 0;
  1151.         
  1152.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_Priority( 
  1153.             /* [retval][out] */ long *plPriority) = 0;
  1154.         
  1155.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_Priority( 
  1156.             /* [in] */ long lPriority) = 0;
  1157.         
  1158.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_Journal( 
  1159.             /* [retval][out] */ long *plJournal) = 0;
  1160.         
  1161.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_Journal( 
  1162.             /* [in] */ long lJournal) = 0;
  1163.         
  1164.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_ResponseQueueInfo( 
  1165.             /* [retval][out] */ IMSMQQueueInfo **ppqinfoResponse) = 0;
  1166.         
  1167.         virtual /* [id][propputref][helpstringcontext] */ HRESULT STDMETHODCALLTYPE putref_ResponseQueueInfo( 
  1168.             /* [in] */ IMSMQQueueInfo *pqinfoResponse) = 0;
  1169.         
  1170.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_AppSpecific( 
  1171.             /* [retval][out] */ long *plAppSpecific) = 0;
  1172.         
  1173.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_AppSpecific( 
  1174.             /* [in] */ long lAppSpecific) = 0;
  1175.         
  1176.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_SourceMachineGuid( 
  1177.             /* [retval][out] */ BSTR *pbstrGuidSrcMachine) = 0;
  1178.         
  1179.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_BodyLength( 
  1180.             /* [retval][out] */ long *pcbBody) = 0;
  1181.         
  1182.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_Body( 
  1183.             /* [retval][out] */ VARIANT *pvarBody) = 0;
  1184.         
  1185.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_Body( 
  1186.             /* [in] */ VARIANT varBody) = 0;
  1187.         
  1188.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_AdminQueueInfo( 
  1189.             /* [retval][out] */ IMSMQQueueInfo **ppqinfoAdmin) = 0;
  1190.         
  1191.         virtual /* [id][propputref][helpstringcontext] */ HRESULT STDMETHODCALLTYPE putref_AdminQueueInfo( 
  1192.             /* [in] */ IMSMQQueueInfo *pqinfoAdmin) = 0;
  1193.         
  1194.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_Id( 
  1195.             /* [retval][out] */ VARIANT *pvarMsgId) = 0;
  1196.         
  1197.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_CorrelationId( 
  1198.             /* [retval][out] */ VARIANT *pvarMsgId) = 0;
  1199.         
  1200.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_CorrelationId( 
  1201.             /* [in] */ VARIANT varMsgId) = 0;
  1202.         
  1203.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_Ack( 
  1204.             /* [retval][out] */ long *plAck) = 0;
  1205.         
  1206.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_Ack( 
  1207.             /* [in] */ long lAck) = 0;
  1208.         
  1209.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_Label( 
  1210.             /* [retval][out] */ BSTR *pbstrLabel) = 0;
  1211.         
  1212.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_Label( 
  1213.             /* [in] */ BSTR bstrLabel) = 0;
  1214.         
  1215.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_MaxTimeToReachQueue( 
  1216.             /* [retval][out] */ long *plMaxTimeToReachQueue) = 0;
  1217.         
  1218.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_MaxTimeToReachQueue( 
  1219.             /* [in] */ long lMaxTimeToReachQueue) = 0;
  1220.         
  1221.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_MaxTimeToReceive( 
  1222.             /* [retval][out] */ long *plMaxTimeToReceive) = 0;
  1223.         
  1224.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_MaxTimeToReceive( 
  1225.             /* [in] */ long lMaxTimeToReceive) = 0;
  1226.         
  1227.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_HashAlgorithm( 
  1228.             /* [retval][out] */ long *plHashAlg) = 0;
  1229.         
  1230.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_HashAlgorithm( 
  1231.             /* [in] */ long lHashAlg) = 0;
  1232.         
  1233.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_EncryptAlgorithm( 
  1234.             /* [retval][out] */ long *plEncryptAlg) = 0;
  1235.         
  1236.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_EncryptAlgorithm( 
  1237.             /* [in] */ long lEncryptAlg) = 0;
  1238.         
  1239.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_SentTime( 
  1240.             /* [retval][out] */ VARIANT *pvarSentTime) = 0;
  1241.         
  1242.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_ArrivedTime( 
  1243.             /* [retval][out] */ VARIANT *plArrivedTime) = 0;
  1244.         
  1245.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_DestinationQueueInfo( 
  1246.             /* [retval][out] */ IMSMQQueueInfo **ppqinfoDest) = 0;
  1247.         
  1248.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_SenderCertificate( 
  1249.             /* [retval][out] */ VARIANT *pvarSenderCert) = 0;
  1250.         
  1251.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_SenderCertificate( 
  1252.             /* [in] */ VARIANT varSenderCert) = 0;
  1253.         
  1254.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_SenderId( 
  1255.             /* [retval][out] */ VARIANT *pvarSenderId) = 0;
  1256.         
  1257.         virtual /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE get_SenderIdType( 
  1258.             /* [retval][out] */ long *plSenderIdType) = 0;
  1259.         
  1260.         virtual /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE put_SenderIdType( 
  1261.             /* [in] */ long lSenderIdType) = 0;
  1262.         
  1263.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Send( 
  1264.             /* [in] */ IMSMQQueue *DestinationQueue,
  1265.             /* [optional][in] */ VARIANT *Transaction) = 0;
  1266.         
  1267.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE AttachCurrentSecurityContext( void) = 0;
  1268.         
  1269.     };
  1270.     
  1271. #else  /* C style interface */
  1272.     typedef struct IMSMQMessageVtbl
  1273.     {
  1274.         BEGIN_INTERFACE
  1275.         
  1276.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1277.             IMSMQMessage * This,
  1278.             /* [in] */ REFIID riid,
  1279.             /* [iid_is][out] */ void **ppvObject);
  1280.         
  1281.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1282.             IMSMQMessage * This);
  1283.         
  1284.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1285.             IMSMQMessage * This);
  1286.         
  1287.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1288.             IMSMQMessage * This,
  1289.             /* [out] */ UINT *pctinfo);
  1290.         
  1291.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1292.             IMSMQMessage * This,
  1293.             /* [in] */ UINT iTInfo,
  1294.             /* [in] */ LCID lcid,
  1295.             /* [out] */ ITypeInfo **ppTInfo);
  1296.         
  1297.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1298.             IMSMQMessage * This,
  1299.             /* [in] */ REFIID riid,
  1300.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1301.             /* [in] */ UINT cNames,
  1302.             /* [in] */ LCID lcid,
  1303.             /* [size_is][out] */ DISPID *rgDispId);
  1304.         
  1305.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1306.             IMSMQMessage * This,
  1307.             /* [in] */ DISPID dispIdMember,
  1308.             /* [in] */ REFIID riid,
  1309.             /* [in] */ LCID lcid,
  1310.             /* [in] */ WORD wFlags,
  1311.             /* [out][in] */ DISPPARAMS *pDispParams,
  1312.             /* [out] */ VARIANT *pVarResult,
  1313.             /* [out] */ EXCEPINFO *pExcepInfo,
  1314.             /* [out] */ UINT *puArgErr);
  1315.         
  1316.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_Class )( 
  1317.             IMSMQMessage * This,
  1318.             /* [retval][out] */ long *plClass);
  1319.         
  1320.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_PrivLevel )( 
  1321.             IMSMQMessage * This,
  1322.             /* [retval][out] */ long *plPrivLevel);
  1323.         
  1324.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_PrivLevel )( 
  1325.             IMSMQMessage * This,
  1326.             /* [in] */ long lPrivLevel);
  1327.         
  1328.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_AuthLevel )( 
  1329.             IMSMQMessage * This,
  1330.             /* [retval][out] */ long *plAuthLevel);
  1331.         
  1332.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_AuthLevel )( 
  1333.             IMSMQMessage * This,
  1334.             /* [in] */ long lAuthLevel);
  1335.         
  1336.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_IsAuthenticated )( 
  1337.             IMSMQMessage * This,
  1338.             /* [retval][out] */ Boolean *pisAuthenticated);
  1339.         
  1340.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_Delivery )( 
  1341.             IMSMQMessage * This,
  1342.             /* [retval][out] */ long *plDelivery);
  1343.         
  1344.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_Delivery )( 
  1345.             IMSMQMessage * This,
  1346.             /* [in] */ long lDelivery);
  1347.         
  1348.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_Trace )( 
  1349.             IMSMQMessage * This,
  1350.             /* [retval][out] */ long *plTrace);
  1351.         
  1352.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_Trace )( 
  1353.             IMSMQMessage * This,
  1354.             /* [in] */ long lTrace);
  1355.         
  1356.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_Priority )( 
  1357.             IMSMQMessage * This,
  1358.             /* [retval][out] */ long *plPriority);
  1359.         
  1360.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_Priority )( 
  1361.             IMSMQMessage * This,
  1362.             /* [in] */ long lPriority);
  1363.         
  1364.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_Journal )( 
  1365.             IMSMQMessage * This,
  1366.             /* [retval][out] */ long *plJournal);
  1367.         
  1368.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_Journal )( 
  1369.             IMSMQMessage * This,
  1370.             /* [in] */ long lJournal);
  1371.         
  1372.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_ResponseQueueInfo )( 
  1373.             IMSMQMessage * This,
  1374.             /* [retval][out] */ IMSMQQueueInfo **ppqinfoResponse);
  1375.         
  1376.         /* [id][propputref][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *putref_ResponseQueueInfo )( 
  1377.             IMSMQMessage * This,
  1378.             /* [in] */ IMSMQQueueInfo *pqinfoResponse);
  1379.         
  1380.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_AppSpecific )( 
  1381.             IMSMQMessage * This,
  1382.             /* [retval][out] */ long *plAppSpecific);
  1383.         
  1384.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_AppSpecific )( 
  1385.             IMSMQMessage * This,
  1386.             /* [in] */ long lAppSpecific);
  1387.         
  1388.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_SourceMachineGuid )( 
  1389.             IMSMQMessage * This,
  1390.             /* [retval][out] */ BSTR *pbstrGuidSrcMachine);
  1391.         
  1392.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_BodyLength )( 
  1393.             IMSMQMessage * This,
  1394.             /* [retval][out] */ long *pcbBody);
  1395.         
  1396.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_Body )( 
  1397.             IMSMQMessage * This,
  1398.             /* [retval][out] */ VARIANT *pvarBody);
  1399.         
  1400.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_Body )( 
  1401.             IMSMQMessage * This,
  1402.             /* [in] */ VARIANT varBody);
  1403.         
  1404.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_AdminQueueInfo )( 
  1405.             IMSMQMessage * This,
  1406.             /* [retval][out] */ IMSMQQueueInfo **ppqinfoAdmin);
  1407.         
  1408.         /* [id][propputref][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *putref_AdminQueueInfo )( 
  1409.             IMSMQMessage * This,
  1410.             /* [in] */ IMSMQQueueInfo *pqinfoAdmin);
  1411.         
  1412.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( 
  1413.             IMSMQMessage * This,
  1414.             /* [retval][out] */ VARIANT *pvarMsgId);
  1415.         
  1416.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_CorrelationId )( 
  1417.             IMSMQMessage * This,
  1418.             /* [retval][out] */ VARIANT *pvarMsgId);
  1419.         
  1420.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_CorrelationId )( 
  1421.             IMSMQMessage * This,
  1422.             /* [in] */ VARIANT varMsgId);
  1423.         
  1424.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_Ack )( 
  1425.             IMSMQMessage * This,
  1426.             /* [retval][out] */ long *plAck);
  1427.         
  1428.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_Ack )( 
  1429.             IMSMQMessage * This,
  1430.             /* [in] */ long lAck);
  1431.         
  1432.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_Label )( 
  1433.             IMSMQMessage * This,
  1434.             /* [retval][out] */ BSTR *pbstrLabel);
  1435.         
  1436.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_Label )( 
  1437.             IMSMQMessage * This,
  1438.             /* [in] */ BSTR bstrLabel);
  1439.         
  1440.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_MaxTimeToReachQueue )( 
  1441.             IMSMQMessage * This,
  1442.             /* [retval][out] */ long *plMaxTimeToReachQueue);
  1443.         
  1444.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_MaxTimeToReachQueue )( 
  1445.             IMSMQMessage * This,
  1446.             /* [in] */ long lMaxTimeToReachQueue);
  1447.         
  1448.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_MaxTimeToReceive )( 
  1449.             IMSMQMessage * This,
  1450.             /* [retval][out] */ long *plMaxTimeToReceive);
  1451.         
  1452.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_MaxTimeToReceive )( 
  1453.             IMSMQMessage * This,
  1454.             /* [in] */ long lMaxTimeToReceive);
  1455.         
  1456.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_HashAlgorithm )( 
  1457.             IMSMQMessage * This,
  1458.             /* [retval][out] */ long *plHashAlg);
  1459.         
  1460.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_HashAlgorithm )( 
  1461.             IMSMQMessage * This,
  1462.             /* [in] */ long lHashAlg);
  1463.         
  1464.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_EncryptAlgorithm )( 
  1465.             IMSMQMessage * This,
  1466.             /* [retval][out] */ long *plEncryptAlg);
  1467.         
  1468.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_EncryptAlgorithm )( 
  1469.             IMSMQMessage * This,
  1470.             /* [in] */ long lEncryptAlg);
  1471.         
  1472.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_SentTime )( 
  1473.             IMSMQMessage * This,
  1474.             /* [retval][out] */ VARIANT *pvarSentTime);
  1475.         
  1476.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_ArrivedTime )( 
  1477.             IMSMQMessage * This,
  1478.             /* [retval][out] */ VARIANT *plArrivedTime);
  1479.         
  1480.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_DestinationQueueInfo )( 
  1481.             IMSMQMessage * This,
  1482.             /* [retval][out] */ IMSMQQueueInfo **ppqinfoDest);
  1483.         
  1484.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_SenderCertificate )( 
  1485.             IMSMQMessage * This,
  1486.             /* [retval][out] */ VARIANT *pvarSenderCert);
  1487.         
  1488.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_SenderCertificate )( 
  1489.             IMSMQMessage * This,
  1490.             /* [in] */ VARIANT varSenderCert);
  1491.         
  1492.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_SenderId )( 
  1493.             IMSMQMessage * This,
  1494.             /* [retval][out] */ VARIANT *pvarSenderId);
  1495.         
  1496.         /* [id][propget][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *get_SenderIdType )( 
  1497.             IMSMQMessage * This,
  1498.             /* [retval][out] */ long *plSenderIdType);
  1499.         
  1500.         /* [id][propput][helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *put_SenderIdType )( 
  1501.             IMSMQMessage * This,
  1502.             /* [in] */ long lSenderIdType);
  1503.         
  1504.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Send )( 
  1505.             IMSMQMessage * This,
  1506.             /* [in] */ IMSMQQueue *DestinationQueue,
  1507.             /* [optional][in] */ VARIANT *Transaction);
  1508.         
  1509.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *AttachCurrentSecurityContext )( 
  1510.             IMSMQMessage * This);
  1511.         
  1512.         END_INTERFACE
  1513.     } IMSMQMessageVtbl;
  1514.     interface IMSMQMessage
  1515.     {
  1516.         CONST_VTBL struct IMSMQMessageVtbl *lpVtbl;
  1517.     };
  1518.     
  1519. #ifdef COBJMACROS
  1520. #define IMSMQMessage_QueryInterface(This,riid,ppvObject)
  1521.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1522. #define IMSMQMessage_AddRef(This)
  1523.     (This)->lpVtbl -> AddRef(This)
  1524. #define IMSMQMessage_Release(This)
  1525.     (This)->lpVtbl -> Release(This)
  1526. #define IMSMQMessage_GetTypeInfoCount(This,pctinfo)
  1527.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1528. #define IMSMQMessage_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1529.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1530. #define IMSMQMessage_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1531.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1532. #define IMSMQMessage_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1533.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1534. #define IMSMQMessage_get_Class(This,plClass)
  1535.     (This)->lpVtbl -> get_Class(This,plClass)
  1536. #define IMSMQMessage_get_PrivLevel(This,plPrivLevel)
  1537.     (This)->lpVtbl -> get_PrivLevel(This,plPrivLevel)
  1538. #define IMSMQMessage_put_PrivLevel(This,lPrivLevel)
  1539.     (This)->lpVtbl -> put_PrivLevel(This,lPrivLevel)
  1540. #define IMSMQMessage_get_AuthLevel(This,plAuthLevel)
  1541.     (This)->lpVtbl -> get_AuthLevel(This,plAuthLevel)
  1542. #define IMSMQMessage_put_AuthLevel(This,lAuthLevel)
  1543.     (This)->lpVtbl -> put_AuthLevel(This,lAuthLevel)
  1544. #define IMSMQMessage_get_IsAuthenticated(This,pisAuthenticated)
  1545.     (This)->lpVtbl -> get_IsAuthenticated(This,pisAuthenticated)
  1546. #define IMSMQMessage_get_Delivery(This,plDelivery)
  1547.     (This)->lpVtbl -> get_Delivery(This,plDelivery)
  1548. #define IMSMQMessage_put_Delivery(This,lDelivery)
  1549.     (This)->lpVtbl -> put_Delivery(This,lDelivery)
  1550. #define IMSMQMessage_get_Trace(This,plTrace)
  1551.     (This)->lpVtbl -> get_Trace(This,plTrace)
  1552. #define IMSMQMessage_put_Trace(This,lTrace)
  1553.     (This)->lpVtbl -> put_Trace(This,lTrace)
  1554. #define IMSMQMessage_get_Priority(This,plPriority)
  1555.     (This)->lpVtbl -> get_Priority(This,plPriority)
  1556. #define IMSMQMessage_put_Priority(This,lPriority)
  1557.     (This)->lpVtbl -> put_Priority(This,lPriority)
  1558. #define IMSMQMessage_get_Journal(This,plJournal)
  1559.     (This)->lpVtbl -> get_Journal(This,plJournal)
  1560. #define IMSMQMessage_put_Journal(This,lJournal)
  1561.     (This)->lpVtbl -> put_Journal(This,lJournal)
  1562. #define IMSMQMessage_get_ResponseQueueInfo(This,ppqinfoResponse)
  1563.     (This)->lpVtbl -> get_ResponseQueueInfo(This,ppqinfoResponse)
  1564. #define IMSMQMessage_putref_ResponseQueueInfo(This,pqinfoResponse)
  1565.     (This)->lpVtbl -> putref_ResponseQueueInfo(This,pqinfoResponse)
  1566. #define IMSMQMessage_get_AppSpecific(This,plAppSpecific)
  1567.     (This)->lpVtbl -> get_AppSpecific(This,plAppSpecific)
  1568. #define IMSMQMessage_put_AppSpecific(This,lAppSpecific)
  1569.     (This)->lpVtbl -> put_AppSpecific(This,lAppSpecific)
  1570. #define IMSMQMessage_get_SourceMachineGuid(This,pbstrGuidSrcMachine)
  1571.     (This)->lpVtbl -> get_SourceMachineGuid(This,pbstrGuidSrcMachine)
  1572. #define IMSMQMessage_get_BodyLength(This,pcbBody)
  1573.     (This)->lpVtbl -> get_BodyLength(This,pcbBody)
  1574. #define IMSMQMessage_get_Body(This,pvarBody)
  1575.     (This)->lpVtbl -> get_Body(This,pvarBody)
  1576. #define IMSMQMessage_put_Body(This,varBody)
  1577.     (This)->lpVtbl -> put_Body(This,varBody)
  1578. #define IMSMQMessage_get_AdminQueueInfo(This,ppqinfoAdmin)
  1579.     (This)->lpVtbl -> get_AdminQueueInfo(This,ppqinfoAdmin)
  1580. #define IMSMQMessage_putref_AdminQueueInfo(This,pqinfoAdmin)
  1581.     (This)->lpVtbl -> putref_AdminQueueInfo(This,pqinfoAdmin)
  1582. #define IMSMQMessage_get_Id(This,pvarMsgId)
  1583.     (This)->lpVtbl -> get_Id(This,pvarMsgId)
  1584. #define IMSMQMessage_get_CorrelationId(This,pvarMsgId)
  1585.     (This)->lpVtbl -> get_CorrelationId(This,pvarMsgId)
  1586. #define IMSMQMessage_put_CorrelationId(This,varMsgId)
  1587.     (This)->lpVtbl -> put_CorrelationId(This,varMsgId)
  1588. #define IMSMQMessage_get_Ack(This,plAck)
  1589.     (This)->lpVtbl -> get_Ack(This,plAck)
  1590. #define IMSMQMessage_put_Ack(This,lAck)
  1591.     (This)->lpVtbl -> put_Ack(This,lAck)
  1592. #define IMSMQMessage_get_Label(This,pbstrLabel)
  1593.     (This)->lpVtbl -> get_Label(This,pbstrLabel)
  1594. #define IMSMQMessage_put_Label(This,bstrLabel)
  1595.     (This)->lpVtbl -> put_Label(This,bstrLabel)
  1596. #define IMSMQMessage_get_MaxTimeToReachQueue(This,plMaxTimeToReachQueue)
  1597.     (This)->lpVtbl -> get_MaxTimeToReachQueue(This,plMaxTimeToReachQueue)
  1598. #define IMSMQMessage_put_MaxTimeToReachQueue(This,lMaxTimeToReachQueue)
  1599.     (This)->lpVtbl -> put_MaxTimeToReachQueue(This,lMaxTimeToReachQueue)
  1600. #define IMSMQMessage_get_MaxTimeToReceive(This,plMaxTimeToReceive)
  1601.     (This)->lpVtbl -> get_MaxTimeToReceive(This,plMaxTimeToReceive)
  1602. #define IMSMQMessage_put_MaxTimeToReceive(This,lMaxTimeToReceive)
  1603.     (This)->lpVtbl -> put_MaxTimeToReceive(This,lMaxTimeToReceive)
  1604. #define IMSMQMessage_get_HashAlgorithm(This,plHashAlg)
  1605.     (This)->lpVtbl -> get_HashAlgorithm(This,plHashAlg)
  1606. #define IMSMQMessage_put_HashAlgorithm(This,lHashAlg)
  1607.     (This)->lpVtbl -> put_HashAlgorithm(This,lHashAlg)
  1608. #define IMSMQMessage_get_EncryptAlgorithm(This,plEncryptAlg)
  1609.     (This)->lpVtbl -> get_EncryptAlgorithm(This,plEncryptAlg)
  1610. #define IMSMQMessage_put_EncryptAlgorithm(This,lEncryptAlg)
  1611.     (This)->lpVtbl -> put_EncryptAlgorithm(This,lEncryptAlg)
  1612. #define IMSMQMessage_get_SentTime(This,pvarSentTime)
  1613.     (This)->lpVtbl -> get_SentTime(This,pvarSentTime)
  1614. #define IMSMQMessage_get_ArrivedTime(This,plArrivedTime)
  1615.     (This)->lpVtbl -> get_ArrivedTime(This,plArrivedTime)
  1616. #define IMSMQMessage_get_DestinationQueueInfo(This,ppqinfoDest)
  1617.     (This)->lpVtbl -> get_DestinationQueueInfo(This,ppqinfoDest)
  1618. #define IMSMQMessage_get_SenderCertificate(This,pvarSenderCert)
  1619.     (This)->lpVtbl -> get_SenderCertificate(This,pvarSenderCert)
  1620. #define IMSMQMessage_put_SenderCertificate(This,varSenderCert)
  1621.     (This)->lpVtbl -> put_SenderCertificate(This,varSenderCert)
  1622. #define IMSMQMessage_get_SenderId(This,pvarSenderId)
  1623.     (This)->lpVtbl -> get_SenderId(This,pvarSenderId)
  1624. #define IMSMQMessage_get_SenderIdType(This,plSenderIdType)
  1625.     (This)->lpVtbl -> get_SenderIdType(This,plSenderIdType)
  1626. #define IMSMQMessage_put_SenderIdType(This,lSenderIdType)
  1627.     (This)->lpVtbl -> put_SenderIdType(This,lSenderIdType)
  1628. #define IMSMQMessage_Send(This,DestinationQueue,Transaction)
  1629.     (This)->lpVtbl -> Send(This,DestinationQueue,Transaction)
  1630. #define IMSMQMessage_AttachCurrentSecurityContext(This)
  1631.     (This)->lpVtbl -> AttachCurrentSecurityContext(This)
  1632. #endif /* COBJMACROS */
  1633. #endif  /* C style interface */
  1634. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_Class_Proxy( 
  1635.     IMSMQMessage * This,
  1636.     /* [retval][out] */ long *plClass);
  1637. void __RPC_STUB IMSMQMessage_get_Class_Stub(
  1638.     IRpcStubBuffer *This,
  1639.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1640.     PRPC_MESSAGE _pRpcMessage,
  1641.     DWORD *_pdwStubPhase);
  1642. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_PrivLevel_Proxy( 
  1643.     IMSMQMessage * This,
  1644.     /* [retval][out] */ long *plPrivLevel);
  1645. void __RPC_STUB IMSMQMessage_get_PrivLevel_Stub(
  1646.     IRpcStubBuffer *This,
  1647.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1648.     PRPC_MESSAGE _pRpcMessage,
  1649.     DWORD *_pdwStubPhase);
  1650. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_PrivLevel_Proxy( 
  1651.     IMSMQMessage * This,
  1652.     /* [in] */ long lPrivLevel);
  1653. void __RPC_STUB IMSMQMessage_put_PrivLevel_Stub(
  1654.     IRpcStubBuffer *This,
  1655.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1656.     PRPC_MESSAGE _pRpcMessage,
  1657.     DWORD *_pdwStubPhase);
  1658. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_AuthLevel_Proxy( 
  1659.     IMSMQMessage * This,
  1660.     /* [retval][out] */ long *plAuthLevel);
  1661. void __RPC_STUB IMSMQMessage_get_AuthLevel_Stub(
  1662.     IRpcStubBuffer *This,
  1663.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1664.     PRPC_MESSAGE _pRpcMessage,
  1665.     DWORD *_pdwStubPhase);
  1666. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_AuthLevel_Proxy( 
  1667.     IMSMQMessage * This,
  1668.     /* [in] */ long lAuthLevel);
  1669. void __RPC_STUB IMSMQMessage_put_AuthLevel_Stub(
  1670.     IRpcStubBuffer *This,
  1671.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1672.     PRPC_MESSAGE _pRpcMessage,
  1673.     DWORD *_pdwStubPhase);
  1674. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_IsAuthenticated_Proxy( 
  1675.     IMSMQMessage * This,
  1676.     /* [retval][out] */ Boolean *pisAuthenticated);
  1677. void __RPC_STUB IMSMQMessage_get_IsAuthenticated_Stub(
  1678.     IRpcStubBuffer *This,
  1679.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1680.     PRPC_MESSAGE _pRpcMessage,
  1681.     DWORD *_pdwStubPhase);
  1682. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_Delivery_Proxy( 
  1683.     IMSMQMessage * This,
  1684.     /* [retval][out] */ long *plDelivery);
  1685. void __RPC_STUB IMSMQMessage_get_Delivery_Stub(
  1686.     IRpcStubBuffer *This,
  1687.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1688.     PRPC_MESSAGE _pRpcMessage,
  1689.     DWORD *_pdwStubPhase);
  1690. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_Delivery_Proxy( 
  1691.     IMSMQMessage * This,
  1692.     /* [in] */ long lDelivery);
  1693. void __RPC_STUB IMSMQMessage_put_Delivery_Stub(
  1694.     IRpcStubBuffer *This,
  1695.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1696.     PRPC_MESSAGE _pRpcMessage,
  1697.     DWORD *_pdwStubPhase);
  1698. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_Trace_Proxy( 
  1699.     IMSMQMessage * This,
  1700.     /* [retval][out] */ long *plTrace);
  1701. void __RPC_STUB IMSMQMessage_get_Trace_Stub(
  1702.     IRpcStubBuffer *This,
  1703.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1704.     PRPC_MESSAGE _pRpcMessage,
  1705.     DWORD *_pdwStubPhase);
  1706. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_Trace_Proxy( 
  1707.     IMSMQMessage * This,
  1708.     /* [in] */ long lTrace);
  1709. void __RPC_STUB IMSMQMessage_put_Trace_Stub(
  1710.     IRpcStubBuffer *This,
  1711.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1712.     PRPC_MESSAGE _pRpcMessage,
  1713.     DWORD *_pdwStubPhase);
  1714. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_Priority_Proxy( 
  1715.     IMSMQMessage * This,
  1716.     /* [retval][out] */ long *plPriority);
  1717. void __RPC_STUB IMSMQMessage_get_Priority_Stub(
  1718.     IRpcStubBuffer *This,
  1719.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1720.     PRPC_MESSAGE _pRpcMessage,
  1721.     DWORD *_pdwStubPhase);
  1722. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_Priority_Proxy( 
  1723.     IMSMQMessage * This,
  1724.     /* [in] */ long lPriority);
  1725. void __RPC_STUB IMSMQMessage_put_Priority_Stub(
  1726.     IRpcStubBuffer *This,
  1727.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1728.     PRPC_MESSAGE _pRpcMessage,
  1729.     DWORD *_pdwStubPhase);
  1730. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_Journal_Proxy( 
  1731.     IMSMQMessage * This,
  1732.     /* [retval][out] */ long *plJournal);
  1733. void __RPC_STUB IMSMQMessage_get_Journal_Stub(
  1734.     IRpcStubBuffer *This,
  1735.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1736.     PRPC_MESSAGE _pRpcMessage,
  1737.     DWORD *_pdwStubPhase);
  1738. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_Journal_Proxy( 
  1739.     IMSMQMessage * This,
  1740.     /* [in] */ long lJournal);
  1741. void __RPC_STUB IMSMQMessage_put_Journal_Stub(
  1742.     IRpcStubBuffer *This,
  1743.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1744.     PRPC_MESSAGE _pRpcMessage,
  1745.     DWORD *_pdwStubPhase);
  1746. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_ResponseQueueInfo_Proxy( 
  1747.     IMSMQMessage * This,
  1748.     /* [retval][out] */ IMSMQQueueInfo **ppqinfoResponse);
  1749. void __RPC_STUB IMSMQMessage_get_ResponseQueueInfo_Stub(
  1750.     IRpcStubBuffer *This,
  1751.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1752.     PRPC_MESSAGE _pRpcMessage,
  1753.     DWORD *_pdwStubPhase);
  1754. /* [id][propputref][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_putref_ResponseQueueInfo_Proxy( 
  1755.     IMSMQMessage * This,
  1756.     /* [in] */ IMSMQQueueInfo *pqinfoResponse);
  1757. void __RPC_STUB IMSMQMessage_putref_ResponseQueueInfo_Stub(
  1758.     IRpcStubBuffer *This,
  1759.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1760.     PRPC_MESSAGE _pRpcMessage,
  1761.     DWORD *_pdwStubPhase);
  1762. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_AppSpecific_Proxy( 
  1763.     IMSMQMessage * This,
  1764.     /* [retval][out] */ long *plAppSpecific);
  1765. void __RPC_STUB IMSMQMessage_get_AppSpecific_Stub(
  1766.     IRpcStubBuffer *This,
  1767.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1768.     PRPC_MESSAGE _pRpcMessage,
  1769.     DWORD *_pdwStubPhase);
  1770. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_AppSpecific_Proxy( 
  1771.     IMSMQMessage * This,
  1772.     /* [in] */ long lAppSpecific);
  1773. void __RPC_STUB IMSMQMessage_put_AppSpecific_Stub(
  1774.     IRpcStubBuffer *This,
  1775.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1776.     PRPC_MESSAGE _pRpcMessage,
  1777.     DWORD *_pdwStubPhase);
  1778. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_SourceMachineGuid_Proxy( 
  1779.     IMSMQMessage * This,
  1780.     /* [retval][out] */ BSTR *pbstrGuidSrcMachine);
  1781. void __RPC_STUB IMSMQMessage_get_SourceMachineGuid_Stub(
  1782.     IRpcStubBuffer *This,
  1783.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1784.     PRPC_MESSAGE _pRpcMessage,
  1785.     DWORD *_pdwStubPhase);
  1786. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_BodyLength_Proxy( 
  1787.     IMSMQMessage * This,
  1788.     /* [retval][out] */ long *pcbBody);
  1789. void __RPC_STUB IMSMQMessage_get_BodyLength_Stub(
  1790.     IRpcStubBuffer *This,
  1791.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1792.     PRPC_MESSAGE _pRpcMessage,
  1793.     DWORD *_pdwStubPhase);
  1794. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_Body_Proxy( 
  1795.     IMSMQMessage * This,
  1796.     /* [retval][out] */ VARIANT *pvarBody);
  1797. void __RPC_STUB IMSMQMessage_get_Body_Stub(
  1798.     IRpcStubBuffer *This,
  1799.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1800.     PRPC_MESSAGE _pRpcMessage,
  1801.     DWORD *_pdwStubPhase);
  1802. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_Body_Proxy( 
  1803.     IMSMQMessage * This,
  1804.     /* [in] */ VARIANT varBody);
  1805. void __RPC_STUB IMSMQMessage_put_Body_Stub(
  1806.     IRpcStubBuffer *This,
  1807.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1808.     PRPC_MESSAGE _pRpcMessage,
  1809.     DWORD *_pdwStubPhase);
  1810. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_AdminQueueInfo_Proxy( 
  1811.     IMSMQMessage * This,
  1812.     /* [retval][out] */ IMSMQQueueInfo **ppqinfoAdmin);
  1813. void __RPC_STUB IMSMQMessage_get_AdminQueueInfo_Stub(
  1814.     IRpcStubBuffer *This,
  1815.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1816.     PRPC_MESSAGE _pRpcMessage,
  1817.     DWORD *_pdwStubPhase);
  1818. /* [id][propputref][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_putref_AdminQueueInfo_Proxy( 
  1819.     IMSMQMessage * This,
  1820.     /* [in] */ IMSMQQueueInfo *pqinfoAdmin);
  1821. void __RPC_STUB IMSMQMessage_putref_AdminQueueInfo_Stub(
  1822.     IRpcStubBuffer *This,
  1823.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1824.     PRPC_MESSAGE _pRpcMessage,
  1825.     DWORD *_pdwStubPhase);
  1826. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_Id_Proxy( 
  1827.     IMSMQMessage * This,
  1828.     /* [retval][out] */ VARIANT *pvarMsgId);
  1829. void __RPC_STUB IMSMQMessage_get_Id_Stub(
  1830.     IRpcStubBuffer *This,
  1831.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1832.     PRPC_MESSAGE _pRpcMessage,
  1833.     DWORD *_pdwStubPhase);
  1834. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_CorrelationId_Proxy( 
  1835.     IMSMQMessage * This,
  1836.     /* [retval][out] */ VARIANT *pvarMsgId);
  1837. void __RPC_STUB IMSMQMessage_get_CorrelationId_Stub(
  1838.     IRpcStubBuffer *This,
  1839.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1840.     PRPC_MESSAGE _pRpcMessage,
  1841.     DWORD *_pdwStubPhase);
  1842. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_CorrelationId_Proxy( 
  1843.     IMSMQMessage * This,
  1844.     /* [in] */ VARIANT varMsgId);
  1845. void __RPC_STUB IMSMQMessage_put_CorrelationId_Stub(
  1846.     IRpcStubBuffer *This,
  1847.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1848.     PRPC_MESSAGE _pRpcMessage,
  1849.     DWORD *_pdwStubPhase);
  1850. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_Ack_Proxy( 
  1851.     IMSMQMessage * This,
  1852.     /* [retval][out] */ long *plAck);
  1853. void __RPC_STUB IMSMQMessage_get_Ack_Stub(
  1854.     IRpcStubBuffer *This,
  1855.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1856.     PRPC_MESSAGE _pRpcMessage,
  1857.     DWORD *_pdwStubPhase);
  1858. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_Ack_Proxy( 
  1859.     IMSMQMessage * This,
  1860.     /* [in] */ long lAck);
  1861. void __RPC_STUB IMSMQMessage_put_Ack_Stub(
  1862.     IRpcStubBuffer *This,
  1863.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1864.     PRPC_MESSAGE _pRpcMessage,
  1865.     DWORD *_pdwStubPhase);
  1866. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_Label_Proxy( 
  1867.     IMSMQMessage * This,
  1868.     /* [retval][out] */ BSTR *pbstrLabel);
  1869. void __RPC_STUB IMSMQMessage_get_Label_Stub(
  1870.     IRpcStubBuffer *This,
  1871.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1872.     PRPC_MESSAGE _pRpcMessage,
  1873.     DWORD *_pdwStubPhase);
  1874. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_Label_Proxy( 
  1875.     IMSMQMessage * This,
  1876.     /* [in] */ BSTR bstrLabel);
  1877. void __RPC_STUB IMSMQMessage_put_Label_Stub(
  1878.     IRpcStubBuffer *This,
  1879.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1880.     PRPC_MESSAGE _pRpcMessage,
  1881.     DWORD *_pdwStubPhase);
  1882. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_MaxTimeToReachQueue_Proxy( 
  1883.     IMSMQMessage * This,
  1884.     /* [retval][out] */ long *plMaxTimeToReachQueue);
  1885. void __RPC_STUB IMSMQMessage_get_MaxTimeToReachQueue_Stub(
  1886.     IRpcStubBuffer *This,
  1887.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1888.     PRPC_MESSAGE _pRpcMessage,
  1889.     DWORD *_pdwStubPhase);
  1890. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_MaxTimeToReachQueue_Proxy( 
  1891.     IMSMQMessage * This,
  1892.     /* [in] */ long lMaxTimeToReachQueue);
  1893. void __RPC_STUB IMSMQMessage_put_MaxTimeToReachQueue_Stub(
  1894.     IRpcStubBuffer *This,
  1895.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1896.     PRPC_MESSAGE _pRpcMessage,
  1897.     DWORD *_pdwStubPhase);
  1898. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_MaxTimeToReceive_Proxy( 
  1899.     IMSMQMessage * This,
  1900.     /* [retval][out] */ long *plMaxTimeToReceive);
  1901. void __RPC_STUB IMSMQMessage_get_MaxTimeToReceive_Stub(
  1902.     IRpcStubBuffer *This,
  1903.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1904.     PRPC_MESSAGE _pRpcMessage,
  1905.     DWORD *_pdwStubPhase);
  1906. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_MaxTimeToReceive_Proxy( 
  1907.     IMSMQMessage * This,
  1908.     /* [in] */ long lMaxTimeToReceive);
  1909. void __RPC_STUB IMSMQMessage_put_MaxTimeToReceive_Stub(
  1910.     IRpcStubBuffer *This,
  1911.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1912.     PRPC_MESSAGE _pRpcMessage,
  1913.     DWORD *_pdwStubPhase);
  1914. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_HashAlgorithm_Proxy( 
  1915.     IMSMQMessage * This,
  1916.     /* [retval][out] */ long *plHashAlg);
  1917. void __RPC_STUB IMSMQMessage_get_HashAlgorithm_Stub(
  1918.     IRpcStubBuffer *This,
  1919.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1920.     PRPC_MESSAGE _pRpcMessage,
  1921.     DWORD *_pdwStubPhase);
  1922. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_HashAlgorithm_Proxy( 
  1923.     IMSMQMessage * This,
  1924.     /* [in] */ long lHashAlg);
  1925. void __RPC_STUB IMSMQMessage_put_HashAlgorithm_Stub(
  1926.     IRpcStubBuffer *This,
  1927.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1928.     PRPC_MESSAGE _pRpcMessage,
  1929.     DWORD *_pdwStubPhase);
  1930. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_EncryptAlgorithm_Proxy( 
  1931.     IMSMQMessage * This,
  1932.     /* [retval][out] */ long *plEncryptAlg);
  1933. void __RPC_STUB IMSMQMessage_get_EncryptAlgorithm_Stub(
  1934.     IRpcStubBuffer *This,
  1935.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1936.     PRPC_MESSAGE _pRpcMessage,
  1937.     DWORD *_pdwStubPhase);
  1938. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_EncryptAlgorithm_Proxy( 
  1939.     IMSMQMessage * This,
  1940.     /* [in] */ long lEncryptAlg);
  1941. void __RPC_STUB IMSMQMessage_put_EncryptAlgorithm_Stub(
  1942.     IRpcStubBuffer *This,
  1943.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1944.     PRPC_MESSAGE _pRpcMessage,
  1945.     DWORD *_pdwStubPhase);
  1946. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_SentTime_Proxy( 
  1947.     IMSMQMessage * This,
  1948.     /* [retval][out] */ VARIANT *pvarSentTime);
  1949. void __RPC_STUB IMSMQMessage_get_SentTime_Stub(
  1950.     IRpcStubBuffer *This,
  1951.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1952.     PRPC_MESSAGE _pRpcMessage,
  1953.     DWORD *_pdwStubPhase);
  1954. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_ArrivedTime_Proxy( 
  1955.     IMSMQMessage * This,
  1956.     /* [retval][out] */ VARIANT *plArrivedTime);
  1957. void __RPC_STUB IMSMQMessage_get_ArrivedTime_Stub(
  1958.     IRpcStubBuffer *This,
  1959.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1960.     PRPC_MESSAGE _pRpcMessage,
  1961.     DWORD *_pdwStubPhase);
  1962. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_DestinationQueueInfo_Proxy( 
  1963.     IMSMQMessage * This,
  1964.     /* [retval][out] */ IMSMQQueueInfo **ppqinfoDest);
  1965. void __RPC_STUB IMSMQMessage_get_DestinationQueueInfo_Stub(
  1966.     IRpcStubBuffer *This,
  1967.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1968.     PRPC_MESSAGE _pRpcMessage,
  1969.     DWORD *_pdwStubPhase);
  1970. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_SenderCertificate_Proxy( 
  1971.     IMSMQMessage * This,
  1972.     /* [retval][out] */ VARIANT *pvarSenderCert);
  1973. void __RPC_STUB IMSMQMessage_get_SenderCertificate_Stub(
  1974.     IRpcStubBuffer *This,
  1975.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1976.     PRPC_MESSAGE _pRpcMessage,
  1977.     DWORD *_pdwStubPhase);
  1978. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_SenderCertificate_Proxy( 
  1979.     IMSMQMessage * This,
  1980.     /* [in] */ VARIANT varSenderCert);
  1981. void __RPC_STUB IMSMQMessage_put_SenderCertificate_Stub(
  1982.     IRpcStubBuffer *This,
  1983.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1984.     PRPC_MESSAGE _pRpcMessage,
  1985.     DWORD *_pdwStubPhase);
  1986. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_SenderId_Proxy( 
  1987.     IMSMQMessage * This,
  1988.     /* [retval][out] */ VARIANT *pvarSenderId);
  1989. void __RPC_STUB IMSMQMessage_get_SenderId_Stub(
  1990.     IRpcStubBuffer *This,
  1991.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1992.     PRPC_MESSAGE _pRpcMessage,
  1993.     DWORD *_pdwStubPhase);
  1994. /* [id][propget][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_get_SenderIdType_Proxy( 
  1995.     IMSMQMessage * This,
  1996.     /* [retval][out] */ long *plSenderIdType);
  1997. void __RPC_STUB IMSMQMessage_get_SenderIdType_Stub(
  1998.     IRpcStubBuffer *This,
  1999.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2000.     PRPC_MESSAGE _pRpcMessage,
  2001.     DWORD *_pdwStubPhase);
  2002. /* [id][propput][helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_put_SenderIdType_Proxy( 
  2003.     IMSMQMessage * This,
  2004.     /* [in] */ long lSenderIdType);
  2005. void __RPC_STUB IMSMQMessage_put_SenderIdType_Stub(
  2006.     IRpcStubBuffer *This,
  2007.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2008.     PRPC_MESSAGE _pRpcMessage,
  2009.     DWORD *_pdwStubPhase);
  2010. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_Send_Proxy( 
  2011.     IMSMQMessage * This,
  2012.     /* [in] */ IMSMQQueue *DestinationQueue,
  2013.     /* [optional][in] */ VARIANT *Transaction);
  2014. void __RPC_STUB IMSMQMessage_Send_Stub(
  2015.     IRpcStubBuffer *This,
  2016.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2017.     PRPC_MESSAGE _pRpcMessage,
  2018.     DWORD *_pdwStubPhase);
  2019. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQMessage_AttachCurrentSecurityContext_Proxy( 
  2020.     IMSMQMessage * This);
  2021. void __RPC_STUB IMSMQMessage_AttachCurrentSecurityContext_Stub(
  2022.     IRpcStubBuffer *This,
  2023.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2024.     PRPC_MESSAGE _pRpcMessage,
  2025.     DWORD *_pdwStubPhase);
  2026. #endif  /* __IMSMQMessage_INTERFACE_DEFINED__ */
  2027. #ifndef __IMSMQQueueInfos_INTERFACE_DEFINED__
  2028. #define __IMSMQQueueInfos_INTERFACE_DEFINED__
  2029. /* interface IMSMQQueueInfos */
  2030. /* [object][dual][hidden][helpstringcontext][uuid] */ 
  2031. EXTERN_C const IID IID_IMSMQQueueInfos;
  2032. #if defined(__cplusplus) && !defined(CINTERFACE)
  2033.     
  2034.     MIDL_INTERFACE("D7D6E07D-DCCD-11d0-AA4B-0060970DEBAE")
  2035.     IMSMQQueueInfos : public IDispatch
  2036.     {
  2037.     public:
  2038.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2039.         
  2040.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Next( 
  2041.             /* [retval][out] */ IMSMQQueueInfo **ppqinfoNext) = 0;
  2042.         
  2043.     };
  2044.     
  2045. #else  /* C style interface */
  2046.     typedef struct IMSMQQueueInfosVtbl
  2047.     {
  2048.         BEGIN_INTERFACE
  2049.         
  2050.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2051.             IMSMQQueueInfos * This,
  2052.             /* [in] */ REFIID riid,
  2053.             /* [iid_is][out] */ void **ppvObject);
  2054.         
  2055.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2056.             IMSMQQueueInfos * This);
  2057.         
  2058.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2059.             IMSMQQueueInfos * This);
  2060.         
  2061.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2062.             IMSMQQueueInfos * This,
  2063.             /* [out] */ UINT *pctinfo);
  2064.         
  2065.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2066.             IMSMQQueueInfos * This,
  2067.             /* [in] */ UINT iTInfo,
  2068.             /* [in] */ LCID lcid,
  2069.             /* [out] */ ITypeInfo **ppTInfo);
  2070.         
  2071.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2072.             IMSMQQueueInfos * This,
  2073.             /* [in] */ REFIID riid,
  2074.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2075.             /* [in] */ UINT cNames,
  2076.             /* [in] */ LCID lcid,
  2077.             /* [size_is][out] */ DISPID *rgDispId);
  2078.         
  2079.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2080.             IMSMQQueueInfos * This,
  2081.             /* [in] */ DISPID dispIdMember,
  2082.             /* [in] */ REFIID riid,
  2083.             /* [in] */ LCID lcid,
  2084.             /* [in] */ WORD wFlags,
  2085.             /* [out][in] */ DISPPARAMS *pDispParams,
  2086.             /* [out] */ VARIANT *pVarResult,
  2087.             /* [out] */ EXCEPINFO *pExcepInfo,
  2088.             /* [out] */ UINT *puArgErr);
  2089.         
  2090.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Reset )( 
  2091.             IMSMQQueueInfos * This);
  2092.         
  2093.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Next )( 
  2094.             IMSMQQueueInfos * This,
  2095.             /* [retval][out] */ IMSMQQueueInfo **ppqinfoNext);
  2096.         
  2097.         END_INTERFACE
  2098.     } IMSMQQueueInfosVtbl;
  2099.     interface IMSMQQueueInfos
  2100.     {
  2101.         CONST_VTBL struct IMSMQQueueInfosVtbl *lpVtbl;
  2102.     };
  2103.     
  2104. #ifdef COBJMACROS
  2105. #define IMSMQQueueInfos_QueryInterface(This,riid,ppvObject)
  2106.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2107. #define IMSMQQueueInfos_AddRef(This)
  2108.     (This)->lpVtbl -> AddRef(This)
  2109. #define IMSMQQueueInfos_Release(This)
  2110.     (This)->lpVtbl -> Release(This)
  2111. #define IMSMQQueueInfos_GetTypeInfoCount(This,pctinfo)
  2112.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2113. #define IMSMQQueueInfos_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2114.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2115. #define IMSMQQueueInfos_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2116.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2117. #define IMSMQQueueInfos_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2118.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2119. #define IMSMQQueueInfos_Reset(This)
  2120.     (This)->lpVtbl -> Reset(This)
  2121. #define IMSMQQueueInfos_Next(This,ppqinfoNext)
  2122.     (This)->lpVtbl -> Next(This,ppqinfoNext)
  2123. #endif /* COBJMACROS */
  2124. #endif  /* C style interface */
  2125. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfos_Reset_Proxy( 
  2126.     IMSMQQueueInfos * This);
  2127. void __RPC_STUB IMSMQQueueInfos_Reset_Stub(
  2128.     IRpcStubBuffer *This,
  2129.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2130.     PRPC_MESSAGE _pRpcMessage,
  2131.     DWORD *_pdwStubPhase);
  2132. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfos_Next_Proxy( 
  2133.     IMSMQQueueInfos * This,
  2134.     /* [retval][out] */ IMSMQQueueInfo **ppqinfoNext);
  2135. void __RPC_STUB IMSMQQueueInfos_Next_Stub(
  2136.     IRpcStubBuffer *This,
  2137.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2138.     PRPC_MESSAGE _pRpcMessage,
  2139.     DWORD *_pdwStubPhase);
  2140. #endif  /* __IMSMQQueueInfos_INTERFACE_DEFINED__ */
  2141. #ifndef __IMSMQQueueInfos2_INTERFACE_DEFINED__
  2142. #define __IMSMQQueueInfos2_INTERFACE_DEFINED__
  2143. /* interface IMSMQQueueInfos2 */
  2144. /* [object][dual][hidden][helpstringcontext][uuid] */ 
  2145. EXTERN_C const IID IID_IMSMQQueueInfos2;
  2146. #if defined(__cplusplus) && !defined(CINTERFACE)
  2147.     
  2148.     MIDL_INTERFACE("eba96b0f-2168-11d3-898c-00e02c074f6b")
  2149.     IMSMQQueueInfos2 : public IDispatch
  2150.     {
  2151.     public:
  2152.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2153.         
  2154.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Next( 
  2155.             /* [retval][out] */ IMSMQQueueInfo2 **ppqinfoNext) = 0;
  2156.         
  2157.         virtual /* [id][propget][hidden] */ HRESULT STDMETHODCALLTYPE get_Properties( 
  2158.             /* [retval][out] */ IDispatch **ppcolProperties) = 0;
  2159.         
  2160.     };
  2161.     
  2162. #else  /* C style interface */
  2163.     typedef struct IMSMQQueueInfos2Vtbl
  2164.     {
  2165.         BEGIN_INTERFACE
  2166.         
  2167.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2168.             IMSMQQueueInfos2 * This,
  2169.             /* [in] */ REFIID riid,
  2170.             /* [iid_is][out] */ void **ppvObject);
  2171.         
  2172.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2173.             IMSMQQueueInfos2 * This);
  2174.         
  2175.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2176.             IMSMQQueueInfos2 * This);
  2177.         
  2178.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2179.             IMSMQQueueInfos2 * This,
  2180.             /* [out] */ UINT *pctinfo);
  2181.         
  2182.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2183.             IMSMQQueueInfos2 * This,
  2184.             /* [in] */ UINT iTInfo,
  2185.             /* [in] */ LCID lcid,
  2186.             /* [out] */ ITypeInfo **ppTInfo);
  2187.         
  2188.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2189.             IMSMQQueueInfos2 * This,
  2190.             /* [in] */ REFIID riid,
  2191.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2192.             /* [in] */ UINT cNames,
  2193.             /* [in] */ LCID lcid,
  2194.             /* [size_is][out] */ DISPID *rgDispId);
  2195.         
  2196.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2197.             IMSMQQueueInfos2 * This,
  2198.             /* [in] */ DISPID dispIdMember,
  2199.             /* [in] */ REFIID riid,
  2200.             /* [in] */ LCID lcid,
  2201.             /* [in] */ WORD wFlags,
  2202.             /* [out][in] */ DISPPARAMS *pDispParams,
  2203.             /* [out] */ VARIANT *pVarResult,
  2204.             /* [out] */ EXCEPINFO *pExcepInfo,
  2205.             /* [out] */ UINT *puArgErr);
  2206.         
  2207.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Reset )( 
  2208.             IMSMQQueueInfos2 * This);
  2209.         
  2210.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Next )( 
  2211.             IMSMQQueueInfos2 * This,
  2212.             /* [retval][out] */ IMSMQQueueInfo2 **ppqinfoNext);
  2213.         
  2214.         /* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )( 
  2215.             IMSMQQueueInfos2 * This,
  2216.             /* [retval][out] */ IDispatch **ppcolProperties);
  2217.         
  2218.         END_INTERFACE
  2219.     } IMSMQQueueInfos2Vtbl;
  2220.     interface IMSMQQueueInfos2
  2221.     {
  2222.         CONST_VTBL struct IMSMQQueueInfos2Vtbl *lpVtbl;
  2223.     };
  2224.     
  2225. #ifdef COBJMACROS
  2226. #define IMSMQQueueInfos2_QueryInterface(This,riid,ppvObject)
  2227.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2228. #define IMSMQQueueInfos2_AddRef(This)
  2229.     (This)->lpVtbl -> AddRef(This)
  2230. #define IMSMQQueueInfos2_Release(This)
  2231.     (This)->lpVtbl -> Release(This)
  2232. #define IMSMQQueueInfos2_GetTypeInfoCount(This,pctinfo)
  2233.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2234. #define IMSMQQueueInfos2_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2235.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2236. #define IMSMQQueueInfos2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2237.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2238. #define IMSMQQueueInfos2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2239.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2240. #define IMSMQQueueInfos2_Reset(This)
  2241.     (This)->lpVtbl -> Reset(This)
  2242. #define IMSMQQueueInfos2_Next(This,ppqinfoNext)
  2243.     (This)->lpVtbl -> Next(This,ppqinfoNext)
  2244. #define IMSMQQueueInfos2_get_Properties(This,ppcolProperties)
  2245.     (This)->lpVtbl -> get_Properties(This,ppcolProperties)
  2246. #endif /* COBJMACROS */
  2247. #endif  /* C style interface */
  2248. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfos2_Reset_Proxy( 
  2249.     IMSMQQueueInfos2 * This);
  2250. void __RPC_STUB IMSMQQueueInfos2_Reset_Stub(
  2251.     IRpcStubBuffer *This,
  2252.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2253.     PRPC_MESSAGE _pRpcMessage,
  2254.     DWORD *_pdwStubPhase);
  2255. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfos2_Next_Proxy( 
  2256.     IMSMQQueueInfos2 * This,
  2257.     /* [retval][out] */ IMSMQQueueInfo2 **ppqinfoNext);
  2258. void __RPC_STUB IMSMQQueueInfos2_Next_Stub(
  2259.     IRpcStubBuffer *This,
  2260.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2261.     PRPC_MESSAGE _pRpcMessage,
  2262.     DWORD *_pdwStubPhase);
  2263. /* [id][propget][hidden] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfos2_get_Properties_Proxy( 
  2264.     IMSMQQueueInfos2 * This,
  2265.     /* [retval][out] */ IDispatch **ppcolProperties);
  2266. void __RPC_STUB IMSMQQueueInfos2_get_Properties_Stub(
  2267.     IRpcStubBuffer *This,
  2268.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2269.     PRPC_MESSAGE _pRpcMessage,
  2270.     DWORD *_pdwStubPhase);
  2271. #endif  /* __IMSMQQueueInfos2_INTERFACE_DEFINED__ */
  2272. #ifndef __IMSMQQueueInfos3_INTERFACE_DEFINED__
  2273. #define __IMSMQQueueInfos3_INTERFACE_DEFINED__
  2274. /* interface IMSMQQueueInfos3 */
  2275. /* [object][dual][hidden][helpstringcontext][uuid] */ 
  2276. EXTERN_C const IID IID_IMSMQQueueInfos3;
  2277. #if defined(__cplusplus) && !defined(CINTERFACE)
  2278.     
  2279.     MIDL_INTERFACE("eba96b1e-2168-11d3-898c-00e02c074f6b")
  2280.     IMSMQQueueInfos3 : public IDispatch
  2281.     {
  2282.     public:
  2283.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2284.         
  2285.         virtual /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE Next( 
  2286.             /* [retval][out] */ IMSMQQueueInfo3 **ppqinfoNext) = 0;
  2287.         
  2288.         virtual /* [id][propget][hidden] */ HRESULT STDMETHODCALLTYPE get_Properties( 
  2289.             /* [retval][out] */ IDispatch **ppcolProperties) = 0;
  2290.         
  2291.     };
  2292.     
  2293. #else  /* C style interface */
  2294.     typedef struct IMSMQQueueInfos3Vtbl
  2295.     {
  2296.         BEGIN_INTERFACE
  2297.         
  2298.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2299.             IMSMQQueueInfos3 * This,
  2300.             /* [in] */ REFIID riid,
  2301.             /* [iid_is][out] */ void **ppvObject);
  2302.         
  2303.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2304.             IMSMQQueueInfos3 * This);
  2305.         
  2306.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2307.             IMSMQQueueInfos3 * This);
  2308.         
  2309.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2310.             IMSMQQueueInfos3 * This,
  2311.             /* [out] */ UINT *pctinfo);
  2312.         
  2313.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2314.             IMSMQQueueInfos3 * This,
  2315.             /* [in] */ UINT iTInfo,
  2316.             /* [in] */ LCID lcid,
  2317.             /* [out] */ ITypeInfo **ppTInfo);
  2318.         
  2319.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2320.             IMSMQQueueInfos3 * This,
  2321.             /* [in] */ REFIID riid,
  2322.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2323.             /* [in] */ UINT cNames,
  2324.             /* [in] */ LCID lcid,
  2325.             /* [size_is][out] */ DISPID *rgDispId);
  2326.         
  2327.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2328.             IMSMQQueueInfos3 * This,
  2329.             /* [in] */ DISPID dispIdMember,
  2330.             /* [in] */ REFIID riid,
  2331.             /* [in] */ LCID lcid,
  2332.             /* [in] */ WORD wFlags,
  2333.             /* [out][in] */ DISPPARAMS *pDispParams,
  2334.             /* [out] */ VARIANT *pVarResult,
  2335.             /* [out] */ EXCEPINFO *pExcepInfo,
  2336.             /* [out] */ UINT *puArgErr);
  2337.         
  2338.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Reset )( 
  2339.             IMSMQQueueInfos3 * This);
  2340.         
  2341.         /* [helpstringcontext] */ HRESULT ( STDMETHODCALLTYPE *Next )( 
  2342.             IMSMQQueueInfos3 * This,
  2343.             /* [retval][out] */ IMSMQQueueInfo3 **ppqinfoNext);
  2344.         
  2345.         /* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )( 
  2346.             IMSMQQueueInfos3 * This,
  2347.             /* [retval][out] */ IDispatch **ppcolProperties);
  2348.         
  2349.         END_INTERFACE
  2350.     } IMSMQQueueInfos3Vtbl;
  2351.     interface IMSMQQueueInfos3
  2352.     {
  2353.         CONST_VTBL struct IMSMQQueueInfos3Vtbl *lpVtbl;
  2354.     };
  2355.     
  2356. #ifdef COBJMACROS
  2357. #define IMSMQQueueInfos3_QueryInterface(This,riid,ppvObject)
  2358.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2359. #define IMSMQQueueInfos3_AddRef(This)
  2360.     (This)->lpVtbl -> AddRef(This)
  2361. #define IMSMQQueueInfos3_Release(This)
  2362.     (This)->lpVtbl -> Release(This)
  2363. #define IMSMQQueueInfos3_GetTypeInfoCount(This,pctinfo)
  2364.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2365. #define IMSMQQueueInfos3_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2366.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2367. #define IMSMQQueueInfos3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2368.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2369. #define IMSMQQueueInfos3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2370.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2371. #define IMSMQQueueInfos3_Reset(This)
  2372.     (This)->lpVtbl -> Reset(This)
  2373. #define IMSMQQueueInfos3_Next(This,ppqinfoNext)
  2374.     (This)->lpVtbl -> Next(This,ppqinfoNext)
  2375. #define IMSMQQueueInfos3_get_Properties(This,ppcolProperties)
  2376.     (This)->lpVtbl -> get_Properties(This,ppcolProperties)
  2377. #endif /* COBJMACROS */
  2378. #endif  /* C style interface */
  2379. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfos3_Reset_Proxy( 
  2380.     IMSMQQueueInfos3 * This);
  2381. void __RPC_STUB IMSMQQueueInfos3_Reset_Stub(
  2382.     IRpcStubBuffer *This,
  2383.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2384.     PRPC_MESSAGE _pRpcMessage,
  2385.     DWORD *_pdwStubPhase);
  2386. /* [helpstringcontext] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfos3_Next_Proxy( 
  2387.     IMSMQQueueInfos3 * This,
  2388.     /* [retval][out] */ IMSMQQueueInfo3 **ppqinfoNext);
  2389. void __RPC_STUB IMSMQQueueInfos3_Next_Stub(
  2390.     IRpcStubBuffer *This,
  2391.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2392.     PRPC_MESSAGE _pRpcMessage,
  2393.     DWORD *_pdwStubPhase);
  2394. /* [id][propget][hidden] */ HRESULT STDMETHODCALLTYPE IMSMQQueueInfos3_get_Properties_Proxy( 
  2395.     IMSMQQueueInfos3 * This,
  2396.     /* [retval][out] */ IDispatch **ppcolProperties);
  2397. void __RPC_STUB IMSMQQueueInfos3_get_Properties_Stub(
  2398.     IRpcStubBuffer *This,
  2399.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2400.     PRPC_MESSAGE _pRpcMessage,
  2401.     DWORD *_pdwStubPhase);
  2402. #endif  /* __IMSMQQueueInfos3_INTERFACE_DEFINED__ */
  2403. #ifndef __IMSMQEvent_INTERFACE_DEFINED__
  2404. #define __IMSMQEvent_INTERFACE_DEFINED__
  2405. /* interface IMSMQEvent */
  2406. /* [object][dual][hidden][helpstringcontext][uuid] */ 
  2407. EXTERN_C const IID IID_IMSMQEvent;
  2408. #if defined(__cplusplus) && !defined(CINTERFACE)
  2409.     
  2410.     MIDL_INTERFACE("D7D6E077-DCCD-11d0-AA4B-0060970DEBAE")
  2411.     IMSMQEvent : public IDispatch
  2412.     {
  2413.     public:
  2414.     };
  2415.     
  2416. #else  /* C style interface */
  2417.     typedef struct IMSMQEventVtbl
  2418.     {
  2419.         BEGIN_INTERFACE
  2420.         
  2421.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2422.             IMSMQEvent * This,
  2423.             /* [in] */ REFIID riid,
  2424.             /* [iid_is][out] */ void **ppvObject);
  2425.         
  2426.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2427.             IMSMQEvent * This);
  2428.         
  2429.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2430.             IMSMQEvent * This);
  2431.         
  2432.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2433.             IMSMQEvent * This,
  2434.             /* [out] */ UINT *pctinfo);
  2435.         
  2436.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2437.             IMSMQEvent * This,
  2438.             /* [in] */ UINT iTInfo,
  2439.             /* [in] */ LCID lcid,
  2440.             /* [out] */ ITypeInfo **ppTInfo);
  2441.         
  2442.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2443.             IMSMQEvent * This,
  2444.             /* [in] */ REFIID riid,
  2445.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2446.             /* [in] */ UINT cNames,
  2447.             /* [in] */ LCID lcid,
  2448.             /* [size_is][out] */ DISPID *rgDispId);
  2449.         
  2450.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2451.             IMSMQEvent * This,
  2452.             /* [in] */ DISPID dispIdMember,
  2453.             /* [in] */ REFIID riid,
  2454.             /* [in] */ LCID lcid,
  2455.             /* [in] */ WORD wFlags,
  2456.             /* [out][in] */ DISPPARAMS *pDispParams,
  2457.             /* [out] */ VARIANT *pVarResult,
  2458.             /* [out] */ EXCEPINFO *pExcepInfo,
  2459.             /* [out] */ UINT *puArgErr);
  2460.         
  2461.         END_INTERFACE
  2462.     } IMSMQEventVtbl;
  2463.     interface IMSMQEvent
  2464.     {
  2465.         CONST_VTBL struct IMSMQEventVtbl *lpVtbl;
  2466.     };
  2467.     
  2468. #ifdef COBJMACROS
  2469. #define IMSMQEvent_QueryInterface(This,riid,ppvObject)
  2470.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2471. #define IMSMQEvent_AddRef(This)
  2472.     (This)->lpVtbl -> AddRef(This)
  2473. #define IMSMQEvent_Release(This)
  2474.     (This)->lpVtbl -> Release(This)
  2475. #define IMSMQEvent_GetTypeInfoCount(This,pctinfo)
  2476.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2477. #define IMSMQEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2478.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2479. #define IMSMQEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2480.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2481. #define IMSMQEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2482.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2483. #endif /* COBJMACROS */
  2484. #endif  /* C style interface */
  2485. #endif  /* __IMSMQEvent_INTERFACE_DEFINED__ */
  2486. #ifndef __IMSMQEvent2_INTERFACE_DEFINED__
  2487. #define __IMSMQEvent2_INTERFACE_DEFINED__
  2488. /* interface IMSMQEvent2 */
  2489. /* [object][dual][hidden][helpstringcontext][uuid] */ 
  2490. EXTERN_C const IID IID_IMSMQEvent2;
  2491. #if defined(__cplusplus) && !defined(CINTERFACE)
  2492.     
  2493.     MIDL_INTERFACE("eba96b12-2168-11d3-898c-00e02c074f6b")
  2494.     IMSMQEvent2 : public IMSMQEvent
  2495.     {
  2496.     public:
  2497.         virtual /* [id][propget][hidden] */ HRESULT STDMETHODCALLTYPE get_Properties( 
  2498.             /* [retval][out] */ IDispatch **ppcolProperties) = 0;
  2499.         
  2500.     };
  2501.     
  2502. #else  /* C style interface */
  2503.     typedef struct IMSMQEvent2Vtbl
  2504.     {
  2505.         BEGIN_INTERFACE
  2506.