WeChatRobotCOM_i.h 24.5 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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 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 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161


/* 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__ */


#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__ */


/* 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:
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CStartRobotService( 
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CStopRobotService( 
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CSendText( 
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR wxmsg,
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CSendImage( 
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR imagepath,
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CSendFile( 
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR filepath,
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CSendArticle( 
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR title,
            /* [in] */ BSTR abstract,
            /* [in] */ BSTR url,
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CSendCard( 
            /* [in] */ BSTR receiver,
            /* [in] */ BSTR sharedwxid,
            /* [in] */ BSTR nickname,
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CGetFriendList( 
            /* [retval][out] */ VARIANT *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CGetFriendListString( 
            /* [retval][out] */ BSTR *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CGetWxUserInfo( 
            /* [in] */ BSTR wxid,
            /* [retval][out] */ BSTR *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CGetSelfInfo( 
            /* [retval][out] */ BSTR *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CCheckFriendStatusInit( 
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CCheckFriendStatus( 
            /* [in] */ BSTR wxid,
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CCheckFriendStatusFinish( 
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CGetComWorkPath( 
            /* [retval][out] */ BSTR *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CStartReceiveMessage( 
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CReceiveMessage( 
            /* [retval][out] */ VARIANT *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CStopReceiveMessage( 
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CSendAtText( 
            /* [in] */ BSTR chatroomid,
162
            /* [in] */ VARIANT *wxid,
L
ljc545w 已提交
163 164 165
            /* [in] */ BSTR wxmsg,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
166 167 168 169
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CGetChatRoomMembers( 
            /* [in] */ BSTR chatroomid,
            /* [retval][out] */ VARIANT *__result) = 0;
        
L
ljc545w 已提交
170 171 172 173 174 175 176 177 178 179 180 181 182
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CGetDbHandles( 
            /* [retval][out] */ VARIANT *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CExecuteSQL( 
            /* [in] */ DWORD DbHandle,
            /* [in] */ BSTR sql,
            /* [retval][out] */ VARIANT *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CBackupSQLiteDB( 
            /* [in] */ DWORD DbHandle,
            /* [in] */ BSTR savepath,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
183 184 185 186 187
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CVerifyFriendApply( 
            /* [in] */ BSTR v3,
            /* [in] */ BSTR v4,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
188 189 190 191 192 193 194 195 196 197 198
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CAddFriendByWxid( 
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR message,
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CAddFriendByV3( 
            /* [in] */ BSTR v3,
            /* [in] */ BSTR message,
            /* [in] */ int AddType,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
199 200 201 202 203 204
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CGetWeChatVer( 
            /* [retval][out] */ BSTR *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CStartWeChat( 
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
205 206 207 208
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CSearchContactByNet( 
            /* [in] */ BSTR keyword,
            /* [retval][out] */ VARIANT *__result) = 0;
        
L
ljc545w 已提交
209 210 211 212
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CAddBrandContact( 
            /* [in] */ BSTR PublicId,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CHookVoiceMsg( 
            /* [in] */ BSTR savepath,
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CUnHookVoiceMsg( 
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CHookImageMsg( 
            /* [in] */ BSTR savepath,
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CUnHookImageMsg( 
            /* [retval][out] */ int *__result) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CChangeWeChatVer( 
            /* [in] */ BSTR verStr,
            /* [retval][out] */ int *__result) = 0;
        
L
ljc545w 已提交
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 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
    };
    
    
#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);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CStartRobotService )( 
            IWeChatRobot * This,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CStopRobotService )( 
            IWeChatRobot * This,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CSendText )( 
            IWeChatRobot * This,
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR wxmsg,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CSendImage )( 
            IWeChatRobot * This,
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR imagepath,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CSendFile )( 
            IWeChatRobot * This,
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR filepath,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CSendArticle )( 
            IWeChatRobot * This,
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR title,
            /* [in] */ BSTR abstract,
            /* [in] */ BSTR url,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CSendCard )( 
            IWeChatRobot * This,
            /* [in] */ BSTR receiver,
            /* [in] */ BSTR sharedwxid,
            /* [in] */ BSTR nickname,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CGetFriendList )( 
            IWeChatRobot * This,
            /* [retval][out] */ VARIANT *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CGetFriendListString )( 
            IWeChatRobot * This,
            /* [retval][out] */ BSTR *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CGetWxUserInfo )( 
            IWeChatRobot * This,
            /* [in] */ BSTR wxid,
            /* [retval][out] */ BSTR *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CGetSelfInfo )( 
            IWeChatRobot * This,
            /* [retval][out] */ BSTR *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CCheckFriendStatusInit )( 
            IWeChatRobot * This,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CCheckFriendStatus )( 
            IWeChatRobot * This,
            /* [in] */ BSTR wxid,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CCheckFriendStatusFinish )( 
            IWeChatRobot * This,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CGetComWorkPath )( 
            IWeChatRobot * This,
            /* [retval][out] */ BSTR *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CStartReceiveMessage )( 
            IWeChatRobot * This,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CReceiveMessage )( 
            IWeChatRobot * This,
            /* [retval][out] */ VARIANT *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CStopReceiveMessage )( 
            IWeChatRobot * This,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CSendAtText )( 
            IWeChatRobot * This,
            /* [in] */ BSTR chatroomid,
379
            /* [in] */ VARIANT *wxid,
L
ljc545w 已提交
380 381 382
            /* [in] */ BSTR wxmsg,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
383 384 385 386 387
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CGetChatRoomMembers )( 
            IWeChatRobot * This,
            /* [in] */ BSTR chatroomid,
            /* [retval][out] */ VARIANT *__result);
        
L
ljc545w 已提交
388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CGetDbHandles )( 
            IWeChatRobot * This,
            /* [retval][out] */ VARIANT *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CExecuteSQL )( 
            IWeChatRobot * This,
            /* [in] */ DWORD DbHandle,
            /* [in] */ BSTR sql,
            /* [retval][out] */ VARIANT *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CBackupSQLiteDB )( 
            IWeChatRobot * This,
            /* [in] */ DWORD DbHandle,
            /* [in] */ BSTR savepath,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
404 405 406 407 408 409
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CVerifyFriendApply )( 
            IWeChatRobot * This,
            /* [in] */ BSTR v3,
            /* [in] */ BSTR v4,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
410 411 412 413 414 415 416 417 418 419 420 421 422
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CAddFriendByWxid )( 
            IWeChatRobot * This,
            /* [in] */ BSTR wxid,
            /* [in] */ BSTR message,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CAddFriendByV3 )( 
            IWeChatRobot * This,
            /* [in] */ BSTR v3,
            /* [in] */ BSTR message,
            /* [in] */ int AddType,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
423 424 425 426 427 428 429 430
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CGetWeChatVer )( 
            IWeChatRobot * This,
            /* [retval][out] */ BSTR *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CStartWeChat )( 
            IWeChatRobot * This,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
431 432 433 434 435
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CSearchContactByNet )( 
            IWeChatRobot * This,
            /* [in] */ BSTR keyword,
            /* [retval][out] */ VARIANT *__result);
        
L
ljc545w 已提交
436 437 438 439 440
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CAddBrandContact )( 
            IWeChatRobot * This,
            /* [in] */ BSTR PublicId,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CHookVoiceMsg )( 
            IWeChatRobot * This,
            /* [in] */ BSTR savepath,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CUnHookVoiceMsg )( 
            IWeChatRobot * This,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CHookImageMsg )( 
            IWeChatRobot * This,
            /* [in] */ BSTR savepath,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CUnHookImageMsg )( 
            IWeChatRobot * This,
            /* [retval][out] */ int *__result);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CChangeWeChatVer )( 
            IWeChatRobot * This,
            /* [in] */ BSTR verStr,
            /* [retval][out] */ int *__result);
        
L
ljc545w 已提交
464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556
        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) ) 


#define IWeChatRobot_CStartRobotService(This,__result)	\
    ( (This)->lpVtbl -> CStartRobotService(This,__result) ) 

#define IWeChatRobot_CStopRobotService(This,__result)	\
    ( (This)->lpVtbl -> CStopRobotService(This,__result) ) 

#define IWeChatRobot_CSendText(This,wxid,wxmsg,__result)	\
    ( (This)->lpVtbl -> CSendText(This,wxid,wxmsg,__result) ) 

#define IWeChatRobot_CSendImage(This,wxid,imagepath,__result)	\
    ( (This)->lpVtbl -> CSendImage(This,wxid,imagepath,__result) ) 

#define IWeChatRobot_CSendFile(This,wxid,filepath,__result)	\
    ( (This)->lpVtbl -> CSendFile(This,wxid,filepath,__result) ) 

#define IWeChatRobot_CSendArticle(This,wxid,title,abstract,url,__result)	\
    ( (This)->lpVtbl -> CSendArticle(This,wxid,title,abstract,url,__result) ) 

#define IWeChatRobot_CSendCard(This,receiver,sharedwxid,nickname,__result)	\
    ( (This)->lpVtbl -> CSendCard(This,receiver,sharedwxid,nickname,__result) ) 

#define IWeChatRobot_CGetFriendList(This,__result)	\
    ( (This)->lpVtbl -> CGetFriendList(This,__result) ) 

#define IWeChatRobot_CGetFriendListString(This,__result)	\
    ( (This)->lpVtbl -> CGetFriendListString(This,__result) ) 

#define IWeChatRobot_CGetWxUserInfo(This,wxid,__result)	\
    ( (This)->lpVtbl -> CGetWxUserInfo(This,wxid,__result) ) 

#define IWeChatRobot_CGetSelfInfo(This,__result)	\
    ( (This)->lpVtbl -> CGetSelfInfo(This,__result) ) 

#define IWeChatRobot_CCheckFriendStatusInit(This,__result)	\
    ( (This)->lpVtbl -> CCheckFriendStatusInit(This,__result) ) 

#define IWeChatRobot_CCheckFriendStatus(This,wxid,__result)	\
    ( (This)->lpVtbl -> CCheckFriendStatus(This,wxid,__result) ) 

#define IWeChatRobot_CCheckFriendStatusFinish(This,__result)	\
    ( (This)->lpVtbl -> CCheckFriendStatusFinish(This,__result) ) 

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

#define IWeChatRobot_CStartReceiveMessage(This,__result)	\
    ( (This)->lpVtbl -> CStartReceiveMessage(This,__result) ) 

#define IWeChatRobot_CReceiveMessage(This,__result)	\
    ( (This)->lpVtbl -> CReceiveMessage(This,__result) ) 

#define IWeChatRobot_CStopReceiveMessage(This,__result)	\
    ( (This)->lpVtbl -> CStopReceiveMessage(This,__result) ) 

#define IWeChatRobot_CSendAtText(This,chatroomid,wxid,wxmsg,__result)	\
    ( (This)->lpVtbl -> CSendAtText(This,chatroomid,wxid,wxmsg,__result) ) 

L
ljc545w 已提交
557 558 559
#define IWeChatRobot_CGetChatRoomMembers(This,chatroomid,__result)	\
    ( (This)->lpVtbl -> CGetChatRoomMembers(This,chatroomid,__result) ) 

L
ljc545w 已提交
560 561 562 563 564 565 566 567 568
#define IWeChatRobot_CGetDbHandles(This,__result)	\
    ( (This)->lpVtbl -> CGetDbHandles(This,__result) ) 

#define IWeChatRobot_CExecuteSQL(This,DbHandle,sql,__result)	\
    ( (This)->lpVtbl -> CExecuteSQL(This,DbHandle,sql,__result) ) 

#define IWeChatRobot_CBackupSQLiteDB(This,DbHandle,savepath,__result)	\
    ( (This)->lpVtbl -> CBackupSQLiteDB(This,DbHandle,savepath,__result) ) 

L
ljc545w 已提交
569 570 571
#define IWeChatRobot_CVerifyFriendApply(This,v3,v4,__result)	\
    ( (This)->lpVtbl -> CVerifyFriendApply(This,v3,v4,__result) ) 

L
ljc545w 已提交
572 573 574 575 576 577
#define IWeChatRobot_CAddFriendByWxid(This,wxid,message,__result)	\
    ( (This)->lpVtbl -> CAddFriendByWxid(This,wxid,message,__result) ) 

#define IWeChatRobot_CAddFriendByV3(This,v3,message,AddType,__result)	\
    ( (This)->lpVtbl -> CAddFriendByV3(This,v3,message,AddType,__result) ) 

L
ljc545w 已提交
578 579 580 581 582 583
#define IWeChatRobot_CGetWeChatVer(This,__result)	\
    ( (This)->lpVtbl -> CGetWeChatVer(This,__result) ) 

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

L
ljc545w 已提交
584 585 586
#define IWeChatRobot_CSearchContactByNet(This,keyword,__result)	\
    ( (This)->lpVtbl -> CSearchContactByNet(This,keyword,__result) ) 

L
ljc545w 已提交
587 588 589
#define IWeChatRobot_CAddBrandContact(This,PublicId,__result)	\
    ( (This)->lpVtbl -> CAddBrandContact(This,PublicId,__result) ) 

L
ljc545w 已提交
590 591 592 593 594 595 596 597 598 599 600 601 602 603 604
#define IWeChatRobot_CHookVoiceMsg(This,savepath,__result)	\
    ( (This)->lpVtbl -> CHookVoiceMsg(This,savepath,__result) ) 

#define IWeChatRobot_CUnHookVoiceMsg(This,__result)	\
    ( (This)->lpVtbl -> CUnHookVoiceMsg(This,__result) ) 

#define IWeChatRobot_CHookImageMsg(This,savepath,__result)	\
    ( (This)->lpVtbl -> CHookImageMsg(This,savepath,__result) ) 

#define IWeChatRobot_CUnHookImageMsg(This,__result)	\
    ( (This)->lpVtbl -> CUnHookImageMsg(This,__result) ) 

#define IWeChatRobot_CChangeWeChatVer(This,verStr,__result)	\
    ( (This)->lpVtbl -> CChangeWeChatVer(This,verStr,__result) ) 

L
ljc545w 已提交
605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665
#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __IWeChatRobot_INTERFACE_DEFINED__ */



#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
#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