WeChatRobotCOM_i.h 42.2 KB
Newer Older
L
ljc545w 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53


/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 8.01.0622 */
/* at Tue Jan 19 11:14:07 2038
 */
/* Compiler settings for WeChatRobotCOM.idl:
    Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.01.0622 
    protocol : dce , ms_ext, c_ext, robust
    error checks: allocation ref bounds_check enum stub_data 
    VC __declspec() decoration level: 
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
         DECLSPEC_UUID(), MIDL_INTERFACE()
*/
/* @@MIDL_FILE_HEADING(  ) */



/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 500
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif /* __RPCNDR_H_VERSION__ */

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __WeChatRobotCOM_i_h__
#define __WeChatRobotCOM_i_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __IWeChatRobot_FWD_DEFINED__
#define __IWeChatRobot_FWD_DEFINED__
typedef interface IWeChatRobot IWeChatRobot;

#endif 	/* __IWeChatRobot_FWD_DEFINED__ */


L
ljc545w 已提交
54 55 56 57 58 59 60
#ifndef __IRobotEvent_FWD_DEFINED__
#define __IRobotEvent_FWD_DEFINED__
typedef interface IRobotEvent IRobotEvent;

#endif 	/* __IRobotEvent_FWD_DEFINED__ */


L
ljc545w 已提交
61 62 63 64 65 66 67 68 69 70 71 72
#ifndef __WeChatRobot_FWD_DEFINED__
#define __WeChatRobot_FWD_DEFINED__

#ifdef __cplusplus
typedef class WeChatRobot WeChatRobot;
#else
typedef struct WeChatRobot WeChatRobot;
#endif /* __cplusplus */

#endif 	/* __WeChatRobot_FWD_DEFINED__ */


L
ljc545w 已提交
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
#ifndef ___IRobotEventEvents_FWD_DEFINED__
#define ___IRobotEventEvents_FWD_DEFINED__
typedef interface _IRobotEventEvents _IRobotEventEvents;

#endif 	/* ___IRobotEventEvents_FWD_DEFINED__ */


#ifndef __RobotEvent_FWD_DEFINED__
#define __RobotEvent_FWD_DEFINED__

#ifdef __cplusplus
typedef class RobotEvent RobotEvent;
#else
typedef struct RobotEvent RobotEvent;
#endif /* __cplusplus */

#endif 	/* __RobotEvent_FWD_DEFINED__ */


L
ljc545w 已提交
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#include "shobjidl.h"

