home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 March / PCWorld_2001-03_cd.bin / Software / TemaCD / devc / _SETUP.5 / Group3 / objidl.h < prev    next >
C/C++ Source or Header  |  1999-11-07  |  92KB  |  1,608 lines

  1. #ifndef _OBJIDL_H
  2. #define _OBJIDL_H
  3.  
  4. #include <objfwd.h>
  5.  
  6. typedef struct  tagSTATSTG {
  7.     LPOLESTR pwcsName;
  8.     DWORD type;
  9.     ULARGE_INTEGER cbSize;
  10.     FILETIME mtime;
  11.     FILETIME ctime;
  12.     FILETIME atime;
  13.     DWORD grfMode;
  14.     DWORD grfLocksSupported;
  15.     CLSID clsid;
  16.     DWORD grfStateBits;
  17.     DWORD reserved;
  18. } STATSTG;
  19. typedef enum tagSTGTY {
  20.     STGTY_STORAGE=1,
  21.     STGTY_STREAM,
  22.     STGTY_LOCKBYTES,
  23.     STGTY_PROPERTY
  24. } STGTY;
  25. typedef enum tagSTREAM_SEEK {
  26.     STREAM_SEEK_SET,
  27.     STREAM_SEEK_CUR,
  28.     STREAM_SEEK_END
  29. } STREAM_SEEK;
  30. typedef struct tagINTERFACEINFO {
  31.     LPUNKNOWN pUnk;
  32.     IID iid;
  33.     WORD wMethod;
  34. } INTERFACEINFO,*LPINTERFACEINFO;
  35. typedef enum tagCALLTYPE {
  36.     CALLTYPE_TOPLEVEL=1,
  37.     CALLTYPE_NESTED,
  38.     CALLTYPE_ASYNC,
  39.     CALLTYPE_TOPLEVEL_CALLPENDING,
  40.     CALLTYPE_ASYNC_CALLPENDING
  41. } CALLTYPE;
  42. typedef enum tagPENDINGTYPE {
  43.     PENDINGTYPE_TOPLEVEL=1,
  44.     PENDINGTYPE_NESTED
  45. } PENDINGTYPE;
  46. typedef enum tagPENDINGMSG {
  47.     PENDINGMSG_CANCELCALL=0,
  48.     PENDINGMSG_WAITNOPROCESS,
  49.     PENDINGMSG_WAITDEFPROCESS
  50. } PENDINGMSG;
  51. typedef OLECHAR **SNB;
  52. typedef enum tagDATADIR    {
  53.     DATADIR_GET=1,
  54.     DATADIR_SET
  55. } DATADIR;
  56. typedef WORD CLIPFORMAT,*LPCLIPFORMAT;
  57. typedef struct tagDVTARGETDEVICE {
  58.     DWORD tdSize;
  59.     WORD tdDriverNameOffset;
  60.     WORD tdDeviceNameOffset;
  61.     WORD tdPortNameOffset;
  62.     WORD tdExtDevmodeOffset;
  63.     BYTE tdData[1];
  64. } DVTARGETDEVICE;
  65. typedef struct tagFORMATETC {
  66.     CLIPFORMAT cfFormat;
  67.     DVTARGETDEVICE*ptd;
  68.     DWORD dwAspect;
  69.     LONG lindex;
  70.     DWORD tymed;
  71. } FORMATETC,*LPFORMATETC;
  72. typedef struct tagRemSTGMEDIUM {
  73.     DWORD tymed;
  74.     DWORD dwHandleType;
  75.     ULONG pData;
  76.     unsigned long pUnkForRelease;
  77.     unsigned long cbData;
  78.     BYTE data[1];
  79. } RemSTGMEDIUM;
  80. typedef struct tagHLITEM {
  81.     ULONG uHLID;
  82.     LPWSTR pwzFriendlyName;
  83. } HLITEM;
  84. typedef struct tagSTATDATA {
  85.     FORMATETC formatetc;
  86.     DWORD grfAdvf;
  87.     struct IAdviseSink *pAdvSink;
  88.     DWORD dwConnection;
  89. } STATDATA;
  90. typedef struct tagSTATPROPSETSTG {
  91.     FMTID fmtid;
  92.     CLSID clsid;
  93.     DWORD grfFlags;
  94.     FILETIME mtime;
  95.     FILETIME ctime;
  96.     FILETIME atime;
  97. } STATPROPSETSTG;
  98. typedef enum tagEXTCONN {
  99.     EXTCONN_STRONG=1,
  100.     EXTCONN_WEAK=2,
  101.     EXTCONN_CALLABLE=4
  102. } EXTCONN;
  103. typedef struct _AUTH_IDENTITY {
  104.     USHORT *User;
  105.     ULONG UserLength;
  106.     USHORT *Domain;
  107.     ULONG DomainLength;
  108.     USHORT *Password;
  109.     ULONG PasswordLength;
  110.     ULONG Flags;
  111. } AUTH_IDENTITY;
  112. typedef struct _COAUTHINFO{
  113.     DWORD dwAuthnSvc;
  114.     DWORD dwAuthzSvc;
  115.     LPWSTR pwszServerPrincName;
  116.     DWORD dwAuthnLevel;
  117.     DWORD dwImpersonationLevel;
  118.     AUTH_IDENTITY *pAuthIdentityData;
  119.     DWORD dwCapabilities;
  120. } COAUTHINFO;
  121. typedef struct  _COSERVERINFO {
  122.     DWORD dwReserved1;
  123.     LPWSTR pwszName;
  124.     COAUTHINFO *pAuthInfo;
  125.     DWORD dwReserved2;
  126. } COSERVERINFO;
  127. typedef struct tagBIND_OPTS {
  128.     DWORD cbStruct;
  129.     DWORD grfFlags;
  130.     DWORD grfMode;
  131.     DWORD dwTickCountDeadline;
  132. } BIND_OPTS,*LPBIND_OPTS;
  133. typedef struct tagBIND_OPTS2 {
  134.     DWORD cbStruct;
  135.     DWORD grfFlags;
  136.     DWORD grfMode;
  137.     DWORD dwTickCountDeadline;
  138.     DWORD dwTrackFlags;
  139.     DWORD dwClassContext;
  140.     LCID locale;
  141.     COSERVERINFO *pServerInfo;
  142. } BIND_OPTS2,*LPBIND_OPTS2;
  143. typedef enum tagBIND_FLAGS {
  144.     BIND_MAYBOTHERUSER=1,
  145.     BIND_JUSTTESTEXISTENCE
  146. } BIND_FLAGS;
  147. typedef struct tagSTGMEDIUM {
  148.     DWORD tymed;
  149.     union {
  150.         HBITMAP hBitmap;
  151.         PVOID hMetaFilePict;
  152.         HENHMETAFILE hEnhMetaFile;
  153.         HGLOBAL hGlobal;
  154.         LPCSTR lpszFileName;
  155.         LPSTREAM pstm;
  156.         LPSTORAGE pstg;
  157.     } DUMMYUNIONNAME;
  158.     LPUNKNOWN pUnkForRelease;
  159. } STGMEDIUM,*LPSTGMEDIUM;
  160. typedef enum tagLOCKTYPE {
  161.     LOCK_WRITE=1,
  162.     LOCK_EXCLUSIVE=2,
  163.     LOCK_ONLYONCE=4
  164. } LOCKTYPE;
  165. typedef unsigned long RPCOLEDATAREP;
  166. typedef struct  tagRPCOLEMESSAGE {
  167.     PVOID reserved1;
  168.     RPCOLEDATAREP dataRepresentation;
  169.     PVOID Buffer;
  170.     ULONG cbBuffer;
  171.     ULONG iMethod;
  172.     PVOID reserved2[5];
  173.     ULONG rpcFlags;
  174. } RPCOLEMESSAGE;
  175. typedef enum tagMKSYS {
  176.     MKSYS_NONE,
  177.     MKSYS_GENERICCOMPOSITE,
  178.     MKSYS_FILEMONIKER,
  179.     MKSYS_ANTIMONIKER,
  180.     MKSYS_ITEMMONIKER,
  181.     MKSYS_POINTERMONIKER
  182. } MKSYS;
  183. typedef enum tagMKREDUCE {
  184.     MKRREDUCE_ALL,
  185.     MKRREDUCE_ONE=196608,
  186.     MKRREDUCE_TOUSER=131072,
  187.     MKRREDUCE_THROUGHUSER=65536
  188. } MKRREDUCE;
  189. typedef struct tagRemSNB {
  190.     unsigned long ulCntStr;
  191.     unsigned long ulCntChar;
  192.     OLECHAR rgString[1];
  193. } RemSNB;
  194. typedef enum tagADVF {
  195.     ADVF_NODATA=1,ADVF_PRIMEFIRST=2,ADVF_ONLYONCE=4,ADVF_DATAONSTOP=64,
  196.     ADVFCACHE_NOHANDLER=8,ADVFCACHE_FORCEBUILTIN=16,ADVFCACHE_ONSAVE=32
  197. } ADVF;
  198. typedef enum tagTYMED {
  199.     TYMED_HGLOBAL=1,TYMED_FILE=2,TYMED_ISTREAM=4,TYMED_ISTORAGE=8,
  200.     TYMED_GDI=16,TYMED_MFPICT=32,TYMED_ENHMF=64,TYMED_NULL=0
  201. } TYMED;
  202. typedef enum tagSERVERCALL {
  203.     SERVERCALL_ISHANDLED,SERVERCALL_REJECTED,SERVERCALL_RETRYLATER
  204. } SERVERCALL;
  205. typedef struct tagCAUB {
  206.     ULONG cElems;
  207.     unsigned char *pElems;
  208. }CAUB;
  209. typedef struct tagCAI {
  210.     ULONG cElems;
  211.     short *pElems;
  212. }CAI;
  213. typedef struct tagCAUI {
  214.     ULONG cElems;
  215.     USHORT *pElems;
  216. }CAUI;
  217. typedef struct tagCAL {
  218.     ULONG cElems;
  219.     long *pElems;
  220. }CAL;
  221. typedef struct tagCAUL {
  222.     ULONG cElems;
  223.     ULONG *pElems;
  224. }CAUL;
  225. typedef struct tagCAFLT {
  226.     ULONG cElems;
  227.     float *pElems;
  228. }CAFLT;
  229. typedef struct tagCADBL {
  230.     ULONG cElems;
  231.     double *pElems;
  232. }CADBL;
  233. typedef struct tagCACY {
  234.     ULONG cElems;
  235.     CY *pElems;
  236. }CACY;
  237. typedef struct tagCADATE {
  238.     ULONG cElems;
  239.     DATE *pElems;
  240. }CADATE;
  241. typedef struct tagCABSTR {
  242.     ULONG cElems;
  243.     BSTR  *pElems;
  244. }CABSTR;
  245. typedef struct tagCABSTRBLOB {
  246.     ULONG cElems;
  247.     BSTRBLOB *pElems;
  248. }CABSTRBLOB;
  249. typedef struct tagCABOOL {
  250.     ULONG cElems;
  251.     VARIANT_BOOL *pElems;
  252. }CABOOL;
  253. typedef struct tagCASCODE {
  254.     ULONG cElems;
  255.     SCODE *pElems;
  256. }CASCODE;
  257. typedef struct tagCAH {
  258.     ULONG cElems;
  259.     LARGE_INTEGER *pElems;
  260. }CAH;
  261. typedef struct tagCAUH {
  262.     ULONG cElems;
  263.     ULARGE_INTEGER *pElems;
  264. }CAUH;
  265. typedef struct tagCALPSTR {
  266.     ULONG cElems;
  267.     LPSTR *pElems;
  268. }CALPSTR;
  269. typedef struct tagCALPWSTR {
  270.     ULONG cElems;
  271.     LPWSTR *pElems;
  272. }CALPWSTR;
  273. typedef struct tagCAFILETIME {
  274.     ULONG cElems;
  275.     FILETIME *pElems;
  276. }CAFILETIME;
  277. typedef struct tagCACLIPDATA {
  278.     ULONG cElems;
  279.     CLIPDATA *pElems;
  280. }CACLIPDATA;
  281. typedef struct tagCACLSID {
  282.     ULONG cElems;
  283.     CLSID *pElems;
  284. }CACLSID;
  285. typedef struct tagPROPVARIANT *LPPROPVARIANT;
  286. typedef struct tagCAPROPVARIANT {
  287.     ULONG cElems;
  288.     LPPROPVARIANT pElems;
  289. }CAPROPVARIANT;
  290. typedef struct tagPROPVARIANT {
  291.     VARTYPE vt;
  292.     WORD wReserved1;
  293.     WORD wReserved2;
  294.     WORD wReserved3;
  295.     union {
  296.         UCHAR bVal;
  297.         short iVal;
  298.         USHORT uiVal;
  299.         VARIANT_BOOL boolVal;
  300. #ifndef __cplusplus
  301.         _VARIANT_BOOL bool;
  302. #endif
  303.         long lVal;
  304.         ULONG ulVal;
  305.         float fltVal;
  306.         SCODE scode;
  307.         LARGE_INTEGER hVal;
  308.         ULARGE_INTEGER uhVal;
  309.         double dblVal;
  310.         CY cyVal;
  311.         DATE date;
  312.         FILETIME filetime;
  313.         CLSID *puuid;
  314.         BLOB blob;
  315.         CLIPDATA *pclipdata;
  316.         LPSTREAM pStream;
  317.         LPSTORAGE pStorage;
  318.         BSTR bstrVal;
  319.         BSTRBLOB bstrblobVal;
  320.         LPSTR pszVal;
  321.         LPWSTR pwszVal;
  322.         CAUB caub;
  323.         CAI cai;
  324.         CAUI caui;
  325.         CABOOL cabool;
  326.         CAL cal;
  327.         CAUL caul;
  328.         CAFLT caflt;
  329.         CASCODE cascode;
  330.         CAH cah;
  331.         CAUH cauh;
  332.         CADBL cadbl;
  333.         CACY cacy;
  334.         CADATE cadate;
  335.         CAFILETIME cafiletime;
  336.         CACLSID cauuid;
  337.         CACLIPDATA caclipdata;
  338.         CABSTR cabstr;
  339.         CABSTRBLOB cabstrblob;
  340.         CALPSTR calpstr;
  341.         CALPWSTR calpwstr;
  342.         CAPROPVARIANT capropvar;
  343.     } DUMMYUNIONNAME;
  344. } PROPVARIANT;
  345. typedef struct tagPROPSPEC {
  346.     ULONG ulKind;
  347.     union {
  348.         PROPID propid;
  349.         LPOLESTR lpwstr;
  350.     } DUMMYUNIONNAME;
  351. }PROPSPEC;
  352. typedef struct  tagSTATPROPSTG {
  353.     LPOLESTR lpwstrName;
  354.     PROPID propid;
  355.     VARTYPE vt;
  356. } STATPROPSTG;
  357. typedef enum PROPSETFLAG {
  358.     PROPSETFLAG_DEFAULT,PROPSETFLAG_NONSIMPLE,PROPSETFLAG_ANSI,
  359.     PROPSETFLAG_UNBUFFERED=4
  360. } PROPSETFLAG;
  361. typedef struct tagSTORAGELAYOUT {
  362.     DWORD LayoutType;
  363.     OLECHAR* pwcsElementName;
  364.     LARGE_INTEGER cOffset;
  365.     LARGE_INTEGER cBytes;
  366. } STORAGELAYOUT;
  367. DECLARE_ENUMERATOR(FORMATETC);
  368. DECLARE_ENUMERATOR(HLITEM);
  369. DECLARE_ENUMERATOR(STATDATA);
  370. DECLARE_ENUMERATOR(STATPROPSETSTG);
  371. DECLARE_ENUMERATOR(STATPROPSTG);
  372. DECLARE_ENUMERATOR(STATSTG);
  373. DECLARE_ENUMERATOR_(IEnumString,LPOLESTR);
  374. DECLARE_ENUMERATOR_(IEnumMoniker,interface IMoniker);
  375. DECLARE_ENUMERATOR_(IEnumUnknown,IUnknown*);
  376.  
  377. #undef INTERFACE
  378. #define INTERFACE IStream
  379. DECLARE_INTERFACE_(IStream,IUnknown)
  380. {
  381.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  382.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  383.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  384.     STDMETHOD(Read)(THIS_ void*,ULONG,ULONG*) PURE;
  385.     STDMETHOD(Write)(THIS_ void const*,ULONG,ULONG*) PURE;
  386.     STDMETHOD(Seek)(THIS_ LARGE_INTEGER,DWORD,ULARGE_INTEGER*) PURE;
  387.     STDMETHOD(SetSize)(THIS_ ULARGE_INTEGER) PURE;
  388.     STDMETHOD(CopyTo)(THIS_ IStream*,ULARGE_INTEGER,ULARGE_INTEGER*,ULARGE_INTEGER*) PURE;
  389.     STDMETHOD(Commit)(THIS_ DWORD) PURE;
  390.     STDMETHOD(Revert)(THIS) PURE;
  391.     STDMETHOD(LockRegion)(THIS_ ULARGE_INTEGER,ULARGE_INTEGER,DWORD);
  392.     STDMETHOD(UnlockRegion)(THIS_ ULARGE_INTEGER,ULARGE_INTEGER,DWORD);
  393.     STDMETHOD(Stat)(THIS_ STATSTG*,DWORD);
  394.     STDMETHOD(Clone)(THIS_ LPSTREAM*);
  395. };
  396.  
  397. #undef INTERFACE
  398. #define INTERFACE IMarshal
  399. DECLARE_INTERFACE_(IMarshal,IUnknown)
  400. {
  401.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  402.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  403.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  404.     STDMETHOD(GetUnmarshalClass) (THIS_ REFIID,DWORD,PVOID,DWORD,CLSID) PURE;
  405.     STDMETHOD(GetMarshalSizeMax) (THIS_ REFIID,DWORD,PVOID,DWORD,PDWORD) PURE;
  406.     STDMETHOD(MarshalInterface) (THIS_ REFIID,DWORD,DWORD) PURE;
  407.     STDMETHOD(UnmarshalInterface) (THIS_ IStream*,void**) PURE;
  408.     STDMETHOD(ReleaseMarshalData) (THIS_ IStream*) PURE;
  409.     STDMETHOD(DisconnectObject) (THIS_ DWORD) PURE;
  410. };
  411.  
  412. #undef INTERFACE
  413. #define INTERFACE IStdMarshalInfo
  414. DECLARE_INTERFACE_(IStdMarshalInfo,IUnknown)
  415. {
  416.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  417.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  418.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  419.     STDMETHOD(GetClassForHandler)(THIS_ DWORD,PVOID,CLSID*) PURE;
  420. };
  421.  
  422. #undef INTERFACE
  423. #define INTERFACE IMalloc
  424. DECLARE_INTERFACE_(IMalloc,IUnknown)
  425. {
  426.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  427.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  428.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  429.     STDMETHOD_(void*,Alloc)(THIS_ ULONG) PURE;
  430.     STDMETHOD_(void,ReAlloc)(THIS_ void*) PURE;
  431.     STDMETHOD_(void*,Free)(THIS_ void*) PURE;
  432.     STDMETHOD_(ULONG,GetSize)(THIS_ void*) PURE;
  433.     STDMETHOD_(int,DidAlloc)(THIS_ void*) PURE;
  434.     STDMETHOD_(void,HeapMinimize)(THIS) PURE;
  435. };
  436.  
  437. #undef INTERFACE
  438. #define INTERFACE IMallocSpy
  439. DECLARE_INTERFACE_(IMallocSpy,IUnknown)
  440. {
  441.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  442.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  443.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  444.     STDMETHOD_(ULONG,PreAlloc)(THIS_ ULONG) PURE;
  445.     STDMETHOD_(void*,PostAlloc)(THIS_ void*) PURE;
  446.     STDMETHOD_(void*,PreFree)(THIS_ void*,BOOL) PURE;
  447.     STDMETHOD_(void,PostFree)(THIS_ BOOL) PURE;
  448.     STDMETHOD_(ULONG,PreRealloc)(THIS_ void*,ULONG,void*) PURE;
  449.     STDMETHOD_(void*,PostRealloc)(THIS_ void*,BOOL) PURE;
  450.     STDMETHOD_(void*,PreGetSize)(THIS_ void*,BOOL) PURE;
  451.     STDMETHOD_(ULONG,PostGetSize)(THIS_ ULONG,BOOL) PURE;
  452.     STDMETHOD_(void*,PreDidAlloc)(THIS_ void*,BOOL) PURE;
  453.     STDMETHOD_(int,PostDidAlloc)(THIS_ void*,BOOL,int) PURE;
  454.     STDMETHOD_(void,PreHeapMinimize)(THIS) PURE;
  455.     STDMETHOD_(void,PostHeapMinimize)(THIS) PURE;
  456. };
  457.  
  458. #undef INTERFACE
  459. #define INTERFACE IMessageFilter
  460. DECLARE_INTERFACE_(IMessageFilter,IUnknown)
  461. {
  462.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  463.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  464.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  465.     STDMETHOD_(DWORD,HandleInComingCall)(THIS_ DWORD,HTASK,DWORD,LPINTERFACEINFO) PURE;
  466.     STDMETHOD_(DWORD,RetryRejectedCall)(THIS_ HTASK,DWORD,DWORD) PURE;
  467.     STDMETHOD_(DWORD,MessagePending)(THIS_ HTASK,DWORD,DWORD) PURE;
  468. };
  469.  
  470. #undef INTERFACE
  471. #define INTERFACE IPersist
  472. DECLARE_INTERFACE_(IPersist,IUnknown)
  473. {
  474.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  475.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  476.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  477.     STDMETHOD(GetClassID)(THIS_ LPCLSID) PURE;
  478. };
  479.  
  480. #undef INTERFACE
  481. #define INTERFACE IPersistStream
  482. DECLARE_INTERFACE_(IPersistStream,IPersist)
  483. {
  484.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  485.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  486.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  487.     STDMETHOD(GetClassID)(THIS_ CLSID) PURE;
  488.     STDMETHOD(IsDirty)(THIS) PURE;
  489.     STDMETHOD(Load)(THIS_ IStream*) PURE;
  490.     STDMETHOD(Save)(THIS_ IStream*,BOOL) PURE;
  491.     STDMETHOD(GetSizeMax)(THIS_ PULARGE_INTEGER) PURE;
  492. };
  493.  
  494. #undef INTERFACE
  495. #define INTERFACE IRunningObjectTable
  496. DECLARE_INTERFACE_(IRunningObjectTable,IUnknown)
  497. {
  498.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  499.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  500.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  501.     STDMETHOD(Register)(THIS_ LPUNKNOWN,LPMONIKER,PDWORD) PURE;
  502.     STDMETHOD(Revoke)(THIS_ DWORD) PURE;
  503.     STDMETHOD(IsRunning)(THIS_ LPMONIKER) PURE;
  504.     STDMETHOD(GetObject)(THIS_ LPMONIKER,LPUNKNOWN*) PURE;
  505.     STDMETHOD(NoteChangeTime)(THIS_ DWORD,LPFILETIME) PURE;
  506.     STDMETHOD(GetTimeOfLastChange)(THIS_ LPMONIKER,LPFILETIME) PURE;
  507.     STDMETHOD(EnumRunning)(THIS_ IEnumMoniker**) PURE;
  508. };
  509.  
  510. #undef INTERFACE
  511. #define INTERFACE IBindCtx
  512. DECLARE_INTERFACE_(IBindCtx,IUnknown)
  513. {
  514.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  515.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  516.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  517.     STDMETHOD(RegisterObjectBound)(THIS_ LPUNKNOWN) PURE;
  518.     STDMETHOD(RevokeObjectBound)(THIS_ LPUNKNOWN) PURE;
  519.     STDMETHOD(ReleaseBoundObjects)(THIS) PURE;
  520.     STDMETHOD(SetBindOptions)(THIS_ LPBIND_OPTS) PURE;
  521.     STDMETHOD(GetBindOptions)(THIS_ LPBIND_OPTS) PURE;
  522.     STDMETHOD(GetRunningObjectTable)(THIS_ IRunningObjectTable**) PURE;
  523.     STDMETHOD(RegisterObjectParam)(THIS_ LPOLESTR,IUnknown*) PURE;
  524.     STDMETHOD(GetObjectParam)(THIS_ LPOLESTR,IUnknown**) PURE;
  525.     STDMETHOD(EnumObjectParam)(THIS_ IEnumString*) PURE;
  526.     STDMETHOD(RevokeObjectParam)(THIS_ LPOLESTR) PURE;
  527. };
  528.  
  529. #undef INTERFACE
  530. #define INTERFACE IMoniker
  531. DECLARE_INTERFACE_(IMoniker,IPersistStream)
  532. {
  533.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  534.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  535.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  536.     STDMETHOD(GetClassID)(THIS_ CLSID) PURE;
  537.     STDMETHOD(IsDirty)(THIS) PURE;
  538.     STDMETHOD(Load)(THIS_ IStream*) PURE;
  539.     STDMETHOD(Save)(THIS_ IStream*,BOOL) PURE;
  540.     STDMETHOD(GetSizeMax)(THIS_ PULARGE_INTEGER) PURE;
  541.     STDMETHOD(BindToObject)(THIS_ IBindCtx*,IMoniker*,REFIID,PVOID*) PURE;
  542.     STDMETHOD(BindToStorage)(THIS_ IBindCtx*,IMoniker*,REFIID,PVOID*) PURE;
  543.     STDMETHOD(Reduce)(THIS_ IBindCtx*,DWORD,IMoniker*,IMoniker*) PURE;
  544.     STDMETHOD(ComposeWith)(THIS_ IMoniker*,BOOL,IMoniker*) PURE;
  545.     STDMETHOD(Enum)(THIS_ IEnumMoniker*) PURE;
  546.     STDMETHOD(IsEqual)(THIS_ IMoniker*) PURE;
  547.     STDMETHOD(Hash)(THIS_ PDWORD) PURE;
  548.     STDMETHOD(IsRunning)(THIS_ IBindCtx*,IMoniker*,IMoniker*) PURE;
  549.     STDMETHOD(GetTimeOfLastChange)(THIS_ IBindCtx*,IMoniker*,LPFILETIME) PURE;
  550.     STDMETHOD(Inverse)(THIS_ IMoniker**) PURE;
  551.     STDMETHOD(CommonPrefixWith)(THIS_ IMoniker*,IMoniker**) PURE;
  552.     STDMETHOD(RelativePathTo)(THIS_ IMoniker*,IMoniker**) PURE;
  553.     STDMETHOD(GetDisplayName)(THIS_ IBindCtx*,IMoniker*,LPOLESTR) PURE;
  554.     STDMETHOD(ParseDisplayName)(THIS_ IBindCtx*,IMoniker*,LPOLESTR,ULONG*,IMoniker**) PURE;
  555.     STDMETHOD(IsSystemMoniker)(THIS_ PDWORD) PURE;
  556. };
  557.  
  558. #undef INTERFACE
  559. #define INTERFACE IPersistStorage
  560. DECLARE_INTERFACE_(IPersistStorage,IPersist)
  561. {
  562.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  563.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  564.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  565.     STDMETHOD(GetClassID)(THIS_ CLSID) PURE;
  566.     STDMETHOD(IsDirty)(THIS) PURE;
  567.     STDMETHOD(InitNew)(THIS_ LPSTORAGE) PURE;
  568.     STDMETHOD(Load)(THIS_ LPSTORAGE) PURE;
  569.     STDMETHOD(Save)(THIS_ LPSTORAGE,BOOL) PURE;
  570.     STDMETHOD(SaveCompleted)(THIS_ LPSTORAGE) PURE;
  571.     STDMETHOD(HandsOffStorage)(THIS) PURE;
  572. };
  573.  
  574. #undef INTERFACE
  575. #define INTERFACE IPersistFile
  576. DECLARE_INTERFACE_(IPersistFile,IPersist)
  577. {
  578.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  579.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  580.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  581.     STDMETHOD(GetClassID)(THIS_ CLSID) PURE;
  582.     STDMETHOD(IsDirty)(THIS) PURE;
  583.     STDMETHOD(Load)(THIS_ LPCOLESTR,DWORD) PURE;
  584.     STDMETHOD(Save)(THIS_ LPCOLESTR,BOOL) PURE;
  585.     STDMETHOD(SaveCompleted)(THIS_ LPCOLESTR) PURE;
  586.     STDMETHOD(GetCurFile)(THIS_ LPOLESTR*) PURE;
  587. };
  588.  
  589. #undef INTERFACE
  590. #define INTERFACE IAdviseSink
  591. DECLARE_INTERFACE_(IAdviseSink,IUnknown)
  592. {
  593.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  594.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  595.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  596.     STDMETHOD_(void,OnDataChange)(THIS_ FORMATETC*,STGMEDIUM*) PURE;
  597.     STDMETHOD_(void,OnViewChange)(THIS_ DWORD,LONG) PURE;
  598.     STDMETHOD_(void,OnRename)(THIS_ IMoniker*) PURE;
  599.     STDMETHOD_(void,OnSave)(THIS) PURE;
  600.     STDMETHOD_(void,OnClose)(THIS) PURE;
  601. };
  602.  
  603. #undef INTERFACE
  604. #define INTERFACE IAdviseSink2
  605. DECLARE_INTERFACE_(IAdviseSink2,IAdviseSink)
  606. {
  607.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  608.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  609.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  610.     STDMETHOD_(void,OnDataChange)(THIS_ FORMATETC*,STGMEDIUM*) PURE;
  611.     STDMETHOD_(void,OnViewChange)(THIS_ DWORD,LONG) PURE;
  612.     STDMETHOD_(void,OnRename)(THIS_ IMoniker*) PURE;
  613.     STDMETHOD_(void,OnSave)(THIS) PURE;
  614.     STDMETHOD_(void,OnClose)(THIS) PURE;
  615.     STDMETHOD_(void,OnLinkSrcChange)(THIS_ IMoniker*);
  616. };
  617.  
  618. #undef INTERFACE
  619. #define INTERFACE IDataObject
  620. DECLARE_INTERFACE_(IDataObject,IUnknown)
  621. {
  622.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  623.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  624.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  625.     STDMETHOD(GetData)(THIS_ FORMATETC*,STGMEDIUM*) PURE;
  626.     STDMETHOD(GetDataHere)(THIS_ FORMATETC*,STGMEDIUM*) PURE;
  627.     STDMETHOD(QueryGetData)(THIS_ FORMATETC*) PURE;
  628.     STDMETHOD(GetCanonicalFormatEtc)(THIS_ FORMATETC*,FORMATETC*) PURE;
  629.     STDMETHOD(SetData)(THIS_ FORMATETC*,STGMEDIUM*,BOOL) PURE;
  630.     STDMETHOD(EnumFormatEtc)(THIS_ DWORD,IEnumFORMATETC**) PURE;
  631.     STDMETHOD(DAdvise)(THIS_ FORMATETC*,DWORD,IAdviseSink*,PDWORD) PURE;
  632.     STDMETHOD(DUnadvise)(THIS_ DWORD) PURE;
  633.     STDMETHOD(EnumDAdvise)(THIS_ IEnumSTATDATA**);
  634. };
  635.  
  636. #undef INTERFACE
  637. #define INTERFACE IDataAdviseHolder
  638. DECLARE_INTERFACE_(IDataAdviseHolder,IUnknown)
  639. {
  640.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  641.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  642.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  643.     STDMETHOD(Advise)(THIS_ IDataObject*,FORMATETC*,DWORD,IAdviseSink*,PDWORD) PURE;
  644.     STDMETHOD(Unadvise)(THIS_ DWORD) PURE;
  645.     STDMETHOD(EnumAdvise)(THIS_ IEnumSTATDATA**) PURE;
  646.     STDMETHOD(SendOnDataChange)(THIS_ IDataObject*,DWORD,DWORD) PURE;
  647. };
  648.  
  649. #undef INTERFACE
  650. #define INTERFACE IStorage
  651. DECLARE_INTERFACE_(IStorage,IUnknown)
  652. {
  653.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  654.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  655.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  656.     STDMETHOD(CreateStream)(THIS_ LPCWSTR,DWORD,DWORD,DWORD,IStream**) PURE;
  657.     STDMETHOD(OpenStream)(THIS_ LPCWSTR,PVOID,DWORD,DWORD,IStream**) PURE;
  658.     STDMETHOD(CreateStorage)(THIS_ LPCWSTR,DWORD,DWORD,DWORD,IStorage**) PURE;
  659.     STDMETHOD(OpenStorage)(THIS_ LPCWSTR,IStorage*,DWORD,SNB,DWORD,IStorage**) PURE;
  660.     STDMETHOD(CopyTo)(THIS_ DWORD,IID const*,SNB,IStorage*) PURE;
  661.     STDMETHOD(MoveElementTo)(THIS_ LPCWSTR,IStorage*,LPCWSTR,DWORD) PURE;
  662.     STDMETHOD(Commit)(THIS_ DWORD) PURE;
  663.     STDMETHOD(Revert)(THIS) PURE;
  664.     STDMETHOD(EnumElements)(THIS_ DWORD,PVOID,DWORD,IEnumSTATSTG**) PURE;
  665.     STDMETHOD(DestroyElement)(THIS_ LPCWSTR) PURE;
  666.     STDMETHOD(RenameElement)(THIS_ LPCWSTR,LPCWSTR) PURE;
  667.     STDMETHOD(SetElementTimes)(THIS_ LPCWSTR,FILETIME const*,FILETIME const*,FILETIME const*) PURE;
  668.     STDMETHOD(SetClass)(THIS_ REFCLSID) PURE;
  669.     STDMETHOD(SetStateBits)(THIS_ DWORD,DWORD) PURE;
  670.     STDMETHOD(Stat)(THIS_ STATSTG*,DWORD) PURE;
  671. };
  672.  
  673. #undef INTERFACE
  674. #define INTERFACE IRootStorage
  675. DECLARE_INTERFACE_(IRootStorage,IPersist)
  676. {
  677.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  678.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  679.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  680.     STDMETHOD(SwitchToFile)(THIS_ LPOLESTR) PURE;
  681. };
  682.  
  683. #undef INTERFACE
  684. #define INTERFACE IRpcChannelBuffer
  685. DECLARE_INTERFACE_(IRpcChannelBuffer,IUnknown)
  686. {
  687.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  688.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  689.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  690.     STDMETHOD(GetBuffer)(THIS_ RPCOLEMESSAGE*,REFIID) PURE;
  691.     STDMETHOD(SendReceive)(THIS_ RPCOLEMESSAGE*,PULONG) PURE;
  692.     STDMETHOD(FreeBuffer)(THIS_ RPCOLEMESSAGE*) PURE;
  693.     STDMETHOD(GetDestCtx)(THIS_ PDWORD,PVOID*) PURE;
  694.     STDMETHOD(IsConnected)(THIS) PURE;
  695. };
  696.  
  697. #undef INTERFACE
  698. #define INTERFACE IRpcProxyBuffer
  699. DECLARE_INTERFACE_(IRpcProxyBuffer,IUnknown)
  700. {
  701.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  702.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  703.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  704.     STDMETHOD(Connect)(THIS_ IRpcChannelBuffer*) PURE;
  705.     STDMETHOD_(void,Disconnect)(THIS) PURE;
  706.  
  707. };
  708.  
  709. #undef INTERFACE
  710. #define INTERFACE IRpcStubBuffer
  711. DECLARE_INTERFACE_(IRpcStubBuffer,IUnknown)
  712. {
  713.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  714.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  715.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  716.     STDMETHOD(Connect)(THIS_ LPUNKNOWN) PURE;
  717.     STDMETHOD_(void,Disconnect)(THIS) PURE;
  718.     STDMETHOD(Invoke)(THIS_ RPCOLEMESSAGE*,LPRPCSTUBBUFFER) PURE;
  719.     STDMETHOD_(LPRPCSTUBBUFFER,IsIIDSupported)(THIS_ REFIID) PURE;
  720.     STDMETHOD_(ULONG,CountRefs)(THIS) PURE;
  721.     STDMETHOD(DebugServerQueryInterface)(THIS_ PVOID*) PURE;
  722.     STDMETHOD(DebugServerRelease)(THIS_ PVOID) PURE;
  723. };
  724.  
  725. #undef INTERFACE
  726. #define INTERFACE IPSFactoryBuffer
  727. DECLARE_INTERFACE_(IPSFactoryBuffer,IUnknown)
  728. {
  729.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  730.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  731.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  732.     STDMETHOD(CreateProxy)(THIS_ LPUNKNOWN,REFIID,LPRPCPROXYBUFFER*,PVOID*) PURE;
  733.     STDMETHOD(CreateStub)(THIS_ REFIID,LPUNKNOWN,LPRPCSTUBBUFFER*) PURE;
  734. };
  735.  
  736. #undef INTERFACE
  737. #define INTERFACE ILockBytes
  738. DECLARE_INTERFACE_(ILockBytes,IUnknown)
  739. {
  740.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  741.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  742.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  743.     STDMETHOD(ReadAt)(THIS_ ULARGE_INTEGER,PVOID,ULONG,ULONG*) PURE;
  744.     STDMETHOD(WriteAt)(THIS_ ULARGE_INTEGER,PCVOID,ULONG,ULONG*) PURE;
  745.     STDMETHOD(Flush)(THIS) PURE;
  746.     STDMETHOD(SetSize)(THIS_ ULARGE_INTEGER) PURE;
  747.     STDMETHOD(LockRegion)(THIS_ ULARGE_INTEGER,ULARGE_INTEGER,DWORD) PURE;
  748.     STDMETHOD(UnlockRegion)(THIS_ ULARGE_INTEGER,ULARGE_INTEGER,DWORD) PURE;
  749.     STDMETHOD(Stat)(THIS_ STATSTG*,DWORD) PURE;
  750. };
  751.  
  752. #undef INTERFACE
  753. #define INTERFACE IExternalConnection
  754. DECLARE_INTERFACE_(IExternalConnection,IUnknown)
  755. {
  756.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  757.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  758.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  759.     STDMETHOD(AddConnection)(THIS_ DWORD,DWORD) PURE;
  760.     STDMETHOD(ReleaseConnection)(THIS_ DWORD,DWORD,BOOL) PURE;
  761. };
  762.  
  763. #undef INTERFACE
  764. #define INTERFACE IRunnableObject
  765. DECLARE_INTERFACE_(IRunnableObject,IUnknown)
  766. {
  767.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  768.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  769.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  770.     STDMETHOD(GetRunningClass)(THIS_ LPCLSID) PURE;
  771.     STDMETHOD(Run)(THIS_ LPBC) PURE;
  772.     STDMETHOD_(BOOL,IsRunning)(THIS) PURE;
  773.     STDMETHOD(LockRunning)(THIS_ BOOL,BOOL) PURE;
  774.     STDMETHOD(SetContainedObject)(THIS_ BOOL) PURE;
  775. };
  776.  
  777. #undef INTERFACE
  778. #define INTERFACE IROTData
  779. DECLARE_INTERFACE_(IROTData,IUnknown)
  780. {
  781.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  782.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  783.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  784.     STDMETHOD(GetComparisonData)(THIS_ PVOID,ULONG,PULONG) PURE;
  785. };
  786.  
  787. #undef INTERFACE
  788. #define INTERFACE IChannelHook
  789. DECLARE_INTERFACE_(IChannelHook,IUnknown)
  790. {
  791.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  792.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  793.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  794.     STDMETHOD_(void,ClientGetSize)(THIS_ REFGUID,REFIID,PULONG) PURE;
  795.     STDMETHOD_(void,ClientFillBuffer)(THIS_ REFGUID,REFIID,PULONG,PVOID) PURE;
  796.     STDMETHOD_(void,ClientNotify)(THIS_ REFGUID,REFIID,ULONG,PVOID,DWORD,HRESULT) PURE;
  797.     STDMETHOD_(void,ServerNotify)(THIS_ REFGUID,REFIID,ULONG,PVOID,DWORD) PURE;
  798.     STDMETHOD_(void,ServerGetSize)(THIS_ REFGUID,REFIID,HRESULT,PULONG) PURE;
  799.     STDMETHOD_(void,ServerFillBuffer)(THIS_ REFGUID,REFIID,PULONG,PVOID,HRESULT) PURE;
  800. };
  801.  
  802. #undef INTERFACE
  803. #define INTERFACE IPropertyStorage
  804. DECLARE_INTERFACE_(IPropertyStorage,IUnknown)
  805. {
  806.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  807.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  808.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  809.     STDMETHOD(ReadMultiple)(THIS_ ULONG,PROPSPEC const*,PROPVARIANT*) PURE;
  810.     STDMETHOD(WriteMultiple)(THIS_ ULONG,PROPSPEC const*,PROPVARIANT*,PROPID) PURE;
  811.     STDMETHOD(DeleteMultiple)(THIS_ ULONG,PROPSPEC const*) PURE;
  812.     STDMETHOD(ReadPropertyNames)(THIS_ ULONG,PROPID const*,LPWSTR*) PURE;
  813.     STDMETHOD(WritePropertyNames)(THIS_ ULONG,PROPID const*,LPWSTR const*) PURE;
  814.     STDMETHOD(DeletePropertyNames)(THIS_ ULONG,PROPID const*) PURE;
  815.     STDMETHOD(SetClass)(THIS_ REFCLSID) PURE;
  816.     STDMETHOD(Commit)(THIS_ DWORD) PURE;
  817.     STDMETHOD(Revert)(THIS) PURE;
  818.     STDMETHOD(Enum)(THIS_ IEnumSTATPROPSTG**) PURE;
  819.     STDMETHOD(Stat)(THIS_ STATPROPSTG*) PURE;
  820.     STDMETHOD(SetTimes)(THIS_ FILETIME const*,FILETIME const*,FILETIME const*) PURE;
  821. };
  822.  
  823. #undef INTERFACE
  824. #define INTERFACE IPropertySetStorage
  825. DECLARE_INTERFACE_(IPropertySetStorage,IUnknown)
  826. {
  827.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  828.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  829.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  830.     STDMETHOD(Create)(THIS_ REFFMTID,CLSID*,DWORD,DWORD,LPPROPERTYSTORAGE*) PURE;
  831.     STDMETHOD(Open)(THIS_ REFFMTID,DWORD,LPPROPERTYSTORAGE*) PURE;
  832.     STDMETHOD(Delete)(THIS_ REFFMTID) PURE;
  833.     STDMETHOD(Enum)(THIS_ IEnumSTATPROPSETSTG**) PURE;
  834. };
  835.  
  836. #undef INTERFACE
  837. #define INTERFACE IClientSecurity
  838. DECLARE_INTERFACE_(IClientSecurity,IUnknown)
  839. {
  840.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  841.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  842.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  843.     STDMETHOD(QueryBlanket)(THIS_ PVOID,PDWORD,PDWORD,OLECHAR**,PDWORD,PDWORD,RPC_AUTH_IDENTITY_HANDLE**,PDWORD*) PURE;
  844.     STDMETHOD(SetBlanket)(THIS_ PVOID,DWORD,DWORD,LPWSTR,DWORD,DWORD,RPC_AUTH_IDENTITY_HANDLE*,DWORD) PURE;
  845.     STDMETHOD(CopyProxy)(THIS_ LPUNKNOWN,LPUNKNOWN*) PURE;
  846. };
  847.  
  848. #undef INTERFACE
  849. #define INTERFACE IServerSecurity
  850. DECLARE_INTERFACE_(IServerSecurity,IUnknown)
  851. {
  852.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  853.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  854.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  855.     STDMETHOD(QueryBlanket)(THIS_ PDWORD,PDWORD,OLECHAR**,PDWORD,PDWORD,RPC_AUTHZ_HANDLE*,PDWORD*) PURE;
  856.     STDMETHOD(ImpersonateClient)(THIS) PURE;
  857.     STDMETHOD(RevertToSelf)(THIS) PURE;
  858.     STDMETHOD(IsImpersonating)(THIS) PURE;
  859. };
  860.  
  861. #undef INTERFACE
  862. #define INTERFACE IClassActivator
  863. DECLARE_INTERFACE_(IClassActivator,IUnknown)
  864. {
  865.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  866.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  867.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  868.     STDMETHOD(GetClassObject)(THIS_ REFCLSID,DWORD,LCID,REFIID,PVOID*) PURE;
  869. };
  870.  
  871. #undef INTERFACE
  872. #define INTERFACE IFillLockBytes
  873. DECLARE_INTERFACE_(IFillLockBytes,IUnknown)
  874. {
  875.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  876.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  877.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  878.     STDMETHOD(FillAppend)(THIS_ void const*,ULONG,PULONG) PURE;
  879.     STDMETHOD(FillAt)(THIS_ ULARGE_INTEGER,void const*,ULONG,PULONG) PURE;
  880.     STDMETHOD(SetFillSize)(THIS_ ULARGE_INTEGER) PURE;
  881.     STDMETHOD(Terminate)(THIS_ BOOL) PURE;
  882. };
  883.  
  884. #undef INTERFACE
  885. #define INTERFACE IProgressNotify
  886. DECLARE_INTERFACE_(IProgressNotify,IUnknown)
  887. {
  888.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  889.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  890.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  891.     STDMETHOD(OnProgress)(THIS_ DWORD,DWORD,BOOL,BOOL) PURE;
  892. };
  893.  
  894. #undef INTERFACE
  895. #define INTERFACE ILayoutStorage
  896. DECLARE_INTERFACE_(ILayoutStorage,IUnknown)
  897. {
  898.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  899.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  900.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  901.     STDMETHOD(LayoutScript)(THIS_ STORAGELAYOUT*,DWORD,DWORD) PURE;
  902.     STDMETHOD(BeginMonitor)(THIS) PURE;
  903.     STDMETHOD(EndMonitor)(THIS) PURE;
  904.     STDMETHOD(ReLayoutDocfile)(THIS_ OLECHAR*) PURE;
  905. };
  906.  
  907. HRESULT STDMETHODCALLTYPE IMarshal_GetUnmarshalClass_Proxy(IMarshal*,REFIID,void*,DWORD,void*,DWORD,CLSID*);
  908. void STDMETHODCALLTYPE IMarshal_GetUnmarshalClass_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  909. HRESULT STDMETHODCALLTYPE IMarshal_GetMarshalSizeMax_Proxy(IMarshal*,REFIID,void*,DWORD,void*,DWORD,DWORD*);
  910. void STDMETHODCALLTYPE IMarshal_GetMarshalSizeMax_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  911. HRESULT STDMETHODCALLTYPE IMarshal_MarshalInterface_Proxy(IMarshal*,IStream*,REFIID,void*,DWORD,void*,DWORD);
  912. void STDMETHODCALLTYPE IMarshal_MarshalInterface_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  913. HRESULT STDMETHODCALLTYPE IMarshal_UnmarshalInterface_Proxy(IMarshal*,IStream*,REFIID,void**);
  914. void STDMETHODCALLTYPE IMarshal_UnmarshalInterface_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  915. HRESULT STDMETHODCALLTYPE IMarshal_ReleaseMarshalData_Proxy(IMarshal*,IStream*);
  916. void STDMETHODCALLTYPE IMarshal_ReleaseMarshalData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  917. HRESULT STDMETHODCALLTYPE IMarshal_DisconnectObject_Proxy(IMarshal*,DWORD);
  918. void STDMETHODCALLTYPE IMarshal_DisconnectObject_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  919. void* STDMETHODCALLTYPE IMalloc_Alloc_Proxy(IMalloc*,ULONG);
  920. void STDMETHODCALLTYPE IMalloc_Alloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  921. void* STDMETHODCALLTYPE IMalloc_Realloc_Proxy(IMalloc*,void*,ULONG);
  922. void STDMETHODCALLTYPE IMalloc_Realloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  923. void STDMETHODCALLTYPE IMalloc_Free_Proxy(IMalloc*,void*);
  924. void STDMETHODCALLTYPE IMalloc_Free_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  925. ULONG STDMETHODCALLTYPE IMalloc_GetSize_Proxy(IMalloc*,void*);
  926. void STDMETHODCALLTYPE IMalloc_GetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  927. int STDMETHODCALLTYPE IMalloc_DidAlloc_Proxy(IMalloc*,void*);
  928. void STDMETHODCALLTYPE IMalloc_DidAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  929. void STDMETHODCALLTYPE IMalloc_HeapMinimize_Proxy(IMalloc*);
  930. void STDMETHODCALLTYPE IMalloc_HeapMinimize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  931. ULONG STDMETHODCALLTYPE IMallocSpy_PreAlloc_Proxy(IMallocSpy*,ULONG cbRequest);
  932. void STDMETHODCALLTYPE IMallocSpy_PreAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  933. void* STDMETHODCALLTYPE IMallocSpy_PostAlloc_Proxy(IMallocSpy*,void*);
  934. void STDMETHODCALLTYPE IMallocSpy_PostAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  935. void* STDMETHODCALLTYPE IMallocSpy_PreFree_Proxy(IMallocSpy*,void*,BOOL);
  936. void STDMETHODCALLTYPE IMallocSpy_PreFree_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  937. void STDMETHODCALLTYPE IMallocSpy_PostFree_Proxy(IMallocSpy*,BOOL);
  938. void STDMETHODCALLTYPE IMallocSpy_PostFree_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  939. ULONG STDMETHODCALLTYPE IMallocSpy_PreRealloc_Proxy(IMallocSpy*,void*,ULONG,void**,BOOL);
  940. void STDMETHODCALLTYPE IMallocSpy_PreRealloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  941. void* STDMETHODCALLTYPE IMallocSpy_PostRealloc_Proxy(IMallocSpy*,void*,BOOL);
  942. void STDMETHODCALLTYPE IMallocSpy_PostRealloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  943. void* STDMETHODCALLTYPE IMallocSpy_PreGetSize_Proxy(IMallocSpy*,void*,BOOL);
  944. void STDMETHODCALLTYPE IMallocSpy_PreGetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  945. ULONG STDMETHODCALLTYPE IMallocSpy_PostGetSize_Proxy(IMallocSpy*,ULONG,BOOL);
  946. void STDMETHODCALLTYPE IMallocSpy_PostGetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  947. void* STDMETHODCALLTYPE IMallocSpy_PreDidAlloc_Proxy(IMallocSpy*,void*,BOOL);
  948. void STDMETHODCALLTYPE IMallocSpy_PreDidAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  949. int STDMETHODCALLTYPE IMallocSpy_PostDidAlloc_Proxy(IMallocSpy*,void*,BOOL,int);
  950. void STDMETHODCALLTYPE IMallocSpy_PostDidAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  951. void STDMETHODCALLTYPE IMallocSpy_PreHeapMinimize_Proxy(IMallocSpy* );
  952. void STDMETHODCALLTYPE IMallocSpy_PreHeapMinimize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  953. void STDMETHODCALLTYPE IMallocSpy_PostHeapMinimize_Proxy(IMallocSpy*);
  954. void STDMETHODCALLTYPE IMallocSpy_PostHeapMinimize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  955. HRESULT STDMETHODCALLTYPE IStdMarshalInfo_GetClassForHandler_Proxy(IStdMarshalInfo*,DWORD,void*,CLSID*);
  956. void STDMETHODCALLTYPE IStdMarshalInfo_GetClassForHandler_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  957. DWORD STDMETHODCALLTYPE IExternalConnection_AddConnection_Proxy(IExternalConnection*,DWORD,DWORD);
  958. void STDMETHODCALLTYPE IExternalConnection_AddConnection_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  959. DWORD STDMETHODCALLTYPE IExternalConnection_ReleaseConnection_Proxy(IExternalConnection*,DWORD,DWORD,BOOL);
  960. void STDMETHODCALLTYPE IExternalConnection_ReleaseConnection_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  961. HRESULT STDMETHODCALLTYPE IEnumUnknown_RemoteNext_Proxy(IEnumUnknown*,ULONG,IUnknown**,ULONG*);
  962. void STDMETHODCALLTYPE IEnumUnknown_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  963. HRESULT STDMETHODCALLTYPE IEnumUnknown_Skip_Proxy(IEnumUnknown*,ULONG);
  964. void STDMETHODCALLTYPE IEnumUnknown_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  965. HRESULT STDMETHODCALLTYPE IEnumUnknown_Reset_Proxy(IEnumUnknown* );
  966. void STDMETHODCALLTYPE IEnumUnknown_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  967. HRESULT STDMETHODCALLTYPE IEnumUnknown_Clone_Proxy(IEnumUnknown*,IEnumUnknown**);
  968. void STDMETHODCALLTYPE IEnumUnknown_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  969. HRESULT STDMETHODCALLTYPE IBindCtx_RegisterObjectBound_Proxy(IBindCtx*,IUnknown*punk);
  970. void STDMETHODCALLTYPE IBindCtx_RegisterObjectBound_Stub(IRpcStubBuffer*,IRpcChannelBuffer*_pRpcChannelBuffer,PRPC_MESSAGE,PDWORD);
  971. HRESULT STDMETHODCALLTYPE IBindCtx_RevokeObjectBound_Proxy(IBindCtx*,IUnknown*punk);
  972. void STDMETHODCALLTYPE IBindCtx_RevokeObjectBound_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  973. HRESULT STDMETHODCALLTYPE IBindCtx_ReleaseBoundObjects_Proxy(IBindCtx*);
  974. void STDMETHODCALLTYPE IBindCtx_ReleaseBoundObjects_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  975. HRESULT STDMETHODCALLTYPE IBindCtx_SetBindOptions_Proxy(IBindCtx*,BIND_OPTS*);
  976. void STDMETHODCALLTYPE IBindCtx_SetBindOptions_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  977. HRESULT STDMETHODCALLTYPE IBindCtx_GetBindOptions_Proxy(IBindCtx*,BIND_OPTS*pbindopts);
  978. void STDMETHODCALLTYPE IBindCtx_GetBindOptions_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  979. HRESULT STDMETHODCALLTYPE IBindCtx_GetRunningObjectTable_Proxy(IBindCtx*,IRunningObjectTable**);
  980. void STDMETHODCALLTYPE IBindCtx_GetRunningObjectTable_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  981. HRESULT STDMETHODCALLTYPE IBindCtx_RegisterObjectParam_Proxy(IBindCtx*,LPCSTR,IUnknown*);
  982. void STDMETHODCALLTYPE IBindCtx_RegisterObjectParam_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  983. HRESULT STDMETHODCALLTYPE IBindCtx_GetObjectParam_Proxy(IBindCtx*,LPCSTR,IUnknown**);
  984. void STDMETHODCALLTYPE IBindCtx_GetObjectParam_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  985. HRESULT STDMETHODCALLTYPE IBindCtx_EnumObjectParam_Proxy(IBindCtx*,IEnumString**);
  986. void STDMETHODCALLTYPE IBindCtx_EnumObjectParam_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  987. HRESULT STDMETHODCALLTYPE IBindCtx_RevokeObjectParam_Proxy(IBindCtx*,LPCSTR);
  988. void STDMETHODCALLTYPE IBindCtx_RevokeObjectParam_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  989. HRESULT STDMETHODCALLTYPE IEnumMoniker_RemoteNext_Proxy(IEnumMoniker*,ULONG,IMoniker**,ULONG*);
  990. void STDMETHODCALLTYPE IEnumMoniker_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  991. HRESULT STDMETHODCALLTYPE IEnumMoniker_Skip_Proxy(IEnumMoniker*,ULONG);
  992. void STDMETHODCALLTYPE IEnumMoniker_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  993. HRESULT STDMETHODCALLTYPE IEnumMoniker_Reset_Proxy(IEnumMoniker*);
  994. void STDMETHODCALLTYPE IEnumMoniker_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  995. HRESULT STDMETHODCALLTYPE IEnumMoniker_Clone_Proxy(IEnumMoniker*,IEnumMoniker**);
  996. void STDMETHODCALLTYPE IEnumMoniker_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  997. HRESULT STDMETHODCALLTYPE IRunnableObject_GetRunningClass_Proxy(IRunnableObject*,LPCLSID);
  998. void STDMETHODCALLTYPE IRunnableObject_GetRunningClass_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  999. HRESULT STDMETHODCALLTYPE IRunnableObject_Run_Proxy(IRunnableObject*,LPBINDCTX);
  1000. void STDMETHODCALLTYPE IRunnableObject_Run_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1001. BOOL STDMETHODCALLTYPE IRunnableObject_IsRunning_Proxy(IRunnableObject*);
  1002. void STDMETHODCALLTYPE IRunnableObject_IsRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1003. HRESULT STDMETHODCALLTYPE IRunnableObject_LockRunning_Proxy(IRunnableObject*,BOOL,BOOL);
  1004. void STDMETHODCALLTYPE IRunnableObject_LockRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1005. HRESULT STDMETHODCALLTYPE IRunnableObject_SetContainedObject_Proxy(IRunnableObject*,BOOL);
  1006. void STDMETHODCALLTYPE IRunnableObject_SetContainedObject_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1007. HRESULT STDMETHODCALLTYPE IRunningObjectTable_Register_Proxy(IRunningObjectTable*,DWORD,IUnknown*,IMoniker*,DWORD*);
  1008. void STDMETHODCALLTYPE IRunningObjectTable_Register_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1009. HRESULT STDMETHODCALLTYPE IRunningObjectTable_Revoke_Proxy(IRunningObjectTable*,DWORD);
  1010. void STDMETHODCALLTYPE IRunningObjectTable_Revoke_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1011. HRESULT STDMETHODCALLTYPE IRunningObjectTable_IsRunning_Proxy(IRunningObjectTable*,IMoniker*);
  1012. void STDMETHODCALLTYPE IRunningObjectTable_IsRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1013. HRESULT STDMETHODCALLTYPE IRunningObjectTable_GetObject_Proxy(IRunningObjectTable*,IMoniker*,IUnknown**);
  1014. void STDMETHODCALLTYPE IRunningObjectTable_GetObject_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1015. HRESULT STDMETHODCALLTYPE IRunningObjectTable_NoteChangeTime_Proxy(IRunningObjectTable*,DWORD,FILETIME*);
  1016. void STDMETHODCALLTYPE IRunningObjectTable_NoteChangeTime_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1017. HRESULT STDMETHODCALLTYPE IRunningObjectTable_GetTimeOfLastChange_Proxy(IRunningObjectTable*,IMoniker*,FILETIME*);
  1018. void STDMETHODCALLTYPE IRunningObjectTable_GetTimeOfLastChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1019. HRESULT STDMETHODCALLTYPE IRunningObjectTable_EnumRunning_Proxy(IRunningObjectTable*,IEnumMoniker**);
  1020. void STDMETHODCALLTYPE IRunningObjectTable_EnumRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1021. HRESULT STDMETHODCALLTYPE IPersist_GetClassID_Proxy(IPersist*,CLSID*);
  1022. void STDMETHODCALLTYPE IPersist_GetClassID_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1023. HRESULT STDMETHODCALLTYPE IPersistStream_IsDirty_Proxy(IPersistStream*);
  1024. void STDMETHODCALLTYPE IPersistStream_IsDirty_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1025. HRESULT STDMETHODCALLTYPE IPersistStream_Load_Proxy(IPersistStream*,IStream*);
  1026. void STDMETHODCALLTYPE IPersistStream_Load_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1027. HRESULT STDMETHODCALLTYPE IPersistStream_Save_Proxy(IPersistStream*,IStream*,BOOL);
  1028. void STDMETHODCALLTYPE IPersistStream_Save_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1029. HRESULT STDMETHODCALLTYPE IPersistStream_GetSizeMax_Proxy(IPersistStream*,ULARGE_INTEGER*);
  1030. void STDMETHODCALLTYPE IPersistStream_GetSizeMax_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1031. HRESULT STDMETHODCALLTYPE IMoniker_RemoteBindToObject_Proxy(IMoniker*,IBindCtx*,IMoniker*,REFIID,IUnknown**);
  1032. void STDMETHODCALLTYPE IMoniker_RemoteBindToObject_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1033. HRESULT STDMETHODCALLTYPE IMoniker_RemoteBindToStorage_Proxy(IMoniker*,IBindCtx*,IMoniker*,REFIID,IUnknown**);
  1034. void STDMETHODCALLTYPE IMoniker_RemoteBindToStorage_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1035. HRESULT STDMETHODCALLTYPE IMoniker_Reduce_Proxy(IMoniker*,IBindCtx*,DWORD,IMoniker**,IMoniker**);
  1036. void STDMETHODCALLTYPE IMoniker_Reduce_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1037. HRESULT STDMETHODCALLTYPE IMoniker_ComposeWith_Proxy(IMoniker*,IMoniker*,BOOL,IMoniker**);
  1038. void STDMETHODCALLTYPE IMoniker_ComposeWith_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1039. HRESULT STDMETHODCALLTYPE IMoniker_Enum_Proxy(IMoniker*,BOOL,IEnumMoniker**);
  1040. void STDMETHODCALLTYPE IMoniker_Enum_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1041. HRESULT STDMETHODCALLTYPE IMoniker_IsEqual_Proxy(IMoniker*,IMoniker*);
  1042. void STDMETHODCALLTYPE IMoniker_IsEqual_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1043. HRESULT STDMETHODCALLTYPE IMoniker_Hash_Proxy(IMoniker*,DWORD*);
  1044. void STDMETHODCALLTYPE IMoniker_Hash_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1045. HRESULT STDMETHODCALLTYPE IMoniker_IsRunning_Proxy(IMoniker*,IBindCtx*,IMoniker*,IMoniker*);
  1046. void STDMETHODCALLTYPE IMoniker_IsRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1047. HRESULT STDMETHODCALLTYPE IMoniker_GetTimeOfLastChange_Proxy(IMoniker*,IBindCtx*,IMoniker*,FILETIME*);
  1048. void STDMETHODCALLTYPE IMoniker_GetTimeOfLastChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1049. HRESULT STDMETHODCALLTYPE IMoniker_Inverse_Proxy(IMoniker*,IMoniker**);
  1050. void STDMETHODCALLTYPE IMoniker_Inverse_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1051. HRESULT STDMETHODCALLTYPE IMoniker_CommonPrefixWith_Proxy(IMoniker*,IMoniker*,IMoniker**);
  1052. void STDMETHODCALLTYPE IMoniker_CommonPrefixWith_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1053. HRESULT STDMETHODCALLTYPE IMoniker_RelativePathTo_Proxy(IMoniker*,IMoniker*,IMoniker**);
  1054. void STDMETHODCALLTYPE IMoniker_RelativePathTo_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1055. HRESULT STDMETHODCALLTYPE IMoniker_GetDisplayName_Proxy(IMoniker*,IBindCtx*,IMoniker*,LPCSTR*);
  1056. void STDMETHODCALLTYPE IMoniker_GetDisplayName_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1057. HRESULT STDMETHODCALLTYPE IMoniker_ParseDisplayName_Proxy(IMoniker*,IBindCtx*,IMoniker*,LPCSTR,ULONG*,IMoniker**);
  1058. void STDMETHODCALLTYPE IMoniker_ParseDisplayName_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1059. HRESULT STDMETHODCALLTYPE IMoniker_IsSystemMoniker_Proxy(IMoniker*,DWORD*);
  1060. void STDMETHODCALLTYPE IMoniker_IsSystemMoniker_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1061. HRESULT STDMETHODCALLTYPE IROTData_GetComparisonData_Proxy(IROTData*,BYTE*,ULONG cbMax,ULONG*);
  1062. void STDMETHODCALLTYPE IROTData_GetComparisonData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1063. HRESULT STDMETHODCALLTYPE IEnumString_RemoteNext_Proxy(IEnumString*,ULONG,LPCSTR*rgelt,ULONG*);
  1064. void STDMETHODCALLTYPE IEnumString_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1065. HRESULT STDMETHODCALLTYPE IEnumString_Skip_Proxy(IEnumString*,ULONG);
  1066. void STDMETHODCALLTYPE IEnumString_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1067. HRESULT STDMETHODCALLTYPE IEnumString_Reset_Proxy(IEnumString*);
  1068. void STDMETHODCALLTYPE IEnumString_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1069. HRESULT STDMETHODCALLTYPE IEnumString_Clone_Proxy(IEnumString*,IEnumString**);
  1070. void STDMETHODCALLTYPE IEnumString_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1071. HRESULT STDMETHODCALLTYPE IStream_RemoteRead_Proxy(IStream*,BYTE*,ULONG,ULONG*);
  1072. void STDMETHODCALLTYPE IStream_RemoteRead_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1073. HRESULT STDMETHODCALLTYPE IStream_RemoteWrite_Proxy(IStream*,BYTE*pv,ULONG,ULONG*);
  1074. void STDMETHODCALLTYPE IStream_RemoteWrite_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1075. HRESULT STDMETHODCALLTYPE IStream_RemoteSeek_Proxy(IStream*,LARGE_INTEGER,DWORD,ULARGE_INTEGER*);
  1076. void STDMETHODCALLTYPE IStream_RemoteSeek_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1077. HRESULT STDMETHODCALLTYPE IStream_SetSize_Proxy(IStream*,ULARGE_INTEGER);
  1078. void STDMETHODCALLTYPE IStream_SetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1079. HRESULT STDMETHODCALLTYPE IStream_RemoteCopyTo_Proxy(IStream*,IStream*,ULARGE_INTEGER,ULARGE_INTEGER*,ULARGE_INTEGER*);
  1080. void STDMETHODCALLTYPE IStream_RemoteCopyTo_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1081. HRESULT STDMETHODCALLTYPE IStream_Commit_Proxy(IStream*,DWORD);
  1082. void STDMETHODCALLTYPE IStream_Commit_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1083. HRESULT STDMETHODCALLTYPE IStream_Revert_Proxy(IStream*);
  1084. void STDMETHODCALLTYPE IStream_Revert_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1085. HRESULT STDMETHODCALLTYPE IStream_LockRegion_Proxy(IStream*,ULARGE_INTEGER,ULARGE_INTEGER,DWORD);
  1086. void STDMETHODCALLTYPE IStream_LockRegion_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1087. HRESULT STDMETHODCALLTYPE IStream_UnlockRegion_Proxy(IStream*,ULARGE_INTEGER,ULARGE_INTEGER,DWORD);
  1088. void STDMETHODCALLTYPE IStream_UnlockRegion_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1089. HRESULT STDMETHODCALLTYPE IStream_Stat_Proxy(IStream*,STATSTG*,DWORD);
  1090. void STDMETHODCALLTYPE IStream_Stat_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1091. HRESULT STDMETHODCALLTYPE IStream_Clone_Proxy(IStream*,IStream**);
  1092. void STDMETHODCALLTYPE IStream_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1093. HRESULT STDMETHODCALLTYPE IEnumSTATSTG_RemoteNext_Proxy(IEnumSTATSTG*,ULONG,STATSTG*,ULONG*);
  1094. void STDMETHODCALLTYPE IEnumSTATSTG_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1095. HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Skip_Proxy(IEnumSTATSTG*,ULONG celt);
  1096. void STDMETHODCALLTYPE IEnumSTATSTG_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1097. HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Reset_Proxy(IEnumSTATSTG*);
  1098. void STDMETHODCALLTYPE IEnumSTATSTG_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1099. HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Clone_Proxy(IEnumSTATSTG*,IEnumSTATSTG**);
  1100. void STDMETHODCALLTYPE IEnumSTATSTG_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1101. HRESULT STDMETHODCALLTYPE IStorage_CreateStream_Proxy(IStorage*,OLECHAR*,DWORD,DWORD,DWORD,IStream**);
  1102. void STDMETHODCALLTYPE IStorage_CreateStream_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1103. HRESULT STDMETHODCALLTYPE IStorage_RemoteOpenStream_Proxy(IStorage*,const OLECHAR*,unsigned long,BYTE*,DWORD,DWORD,IStream**);
  1104. void STDMETHODCALLTYPE IStorage_RemoteOpenStream_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1105. HRESULT STDMETHODCALLTYPE IStorage_CreateStorage_Proxy(IStorage*,OLECHAR*,DWORD,DWORD,DWORD,IStorage**);
  1106. void STDMETHODCALLTYPE IStorage_CreateStorage_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1107. HRESULT STDMETHODCALLTYPE IStorage_OpenStorage_Proxy(IStorage*,OLECHAR*,IStorage*,DWORD,SNB,DWORD,IStorage**);
  1108. void STDMETHODCALLTYPE IStorage_OpenStorage_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1109. HRESULT STDMETHODCALLTYPE IStorage_CopyTo_Proxy(IStorage*,DWORD,const IID*,SNB,IStorage*);
  1110. void STDMETHODCALLTYPE IStorage_CopyTo_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1111. HRESULT STDMETHODCALLTYPE IStorage_MoveElementTo_Proxy(IStorage*,const OLECHAR*,IStorage*,const OLECHAR*,DWORD);
  1112. void STDMETHODCALLTYPE IStorage_MoveElementTo_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1113. HRESULT STDMETHODCALLTYPE IStorage_Commit_Proxy(IStorage*,DWORD);
  1114. void STDMETHODCALLTYPE IStorage_Commit_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1115. HRESULT STDMETHODCALLTYPE IStorage_Revert_Proxy(IStorage*);
  1116. void STDMETHODCALLTYPE IStorage_Revert_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1117. HRESULT STDMETHODCALLTYPE IStorage_RemoteEnumElements_Proxy(IStorage*,DWORD,unsigned long,BYTE*,DWORD,IEnumSTATSTG**);
  1118. void STDMETHODCALLTYPE IStorage_RemoteEnumElements_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1119. HRESULT STDMETHODCALLTYPE IStorage_DestroyElement_Proxy(IStorage*,OLECHAR*);
  1120. void STDMETHODCALLTYPE IStorage_DestroyElement_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1121. HRESULT STDMETHODCALLTYPE IStorage_RenameElement_Proxy(IStorage*,const OLECHAR*,const OLECHAR*);
  1122. void STDMETHODCALLTYPE IStorage_RenameElement_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1123. HRESULT STDMETHODCALLTYPE IStorage_SetElementTimes_Proxy(IStorage*,const OLECHAR*,const FILETIME*,const FILETIME*,const FILETIME*);
  1124. void STDMETHODCALLTYPE IStorage_SetElementTimes_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1125. HRESULT STDMETHODCALLTYPE IStorage_SetClass_Proxy(IStorage*,REFCLSID);
  1126. void STDMETHODCALLTYPE IStorage_SetClass_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1127. HRESULT STDMETHODCALLTYPE IStorage_SetStateBits_Proxy(IStorage*,DWORD,DWORD);
  1128. void STDMETHODCALLTYPE IStorage_SetStateBits_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1129. HRESULT STDMETHODCALLTYPE IStorage_Stat_Proxy(IStorage*,STATSTG*,DWORD);
  1130. void STDMETHODCALLTYPE IStorage_Stat_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1131. HRESULT STDMETHODCALLTYPE IPersistFile_IsDirty_Proxy(IPersistFile*);
  1132. void STDMETHODCALLTYPE IPersistFile_IsDirty_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1133. HRESULT STDMETHODCALLTYPE IPersistFile_Load_Proxy(IPersistFile*,LPCOLESTR,DWORD);
  1134. void STDMETHODCALLTYPE IPersistFile_Load_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1135. HRESULT STDMETHODCALLTYPE IPersistFile_Save_Proxy(IPersistFile*,LPCOLESTR pszFileName,BOOL);
  1136. void STDMETHODCALLTYPE IPersistFile_Save_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1137. HRESULT STDMETHODCALLTYPE IPersistFile_SaveCompleted_Proxy(IPersistFile*,LPCOLESTR);
  1138. void STDMETHODCALLTYPE IPersistFile_SaveCompleted_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1139. HRESULT STDMETHODCALLTYPE IPersistFile_GetCurFile_Proxy(IPersistFile*,LPCSTR*);
  1140. void STDMETHODCALLTYPE IPersistFile_GetCurFile_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1141. HRESULT STDMETHODCALLTYPE IPersistStorage_IsDirty_Proxy(IPersistStorage*);
  1142. void STDMETHODCALLTYPE IPersistStorage_IsDirty_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1143. HRESULT STDMETHODCALLTYPE IPersistStorage_InitNew_Proxy(IPersistStorage*,IStorage*);
  1144. void STDMETHODCALLTYPE IPersistStorage_InitNew_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1145. HRESULT STDMETHODCALLTYPE IPersistStorage_Load_Proxy(IPersistStorage*,IStorage*);
  1146. void STDMETHODCALLTYPE IPersistStorage_Load_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1147. HRESULT STDMETHODCALLTYPE IPersistStorage_Save_Proxy(IPersistStorage*,IStorage*,BOOL);
  1148. void STDMETHODCALLTYPE IPersistStorage_Save_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1149. HRESULT STDMETHODCALLTYPE IPersistStorage_SaveCompleted_Proxy(IPersistStorage*,IStorage*);
  1150. void STDMETHODCALLTYPE IPersistStorage_SaveCompleted_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1151. HRESULT STDMETHODCALLTYPE IPersistStorage_HandsOffStorage_Proxy(IPersistStorage*);
  1152. void STDMETHODCALLTYPE IPersistStorage_HandsOffStorage_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1153. HRESULT STDMETHODCALLTYPE ILockBytes_RemoteReadAt_Proxy(ILockBytes*,ULARGE_INTEGER,BYTE*,ULONG,ULONG*);
  1154. void STDMETHODCALLTYPE ILockBytes_RemoteReadAt_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1155. HRESULT STDMETHODCALLTYPE ILockBytes_RemoteWriteAt_Proxy(ILockBytes*,ULARGE_INTEGER,BYTE*pv,ULONG,ULONG*);
  1156. void STDMETHODCALLTYPE ILockBytes_RemoteWriteAt_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1157. HRESULT STDMETHODCALLTYPE ILockBytes_Flush_Proxy(ILockBytes*);
  1158. void STDMETHODCALLTYPE ILockBytes_Flush_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1159. HRESULT STDMETHODCALLTYPE ILockBytes_SetSize_Proxy(ILockBytes*,ULARGE_INTEGER);
  1160. void STDMETHODCALLTYPE ILockBytes_SetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1161. HRESULT STDMETHODCALLTYPE ILockBytes_LockRegion_Proxy(ILockBytes*,ULARGE_INTEGER,ULARGE_INTEGER,DWORD);
  1162. void STDMETHODCALLTYPE ILockBytes_LockRegion_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1163. HRESULT STDMETHODCALLTYPE ILockBytes_UnlockRegion_Proxy(ILockBytes*,ULARGE_INTEGER,ULARGE_INTEGER,DWORD);
  1164. void STDMETHODCALLTYPE ILockBytes_UnlockRegion_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1165. HRESULT STDMETHODCALLTYPE ILockBytes_Stat_Proxy(ILockBytes*,STATSTG*,DWORD);
  1166. void STDMETHODCALLTYPE ILockBytes_Stat_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1167. HRESULT STDMETHODCALLTYPE IEnumFORMATETC_RemoteNext_Proxy(IEnumFORMATETC*,ULONG,FORMATETC*,ULONG*);
  1168. void STDMETHODCALLTYPE IEnumFORMATETC_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1169. HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Skip_Proxy(IEnumFORMATETC*,ULONG);
  1170. void STDMETHODCALLTYPE IEnumFORMATETC_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1171. HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Reset_Proxy(IEnumFORMATETC*);
  1172. void STDMETHODCALLTYPE IEnumFORMATETC_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1173. HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Clone_Proxy(IEnumFORMATETC*,IEnumFORMATETC**);
  1174. void STDMETHODCALLTYPE IEnumFORMATETC_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1175. HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Next_Proxy(IEnumFORMATETC*,ULONG,FORMATETC*,ULONG*);
  1176. HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Next_Stub(IEnumFORMATETC*,ULONG,FORMATETC*,ULONG*);
  1177. HRESULT STDMETHODCALLTYPE IEnumSTATDATA_RemoteNext_Proxy(IEnumSTATDATA*,ULONG,STATDATA*,ULONG*);
  1178. void STDMETHODCALLTYPE IEnumSTATDATA_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1179. HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Skip_Proxy(IEnumSTATDATA*,ULONG);
  1180. void STDMETHODCALLTYPE IEnumSTATDATA_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1181. HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Reset_Proxy(IEnumSTATDATA*);
  1182. void STDMETHODCALLTYPE IEnumSTATDATA_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1183. HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Clone_Proxy(IEnumSTATDATA*,IEnumSTATDATA**);
  1184. void STDMETHODCALLTYPE IEnumSTATDATA_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1185. HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Next_Proxy(IEnumSTATDATA*,ULONG,STATDATA*,ULONG*);
  1186. HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Next_Stub(IEnumSTATDATA*,ULONG,STATDATA*,ULONG*);
  1187. HRESULT STDMETHODCALLTYPE IRootStorage_SwitchToFile_Proxy(IRootStorage*,LPCSTR);
  1188. void STDMETHODCALLTYPE IRootStorage_SwitchToFile_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1189. void STDMETHODCALLTYPE IAdviseSink_RemoteOnDataChange_Proxy(IAdviseSink*,FORMATETC*,RemSTGMEDIUM*);
  1190. void STDMETHODCALLTYPE IAdviseSink_RemoteOnDataChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1191. void STDMETHODCALLTYPE IAdviseSink_RemoteOnViewChange_Proxy(IAdviseSink*,DWORD,LONG);
  1192. void STDMETHODCALLTYPE IAdviseSink_RemoteOnViewChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1193. void STDMETHODCALLTYPE IAdviseSink_RemoteOnRename_Proxy(IAdviseSink*,IMoniker*);
  1194. void STDMETHODCALLTYPE IAdviseSink_RemoteOnRename_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1195. void STDMETHODCALLTYPE IAdviseSink_RemoteOnSave_Proxy(IAdviseSink*);
  1196. void STDMETHODCALLTYPE IAdviseSink_RemoteOnSave_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1197. HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnClose_Proxy(IAdviseSink*);
  1198. void STDMETHODCALLTYPE IAdviseSink_RemoteOnClose_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1199. void STDMETHODCALLTYPE IAdviseSink_OnDataChange_Proxy(IAdviseSink*,FORMATETC*,STGMEDIUM*);
  1200. void STDMETHODCALLTYPE IAdviseSink_OnDataChange_Stub(IAdviseSink*,FORMATETC*,RemSTGMEDIUM*);
  1201. void STDMETHODCALLTYPE IAdviseSink_OnViewChange_Proxy(IAdviseSink*,DWORD,LONG);
  1202. void STDMETHODCALLTYPE IAdviseSink_OnViewChange_Stub(IAdviseSink*,DWORD,LONG);
  1203. void STDMETHODCALLTYPE IAdviseSink_OnRename_Proxy(IAdviseSink*,IMoniker*);
  1204. void STDMETHODCALLTYPE IAdviseSink_OnRename_Stub(IAdviseSink*,IMoniker*);
  1205. void STDMETHODCALLTYPE IAdviseSink_OnSave_Proxy(IAdviseSink*);
  1206. void STDMETHODCALLTYPE IAdviseSink_OnSave_Stub(IAdviseSink*);
  1207. void STDMETHODCALLTYPE IAdviseSink_OnClose_Proxy(IAdviseSink*);
  1208. HRESULT STDMETHODCALLTYPE IAdviseSink_OnClose_Stub(IAdviseSink*);
  1209. void STDMETHODCALLTYPE IAdviseSink2_RemoteOnLinkSrcChange_Proxy(IAdviseSink2*,IMoniker*);
  1210. void STDMETHODCALLTYPE IAdviseSink2_RemoteOnLinkSrcChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1211. void STDMETHODCALLTYPE IAdviseSink2_OnLinkSrcChange_Proxy(IAdviseSink2*,IMoniker*);
  1212. void STDMETHODCALLTYPE IAdviseSink2_OnLinkSrcChange_Stub(IAdviseSink2*,IMoniker*);
  1213. HRESULT STDMETHODCALLTYPE IDataObject_RemoteGetData_Proxy(IDataObject*,FORMATETC*,RemSTGMEDIUM**);
  1214. void STDMETHODCALLTYPE IDataObject_RemoteGetData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1215. HRESULT STDMETHODCALLTYPE IDataObject_RemoteGetDataHere_Proxy(IDataObject*,FORMATETC*,RemSTGMEDIUM**);
  1216. void STDMETHODCALLTYPE IDataObject_RemoteGetDataHere_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1217. HRESULT STDMETHODCALLTYPE IDataObject_QueryGetData_Proxy(IDataObject*,FORMATETC*);
  1218. void STDMETHODCALLTYPE IDataObject_QueryGetData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1219. HRESULT STDMETHODCALLTYPE IDataObject_GetCanonicalFormatEtc_Proxy(IDataObject*,FORMATETC*,FORMATETC*);
  1220. void STDMETHODCALLTYPE IDataObject_GetCanonicalFormatEtc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1221. HRESULT STDMETHODCALLTYPE IDataObject_RemoteSetData_Proxy(IDataObject*,FORMATETC*,RemSTGMEDIUM*,BOOL);
  1222. void STDMETHODCALLTYPE IDataObject_RemoteSetData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1223. HRESULT STDMETHODCALLTYPE IDataObject_EnumFormatEtc_Proxy(IDataObject*,DWORD,IEnumFORMATETC**);
  1224. void STDMETHODCALLTYPE IDataObject_EnumFormatEtc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1225. HRESULT STDMETHODCALLTYPE IDataObject_DAdvise_Proxy(IDataObject*,FORMATETC*,DWORD,IAdviseSink*,DWORD*);
  1226. void STDMETHODCALLTYPE IDataObject_DAdvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1227. HRESULT STDMETHODCALLTYPE IDataObject_DUnadvise_Proxy(IDataObject*,DWORD);
  1228. void STDMETHODCALLTYPE IDataObject_DUnadvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1229. HRESULT STDMETHODCALLTYPE IDataObject_EnumDAdvise_Proxy(IDataObject*,IEnumSTATDATA**);
  1230. void STDMETHODCALLTYPE IDataObject_EnumDAdvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1231. HRESULT STDMETHODCALLTYPE IDataObject_GetData_Proxy(IDataObject*,FORMATETC*,STGMEDIUM*);
  1232. HRESULT STDMETHODCALLTYPE IDataObject_GetData_Stub(IDataObject*,FORMATETC*,RemSTGMEDIUM**);
  1233. HRESULT STDMETHODCALLTYPE IDataObject_GetDataHere_Proxy(IDataObject*,FORMATETC*,STGMEDIUM*);
  1234. HRESULT STDMETHODCALLTYPE IDataObject_GetDataHere_Stub(IDataObject*,FORMATETC*,RemSTGMEDIUM**);
  1235. HRESULT STDMETHODCALLTYPE IDataObject_SetData_Proxy(IDataObject*,FORMATETC*,STGMEDIUM*,BOOL);
  1236. HRESULT STDMETHODCALLTYPE IDataObject_SetData_Stub(IDataObject*,FORMATETC*,RemSTGMEDIUM*,BOOL);
  1237. HRESULT STDMETHODCALLTYPE IDataAdviseHolder_Advise_Proxy(IDataAdviseHolder*,IDataObject*,FORMATETC*,DWORD,IAdviseSink*,DWORD*);
  1238. void STDMETHODCALLTYPE IDataAdviseHolder_Advise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1239. HRESULT STDMETHODCALLTYPE IDataAdviseHolder_Unadvise_Proxy(IDataAdviseHolder*,DWORD);
  1240. void STDMETHODCALLTYPE IDataAdviseHolder_Unadvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1241. HRESULT STDMETHODCALLTYPE IDataAdviseHolder_EnumAdvise_Proxy(IDataAdviseHolder*,IEnumSTATDATA**);
  1242. void STDMETHODCALLTYPE IDataAdviseHolder_EnumAdvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1243. HRESULT STDMETHODCALLTYPE IDataAdviseHolder_SendOnDataChange_Proxy(IDataAdviseHolder*,IDataObject*,DWORD,DWORD);
  1244. void STDMETHODCALLTYPE IDataAdviseHolder_SendOnDataChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1245. DWORD STDMETHODCALLTYPE IMessageFilter_HandleInComingCall_Proxy(IMessageFilter*,DWORD,HTASK,DWORD,LPINTERFACEINFO);
  1246. void STDMETHODCALLTYPE IMessageFilter_HandleInComingCall_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1247. DWORD STDMETHODCALLTYPE IMessageFilter_RetryRejectedCall_Proxy(IMessageFilter*,HTASK,DWORD,DWORD);
  1248. void STDMETHODCALLTYPE IMessageFilter_RetryRejectedCall_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1249. DWORD STDMETHODCALLTYPE IMessageFilter_MessagePending_Proxy(IMessageFilter*,HTASK,DWORD,DWORD);
  1250. void STDMETHODCALLTYPE IMessageFilter_MessagePending_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1251. HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_GetBuffer_Proxy(IRpcChannelBuffer*,RPCOLEMESSAGE*,REFIID);
  1252. void STDMETHODCALLTYPE IRpcChannelBuffer_GetBuffer_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1253. HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_SendReceive_Proxy(IRpcChannelBuffer*,RPCOLEMESSAGE*,ULONG*);
  1254. void STDMETHODCALLTYPE IRpcChannelBuffer_SendReceive_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1255. HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_FreeBuffer_Proxy(IRpcChannelBuffer*,RPCOLEMESSAGE*);
  1256. void STDMETHODCALLTYPE IRpcChannelBuffer_FreeBuffer_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1257. HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_GetDestCtx_Proxy(IRpcChannelBuffer*,DWORD*,void**);
  1258. void STDMETHODCALLTYPE IRpcChannelBuffer_GetDestCtx_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1259. HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_IsConnected_Proxy(IRpcChannelBuffer*);
  1260. void STDMETHODCALLTYPE IRpcChannelBuffer_IsConnected_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1261. HRESULT STDMETHODCALLTYPE IRpcProxyBuffer_Connect_Proxy(IRpcProxyBuffer*,IRpcChannelBuffer*pRpcChannelBuffer);
  1262. void STDMETHODCALLTYPE IRpcProxyBuffer_Connect_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1263. void STDMETHODCALLTYPE IRpcProxyBuffer_Disconnect_Proxy(IRpcProxyBuffer*);
  1264. void STDMETHODCALLTYPE IRpcProxyBuffer_Disconnect_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1265. HRESULT STDMETHODCALLTYPE IRpcStubBuffer_Connect_Proxy(IRpcStubBuffer*,IUnknown*);
  1266. void STDMETHODCALLTYPE IRpcStubBuffer_Connect_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1267. void STDMETHODCALLTYPE IRpcStubBuffer_Disconnect_Proxy(IRpcStubBuffer*);
  1268. void STDMETHODCALLTYPE IRpcStubBuffer_Disconnect_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1269. HRESULT STDMETHODCALLTYPE IRpcStubBuffer_Invoke_Proxy(IRpcStubBuffer*,RPCOLEMESSAGE*,IRpcChannelBuffer*);
  1270. void STDMETHODCALLTYPE IRpcStubBuffer_Invoke_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1271. IRpcStubBuffer*STDMETHODCALLTYPE IRpcStubBuffer_IsIIDSupported_Proxy(IRpcStubBuffer*,REFIID);
  1272. void STDMETHODCALLTYPE IRpcStubBuffer_IsIIDSupported_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1273. ULONG STDMETHODCALLTYPE IRpcStubBuffer_CountRefs_Proxy(IRpcStubBuffer*);
  1274. void STDMETHODCALLTYPE IRpcStubBuffer_CountRefs_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1275. HRESULT STDMETHODCALLTYPE IRpcStubBuffer_DebugServerQueryInterface_Proxy(IRpcStubBuffer*,void**);
  1276. void STDMETHODCALLTYPE IRpcStubBuffer_DebugServerQueryInterface_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1277. void STDMETHODCALLTYPE IRpcStubBuffer_DebugServerRelease_Proxy(IRpcStubBuffer*,void*);
  1278. void STDMETHODCALLTYPE IRpcStubBuffer_DebugServerRelease_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1279. HRESULT STDMETHODCALLTYPE IPSFactoryBuffer_CreateProxy_Proxy(IPSFactoryBuffer*,IUnknown*,REFIID,IRpcProxyBuffer**,void**);
  1280. void STDMETHODCALLTYPE IPSFactoryBuffer_CreateProxy_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1281. HRESULT STDMETHODCALLTYPE IPSFactoryBuffer_CreateStub_Proxy(IPSFactoryBuffer*,REFIID,IUnknown*,IRpcStubBuffer**);
  1282. void STDMETHODCALLTYPE IPSFactoryBuffer_CreateStub_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD);
  1283. void STDMETHODCALLTYPE SNB_to_xmit(SNB*,RemSNB**);
  1284. void STDMETHODCALLTYPE SNB_from_xmit(RemSNB*,SNB*);
  1285. void STDMETHODCALLTYPE SNB_free_inst(SNB*);
  1286. void STDMETHODCALLTYPE SNB_free_xmit(RemSNB*);
  1287. HRESULT STDMETHODCALLTYPE IEnumUnknown_Next_Proxy(IEnumUnknown*,ULONG,IUnknown**,ULONG*);
  1288. HRESULT STDMETHODCALLTYPE IEnumUnknown_Next_Stub(IEnumUnknown*,ULONG,IUnknown**,ULONG*);
  1289. HRESULT STDMETHODCALLTYPE IEnumMoniker_Next_Proxy(IEnumMoniker*,ULONG,IMoniker**,ULONG*);
  1290. HRESULT STDMETHODCALLTYPE IEnumMoniker_Next_Stub(IEnumMoniker*,ULONG,IMoniker**,ULONG*);
  1291. HRESULT STDMETHODCALLTYPE IMoniker_BindToObject_Proxy(IMoniker*,IBindCtx*,IMoniker*,REFIID,void**);
  1292. HRESULT STDMETHODCALLTYPE IMoniker_BindToObject_Stub(IMoniker*,IBindCtx*,IMoniker*,REFIID,IUnknown**);
  1293. HRESULT STDMETHODCALLTYPE IMoniker_BindToStorage_Proxy(IMoniker*,IBindCtx*,IMoniker*,REFIID,void**);
  1294. HRESULT STDMETHODCALLTYPE IMoniker_BindToStorage_Stub(IMoniker*,IBindCtx*,IMoniker*,REFIID,IUnknown**);
  1295. HRESULT STDMETHODCALLTYPE IEnumString_Next_Proxy(IEnumString*,ULONG,LPCSTR*,ULONG*);
  1296. HRESULT STDMETHODCALLTYPE IEnumString_Next_Stub(IEnumString*,ULONG,LPCSTR*,ULONG*);
  1297. HRESULT STDMETHODCALLTYPE IStream_Read_Proxy(IStream*,void*,ULONG,ULONG*);
  1298. HRESULT STDMETHODCALLTYPE IStream_Read_Stub(IStream*,BYTE*,ULONG,ULONG*);
  1299. HRESULT STDMETHODCALLTYPE IStream_Write_Proxy(IStream*,void*,ULONG,ULONG*);
  1300. HRESULT STDMETHODCALLTYPE IStream_Write_Stub(IStream*,BYTE*,ULONG,ULONG*);
  1301. HRESULT STDMETHODCALLTYPE IStream_Seek_Proxy(IStream*,LARGE_INTEGER,DWORD,ULARGE_INTEGER*);
  1302. HRESULT STDMETHODCALLTYPE IStream_Seek_Stub(IStream*,LARGE_INTEGER,DWORD,ULARGE_INTEGER*);
  1303. HRESULT STDMETHODCALLTYPE IStream_CopyTo_Proxy(IStream*,IStream*,ULARGE_INTEGER,ULARGE_INTEGER*,ULARGE_INTEGER*);
  1304. HRESULT STDMETHODCALLTYPE IStream_CopyTo_Stub(IStream*,IStream*,ULARGE_INTEGER,ULARGE_INTEGER*,ULARGE_INTEGER*);
  1305. HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Next_Proxy(IEnumSTATSTG*,ULONG,STATSTG*,ULONG*);
  1306. HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Next_Stub(IEnumSTATSTG*,ULONG,STATSTG*,ULONG*);
  1307. HRESULT STDMETHODCALLTYPE IStorage_OpenStream_Proxy(IStorage*,OLECHAR*,void*,DWORD,DWORD,IStream**);
  1308. HRESULT STDMETHODCALLTYPE IStorage_OpenStream_Stub(IStorage*,OLECHAR*,unsigned long,BYTE*,DWORD,DWORD,IStream** );
  1309. HRESULT STDMETHODCALLTYPE IStorage_EnumElements_Proxy(IStorage*,DWORD,void*,DWORD,IEnumSTATSTG**);
  1310. HRESULT STDMETHODCALLTYPE IStorage_EnumElements_Stub(IStorage*,DWORD,unsigned long,BYTE*,DWORD,IEnumSTATSTG**);
  1311. HRESULT STDMETHODCALLTYPE ILockBytes_ReadAt_Proxy(ILockBytes*,ULARGE_INTEGER,void*,ULONG,ULONG*);
  1312. HRESULT STDMETHODCALLTYPE ILockBytes_ReadAt_Stub(ILockBytes*,ULARGE_INTEGER,BYTE*,ULONG,ULONG*);
  1313. HRESULT STDMETHODCALLTYPE ILockBytes_WriteAt_Proxy(ILockBytes*,ULARGE_INTEGER,const void*,ULONG,ULONG*);
  1314. HRESULT STDMETHODCALLTYPE ILockBytes_WriteAt_Stub(ILockBytes*,ULARGE_INTEGER,BYTE*,ULONG,ULONG*);
  1315. #ifdef COBJMACROS
  1316. #define IMarshal_QueryInterface(T,r,p) (T)->lpVtbl->QueryInterface(T,r,p)
  1317. #define IMarshal_AddRef(This) (This)->lpVtbl->AddRef(This)
  1318. #define IMarshal_Release(This) (This)->lpVtbl->Release(This)
  1319. #define IMarshal_GetUnmarshalClass(T,r,pv,dw,pvD,m,pC) (T)->lpVtbl->GetUnmarshalClass(T,r,pv,dw,pvD,m,pC)
  1320. #define IMarshal_GetMarshalSizeMax(T,r,pv,dw,pD,m,p) (T)->lpVtbl->GetMarshalSizeMax(T,r,pv,dw,pD,m,p)
  1321. #define IMarshal_MarshalInterface(T,p,r,pv,dw,pvD,m) (T)->lpVtbl->MarshalInterface(T,p,r,pv,dw,pv,m)
  1322. #define IMarshal_UnmarshalInterface(T,p,r,pp) (T)->lpVtbl->UnmarshalInterface(T,p,r,pp)
  1323. #define IMarshal_ReleaseMarshalData(T,p) (T)->lpVtbl->ReleaseMarshalData(T,p)
  1324. #define IMarshal_DisconnectObject(T,d) (T)->lpVtbl->DisconnectObject(T,d)
  1325. #define IMalloc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1326. #define IMalloc_AddRef(This) (This)->lpVtbl->AddRef(This)
  1327. #define IMalloc_Release(This) (This)->lpVtbl->Release(This)
  1328. #define IMalloc_Alloc(This,cb) (This)->lpVtbl->Alloc(This,cb)
  1329. #define IMalloc_Realloc(This,pv,cb)    (This)->lpVtbl->Realloc(This,pv,cb)
  1330. #define IMalloc_Free(This,pv) (This)->lpVtbl->Free(This,pv)
  1331. #define IMalloc_GetSize(This,pv) (This)->lpVtbl->GetSize(This,pv)
  1332. #define IMalloc_DidAlloc(This,pv) (This)->lpVtbl->DidAlloc(This,pv)
  1333. #define IMalloc_HeapMinimize(This) (This)->lpVtbl->HeapMinimize(This)
  1334. #define IMallocSpy_QueryInterface(T,r,p) (T)->lpVtbl->QueryInterface(T,r,p)
  1335. #define IMallocSpy_AddRef(This)    (This)->lpVtbl->AddRef(This)
  1336. #define IMallocSpy_Release(This) (This)->lpVtbl->Release(This)
  1337. #define IMallocSpy_PreAlloc(T,c) (T)->lpVtbl->PreAlloc(T,c)
  1338. #define IMallocSpy_PostAlloc(This,p) (This)->lpVtbl->PostAlloc(This,p)
  1339. #define IMallocSpy_PreFree(This,p,f) (This)->lpVtbl->PreFree(This,p,f)
  1340. #define IMallocSpy_PostFree(This,fSpyed) (This)->lpVtbl->PostFree(This,fSpyed)
  1341. #define IMallocSpy_PreRealloc(T,p,c,pp,f) (T)->lpVtbl->PreRealloc(T,p,c,pp,f)
  1342. #define IMallocSpy_PostRealloc(T,p,f) (T)->lpVtbl->PostRealloc(T,p,f)
  1343. #define IMallocSpy_PreGetSize(This,p,f)    (This)->lpVtbl->PreGetSize(This,p,f)
  1344. #define IMallocSpy_PostGetSize(This,cbActual,fSpyed) (This)->lpVtbl->PostGetSize(This,cbActual,fSpyed)
  1345. #define IMallocSpy_PreDidAlloc(This,pRequest,fSpyed) (This)->lpVtbl->PreDidAlloc(This,pRequest,fSpyed)
  1346. #define IMallocSpy_PostDidAlloc(This,pRequest,fSpyed,fActual) (This)->lpVtbl->PostDidAlloc(This,pRequest,fSpyed,fActual)
  1347. #define IMallocSpy_PreHeapMinimize(T) (T)->lpVtbl->PreHeapMinimize(T)
  1348. #define IMallocSpy_PostHeapMinimize(T) (T)->lpVtbl->PostHeapMinimize(T)
  1349. #define IStdMarshalInfo_QueryInterface(T,r,p) (This)->lpVtbl->QueryInterface(T,r,p)
  1350. #define IStdMarshalInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
  1351. #define IStdMarshalInfo_Release(This) (This)->lpVtbl->Release(This)
  1352. #define IStdMarshalInfo_GetClassForHandler(This,D,p,C) (This)->lpVtbl->GetClassForHandler(This,D,p,C)
  1353. #define IExternalConnection_QueryInterface(This,riid,ppvObject)    (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1354. #define IExternalConnection_AddRef(This) (This)->lpVtbl->AddRef(This)
  1355. #define IExternalConnection_Release(This) (This)->lpVtbl->Release(This)
  1356. #define IExternalConnection_AddConnection(T,e,r) (T)->lpVtbl->AddConnection(T,e,r)
  1357. #define IExternalConnection_ReleaseConnection(This,e,r,f) (This)->lpVtbl->ReleaseConnection(This,e,r,f)
  1358. #define IEnumUnknown_QueryInterface(T,r,p) (This)->lpVtbl->QueryInterface(T,r,p)
  1359. #define IEnumUnknown_AddRef(This) (This)->lpVtbl->AddRef(This)
  1360. #define IEnumUnknown_Release(This) (This)->lpVtbl->Release(This)
  1361. #define IEnumUnknown_Next(This,celt,rgelt,p) (This)->lpVtbl->Next(This,celt,rgelt,p)
  1362. #define IEnumUnknown_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
  1363. #define IEnumUnknown_Reset(This) (This)->lpVtbl->Reset(This)
  1364. #define IEnumUnknown_Clone(This,ppenum)     (This)->lpVtbl->Clone(This,ppenum)
  1365. #define IBindCtx_QueryInterface(T,r,p) (T)->lpVtbl->QueryInterface(T,r,p)
  1366. #define IBindCtx_AddRef(This) (This)->lpVtbl->AddRef(This)
  1367. #define IBindCtx_Release(This)    (This)->lpVtbl->Release(This)
  1368. #define IBindCtx_RegisterObjectBound(T,p) (T)->lpVtbl->RegisterObjectBound(T,p)
  1369. #define IBindCtx_RevokeObjectBound(T,p)    (T)->lpVtbl->RevokeObjectBound(T,p)
  1370. #define IBindCtx_ReleaseBoundObjects(T) (T)->lpVtbl->ReleaseBoundObjects(T)
  1371. #define IBindCtx_SetBindOptions(T,p) (T)->lpVtbl->SetBindOptions(T,p)
  1372. #define IBindCtx_GetBindOptions(This,pbindopts)    (This)->lpVtbl->GetBindOptions(This,pbindopts)
  1373. #define IBindCtx_GetRunningObjectTable(This,pprot) (This)->lpVtbl->GetRunningObjectTable(This,pprot)
  1374. #define IBindCtx_RegisterObjectParam(This,pszKey,punk) (This)->lpVtbl->RegisterObjectParam(This,pszKey,punk)
  1375. #define IBindCtx_GetObjectParam(This,pszKey,ppunk) (This)->lpVtbl->GetObjectParam(This,pszKey,ppunk)
  1376. #define IBindCtx_EnumObjectParam(This,ppenum) (This)->lpVtbl->EnumObjectParam(This,ppenum)
  1377. #define IBindCtx_RevokeObjectParam(This,pszKey)    (This)->lpVtbl->RevokeObjectParam(This,pszKey)
  1378. #define IEnumMoniker_QueryInterface(T,r,p) (T)->lpVtbl->QueryInterface(T,r,p)
  1379. #define IEnumMoniker_AddRef(This) (This)->lpVtbl->AddRef(This)
  1380. #define IEnumMoniker_Release(This) (This)->lpVtbl->Release(This)
  1381. #define IEnumMoniker_Next(This,celt,rgelt,pceltFetched)    (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
  1382. #define IEnumMoniker_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
  1383. #define IEnumMoniker_Reset(This) (This)->lpVtbl->Reset(This)
  1384. #define IEnumMoniker_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
  1385. #define IRunnableObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1386. #define IRunnableObject_AddRef(This)    (This)->lpVtbl->AddRef(This)
  1387. #define IRunnableObject_Release(This)    (This)->lpVtbl->Release(This)
  1388. #define IRunnableObject_GetRunningClass(This,lpClsid)    (This)->lpVtbl->GetRunningClass(This,lpClsid)
  1389. #define IRunnableObject_Run(This,pbc)    (This)->lpVtbl->Run(This,pbc)
  1390. #define IRunnableObject_IsRunning(This)    (This)->lpVtbl->IsRunning(This)
  1391. #define IRunnableObject_LockRunning(This,fLock,fLastUnlockCloses) (This)->lpVtbl->LockRunning(This,fLock,fLastUnlockCloses)
  1392. #define IRunnableObject_SetContainedObject(This,fContained) (This)->lpVtbl->SetContainedObject(This,fContained)
  1393. #define IRunningObjectTable_QueryInterface(This,riid,ppvObject)    (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1394. #define IRunningObjectTable_AddRef(This) (This)->lpVtbl->AddRef(This)
  1395. #define IRunningObjectTable_Release(This) (This)->lpVtbl->Release(This)
  1396. #define IRunningObjectTable_Register(This,grfFlags,punkObject,pmkObjectName,pdwRegister) (This)->lpVtbl->Register(This,grfFlags,punkObject,pmkObjectName,pdwRegister)
  1397. #define IRunningObjectTable_Revoke(This,dwRegister) (This)->lpVtbl->Revoke(This,dwRegister)
  1398. #define IRunningObjectTable_IsRunning(This,pmkObjectName) (This)->lpVtbl->IsRunning(This,pmkObjectName)
  1399. #define IRunningObjectTable_GetObject(This,pmkObjectName,ppunkObject) (This)->lpVtbl->GetObject(This,pmkObjectName,ppunkObject)
  1400. #define IRunningObjectTable_NoteChangeTime(This,dwRegister,pfiletime) (This)->lpVtbl->NoteChangeTime(This,dwRegister,pfiletime)
  1401. #define IRunningObjectTable_GetTimeOfLastChange(This,pmkObjectName,pfiletime) (This)->lpVtbl->GetTimeOfLastChange(This,pmkObjectName,pfiletime)
  1402. #define IRunningObjectTable_EnumRunning(This,ppenumMoniker) (This)->lpVtbl->EnumRunning(This,ppenumMoniker)
  1403. #define IPersist_QueryInterface(T,r,p) (T)->lpVtbl->QueryInterface(T,r,p)
  1404. #define IPersist_AddRef(This)    (This)->lpVtbl->AddRef(This)
  1405. #define IPersist_Release(This)    (This)->lpVtbl->Release(This)
  1406. #define IPersist_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
  1407. #define IPersistStream_QueryInterface(T,r,p) (T)->lpVtbl->QueryInterface(T,r,p)
  1408. #define IPersistStream_AddRef(This)    (This)->lpVtbl->AddRef(This)
  1409. #define IPersistStream_Release(This)    (This)->lpVtbl->Release(This)
  1410. #define IPersistStream_GetClassID(T,p) (T)->lpVtbl->GetClassID(T,p)
  1411. #define IPersistStream_IsDirty(This)    (This)->lpVtbl->IsDirty(This)
  1412. #define IPersistStream_Load(This,pStm)    (This)->lpVtbl->Load(This,pStm)
  1413. #define IPersistStream_Save(T,p,f) (T)->lpVtbl->Save(T,p,f)
  1414. #define IPersistStream_GetSizeMax(T,p) (T)->lpVtbl->GetSizeMax(T,p)
  1415. #define IMoniker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1416. #define IMoniker_AddRef(This) (This)->lpVtbl->AddRef(This)
  1417. #define IMoniker_Release(This)    (This)->lpVtbl->Release(This)
  1418. #define IMoniker_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
  1419. #define IMoniker_IsDirty(This)    (This)->lpVtbl->IsDirty(This)
  1420. #define IMoniker_Load(This,pStm) (This)->lpVtbl->Load(This,pStm)
  1421. #define IMoniker_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty)
  1422. #define IMoniker_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize)
  1423. #define IMoniker_BindToObject(T,p,pm,r,pp) (T)->lpVtbl->BindToObject(T,p,pm,r,pp)
  1424. #define IMoniker_BindToStorage(This,pbc,pmkToLeft,riid,ppvObj) (This)->lpVtbl->BindToStorage(This,pbc,pmkToLeft,riid,ppvObj)
  1425. #define IMoniker_Reduce(This,pbc,dwReduceHowFar,ppmkToLeft,ppmkReduced)    (This)->lpVtbl->Reduce(This,pbc,dwReduceHowFar,ppmkToLeft,ppmkReduced)
  1426. #define IMoniker_ComposeWith(This,pmkRight,fOnlyIfNotGeneric,ppmkComposite) (This)->lpVtbl->ComposeWith(This,pmkRight,fOnlyIfNotGeneric,ppmkComposite)
  1427. #define IMoniker_Enum(T,f,pp) (T)->lpVtbl->Enum(T,f,pp)
  1428. #define IMoniker_IsEqual(This,p) (This)->lpVtbl->IsEqual(This,p)
  1429. #define IMoniker_Hash(This,pdwHash) (This)->lpVtbl->Hash(This,pdwHash)
  1430. #define IMoniker_IsRunning(T,pbc,Left,N) (T)->lpVtbl->IsRunning(T,pbc,Left,N)
  1431. #define IMoniker_GetTimeOfLastChange(This,pbc,pmkToLeft,pFileTime) (This)->lpVtbl->GetTimeOfLastChange(This,pbc,pmkToLeft,pFileTime)
  1432. #define IMoniker_Inverse(This,ppmk) (This)->lpVtbl->Inverse(This,ppmk)
  1433. #define IMoniker_CommonPrefixWith(This,pmkOther,ppmkPrefix) (This)->lpVtbl->CommonPrefixWith(This,pmkOther,ppmkPrefix)
  1434. #define IMoniker_RelativePathTo(This,pmkOther,ppmkRelPath) (This)->lpVtbl->RelativePathTo(This,pmkOther,ppmkRelPath)
  1435. #define IMoniker_GetDisplayName(This,pbc,pmkToLeft,ppszDisplayName) (This)->lpVtbl->GetDisplayName(This,pbc,pmkToLeft,ppszDisplayName)
  1436. #define IMoniker_ParseDisplayName(This,pbc,pmkToLeft,pszDisplayName,pchEaten,ppmkOut) (This)->lpVtbl->ParseDisplayName(This,pbc,pmkToLeft,pszDisplayName,pchEaten,ppmkOut)
  1437. #define IMoniker_IsSystemMoniker(This,pdwMksys)    (This)->lpVtbl->IsSystemMoniker(This,pdwMksys)
  1438. #define IROTData_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1439. #define IROTData_AddRef(This) (This)->lpVtbl->AddRef(This)
  1440. #define IROTData_Release(This) (This)->lpVtbl->Release(This)
  1441. #define IROTData_GetComparisonData(This,pbData,cbMax,pcbData) (This)->lpVtbl->GetComparisonData(This,pbData,cbMax,pcbData)
  1442. #define IEnumString_QueryInterface(This,riid,ppvObject)    (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1443. #define IEnumString_AddRef(This) (This)->lpVtbl->AddRef(This)
  1444. #define IEnumString_Release(This) (This)->lpVtbl->Release(This)
  1445. #define IEnumString_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
  1446. #define IEnumString_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
  1447. #define IEnumString_Reset(This)    (This)->lpVtbl->Reset(This)
  1448. #define IEnumString_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
  1449. #define IStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1450. #define IStream_AddRef(This) (This)->lpVtbl->AddRef(This)
  1451. #define IStream_Release(This) (This)->lpVtbl->Release(This)
  1452. #define IStream_Read(This,pv,cb,pcbRead) (This)->lpVtbl->Read(This,pv,cb,pcbRead)
  1453. #define IStream_Write(This,pv,cb,pcbWritten) (This)->lpVtbl->Write(This,pv,cb,pcbWritten)
  1454. #define IStream_Seek(This,dlibMove,dwOrigin,plibNewPosition) (This)->lpVtbl->Seek(This,dlibMove,dwOrigin,plibNewPosition)
  1455. #define IStream_SetSize(This,libNewSize) (This)->lpVtbl->SetSize(This,libNewSize)
  1456. #define IStream_CopyTo(This,pstm,cb,pcbRead,pcbWritten)    (This)->lpVtbl->CopyTo(This,pstm,cb,pcbRead,pcbWritten)
  1457. #define IStream_Commit(This,grfCommitFlags) (This)->lpVtbl->Commit(This,grfCommitFlags)
  1458. #define IStream_Revert(This) (This)->lpVtbl->Revert(This)
  1459. #define IStream_LockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->LockRegion(This,libOffset,cb,dwLockType)
  1460. #define IStream_UnlockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->UnlockRegion(This,libOffset,cb,dwLockType)
  1461. #define IStream_Stat(This,pstatstg,grfStatFlag)    (This)->lpVtbl->Stat(This,pstatstg,grfStatFlag)
  1462. #define IStream_Clone(This,ppstm) (This)->lpVtbl->Clone(This,ppstm)
  1463. #define IEnumSTATSTG_QueryInterface(T,r,p) (T)->lpVtbl->QueryInterface(T,r,p)
  1464. #define IEnumSTATSTG_AddRef(This) (This)->lpVtbl->AddRef(This)
  1465. #define IEnumSTATSTG_Release(This) (This)->lpVtbl->Release(This)
  1466. #define IEnumSTATSTG_Next(T,c,r,p) (T)->lpVtbl->Next(T,c,r,p)
  1467. #define IEnumSTATSTG_Skip(This,celt)    (This)->lpVtbl->Skip(This,celt)
  1468. #define IEnumSTATSTG_Reset(This) (This)->lpVtbl->Reset(This)
  1469. #define IEnumSTATSTG_Clone(This,ppenum)     (This)->lpVtbl->Clone(This,ppenum)
  1470. #define IStorage_QueryInterface(T,r,p) (T)->lpVtbl->QueryInterface(T,r,p)
  1471. #define IStorage_AddRef(This)     (This)->lpVtbl->AddRef(This)
  1472. #define IStorage_Release(This)     (This)->lpVtbl->Release(This)
  1473. #define IStorage_CreateStream(T,p,g,r1,r2,pp) (T)->lpVtbl->CreateStream(T,p,g,r1,r2,pp)
  1474. #define IStorage_OpenStream(T,p,r1,g,r2,pp) (T)->lpVtbl->OpenStream(T,p,r1,g,r2,pp)
  1475. #define IStorage_CreateStorage(T,p,g,d,r2,pp) (This)->lpVtbl->CreateStorage(T,p,g,d,r2,pp)
  1476. #define IStorage_OpenStorage(This,pwcsName,pstgPriority,grfMode,snbExclude,reserved,ppstg) (This)->lpVtbl->OpenStorage(This,pwcsName,pstgPriority,grfMode,snbExclude,reserved,ppstg)
  1477. #define IStorage_CopyTo(This,ciidExclude,rgiidExclude,snbExclude,pstgDest) (This)->lpVtbl->CopyTo(This,ciidExclude,rgiidExclude,snbExclude,pstgDest)
  1478. #define IStorage_MoveElementTo(This,pwcsName,pstgDest,pwcsNewName,grfFlags) (This)->lpVtbl->MoveElementTo(This,pwcsName,pstgDest,pwcsNewName,grfFlags)
  1479. #define IStorage_Commit(This,g) (This)->lpVtbl->Commit(This,g)
  1480. #define IStorage_Revert(This) (This)->lpVtbl->Revert(This)
  1481. #define IStorage_EnumElements(This,reserved1,reserved2,reserved3,ppenum) (This)->lpVtbl->EnumElements(This,reserved1,reserved2,reserved3,ppenum)
  1482. #define IStorage_DestroyElement(This,pwcsName)    (This)->lpVtbl->DestroyElement(This,pwcsName)
  1483. #define IStorage_RenameElement(This,pwcsOldName,pwcsNewName) (This)->lpVtbl->RenameElement(This,pwcsOldName,pwcsNewName)
  1484. #define IStorage_SetElementTimes(This,pwcsName,pctime,patime,pmtime) (This)->lpVtbl->SetElementTimes(This,pwcsName,pctime,patime,pmtime)
  1485. #define IStorage_SetClass(This,clsid) (This)->lpVtbl->SetClass(This,clsid)
  1486. #define IStorage_SetStateBits(This,grfStateBits,grfMask) (This)->lpVtbl->SetStateBits(This,grfStateBits,grfMask)
  1487. #define IStorage_Stat(This,p,g) (This)->lpVtbl->Stat(This,p,g)
  1488. #define IPersistFile_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1489. #define IPersistFile_AddRef(This) (This)->lpVtbl->AddRef(This)
  1490. #define IPersistFile_Release(This) (This)->lpVtbl->Release(This)
  1491. #define IPersistFile_GetClassID(This,pClassID)    (This)->lpVtbl->GetClassID(This,pClassID)
  1492. #define IPersistFile_IsDirty(This) (This)->lpVtbl->IsDirty(This)
  1493. #define IPersistFile_Load(This,pszFileName,dwMode) (This)->lpVtbl->Load(This,pszFileName,dwMode)
  1494. #define IPersistFile_Save(This,pszFileName,fRemember) (This)->lpVtbl->Save(This,pszFileName,fRemember)
  1495. #define IPersistFile_SaveCompleted(This,pszFileName) (This)->lpVtbl->SaveCompleted(This,pszFileName)
  1496. #define IPersistFile_GetCurFile(This,ppszFileName) (This)->lpVtbl->GetCurFile(This,ppszFileName)
  1497. #define IPersistStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1498. #define IPersistStorage_AddRef(This) (This)->lpVtbl->AddRef(This)
  1499. #define IPersistStorage_Release(This) (This)->lpVtbl->Release(This)
  1500. #define IPersistStorage_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
  1501. #define IPersistStorage_IsDirty(This) (This)->lpVtbl->IsDirty(This)
  1502. #define IPersistStorage_InitNew(This,pStg) (This)->lpVtbl->InitNew(This,pStg)
  1503. #define IPersistStorage_Load(This,pStg)    (This)->lpVtbl->Load(This,pStg)
  1504. #define IPersistStorage_Save(This,pStgSave,fSameAsLoad)    (This)->lpVtbl->Save(This,pStgSave,fSameAsLoad)
  1505. #define IPersistStorage_SaveCompleted(This,pStgNew) (This)->lpVtbl->SaveCompleted(This,pStgNew)
  1506. #define IPersistStorage_HandsOffStorage(This) (This)->lpVtbl->HandsOffStorage(This)
  1507. #define ILockBytes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1508. #define ILockBytes_AddRef(This)    (This)->lpVtbl->AddRef(This)
  1509. #define ILockBytes_Release(This) (This)->lpVtbl->Release(This)
  1510. #define ILockBytes_ReadAt(This,ulOffset,pv,cb,pcbRead) (This)->lpVtbl->ReadAt(This,ulOffset,pv,cb,pcbRead)
  1511. #define ILockBytes_WriteAt(This,ulOffset,pv,cb,pcbWritten) (This)->lpVtbl->WriteAt(This,ulOffset,pv,cb,pcbWritten)
  1512. #define ILockBytes_Flush(This) (This)->lpVtbl->Flush(This)
  1513. #define ILockBytes_SetSize(This,cb) (This)->lpVtbl->SetSize(This,cb)
  1514. #define ILockBytes_LockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->LockRegion(This,libOffset,cb,dwLockType)
  1515. #define ILockBytes_UnlockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->UnlockRegion(This,libOffset,cb,dwLockType)
  1516. #define ILockBytes_Stat(This,pstatstg,grfStatFlag) (This)->lpVtbl->Stat(This,pstatstg,grfStatFlag)
  1517. #define IEnumFORMATETC_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1518. #define IEnumFORMATETC_AddRef(This) (This)->lpVtbl->AddRef(This)
  1519. #define IEnumFORMATETC_Release(This) (This)->lpVtbl->Release(This)
  1520. #define IEnumFORMATETC_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
  1521. #define IEnumFORMATETC_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
  1522. #define IEnumFORMATETC_Reset(This) (This)->lpVtbl->Reset(This)
  1523. #define IEnumFORMATETC_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
  1524. #define IEnumSTATDATA_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1525. #define IEnumSTATDATA_AddRef(This) (This)->lpVtbl->AddRef(This)
  1526. #define IEnumSTATDATA_Release(This) (This)->lpVtbl->Release(This)
  1527. #define IEnumSTATDATA_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
  1528. #define IEnumSTATDATA_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
  1529. #define IEnumSTATDATA_Reset(This) (This)->lpVtbl->Reset(This)
  1530. #define IEnumSTATDATA_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
  1531. #define IRootStorage_QueryInterface(T,r,O) (T)->lpVtbl->QueryInterface(T,r,O)
  1532. #define IRootStorage_AddRef(This) (This)->lpVtbl->AddRef(This)
  1533. #define IRootStorage_Release(This)     (This)->lpVtbl->Release(This)
  1534. #define IRootStorage_SwitchToFile(This,pszFile)     (This)->lpVtbl->SwitchToFile(This,pszFile)
  1535. #define IAdviseSink_QueryInterface(This,riid,ppvObject)    (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1536. #define IAdviseSink_AddRef(This) (This)->lpVtbl->AddRef(This)
  1537. #define IAdviseSink_Release(This) (This)->lpVtbl->Release(This)
  1538. #define IAdviseSink_OnDataChange(This,pFormatetc,pStgmed) (This)->lpVtbl->OnDataChange(This,pFormatetc,pStgmed)
  1539. #define IAdviseSink_OnViewChange(This,dwAspect,lindex) (This)->lpVtbl->OnViewChange(This,dwAspect,lindex)
  1540. #define IAdviseSink_OnRename(This,pmk) (This)->lpVtbl->OnRename(This,pmk)
  1541. #define IAdviseSink_OnSave(This) (This)->lpVtbl->OnSave(This)
  1542. #define IAdviseSink_OnClose(This) (This)->lpVtbl->OnClose(This)
  1543. #define IAdviseSink2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1544. #define IAdviseSink2_AddRef(This) (This)->lpVtbl->AddRef(This)
  1545. #define IAdviseSink2_Release(This) (This)->lpVtbl->Release(This)
  1546. #define IAdviseSink2_OnDataChange(This,pFormatetc,pStgmed) (This)->lpVtbl->OnDataChange(This,pFormatetc,pStgmed)
  1547. #define IAdviseSink2_OnViewChange(This,dwAspect,lindex)    (This)->lpVtbl->OnViewChange(This,dwAspect,lindex)
  1548. #define IAdviseSink2_OnRename(This,pmk)    (This)->lpVtbl->OnRename(This,pmk)
  1549. #define IAdviseSink2_OnSave(This) (This)->lpVtbl->OnSave(This)
  1550. #define IAdviseSink2_OnClose(This) (This)->lpVtbl->OnClose(This)
  1551. #define IAdviseSink2_OnLinkSrcChange(This,pmk) (This)->lpVtbl->OnLinkSrcChange(This,pmk)
  1552. #define IDataObject_QueryInterface(This,riid,ppvObject)    (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1553. #define IDataObject_AddRef(This) (This)->lpVtbl->AddRef(This)
  1554. #define IDataObject_Release(This) (This)->lpVtbl->Release(This)
  1555. #define IDataObject_GetData(This,pformatetcIn,pmedium) (This)->lpVtbl->GetData(This,pformatetcIn,pmedium)
  1556. #define IDataObject_GetDataHere(This,pformatetc,pmedium) (This)->lpVtbl->GetDataHere(This,pformatetc,pmedium)
  1557. #define IDataObject_QueryGetData(This,pformatetc) (This)->lpVtbl->QueryGetData(This,pformatetc)
  1558. #define IDataObject_GetCanonicalFormatEtc(This,pformatectIn,pformatetcOut) (This)->lpVtbl->GetCanonicalFormatEtc(This,pformatectIn,pformatetcOut)
  1559. #define IDataObject_SetData(This,pformatetc,pmedium,fRelease) (This)->lpVtbl->SetData(This,pformatetc,pmedium,fRelease)
  1560. #define IDataObject_EnumFormatEtc(This,dwDirection,ppenumFormatEtc) (This)->lpVtbl->EnumFormatEtc(This,dwDirection,ppenumFormatEtc)
  1561. #define IDataObject_DAdvise(This,pformatetc,advf,pAdvSink,pdwConnection) (This)->lpVtbl->DAdvise(This,pformatetc,advf,pAdvSink,pdwConnection)
  1562. #define IDataObject_DUnadvise(This,dwConnection) (This)->lpVtbl->DUnadvise(This,dwConnection)
  1563. #define IDataObject_EnumDAdvise(This,ppenumAdvise) (This)->lpVtbl->EnumDAdvise(This,ppenumAdvise)
  1564. #define IDataAdviseHolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1565. #define IDataAdviseHolder_AddRef(This)    (This)->lpVtbl->AddRef(This)
  1566. #define IDataAdviseHolder_Release(This)    (This)->lpVtbl->Release(This)
  1567. #define IDataAdviseHolder_Advise(This,pDataObject,pFetc,advf,pAdvise,pdwConnection) (This)->lpVtbl->Advise(This,pDataObject,pFetc,advf,pAdvise,pdwConnection)
  1568. #define IDataAdviseHolder_Unadvise(This,dwConnection) (This)->lpVtbl->Unadvise(This,dwConnection)
  1569. #define IDataAdviseHolder_EnumAdvise(This,ppenumAdvise)    (This)->lpVtbl->EnumAdvise(This,ppenumAdvise)
  1570. #define IDataAdviseHolder_SendOnDataChange(This,pDataObject,dwReserved,advf) (This)->lpVtbl->SendOnDataChange(This,pDataObject,dwReserved,advf)
  1571. #define IMessageFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1572. #define IMessageFilter_AddRef(This)     (This)->lpVtbl->AddRef(This)
  1573. #define IMessageFilter_Release(This)     (This)->lpVtbl->Release(This)
  1574. #define IMessageFilter_HandleInComingCall(T,d,h,dw,lp) (T)->lpVtbl->HandleInComingCall(T,d,h,dw,lp)
  1575. #define IMessageFilter_RetryRejectedCall(s,C,T,R) (s)->lpVtbl->RetryRejectedCall(s,C,T,R)
  1576. #define IMessageFilter_MessagePending(s,C,T,P) (s)->lpVtbl->MessagePending(This,C,T,P)
  1577. #define IRpcChannelBuffer_QueryInterface(T,r,p)    (T)->lpVtbl->QueryInterface(T,r,p)
  1578. #define IRpcChannelBuffer_AddRef(This)    (This)->lpVtbl->AddRef(This)
  1579. #define IRpcChannelBuffer_Release(This)    (This)->lpVtbl->Release(This)
  1580. #define IRpcChannelBuffer_GetBuffer(This,pMessage,riid)    (This)->lpVtbl->GetBuffer(This,pMessage,riid)
  1581. #define IRpcChannelBuffer_SendReceive(T,p,pS) (T)->lpVtbl->SendReceive(T,p,pS)
  1582. #define IRpcChannelBuffer_FreeBuffer(T,p) (T)->lpVtbl->FreeBuffer(T,p)
  1583. #define IRpcChannelBuffer_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext)
  1584. #define IRpcChannelBuffer_IsConnected(This) (This)->lpVtbl->IsConnected(This)
  1585. #define IRpcProxyBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1586. #define IRpcProxyBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
  1587. #define IRpcProxyBuffer_Release(This) (This)->lpVtbl->Release(This)
  1588. #define IRpcProxyBuffer_Connect(This,pRpcChannelBuffer)    (This)->lpVtbl->Connect(This,pRpcChannelBuffer)
  1589. #define IRpcProxyBuffer_Disconnect(This) (This)->lpVtbl->Disconnect(This)
  1590. #define IRpcStubBuffer_QueryInterface(T,r,pp) (T)->lpVtbl->QueryInterface(T,r,pp)
  1591. #define IRpcStubBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
  1592. #define IRpcStubBuffer_Release(This)    (This)->lpVtbl->Release(This)
  1593. #define IRpcStubBuffer_Connect(This,p)     (This)->lpVtbl->Connect(This,p)
  1594. #define IRpcStubBuffer_Disconnect(This)     (This)->lpVtbl->Disconnect(This)
  1595. #define IRpcStubBuffer_Invoke(T,_prpcmsg,_p)     (T)->lpVtbl->Invoke(This,_prpcmsg,_p)
  1596. #define IRpcStubBuffer_IsIIDSupported(T,d) (T)->lpVtbl->IsIIDSupported(T,d)
  1597. #define IRpcStubBuffer_CountRefs(This)     (This)->lpVtbl->CountRefs(This)
  1598. #define IRpcStubBuffer_DebugServerQueryInterface(T,p) (T)->lpVtbl->DebugServerQueryInterface(T,p)
  1599. #define IRpcStubBuffer_DebugServerRelease(T,p) (T)->lpVtbl->DebugServerRelease(T,p)
  1600. #define IPSFactoryBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1601. #define IPSFactoryBuffer_AddRef(This)    (This)->lpVtbl->AddRef(This)
  1602. #define IPSFactoryBuffer_Release(This)    (This)->lpVtbl->Release(This)
  1603. #define IPSFactoryBuffer_CreateProxy(T,U,r,P,p) (T)->lpVtbl->CreateProxy(T,U,r,P,p)
  1604. #define IPSFactoryBuffer_CreateStub(T,r,U,p) (T)->lpVtbl->CreateStub(T,r,U,p)
  1605. #endif /* COBJMACROS */
  1606.  
  1607. #endif
  1608.