#ifdef __cplusplus
extern "C"{
#endif 


#ifndef __IWeChatRobot_INTERFACE_DEFINED__
#define __IWeChatRobot_INTERFACE_DEFINED__

/* interface IWeChatRobot */
/* [unique][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_IWeChatRobot;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("a836e359-59b2-4e01-9b0c-0e5a5a2efa22")
    IWeChatRobot : public IDispatch
    {
    public:
L
ljc545w 已提交
117
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CStartRobotService( 
L
ljc545w 已提交
118
            /* [in] */ DWORD pid,
L
ljc545w 已提交
119 120
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
121
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CStopRobotService( 
L
ljc545w 已提交
122
            /* [in] */ DWORD pid,
L
ljc545w 已提交
123 124
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
125
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CSendText( 
L
ljc545w 已提交
126
            /* [in] */ DWORD pid,
L
ljc545w 已提交
127 128 129 130
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR wxmsg,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
131
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CSendImage( 
L
ljc545w 已提交
132
            /* [in] */ DWORD pid,
L
ljc545w 已提交
133 134 135 136
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR imagepath,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
137
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CSendFile( 
L
ljc545w 已提交
138
            /* [in] */ DWORD pid,
L
ljc545w 已提交
139 140 141 142
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR filepath,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
143
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CSendArticle( 
L
ljc545w 已提交
144
            /* [in] */ DWORD pid,
L
ljc545w 已提交
145 146 147 148
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR title,
            /* [in] */ BSTR abstract,
            /* [in] */ BSTR url,
L
ljc545w 已提交
149
            /* [in] */ BSTR imgpath,
L
ljc545w 已提交
150 151
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
152
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CSendCard( 
L
ljc545w 已提交
153
            /* [in] */ DWORD pid,
L
ljc545w 已提交
154 155 156 157 158
            /* [in] */ BSTR receiver,
            /* [in] */ BSTR sharedwxid,
            /* [in] */ BSTR nickname,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
159
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CGetFriendList( 
L
ljc545w 已提交
160
            /* [in] */ DWORD pid,
L
ljc545w 已提交
161 162
            /* [retval][out] */ VARIANT *__result) = 0;
        
L
ljc545w 已提交
163
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CGetFriendListString( 
L
ljc545w 已提交
164
            /* [in] */ DWORD pid,
L
ljc545w 已提交
165 166
            /* [retval][out] */ BSTR *__result) = 0;
        
L
ljc545w 已提交
167
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CGetWxUserInfo( 
L
ljc545w 已提交
168
            /* [in] */ DWORD pid,
L
ljc545w 已提交
169 170 171
            /* [in] */ BSTR wxid,
            /* [retval][out] */ BSTR *__result) = 0;
        
L
ljc545w 已提交
172
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CGetSelfInfo( 
L
ljc545w 已提交
173
            /* [in] */ DWORD pid,
L
ljc545w 已提交
174 175
            /* [retval][out] */ BSTR *__result) = 0;
        
L
ljc545w 已提交
176
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CCheckFriendStatus( 
L
ljc545w 已提交
177
            /* [in] */ DWORD pid,
L
ljc545w 已提交
178 179 180
            /* [in] */ BSTR wxid,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
181
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CGetComWorkPath( 
L
ljc545w 已提交
182 183
            /* [retval][out] */ BSTR *__result) = 0;
        
L
ljc545w 已提交
184
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CStartReceiveMessage( 
L
ljc545w 已提交
185
            /* [in] */ DWORD pid,
L
ljc545w 已提交
186
            /* [in] */ int port,
L
ljc545w 已提交
187 188
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
189
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CStopReceiveMessage( 
L
ljc545w 已提交
190
            /* [in] */ DWORD pid,
L
ljc545w 已提交
191 192
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
193
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CSendAtText( 
L
ljc545w 已提交
194
            /* [in] */ DWORD pid,
L
ljc545w 已提交
195
            /* [in] */ BSTR chatroomid,
196
            /* [in] */ VARIANT *wxid,
L
ljc545w 已提交
197
            /* [in] */ BSTR wxmsg,
L
ljc545w 已提交
198
            /* [in] */ BOOL AutoNickName,
L
ljc545w 已提交
199 200
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
201
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CGetChatRoomMembers( 
L
ljc545w 已提交
202
            /* [in] */ DWORD pid,
L
ljc545w 已提交
203 204 205
            /* [in] */ BSTR chatroomid,
            /* [retval][out] */ VARIANT *__result) = 0;
        
L
ljc545w 已提交
206
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CGetDbHandles( 
L
ljc545w 已提交
207
            /* [in] */ DWORD pid,
L
ljc545w 已提交
208 209
            /* [retval][out] */ VARIANT *__result) = 0;
        
L
ljc545w 已提交
210
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CExecuteSQL( 
L
ljc545w 已提交
211
            /* [in] */ DWORD pid,
L
ljc545w 已提交
212 213 214 215
            /* [in] */ DWORD DbHandle,
            /* [in] */ BSTR sql,
            /* [retval][out] */ VARIANT *__result) = 0;
        
L
ljc545w 已提交
216
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CBackupSQLiteDB( 
L
ljc545w 已提交
217
            /* [in] */ DWORD pid,
L
ljc545w 已提交
218 219 220 221
            /* [in] */ DWORD DbHandle,
            /* [in] */ BSTR savepath,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
222
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CVerifyFriendApply( 
L
ljc545w 已提交
223
            /* [in] */ DWORD pid,
L
ljc545w 已提交
224 225 226 227
            /* [in] */ BSTR v3,
            /* [in] */ BSTR v4,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
228
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CAddFriendByWxid( 
L
ljc545w 已提交
229
            /* [in] */ DWORD pid,
L
ljc545w 已提交
230 231 232 233
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR message,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
234
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CAddFriendByV3( 
L
ljc545w 已提交
235
            /* [in] */ DWORD pid,
L
ljc545w 已提交
236 237 238 239 240
            /* [in] */ BSTR v3,
            /* [in] */ BSTR message,
            /* [in] */ int AddType,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
241
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CGetWeChatVer( 
L
ljc545w 已提交
242 243
            /* [retval][out] */ BSTR *__result) = 0;
        
L
ljc545w 已提交
244
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CStartWeChat( 
L
ljc545w 已提交
245 246
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
247
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CSearchContactByNet( 
L
ljc545w 已提交
248
            /* [in] */ DWORD pid,
L
ljc545w 已提交
249 250 251
            /* [in] */ BSTR keyword,
            /* [retval][out] */ VARIANT *__result) = 0;
        
L
ljc545w 已提交
252
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CAddBrandContact( 
L
ljc545w 已提交
253
            /* [in] */ DWORD pid,
L
ljc545w 已提交
254 255 256
            /* [in] */ BSTR PublicId,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
257
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CHookVoiceMsg( 
L
ljc545w 已提交
258
            /* [in] */ DWORD pid,
L
ljc545w 已提交
259 260 261
            /* [in] */ BSTR savepath,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
262
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CUnHookVoiceMsg( 
L
ljc545w 已提交
263
            /* [in] */ DWORD pid,
L
ljc545w 已提交
264 265
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
266
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CHookImageMsg( 
L
ljc545w 已提交
267
            /* [in] */ DWORD pid,
L
ljc545w 已提交
268 269 270
            /* [in] */ BSTR savepath,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
271
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CUnHookImageMsg( 
L
ljc545w 已提交
272
            /* [in] */ DWORD pid,
L
ljc545w 已提交
273 274
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
275
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CChangeWeChatVer( 
L
ljc545w 已提交
276
            /* [in] */ DWORD pid,
L
ljc545w 已提交
277 278 279
            /* [in] */ BSTR verStr,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
280
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CSendAppMsg( 
L
ljc545w 已提交
281
            /* [in] */ DWORD pid,
L
ljc545w 已提交
282 283 284 285
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR appid,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
286
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CDeleteUser( 
L
ljc545w 已提交
287
            /* [in] */ DWORD pid,
L
ljc545w 已提交
288 289 290
            /* [in] */ BSTR wxid,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
291
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CIsWxLogin( 
L
ljc545w 已提交
292
            /* [in] */ DWORD pid,
L
ljc545w 已提交
293 294
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
295
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CEditRemark( 
L
ljc545w 已提交
296
            /* [in] */ DWORD pid,
L
ljc545w 已提交
297 298 299 300 301
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR remark,
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CSetChatRoomName( 
L
ljc545w 已提交
302
            /* [in] */ DWORD pid,
L
ljc545w 已提交
303 304 305 306 307
            /* [in] */ BSTR chatroomid,
            /* [in] */ BSTR name,
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CSetChatRoomAnnouncement( 
L
ljc545w 已提交
308
            /* [in] */ DWORD pid,
L
ljc545w 已提交
309 310 311 312 313
            /* [in] */ BSTR chatroomid,
            /* [in] */ BSTR announcement,
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CSetChatRoomSelfNickname( 
L
ljc545w 已提交
314
            /* [in] */ DWORD pid,
L
ljc545w 已提交
315 316 317 318 319
            /* [in] */ BSTR chatroomid,
            /* [in] */ BSTR nickname,
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CGetChatRoomMemberNickname( 
L
ljc545w 已提交
320
            /* [in] */ DWORD pid,
L
ljc545w 已提交
321 322 323 324 325
            /* [in] */ BSTR chatroomid,
            /* [in] */ BSTR wxid,
            /* [retval][out] */ BSTR *__result) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CDelChatRoomMember( 
L
ljc545w 已提交
326
            /* [in] */ DWORD pid,
L
ljc545w 已提交
327 328 329 330 331
            /* [in] */ BSTR chatroomid,
            /* [in] */ VARIANT *wxids,
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CAddChatRoomMember( 
L
ljc545w 已提交
332
            /* [in] */ DWORD pid,
L
ljc545w 已提交
333 334 335 336
            /* [in] */ BSTR chatroomid,
            /* [in] */ VARIANT *wxids,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394
    };
    
    
#else 	/* C style interface */

    typedef struct IWeChatRobotVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IWeChatRobot * This,
            /* [in] */ REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IWeChatRobot * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IWeChatRobot * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IWeChatRobot * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IWeChatRobot * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IWeChatRobot * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IWeChatRobot * This,
            /* [annotation][in] */ 
            _In_  DISPID dispIdMember,
            /* [annotation][in] */ 
            _In_  REFIID riid,
            /* [annotation][in] */ 
            _In_  LCID lcid,
            /* [annotation][in] */ 
            _In_  WORD wFlags,
            /* [annotation][out][in] */ 
            _In_  DISPPARAMS *pDispParams,
            /* [annotation][out] */ 
            _Out_opt_  VARIANT *pVarResult,
            /* [annotation][out] */ 
            _Out_opt_  EXCEPINFO *pExcepInfo,
            /* [annotation][out] */ 
            _Out_opt_  UINT *puArgErr);
        
L
ljc545w 已提交
395
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CStartRobotService )( 
L
ljc545w 已提交
396
            IWeChatRobot * This,
L
ljc545w 已提交
397
            /* [in] */ DWORD pid,
L
ljc545w 已提交
398 399
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
400
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CStopRobotService )( 
L
ljc545w 已提交
401
            IWeChatRobot * This,
L
ljc545w 已提交
402
            /* [in] */ DWORD pid,
L
ljc545w 已提交
403 404
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
405
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CSendText )( 
L
ljc545w 已提交
406
            IWeChatRobot * This,
L
ljc545w 已提交
407
            /* [in] */ DWORD pid,
L
ljc545w 已提交
408 409 410 411
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR wxmsg,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
412
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CSendImage )( 
L
ljc545w 已提交
413
            IWeChatRobot * This,
L
ljc545w 已提交
414
            /* [in] */ DWORD pid,
L
ljc545w 已提交
415 416 417 418
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR imagepath,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
419
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CSendFile )( 
L
ljc545w 已提交
420
            IWeChatRobot * This,
L
ljc545w 已提交
421
            /* [in] */ DWORD pid,
L
ljc545w 已提交
422 423 424 425
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR filepath,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
426
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CSendArticle )( 
L
ljc545w 已提交
427
            IWeChatRobot * This,
L
ljc545w 已提交
428
            /* [in] */ DWORD pid,
L
ljc545w 已提交
429 430 431 432
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR title,
            /* [in] */ BSTR abstract,
            /* [in] */ BSTR url,
L
ljc545w 已提交
433
            /* [in] */ BSTR imgpath,
L
ljc545w 已提交
434 435
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
436
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CSendCard )( 
L
ljc545w 已提交
437
            IWeChatRobot * This,
L
ljc545w 已提交
438
            /* [in] */ DWORD pid,
L
ljc545w 已提交
439 440 441 442 443
            /* [in] */ BSTR receiver,
            /* [in] */ BSTR sharedwxid,
            /* [in] */ BSTR nickname,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
444
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CGetFriendList )( 
L
ljc545w 已提交
445
            IWeChatRobot * This,
L
ljc545w 已提交
446
            /* [in] */ DWORD pid,
L
ljc545w 已提交
447 448
            /* [retval][out] */ VARIANT *__result);
        
L
ljc545w 已提交
449
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CGetFriendListString )( 
L
ljc545w 已提交
450
            IWeChatRobot * This,
L
ljc545w 已提交
451
            /* [in] */ DWORD pid,
L
ljc545w 已提交
452 453
            /* [retval][out] */ BSTR *__result);
        
L
ljc545w 已提交
454
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CGetWxUserInfo )( 
L
ljc545w 已提交
455
            IWeChatRobot * This,
L
ljc545w 已提交
456
            /* [in] */ DWORD pid,
L
ljc545w 已提交
457 458 459
            /* [in] */ BSTR wxid,
            /* [retval][out] */ BSTR *__result);
        
L
ljc545w 已提交
460
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CGetSelfInfo )( 
L
ljc545w 已提交
461
            IWeChatRobot * This,
L
ljc545w 已提交
462
            /* [in] */ DWORD pid,
L
ljc545w 已提交
463 464
            /* [retval][out] */ BSTR *__result);
        
L
ljc545w 已提交
465
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CCheckFriendStatus )( 
L
ljc545w 已提交
466
            IWeChatRobot * This,
L
ljc545w 已提交
467
            /* [in] */ DWORD pid,
L
ljc545w 已提交
468 469 470
            /* [in] */ BSTR wxid,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
471
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CGetComWorkPath )( 
L
ljc545w 已提交
472 473 474
            IWeChatRobot * This,
            /* [retval][out] */ BSTR *__result);
        
L
ljc545w 已提交
475
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CStartReceiveMessage )( 
L
ljc545w 已提交
476
            IWeChatRobot * This,
L
ljc545w 已提交
477
            /* [in] */ DWORD pid,
L
ljc545w 已提交
478
            /* [in] */ int port,
L
ljc545w 已提交
479 480
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
481
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CStopReceiveMessage )( 
L
ljc545w 已提交
482
            IWeChatRobot * This,
L
ljc545w 已提交
483
            /* [in] */ DWORD pid,
L
ljc545w 已提交
484 485
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
486
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CSendAtText )( 
L
ljc545w 已提交
487
            IWeChatRobot * This,
L
ljc545w 已提交
488
            /* [in] */ DWORD pid,
L
ljc545w 已提交
489
            /* [in] */ BSTR chatroomid,
490
            /* [in] */ VARIANT *wxid,
L
ljc545w 已提交
491
            /* [in] */ BSTR wxmsg,
L
ljc545w 已提交
492
            /* [in] */ BOOL AutoNickName,
L
ljc545w 已提交
493 494
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
495
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CGetChatRoomMembers )( 
L
ljc545w 已提交
496
            IWeChatRobot * This,
L
ljc545w 已提交
497
            /* [in] */ DWORD pid,
L
ljc545w 已提交
498 499 500
            /* [in] */ BSTR chatroomid,
            /* [retval][out] */ VARIANT *__result);
        
L
ljc545w 已提交
501
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CGetDbHandles )( 
L
ljc545w 已提交
502
            IWeChatRobot * This,
L
ljc545w 已提交
503
            /* [in] */ DWORD pid,
L
ljc545w 已提交
504 505
            /* [retval][out] */ VARIANT *__result);
        
L
ljc545w 已提交
506
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CExecuteSQL )( 
L
ljc545w 已提交
507
            IWeChatRobot * This,
L
ljc545w 已提交
508
            /* [in] */ DWORD pid,
L
ljc545w 已提交
509 510 511 512
            /* [in] */ DWORD DbHandle,
            /* [in] */ BSTR sql,
            /* [retval][out] */ VARIANT *__result);
        
L
ljc545w 已提交
513
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CBackupSQLiteDB )( 
L
ljc545w 已提交
514
            IWeChatRobot * This,
L
ljc545w 已提交
515
            /* [in] */ DWORD pid,
L
ljc545w 已提交
516 517 518 519
            /* [in] */ DWORD DbHandle,
            /* [in] */ BSTR savepath,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
520
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CVerifyFriendApply )( 
L
ljc545w 已提交
521
            IWeChatRobot * This,
L
ljc545w 已提交
522
            /* [in] */ DWORD pid,
L
ljc545w 已提交
523 524 525 526
            /* [in] */ BSTR v3,
            /* [in] */ BSTR v4,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
527
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CAddFriendByWxid )( 
L
ljc545w 已提交
528
            IWeChatRobot * This,
L
ljc545w 已提交
529
            /* [in] */ DWORD pid,
L
ljc545w 已提交
530 531 532 533
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR message,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
534
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CAddFriendByV3 )( 
L
ljc545w 已提交
535
            IWeChatRobot * This,
L
ljc545w 已提交
536
            /* [in] */ DWORD pid,
L
ljc545w 已提交
537 538 539 540 541
            /* [in] */ BSTR v3,
            /* [in] */ BSTR message,
            /* [in] */ int AddType,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
542
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CGetWeChatVer )( 
L
ljc545w 已提交
543 544 545
            IWeChatRobot * This,
            /* [retval][out] */ BSTR *__result);
        
L
ljc545w 已提交
546
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CStartWeChat )( 
L
ljc545w 已提交
547 548 549
            IWeChatRobot * This,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
550
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CSearchContactByNet )( 
L
ljc545w 已提交
551
            IWeChatRobot * This,
L
ljc545w 已提交
552
            /* [in] */ DWORD pid,
L
ljc545w 已提交
553 554 555
            /* [in] */ BSTR keyword,
            /* [retval][out] */ VARIANT *__result);
        
L
ljc545w 已提交
556
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CAddBrandContact )( 
L
ljc545w 已提交
557
            IWeChatRobot * This,
L
ljc545w 已提交
558
            /* [in] */ DWORD pid,
L
ljc545w 已提交
559 560 561
            /* [in] */ BSTR PublicId,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
562
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CHookVoiceMsg )( 
L
ljc545w 已提交
563
            IWeChatRobot * This,
L
ljc545w 已提交
564
            /* [in] */ DWORD pid,
L
ljc545w 已提交
565 566 567
            /* [in] */ BSTR savepath,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
568
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CUnHookVoiceMsg )( 
L
ljc545w 已提交
569
            IWeChatRobot * This,
L
ljc545w 已提交
570
            /* [in] */ DWORD pid,
L
ljc545w 已提交
571 572
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
573
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CHookImageMsg )( 
L
ljc545w 已提交
574
            IWeChatRobot * This,
L
ljc545w 已提交
575
            /* [in] */ DWORD pid,
L
ljc545w 已提交
576 577 578
            /* [in] */ BSTR savepath,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
579
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CUnHookImageMsg )( 
L
ljc545w 已提交
580
            IWeChatRobot * This,
L
ljc545w 已提交
581
            /* [in] */ DWORD pid,
L
ljc545w 已提交
582 583
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
584
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CChangeWeChatVer )( 
L
ljc545w 已提交
585
            IWeChatRobot * This,
L
ljc545w 已提交
586
            /* [in] */ DWORD pid,
L
ljc545w 已提交
587 588 589
            /* [in] */ BSTR verStr,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
590
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CSendAppMsg )( 
L
ljc545w 已提交
591
            IWeChatRobot * This,
L
ljc545w 已提交
592
            /* [in] */ DWORD pid,
L
ljc545w 已提交
593 594 595 596
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR appid,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
597
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CDeleteUser )( 
L
ljc545w 已提交
598
            IWeChatRobot * This,
L
ljc545w 已提交
599
            /* [in] */ DWORD pid,
L
ljc545w 已提交
600 601 602
            /* [in] */ BSTR wxid,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
603 604
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CIsWxLogin )( 
            IWeChatRobot * This,
L
ljc545w 已提交
605
            /* [in] */ DWORD pid,
L
ljc545w 已提交
606 607
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
608 609
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CEditRemark )( 
            IWeChatRobot * This,
L
ljc545w 已提交
610
            /* [in] */ DWORD pid,
L
ljc545w 已提交
611 612 613 614 615 616
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR remark,
            /* [retval][out] */ int *__result);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CSetChatRoomName )( 
            IWeChatRobot * This,
L
ljc545w 已提交
617
            /* [in] */ DWORD pid,
L
ljc545w 已提交
618 619 620 621 622 623
            /* [in] */ BSTR chatroomid,
            /* [in] */ BSTR name,
            /* [retval][out] */ int *__result);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CSetChatRoomAnnouncement )( 
            IWeChatRobot * This,
L
ljc545w 已提交
624
            /* [in] */ DWORD pid,
L
ljc545w 已提交
625 626 627 628 629 630
            /* [in] */ BSTR chatroomid,
            /* [in] */ BSTR announcement,
            /* [retval][out] */ int *__result);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CSetChatRoomSelfNickname )( 
            IWeChatRobot * This,
L
ljc545w 已提交
631
            /* [in] */ DWORD pid,
L
ljc545w 已提交
632 633 634 635 636 637
            /* [in] */ BSTR chatroomid,
            /* [in] */ BSTR nickname,
            /* [retval][out] */ int *__result);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CGetChatRoomMemberNickname )( 
            IWeChatRobot * This,
L
ljc545w 已提交
638
            /* [in] */ DWORD pid,
L
ljc545w 已提交
639 640 641 642 643 644
            /* [in] */ BSTR chatroomid,
            /* [in] */ BSTR wxid,
            /* [retval][out] */ BSTR *__result);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CDelChatRoomMember )( 
            IWeChatRobot * This,
L
ljc545w 已提交
645
            /* [in] */ DWORD pid,
L
ljc545w 已提交
646 647 648 649 650 651
            /* [in] */ BSTR chatroomid,
            /* [in] */ VARIANT *wxids,
            /* [retval][out] */ int *__result);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CAddChatRoomMember )( 
            IWeChatRobot * This,
L
ljc545w 已提交
652
            /* [in] */ DWORD pid,
L
ljc545w 已提交
653 654 655 656
            /* [in] */ BSTR chatroomid,
            /* [in] */ VARIANT *wxids,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692
        END_INTERFACE
    } IWeChatRobotVtbl;

    interface IWeChatRobot
    {
        CONST_VTBL struct IWeChatRobotVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IWeChatRobot_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define IWeChatRobot_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define IWeChatRobot_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define IWeChatRobot_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define IWeChatRobot_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define IWeChatRobot_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define IWeChatRobot_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 


L
ljc545w 已提交
693 694
#define IWeChatRobot_CStartRobotService(This,pid,__result)	\
    ( (This)->lpVtbl -> CStartRobotService(This,pid,__result) ) 
L
ljc545w 已提交
695

L
ljc545w 已提交
696 697
#define IWeChatRobot_CStopRobotService(This,pid,__result)	\
    ( (This)->lpVtbl -> CStopRobotService(This,pid,__result) ) 
L
ljc545w 已提交
698

L
ljc545w 已提交
699 700
#define IWeChatRobot_CSendText(This,pid,wxid,wxmsg,__result)	\
    ( (This)->lpVtbl -> CSendText(This,pid,wxid,wxmsg,__result) ) 
L
ljc545w 已提交
701

L
ljc545w 已提交
702 703
#define IWeChatRobot_CSendImage(This,pid,wxid,imagepath,__result)	\
    ( (This)->lpVtbl -> CSendImage(This,pid,wxid,imagepath,__result) ) 
L
ljc545w 已提交
704

L
ljc545w 已提交
705 706
#define IWeChatRobot_CSendFile(This,pid,wxid,filepath,__result)	\
    ( (This)->lpVtbl -> CSendFile(This,pid,wxid,filepath,__result) ) 
L
ljc545w 已提交
707

L
ljc545w 已提交
708 709
#define IWeChatRobot_CSendArticle(This,pid,wxid,title,abstract,url,imgpath,__result)	\
    ( (This)->lpVtbl -> CSendArticle(This,pid,wxid,title,abstract,url,imgpath,__result) ) 
L
ljc545w 已提交
710

L
ljc545w 已提交
711 712
#define IWeChatRobot_CSendCard(This,pid,receiver,sharedwxid,nickname,__result)	\
    ( (This)->lpVtbl -> CSendCard(This,pid,receiver,sharedwxid,nickname,__result) ) 
L
ljc545w 已提交
713

L
ljc545w 已提交
714 715
#define IWeChatRobot_CGetFriendList(This,pid,__result)	\
    ( (This)->lpVtbl -> CGetFriendList(This,pid,__result) ) 
L
ljc545w 已提交
716

L
ljc545w 已提交
717 718
#define IWeChatRobot_CGetFriendListString(This,pid,__result)	\
    ( (This)->lpVtbl -> CGetFriendListString(This,pid,__result) ) 
L
ljc545w 已提交
719

L
ljc545w 已提交
720 721
#define IWeChatRobot_CGetWxUserInfo(This,pid,wxid,__result)	\
    ( (This)->lpVtbl -> CGetWxUserInfo(This,pid,wxid,__result) ) 
L
ljc545w 已提交
722

L
ljc545w 已提交
723 724
#define IWeChatRobot_CGetSelfInfo(This,pid,__result)	\
    ( (This)->lpVtbl -> CGetSelfInfo(This,pid,__result) ) 
L
ljc545w 已提交
725

L
ljc545w 已提交
726 727
#define IWeChatRobot_CCheckFriendStatus(This,pid,wxid,__result)	\
    ( (This)->lpVtbl -> CCheckFriendStatus(This,pid,wxid,__result) ) 
L
ljc545w 已提交
728 729 730 731

#define IWeChatRobot_CGetComWorkPath(This,__result)	\
    ( (This)->lpVtbl -> CGetComWorkPath(This,__result) ) 

L
ljc545w 已提交
732 733
#define IWeChatRobot_CStartReceiveMessage(This,pid,port,__result)	\
    ( (This)->lpVtbl -> CStartReceiveMessage(This,pid,port,__result) ) 
L
ljc545w 已提交
734

L
ljc545w 已提交
735 736
#define IWeChatRobot_CStopReceiveMessage(This,pid,__result)	\
    ( (This)->lpVtbl -> CStopReceiveMessage(This,pid,__result) ) 
L
ljc545w 已提交
737

L
ljc545w 已提交
738 739
#define IWeChatRobot_CSendAtText(This,pid,chatroomid,wxid,wxmsg,AutoNickName,__result)	\
    ( (This)->lpVtbl -> CSendAtText(This,pid,chatroomid,wxid,wxmsg,AutoNickName,__result) ) 
L
ljc545w 已提交
740

L
ljc545w 已提交
741 742
#define IWeChatRobot_CGetChatRoomMembers(This,pid,chatroomid,__result)	\
    ( (This)->lpVtbl -> CGetChatRoomMembers(This,pid,chatroomid,__result) ) 
L
ljc545w 已提交
743

L
ljc545w 已提交
744 745
#define IWeChatRobot_CGetDbHandles(This,pid,__result)	\
    ( (This)->lpVtbl -> CGetDbHandles(This,pid,__result) ) 
L
ljc545w 已提交
746

L
ljc545w 已提交
747 748
#define IWeChatRobot_CExecuteSQL(This,pid,DbHandle,sql,__result)	\
    ( (This)->lpVtbl -> CExecuteSQL(This,pid,DbHandle,sql,__result) ) 
L
ljc545w 已提交
749

L
ljc545w 已提交
750 751
#define IWeChatRobot_CBackupSQLiteDB(This,pid,DbHandle,savepath,__result)	\
    ( (This)->lpVtbl -> CBackupSQLiteDB(This,pid,DbHandle,savepath,__result) ) 
L
ljc545w 已提交
752

L
ljc545w 已提交
753 754
#define IWeChatRobot_CVerifyFriendApply(This,pid,v3,v4,__result)	\
    ( (This)->lpVtbl -> CVerifyFriendApply(This,pid,v3,v4,__result) ) 
L
ljc545w 已提交
755

L
ljc545w 已提交
756 757
#define IWeChatRobot_CAddFriendByWxid(This,pid,wxid,message,__result)	\
    ( (This)->lpVtbl -> CAddFriendByWxid(This,pid,wxid,message,__result) ) 
L
ljc545w 已提交
758

L
ljc545w 已提交
759 760
#define IWeChatRobot_CAddFriendByV3(This,pid,v3,message,AddType,__result)	\
    ( (This)->lpVtbl -> CAddFriendByV3(This,pid,v3,message,AddType,__result) ) 
L
ljc545w 已提交
761

L
ljc545w 已提交
762 763 764 765 766 767
#define IWeChatRobot_CGetWeChatVer(This,__result)	\
    ( (This)->lpVtbl -> CGetWeChatVer(This,__result) ) 

#define IWeChatRobot_CStartWeChat(This,__result)	\
    ( (This)->lpVtbl -> CStartWeChat(This,__result) ) 

L
ljc545w 已提交
768 769
#define IWeChatRobot_CSearchContactByNet(This,pid,keyword,__result)	\
    ( (This)->lpVtbl -> CSearchContactByNet(This,pid,keyword,__result) ) 
L
ljc545w 已提交
770

L
ljc545w 已提交
771 772
#define IWeChatRobot_CAddBrandContact(This,pid,PublicId,__result)	\
    ( (This)->lpVtbl -> CAddBrandContact(This,pid,PublicId,__result) ) 
L
ljc545w 已提交
773

L
ljc545w 已提交
774 775
#define IWeChatRobot_CHookVoiceMsg(This,pid,savepath,__result)	\
    ( (This)->lpVtbl -> CHookVoiceMsg(This,pid,savepath,__result) ) 
L
ljc545w 已提交
776

L
ljc545w 已提交
777 778
#define IWeChatRobot_CUnHookVoiceMsg(This,pid,__result)	\
    ( (This)->lpVtbl -> CUnHookVoiceMsg(This,pid,__result) ) 
L
ljc545w 已提交
779

L
ljc545w 已提交
780 781
#define IWeChatRobot_CHookImageMsg(This,pid,savepath,__result)	\
    ( (This)->lpVtbl -> CHookImageMsg(This,pid,savepath,__result) ) 
L
ljc545w 已提交
782

L
ljc545w 已提交
783 784
#define IWeChatRobot_CUnHookImageMsg(This,pid,__result)	\
    ( (This)->lpVtbl -> CUnHookImageMsg(This,pid,__result) ) 
L
ljc545w 已提交
785

L
ljc545w 已提交
786 787
#define IWeChatRobot_CChangeWeChatVer(This,pid,verStr,__result)	\
    ( (This)->lpVtbl -> CChangeWeChatVer(This,pid,verStr,__result) ) 
L
ljc545w 已提交
788

L
ljc545w 已提交
789 790
#define IWeChatRobot_CSendAppMsg(This,pid,wxid,appid,__result)	\
    ( (This)->lpVtbl -> CSendAppMsg(This,pid,wxid,appid,__result) ) 
L
ljc545w 已提交
791

L
ljc545w 已提交
792 793
#define IWeChatRobot_CDeleteUser(This,pid,wxid,__result)	\
    ( (This)->lpVtbl -> CDeleteUser(This,pid,wxid,__result) ) 
L
ljc545w 已提交
794

L
ljc545w 已提交
795 796
#define IWeChatRobot_CIsWxLogin(This,pid,__result)	\
    ( (This)->lpVtbl -> CIsWxLogin(This,pid,__result) ) 
L
ljc545w 已提交
797

L
ljc545w 已提交
798 799
#define IWeChatRobot_CEditRemark(This,pid,wxid,remark,__result)	\
    ( (This)->lpVtbl -> CEditRemark(This,pid,wxid,remark,__result) ) 
L
ljc545w 已提交
800

L
ljc545w 已提交
801 802
#define IWeChatRobot_CSetChatRoomName(This,pid,chatroomid,name,__result)	\
    ( (This)->lpVtbl -> CSetChatRoomName(This,pid,chatroomid,name,__result) ) 
L
ljc545w 已提交
803

L
ljc545w 已提交
804 805
#define IWeChatRobot_CSetChatRoomAnnouncement(This,pid,chatroomid,announcement,__result)	\
    ( (This)->lpVtbl -> CSetChatRoomAnnouncement(This,pid,chatroomid,announcement,__result) ) 
L
ljc545w 已提交
806

L
ljc545w 已提交
807 808
#define IWeChatRobot_CSetChatRoomSelfNickname(This,pid,chatroomid,nickname,__result)	\
    ( (This)->lpVtbl -> CSetChatRoomSelfNickname(This,pid,chatroomid,nickname,__result) ) 
L
ljc545w 已提交
809

L
ljc545w 已提交
810 811
#define IWeChatRobot_CGetChatRoomMemberNickname(This,pid,chatroomid,wxid,__result)	\
    ( (This)->lpVtbl -> CGetChatRoomMemberNickname(This,pid,chatroomid,wxid,__result) ) 
L
ljc545w 已提交
812

L
ljc545w 已提交
813 814
#define IWeChatRobot_CDelChatRoomMember(This,pid,chatroomid,wxids,__result)	\
    ( (This)->lpVtbl -> CDelChatRoomMember(This,pid,chatroomid,wxids,__result) ) 
L
ljc545w 已提交
815

L
ljc545w 已提交
816 817
#define IWeChatRobot_CAddChatRoomMember(This,pid,chatroomid,wxids,__result)	\
    ( (This)->lpVtbl -> CAddChatRoomMember(This,pid,chatroomid,wxids,__result) ) 
L
ljc545w 已提交
818

L
ljc545w 已提交
819 820 821 822 823 824 825 826 827 828 829
#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __IWeChatRobot_INTERFACE_DEFINED__ */


L
ljc545w 已提交
830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845
#ifndef __IRobotEvent_INTERFACE_DEFINED__
#define __IRobotEvent_INTERFACE_DEFINED__

/* interface IRobotEvent */
/* [unique][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_IRobotEvent;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("1a9d8d1b-d40e-4f3a-8ed4-b783e6a59830")
    IRobotEvent : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CPostMessage( 
846
            /* [in] */ DWORD pid,
L
ljc545w 已提交
847
            /* [in] */ int msgtype,
L
ljc545w 已提交
848 849 850
            /* [in] */ VARIANT *msg,
            /* [retval][out] */ int *__result) = 0;
        
851 852 853 854 855
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CRegisterWxPidWithCookie( 
            /* [in] */ DWORD pid,
            /* [in] */ DWORD cookie,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915
    };
    
    
#else 	/* C style interface */

    typedef struct IRobotEventVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IRobotEvent * This,
            /* [in] */ REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IRobotEvent * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IRobotEvent * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IRobotEvent * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IRobotEvent * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IRobotEvent * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IRobotEvent * This,
            /* [annotation][in] */ 
            _In_  DISPID dispIdMember,
            /* [annotation][in] */ 
            _In_  REFIID riid,
            /* [annotation][in] */ 
            _In_  LCID lcid,
            /* [annotation][in] */ 
            _In_  WORD wFlags,
            /* [annotation][out][in] */ 
            _In_  DISPPARAMS *pDispParams,
            /* [annotation][out] */ 
            _Out_opt_  VARIANT *pVarResult,
            /* [annotation][out] */ 
            _Out_opt_  EXCEPINFO *pExcepInfo,
            /* [annotation][out] */ 
            _Out_opt_  UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CPostMessage )( 
            IRobotEvent * This,
916
            /* [in] */ DWORD pid,
L
ljc545w 已提交
917
            /* [in] */ int msgtype,
L
ljc545w 已提交
918 919 920
            /* [in] */ VARIANT *msg,
            /* [retval][out] */ int *__result);
        
921 922 923 924 925 926
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CRegisterWxPidWithCookie )( 
            IRobotEvent * This,
            /* [in] */ DWORD pid,
            /* [in] */ DWORD cookie,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962
        END_INTERFACE
    } IRobotEventVtbl;

    interface IRobotEvent
    {
        CONST_VTBL struct IRobotEventVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IRobotEvent_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define IRobotEvent_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define IRobotEvent_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define IRobotEvent_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define IRobotEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define IRobotEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define IRobotEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 


963 964 965 966 967
#define IRobotEvent_CPostMessage(This,pid,msgtype,msg,__result)	\
    ( (This)->lpVtbl -> CPostMessage(This,pid,msgtype,msg,__result) ) 

#define IRobotEvent_CRegisterWxPidWithCookie(This,pid,cookie,__result)	\
    ( (This)->lpVtbl -> CRegisterWxPidWithCookie(This,pid,cookie,__result) ) 
L
ljc545w 已提交
968 969 970 971 972 973 974 975 976 977 978 979

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __IRobotEvent_INTERFACE_DEFINED__ */


L
ljc545w 已提交
980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996

#ifndef __WeChatRobotCOMLib_LIBRARY_DEFINED__
#define __WeChatRobotCOMLib_LIBRARY_DEFINED__

/* library WeChatRobotCOMLib */
/* [version][uuid] */ 


EXTERN_C const IID LIBID_WeChatRobotCOMLib;

EXTERN_C const CLSID CLSID_WeChatRobot;

#ifdef __cplusplus

class DECLSPEC_UUID("4ce7f5e1-2c93-4bfe-86ac-886452e47475")
WeChatRobot;
#endif
L
ljc545w 已提交
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119

#ifndef ___IRobotEventEvents_DISPINTERFACE_DEFINED__
#define ___IRobotEventEvents_DISPINTERFACE_DEFINED__

/* dispinterface _IRobotEventEvents */
/* [uuid] */ 


EXTERN_C const IID DIID__IRobotEventEvents;

#if defined(__cplusplus) && !defined(CINTERFACE)

    MIDL_INTERFACE("8fd26fd1-9169-4e4c-8a1d-d05093bacce5")
    _IRobotEventEvents : public IDispatch
    {
    };
    
#else 	/* C style interface */

    typedef struct _IRobotEventEventsVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            _IRobotEventEvents * This,
            /* [in] */ REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            _IRobotEventEvents * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            _IRobotEventEvents * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            _IRobotEventEvents * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            _IRobotEventEvents * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            _IRobotEventEvents * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            _IRobotEventEvents * This,
            /* [annotation][in] */ 
            _In_  DISPID dispIdMember,
            /* [annotation][in] */ 
            _In_  REFIID riid,
            /* [annotation][in] */ 
            _In_  LCID lcid,
            /* [annotation][in] */ 
            _In_  WORD wFlags,
            /* [annotation][out][in] */ 
            _In_  DISPPARAMS *pDispParams,
            /* [annotation][out] */ 
            _Out_opt_  VARIANT *pVarResult,
            /* [annotation][out] */ 
            _Out_opt_  EXCEPINFO *pExcepInfo,
            /* [annotation][out] */ 
            _Out_opt_  UINT *puArgErr);
        
        END_INTERFACE
    } _IRobotEventEventsVtbl;

    interface _IRobotEventEvents
    {
        CONST_VTBL struct _IRobotEventEventsVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define _IRobotEventEvents_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define _IRobotEventEvents_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define _IRobotEventEvents_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define _IRobotEventEvents_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define _IRobotEventEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define _IRobotEventEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define _IRobotEventEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */


#endif 	/* ___IRobotEventEvents_DISPINTERFACE_DEFINED__ */


EXTERN_C const CLSID CLSID_RobotEvent;

#ifdef __cplusplus

class DECLSPEC_UUID("178001e8-5e64-4cec-8032-1de28801df55")
RobotEvent;
#endif
L
ljc545w 已提交
1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152
#endif /* __WeChatRobotCOMLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 

unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 

unsigned long             __RPC_USER  BSTR_UserSize64(     unsigned long *, unsigned long            , BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserMarshal64(  unsigned long *, unsigned char *, BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserUnmarshal64(unsigned long *, unsigned char *, BSTR * ); 
void                      __RPC_USER  BSTR_UserFree64(     unsigned long *, BSTR * ); 

unsigned long             __RPC_USER  VARIANT_UserSize64(     unsigned long *, unsigned long            , VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserMarshal64(  unsigned long *, unsigned char *, VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserUnmarshal64(unsigned long *, unsigned char *, VARIANT * ); 
void                      __RPC_USER  VARIANT_UserFree64(     unsigned long *, VARIANT * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif