Artifact 4053c10fec8e71091e6791b7a91efcb67a6a8f9b:
- File
src/win32/objidl.d
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
The problem was __gshared. Replacing it with TLS fixed the issue. Remaining problem is that "hack.d"'s CloseHandle hack is not working anymore.
(user: kinaba) [annotate]
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
0000: 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a /***************
0010: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0020: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0030: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0040: 2a 2a 2a 2a 2a 2a 2a 2a 5c 0d 0a 2a 20 20 20 20 ********\..*
0050: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0060: 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 6a 69 obji
0070: 64 6c 2e 64 20 20 20 20 20 20 20 20 20 20 20 20 dl.d
0080: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0090: 20 20 20 2a 0d 0a 2a 20 20 20 20 20 20 20 20 20 *..*
00a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
00b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
00c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
00d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 0d *.
00e0: 0a 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .*
00f0: 20 20 20 20 20 20 20 20 20 57 69 6e 64 6f 77 73 Windows
0100: 20 41 50 49 20 68 65 61 64 65 72 20 6d 6f 64 75 API header modu
0110: 6c 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 le
0120: 20 20 20 20 20 20 20 20 20 2a 0d 0a 2a 20 20 20 *..*
0130: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0140: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0150: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0160: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0170: 20 20 20 20 2a 0d 0a 2a 20 20 20 20 20 20 20 20 *..*
0180: 20 20 20 20 20 20 20 20 20 54 72 61 6e 73 6c 61 Transla
0190: 74 65 64 20 66 72 6f 6d 20 4d 69 6e 47 57 20 57 ted from MinGW W
01a0: 69 6e 64 6f 77 73 20 68 65 61 64 65 72 73 20 20 indows headers
01b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2a *
01c0: 0d 0a 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 ..*
01d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
01e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
01f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0200: 20 20 20 20 20 20 20 20 20 20 2a 0d 0a 2a 20 20 *..*
0210: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0220: 20 20 20 20 20 50 6c 61 63 65 64 20 69 6e 74 6f Placed into
0230: 20 70 75 62 6c 69 63 20 64 6f 6d 61 69 6e 20 20 public domain
0240: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0250: 20 20 20 20 20 2a 0d 0a 5c 2a 2a 2a 2a 2a 2a 2a *..\*******
0260: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0270: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0280: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0290: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
02a0: 2f 0d 0a 2f 2f 20 54 4f 44 4f 20 28 44 6f 6e 29 /..// TODO (Don)
02b0: 3a 0d 0a 2f 2f 20 23 20 77 68 79 20 69 73 20 22 :..// # why is "
02c0: 61 6c 69 61 73 20 49 50 53 46 61 63 74 6f 72 79 alias IPSFactory
02d0: 42 75 66 66 65 72 2a 20 4c 50 50 53 46 41 43 54 Buffer* LPPSFACT
02e0: 4f 52 59 42 55 46 46 45 52 3b 22 20 69 6e 20 74 ORYBUFFER;" in t
02f0: 68 69 73 20 66 69 6c 65 2c 0d 0a 2f 2f 20 72 61 his file,..// ra
0300: 74 68 65 72 20 74 68 61 6e 20 69 6e 20 6f 62 6a ther than in obj
0310: 66 77 64 20 3f 0d 0a 2f 2f 20 23 20 64 6f 20 77 fwd ?..// # do w
0320: 65 20 6e 65 65 64 20 74 68 65 20 70 72 6f 78 69 e need the proxi
0330: 65 73 20 74 68 61 74 20 61 72 65 20 64 65 66 69 es that are defi
0340: 6e 65 64 20 69 6e 20 74 68 69 73 20 66 69 6c 65 ned in this file
0350: 3f 0d 0a 6d 6f 64 75 6c 65 20 77 69 6e 33 32 2e ?..module win32.
0360: 6f 62 6a 69 64 6c 3b 0d 0a 0d 0a 69 6d 70 6f 72 objidl;....impor
0370: 74 20 77 69 6e 33 32 2e 75 6e 6b 6e 77 6e 3b 0d t win32.unknwn;.
0380: 0a 69 6d 70 6f 72 74 20 77 69 6e 33 32 2e 6f 62 .import win32.ob
0390: 6a 66 77 64 3b 0d 0a 70 72 69 76 61 74 65 20 69 jfwd;..private i
03a0: 6d 70 6f 72 74 20 77 69 6e 33 32 2e 77 69 6e 64 mport win32.wind
03b0: 65 66 3b 0d 0a 70 72 69 76 61 74 65 20 69 6d 70 ef;..private imp
03c0: 6f 72 74 20 77 69 6e 33 32 2e 62 61 73 65 74 79 ort win32.basety
03d0: 70 73 3b 0d 0a 70 72 69 76 61 74 65 20 69 6d 70 ps;..private imp
03e0: 6f 72 74 20 77 69 6e 33 32 2e 6f 6c 65 69 64 6c ort win32.oleidl
03f0: 3b 0d 0a 70 72 69 76 61 74 65 20 69 6d 70 6f 72 ;..private impor
0400: 74 20 77 69 6e 33 32 2e 77 74 79 70 65 73 3b 0d t win32.wtypes;.
0410: 0a 70 72 69 76 61 74 65 20 69 6d 70 6f 72 74 20 .private import
0420: 77 69 6e 33 32 2e 77 69 6e 62 61 73 65 3b 20 2f win32.winbase; /
0430: 2f 20 66 6f 72 20 46 49 4c 45 54 49 4d 45 0d 0a / for FILETIME..
0440: 70 72 69 76 61 74 65 20 69 6d 70 6f 72 74 20 77 private import w
0450: 69 6e 33 32 2e 72 70 63 64 63 65 3b 0d 0a 0d 0a in32.rpcdce;....
0460: 73 74 72 75 63 74 20 20 53 54 41 54 53 54 47 20 struct STATSTG
0470: 7b 0d 0a 09 4c 50 4f 4c 45 53 54 52 20 70 77 63 {...LPOLESTR pwc
0480: 73 4e 61 6d 65 3b 0d 0a 09 44 57 4f 52 44 20 74 sName;...DWORD t
0490: 79 70 65 3b 0d 0a 09 55 4c 41 52 47 45 5f 49 4e ype;...ULARGE_IN
04a0: 54 45 47 45 52 20 63 62 53 69 7a 65 3b 0d 0a 09 TEGER cbSize;...
04b0: 46 49 4c 45 54 49 4d 45 20 6d 74 69 6d 65 3b 0d FILETIME mtime;.
04c0: 0a 09 46 49 4c 45 54 49 4d 45 20 63 74 69 6d 65 ..FILETIME ctime
04d0: 3b 0d 0a 09 46 49 4c 45 54 49 4d 45 20 61 74 69 ;...FILETIME ati
04e0: 6d 65 3b 0d 0a 09 44 57 4f 52 44 20 67 72 66 4d me;...DWORD grfM
04f0: 6f 64 65 3b 0d 0a 09 44 57 4f 52 44 20 67 72 66 ode;...DWORD grf
0500: 4c 6f 63 6b 73 53 75 70 70 6f 72 74 65 64 3b 0d LocksSupported;.
0510: 0a 09 43 4c 53 49 44 20 63 6c 73 69 64 3b 0d 0a ..CLSID clsid;..
0520: 09 44 57 4f 52 44 20 67 72 66 53 74 61 74 65 42 .DWORD grfStateB
0530: 69 74 73 3b 0d 0a 09 44 57 4f 52 44 20 72 65 73 its;...DWORD res
0540: 65 72 76 65 64 3b 0d 0a 7d 0d 0a 0d 0a 65 6e 75 erved;..}....enu
0550: 6d 20 53 54 47 54 59 20 7b 0d 0a 09 53 54 47 54 m STGTY {...STGT
0560: 59 5f 53 54 4f 52 41 47 45 20 3d 20 31 2c 0d 0a Y_STORAGE = 1,..
0570: 09 53 54 47 54 59 5f 53 54 52 45 41 4d 2c 0d 0a .STGTY_STREAM,..
0580: 09 53 54 47 54 59 5f 4c 4f 43 4b 42 59 54 45 53 .STGTY_LOCKBYTES
0590: 2c 0d 0a 09 53 54 47 54 59 5f 50 52 4f 50 45 52 ,...STGTY_PROPER
05a0: 54 59 0d 0a 7d 0d 0a 0d 0a 65 6e 75 6d 20 53 54 TY..}....enum ST
05b0: 52 45 41 4d 5f 53 45 45 4b 20 7b 0d 0a 09 53 54 REAM_SEEK {...ST
05c0: 52 45 41 4d 5f 53 45 45 4b 5f 53 45 54 2c 0d 0a REAM_SEEK_SET,..
05d0: 09 53 54 52 45 41 4d 5f 53 45 45 4b 5f 43 55 52 .STREAM_SEEK_CUR
05e0: 2c 0d 0a 09 53 54 52 45 41 4d 5f 53 45 45 4b 5f ,...STREAM_SEEK_
05f0: 45 4e 44 0d 0a 7d 0d 0a 0d 0a 73 74 72 75 63 74 END..}....struct
0600: 20 49 4e 54 45 52 46 41 43 45 49 4e 46 4f 20 7b INTERFACEINFO {
0610: 0d 0a 09 4c 50 55 4e 4b 4e 4f 57 4e 20 70 55 6e ...LPUNKNOWN pUn
0620: 6b 3b 0d 0a 09 49 49 44 20 69 69 64 3b 0d 0a 09 k;...IID iid;...
0630: 57 4f 52 44 20 77 4d 65 74 68 6f 64 3b 0d 0a 7d WORD wMethod;..}
0640: 0d 0a 61 6c 69 61 73 20 49 4e 54 45 52 46 41 43 ..alias INTERFAC
0650: 45 49 4e 46 4f 2a 20 4c 50 49 4e 54 45 52 46 41 EINFO* LPINTERFA
0660: 43 45 49 4e 46 4f 3b 0d 0a 0d 0a 65 6e 75 6d 20 CEINFO;....enum
0670: 43 41 4c 4c 54 59 50 45 20 7b 0d 0a 09 43 41 4c CALLTYPE {...CAL
0680: 4c 54 59 50 45 5f 54 4f 50 4c 45 56 45 4c 20 3d LTYPE_TOPLEVEL =
0690: 20 31 2c 0d 0a 09 43 41 4c 4c 54 59 50 45 5f 4e 1,...CALLTYPE_N
06a0: 45 53 54 45 44 2c 0d 0a 09 43 41 4c 4c 54 59 50 ESTED,...CALLTYP
06b0: 45 5f 41 53 59 4e 43 2c 0d 0a 09 43 41 4c 4c 54 E_ASYNC,...CALLT
06c0: 59 50 45 5f 54 4f 50 4c 45 56 45 4c 5f 43 41 4c YPE_TOPLEVEL_CAL
06d0: 4c 50 45 4e 44 49 4e 47 2c 0d 0a 09 43 41 4c 4c LPENDING,...CALL
06e0: 54 59 50 45 5f 41 53 59 4e 43 5f 43 41 4c 4c 50 TYPE_ASYNC_CALLP
06f0: 45 4e 44 49 4e 47 0d 0a 7d 0d 0a 0d 0a 65 6e 75 ENDING..}....enu
0700: 6d 20 50 45 4e 44 49 4e 47 54 59 50 45 20 7b 0d m PENDINGTYPE {.
0710: 0a 09 50 45 4e 44 49 4e 47 54 59 50 45 5f 54 4f ..PENDINGTYPE_TO
0720: 50 4c 45 56 45 4c 20 3d 20 31 2c 0d 0a 09 50 45 PLEVEL = 1,...PE
0730: 4e 44 49 4e 47 54 59 50 45 5f 4e 45 53 54 45 44 NDINGTYPE_NESTED
0740: 0d 0a 7d 0d 0a 0d 0a 65 6e 75 6d 20 50 45 4e 44 ..}....enum PEND
0750: 49 4e 47 4d 53 47 20 7b 0d 0a 09 50 45 4e 44 49 INGMSG {...PENDI
0760: 4e 47 4d 53 47 5f 43 41 4e 43 45 4c 43 41 4c 4c NGMSG_CANCELCALL
0770: 20 3d 20 30 2c 0d 0a 09 50 45 4e 44 49 4e 47 4d = 0,...PENDINGM
0780: 53 47 5f 57 41 49 54 4e 4f 50 52 4f 43 45 53 53 SG_WAITNOPROCESS
0790: 2c 0d 0a 09 50 45 4e 44 49 4e 47 4d 53 47 5f 57 ,...PENDINGMSG_W
07a0: 41 49 54 44 45 46 50 52 4f 43 45 53 53 0d 0a 7d AITDEFPROCESS..}
07b0: 0d 0a 0d 0a 61 6c 69 61 73 20 4f 4c 45 43 48 41 ....alias OLECHA
07c0: 52 2a 2a 20 53 4e 42 3b 0d 0a 0d 0a 65 6e 75 6d R** SNB;....enum
07d0: 20 44 41 54 41 44 49 52 20 7b 0d 0a 09 44 41 54 DATADIR {...DAT
07e0: 41 44 49 52 5f 47 45 54 20 3d 20 31 2c 0d 0a 09 ADIR_GET = 1,...
07f0: 44 41 54 41 44 49 52 5f 53 45 54 0d 0a 7d 0d 0a DATADIR_SET..}..
0800: 61 6c 69 61 73 20 57 4f 52 44 20 43 4c 49 50 46 alias WORD CLIPF
0810: 4f 52 4d 41 54 3b 0d 0a 61 6c 69 61 73 20 43 4c ORMAT;..alias CL
0820: 49 50 46 4f 52 4d 41 54 2a 20 4c 50 43 4c 49 50 IPFORMAT* LPCLIP
0830: 46 4f 52 4d 41 54 3b 0d 0a 0d 0a 73 74 72 75 63 FORMAT;....struc
0840: 74 20 44 56 54 41 52 47 45 54 44 45 56 49 43 45 t DVTARGETDEVICE
0850: 20 7b 0d 0a 09 44 57 4f 52 44 20 74 64 53 69 7a {...DWORD tdSiz
0860: 65 3b 0d 0a 09 57 4f 52 44 20 74 64 44 72 69 76 e;...WORD tdDriv
0870: 65 72 4e 61 6d 65 4f 66 66 73 65 74 3b 0d 0a 09 erNameOffset;...
0880: 57 4f 52 44 20 74 64 44 65 76 69 63 65 4e 61 6d WORD tdDeviceNam
0890: 65 4f 66 66 73 65 74 3b 0d 0a 09 57 4f 52 44 20 eOffset;...WORD
08a0: 74 64 50 6f 72 74 4e 61 6d 65 4f 66 66 73 65 74 tdPortNameOffset
08b0: 3b 0d 0a 09 57 4f 52 44 20 74 64 45 78 74 44 65 ;...WORD tdExtDe
08c0: 76 6d 6f 64 65 4f 66 66 73 65 74 3b 0d 0a 09 42 vmodeOffset;...B
08d0: 59 54 45 5b 31 5d 20 74 64 44 61 74 61 3b 0d 0a YTE[1] tdData;..
08e0: 7d 0d 0a 0d 0a 73 74 72 75 63 74 20 46 4f 52 4d }....struct FORM
08f0: 41 54 45 54 43 20 7b 0d 0a 09 43 4c 49 50 46 4f ATETC {...CLIPFO
0900: 52 4d 41 54 20 63 66 46 6f 72 6d 61 74 3b 0d 0a RMAT cfFormat;..
0910: 09 44 56 54 41 52 47 45 54 44 45 56 49 43 45 2a .DVTARGETDEVICE*
0920: 20 70 74 64 3b 0d 0a 09 44 57 4f 52 44 20 64 77 ptd;...DWORD dw
0930: 41 73 70 65 63 74 3b 0d 0a 09 4c 4f 4e 47 20 6c Aspect;...LONG l
0940: 69 6e 64 65 78 3b 0d 0a 09 44 57 4f 52 44 20 74 index;...DWORD t
0950: 79 6d 65 64 3b 0d 0a 7d 0d 0a 61 6c 69 61 73 20 ymed;..}..alias
0960: 46 4f 52 4d 41 54 45 54 43 2a 20 4c 50 46 4f 52 FORMATETC* LPFOR
0970: 4d 41 54 45 54 43 3b 0d 0a 0d 0a 73 74 72 75 63 MATETC;....struc
0980: 74 20 52 65 6d 53 54 47 4d 45 44 49 55 4d 20 7b t RemSTGMEDIUM {
0990: 0d 0a 09 44 57 4f 52 44 20 74 79 6d 65 64 3b 0d ...DWORD tymed;.
09a0: 0a 09 44 57 4f 52 44 20 64 77 48 61 6e 64 6c 65 ..DWORD dwHandle
09b0: 54 79 70 65 3b 0d 0a 09 55 4c 4f 4e 47 20 70 44 Type;...ULONG pD
09c0: 61 74 61 3b 0d 0a 09 75 69 6e 74 20 70 55 6e 6b ata;...uint pUnk
09d0: 46 6f 72 52 65 6c 65 61 73 65 3b 0d 0a 09 75 69 ForRelease;...ui
09e0: 6e 74 20 63 62 44 61 74 61 3b 0d 0a 09 42 59 54 nt cbData;...BYT
09f0: 45 5b 31 5d 20 64 61 74 61 3b 0d 0a 7d 0d 0a 0d E[1] data;..}...
0a00: 0a 73 74 72 75 63 74 20 48 4c 49 54 45 4d 20 7b .struct HLITEM {
0a10: 0d 0a 09 55 4c 4f 4e 47 20 75 48 4c 49 44 3b 0d ...ULONG uHLID;.
0a20: 0a 09 4c 50 57 53 54 52 20 70 77 7a 46 72 69 65 ..LPWSTR pwzFrie
0a30: 6e 64 6c 79 4e 61 6d 65 3b 0d 0a 7d 0d 0a 0d 0a ndlyName;..}....
0a40: 73 74 72 75 63 74 20 53 54 41 54 44 41 54 41 20 struct STATDATA
0a50: 7b 0d 0a 09 46 4f 52 4d 41 54 45 54 43 20 66 6f {...FORMATETC fo
0a60: 72 6d 61 74 65 74 63 3b 0d 0a 09 44 57 4f 52 44 rmatetc;...DWORD
0a70: 20 67 72 66 41 64 76 66 3b 0d 0a 09 49 41 64 76 grfAdvf;...IAdv
0a80: 69 73 65 53 69 6e 6b 20 70 41 64 76 53 69 6e 6b iseSink pAdvSink
0a90: 3b 0d 0a 09 44 57 4f 52 44 20 64 77 43 6f 6e 6e ;...DWORD dwConn
0aa0: 65 63 74 69 6f 6e 3b 0d 0a 7d 0d 0a 0d 0a 73 74 ection;..}....st
0ab0: 72 75 63 74 20 53 54 41 54 50 52 4f 50 53 45 54 ruct STATPROPSET
0ac0: 53 54 47 20 7b 0d 0a 09 46 4d 54 49 44 20 66 6d STG {...FMTID fm
0ad0: 74 69 64 3b 0d 0a 09 43 4c 53 49 44 20 63 6c 73 tid;...CLSID cls
0ae0: 69 64 3b 0d 0a 09 44 57 4f 52 44 20 67 72 66 46 id;...DWORD grfF
0af0: 6c 61 67 73 3b 0d 0a 09 46 49 4c 45 54 49 4d 45 lags;...FILETIME
0b00: 20 6d 74 69 6d 65 3b 0d 0a 09 46 49 4c 45 54 49 mtime;...FILETI
0b10: 4d 45 20 63 74 69 6d 65 3b 0d 0a 09 46 49 4c 45 ME ctime;...FILE
0b20: 54 49 4d 45 20 61 74 69 6d 65 3b 0d 0a 7d 0d 0a TIME atime;..}..
0b30: 0d 0a 65 6e 75 6d 20 45 58 54 43 4f 4e 4e 20 7b ..enum EXTCONN {
0b40: 0d 0a 09 45 58 54 43 4f 4e 4e 5f 53 54 52 4f 4e ...EXTCONN_STRON
0b50: 47 20 20 20 3d 20 31 2c 0d 0a 09 45 58 54 43 4f G = 1,...EXTCO
0b60: 4e 4e 5f 57 45 41 4b 20 20 20 20 20 3d 20 32 2c NN_WEAK = 2,
0b70: 0d 0a 09 45 58 54 43 4f 4e 4e 5f 43 41 4c 4c 41 ...EXTCONN_CALLA
0b80: 42 4c 45 20 3d 20 34 0d 0a 7d 0d 0a 0d 0a 73 74 BLE = 4..}....st
0b90: 72 75 63 74 20 4d 55 4c 54 49 5f 51 49 20 7b 0d ruct MULTI_QI {.
0ba0: 0a 09 63 6f 6e 73 74 28 49 49 44 29 2a 20 70 49 ..const(IID)* pI
0bb0: 49 44 3b 0d 0a 09 49 55 6e 6b 6e 6f 77 6e 20 20 ID;...IUnknown
0bc0: 20 20 70 49 74 66 3b 0d 0a 09 48 52 45 53 55 4c pItf;...HRESUL
0bd0: 54 20 20 20 20 20 68 72 3b 0d 0a 7d 0d 0a 0d 0a T hr;..}....
0be0: 73 74 72 75 63 74 20 41 55 54 48 5f 49 44 45 4e struct AUTH_IDEN
0bf0: 54 49 54 59 20 7b 0d 0a 09 55 53 48 4f 52 54 2a TITY {...USHORT*
0c00: 20 55 73 65 72 3b 0d 0a 09 55 4c 4f 4e 47 20 55 User;...ULONG U
0c10: 73 65 72 4c 65 6e 67 74 68 3b 0d 0a 09 55 53 48 serLength;...USH
0c20: 4f 52 54 2a 20 44 6f 6d 61 69 6e 3b 0d 0a 09 55 ORT* Domain;...U
0c30: 4c 4f 4e 47 20 44 6f 6d 61 69 6e 4c 65 6e 67 74 LONG DomainLengt
0c40: 68 3b 0d 0a 09 55 53 48 4f 52 54 2a 20 50 61 73 h;...USHORT* Pas
0c50: 73 77 6f 72 64 3b 0d 0a 09 55 4c 4f 4e 47 20 50 sword;...ULONG P
0c60: 61 73 73 77 6f 72 64 4c 65 6e 67 74 68 3b 0d 0a asswordLength;..
0c70: 09 55 4c 4f 4e 47 20 46 6c 61 67 73 3b 0d 0a 7d .ULONG Flags;..}
0c80: 0d 0a 0d 0a 73 74 72 75 63 74 20 43 4f 41 55 54 ....struct COAUT
0c90: 48 49 4e 46 4f 20 7b 0d 0a 09 44 57 4f 52 44 20 HINFO {...DWORD
0ca0: 64 77 41 75 74 68 6e 53 76 63 3b 0d 0a 09 44 57 dwAuthnSvc;...DW
0cb0: 4f 52 44 20 64 77 41 75 74 68 7a 53 76 63 3b 0d ORD dwAuthzSvc;.
0cc0: 0a 09 4c 50 57 53 54 52 20 70 77 73 7a 53 65 72 ..LPWSTR pwszSer
0cd0: 76 65 72 50 72 69 6e 63 4e 61 6d 65 3b 0d 0a 09 verPrincName;...
0ce0: 44 57 4f 52 44 20 64 77 41 75 74 68 6e 4c 65 76 DWORD dwAuthnLev
0cf0: 65 6c 3b 0d 0a 09 44 57 4f 52 44 20 64 77 49 6d el;...DWORD dwIm
0d00: 70 65 72 73 6f 6e 61 74 69 6f 6e 4c 65 76 65 6c personationLevel
0d10: 3b 0d 0a 09 41 55 54 48 5f 49 44 45 4e 54 49 54 ;...AUTH_IDENTIT
0d20: 59 2a 20 70 41 75 74 68 49 64 65 6e 74 69 74 79 Y* pAuthIdentity
0d30: 44 61 74 61 3b 0d 0a 09 44 57 4f 52 44 20 64 77 Data;...DWORD dw
0d40: 43 61 70 61 62 69 6c 69 74 69 65 73 3b 0d 0a 7d Capabilities;..}
0d50: 0d 0a 0d 0a 73 74 72 75 63 74 20 20 43 4f 53 45 ....struct COSE
0d60: 52 56 45 52 49 4e 46 4f 20 7b 0d 0a 09 44 57 4f RVERINFO {...DWO
0d70: 52 44 20 64 77 52 65 73 65 72 76 65 64 31 3b 0d RD dwReserved1;.
0d80: 0a 09 4c 50 57 53 54 52 20 70 77 73 7a 4e 61 6d ..LPWSTR pwszNam
0d90: 65 3b 0d 0a 09 43 4f 41 55 54 48 49 4e 46 4f 2a e;...COAUTHINFO*
0da0: 20 70 41 75 74 68 49 6e 66 6f 3b 0d 0a 09 44 57 pAuthInfo;...DW
0db0: 4f 52 44 20 64 77 52 65 73 65 72 76 65 64 32 3b ORD dwReserved2;
0dc0: 0d 0a 7d 0d 0a 0d 0a 73 74 72 75 63 74 20 42 49 ..}....struct BI
0dd0: 4e 44 5f 4f 50 54 53 20 7b 0d 0a 09 44 57 4f 52 ND_OPTS {...DWOR
0de0: 44 20 63 62 53 74 72 75 63 74 3b 0d 0a 09 44 57 D cbStruct;...DW
0df0: 4f 52 44 20 67 72 66 46 6c 61 67 73 3b 0d 0a 09 ORD grfFlags;...
0e00: 44 57 4f 52 44 20 67 72 66 4d 6f 64 65 3b 0d 0a DWORD grfMode;..
0e10: 09 44 57 4f 52 44 20 64 77 54 69 63 6b 43 6f 75 .DWORD dwTickCou
0e20: 6e 74 44 65 61 64 6c 69 6e 65 3b 0d 0a 7d 0d 0a ntDeadline;..}..
0e30: 61 6c 69 61 73 20 42 49 4e 44 5f 4f 50 54 53 2a alias BIND_OPTS*
0e40: 20 4c 50 42 49 4e 44 5f 4f 50 54 53 3b 0d 0a 0d LPBIND_OPTS;...
0e50: 0a 73 74 72 75 63 74 20 42 49 4e 44 5f 4f 50 54 .struct BIND_OPT
0e60: 53 32 20 7b 0d 0a 09 44 57 4f 52 44 20 63 62 53 S2 {...DWORD cbS
0e70: 74 72 75 63 74 3b 0d 0a 09 44 57 4f 52 44 20 67 truct;...DWORD g
0e80: 72 66 46 6c 61 67 73 3b 0d 0a 09 44 57 4f 52 44 rfFlags;...DWORD
0e90: 20 67 72 66 4d 6f 64 65 3b 0d 0a 09 44 57 4f 52 grfMode;...DWOR
0ea0: 44 20 64 77 54 69 63 6b 43 6f 75 6e 74 44 65 61 D dwTickCountDea
0eb0: 64 6c 69 6e 65 3b 0d 0a 09 44 57 4f 52 44 20 64 dline;...DWORD d
0ec0: 77 54 72 61 63 6b 46 6c 61 67 73 3b 0d 0a 09 44 wTrackFlags;...D
0ed0: 57 4f 52 44 20 64 77 43 6c 61 73 73 43 6f 6e 74 WORD dwClassCont
0ee0: 65 78 74 3b 0d 0a 09 4c 43 49 44 20 6c 6f 63 61 ext;...LCID loca
0ef0: 6c 65 3b 0d 0a 09 43 4f 53 45 52 56 45 52 49 4e le;...COSERVERIN
0f00: 46 4f 2a 20 70 53 65 72 76 65 72 49 6e 66 6f 3b FO* pServerInfo;
0f10: 0d 0a 7d 0d 0a 61 6c 69 61 73 20 42 49 4e 44 5f ..}..alias BIND_
0f20: 4f 50 54 53 32 2a 20 4c 50 42 49 4e 44 5f 4f 50 OPTS2* LPBIND_OP
0f30: 54 53 32 3b 0d 0a 0d 0a 65 6e 75 6d 20 42 49 4e TS2;....enum BIN
0f40: 44 5f 46 4c 41 47 53 20 7b 0d 0a 09 42 49 4e 44 D_FLAGS {...BIND
0f50: 5f 4d 41 59 42 4f 54 48 45 52 55 53 45 52 20 3d _MAYBOTHERUSER =
0f60: 20 31 2c 0d 0a 09 42 49 4e 44 5f 4a 55 53 54 54 1,...BIND_JUSTT
0f70: 45 53 54 45 58 49 53 54 45 4e 43 45 0d 0a 7d 0d ESTEXISTENCE..}.
0f80: 0a 0d 0a 73 74 72 75 63 74 20 53 54 47 4d 45 44 ...struct STGMED
0f90: 49 55 4d 20 7b 0d 0a 09 44 57 4f 52 44 20 74 79 IUM {...DWORD ty
0fa0: 6d 65 64 3b 0d 0a 09 75 6e 69 6f 6e 20 7b 0d 0a med;...union {..
0fb0: 09 09 48 42 49 54 4d 41 50 20 68 42 69 74 6d 61 ..HBITMAP hBitma
0fc0: 70 3b 0d 0a 09 09 50 56 4f 49 44 20 68 4d 65 74 p;....PVOID hMet
0fd0: 61 46 69 6c 65 50 69 63 74 3b 0d 0a 09 09 48 45 aFilePict;....HE
0fe0: 4e 48 4d 45 54 41 46 49 4c 45 20 68 45 6e 68 4d NHMETAFILE hEnhM
0ff0: 65 74 61 46 69 6c 65 3b 0d 0a 09 09 48 47 4c 4f etaFile;....HGLO
1000: 42 41 4c 20 68 47 6c 6f 62 61 6c 3b 0d 0a 09 09 BAL hGlobal;....
1010: 4c 50 57 53 54 52 20 6c 70 73 7a 46 69 6c 65 4e LPWSTR lpszFileN
1020: 61 6d 65 3b 0d 0a 09 09 4c 50 53 54 52 45 41 4d ame;....LPSTREAM
1030: 20 70 73 74 6d 3b 0d 0a 09 09 4c 50 53 54 4f 52 pstm;....LPSTOR
1040: 41 47 45 20 70 73 74 67 3b 0d 0a 09 7d 0d 0a 09 AGE pstg;...}...
1050: 4c 50 55 4e 4b 4e 4f 57 4e 20 70 55 6e 6b 46 6f LPUNKNOWN pUnkFo
1060: 72 52 65 6c 65 61 73 65 3b 0d 0a 7d 0d 0a 61 6c rRelease;..}..al
1070: 69 61 73 20 53 54 47 4d 45 44 49 55 4d 2a 20 4c ias STGMEDIUM* L
1080: 50 53 54 47 4d 45 44 49 55 4d 3b 0d 0a 0d 0a 65 PSTGMEDIUM;....e
1090: 6e 75 6d 20 4c 4f 43 4b 54 59 50 45 20 7b 0d 0a num LOCKTYPE {..
10a0: 09 4c 4f 43 4b 5f 57 52 49 54 45 20 20 20 20 20 .LOCK_WRITE
10b0: 3d 20 31 2c 0d 0a 09 4c 4f 43 4b 5f 45 58 43 4c = 1,...LOCK_EXCL
10c0: 55 53 49 56 45 20 3d 20 32 2c 0d 0a 09 4c 4f 43 USIVE = 2,...LOC
10d0: 4b 5f 4f 4e 4c 59 4f 4e 43 45 20 20 3d 20 34 0d K_ONLYONCE = 4.
10e0: 0a 7d 0d 0a 0d 0a 61 6c 69 61 73 20 75 69 6e 74 .}....alias uint
10f0: 20 52 50 43 4f 4c 45 44 41 54 41 52 45 50 3b 0d RPCOLEDATAREP;.
1100: 0a 0d 0a 73 74 72 75 63 74 20 20 52 50 43 4f 4c ...struct RPCOL
1110: 45 4d 45 53 53 41 47 45 20 7b 0d 0a 09 50 56 4f EMESSAGE {...PVO
1120: 49 44 20 72 65 73 65 72 76 65 64 31 3b 0d 0a 09 ID reserved1;...
1130: 52 50 43 4f 4c 45 44 41 54 41 52 45 50 20 64 61 RPCOLEDATAREP da
1140: 74 61 52 65 70 72 65 73 65 6e 74 61 74 69 6f 6e taRepresentation
1150: 3b 0d 0a 09 50 56 4f 49 44 20 42 75 66 66 65 72 ;...PVOID Buffer
1160: 3b 0d 0a 09 55 4c 4f 4e 47 20 63 62 42 75 66 66 ;...ULONG cbBuff
1170: 65 72 3b 0d 0a 09 55 4c 4f 4e 47 20 69 4d 65 74 er;...ULONG iMet
1180: 68 6f 64 3b 0d 0a 09 50 56 4f 49 44 5b 35 5d 20 hod;...PVOID[5]
1190: 72 65 73 65 72 76 65 64 32 3b 0d 0a 09 55 4c 4f reserved2;...ULO
11a0: 4e 47 20 72 70 63 46 6c 61 67 73 3b 0d 0a 7d 0d NG rpcFlags;..}.
11b0: 0a 61 6c 69 61 73 20 52 50 43 4f 4c 45 4d 45 53 .alias RPCOLEMES
11c0: 53 41 47 45 2a 20 50 52 50 43 4f 4c 45 4d 45 53 SAGE* PRPCOLEMES
11d0: 53 41 47 45 3b 0d 0a 0d 0a 65 6e 75 6d 20 4d 4b SAGE;....enum MK
11e0: 53 59 53 20 7b 0d 0a 09 4d 4b 53 59 53 5f 4e 4f SYS {...MKSYS_NO
11f0: 4e 45 2c 0d 0a 09 4d 4b 53 59 53 5f 47 45 4e 45 NE,...MKSYS_GENE
1200: 52 49 43 43 4f 4d 50 4f 53 49 54 45 2c 0d 0a 09 RICCOMPOSITE,...
1210: 4d 4b 53 59 53 5f 46 49 4c 45 4d 4f 4e 49 4b 45 MKSYS_FILEMONIKE
1220: 52 2c 0d 0a 09 4d 4b 53 59 53 5f 41 4e 54 49 4d R,...MKSYS_ANTIM
1230: 4f 4e 49 4b 45 52 2c 0d 0a 09 4d 4b 53 59 53 5f ONIKER,...MKSYS_
1240: 49 54 45 4d 4d 4f 4e 49 4b 45 52 2c 0d 0a 09 4d ITEMMONIKER,...M
1250: 4b 53 59 53 5f 50 4f 49 4e 54 45 52 4d 4f 4e 49 KSYS_POINTERMONI
1260: 4b 45 52 0d 0a 7d 0d 0a 0d 0a 65 6e 75 6d 20 4d KER..}....enum M
1270: 4b 52 45 44 55 43 45 20 7b 0d 0a 09 4d 4b 52 52 KREDUCE {...MKRR
1280: 45 44 55 43 45 5f 41 4c 4c 2c 0d 0a 09 4d 4b 52 EDUCE_ALL,...MKR
1290: 52 45 44 55 43 45 5f 4f 4e 45 20 20 20 20 20 20 REDUCE_ONE
12a0: 20 20 20 3d 20 31 39 36 36 30 38 2c 0d 0a 09 4d = 196608,...M
12b0: 4b 52 52 45 44 55 43 45 5f 54 4f 55 53 45 52 20 KRREDUCE_TOUSER
12c0: 20 20 20 20 20 3d 20 31 33 31 30 37 32 2c 0d 0a = 131072,..
12d0: 09 4d 4b 52 52 45 44 55 43 45 5f 54 48 52 4f 55 .MKRREDUCE_THROU
12e0: 47 48 55 53 45 52 20 3d 20 36 35 35 33 36 0d 0a GHUSER = 65536..
12f0: 7d 0d 0a 0d 0a 73 74 72 75 63 74 20 52 65 6d 53 }....struct RemS
1300: 4e 42 20 7b 0d 0a 09 75 69 6e 74 20 75 6c 43 6e NB {...uint ulCn
1310: 74 53 74 72 3b 0d 0a 09 75 69 6e 74 20 75 6c 43 tStr;...uint ulC
1320: 6e 74 43 68 61 72 3b 0d 0a 09 4f 4c 45 43 48 41 ntChar;...OLECHA
1330: 52 5b 31 5d 20 72 67 53 74 72 69 6e 67 3b 0d 0a R[1] rgString;..
1340: 7d 0d 0a 0d 0a 65 6e 75 6d 20 41 44 56 46 20 7b }....enum ADVF {
1350: 0d 0a 09 41 44 56 46 5f 4e 4f 44 41 54 41 20 20 ...ADVF_NODATA
1360: 20 20 20 20 20 20 20 20 20 20 3d 20 31 2c 0d 0a = 1,..
1370: 09 41 44 56 46 5f 50 52 49 4d 45 46 49 52 53 54 .ADVF_PRIMEFIRST
1380: 20 20 20 20 20 20 20 20 3d 20 32 2c 0d 0a 09 41 = 2,...A
1390: 44 56 46 5f 4f 4e 4c 59 4f 4e 43 45 20 20 20 20 DVF_ONLYONCE
13a0: 20 20 20 20 20 20 3d 20 34 2c 0d 0a 09 41 44 56 = 4,...ADV
13b0: 46 43 41 43 48 45 5f 4e 4f 48 41 4e 44 4c 45 52 FCACHE_NOHANDLER
13c0: 20 20 20 20 3d 20 38 2c 0d 0a 09 41 44 56 46 43 = 8,...ADVFC
13d0: 41 43 48 45 5f 46 4f 52 43 45 42 55 49 4c 54 49 ACHE_FORCEBUILTI
13e0: 4e 20 3d 20 31 36 2c 0d 0a 09 41 44 56 46 43 41 N = 16,...ADVFCA
13f0: 43 48 45 5f 4f 4e 53 41 56 45 20 20 20 20 20 20 CHE_ONSAVE
1400: 20 3d 20 33 32 2c 0d 0a 09 41 44 56 46 5f 44 41 = 32,...ADVF_DA
1410: 54 41 4f 4e 53 54 4f 50 20 20 20 20 20 20 20 20 TAONSTOP
1420: 3d 20 36 34 0d 0a 7d 0d 0a 0d 0a 65 6e 75 6d 20 = 64..}....enum
1430: 54 59 4d 45 44 20 7b 0d 0a 09 54 59 4d 45 44 5f TYMED {...TYMED_
1440: 48 47 4c 4f 42 41 4c 20 20 3d 20 31 2c 0d 0a 09 HGLOBAL = 1,...
1450: 54 59 4d 45 44 5f 46 49 4c 45 20 20 20 20 20 3d TYMED_FILE =
1460: 20 32 2c 0d 0a 09 54 59 4d 45 44 5f 49 53 54 52 2,...TYMED_ISTR
1470: 45 41 4d 20 20 3d 20 34 2c 0d 0a 09 54 59 4d 45 EAM = 4,...TYME
1480: 44 5f 49 53 54 4f 52 41 47 45 20 3d 20 38 2c 0d D_ISTORAGE = 8,.
1490: 0a 09 54 59 4d 45 44 5f 47 44 49 20 20 20 20 20 ..TYMED_GDI
14a0: 20 3d 20 31 36 2c 0d 0a 09 54 59 4d 45 44 5f 4d = 16,...TYMED_M
14b0: 46 50 49 43 54 20 20 20 3d 20 33 32 2c 0d 0a 09 FPICT = 32,...
14c0: 54 59 4d 45 44 5f 45 4e 48 4d 46 20 20 20 20 3d TYMED_ENHMF =
14d0: 20 36 34 2c 0d 0a 09 54 59 4d 45 44 5f 4e 55 4c 64,...TYMED_NUL
14e0: 4c 20 20 20 20 20 3d 20 30 0d 0a 7d 0d 0a 0d 0a L = 0..}....
14f0: 65 6e 75 6d 20 53 45 52 56 45 52 43 41 4c 4c 20 enum SERVERCALL
1500: 7b 0d 0a 09 53 45 52 56 45 52 43 41 4c 4c 5f 49 {...SERVERCALL_I
1510: 53 48 41 4e 44 4c 45 44 2c 0d 0a 09 53 45 52 56 SHANDLED,...SERV
1520: 45 52 43 41 4c 4c 5f 52 45 4a 45 43 54 45 44 2c ERCALL_REJECTED,
1530: 0d 0a 09 53 45 52 56 45 52 43 41 4c 4c 5f 52 45 ...SERVERCALL_RE
1540: 54 52 59 4c 41 54 45 52 0d 0a 7d 0d 0a 0d 0a 73 TRYLATER..}....s
1550: 74 72 75 63 74 20 43 41 55 42 20 7b 0d 0a 09 55 truct CAUB {...U
1560: 4c 4f 4e 47 20 63 45 6c 65 6d 73 3b 0d 0a 09 75 LONG cElems;...u
1570: 62 79 74 65 2a 20 70 45 6c 65 6d 73 3b 0d 0a 7d byte* pElems;..}
1580: 0d 0a 0d 0a 73 74 72 75 63 74 20 43 41 49 20 7b ....struct CAI {
1590: 0d 0a 09 55 4c 4f 4e 47 20 63 45 6c 65 6d 73 3b ...ULONG cElems;
15a0: 0d 0a 09 73 68 6f 72 74 2a 20 70 45 6c 65 6d 73 ...short* pElems
15b0: 3b 0d 0a 7d 0d 0a 0d 0a 73 74 72 75 63 74 20 43 ;..}....struct C
15c0: 41 55 49 20 7b 0d 0a 09 55 4c 4f 4e 47 20 63 45 AUI {...ULONG cE
15d0: 6c 65 6d 73 3b 0d 0a 09 55 53 48 4f 52 54 2a 20 lems;...USHORT*
15e0: 70 45 6c 65 6d 73 3b 0d 0a 7d 0d 0a 0d 0a 73 74 pElems;..}....st
15f0: 72 75 63 74 20 43 41 4c 20 7b 0d 0a 09 55 4c 4f ruct CAL {...ULO
1600: 4e 47 20 63 45 6c 65 6d 73 3b 0d 0a 09 69 6e 74 NG cElems;...int
1610: 2a 20 70 45 6c 65 6d 73 3b 0d 0a 7d 0d 0a 0d 0a * pElems;..}....
1620: 73 74 72 75 63 74 20 43 41 55 4c 20 7b 0d 0a 09 struct CAUL {...
1630: 55 4c 4f 4e 47 20 63 45 6c 65 6d 73 3b 0d 0a 09 ULONG cElems;...
1640: 55 4c 4f 4e 47 2a 20 70 45 6c 65 6d 73 3b 0d 0a ULONG* pElems;..
1650: 7d 0d 0a 0d 0a 73 74 72 75 63 74 20 43 41 46 4c }....struct CAFL
1660: 54 20 7b 0d 0a 09 55 4c 4f 4e 47 20 63 45 6c 65 T {...ULONG cEle
1670: 6d 73 3b 0d 0a 09 66 6c 6f 61 74 2a 20 70 45 6c ms;...float* pEl
1680: 65 6d 73 3b 0d 0a 7d 0d 0a 0d 0a 73 74 72 75 63 ems;..}....struc
1690: 74 20 43 41 44 42 4c 20 7b 0d 0a 09 55 4c 4f 4e t CADBL {...ULON
16a0: 47 20 63 45 6c 65 6d 73 3b 0d 0a 09 64 6f 75 62 G cElems;...doub
16b0: 6c 65 2a 20 70 45 6c 65 6d 73 3b 0d 0a 7d 0d 0a le* pElems;..}..
16c0: 0d 0a 73 74 72 75 63 74 20 43 41 43 59 20 7b 0d ..struct CACY {.
16d0: 0a 09 55 4c 4f 4e 47 20 63 45 6c 65 6d 73 3b 0d ..ULONG cElems;.
16e0: 0a 09 43 59 2a 20 70 45 6c 65 6d 73 3b 0d 0a 7d ..CY* pElems;..}
16f0: 0d 0a 0d 0a 73 74 72 75 63 74 20 43 41 44 41 54 ....struct CADAT
1700: 45 20 7b 0d 0a 09 55 4c 4f 4e 47 20 63 45 6c 65 E {...ULONG cEle
1710: 6d 73 3b 0d 0a 09 44 41 54 45 2a 20 70 45 6c 65 ms;...DATE* pEle
1720: 6d 73 3b 0d 0a 7d 0d 0a 0d 0a 73 74 72 75 63 74 ms;..}....struct
1730: 20 43 41 42 53 54 52 20 7b 0d 0a 09 55 4c 4f 4e CABSTR {...ULON
1740: 47 20 63 45 6c 65 6d 73 3b 0d 0a 09 42 53 54 52 G cElems;...BSTR
1750: 2a 20 20 70 45 6c 65 6d 73 3b 0d 0a 7d 0d 0a 0d * pElems;..}...
1760: 0a 73 74 72 75 63 74 20 43 41 42 53 54 52 42 4c .struct CABSTRBL
1770: 4f 42 20 7b 0d 0a 09 55 4c 4f 4e 47 20 63 45 6c OB {...ULONG cEl
1780: 65 6d 73 3b 0d 0a 09 42 53 54 52 42 4c 4f 42 2a ems;...BSTRBLOB*
1790: 20 70 45 6c 65 6d 73 3b 0d 0a 7d 0d 0a 0d 0a 73 pElems;..}....s
17a0: 74 72 75 63 74 20 43 41 42 4f 4f 4c 20 7b 0d 0a truct CABOOL {..
17b0: 09 55 4c 4f 4e 47 20 63 45 6c 65 6d 73 3b 0d 0a .ULONG cElems;..
17c0: 09 56 41 52 49 41 4e 54 5f 42 4f 4f 4c 2a 20 70 .VARIANT_BOOL* p
17d0: 45 6c 65 6d 73 3b 0d 0a 7d 0d 0a 0d 0a 73 74 72 Elems;..}....str
17e0: 75 63 74 20 43 41 53 43 4f 44 45 20 7b 0d 0a 09 uct CASCODE {...
17f0: 55 4c 4f 4e 47 20 63 45 6c 65 6d 73 3b 0d 0a 09 ULONG cElems;...
1800: 53 43 4f 44 45 2a 20 70 45 6c 65 6d 73 3b 0d 0a SCODE* pElems;..
1810: 7d 0d 0a 0d 0a 73 74 72 75 63 74 20 43 41 48 20 }....struct CAH
1820: 7b 0d 0a 09 55 4c 4f 4e 47 20 63 45 6c 65 6d 73 {...ULONG cElems
1830: 3b 0d 0a 09 4c 41 52 47 45 5f 49 4e 54 45 47 45 ;...LARGE_INTEGE
1840: 52 2a 20 70 45 6c 65 6d 73 3b 0d 0a 7d 0d 0a 0d R* pElems;..}...
1850: 0a 73 74 72 75 63 74 20 43 41 55 48 20 7b 0d 0a .struct CAUH {..
1860: 09 55 4c 4f 4e 47 20 63 45 6c 65 6d 73 3b 0d 0a .ULONG cElems;..
1870: 09 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2a .ULARGE_INTEGER*
1880: 20 70 45 6c 65 6d 73 3b 0d 0a 7d 0d 0a 0d 0a 73 pElems;..}....s
1890: 74 72 75 63 74 20 43 41 4c 50 53 54 52 20 7b 0d truct CALPSTR {.
18a0: 0a 09 55 4c 4f 4e 47 20 63 45 6c 65 6d 73 3b 0d ..ULONG cElems;.
18b0: 0a 09 4c 50 53 54 52 2a 20 70 45 6c 65 6d 73 3b ..LPSTR* pElems;
18c0: 0d 0a 7d 0d 0a 0d 0a 73 74 72 75 63 74 20 43 41 ..}....struct CA
18d0: 4c 50 57 53 54 52 20 7b 0d 0a 09 55 4c 4f 4e 47 LPWSTR {...ULONG
18e0: 20 63 45 6c 65 6d 73 3b 0d 0a 09 4c 50 57 53 54 cElems;...LPWST
18f0: 52 2a 20 70 45 6c 65 6d 73 3b 0d 0a 7d 0d 0a 0d R* pElems;..}...
1900: 0a 73 74 72 75 63 74 20 43 41 46 49 4c 45 54 49 .struct CAFILETI
1910: 4d 45 20 7b 0d 0a 09 55 4c 4f 4e 47 20 63 45 6c ME {...ULONG cEl
1920: 65 6d 73 3b 0d 0a 09 46 49 4c 45 54 49 4d 45 2a ems;...FILETIME*
1930: 20 70 45 6c 65 6d 73 3b 0d 0a 7d 0d 0a 0d 0a 73 pElems;..}....s
1940: 74 72 75 63 74 20 43 41 43 4c 49 50 44 41 54 41 truct CACLIPDATA
1950: 20 7b 0d 0a 09 55 4c 4f 4e 47 20 63 45 6c 65 6d {...ULONG cElem
1960: 73 3b 0d 0a 09 43 4c 49 50 44 41 54 41 2a 20 70 s;...CLIPDATA* p
1970: 45 6c 65 6d 73 3b 0d 0a 7d 0d 0a 0d 0a 73 74 72 Elems;..}....str
1980: 75 63 74 20 43 41 43 4c 53 49 44 20 7b 0d 0a 09 uct CACLSID {...
1990: 55 4c 4f 4e 47 20 63 45 6c 65 6d 73 3b 0d 0a 09 ULONG cElems;...
19a0: 43 4c 53 49 44 2a 20 70 45 6c 65 6d 73 3b 0d 0a CLSID* pElems;..
19b0: 7d 0d 0a 61 6c 69 61 73 20 50 52 4f 50 56 41 52 }..alias PROPVAR
19c0: 49 41 4e 54 2a 20 4c 50 50 52 4f 50 56 41 52 49 IANT* LPPROPVARI
19d0: 41 4e 54 3b 0d 0a 0d 0a 73 74 72 75 63 74 20 43 ANT;....struct C
19e0: 41 50 52 4f 50 56 41 52 49 41 4e 54 20 7b 0d 0a APROPVARIANT {..
19f0: 09 55 4c 4f 4e 47 20 63 45 6c 65 6d 73 3b 0d 0a .ULONG cElems;..
1a00: 09 4c 50 50 52 4f 50 56 41 52 49 41 4e 54 20 70 .LPPROPVARIANT p
1a10: 45 6c 65 6d 73 3b 0d 0a 7d 0d 0a 0d 0a 73 74 72 Elems;..}....str
1a20: 75 63 74 20 50 52 4f 50 56 41 52 49 41 4e 54 20 uct PROPVARIANT
1a30: 7b 0d 0a 09 56 41 52 54 59 50 45 20 76 74 3b 0d {...VARTYPE vt;.
1a40: 0a 09 57 4f 52 44 20 77 52 65 73 65 72 76 65 64 ..WORD wReserved
1a50: 31 3b 0d 0a 09 57 4f 52 44 20 77 52 65 73 65 72 1;...WORD wReser
1a60: 76 65 64 32 3b 0d 0a 09 57 4f 52 44 20 77 52 65 ved2;...WORD wRe
1a70: 73 65 72 76 65 64 33 3b 0d 0a 09 75 6e 69 6f 6e served3;...union
1a80: 20 7b 0d 0a 09 09 43 48 41 52 20 63 56 61 6c 3b {....CHAR cVal;
1a90: 0d 0a 09 09 55 43 48 41 52 20 62 56 61 6c 3b 0d ....UCHAR bVal;.
1aa0: 0a 09 09 73 68 6f 72 74 20 69 56 61 6c 3b 0d 0a ...short iVal;..
1ab0: 09 09 55 53 48 4f 52 54 20 75 69 56 61 6c 3b 0d ..USHORT uiVal;.
1ac0: 0a 09 09 56 41 52 49 41 4e 54 5f 42 4f 4f 4c 20 ...VARIANT_BOOL
1ad0: 62 6f 6f 6c 56 61 6c 3b 0d 0a 09 09 69 6e 74 20 boolVal;....int
1ae0: 6c 56 61 6c 3b 0d 0a 09 09 55 4c 4f 4e 47 20 75 lVal;....ULONG u
1af0: 6c 56 61 6c 3b 0d 0a 09 09 66 6c 6f 61 74 20 66 lVal;....float f
1b00: 6c 74 56 61 6c 3b 0d 0a 09 09 53 43 4f 44 45 20 ltVal;....SCODE
1b10: 73 63 6f 64 65 3b 0d 0a 09 09 4c 41 52 47 45 5f scode;....LARGE_
1b20: 49 4e 54 45 47 45 52 20 68 56 61 6c 3b 0d 0a 09 INTEGER hVal;...
1b30: 09 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 20 .ULARGE_INTEGER
1b40: 75 68 56 61 6c 3b 0d 0a 09 09 64 6f 75 62 6c 65 uhVal;....double
1b50: 20 64 62 6c 56 61 6c 3b 0d 0a 09 09 43 59 20 63 dblVal;....CY c
1b60: 79 56 61 6c 3b 0d 0a 09 09 44 41 54 45 20 64 61 yVal;....DATE da
1b70: 74 65 3b 0d 0a 09 09 46 49 4c 45 54 49 4d 45 20 te;....FILETIME
1b80: 66 69 6c 65 74 69 6d 65 3b 0d 0a 09 09 43 4c 53 filetime;....CLS
1b90: 49 44 2a 20 70 75 75 69 64 3b 0d 0a 09 09 42 4c ID* puuid;....BL
1ba0: 4f 42 20 62 6c 6f 62 3b 0d 0a 09 09 43 4c 49 50 OB blob;....CLIP
1bb0: 44 41 54 41 2a 20 70 63 6c 69 70 64 61 74 61 3b DATA* pclipdata;
1bc0: 0d 0a 09 09 4c 50 53 54 52 45 41 4d 20 70 53 74 ....LPSTREAM pSt
1bd0: 72 65 61 6d 3b 0d 0a 09 09 4c 50 53 54 4f 52 41 ream;....LPSTORA
1be0: 47 45 20 70 53 74 6f 72 61 67 65 3b 0d 0a 09 09 GE pStorage;....
1bf0: 42 53 54 52 20 62 73 74 72 56 61 6c 3b 0d 0a 09 BSTR bstrVal;...
1c00: 09 42 53 54 52 42 4c 4f 42 20 62 73 74 72 62 6c .BSTRBLOB bstrbl
1c10: 6f 62 56 61 6c 3b 0d 0a 09 09 4c 50 53 54 52 20 obVal;....LPSTR
1c20: 70 73 7a 56 61 6c 3b 0d 0a 09 09 4c 50 57 53 54 pszVal;....LPWST
1c30: 52 20 70 77 73 7a 56 61 6c 3b 0d 0a 09 09 43 41 R pwszVal;....CA
1c40: 55 42 20 63 61 75 62 3b 0d 0a 09 09 43 41 49 20 UB caub;....CAI
1c50: 63 61 69 3b 0d 0a 09 09 43 41 55 49 20 63 61 75 cai;....CAUI cau
1c60: 69 3b 0d 0a 09 09 43 41 42 4f 4f 4c 20 63 61 62 i;....CABOOL cab
1c70: 6f 6f 6c 3b 0d 0a 09 09 43 41 4c 20 63 61 6c 3b ool;....CAL cal;
1c80: 0d 0a 09 09 43 41 55 4c 20 63 61 75 6c 3b 0d 0a ....CAUL caul;..
1c90: 09 09 43 41 46 4c 54 20 63 61 66 6c 74 3b 0d 0a ..CAFLT caflt;..
1ca0: 09 09 43 41 53 43 4f 44 45 20 63 61 73 63 6f 64 ..CASCODE cascod
1cb0: 65 3b 0d 0a 09 09 43 41 48 20 63 61 68 3b 0d 0a e;....CAH cah;..
1cc0: 09 09 43 41 55 48 20 63 61 75 68 3b 0d 0a 09 09 ..CAUH cauh;....
1cd0: 43 41 44 42 4c 20 63 61 64 62 6c 3b 0d 0a 09 09 CADBL cadbl;....
1ce0: 43 41 43 59 20 63 61 63 79 3b 0d 0a 09 09 43 41 CACY cacy;....CA
1cf0: 44 41 54 45 20 63 61 64 61 74 65 3b 0d 0a 09 09 DATE cadate;....
1d00: 43 41 46 49 4c 45 54 49 4d 45 20 63 61 66 69 6c CAFILETIME cafil
1d10: 65 74 69 6d 65 3b 0d 0a 09 09 43 41 43 4c 53 49 etime;....CACLSI
1d20: 44 20 63 61 75 75 69 64 3b 0d 0a 09 09 43 41 43 D cauuid;....CAC
1d30: 4c 49 50 44 41 54 41 20 63 61 63 6c 69 70 64 61 LIPDATA caclipda
1d40: 74 61 3b 0d 0a 09 09 43 41 42 53 54 52 20 63 61 ta;....CABSTR ca
1d50: 62 73 74 72 3b 0d 0a 09 09 43 41 42 53 54 52 42 bstr;....CABSTRB
1d60: 4c 4f 42 20 63 61 62 73 74 72 62 6c 6f 62 3b 0d LOB cabstrblob;.
1d70: 0a 09 09 43 41 4c 50 53 54 52 20 63 61 6c 70 73 ...CALPSTR calps
1d80: 74 72 3b 0d 0a 09 09 43 41 4c 50 57 53 54 52 20 tr;....CALPWSTR
1d90: 63 61 6c 70 77 73 74 72 3b 0d 0a 09 09 43 41 50 calpwstr;....CAP
1da0: 52 4f 50 56 41 52 49 41 4e 54 20 63 61 70 72 6f ROPVARIANT capro
1db0: 70 76 61 72 3b 0d 0a 09 7d 0d 0a 7d 0d 0a 0d 0a pvar;...}..}....
1dc0: 73 74 72 75 63 74 20 50 52 4f 50 53 50 45 43 20 struct PROPSPEC
1dd0: 7b 0d 0a 09 55 4c 4f 4e 47 20 75 6c 4b 69 6e 64 {...ULONG ulKind
1de0: 3b 0d 0a 09 75 6e 69 6f 6e 20 7b 0d 0a 09 09 50 ;...union {....P
1df0: 52 4f 50 49 44 20 70 72 6f 70 69 64 3b 0d 0a 09 ROPID propid;...
1e00: 09 4c 50 4f 4c 45 53 54 52 20 6c 70 77 73 74 72 .LPOLESTR lpwstr
1e10: 3b 0d 0a 09 7d 0d 0a 7d 0d 0a 0d 0a 73 74 72 75 ;...}..}....stru
1e20: 63 74 20 20 53 54 41 54 50 52 4f 50 53 54 47 20 ct STATPROPSTG
1e30: 7b 0d 0a 09 4c 50 4f 4c 45 53 54 52 20 6c 70 77 {...LPOLESTR lpw
1e40: 73 74 72 4e 61 6d 65 3b 0d 0a 09 50 52 4f 50 49 strName;...PROPI
1e50: 44 20 70 72 6f 70 69 64 3b 0d 0a 09 56 41 52 54 D propid;...VART
1e60: 59 50 45 20 76 74 3b 0d 0a 7d 0d 0a 0d 0a 65 6e YPE vt;..}....en
1e70: 75 6d 20 50 52 4f 50 53 45 54 46 4c 41 47 20 7b um PROPSETFLAG {
1e80: 0d 0a 09 50 52 4f 50 53 45 54 46 4c 41 47 5f 44 ...PROPSETFLAG_D
1e90: 45 46 41 55 4c 54 2c 0d 0a 09 50 52 4f 50 53 45 EFAULT,...PROPSE
1ea0: 54 46 4c 41 47 5f 4e 4f 4e 53 49 4d 50 4c 45 2c TFLAG_NONSIMPLE,
1eb0: 0d 0a 09 50 52 4f 50 53 45 54 46 4c 41 47 5f 41 ...PROPSETFLAG_A
1ec0: 4e 53 49 2c 0d 0a 09 50 52 4f 50 53 45 54 46 4c NSI,...PROPSETFL
1ed0: 41 47 5f 55 4e 42 55 46 46 45 52 45 44 20 3d 20 AG_UNBUFFERED =
1ee0: 34 0d 0a 7d 0d 0a 0d 0a 73 74 72 75 63 74 20 53 4..}....struct S
1ef0: 54 4f 52 41 47 45 4c 41 59 4f 55 54 20 7b 0d 0a TORAGELAYOUT {..
1f00: 09 44 57 4f 52 44 20 4c 61 79 6f 75 74 54 79 70 .DWORD LayoutTyp
1f10: 65 3b 0d 0a 09 4f 4c 45 43 48 41 52 2a 20 70 77 e;...OLECHAR* pw
1f20: 63 73 45 6c 65 6d 65 6e 74 4e 61 6d 65 3b 0d 0a csElementName;..
1f30: 09 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 20 63 .LARGE_INTEGER c
1f40: 4f 66 66 73 65 74 3b 0d 0a 09 4c 41 52 47 45 5f Offset;...LARGE_
1f50: 49 4e 54 45 47 45 52 20 63 42 79 74 65 73 3b 0d INTEGER cBytes;.
1f60: 0a 7d 0d 0a 0d 0a 73 74 72 75 63 74 20 53 4f 4c .}....struct SOL
1f70: 45 5f 41 55 54 48 45 4e 54 49 43 41 54 49 4f 4e E_AUTHENTICATION
1f80: 5f 53 45 52 56 49 43 45 20 7b 0d 0a 09 44 57 4f _SERVICE {...DWO
1f90: 52 44 20 64 77 41 75 74 68 6e 53 76 63 3b 0d 0a RD dwAuthnSvc;..
1fa0: 09 44 57 4f 52 44 20 64 77 41 75 74 68 7a 53 76 .DWORD dwAuthzSv
1fb0: 63 3b 0d 0a 09 4f 4c 45 43 48 41 52 2a 20 70 50 c;...OLECHAR* pP
1fc0: 72 69 6e 63 69 70 61 6c 4e 61 6d 65 3b 0d 0a 09 rincipalName;...
1fd0: 48 52 45 53 55 4c 54 20 68 72 3b 0d 0a 7d 0d 0a HRESULT hr;..}..
1fe0: 0d 0a 63 6f 6e 73 74 20 4f 4c 45 43 48 41 52 2a ..const OLECHAR*
1ff0: 20 43 4f 4c 45 5f 44 45 46 41 55 4c 54 5f 50 52 COLE_DEFAULT_PR
2000: 49 4e 43 49 50 41 4c 20 3d 20 63 61 73 74 20 28 INCIPAL = cast (
2010: 20 4f 4c 45 43 48 41 52 2a 20 29 28 2d 31 29 3b OLECHAR* )(-1);
2020: 0d 0a 0d 0a 65 6e 75 6d 20 45 4f 4c 45 5f 41 55 ....enum EOLE_AU
2030: 54 48 45 4e 54 49 43 41 54 49 4f 4e 5f 43 41 50 THENTICATION_CAP
2040: 41 42 49 4c 49 54 49 45 53 20 7b 0d 0a 09 45 4f ABILITIES {...EO
2050: 41 43 5f 4e 4f 4e 45 20 20 20 20 20 20 20 20 20 AC_NONE
2060: 20 20 20 20 20 3d 20 30 2c 0d 0a 09 45 4f 41 43 = 0,...EOAC
2070: 5f 4d 55 54 55 41 4c 5f 41 55 54 48 20 20 20 20 _MUTUAL_AUTH
2080: 20 20 20 3d 20 30 78 31 2c 0d 0a 09 45 4f 41 43 = 0x1,...EOAC
2090: 5f 53 45 43 55 52 45 5f 52 45 46 53 20 20 20 20 _SECURE_REFS
20a0: 20 20 20 3d 20 30 78 32 2c 0d 0a 09 45 4f 41 43 = 0x2,...EOAC
20b0: 5f 41 43 43 45 53 53 5f 43 4f 4e 54 52 4f 4c 20 _ACCESS_CONTROL
20c0: 20 20 20 3d 20 30 78 34 2c 0d 0a 09 45 4f 41 43 = 0x4,...EOAC
20d0: 5f 41 50 50 49 44 20 20 20 20 20 20 20 20 20 20 _APPID
20e0: 20 20 20 3d 20 30 78 38 2c 0d 0a 09 45 4f 41 43 = 0x8,...EOAC
20f0: 5f 44 59 4e 41 4d 49 43 20 20 20 20 20 20 20 20 _DYNAMIC
2100: 20 20 20 3d 20 30 78 31 30 2c 0d 0a 09 45 4f 41 = 0x10,...EOA
2110: 43 5f 53 54 41 54 49 43 5f 43 4c 4f 41 4b 49 4e C_STATIC_CLOAKIN
2120: 47 20 20 20 3d 20 30 78 32 30 2c 0d 0a 09 45 4f G = 0x20,...EO
2130: 41 43 5f 44 59 4e 41 4d 49 43 5f 43 4c 4f 41 4b AC_DYNAMIC_CLOAK
2140: 49 4e 47 20 20 3d 20 30 78 34 30 2c 0d 0a 09 45 ING = 0x40,...E
2150: 4f 41 43 5f 41 4e 59 5f 41 55 54 48 4f 52 49 54 OAC_ANY_AUTHORIT
2160: 59 20 20 20 20 20 3d 20 30 78 38 30 2c 0d 0a 09 Y = 0x80,...
2170: 45 4f 41 43 5f 4d 41 4b 45 5f 46 55 4c 4c 53 49 EOAC_MAKE_FULLSI
2180: 43 20 20 20 20 20 20 3d 20 30 78 31 30 30 2c 0d C = 0x100,.
2190: 0a 09 45 4f 41 43 5f 52 45 51 55 49 52 45 5f 46 ..EOAC_REQUIRE_F
21a0: 55 4c 4c 53 49 43 20 20 20 3d 20 30 78 32 30 30 ULLSIC = 0x200
21b0: 2c 0d 0a 09 45 4f 41 43 5f 41 55 54 4f 5f 49 4d ,...EOAC_AUTO_IM
21c0: 50 45 52 53 4f 4e 41 54 45 20 20 3d 20 30 78 34 PERSONATE = 0x4
21d0: 30 30 2c 0d 0a 09 45 4f 41 43 5f 44 45 46 41 55 00,...EOAC_DEFAU
21e0: 4c 54 20 20 20 20 20 20 20 20 20 20 20 3d 20 30 LT = 0
21f0: 78 38 30 30 2c 0d 0a 09 45 4f 41 43 5f 44 49 53 x800,...EOAC_DIS
2200: 41 42 4c 45 5f 41 41 41 20 20 20 20 20 20 20 3d ABLE_AAA =
2210: 20 30 78 31 30 30 30 2c 0d 0a 09 45 4f 41 43 5f 0x1000,...EOAC_
2220: 4e 4f 5f 43 55 53 54 4f 4d 5f 4d 41 52 53 48 41 NO_CUSTOM_MARSHA
2230: 4c 20 3d 20 30 78 32 30 30 30 0d 0a 7d 0d 0a 0d L = 0x2000..}...
2240: 0a 73 74 72 75 63 74 20 53 4f 4c 45 5f 41 55 54 .struct SOLE_AUT
2250: 48 45 4e 54 49 43 41 54 49 4f 4e 5f 49 4e 46 4f HENTICATION_INFO
2260: 20 7b 0d 0a 09 44 57 4f 52 44 20 64 77 41 75 74 {...DWORD dwAut
2270: 68 6e 53 76 63 3b 0d 0a 09 44 57 4f 52 44 20 64 hnSvc;...DWORD d
2280: 77 41 75 74 68 7a 53 76 63 3b 0d 0a 09 76 6f 69 wAuthzSvc;...voi
2290: 64 2a 20 70 41 75 74 68 49 6e 66 6f 3b 0d 0a 7d d* pAuthInfo;..}
22a0: 0d 0a 0d 0a 63 6f 6e 73 74 20 76 6f 69 64 2a 20 ....const void*
22b0: 43 4f 4c 45 5f 44 45 46 41 55 4c 54 5f 41 55 54 COLE_DEFAULT_AUT
22c0: 48 49 4e 46 4f 20 3d 20 63 61 73 74 28 20 76 6f HINFO = cast( vo
22d0: 69 64 2a 20 29 28 2d 31 20 29 3b 0d 0a 0d 0a 73 id* )(-1 );....s
22e0: 74 72 75 63 74 20 53 4f 4c 45 5f 41 55 54 48 45 truct SOLE_AUTHE
22f0: 4e 54 49 43 41 54 49 4f 4e 5f 4c 49 53 54 20 7b NTICATION_LIST {
2300: 0d 0a 09 44 57 4f 52 44 20 63 41 75 74 68 49 6e ...DWORD cAuthIn
2310: 66 6f 3b 0d 0a 09 53 4f 4c 45 5f 41 55 54 48 45 fo;...SOLE_AUTHE
2320: 4e 54 49 43 41 54 49 4f 4e 5f 49 4e 46 4f 2a 20 NTICATION_INFO*
2330: 61 41 75 74 68 49 6e 66 6f 3b 0d 0a 7d 0d 0a 0d aAuthInfo;..}...
2340: 0a 69 6e 74 65 72 66 61 63 65 20 49 45 6e 75 6d .interface IEnum
2350: 46 4f 52 4d 41 54 45 54 43 20 3a 20 49 55 6e 6b FORMATETC : IUnk
2360: 6e 6f 77 6e 20 7b 0d 0a 09 20 20 48 52 45 53 55 nown {... HRESU
2370: 4c 54 20 4e 65 78 74 28 55 4c 4f 4e 47 2c 20 46 LT Next(ULONG, F
2380: 4f 52 4d 41 54 45 54 43 2a 2c 20 55 4c 4f 4e 47 ORMATETC*, ULONG
2390: 2a 29 3b 0d 0a 09 20 20 48 52 45 53 55 4c 54 20 *);... HRESULT
23a0: 53 6b 69 70 28 55 4c 4f 4e 47 29 3b 0d 0a 09 20 Skip(ULONG);...
23b0: 20 48 52 45 53 55 4c 54 20 52 65 73 65 74 28 29 HRESULT Reset()
23c0: 3b 0d 0a 09 20 20 48 52 45 53 55 4c 54 20 43 6c ;... HRESULT Cl
23d0: 6f 6e 65 28 49 45 6e 75 6d 46 4f 52 4d 41 54 45 one(IEnumFORMATE
23e0: 54 43 2a 29 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 TC*);..}....inte
23f0: 72 66 61 63 65 20 49 45 6e 75 6d 48 4c 49 54 45 rface IEnumHLITE
2400: 4d 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a M : IUnknown {..
2410: 09 20 20 48 52 45 53 55 4c 54 20 4e 65 78 74 28 . HRESULT Next(
2420: 55 4c 4f 4e 47 2c 20 48 4c 49 54 45 4d 2a 2c 20 ULONG, HLITEM*,
2430: 55 4c 4f 4e 47 2a 29 3b 0d 0a 09 20 20 48 52 45 ULONG*);... HRE
2440: 53 55 4c 54 20 53 6b 69 70 28 55 4c 4f 4e 47 29 SULT Skip(ULONG)
2450: 3b 0d 0a 09 20 20 48 52 45 53 55 4c 54 20 52 65 ;... HRESULT Re
2460: 73 65 74 28 29 3b 0d 0a 09 20 20 48 52 45 53 55 set();... HRESU
2470: 4c 54 20 43 6c 6f 6e 65 28 49 45 6e 75 6d 48 4c LT Clone(IEnumHL
2480: 49 54 45 4d 2a 29 3b 0d 0a 7d 0d 0a 0d 0a 69 6e ITEM*);..}....in
2490: 74 65 72 66 61 63 65 20 49 45 6e 75 6d 53 54 41 terface IEnumSTA
24a0: 54 44 41 54 41 20 3a 20 49 55 6e 6b 6e 6f 77 6e TDATA : IUnknown
24b0: 20 7b 0d 0a 09 20 20 48 52 45 53 55 4c 54 20 4e {... HRESULT N
24c0: 65 78 74 28 55 4c 4f 4e 47 2c 20 53 54 41 54 44 ext(ULONG, STATD
24d0: 41 54 41 2a 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a ATA*, ULONG*);..
24e0: 09 20 20 48 52 45 53 55 4c 54 20 53 6b 69 70 28 . HRESULT Skip(
24f0: 55 4c 4f 4e 47 29 3b 0d 0a 09 20 20 48 52 45 53 ULONG);... HRES
2500: 55 4c 54 20 52 65 73 65 74 28 29 3b 0d 0a 09 20 ULT Reset();...
2510: 20 48 52 45 53 55 4c 54 20 43 6c 6f 6e 65 28 49 HRESULT Clone(I
2520: 45 6e 75 6d 53 54 41 54 44 41 54 41 2a 29 3b 0d EnumSTATDATA*);.
2530: 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 66 61 63 65 20 .}....interface
2540: 49 45 6e 75 6d 53 54 41 54 50 52 4f 50 53 45 54 IEnumSTATPROPSET
2550: 53 54 47 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b STG : IUnknown {
2560: 0d 0a 09 20 20 48 52 45 53 55 4c 54 20 4e 65 78 ... HRESULT Nex
2570: 74 28 55 4c 4f 4e 47 2c 20 53 54 41 54 50 52 4f t(ULONG, STATPRO
2580: 50 53 45 54 53 54 47 2a 2c 20 55 4c 4f 4e 47 2a PSETSTG*, ULONG*
2590: 29 3b 0d 0a 09 20 20 48 52 45 53 55 4c 54 20 53 );... HRESULT S
25a0: 6b 69 70 28 55 4c 4f 4e 47 29 3b 0d 0a 09 20 20 kip(ULONG);...
25b0: 48 52 45 53 55 4c 54 20 52 65 73 65 74 28 29 3b HRESULT Reset();
25c0: 0d 0a 09 20 20 48 52 45 53 55 4c 54 20 43 6c 6f ... HRESULT Clo
25d0: 6e 65 28 49 45 6e 75 6d 53 54 41 54 50 52 4f 50 ne(IEnumSTATPROP
25e0: 53 45 54 53 54 47 2a 29 3b 0d 0a 7d 0d 0a 0d 0a SETSTG*);..}....
25f0: 69 6e 74 65 72 66 61 63 65 20 49 45 6e 75 6d 53 interface IEnumS
2600: 54 41 54 50 52 4f 50 53 54 47 20 3a 20 49 55 6e TATPROPSTG : IUn
2610: 6b 6e 6f 77 6e 20 7b 0d 0a 09 20 20 48 52 45 53 known {... HRES
2620: 55 4c 54 20 4e 65 78 74 28 55 4c 4f 4e 47 2c 20 ULT Next(ULONG,
2630: 53 54 41 54 50 52 4f 50 53 54 47 2a 2c 20 55 4c STATPROPSTG*, UL
2640: 4f 4e 47 2a 29 3b 0d 0a 09 20 20 48 52 45 53 55 ONG*);... HRESU
2650: 4c 54 20 53 6b 69 70 28 55 4c 4f 4e 47 29 3b 0d LT Skip(ULONG);.
2660: 0a 09 20 20 48 52 45 53 55 4c 54 20 52 65 73 65 .. HRESULT Rese
2670: 74 28 29 3b 0d 0a 09 20 20 48 52 45 53 55 4c 54 t();... HRESULT
2680: 20 43 6c 6f 6e 65 28 49 45 6e 75 6d 53 54 41 54 Clone(IEnumSTAT
2690: 50 52 4f 50 53 54 47 2a 29 3b 0d 0a 7d 0d 0a 0d PROPSTG*);..}...
26a0: 0a 69 6e 74 65 72 66 61 63 65 20 49 45 6e 75 6d .interface IEnum
26b0: 53 54 41 54 53 54 47 20 3a 20 49 55 6e 6b 6e 6f STATSTG : IUnkno
26c0: 77 6e 20 7b 0d 0a 09 20 20 48 52 45 53 55 4c 54 wn {... HRESULT
26d0: 20 4e 65 78 74 28 55 4c 4f 4e 47 2c 20 53 54 41 Next(ULONG, STA
26e0: 54 53 54 47 2a 2c 20 55 4c 4f 4e 47 2a 29 3b 0d TSTG*, ULONG*);.
26f0: 0a 09 20 20 48 52 45 53 55 4c 54 20 53 6b 69 70 .. HRESULT Skip
2700: 28 55 4c 4f 4e 47 29 3b 0d 0a 09 20 20 48 52 45 (ULONG);... HRE
2710: 53 55 4c 54 20 52 65 73 65 74 28 29 3b 0d 0a 09 SULT Reset();...
2720: 20 20 48 52 45 53 55 4c 54 20 43 6c 6f 6e 65 28 HRESULT Clone(
2730: 49 45 6e 75 6d 53 54 41 54 53 54 47 2a 29 3b 0d IEnumSTATSTG*);.
2740: 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 66 61 63 65 20 .}....interface
2750: 49 45 6e 75 6d 53 74 72 69 6e 67 20 3a 20 49 55 IEnumString : IU
2760: 6e 6b 6e 6f 77 6e 20 7b 0d 0a 09 20 20 48 52 45 nknown {... HRE
2770: 53 55 4c 54 20 4e 65 78 74 28 55 4c 4f 4e 47 2c SULT Next(ULONG,
2780: 20 4c 50 4f 4c 45 53 54 52 2a 2c 20 55 4c 4f 4e LPOLESTR*, ULON
2790: 47 2a 29 3b 0d 0a 09 20 20 48 52 45 53 55 4c 54 G*);... HRESULT
27a0: 20 53 6b 69 70 28 55 4c 4f 4e 47 29 3b 0d 0a 09 Skip(ULONG);...
27b0: 20 20 48 52 45 53 55 4c 54 20 52 65 73 65 74 28 HRESULT Reset(
27c0: 29 3b 0d 0a 09 20 20 48 52 45 53 55 4c 54 20 43 );... HRESULT C
27d0: 6c 6f 6e 65 28 49 45 6e 75 6d 53 74 72 69 6e 67 lone(IEnumString
27e0: 2a 29 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 66 *);..}....interf
27f0: 61 63 65 20 49 45 6e 75 6d 4d 6f 6e 69 6b 65 72 ace IEnumMoniker
2800: 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a 09 : IUnknown {...
2810: 20 20 48 52 45 53 55 4c 54 20 4e 65 78 74 28 55 HRESULT Next(U
2820: 4c 4f 4e 47 2c 20 49 4d 6f 6e 69 6b 65 72 2a 2c LONG, IMoniker*,
2830: 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 09 20 20 48 52 ULONG*);... HR
2840: 45 53 55 4c 54 20 53 6b 69 70 28 55 4c 4f 4e 47 ESULT Skip(ULONG
2850: 29 3b 0d 0a 09 20 20 48 52 45 53 55 4c 54 20 52 );... HRESULT R
2860: 65 73 65 74 28 29 3b 0d 0a 09 20 20 48 52 45 53 eset();... HRES
2870: 55 4c 54 20 43 6c 6f 6e 65 28 49 45 6e 75 6d 4d ULT Clone(IEnumM
2880: 6f 6e 69 6b 65 72 2a 29 3b 0d 0a 7d 0d 0a 0d 0a oniker*);..}....
2890: 0d 0a 69 6e 74 65 72 66 61 63 65 20 49 45 6e 75 ..interface IEnu
28a0: 6d 55 6e 6b 6e 6f 77 6e 20 3a 20 49 55 6e 6b 6e mUnknown : IUnkn
28b0: 6f 77 6e 20 7b 0d 0a 09 20 20 48 52 45 53 55 4c own {... HRESUL
28c0: 54 20 4e 65 78 74 28 55 4c 4f 4e 47 2c 20 49 55 T Next(ULONG, IU
28d0: 6e 6b 6e 6f 77 6e 2a 2c 20 55 4c 4f 4e 47 2a 29 nknown*, ULONG*)
28e0: 3b 0d 0a 09 20 20 48 52 45 53 55 4c 54 20 53 6b ;... HRESULT Sk
28f0: 69 70 28 55 4c 4f 4e 47 29 3b 0d 0a 09 20 20 48 ip(ULONG);... H
2900: 52 45 53 55 4c 54 20 52 65 73 65 74 28 29 3b 0d RESULT Reset();.
2910: 0a 09 20 20 48 52 45 53 55 4c 54 20 43 6c 6f 6e .. HRESULT Clon
2920: 65 28 49 45 6e 75 6d 55 6e 6b 6e 6f 77 6e 2a 29 e(IEnumUnknown*)
2930: 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 66 61 63 ;..}....interfac
2940: 65 20 49 53 65 71 75 65 6e 74 69 61 6c 53 74 72 e ISequentialStr
2950: 65 61 6d 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b eam : IUnknown {
2960: 0d 0a 09 48 52 45 53 55 4c 54 20 52 65 61 64 28 ...HRESULT Read(
2970: 76 6f 69 64 2a 2c 20 55 4c 4f 4e 47 2c 20 55 4c void*, ULONG, UL
2980: 4f 4e 47 2a 29 3b 0d 0a 09 48 52 45 53 55 4c 54 ONG*);...HRESULT
2990: 20 57 72 69 74 65 28 76 6f 69 64 2a 20 2c 20 55 Write(void* , U
29a0: 4c 4f 4e 47 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a LONG, ULONG*);..
29b0: 7d 0d 0a 0d 0a 69 6e 74 65 72 66 61 63 65 20 49 }....interface I
29c0: 53 74 72 65 61 6d 20 3a 20 49 53 65 71 75 65 6e Stream : ISequen
29d0: 74 69 61 6c 53 74 72 65 61 6d 20 7b 0d 0a 09 48 tialStream {...H
29e0: 52 45 53 55 4c 54 20 53 65 65 6b 28 4c 41 52 47 RESULT Seek(LARG
29f0: 45 5f 49 4e 54 45 47 45 52 2c 20 44 57 4f 52 44 E_INTEGER, DWORD
2a00: 2c 20 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 , ULARGE_INTEGER
2a10: 2a 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 53 65 *);...HRESULT Se
2a20: 74 53 69 7a 65 28 55 4c 41 52 47 45 5f 49 4e 54 tSize(ULARGE_INT
2a30: 45 47 45 52 29 3b 0d 0a 09 48 52 45 53 55 4c 54 EGER);...HRESULT
2a40: 20 43 6f 70 79 54 6f 28 49 53 74 72 65 61 6d 2c CopyTo(IStream,
2a50: 20 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2c ULARGE_INTEGER,
2a60: 20 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2a ULARGE_INTEGER*
2a70: 2c 20 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 , ULARGE_INTEGER
2a80: 2a 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 43 6f *);...HRESULT Co
2a90: 6d 6d 69 74 28 44 57 4f 52 44 29 3b 0d 0a 09 48 mmit(DWORD);...H
2aa0: 52 45 53 55 4c 54 20 52 65 76 65 72 74 28 29 3b RESULT Revert();
2ab0: 0d 0a 09 48 52 45 53 55 4c 54 20 4c 6f 63 6b 52 ...HRESULT LockR
2ac0: 65 67 69 6f 6e 28 55 4c 41 52 47 45 5f 49 4e 54 egion(ULARGE_INT
2ad0: 45 47 45 52 2c 20 55 4c 41 52 47 45 5f 49 4e 54 EGER, ULARGE_INT
2ae0: 45 47 45 52 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 EGER, DWORD);...
2af0: 48 52 45 53 55 4c 54 20 55 6e 6c 6f 63 6b 52 65 HRESULT UnlockRe
2b00: 67 69 6f 6e 28 55 4c 41 52 47 45 5f 49 4e 54 45 gion(ULARGE_INTE
2b10: 47 45 52 2c 20 55 4c 41 52 47 45 5f 49 4e 54 45 GER, ULARGE_INTE
2b20: 47 45 52 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 48 GER, DWORD);...H
2b30: 52 45 53 55 4c 54 20 53 74 61 74 28 53 54 41 54 RESULT Stat(STAT
2b40: 53 54 47 2a 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 STG*, DWORD);...
2b50: 48 52 45 53 55 4c 54 20 43 6c 6f 6e 65 28 4c 50 HRESULT Clone(LP
2b60: 53 54 52 45 41 4d 2a 29 3b 0d 0a 7d 0d 0a 0d 0a STREAM*);..}....
2b70: 69 6e 74 65 72 66 61 63 65 20 49 4d 61 72 73 68 interface IMarsh
2b80: 61 6c 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d al : IUnknown {.
2b90: 0a 09 48 52 45 53 55 4c 54 20 47 65 74 55 6e 6d ..HRESULT GetUnm
2ba0: 61 72 73 68 61 6c 43 6c 61 73 73 28 52 45 46 49 arshalClass(REFI
2bb0: 49 44 2c 20 50 56 4f 49 44 2c 20 44 57 4f 52 44 ID, PVOID, DWORD
2bc0: 2c 20 50 56 4f 49 44 2c 20 44 57 4f 52 44 2c 20 , PVOID, DWORD,
2bd0: 43 4c 53 49 44 2a 29 3b 0d 0a 09 48 52 45 53 55 CLSID*);...HRESU
2be0: 4c 54 20 47 65 74 4d 61 72 73 68 61 6c 53 69 7a LT GetMarshalSiz
2bf0: 65 4d 61 78 28 52 45 46 49 49 44 2c 20 50 56 4f eMax(REFIID, PVO
2c00: 49 44 2c 20 44 57 4f 52 44 2c 20 50 56 4f 49 44 ID, DWORD, PVOID
2c10: 2c 20 50 44 57 4f 52 44 2c 20 55 4c 4f 4e 47 2a , PDWORD, ULONG*
2c20: 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 4d 61 72 );...HRESULT Mar
2c30: 73 68 61 6c 49 6e 74 65 72 66 61 63 65 28 49 53 shalInterface(IS
2c40: 74 72 65 61 6d 2c 20 52 45 46 49 49 44 2c 20 50 tream, REFIID, P
2c50: 56 4f 49 44 2c 20 44 57 4f 52 44 2c 20 50 56 4f VOID, DWORD, PVO
2c60: 49 44 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 48 52 ID, DWORD);...HR
2c70: 45 53 55 4c 54 20 55 6e 6d 61 72 73 68 61 6c 49 ESULT UnmarshalI
2c80: 6e 74 65 72 66 61 63 65 28 49 53 74 72 65 61 6d nterface(IStream
2c90: 2c 20 52 45 46 49 49 44 2c 20 76 6f 69 64 2a 2a , REFIID, void**
2ca0: 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 52 65 6c );...HRESULT Rel
2cb0: 65 61 73 65 4d 61 72 73 68 61 6c 44 61 74 61 28 easeMarshalData(
2cc0: 49 53 74 72 65 61 6d 29 3b 0d 0a 09 48 52 45 53 IStream);...HRES
2cd0: 55 4c 54 20 44 69 73 63 6f 6e 6e 65 63 74 4f 62 ULT DisconnectOb
2ce0: 6a 65 63 74 28 44 57 4f 52 44 29 3b 0d 0a 7d 0d ject(DWORD);..}.
2cf0: 0a 0d 0a 69 6e 74 65 72 66 61 63 65 20 49 53 74 ...interface ISt
2d00: 64 4d 61 72 73 68 61 6c 49 6e 66 6f 20 3a 20 49 dMarshalInfo : I
2d10: 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a 09 48 52 45 53 Unknown {...HRES
2d20: 55 4c 54 20 47 65 74 43 6c 61 73 73 46 6f 72 48 ULT GetClassForH
2d30: 61 6e 64 6c 65 72 28 44 57 4f 52 44 2c 20 50 56 andler(DWORD, PV
2d40: 4f 49 44 2c 20 43 4c 53 49 44 2a 29 3b 0d 0a 7d OID, CLSID*);..}
2d50: 0d 0a 0d 0a 69 6e 74 65 72 66 61 63 65 20 49 4d ....interface IM
2d60: 61 6c 6c 6f 63 20 3a 20 49 55 6e 6b 6e 6f 77 6e alloc : IUnknown
2d70: 20 7b 0d 0a 09 76 6f 69 64 2a 20 41 6c 6c 6f 63 {...void* Alloc
2d80: 28 55 4c 4f 4e 47 29 3b 0d 0a 09 76 6f 69 64 2a (ULONG);...void*
2d90: 20 52 65 61 6c 6c 6f 63 28 76 6f 69 64 2a 2c 20 Realloc(void*,
2da0: 55 4c 4f 4e 47 29 3b 0d 0a 09 76 6f 69 64 20 46 ULONG);...void F
2db0: 72 65 65 28 76 6f 69 64 2a 29 3b 0d 0a 09 55 4c ree(void*);...UL
2dc0: 4f 4e 47 20 47 65 74 53 69 7a 65 28 76 6f 69 64 ONG GetSize(void
2dd0: 2a 29 3b 0d 0a 09 69 6e 74 20 44 69 64 41 6c 6c *);...int DidAll
2de0: 6f 63 28 76 6f 69 64 2a 29 3b 0d 0a 09 76 6f 69 oc(void*);...voi
2df0: 64 20 48 65 61 70 4d 69 6e 69 6d 69 7a 65 28 29 d HeapMinimize()
2e00: 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 66 61 63 ;..}....interfac
2e10: 65 20 49 4d 61 6c 6c 6f 63 53 70 79 20 3a 20 49 e IMallocSpy : I
2e20: 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a 09 55 4c 4f 4e Unknown {...ULON
2e30: 47 20 50 72 65 41 6c 6c 6f 63 28 55 4c 4f 4e 47 G PreAlloc(ULONG
2e40: 29 3b 0d 0a 09 76 6f 69 64 2a 20 50 6f 73 74 41 );...void* PostA
2e50: 6c 6c 6f 63 28 76 6f 69 64 2a 29 3b 0d 0a 09 76 lloc(void*);...v
2e60: 6f 69 64 2a 20 50 72 65 46 72 65 65 28 76 6f 69 oid* PreFree(voi
2e70: 64 2a 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 76 6f 69 d*, BOOL);...voi
2e80: 64 20 50 6f 73 74 46 72 65 65 28 42 4f 4f 4c 29 d PostFree(BOOL)
2e90: 3b 0d 0a 09 55 4c 4f 4e 47 20 50 72 65 52 65 61 ;...ULONG PreRea
2ea0: 6c 6c 6f 63 28 76 6f 69 64 2a 2c 20 55 4c 4f 4e lloc(void*, ULON
2eb0: 47 2c 20 76 6f 69 64 2a 2a 2c 20 42 4f 4f 4c 29 G, void**, BOOL)
2ec0: 3b 0d 0a 09 76 6f 69 64 2a 20 50 6f 73 74 52 65 ;...void* PostRe
2ed0: 61 6c 6c 6f 63 28 76 6f 69 64 2a 2c 20 42 4f 4f alloc(void*, BOO
2ee0: 4c 29 3b 0d 0a 09 76 6f 69 64 2a 20 50 72 65 47 L);...void* PreG
2ef0: 65 74 53 69 7a 65 28 76 6f 69 64 2a 2c 20 42 4f etSize(void*, BO
2f00: 4f 4c 29 3b 0d 0a 09 55 4c 4f 4e 47 20 50 6f 73 OL);...ULONG Pos
2f10: 74 47 65 74 53 69 7a 65 28 55 4c 4f 4e 47 2c 20 tGetSize(ULONG,
2f20: 42 4f 4f 4c 29 3b 0d 0a 09 76 6f 69 64 2a 20 50 BOOL);...void* P
2f30: 72 65 44 69 64 41 6c 6c 6f 63 28 76 6f 69 64 2a reDidAlloc(void*
2f40: 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 69 6e 74 20 50 , BOOL);...int P
2f50: 6f 73 74 44 69 64 41 6c 6c 6f 63 28 76 6f 69 64 ostDidAlloc(void
2f60: 2a 2c 20 42 4f 4f 4c 2c 20 69 6e 74 29 3b 0d 0a *, BOOL, int);..
2f70: 09 76 6f 69 64 20 50 72 65 48 65 61 70 4d 69 6e .void PreHeapMin
2f80: 69 6d 69 7a 65 28 29 3b 0d 0a 09 76 6f 69 64 20 imize();...void
2f90: 50 6f 73 74 48 65 61 70 4d 69 6e 69 6d 69 7a 65 PostHeapMinimize
2fa0: 28 29 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 66 ();..}....interf
2fb0: 61 63 65 20 49 4d 65 73 73 61 67 65 46 69 6c 74 ace IMessageFilt
2fc0: 65 72 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d er : IUnknown {.
2fd0: 0a 09 44 57 4f 52 44 20 48 61 6e 64 6c 65 49 6e ..DWORD HandleIn
2fe0: 43 6f 6d 69 6e 67 43 61 6c 6c 28 44 57 4f 52 44 ComingCall(DWORD
2ff0: 2c 20 48 54 41 53 4b 2c 20 44 57 4f 52 44 2c 20 , HTASK, DWORD,
3000: 4c 50 49 4e 54 45 52 46 41 43 45 49 4e 46 4f 29 LPINTERFACEINFO)
3010: 3b 0d 0a 09 44 57 4f 52 44 20 52 65 74 72 79 52 ;...DWORD RetryR
3020: 65 6a 65 63 74 65 64 43 61 6c 6c 28 48 54 41 53 ejectedCall(HTAS
3030: 4b 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 29 K, DWORD, DWORD)
3040: 3b 0d 0a 09 44 57 4f 52 44 20 4d 65 73 73 61 67 ;...DWORD Messag
3050: 65 50 65 6e 64 69 6e 67 28 48 54 41 53 4b 2c 20 ePending(HTASK,
3060: 44 57 4f 52 44 2c 20 44 57 4f 52 44 29 3b 0d 0a DWORD, DWORD);..
3070: 7d 0d 0a 0d 0a 0d 0a 69 6e 74 65 72 66 61 63 65 }......interface
3080: 20 49 50 65 72 73 69 73 74 20 3a 20 49 55 6e 6b IPersist : IUnk
3090: 6e 6f 77 6e 20 7b 0d 0a 09 48 52 45 53 55 4c 54 nown {...HRESULT
30a0: 20 47 65 74 43 6c 61 73 73 49 44 28 43 4c 53 49 GetClassID(CLSI
30b0: 44 2a 29 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 D*);..}....inter
30c0: 66 61 63 65 20 49 50 65 72 73 69 73 74 53 74 72 face IPersistStr
30d0: 65 61 6d 20 3a 20 49 50 65 72 73 69 73 74 20 7b eam : IPersist {
30e0: 0d 0a 09 48 52 45 53 55 4c 54 20 49 73 44 69 72 ...HRESULT IsDir
30f0: 74 79 28 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 ty();...HRESULT
3100: 4c 6f 61 64 28 49 53 74 72 65 61 6d 29 3b 0d 0a Load(IStream);..
3110: 09 48 52 45 53 55 4c 54 20 53 61 76 65 28 49 53 .HRESULT Save(IS
3120: 74 72 65 61 6d 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 tream, BOOL);...
3130: 48 52 45 53 55 4c 54 20 47 65 74 53 69 7a 65 4d HRESULT GetSizeM
3140: 61 78 28 50 55 4c 41 52 47 45 5f 49 4e 54 45 47 ax(PULARGE_INTEG
3150: 45 52 29 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 ER);..}....inter
3160: 66 61 63 65 20 49 52 75 6e 6e 69 6e 67 4f 62 6a face IRunningObj
3170: 65 63 74 54 61 62 6c 65 20 3a 20 49 55 6e 6b 6e ectTable : IUnkn
3180: 6f 77 6e 20 7b 0d 0a 09 48 52 45 53 55 4c 54 20 own {...HRESULT
3190: 52 65 67 69 73 74 65 72 28 44 57 4f 52 44 2c 20 Register(DWORD,
31a0: 4c 50 55 4e 4b 4e 4f 57 4e 2c 20 4c 50 4d 4f 4e LPUNKNOWN, LPMON
31b0: 49 4b 45 52 2c 20 50 44 57 4f 52 44 29 3b 0d 0a IKER, PDWORD);..
31c0: 09 48 52 45 53 55 4c 54 20 52 65 76 6f 6b 65 28 .HRESULT Revoke(
31d0: 44 57 4f 52 44 29 3b 0d 0a 09 48 52 45 53 55 4c DWORD);...HRESUL
31e0: 54 20 49 73 52 75 6e 6e 69 6e 67 28 4c 50 4d 4f T IsRunning(LPMO
31f0: 4e 49 4b 45 52 29 3b 0d 0a 09 48 52 45 53 55 4c NIKER);...HRESUL
3200: 54 20 47 65 74 4f 62 6a 65 63 74 28 4c 50 4d 4f T GetObject(LPMO
3210: 4e 49 4b 45 52 2c 20 4c 50 55 4e 4b 4e 4f 57 4e NIKER, LPUNKNOWN
3220: 2a 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 4e 6f *);...HRESULT No
3230: 74 65 43 68 61 6e 67 65 54 69 6d 65 28 44 57 4f teChangeTime(DWO
3240: 52 44 2c 20 4c 50 46 49 4c 45 54 49 4d 45 29 3b RD, LPFILETIME);
3250: 0d 0a 09 48 52 45 53 55 4c 54 20 47 65 74 54 69 ...HRESULT GetTi
3260: 6d 65 4f 66 4c 61 73 74 43 68 61 6e 67 65 28 4c meOfLastChange(L
3270: 50 4d 4f 4e 49 4b 45 52 2c 20 4c 50 46 49 4c 45 PMONIKER, LPFILE
3280: 54 49 4d 45 29 3b 0d 0a 09 48 52 45 53 55 4c 54 TIME);...HRESULT
3290: 20 45 6e 75 6d 52 75 6e 6e 69 6e 67 28 49 45 6e EnumRunning(IEn
32a0: 75 6d 4d 6f 6e 69 6b 65 72 2a 29 3b 0d 0a 7d 0d umMoniker*);..}.
32b0: 0a 0d 0a 69 6e 74 65 72 66 61 63 65 20 49 42 69 ...interface IBi
32c0: 6e 64 43 74 78 20 3a 20 49 55 6e 6b 6e 6f 77 6e ndCtx : IUnknown
32d0: 20 7b 0d 0a 09 48 52 45 53 55 4c 54 20 52 65 67 {...HRESULT Reg
32e0: 69 73 74 65 72 4f 62 6a 65 63 74 42 6f 75 6e 64 isterObjectBound
32f0: 28 4c 50 55 4e 4b 4e 4f 57 4e 29 3b 0d 0a 09 48 (LPUNKNOWN);...H
3300: 52 45 53 55 4c 54 20 52 65 76 6f 6b 65 4f 62 6a RESULT RevokeObj
3310: 65 63 74 42 6f 75 6e 64 28 4c 50 55 4e 4b 4e 4f ectBound(LPUNKNO
3320: 57 4e 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 52 WN);...HRESULT R
3330: 65 6c 65 61 73 65 42 6f 75 6e 64 4f 62 6a 65 63 eleaseBoundObjec
3340: 74 73 28 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 ts();...HRESULT
3350: 53 65 74 42 69 6e 64 4f 70 74 69 6f 6e 73 28 4c SetBindOptions(L
3360: 50 42 49 4e 44 5f 4f 50 54 53 29 3b 0d 0a 09 48 PBIND_OPTS);...H
3370: 52 45 53 55 4c 54 20 47 65 74 42 69 6e 64 4f 70 RESULT GetBindOp
3380: 74 69 6f 6e 73 28 4c 50 42 49 4e 44 5f 4f 50 54 tions(LPBIND_OPT
3390: 53 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 47 65 S);...HRESULT Ge
33a0: 74 52 75 6e 6e 69 6e 67 4f 62 6a 65 63 74 54 61 tRunningObjectTa
33b0: 62 6c 65 28 49 52 75 6e 6e 69 6e 67 4f 62 6a 65 ble(IRunningObje
33c0: 63 74 54 61 62 6c 65 2a 29 3b 0d 0a 09 48 52 45 ctTable*);...HRE
33d0: 53 55 4c 54 20 52 65 67 69 73 74 65 72 4f 62 6a SULT RegisterObj
33e0: 65 63 74 50 61 72 61 6d 28 4c 50 4f 4c 45 53 54 ectParam(LPOLEST
33f0: 52 2c 20 49 55 6e 6b 6e 6f 77 6e 29 3b 0d 0a 09 R, IUnknown);...
3400: 48 52 45 53 55 4c 54 20 47 65 74 4f 62 6a 65 63 HRESULT GetObjec
3410: 74 50 61 72 61 6d 28 4c 50 4f 4c 45 53 54 52 2c tParam(LPOLESTR,
3420: 20 49 55 6e 6b 6e 6f 77 6e 2a 29 3b 0d 0a 09 48 IUnknown*);...H
3430: 52 45 53 55 4c 54 20 45 6e 75 6d 4f 62 6a 65 63 RESULT EnumObjec
3440: 74 50 61 72 61 6d 28 49 45 6e 75 6d 53 74 72 69 tParam(IEnumStri
3450: 6e 67 2a 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 ng*);...HRESULT
3460: 52 65 76 6f 6b 65 4f 62 6a 65 63 74 50 61 72 61 RevokeObjectPara
3470: 6d 28 4c 50 4f 4c 45 53 54 52 29 3b 0d 0a 7d 0d m(LPOLESTR);..}.
3480: 0a 0d 0a 69 6e 74 65 72 66 61 63 65 20 49 4d 6f ...interface IMo
3490: 6e 69 6b 65 72 3a 20 49 50 65 72 73 69 73 74 53 niker: IPersistS
34a0: 74 72 65 61 6d 20 7b 0d 0a 09 48 52 45 53 55 4c tream {...HRESUL
34b0: 54 20 42 69 6e 64 54 6f 4f 62 6a 65 63 74 28 49 T BindToObject(I
34c0: 42 69 6e 64 43 74 78 2c 20 49 4d 6f 6e 69 6b 65 BindCtx, IMonike
34d0: 72 2c 20 52 45 46 49 49 44 2c 20 50 56 4f 49 44 r, REFIID, PVOID
34e0: 2a 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 42 69 *);...HRESULT Bi
34f0: 6e 64 54 6f 53 74 6f 72 61 67 65 28 49 42 69 6e ndToStorage(IBin
3500: 64 43 74 78 2c 20 49 4d 6f 6e 69 6b 65 72 2c 20 dCtx, IMoniker,
3510: 52 45 46 49 49 44 2c 20 50 56 4f 49 44 2a 29 3b REFIID, PVOID*);
3520: 0d 0a 09 48 52 45 53 55 4c 54 20 52 65 64 75 63 ...HRESULT Reduc
3530: 65 28 49 42 69 6e 64 43 74 78 2c 20 44 57 4f 52 e(IBindCtx, DWOR
3540: 44 2c 20 49 4d 6f 6e 69 6b 65 72 2a 2c 20 49 4d D, IMoniker*, IM
3550: 6f 6e 69 6b 65 72 2a 29 3b 0d 0a 09 48 52 45 53 oniker*);...HRES
3560: 55 4c 54 20 43 6f 6d 70 6f 73 65 57 69 74 68 28 ULT ComposeWith(
3570: 49 4d 6f 6e 69 6b 65 72 2c 20 42 4f 4f 4c 2c 20 IMoniker, BOOL,
3580: 49 4d 6f 6e 69 6b 65 72 2a 29 3b 0d 0a 09 48 52 IMoniker*);...HR
3590: 45 53 55 4c 54 20 45 6e 75 6d 28 42 4f 4f 4c 2c ESULT Enum(BOOL,
35a0: 20 49 45 6e 75 6d 4d 6f 6e 69 6b 65 72 2a 29 3b IEnumMoniker*);
35b0: 0d 0a 09 48 52 45 53 55 4c 54 20 49 73 45 71 75 ...HRESULT IsEqu
35c0: 61 6c 28 49 4d 6f 6e 69 6b 65 72 29 3b 0d 0a 09 al(IMoniker);...
35d0: 48 52 45 53 55 4c 54 20 48 61 73 68 28 50 44 57 HRESULT Hash(PDW
35e0: 4f 52 44 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 ORD);...HRESULT
35f0: 49 73 52 75 6e 6e 69 6e 67 28 49 42 69 6e 64 43 IsRunning(IBindC
3600: 74 78 2c 20 49 4d 6f 6e 69 6b 65 72 2c 20 49 4d tx, IMoniker, IM
3610: 6f 6e 69 6b 65 72 29 3b 0d 0a 09 48 52 45 53 55 oniker);...HRESU
3620: 4c 54 20 47 65 74 54 69 6d 65 4f 66 4c 61 73 74 LT GetTimeOfLast
3630: 43 68 61 6e 67 65 28 49 42 69 6e 64 43 74 78 2c Change(IBindCtx,
3640: 20 49 4d 6f 6e 69 6b 65 72 2c 20 4c 50 46 49 4c IMoniker, LPFIL
3650: 45 54 49 4d 45 29 3b 0d 0a 09 48 52 45 53 55 4c ETIME);...HRESUL
3660: 54 20 49 6e 76 65 72 73 65 28 49 4d 6f 6e 69 6b T Inverse(IMonik
3670: 65 72 2a 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 er*);...HRESULT
3680: 43 6f 6d 6d 6f 6e 50 72 65 66 69 78 57 69 74 68 CommonPrefixWith
3690: 28 49 4d 6f 6e 69 6b 65 72 2c 20 49 4d 6f 6e 69 (IMoniker, IMoni
36a0: 6b 65 72 2a 29 3b 0d 0a 09 48 52 45 53 55 4c 54 ker*);...HRESULT
36b0: 20 52 65 6c 61 74 69 76 65 50 61 74 68 54 6f 28 RelativePathTo(
36c0: 49 4d 6f 6e 69 6b 65 72 2c 20 49 4d 6f 6e 69 6b IMoniker, IMonik
36d0: 65 72 2a 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 er*);...HRESULT
36e0: 47 65 74 44 69 73 70 6c 61 79 4e 61 6d 65 28 49 GetDisplayName(I
36f0: 42 69 6e 64 43 74 78 2c 20 49 4d 6f 6e 69 6b 65 BindCtx, IMonike
3700: 72 2c 20 4c 50 4f 4c 45 53 54 52 2a 29 3b 0d 0a r, LPOLESTR*);..
3710: 09 48 52 45 53 55 4c 54 20 50 61 72 73 65 44 69 .HRESULT ParseDi
3720: 73 70 6c 61 79 4e 61 6d 65 28 49 42 69 6e 64 43 splayName(IBindC
3730: 74 78 2c 20 49 4d 6f 6e 69 6b 65 72 2c 20 4c 50 tx, IMoniker, LP
3740: 4f 4c 45 53 54 52 2c 20 55 4c 4f 4e 47 2a 2c 20 OLESTR, ULONG*,
3750: 49 4d 6f 6e 69 6b 65 72 2a 29 3b 0d 0a 09 48 52 IMoniker*);...HR
3760: 45 53 55 4c 54 20 49 73 53 79 73 74 65 6d 4d 6f ESULT IsSystemMo
3770: 6e 69 6b 65 72 28 50 44 57 4f 52 44 29 3b 0d 0a niker(PDWORD);..
3780: 7d 0d 0a 0d 0a 69 6e 74 65 72 66 61 63 65 20 49 }....interface I
3790: 50 65 72 73 69 73 74 53 74 6f 72 61 67 65 20 3a PersistStorage :
37a0: 20 49 50 65 72 73 69 73 74 0d 0a 7b 0d 0a 09 48 IPersist..{...H
37b0: 52 45 53 55 4c 54 20 49 73 44 69 72 74 79 28 29 RESULT IsDirty()
37c0: 3b 0d 0a 09 48 52 45 53 55 4c 54 20 49 6e 69 74 ;...HRESULT Init
37d0: 4e 65 77 28 4c 50 53 54 4f 52 41 47 45 29 3b 0d New(LPSTORAGE);.
37e0: 0a 09 48 52 45 53 55 4c 54 20 4c 6f 61 64 28 4c ..HRESULT Load(L
37f0: 50 53 54 4f 52 41 47 45 29 3b 0d 0a 09 48 52 45 PSTORAGE);...HRE
3800: 53 55 4c 54 20 53 61 76 65 28 4c 50 53 54 4f 52 SULT Save(LPSTOR
3810: 41 47 45 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 48 52 AGE, BOOL);...HR
3820: 45 53 55 4c 54 20 53 61 76 65 43 6f 6d 70 6c 65 ESULT SaveComple
3830: 74 65 64 28 4c 50 53 54 4f 52 41 47 45 29 3b 0d ted(LPSTORAGE);.
3840: 0a 09 48 52 45 53 55 4c 54 20 48 61 6e 64 73 4f ..HRESULT HandsO
3850: 66 66 53 74 6f 72 61 67 65 28 29 3b 0d 0a 7d 0d ffStorage();..}.
3860: 0a 0d 0a 69 6e 74 65 72 66 61 63 65 20 49 50 65 ...interface IPe
3870: 72 73 69 73 74 46 69 6c 65 20 3a 20 49 50 65 72 rsistFile : IPer
3880: 73 69 73 74 0d 0a 7b 0d 0a 09 48 52 45 53 55 4c sist..{...HRESUL
3890: 54 20 49 73 44 69 72 74 79 28 29 3b 0d 0a 09 48 T IsDirty();...H
38a0: 52 45 53 55 4c 54 20 4c 6f 61 64 28 4c 50 43 4f RESULT Load(LPCO
38b0: 4c 45 53 54 52 2c 20 44 57 4f 52 44 29 3b 0d 0a LESTR, DWORD);..
38c0: 09 48 52 45 53 55 4c 54 20 53 61 76 65 28 4c 50 .HRESULT Save(LP
38d0: 43 4f 4c 45 53 54 52 2c 20 42 4f 4f 4c 29 3b 0d COLESTR, BOOL);.
38e0: 0a 09 48 52 45 53 55 4c 54 20 53 61 76 65 43 6f ..HRESULT SaveCo
38f0: 6d 70 6c 65 74 65 64 28 4c 50 43 4f 4c 45 53 54 mpleted(LPCOLEST
3900: 52 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 47 65 R);...HRESULT Ge
3910: 74 43 75 72 46 69 6c 65 28 4c 50 4f 4c 45 53 54 tCurFile(LPOLEST
3920: 52 2a 29 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 R*);..}....inter
3930: 66 61 63 65 20 49 41 64 76 69 73 65 53 69 6e 6b face IAdviseSink
3940: 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a 09 : IUnknown {...
3950: 48 52 45 53 55 4c 54 20 51 75 65 72 79 49 6e 74 HRESULT QueryInt
3960: 65 72 66 61 63 65 28 52 45 46 49 49 44 2c 20 50 erface(REFIID, P
3970: 56 4f 49 44 2a 29 3b 0d 0a 09 55 4c 4f 4e 47 20 VOID*);...ULONG
3980: 41 64 64 52 65 66 28 29 3b 0d 0a 09 55 4c 4f 4e AddRef();...ULON
3990: 47 20 52 65 6c 65 61 73 65 28 29 3b 0d 0a 09 76 G Release();...v
39a0: 6f 69 64 20 4f 6e 44 61 74 61 43 68 61 6e 67 65 oid OnDataChange
39b0: 28 46 4f 52 4d 41 54 45 54 43 2a 2c 20 53 54 47 (FORMATETC*, STG
39c0: 4d 45 44 49 55 4d 2a 29 3b 0d 0a 09 76 6f 69 64 MEDIUM*);...void
39d0: 20 4f 6e 56 69 65 77 43 68 61 6e 67 65 28 44 57 OnViewChange(DW
39e0: 4f 52 44 2c 20 4c 4f 4e 47 29 3b 0d 0a 09 76 6f ORD, LONG);...vo
39f0: 69 64 20 4f 6e 52 65 6e 61 6d 65 28 49 4d 6f 6e id OnRename(IMon
3a00: 69 6b 65 72 29 3b 0d 0a 09 76 6f 69 64 20 4f 6e iker);...void On
3a10: 53 61 76 65 28 29 3b 0d 0a 09 76 6f 69 64 20 4f Save();...void O
3a20: 6e 43 6c 6f 73 65 28 29 3b 0d 0a 7d 0d 0a 0d 0a nClose();..}....
3a30: 69 6e 74 65 72 66 61 63 65 20 49 41 64 76 69 73 interface IAdvis
3a40: 65 53 69 6e 6b 32 20 3a 20 49 41 64 76 69 73 65 eSink2 : IAdvise
3a50: 53 69 6e 6b 0d 0a 7b 0d 0a 09 76 6f 69 64 20 4f Sink..{...void O
3a60: 6e 4c 69 6e 6b 53 72 63 43 68 61 6e 67 65 28 49 nLinkSrcChange(I
3a70: 4d 6f 6e 69 6b 65 72 29 3b 0d 0a 7d 0d 0a 0d 0a Moniker);..}....
3a80: 69 6e 74 65 72 66 61 63 65 20 49 44 61 74 61 4f interface IDataO
3a90: 62 6a 65 63 74 20 3a 20 49 55 6e 6b 6e 6f 77 6e bject : IUnknown
3aa0: 20 7b 0d 0a 09 48 52 45 53 55 4c 54 20 47 65 74 {...HRESULT Get
3ab0: 44 61 74 61 28 46 4f 52 4d 41 54 45 54 43 2a 2c Data(FORMATETC*,
3ac0: 20 53 54 47 4d 45 44 49 55 4d 2a 29 3b 0d 0a 09 STGMEDIUM*);...
3ad0: 48 52 45 53 55 4c 54 20 47 65 74 44 61 74 61 48 HRESULT GetDataH
3ae0: 65 72 65 28 46 4f 52 4d 41 54 45 54 43 2a 2c 20 ere(FORMATETC*,
3af0: 53 54 47 4d 45 44 49 55 4d 2a 29 3b 0d 0a 09 48 STGMEDIUM*);...H
3b00: 52 45 53 55 4c 54 20 51 75 65 72 79 47 65 74 44 RESULT QueryGetD
3b10: 61 74 61 28 46 4f 52 4d 41 54 45 54 43 2a 29 3b ata(FORMATETC*);
3b20: 0d 0a 09 48 52 45 53 55 4c 54 20 47 65 74 43 61 ...HRESULT GetCa
3b30: 6e 6f 6e 69 63 61 6c 46 6f 72 6d 61 74 45 74 63 nonicalFormatEtc
3b40: 28 46 4f 52 4d 41 54 45 54 43 2a 2c 20 46 4f 52 (FORMATETC*, FOR
3b50: 4d 41 54 45 54 43 2a 29 3b 0d 0a 09 48 52 45 53 MATETC*);...HRES
3b60: 55 4c 54 20 53 65 74 44 61 74 61 28 46 4f 52 4d ULT SetData(FORM
3b70: 41 54 45 54 43 2a 2c 20 53 54 47 4d 45 44 49 55 ATETC*, STGMEDIU
3b80: 4d 2a 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 48 52 45 M*, BOOL);...HRE
3b90: 53 55 4c 54 20 45 6e 75 6d 46 6f 72 6d 61 74 45 SULT EnumFormatE
3ba0: 74 63 28 44 57 4f 52 44 2c 20 49 45 6e 75 6d 46 tc(DWORD, IEnumF
3bb0: 4f 52 4d 41 54 45 54 43 2a 29 3b 0d 0a 09 48 52 ORMATETC*);...HR
3bc0: 45 53 55 4c 54 20 44 41 64 76 69 73 65 28 46 4f ESULT DAdvise(FO
3bd0: 52 4d 41 54 45 54 43 2a 2c 20 44 57 4f 52 44 2c RMATETC*, DWORD,
3be0: 20 49 41 64 76 69 73 65 53 69 6e 6b 2c 20 50 44 IAdviseSink, PD
3bf0: 57 4f 52 44 29 3b 0d 0a 09 48 52 45 53 55 4c 54 WORD);...HRESULT
3c00: 20 44 55 6e 61 64 76 69 73 65 28 44 57 4f 52 44 DUnadvise(DWORD
3c10: 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 45 6e 75 );...HRESULT Enu
3c20: 6d 44 41 64 76 69 73 65 28 49 45 6e 75 6d 53 54 mDAdvise(IEnumST
3c30: 41 54 44 41 54 41 2a 29 3b 0d 0a 7d 0d 0a 0d 0a ATDATA*);..}....
3c40: 69 6e 74 65 72 66 61 63 65 20 49 44 61 74 61 41 interface IDataA
3c50: 64 76 69 73 65 48 6f 6c 64 65 72 20 3a 20 49 55 dviseHolder : IU
3c60: 6e 6b 6e 6f 77 6e 20 7b 0d 0a 09 48 52 45 53 55 nknown {...HRESU
3c70: 4c 54 20 41 64 76 69 73 65 28 49 44 61 74 61 4f LT Advise(IDataO
3c80: 62 6a 65 63 74 2c 20 46 4f 52 4d 41 54 45 54 43 bject, FORMATETC
3c90: 2a 2c 20 44 57 4f 52 44 2c 20 49 41 64 76 69 73 *, DWORD, IAdvis
3ca0: 65 53 69 6e 6b 2c 20 50 44 57 4f 52 44 29 3b 0d eSink, PDWORD);.
3cb0: 0a 09 48 52 45 53 55 4c 54 20 55 6e 61 64 76 69 ..HRESULT Unadvi
3cc0: 73 65 28 44 57 4f 52 44 29 3b 0d 0a 09 48 52 45 se(DWORD);...HRE
3cd0: 53 55 4c 54 20 45 6e 75 6d 41 64 76 69 73 65 28 SULT EnumAdvise(
3ce0: 49 45 6e 75 6d 53 54 41 54 44 41 54 41 2a 29 3b IEnumSTATDATA*);
3cf0: 0d 0a 09 48 52 45 53 55 4c 54 20 53 65 6e 64 4f ...HRESULT SendO
3d00: 6e 44 61 74 61 43 68 61 6e 67 65 28 49 44 61 74 nDataChange(IDat
3d10: 61 4f 62 6a 65 63 74 2c 20 44 57 4f 52 44 2c 20 aObject, DWORD,
3d20: 44 57 4f 52 44 29 3b 0d 0a 7d 0d 0a 0d 0a 69 6e DWORD);..}....in
3d30: 74 65 72 66 61 63 65 20 49 53 74 6f 72 61 67 65 terface IStorage
3d40: 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a 09 : IUnknown {...
3d50: 48 52 45 53 55 4c 54 20 43 72 65 61 74 65 53 74 HRESULT CreateSt
3d60: 72 65 61 6d 28 4c 50 43 57 53 54 52 2c 20 44 57 ream(LPCWSTR, DW
3d70: 4f 52 44 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 ORD, DWORD, DWOR
3d80: 44 2c 20 49 53 74 72 65 61 6d 29 3b 0d 0a 09 48 D, IStream);...H
3d90: 52 45 53 55 4c 54 20 4f 70 65 6e 53 74 72 65 61 RESULT OpenStrea
3da0: 6d 28 4c 50 43 57 53 54 52 2c 20 50 56 4f 49 44 m(LPCWSTR, PVOID
3db0: 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 , DWORD, DWORD,
3dc0: 49 53 74 72 65 61 6d 29 3b 0d 0a 09 48 52 45 53 IStream);...HRES
3dd0: 55 4c 54 20 43 72 65 61 74 65 53 74 6f 72 61 67 ULT CreateStorag
3de0: 65 28 4c 50 43 57 53 54 52 2c 20 44 57 4f 52 44 e(LPCWSTR, DWORD
3df0: 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 , DWORD, DWORD,
3e00: 49 53 74 6f 72 61 67 65 29 3b 0d 0a 09 48 52 45 IStorage);...HRE
3e10: 53 55 4c 54 20 4f 70 65 6e 53 74 6f 72 61 67 65 SULT OpenStorage
3e20: 28 4c 50 43 57 53 54 52 2c 20 49 53 74 6f 72 61 (LPCWSTR, IStora
3e30: 67 65 2c 20 44 57 4f 52 44 2c 20 53 4e 42 2c 20 ge, DWORD, SNB,
3e40: 44 57 4f 52 44 2c 20 49 53 74 6f 72 61 67 65 29 DWORD, IStorage)
3e50: 3b 0d 0a 09 48 52 45 53 55 4c 54 20 43 6f 70 79 ;...HRESULT Copy
3e60: 54 6f 28 44 57 4f 52 44 2c 20 49 49 44 2a 20 2c To(DWORD, IID* ,
3e70: 20 53 4e 42 2c 20 49 53 74 6f 72 61 67 65 29 3b SNB, IStorage);
3e80: 0d 0a 09 48 52 45 53 55 4c 54 20 4d 6f 76 65 45 ...HRESULT MoveE
3e90: 6c 65 6d 65 6e 74 54 6f 28 4c 50 43 57 53 54 52 lementTo(LPCWSTR
3ea0: 2c 20 49 53 74 6f 72 61 67 65 2c 20 4c 50 43 57 , IStorage, LPCW
3eb0: 53 54 52 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 48 STR, DWORD);...H
3ec0: 52 45 53 55 4c 54 20 43 6f 6d 6d 69 74 28 44 57 RESULT Commit(DW
3ed0: 4f 52 44 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 ORD);...HRESULT
3ee0: 52 65 76 65 72 74 28 29 3b 0d 0a 09 48 52 45 53 Revert();...HRES
3ef0: 55 4c 54 20 45 6e 75 6d 45 6c 65 6d 65 6e 74 73 ULT EnumElements
3f00: 28 44 57 4f 52 44 2c 20 50 56 4f 49 44 2c 20 44 (DWORD, PVOID, D
3f10: 57 4f 52 44 2c 20 49 45 6e 75 6d 53 54 41 54 53 WORD, IEnumSTATS
3f20: 54 47 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 44 TG);...HRESULT D
3f30: 65 73 74 72 6f 79 45 6c 65 6d 65 6e 74 28 4c 50 estroyElement(LP
3f40: 43 57 53 54 52 29 3b 0d 0a 09 48 52 45 53 55 4c CWSTR);...HRESUL
3f50: 54 20 52 65 6e 61 6d 65 45 6c 65 6d 65 6e 74 28 T RenameElement(
3f60: 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 53 54 52 LPCWSTR, LPCWSTR
3f70: 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 53 65 74 );...HRESULT Set
3f80: 45 6c 65 6d 65 6e 74 54 69 6d 65 73 28 4c 50 43 ElementTimes(LPC
3f90: 57 53 54 52 2c 20 46 49 4c 45 54 49 4d 45 2a 20 WSTR, FILETIME*
3fa0: 2c 20 46 49 4c 45 54 49 4d 45 2a 20 2c 20 46 49 , FILETIME* , FI
3fb0: 4c 45 54 49 4d 45 2a 20 29 3b 0d 0a 09 48 52 45 LETIME* );...HRE
3fc0: 53 55 4c 54 20 53 65 74 43 6c 61 73 73 28 52 45 SULT SetClass(RE
3fd0: 46 43 4c 53 49 44 29 3b 0d 0a 09 48 52 45 53 55 FCLSID);...HRESU
3fe0: 4c 54 20 53 65 74 53 74 61 74 65 42 69 74 73 28 LT SetStateBits(
3ff0: 44 57 4f 52 44 2c 20 44 57 4f 52 44 29 3b 0d 0a DWORD, DWORD);..
4000: 09 48 52 45 53 55 4c 54 20 53 74 61 74 28 53 54 .HRESULT Stat(ST
4010: 41 54 53 54 47 2a 2c 20 44 57 4f 52 44 29 3b 0d ATSTG*, DWORD);.
4020: 0a 7d 0d 0a 0d 0a 2f 2f 20 46 49 58 4d 45 3a 20 .}....// FIXME:
4030: 47 65 74 43 6c 61 73 73 49 44 20 66 72 6f 6d 20 GetClassID from
4040: 49 50 65 72 73 69 73 74 20 6e 6f 74 20 74 68 65 IPersist not the
4050: 72 65 20 2d 20 77 68 61 74 20 74 6f 20 64 6f 20 re - what to do
4060: 61 62 6f 75 74 20 69 74 3f 0d 0a 69 6e 74 65 72 about it?..inter
4070: 66 61 63 65 20 49 52 6f 6f 74 53 74 6f 72 61 67 face IRootStorag
4080: 65 20 3a 20 49 50 65 72 73 69 73 74 20 7b 0d 0a e : IPersist {..
4090: 09 48 52 45 53 55 4c 54 20 51 75 65 72 79 49 6e .HRESULT QueryIn
40a0: 74 65 72 66 61 63 65 28 52 45 46 49 49 44 2c 20 terface(REFIID,
40b0: 50 56 4f 49 44 2a 29 3b 0d 0a 09 55 4c 4f 4e 47 PVOID*);...ULONG
40c0: 20 41 64 64 52 65 66 28 29 3b 0d 0a 09 55 4c 4f AddRef();...ULO
40d0: 4e 47 20 52 65 6c 65 61 73 65 28 29 3b 0d 0a 09 NG Release();...
40e0: 48 52 45 53 55 4c 54 20 53 77 69 74 63 68 54 6f HRESULT SwitchTo
40f0: 46 69 6c 65 28 4c 50 4f 4c 45 53 54 52 29 3b 0d File(LPOLESTR);.
4100: 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 66 61 63 65 20 .}....interface
4110: 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 IRpcChannelBuffe
4120: 72 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a r : IUnknown {..
4130: 09 48 52 45 53 55 4c 54 20 47 65 74 42 75 66 66 .HRESULT GetBuff
4140: 65 72 28 52 50 43 4f 4c 45 4d 45 53 53 41 47 45 er(RPCOLEMESSAGE
4150: 2a 2c 20 52 45 46 49 49 44 29 3b 0d 0a 09 48 52 *, REFIID);...HR
4160: 45 53 55 4c 54 20 53 65 6e 64 52 65 63 65 69 76 ESULT SendReceiv
4170: 65 28 52 50 43 4f 4c 45 4d 45 53 53 41 47 45 2a e(RPCOLEMESSAGE*
4180: 2c 20 50 55 4c 4f 4e 47 29 3b 0d 0a 09 48 52 45 , PULONG);...HRE
4190: 53 55 4c 54 20 46 72 65 65 42 75 66 66 65 72 28 SULT FreeBuffer(
41a0: 52 50 43 4f 4c 45 4d 45 53 53 41 47 45 2a 29 3b RPCOLEMESSAGE*);
41b0: 0d 0a 09 48 52 45 53 55 4c 54 20 47 65 74 44 65 ...HRESULT GetDe
41c0: 73 74 43 74 78 28 50 44 57 4f 52 44 2c 20 50 56 stCtx(PDWORD, PV
41d0: 4f 49 44 2a 29 3b 0d 0a 09 48 52 45 53 55 4c 54 OID*);...HRESULT
41e0: 20 49 73 43 6f 6e 6e 65 63 74 65 64 28 29 3b 0d IsConnected();.
41f0: 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 66 61 63 65 20 .}....interface
4200: 49 52 70 63 50 72 6f 78 79 42 75 66 66 65 72 20 IRpcProxyBuffer
4210: 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a 09 48 : IUnknown {...H
4220: 52 45 53 55 4c 54 20 43 6f 6e 6e 65 63 74 28 49 RESULT Connect(I
4230: 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 RpcChannelBuffer
4240: 29 3b 0d 0a 09 76 6f 69 64 20 44 69 73 63 6f 6e );...void Discon
4250: 6e 65 63 74 28 29 3b 0d 0a 7d 0d 0a 0d 0a 69 6e nect();..}....in
4260: 74 65 72 66 61 63 65 20 49 52 70 63 53 74 75 62 terface IRpcStub
4270: 42 75 66 66 65 72 20 3a 20 49 55 6e 6b 6e 6f 77 Buffer : IUnknow
4280: 6e 20 7b 0d 0a 09 48 52 45 53 55 4c 54 20 43 6f n {...HRESULT Co
4290: 6e 6e 65 63 74 28 4c 50 55 4e 4b 4e 4f 57 4e 29 nnect(LPUNKNOWN)
42a0: 3b 0d 0a 09 76 6f 69 64 20 44 69 73 63 6f 6e 6e ;...void Disconn
42b0: 65 63 74 28 29 3b 0d 0a 09 48 52 45 53 55 4c 54 ect();...HRESULT
42c0: 20 49 6e 76 6f 6b 65 28 52 50 43 4f 4c 45 4d 45 Invoke(RPCOLEME
42d0: 53 53 41 47 45 2a 2c 20 4c 50 52 50 43 53 54 55 SSAGE*, LPRPCSTU
42e0: 42 42 55 46 46 45 52 29 3b 0d 0a 09 4c 50 52 50 BBUFFER);...LPRP
42f0: 43 53 54 55 42 42 55 46 46 45 52 20 49 73 49 49 CSTUBBUFFER IsII
4300: 44 53 75 70 70 6f 72 74 65 64 28 52 45 46 49 49 DSupported(REFII
4310: 44 29 3b 0d 0a 09 55 4c 4f 4e 47 20 43 6f 75 6e D);...ULONG Coun
4320: 74 52 65 66 73 28 29 3b 0d 0a 09 48 52 45 53 55 tRefs();...HRESU
4330: 4c 54 20 44 65 62 75 67 53 65 72 76 65 72 51 75 LT DebugServerQu
4340: 65 72 79 49 6e 74 65 72 66 61 63 65 28 50 56 4f eryInterface(PVO
4350: 49 44 2a 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 ID*);...HRESULT
4360: 44 65 62 75 67 53 65 72 76 65 72 52 65 6c 65 61 DebugServerRelea
4370: 73 65 28 50 56 4f 49 44 29 3b 0d 0a 7d 0d 0a 0d se(PVOID);..}...
4380: 0a 69 6e 74 65 72 66 61 63 65 20 49 50 53 46 61 .interface IPSFa
4390: 63 74 6f 72 79 42 75 66 66 65 72 20 3a 20 49 55 ctoryBuffer : IU
43a0: 6e 6b 6e 6f 77 6e 20 7b 0d 0a 09 48 52 45 53 55 nknown {...HRESU
43b0: 4c 54 20 43 72 65 61 74 65 50 72 6f 78 79 28 4c LT CreateProxy(L
43c0: 50 55 4e 4b 4e 4f 57 4e 2c 20 52 45 46 49 49 44 PUNKNOWN, REFIID
43d0: 2c 20 4c 50 52 50 43 50 52 4f 58 59 42 55 46 46 , LPRPCPROXYBUFF
43e0: 45 52 2a 2c 20 50 56 4f 49 44 2a 29 3b 0d 0a 09 ER*, PVOID*);...
43f0: 48 52 45 53 55 4c 54 20 43 72 65 61 74 65 53 74 HRESULT CreateSt
4400: 75 62 28 52 45 46 49 49 44 2c 20 4c 50 55 4e 4b ub(REFIID, LPUNK
4410: 4e 4f 57 4e 2c 20 4c 50 52 50 43 53 54 55 42 42 NOWN, LPRPCSTUBB
4420: 55 46 46 45 52 2a 29 3b 0d 0a 7d 0d 0a 61 6c 69 UFFER*);..}..ali
4430: 61 73 20 49 50 53 46 61 63 74 6f 72 79 42 75 66 as IPSFactoryBuf
4440: 66 65 72 20 4c 50 50 53 46 41 43 54 4f 52 59 42 fer LPPSFACTORYB
4450: 55 46 46 45 52 3b 0d 0a 0d 0a 69 6e 74 65 72 66 UFFER;....interf
4460: 61 63 65 20 49 4c 6f 63 6b 42 79 74 65 73 20 3a ace ILockBytes :
4470: 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a 09 48 52 IUnknown {...HR
4480: 45 53 55 4c 54 20 52 65 61 64 41 74 28 55 4c 41 ESULT ReadAt(ULA
4490: 52 47 45 5f 49 4e 54 45 47 45 52 2c 20 50 56 4f RGE_INTEGER, PVO
44a0: 49 44 2c 20 55 4c 4f 4e 47 2c 20 55 4c 4f 4e 47 ID, ULONG, ULONG
44b0: 2a 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 57 72 *);...HRESULT Wr
44c0: 69 74 65 41 74 28 55 4c 41 52 47 45 5f 49 4e 54 iteAt(ULARGE_INT
44d0: 45 47 45 52 2c 20 50 43 56 4f 49 44 2c 20 55 4c EGER, PCVOID, UL
44e0: 4f 4e 47 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 09 ONG, ULONG*);...
44f0: 48 52 45 53 55 4c 54 20 46 6c 75 73 68 28 29 3b HRESULT Flush();
4500: 0d 0a 09 48 52 45 53 55 4c 54 20 53 65 74 53 69 ...HRESULT SetSi
4510: 7a 65 28 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 ze(ULARGE_INTEGE
4520: 52 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 4c 6f R);...HRESULT Lo
4530: 63 6b 52 65 67 69 6f 6e 28 55 4c 41 52 47 45 5f ckRegion(ULARGE_
4540: 49 4e 54 45 47 45 52 2c 20 55 4c 41 52 47 45 5f INTEGER, ULARGE_
4550: 49 4e 54 45 47 45 52 2c 20 44 57 4f 52 44 29 3b INTEGER, DWORD);
4560: 0d 0a 09 48 52 45 53 55 4c 54 20 55 6e 6c 6f 63 ...HRESULT Unloc
4570: 6b 52 65 67 69 6f 6e 28 55 4c 41 52 47 45 5f 49 kRegion(ULARGE_I
4580: 4e 54 45 47 45 52 2c 20 55 4c 41 52 47 45 5f 49 NTEGER, ULARGE_I
4590: 4e 54 45 47 45 52 2c 20 44 57 4f 52 44 29 3b 0d NTEGER, DWORD);.
45a0: 0a 09 48 52 45 53 55 4c 54 20 53 74 61 74 28 53 ..HRESULT Stat(S
45b0: 54 41 54 53 54 47 2a 2c 20 44 57 4f 52 44 29 3b TATSTG*, DWORD);
45c0: 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 66 61 63 65 ..}....interface
45d0: 20 49 45 78 74 65 72 6e 61 6c 43 6f 6e 6e 65 63 IExternalConnec
45e0: 74 69 6f 6e 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 tion : IUnknown
45f0: 7b 0d 0a 09 48 52 45 53 55 4c 54 20 41 64 64 43 {...HRESULT AddC
4600: 6f 6e 6e 65 63 74 69 6f 6e 28 44 57 4f 52 44 2c onnection(DWORD,
4610: 20 44 57 4f 52 44 29 3b 0d 0a 09 48 52 45 53 55 DWORD);...HRESU
4620: 4c 54 20 52 65 6c 65 61 73 65 43 6f 6e 6e 65 63 LT ReleaseConnec
4630: 74 69 6f 6e 28 44 57 4f 52 44 2c 20 44 57 4f 52 tion(DWORD, DWOR
4640: 44 2c 20 42 4f 4f 4c 29 3b 0d 0a 7d 0d 0a 0d 0a D, BOOL);..}....
4650: 69 6e 74 65 72 66 61 63 65 20 49 52 75 6e 6e 61 interface IRunna
4660: 62 6c 65 4f 62 6a 65 63 74 20 3a 20 49 55 6e 6b bleObject : IUnk
4670: 6e 6f 77 6e 20 7b 0d 0a 09 48 52 45 53 55 4c 54 nown {...HRESULT
4680: 20 47 65 74 52 75 6e 6e 69 6e 67 43 6c 61 73 73 GetRunningClass
4690: 28 4c 50 43 4c 53 49 44 29 3b 0d 0a 09 48 52 45 (LPCLSID);...HRE
46a0: 53 55 4c 54 20 52 75 6e 28 4c 50 42 43 29 3b 0d SULT Run(LPBC);.
46b0: 0a 09 42 4f 4f 4c 20 49 73 52 75 6e 6e 69 6e 67 ..BOOL IsRunning
46c0: 28 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 4c 6f ();...HRESULT Lo
46d0: 63 6b 52 75 6e 6e 69 6e 67 28 42 4f 4f 4c 2c 20 ckRunning(BOOL,
46e0: 42 4f 4f 4c 29 3b 0d 0a 09 48 52 45 53 55 4c 54 BOOL);...HRESULT
46f0: 20 53 65 74 43 6f 6e 74 61 69 6e 65 64 4f 62 6a SetContainedObj
4700: 65 63 74 28 42 4f 4f 4c 29 3b 0d 0a 7d 0d 0a 0d ect(BOOL);..}...
4710: 0a 69 6e 74 65 72 66 61 63 65 20 49 52 4f 54 44 .interface IROTD
4720: 61 74 61 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b ata : IUnknown {
4730: 0d 0a 09 48 52 45 53 55 4c 54 20 47 65 74 43 6f ...HRESULT GetCo
4740: 6d 70 61 72 69 73 6f 6e 44 61 74 61 28 50 56 4f mparisonData(PVO
4750: 49 44 2c 20 55 4c 4f 4e 47 2c 20 50 55 4c 4f 4e ID, ULONG, PULON
4760: 47 29 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 66 G);..}....interf
4770: 61 63 65 20 49 43 68 61 6e 6e 65 6c 48 6f 6f 6b ace IChannelHook
4780: 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a 09 : IUnknown {...
4790: 76 6f 69 64 20 43 6c 69 65 6e 74 47 65 74 53 69 void ClientGetSi
47a0: 7a 65 28 52 45 46 47 55 49 44 2c 20 52 45 46 49 ze(REFGUID, REFI
47b0: 49 44 2c 20 50 55 4c 4f 4e 47 29 3b 0d 0a 09 76 ID, PULONG);...v
47c0: 6f 69 64 20 43 6c 69 65 6e 74 46 69 6c 6c 42 75 oid ClientFillBu
47d0: 66 66 65 72 28 52 45 46 47 55 49 44 2c 20 52 45 ffer(REFGUID, RE
47e0: 46 49 49 44 2c 20 50 55 4c 4f 4e 47 2c 20 50 56 FIID, PULONG, PV
47f0: 4f 49 44 29 3b 0d 0a 09 76 6f 69 64 20 43 6c 69 OID);...void Cli
4800: 65 6e 74 4e 6f 74 69 66 79 28 52 45 46 47 55 49 entNotify(REFGUI
4810: 44 2c 20 52 45 46 49 49 44 2c 20 55 4c 4f 4e 47 D, REFIID, ULONG
4820: 2c 20 50 56 4f 49 44 2c 20 44 57 4f 52 44 2c 20 , PVOID, DWORD,
4830: 48 52 45 53 55 4c 54 29 3b 0d 0a 09 76 6f 69 64 HRESULT);...void
4840: 20 53 65 72 76 65 72 4e 6f 74 69 66 79 28 52 45 ServerNotify(RE
4850: 46 47 55 49 44 2c 20 52 45 46 49 49 44 2c 20 55 FGUID, REFIID, U
4860: 4c 4f 4e 47 2c 20 50 56 4f 49 44 2c 20 44 57 4f LONG, PVOID, DWO
4870: 52 44 29 3b 0d 0a 09 76 6f 69 64 20 53 65 72 76 RD);...void Serv
4880: 65 72 47 65 74 53 69 7a 65 28 52 45 46 47 55 49 erGetSize(REFGUI
4890: 44 2c 20 52 45 46 49 49 44 2c 20 48 52 45 53 55 D, REFIID, HRESU
48a0: 4c 54 2c 20 50 55 4c 4f 4e 47 29 3b 0d 0a 09 76 LT, PULONG);...v
48b0: 6f 69 64 20 53 65 72 76 65 72 46 69 6c 6c 42 75 oid ServerFillBu
48c0: 66 66 65 72 28 52 45 46 47 55 49 44 2c 20 52 45 ffer(REFGUID, RE
48d0: 46 49 49 44 2c 20 50 55 4c 4f 4e 47 2c 20 50 56 FIID, PULONG, PV
48e0: 4f 49 44 2c 20 48 52 45 53 55 4c 54 29 3b 0d 0a OID, HRESULT);..
48f0: 7d 0d 0a 0d 0a 69 6e 74 65 72 66 61 63 65 20 49 }....interface I
4900: 50 72 6f 70 65 72 74 79 53 74 6f 72 61 67 65 20 PropertyStorage
4910: 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a 09 48 : IUnknown {...H
4920: 52 45 53 55 4c 54 20 52 65 61 64 4d 75 6c 74 69 RESULT ReadMulti
4930: 70 6c 65 28 55 4c 4f 4e 47 2c 20 50 52 4f 50 53 ple(ULONG, PROPS
4940: 50 45 43 2a 20 2c 20 50 52 4f 50 56 41 52 49 41 PEC* , PROPVARIA
4950: 4e 54 2a 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 NT*);...HRESULT
4960: 57 72 69 74 65 4d 75 6c 74 69 70 6c 65 28 55 4c WriteMultiple(UL
4970: 4f 4e 47 2c 20 50 52 4f 50 53 50 45 43 2a 20 2c ONG, PROPSPEC* ,
4980: 20 50 52 4f 50 56 41 52 49 41 4e 54 2a 2c 20 50 PROPVARIANT*, P
4990: 52 4f 50 49 44 29 3b 0d 0a 09 48 52 45 53 55 4c ROPID);...HRESUL
49a0: 54 20 44 65 6c 65 74 65 4d 75 6c 74 69 70 6c 65 T DeleteMultiple
49b0: 28 55 4c 4f 4e 47 2c 20 50 52 4f 50 53 50 45 43 (ULONG, PROPSPEC
49c0: 2a 20 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 52 * );...HRESULT R
49d0: 65 61 64 50 72 6f 70 65 72 74 79 4e 61 6d 65 73 eadPropertyNames
49e0: 28 55 4c 4f 4e 47 2c 20 50 52 4f 50 49 44 2a 20 (ULONG, PROPID*
49f0: 2c 20 4c 50 57 53 54 52 2a 29 3b 0d 0a 09 48 52 , LPWSTR*);...HR
4a00: 45 53 55 4c 54 20 57 72 69 74 65 50 72 6f 70 65 ESULT WritePrope
4a10: 72 74 79 4e 61 6d 65 73 28 55 4c 4f 4e 47 2c 20 rtyNames(ULONG,
4a20: 50 52 4f 50 49 44 2a 20 2c 20 4c 50 57 53 54 52 PROPID* , LPWSTR
4a30: 2a 20 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 44 * );...HRESULT D
4a40: 65 6c 65 74 65 50 72 6f 70 65 72 74 79 4e 61 6d eletePropertyNam
4a50: 65 73 28 55 4c 4f 4e 47 2c 20 50 52 4f 50 49 44 es(ULONG, PROPID
4a60: 2a 20 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 53 * );...HRESULT S
4a70: 65 74 43 6c 61 73 73 28 52 45 46 43 4c 53 49 44 etClass(REFCLSID
4a80: 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 43 6f 6d );...HRESULT Com
4a90: 6d 69 74 28 44 57 4f 52 44 29 3b 0d 0a 09 48 52 mit(DWORD);...HR
4aa0: 45 53 55 4c 54 20 52 65 76 65 72 74 28 29 3b 0d ESULT Revert();.
4ab0: 0a 09 48 52 45 53 55 4c 54 20 45 6e 75 6d 28 49 ..HRESULT Enum(I
4ac0: 45 6e 75 6d 53 54 41 54 50 52 4f 50 53 54 47 2a EnumSTATPROPSTG*
4ad0: 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 53 74 61 );...HRESULT Sta
4ae0: 74 28 53 54 41 54 50 52 4f 50 53 54 47 2a 29 3b t(STATPROPSTG*);
4af0: 0d 0a 09 48 52 45 53 55 4c 54 20 53 65 74 54 69 ...HRESULT SetTi
4b00: 6d 65 73 28 46 49 4c 45 54 49 4d 45 2a 20 2c 20 mes(FILETIME* ,
4b10: 46 49 4c 45 54 49 4d 45 2a 20 2c 20 46 49 4c 45 FILETIME* , FILE
4b20: 54 49 4d 45 2a 20 29 3b 0d 0a 7d 0d 0a 0d 0a 69 TIME* );..}....i
4b30: 6e 74 65 72 66 61 63 65 20 49 50 72 6f 70 65 72 nterface IProper
4b40: 74 79 53 65 74 53 74 6f 72 61 67 65 20 3a 20 49 tySetStorage : I
4b50: 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a 09 48 52 45 53 Unknown {...HRES
4b60: 55 4c 54 20 43 72 65 61 74 65 28 52 45 46 46 4d ULT Create(REFFM
4b70: 54 49 44 2c 20 43 4c 53 49 44 2a 2c 20 44 57 4f TID, CLSID*, DWO
4b80: 52 44 2c 20 44 57 4f 52 44 2c 20 4c 50 50 52 4f RD, DWORD, LPPRO
4b90: 50 45 52 54 59 53 54 4f 52 41 47 45 2a 29 3b 0d PERTYSTORAGE*);.
4ba0: 0a 09 48 52 45 53 55 4c 54 20 4f 70 65 6e 28 52 ..HRESULT Open(R
4bb0: 45 46 46 4d 54 49 44 2c 20 44 57 4f 52 44 2c 20 EFFMTID, DWORD,
4bc0: 4c 50 50 52 4f 50 45 52 54 59 53 54 4f 52 41 47 LPPROPERTYSTORAG
4bd0: 45 2a 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 44 E*);...HRESULT D
4be0: 65 6c 65 74 65 28 52 45 46 46 4d 54 49 44 29 3b elete(REFFMTID);
4bf0: 0d 0a 09 48 52 45 53 55 4c 54 20 45 6e 75 6d 28 ...HRESULT Enum(
4c00: 49 45 6e 75 6d 53 54 41 54 50 52 4f 50 53 45 54 IEnumSTATPROPSET
4c10: 53 54 47 2a 29 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 STG*);..}....int
4c20: 65 72 66 61 63 65 20 49 43 6c 69 65 6e 74 53 65 erface IClientSe
4c30: 63 75 72 69 74 79 20 3a 20 49 55 6e 6b 6e 6f 77 curity : IUnknow
4c40: 6e 20 7b 0d 0a 09 48 52 45 53 55 4c 54 20 51 75 n {...HRESULT Qu
4c50: 65 72 79 42 6c 61 6e 6b 65 74 28 50 56 4f 49 44 eryBlanket(PVOID
4c60: 2c 20 50 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 , PDWORD, PDWORD
4c70: 2c 20 4f 4c 45 43 48 41 52 2a 2a 2c 20 50 44 57 , OLECHAR**, PDW
4c80: 4f 52 44 2c 20 50 44 57 4f 52 44 2c 20 52 50 43 ORD, PDWORD, RPC
4c90: 5f 41 55 54 48 5f 49 44 45 4e 54 49 54 59 5f 48 _AUTH_IDENTITY_H
4ca0: 41 4e 44 4c 45 2a 2a 2c 20 50 44 57 4f 52 44 2a ANDLE**, PDWORD*
4cb0: 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 53 65 74 );...HRESULT Set
4cc0: 42 6c 61 6e 6b 65 74 28 50 56 4f 49 44 2c 20 44 Blanket(PVOID, D
4cd0: 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 4c 50 57 WORD, DWORD, LPW
4ce0: 53 54 52 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 STR, DWORD, DWOR
4cf0: 44 2c 20 52 50 43 5f 41 55 54 48 5f 49 44 45 4e D, RPC_AUTH_IDEN
4d00: 54 49 54 59 5f 48 41 4e 44 4c 45 2a 2c 20 44 57 TITY_HANDLE*, DW
4d10: 4f 52 44 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 ORD);...HRESULT
4d20: 43 6f 70 79 50 72 6f 78 79 28 4c 50 55 4e 4b 4e CopyProxy(LPUNKN
4d30: 4f 57 4e 2c 20 4c 50 55 4e 4b 4e 4f 57 4e 2a 29 OWN, LPUNKNOWN*)
4d40: 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 66 61 63 ;..}....interfac
4d50: 65 20 49 53 65 72 76 65 72 53 65 63 75 72 69 74 e IServerSecurit
4d60: 79 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a y : IUnknown {..
4d70: 09 48 52 45 53 55 4c 54 20 51 75 65 72 79 42 6c .HRESULT QueryBl
4d80: 61 6e 6b 65 74 28 50 44 57 4f 52 44 2c 20 50 44 anket(PDWORD, PD
4d90: 57 4f 52 44 2c 20 4f 4c 45 43 48 41 52 2a 2a 2c WORD, OLECHAR**,
4da0: 20 50 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 2c PDWORD, PDWORD,
4db0: 20 52 50 43 5f 41 55 54 48 5a 5f 48 41 4e 44 4c RPC_AUTHZ_HANDL
4dc0: 45 2a 2c 20 50 44 57 4f 52 44 2a 29 3b 0d 0a 09 E*, PDWORD*);...
4dd0: 48 52 45 53 55 4c 54 20 49 6d 70 65 72 73 6f 6e HRESULT Imperson
4de0: 61 74 65 43 6c 69 65 6e 74 28 29 3b 0d 0a 09 48 ateClient();...H
4df0: 52 45 53 55 4c 54 20 52 65 76 65 72 74 54 6f 53 RESULT RevertToS
4e00: 65 6c 66 28 29 3b 0d 0a 09 48 52 45 53 55 4c 54 elf();...HRESULT
4e10: 20 49 73 49 6d 70 65 72 73 6f 6e 61 74 69 6e 67 IsImpersonating
4e20: 28 29 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 66 ();..}....interf
4e30: 61 63 65 20 49 43 6c 61 73 73 41 63 74 69 76 61 ace IClassActiva
4e40: 74 6f 72 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b tor : IUnknown {
4e50: 0d 0a 09 48 52 45 53 55 4c 54 20 47 65 74 43 6c ...HRESULT GetCl
4e60: 61 73 73 4f 62 6a 65 63 74 28 52 45 46 43 4c 53 assObject(REFCLS
4e70: 49 44 2c 20 44 57 4f 52 44 2c 20 4c 43 49 44 2c ID, DWORD, LCID,
4e80: 20 52 45 46 49 49 44 2c 20 50 56 4f 49 44 2a 29 REFIID, PVOID*)
4e90: 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 66 61 63 ;..}....interfac
4ea0: 65 20 49 46 69 6c 6c 4c 6f 63 6b 42 79 74 65 73 e IFillLockBytes
4eb0: 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a 09 : IUnknown {...
4ec0: 48 52 45 53 55 4c 54 20 46 69 6c 6c 41 70 70 65 HRESULT FillAppe
4ed0: 6e 64 28 76 6f 69 64 2a 20 2c 20 55 4c 4f 4e 47 nd(void* , ULONG
4ee0: 2c 20 50 55 4c 4f 4e 47 29 3b 0d 0a 09 48 52 45 , PULONG);...HRE
4ef0: 53 55 4c 54 20 46 69 6c 6c 41 74 28 55 4c 41 52 SULT FillAt(ULAR
4f00: 47 45 5f 49 4e 54 45 47 45 52 2c 20 76 6f 69 64 GE_INTEGER, void
4f10: 2a 20 2c 20 55 4c 4f 4e 47 2c 20 50 55 4c 4f 4e * , ULONG, PULON
4f20: 47 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 53 65 G);...HRESULT Se
4f30: 74 46 69 6c 6c 53 69 7a 65 28 55 4c 41 52 47 45 tFillSize(ULARGE
4f40: 5f 49 4e 54 45 47 45 52 29 3b 0d 0a 09 48 52 45 _INTEGER);...HRE
4f50: 53 55 4c 54 20 54 65 72 6d 69 6e 61 74 65 28 42 SULT Terminate(B
4f60: 4f 4f 4c 29 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 OOL);..}....inte
4f70: 72 66 61 63 65 20 49 50 72 6f 67 72 65 73 73 4e rface IProgressN
4f80: 6f 74 69 66 79 20 3a 20 49 55 6e 6b 6e 6f 77 6e otify : IUnknown
4f90: 20 7b 0d 0a 09 48 52 45 53 55 4c 54 20 4f 6e 50 {...HRESULT OnP
4fa0: 72 6f 67 72 65 73 73 28 44 57 4f 52 44 2c 20 44 rogress(DWORD, D
4fb0: 57 4f 52 44 2c 20 42 4f 4f 4c 2c 20 42 4f 4f 4c WORD, BOOL, BOOL
4fc0: 29 3b 0d 0a 7d 0d 0a 0d 0a 69 6e 74 65 72 66 61 );..}....interfa
4fd0: 63 65 20 49 4c 61 79 6f 75 74 53 74 6f 72 61 67 ce ILayoutStorag
4fe0: 65 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a e : IUnknown {..
4ff0: 09 48 52 45 53 55 4c 54 20 4c 61 79 6f 75 74 53 .HRESULT LayoutS
5000: 63 72 69 70 74 28 53 54 4f 52 41 47 45 4c 41 59 cript(STORAGELAY
5010: 4f 55 54 2a 2c 20 44 57 4f 52 44 2c 20 44 57 4f OUT*, DWORD, DWO
5020: 52 44 29 3b 0d 0a 09 48 52 45 53 55 4c 54 20 42 RD);...HRESULT B
5030: 65 67 69 6e 4d 6f 6e 69 74 6f 72 28 29 3b 0d 0a eginMonitor();..
5040: 09 48 52 45 53 55 4c 54 20 45 6e 64 4d 6f 6e 69 .HRESULT EndMoni
5050: 74 6f 72 28 29 3b 0d 0a 09 48 52 45 53 55 4c 54 tor();...HRESULT
5060: 20 52 65 4c 61 79 6f 75 74 44 6f 63 66 69 6c 65 ReLayoutDocfile
5070: 28 4f 4c 45 43 48 41 52 2a 29 3b 0d 0a 7d 0d 0a (OLECHAR*);..}..
5080: 0d 0a 69 6e 74 65 72 66 61 63 65 20 49 47 6c 6f ..interface IGlo
5090: 62 61 6c 49 6e 74 65 72 66 61 63 65 54 61 62 6c balInterfaceTabl
50a0: 65 20 3a 20 49 55 6e 6b 6e 6f 77 6e 20 7b 0d 0a e : IUnknown {..
50b0: 09 48 52 45 53 55 4c 54 20 52 65 67 69 73 74 65 .HRESULT Registe
50c0: 72 49 6e 74 65 72 66 61 63 65 49 6e 47 6c 6f 62 rInterfaceInGlob
50d0: 61 6c 28 49 55 6e 6b 6e 6f 77 6e 2c 20 52 45 46 al(IUnknown, REF
50e0: 49 49 44 2c 20 44 57 4f 52 44 2a 29 3b 0d 0a 09 IID, DWORD*);...
50f0: 48 52 45 53 55 4c 54 20 52 65 76 6f 6b 65 49 6e HRESULT RevokeIn
5100: 74 65 72 66 61 63 65 46 72 6f 6d 47 6c 6f 62 61 terfaceFromGloba
5110: 6c 28 44 57 4f 52 44 29 3b 0d 0a 09 48 52 45 53 l(DWORD);...HRES
5120: 55 4c 54 20 47 65 74 49 6e 74 65 72 66 61 63 65 ULT GetInterface
5130: 46 72 6f 6d 47 6c 6f 62 61 6c 28 44 57 4f 52 44 FromGlobal(DWORD
5140: 2c 20 52 45 46 49 49 44 2c 20 76 6f 69 64 2a 2a , REFIID, void**
5150: 29 3b 0d 0a 7d 0d 0a 0d 0a 2f 2b 0d 0a 2f 2f 20 );..}..../+..//
5160: 54 68 65 73 65 20 61 72 65 20 70 72 6f 62 61 62 These are probab
5170: 6c 79 20 75 6e 6e 65 63 65 73 73 61 72 79 20 66 ly unnecessary f
5180: 6f 72 20 44 2e 0d 0a 65 78 74 65 72 6e 20 28 57 or D...extern (W
5190: 69 6e 64 6f 77 73 29 20 7b 0d 0a 48 52 45 53 55 indows) {..HRESU
51a0: 4c 54 20 49 4d 61 72 73 68 61 6c 5f 47 65 74 55 LT IMarshal_GetU
51b0: 6e 6d 61 72 73 68 61 6c 43 6c 61 73 73 5f 50 72 nmarshalClass_Pr
51c0: 6f 78 79 28 49 4d 61 72 73 68 61 6c 2c 20 52 45 oxy(IMarshal, RE
51d0: 46 49 49 44 2c 20 76 6f 69 64 2a 2c 20 44 57 4f FIID, void*, DWO
51e0: 52 44 2c 20 76 6f 69 64 2a 2c 20 44 57 4f 52 44 RD, void*, DWORD
51f0: 2c 20 43 4c 53 49 44 2a 29 3b 0d 0a 76 6f 69 64 , CLSID*);..void
5200: 20 49 4d 61 72 73 68 61 6c 5f 47 65 74 55 6e 6d IMarshal_GetUnm
5210: 61 72 73 68 61 6c 43 6c 61 73 73 5f 53 74 75 62 arshalClass_Stub
5220: 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c (IRpcStubBuffer,
5230: 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 IRpcChannelBuff
5240: 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 er, PRPC_MESSAGE
5250: 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 , PDWORD);..HRES
5260: 55 4c 54 20 49 4d 61 72 73 68 61 6c 5f 47 65 74 ULT IMarshal_Get
5270: 4d 61 72 73 68 61 6c 53 69 7a 65 4d 61 78 5f 50 MarshalSizeMax_P
5280: 72 6f 78 79 28 49 4d 61 72 73 68 61 6c 2c 20 52 roxy(IMarshal, R
5290: 45 46 49 49 44 2c 20 76 6f 69 64 2a 2c 20 44 57 EFIID, void*, DW
52a0: 4f 52 44 2c 20 76 6f 69 64 2a 2c 20 44 57 4f 52 ORD, void*, DWOR
52b0: 44 2c 20 44 57 4f 52 44 2a 29 3b 0d 0a 76 6f 69 D, DWORD*);..voi
52c0: 64 20 49 4d 61 72 73 68 61 6c 5f 47 65 74 4d 61 d IMarshal_GetMa
52d0: 72 73 68 61 6c 53 69 7a 65 4d 61 78 5f 53 74 75 rshalSizeMax_Stu
52e0: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
52f0: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
5300: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
5310: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
5320: 53 55 4c 54 20 49 4d 61 72 73 68 61 6c 5f 4d 61 SULT IMarshal_Ma
5330: 72 73 68 61 6c 49 6e 74 65 72 66 61 63 65 5f 50 rshalInterface_P
5340: 72 6f 78 79 28 49 4d 61 72 73 68 61 6c 2c 20 49 roxy(IMarshal, I
5350: 53 74 72 65 61 6d 2c 20 52 45 46 49 49 44 2c 20 Stream, REFIID,
5360: 76 6f 69 64 2a 2c 20 44 57 4f 52 44 2c 20 76 6f void*, DWORD, vo
5370: 69 64 2a 2c 20 44 57 4f 52 44 29 3b 0d 0a 76 6f id*, DWORD);..vo
5380: 69 64 20 49 4d 61 72 73 68 61 6c 5f 4d 61 72 73 id IMarshal_Mars
5390: 68 61 6c 49 6e 74 65 72 66 61 63 65 5f 53 74 75 halInterface_Stu
53a0: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
53b0: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
53c0: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
53d0: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
53e0: 53 55 4c 54 20 49 4d 61 72 73 68 61 6c 5f 55 6e SULT IMarshal_Un
53f0: 6d 61 72 73 68 61 6c 49 6e 74 65 72 66 61 63 65 marshalInterface
5400: 5f 50 72 6f 78 79 28 49 4d 61 72 73 68 61 6c 2c _Proxy(IMarshal,
5410: 20 49 53 74 72 65 61 6d 2c 20 52 45 46 49 49 44 IStream, REFIID
5420: 2c 20 76 6f 69 64 2a 2a 29 3b 0d 0a 76 6f 69 64 , void**);..void
5430: 20 49 4d 61 72 73 68 61 6c 5f 55 6e 6d 61 72 73 IMarshal_Unmars
5440: 68 61 6c 49 6e 74 65 72 66 61 63 65 5f 53 74 75 halInterface_Stu
5450: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
5460: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
5470: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
5480: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
5490: 53 55 4c 54 20 49 4d 61 72 73 68 61 6c 5f 52 65 SULT IMarshal_Re
54a0: 6c 65 61 73 65 4d 61 72 73 68 61 6c 44 61 74 61 leaseMarshalData
54b0: 5f 50 72 6f 78 79 28 49 4d 61 72 73 68 61 6c 2c _Proxy(IMarshal,
54c0: 20 49 53 74 72 65 61 6d 29 3b 0d 0a 76 6f 69 64 IStream);..void
54d0: 20 49 4d 61 72 73 68 61 6c 5f 52 65 6c 65 61 73 IMarshal_Releas
54e0: 65 4d 61 72 73 68 61 6c 44 61 74 61 5f 53 74 75 eMarshalData_Stu
54f0: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
5500: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
5510: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
5520: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
5530: 53 55 4c 54 20 49 4d 61 72 73 68 61 6c 5f 44 69 SULT IMarshal_Di
5540: 73 63 6f 6e 6e 65 63 74 4f 62 6a 65 63 74 5f 50 sconnectObject_P
5550: 72 6f 78 79 28 49 4d 61 72 73 68 61 6c 2c 20 44 roxy(IMarshal, D
5560: 57 4f 52 44 29 3b 0d 0a 76 6f 69 64 20 49 4d 61 WORD);..void IMa
5570: 72 73 68 61 6c 5f 44 69 73 63 6f 6e 6e 65 63 74 rshal_Disconnect
5580: 4f 62 6a 65 63 74 5f 53 74 75 62 28 49 52 70 63 Object_Stub(IRpc
5590: 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 StubBuffer, IRpc
55a0: 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 ChannelBuffer, P
55b0: 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 RPC_MESSAGE, PDW
55c0: 4f 52 44 29 3b 0d 0a 76 6f 69 64 2a 20 49 4d 61 ORD);..void* IMa
55d0: 6c 6c 6f 63 5f 41 6c 6c 6f 63 5f 50 72 6f 78 79 lloc_Alloc_Proxy
55e0: 28 49 4d 61 6c 6c 6f 63 2c 20 55 4c 4f 4e 47 29 (IMalloc, ULONG)
55f0: 3b 0d 0a 76 6f 69 64 20 49 4d 61 6c 6c 6f 63 5f ;..void IMalloc_
5600: 41 6c 6c 6f 63 5f 53 74 75 62 28 49 52 70 63 53 Alloc_Stub(IRpcS
5610: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
5620: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
5630: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
5640: 52 44 29 3b 0d 0a 76 6f 69 64 2a 20 49 4d 61 6c RD);..void* IMal
5650: 6c 6f 63 5f 52 65 61 6c 6c 6f 63 5f 50 72 6f 78 loc_Realloc_Prox
5660: 79 28 49 4d 61 6c 6c 6f 63 2c 20 76 6f 69 64 2a y(IMalloc, void*
5670: 2c 20 55 4c 4f 4e 47 29 3b 0d 0a 76 6f 69 64 20 , ULONG);..void
5680: 49 4d 61 6c 6c 6f 63 5f 52 65 61 6c 6c 6f 63 5f IMalloc_Realloc_
5690: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
56a0: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
56b0: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
56c0: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
56d0: 76 6f 69 64 20 49 4d 61 6c 6c 6f 63 5f 46 72 65 void IMalloc_Fre
56e0: 65 5f 50 72 6f 78 79 28 49 4d 61 6c 6c 6f 63 2c e_Proxy(IMalloc,
56f0: 20 76 6f 69 64 2a 29 3b 0d 0a 76 6f 69 64 20 49 void*);..void I
5700: 4d 61 6c 6c 6f 63 5f 46 72 65 65 5f 53 74 75 62 Malloc_Free_Stub
5710: 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c (IRpcStubBuffer,
5720: 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 IRpcChannelBuff
5730: 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 er, PRPC_MESSAGE
5740: 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 55 4c 4f 4e , PDWORD);..ULON
5750: 47 20 49 4d 61 6c 6c 6f 63 5f 47 65 74 53 69 7a G IMalloc_GetSiz
5760: 65 5f 50 72 6f 78 79 28 49 4d 61 6c 6c 6f 63 2c e_Proxy(IMalloc,
5770: 20 76 6f 69 64 2a 29 3b 0d 0a 76 6f 69 64 20 49 void*);..void I
5780: 4d 61 6c 6c 6f 63 5f 47 65 74 53 69 7a 65 5f 53 Malloc_GetSize_S
5790: 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 tub(IRpcStubBuff
57a0: 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 er, IRpcChannelB
57b0: 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 uffer, PRPC_MESS
57c0: 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 69 AGE, PDWORD);..i
57d0: 6e 74 20 49 4d 61 6c 6c 6f 63 5f 44 69 64 41 6c nt IMalloc_DidAl
57e0: 6c 6f 63 5f 50 72 6f 78 79 28 49 4d 61 6c 6c 6f loc_Proxy(IMallo
57f0: 63 2c 20 76 6f 69 64 2a 29 3b 0d 0a 76 6f 69 64 c, void*);..void
5800: 20 49 4d 61 6c 6c 6f 63 5f 44 69 64 41 6c 6c 6f IMalloc_DidAllo
5810: 63 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 c_Stub(IRpcStubB
5820: 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e uffer, IRpcChann
5830: 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d elBuffer, PRPC_M
5840: 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b ESSAGE, PDWORD);
5850: 0d 0a 76 6f 69 64 20 49 4d 61 6c 6c 6f 63 5f 48 ..void IMalloc_H
5860: 65 61 70 4d 69 6e 69 6d 69 7a 65 5f 50 72 6f 78 eapMinimize_Prox
5870: 79 28 49 4d 61 6c 6c 6f 63 29 3b 0d 0a 76 6f 69 y(IMalloc);..voi
5880: 64 20 49 4d 61 6c 6c 6f 63 5f 48 65 61 70 4d 69 d IMalloc_HeapMi
5890: 6e 69 6d 69 7a 65 5f 53 74 75 62 28 49 52 70 63 nimize_Stub(IRpc
58a0: 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 StubBuffer, IRpc
58b0: 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 ChannelBuffer, P
58c0: 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 RPC_MESSAGE, PDW
58d0: 4f 52 44 29 3b 0d 0a 55 4c 4f 4e 47 20 49 4d 61 ORD);..ULONG IMa
58e0: 6c 6c 6f 63 53 70 79 5f 50 72 65 41 6c 6c 6f 63 llocSpy_PreAlloc
58f0: 5f 50 72 6f 78 79 28 49 4d 61 6c 6c 6f 63 53 70 _Proxy(IMallocSp
5900: 79 2c 20 55 4c 4f 4e 47 20 63 62 52 65 71 75 65 y, ULONG cbReque
5910: 73 74 29 3b 0d 0a 76 6f 69 64 20 49 4d 61 6c 6c st);..void IMall
5920: 6f 63 53 70 79 5f 50 72 65 41 6c 6c 6f 63 5f 53 ocSpy_PreAlloc_S
5930: 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 tub(IRpcStubBuff
5940: 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 er, IRpcChannelB
5950: 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 uffer, PRPC_MESS
5960: 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 76 AGE, PDWORD);..v
5970: 6f 69 64 2a 20 49 4d 61 6c 6c 6f 63 53 70 79 5f oid* IMallocSpy_
5980: 50 6f 73 74 41 6c 6c 6f 63 5f 50 72 6f 78 79 28 PostAlloc_Proxy(
5990: 49 4d 61 6c 6c 6f 63 53 70 79 2c 20 76 6f 69 64 IMallocSpy, void
59a0: 2a 29 3b 0d 0a 76 6f 69 64 20 49 4d 61 6c 6c 6f *);..void IMallo
59b0: 63 53 70 79 5f 50 6f 73 74 41 6c 6c 6f 63 5f 53 cSpy_PostAlloc_S
59c0: 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 tub(IRpcStubBuff
59d0: 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 er, IRpcChannelB
59e0: 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 uffer, PRPC_MESS
59f0: 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 76 AGE, PDWORD);..v
5a00: 6f 69 64 2a 20 49 4d 61 6c 6c 6f 63 53 70 79 5f oid* IMallocSpy_
5a10: 50 72 65 46 72 65 65 5f 50 72 6f 78 79 28 49 4d PreFree_Proxy(IM
5a20: 61 6c 6c 6f 63 53 70 79 2c 20 76 6f 69 64 2a 2c allocSpy, void*,
5a30: 20 42 4f 4f 4c 29 3b 0d 0a 76 6f 69 64 20 49 4d BOOL);..void IM
5a40: 61 6c 6c 6f 63 53 70 79 5f 50 72 65 46 72 65 65 allocSpy_PreFree
5a50: 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 _Stub(IRpcStubBu
5a60: 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 ffer, IRpcChanne
5a70: 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 lBuffer, PRPC_ME
5a80: 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d SSAGE, PDWORD);.
5a90: 0a 76 6f 69 64 20 49 4d 61 6c 6c 6f 63 53 70 79 .void IMallocSpy
5aa0: 5f 50 6f 73 74 46 72 65 65 5f 50 72 6f 78 79 28 _PostFree_Proxy(
5ab0: 49 4d 61 6c 6c 6f 63 53 70 79 2c 20 42 4f 4f 4c IMallocSpy, BOOL
5ac0: 29 3b 0d 0a 76 6f 69 64 20 49 4d 61 6c 6c 6f 63 );..void IMalloc
5ad0: 53 70 79 5f 50 6f 73 74 46 72 65 65 5f 53 74 75 Spy_PostFree_Stu
5ae0: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
5af0: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
5b00: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
5b10: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 55 4c 4f E, PDWORD);..ULO
5b20: 4e 47 20 49 4d 61 6c 6c 6f 63 53 70 79 5f 50 72 NG IMallocSpy_Pr
5b30: 65 52 65 61 6c 6c 6f 63 5f 50 72 6f 78 79 28 49 eRealloc_Proxy(I
5b40: 4d 61 6c 6c 6f 63 53 70 79 2c 20 76 6f 69 64 2a MallocSpy, void*
5b50: 2c 20 55 4c 4f 4e 47 2c 20 76 6f 69 64 2a 2a 2c , ULONG, void**,
5b60: 20 42 4f 4f 4c 29 3b 0d 0a 76 6f 69 64 20 49 4d BOOL);..void IM
5b70: 61 6c 6c 6f 63 53 70 79 5f 50 72 65 52 65 61 6c allocSpy_PreReal
5b80: 6c 6f 63 5f 53 74 75 62 28 49 52 70 63 53 74 75 loc_Stub(IRpcStu
5b90: 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 bBuffer, IRpcCha
5ba0: 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 nnelBuffer, PRPC
5bb0: 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 _MESSAGE, PDWORD
5bc0: 29 3b 0d 0a 76 6f 69 64 2a 20 49 4d 61 6c 6c 6f );..void* IMallo
5bd0: 63 53 70 79 5f 50 6f 73 74 52 65 61 6c 6c 6f 63 cSpy_PostRealloc
5be0: 5f 50 72 6f 78 79 28 49 4d 61 6c 6c 6f 63 53 70 _Proxy(IMallocSp
5bf0: 79 2c 20 76 6f 69 64 2a 2c 20 42 4f 4f 4c 29 3b y, void*, BOOL);
5c00: 0d 0a 76 6f 69 64 20 49 4d 61 6c 6c 6f 63 53 70 ..void IMallocSp
5c10: 79 5f 50 6f 73 74 52 65 61 6c 6c 6f 63 5f 53 74 y_PostRealloc_St
5c20: 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 ub(IRpcStubBuffe
5c30: 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 r, IRpcChannelBu
5c40: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
5c50: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 76 6f GE, PDWORD);..vo
5c60: 69 64 2a 20 49 4d 61 6c 6c 6f 63 53 70 79 5f 50 id* IMallocSpy_P
5c70: 72 65 47 65 74 53 69 7a 65 5f 50 72 6f 78 79 28 reGetSize_Proxy(
5c80: 49 4d 61 6c 6c 6f 63 53 70 79 2c 20 76 6f 69 64 IMallocSpy, void
5c90: 2a 2c 20 42 4f 4f 4c 29 3b 0d 0a 76 6f 69 64 20 *, BOOL);..void
5ca0: 49 4d 61 6c 6c 6f 63 53 70 79 5f 50 72 65 47 65 IMallocSpy_PreGe
5cb0: 74 53 69 7a 65 5f 53 74 75 62 28 49 52 70 63 53 tSize_Stub(IRpcS
5cc0: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
5cd0: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
5ce0: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
5cf0: 52 44 29 3b 0d 0a 55 4c 4f 4e 47 20 49 4d 61 6c RD);..ULONG IMal
5d00: 6c 6f 63 53 70 79 5f 50 6f 73 74 47 65 74 53 69 locSpy_PostGetSi
5d10: 7a 65 5f 50 72 6f 78 79 28 49 4d 61 6c 6c 6f 63 ze_Proxy(IMalloc
5d20: 53 70 79 2c 20 55 4c 4f 4e 47 2c 20 42 4f 4f 4c Spy, ULONG, BOOL
5d30: 29 3b 0d 0a 76 6f 69 64 20 49 4d 61 6c 6c 6f 63 );..void IMalloc
5d40: 53 70 79 5f 50 6f 73 74 47 65 74 53 69 7a 65 5f Spy_PostGetSize_
5d50: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
5d60: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
5d70: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
5d80: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
5d90: 76 6f 69 64 2a 20 49 4d 61 6c 6c 6f 63 53 70 79 void* IMallocSpy
5da0: 5f 50 72 65 44 69 64 41 6c 6c 6f 63 5f 50 72 6f _PreDidAlloc_Pro
5db0: 78 79 28 49 4d 61 6c 6c 6f 63 53 70 79 2c 20 76 xy(IMallocSpy, v
5dc0: 6f 69 64 2a 2c 20 42 4f 4f 4c 29 3b 0d 0a 76 6f oid*, BOOL);..vo
5dd0: 69 64 20 49 4d 61 6c 6c 6f 63 53 70 79 5f 50 72 id IMallocSpy_Pr
5de0: 65 44 69 64 41 6c 6c 6f 63 5f 53 74 75 62 28 49 eDidAlloc_Stub(I
5df0: 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 RpcStubBuffer, I
5e00: 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 RpcChannelBuffer
5e10: 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 , PRPC_MESSAGE,
5e20: 50 44 57 4f 52 44 29 3b 0d 0a 69 6e 74 20 49 4d PDWORD);..int IM
5e30: 61 6c 6c 6f 63 53 70 79 5f 50 6f 73 74 44 69 64 allocSpy_PostDid
5e40: 41 6c 6c 6f 63 5f 50 72 6f 78 79 28 49 4d 61 6c Alloc_Proxy(IMal
5e50: 6c 6f 63 53 70 79 2c 20 76 6f 69 64 2a 2c 20 42 locSpy, void*, B
5e60: 4f 4f 4c 2c 20 69 6e 74 29 3b 0d 0a 76 6f 69 64 OOL, int);..void
5e70: 20 49 4d 61 6c 6c 6f 63 53 70 79 5f 50 6f 73 74 IMallocSpy_Post
5e80: 44 69 64 41 6c 6c 6f 63 5f 53 74 75 62 28 49 52 DidAlloc_Stub(IR
5e90: 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 pcStubBuffer, IR
5ea0: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c pcChannelBuffer,
5eb0: 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 PRPC_MESSAGE, P
5ec0: 44 57 4f 52 44 29 3b 0d 0a 76 6f 69 64 20 49 4d DWORD);..void IM
5ed0: 61 6c 6c 6f 63 53 70 79 5f 50 72 65 48 65 61 70 allocSpy_PreHeap
5ee0: 4d 69 6e 69 6d 69 7a 65 5f 50 72 6f 78 79 28 49 Minimize_Proxy(I
5ef0: 4d 61 6c 6c 6f 63 53 70 79 20 29 3b 0d 0a 76 6f MallocSpy );..vo
5f00: 69 64 20 49 4d 61 6c 6c 6f 63 53 70 79 5f 50 72 id IMallocSpy_Pr
5f10: 65 48 65 61 70 4d 69 6e 69 6d 69 7a 65 5f 53 74 eHeapMinimize_St
5f20: 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 ub(IRpcStubBuffe
5f30: 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 r, IRpcChannelBu
5f40: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
5f50: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 76 6f GE, PDWORD);..vo
5f60: 69 64 20 49 4d 61 6c 6c 6f 63 53 70 79 5f 50 6f id IMallocSpy_Po
5f70: 73 74 48 65 61 70 4d 69 6e 69 6d 69 7a 65 5f 50 stHeapMinimize_P
5f80: 72 6f 78 79 28 49 4d 61 6c 6c 6f 63 53 70 79 29 roxy(IMallocSpy)
5f90: 3b 0d 0a 76 6f 69 64 20 49 4d 61 6c 6c 6f 63 53 ;..void IMallocS
5fa0: 70 79 5f 50 6f 73 74 48 65 61 70 4d 69 6e 69 6d py_PostHeapMinim
5fb0: 69 7a 65 5f 53 74 75 62 28 49 52 70 63 53 74 75 ize_Stub(IRpcStu
5fc0: 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 bBuffer, IRpcCha
5fd0: 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 nnelBuffer, PRPC
5fe0: 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 _MESSAGE, PDWORD
5ff0: 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 53 74 64 );..HRESULT IStd
6000: 4d 61 72 73 68 61 6c 49 6e 66 6f 5f 47 65 74 43 MarshalInfo_GetC
6010: 6c 61 73 73 46 6f 72 48 61 6e 64 6c 65 72 5f 50 lassForHandler_P
6020: 72 6f 78 79 28 49 53 74 64 4d 61 72 73 68 61 6c roxy(IStdMarshal
6030: 49 6e 66 6f 2c 20 44 57 4f 52 44 2c 20 76 6f 69 Info, DWORD, voi
6040: 64 2a 2c 20 43 4c 53 49 44 2a 29 3b 0d 0a 76 6f d*, CLSID*);..vo
6050: 69 64 20 49 53 74 64 4d 61 72 73 68 61 6c 49 6e id IStdMarshalIn
6060: 66 6f 5f 47 65 74 43 6c 61 73 73 46 6f 72 48 61 fo_GetClassForHa
6070: 6e 64 6c 65 72 5f 53 74 75 62 28 49 52 70 63 53 ndler_Stub(IRpcS
6080: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
6090: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
60a0: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
60b0: 52 44 29 3b 0d 0a 44 57 4f 52 44 20 49 45 78 74 RD);..DWORD IExt
60c0: 65 72 6e 61 6c 43 6f 6e 6e 65 63 74 69 6f 6e 5f ernalConnection_
60d0: 41 64 64 43 6f 6e 6e 65 63 74 69 6f 6e 5f 50 72 AddConnection_Pr
60e0: 6f 78 79 28 49 45 78 74 65 72 6e 61 6c 43 6f 6e oxy(IExternalCon
60f0: 6e 65 63 74 69 6f 6e 2c 20 44 57 4f 52 44 2c 20 nection, DWORD,
6100: 44 57 4f 52 44 29 3b 0d 0a 76 6f 69 64 20 49 45 DWORD);..void IE
6110: 78 74 65 72 6e 61 6c 43 6f 6e 6e 65 63 74 69 6f xternalConnectio
6120: 6e 5f 41 64 64 43 6f 6e 6e 65 63 74 69 6f 6e 5f n_AddConnection_
6130: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
6140: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
6150: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
6160: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
6170: 44 57 4f 52 44 20 49 45 78 74 65 72 6e 61 6c 43 DWORD IExternalC
6180: 6f 6e 6e 65 63 74 69 6f 6e 5f 52 65 6c 65 61 73 onnection_Releas
6190: 65 43 6f 6e 6e 65 63 74 69 6f 6e 5f 50 72 6f 78 eConnection_Prox
61a0: 79 28 49 45 78 74 65 72 6e 61 6c 43 6f 6e 6e 65 y(IExternalConne
61b0: 63 74 69 6f 6e 2c 20 44 57 4f 52 44 2c 20 44 57 ction, DWORD, DW
61c0: 4f 52 44 2c 20 42 4f 4f 4c 29 3b 0d 0a 76 6f 69 ORD, BOOL);..voi
61d0: 64 20 49 45 78 74 65 72 6e 61 6c 43 6f 6e 6e 65 d IExternalConne
61e0: 63 74 69 6f 6e 5f 52 65 6c 65 61 73 65 43 6f 6e ction_ReleaseCon
61f0: 6e 65 63 74 69 6f 6e 5f 53 74 75 62 28 49 52 70 nection_Stub(IRp
6200: 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 cStubBuffer, IRp
6210: 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 cChannelBuffer,
6220: 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 PRPC_MESSAGE, PD
6230: 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 WORD);..HRESULT
6240: 49 45 6e 75 6d 55 6e 6b 6e 6f 77 6e 5f 52 65 6d IEnumUnknown_Rem
6250: 6f 74 65 4e 65 78 74 5f 50 72 6f 78 79 28 49 45 oteNext_Proxy(IE
6260: 6e 75 6d 55 6e 6b 6e 6f 77 6e 2c 20 55 4c 4f 4e numUnknown, ULON
6270: 47 2c 20 49 55 6e 6b 6e 6f 77 6e 2a 2c 20 55 4c G, IUnknown*, UL
6280: 4f 4e 47 2a 29 3b 0d 0a 76 6f 69 64 20 49 45 6e ONG*);..void IEn
6290: 75 6d 55 6e 6b 6e 6f 77 6e 5f 52 65 6d 6f 74 65 umUnknown_Remote
62a0: 4e 65 78 74 5f 53 74 75 62 28 49 52 70 63 53 74 Next_Stub(IRpcSt
62b0: 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 ubBuffer, IRpcCh
62c0: 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 annelBuffer, PRP
62d0: 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 C_MESSAGE, PDWOR
62e0: 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 45 6e D);..HRESULT IEn
62f0: 75 6d 55 6e 6b 6e 6f 77 6e 5f 53 6b 69 70 5f 50 umUnknown_Skip_P
6300: 72 6f 78 79 28 49 45 6e 75 6d 55 6e 6b 6e 6f 77 roxy(IEnumUnknow
6310: 6e 2c 20 55 4c 4f 4e 47 29 3b 0d 0a 76 6f 69 64 n, ULONG);..void
6320: 20 49 45 6e 75 6d 55 6e 6b 6e 6f 77 6e 5f 53 6b IEnumUnknown_Sk
6330: 69 70 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 ip_Stub(IRpcStub
6340: 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e Buffer, IRpcChan
6350: 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f nelBuffer, PRPC_
6360: 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 MESSAGE, PDWORD)
6370: 3b 0d 0a 48 52 45 53 55 4c 54 20 49 45 6e 75 6d ;..HRESULT IEnum
6380: 55 6e 6b 6e 6f 77 6e 5f 52 65 73 65 74 5f 50 72 Unknown_Reset_Pr
6390: 6f 78 79 28 49 45 6e 75 6d 55 6e 6b 6e 6f 77 6e oxy(IEnumUnknown
63a0: 20 29 3b 0d 0a 76 6f 69 64 20 49 45 6e 75 6d 55 );..void IEnumU
63b0: 6e 6b 6e 6f 77 6e 5f 52 65 73 65 74 5f 53 74 75 nknown_Reset_Stu
63c0: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
63d0: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
63e0: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
63f0: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
6400: 53 55 4c 54 20 49 45 6e 75 6d 55 6e 6b 6e 6f 77 SULT IEnumUnknow
6410: 6e 5f 43 6c 6f 6e 65 5f 50 72 6f 78 79 28 49 45 n_Clone_Proxy(IE
6420: 6e 75 6d 55 6e 6b 6e 6f 77 6e 2c 20 49 45 6e 75 numUnknown, IEnu
6430: 6d 55 6e 6b 6e 6f 77 6e 2a 29 3b 0d 0a 76 6f 69 mUnknown*);..voi
6440: 64 20 49 45 6e 75 6d 55 6e 6b 6e 6f 77 6e 5f 43 d IEnumUnknown_C
6450: 6c 6f 6e 65 5f 53 74 75 62 28 49 52 70 63 53 74 lone_Stub(IRpcSt
6460: 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 ubBuffer, IRpcCh
6470: 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 annelBuffer, PRP
6480: 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 C_MESSAGE, PDWOR
6490: 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 42 69 D);..HRESULT IBi
64a0: 6e 64 43 74 78 5f 52 65 67 69 73 74 65 72 4f 62 ndCtx_RegisterOb
64b0: 6a 65 63 74 42 6f 75 6e 64 5f 50 72 6f 78 79 28 jectBound_Proxy(
64c0: 49 42 69 6e 64 43 74 78 2c 20 49 55 6e 6b 6e 6f IBindCtx, IUnkno
64d0: 77 6e 70 75 6e 6b 29 3b 0d 0a 76 6f 69 64 20 49 wnpunk);..void I
64e0: 42 69 6e 64 43 74 78 5f 52 65 67 69 73 74 65 72 BindCtx_Register
64f0: 4f 62 6a 65 63 74 42 6f 75 6e 64 5f 53 74 75 62 ObjectBound_Stub
6500: 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c (IRpcStubBuffer,
6510: 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 IRpcChannelBuff
6520: 65 72 5f 70 52 70 63 43 68 61 6e 6e 65 6c 42 75 er_pRpcChannelBu
6530: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
6540: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 GE, PDWORD);..HR
6550: 45 53 55 4c 54 20 49 42 69 6e 64 43 74 78 5f 52 ESULT IBindCtx_R
6560: 65 76 6f 6b 65 4f 62 6a 65 63 74 42 6f 75 6e 64 evokeObjectBound
6570: 5f 50 72 6f 78 79 28 49 42 69 6e 64 43 74 78 2c _Proxy(IBindCtx,
6580: 20 49 55 6e 6b 6e 6f 77 6e 70 75 6e 6b 29 3b 0d IUnknownpunk);.
6590: 0a 76 6f 69 64 20 49 42 69 6e 64 43 74 78 5f 52 .void IBindCtx_R
65a0: 65 76 6f 6b 65 4f 62 6a 65 63 74 42 6f 75 6e 64 evokeObjectBound
65b0: 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 _Stub(IRpcStubBu
65c0: 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 ffer, IRpcChanne
65d0: 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 lBuffer, PRPC_ME
65e0: 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d SSAGE, PDWORD);.
65f0: 0a 48 52 45 53 55 4c 54 20 49 42 69 6e 64 43 74 .HRESULT IBindCt
6600: 78 5f 52 65 6c 65 61 73 65 42 6f 75 6e 64 4f 62 x_ReleaseBoundOb
6610: 6a 65 63 74 73 5f 50 72 6f 78 79 28 49 42 69 6e jects_Proxy(IBin
6620: 64 43 74 78 29 3b 0d 0a 76 6f 69 64 20 49 42 69 dCtx);..void IBi
6630: 6e 64 43 74 78 5f 52 65 6c 65 61 73 65 42 6f 75 ndCtx_ReleaseBou
6640: 6e 64 4f 62 6a 65 63 74 73 5f 53 74 75 62 28 49 ndObjects_Stub(I
6650: 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 RpcStubBuffer, I
6660: 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 RpcChannelBuffer
6670: 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 , PRPC_MESSAGE,
6680: 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c PDWORD);..HRESUL
6690: 54 20 49 42 69 6e 64 43 74 78 5f 53 65 74 42 69 T IBindCtx_SetBi
66a0: 6e 64 4f 70 74 69 6f 6e 73 5f 50 72 6f 78 79 28 ndOptions_Proxy(
66b0: 49 42 69 6e 64 43 74 78 2c 20 42 49 4e 44 5f 4f IBindCtx, BIND_O
66c0: 50 54 53 2a 29 3b 0d 0a 76 6f 69 64 20 49 42 69 PTS*);..void IBi
66d0: 6e 64 43 74 78 5f 53 65 74 42 69 6e 64 4f 70 74 ndCtx_SetBindOpt
66e0: 69 6f 6e 73 5f 53 74 75 62 28 49 52 70 63 53 74 ions_Stub(IRpcSt
66f0: 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 ubBuffer, IRpcCh
6700: 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 annelBuffer, PRP
6710: 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 C_MESSAGE, PDWOR
6720: 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 42 69 D);..HRESULT IBi
6730: 6e 64 43 74 78 5f 47 65 74 42 69 6e 64 4f 70 74 ndCtx_GetBindOpt
6740: 69 6f 6e 73 5f 50 72 6f 78 79 28 49 42 69 6e 64 ions_Proxy(IBind
6750: 43 74 78 2c 20 42 49 4e 44 5f 4f 50 54 53 2a 70 Ctx, BIND_OPTS*p
6760: 62 69 6e 64 6f 70 74 73 29 3b 0d 0a 76 6f 69 64 bindopts);..void
6770: 20 49 42 69 6e 64 43 74 78 5f 47 65 74 42 69 6e IBindCtx_GetBin
6780: 64 4f 70 74 69 6f 6e 73 5f 53 74 75 62 28 49 52 dOptions_Stub(IR
6790: 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 pcStubBuffer, IR
67a0: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c pcChannelBuffer,
67b0: 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 PRPC_MESSAGE, P
67c0: 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 DWORD);..HRESULT
67d0: 20 49 42 69 6e 64 43 74 78 5f 47 65 74 52 75 6e IBindCtx_GetRun
67e0: 6e 69 6e 67 4f 62 6a 65 63 74 54 61 62 6c 65 5f ningObjectTable_
67f0: 50 72 6f 78 79 28 49 42 69 6e 64 43 74 78 2c 20 Proxy(IBindCtx,
6800: 49 52 75 6e 6e 69 6e 67 4f 62 6a 65 63 74 54 61 IRunningObjectTa
6810: 62 6c 65 2a 29 3b 0d 0a 76 6f 69 64 20 49 42 69 ble*);..void IBi
6820: 6e 64 43 74 78 5f 47 65 74 52 75 6e 6e 69 6e 67 ndCtx_GetRunning
6830: 4f 62 6a 65 63 74 54 61 62 6c 65 5f 53 74 75 62 ObjectTable_Stub
6840: 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c (IRpcStubBuffer,
6850: 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 IRpcChannelBuff
6860: 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 er, PRPC_MESSAGE
6870: 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 , PDWORD);..HRES
6880: 55 4c 54 20 49 42 69 6e 64 43 74 78 5f 52 65 67 ULT IBindCtx_Reg
6890: 69 73 74 65 72 4f 62 6a 65 63 74 50 61 72 61 6d isterObjectParam
68a0: 5f 50 72 6f 78 79 28 49 42 69 6e 64 43 74 78 2c _Proxy(IBindCtx,
68b0: 20 4c 50 43 53 54 52 2c 20 49 55 6e 6b 6e 6f 77 LPCSTR, IUnknow
68c0: 6e 29 3b 0d 0a 76 6f 69 64 20 49 42 69 6e 64 43 n);..void IBindC
68d0: 74 78 5f 52 65 67 69 73 74 65 72 4f 62 6a 65 63 tx_RegisterObjec
68e0: 74 50 61 72 61 6d 5f 53 74 75 62 28 49 52 70 63 tParam_Stub(IRpc
68f0: 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 StubBuffer, IRpc
6900: 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 ChannelBuffer, P
6910: 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 RPC_MESSAGE, PDW
6920: 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 ORD);..HRESULT I
6930: 42 69 6e 64 43 74 78 5f 47 65 74 4f 62 6a 65 63 BindCtx_GetObjec
6940: 74 50 61 72 61 6d 5f 50 72 6f 78 79 28 49 42 69 tParam_Proxy(IBi
6950: 6e 64 43 74 78 2c 20 4c 50 43 53 54 52 2c 20 49 ndCtx, LPCSTR, I
6960: 55 6e 6b 6e 6f 77 6e 2a 29 3b 0d 0a 76 6f 69 64 Unknown*);..void
6970: 20 49 42 69 6e 64 43 74 78 5f 47 65 74 4f 62 6a IBindCtx_GetObj
6980: 65 63 74 50 61 72 61 6d 5f 53 74 75 62 28 49 52 ectParam_Stub(IR
6990: 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 pcStubBuffer, IR
69a0: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c pcChannelBuffer,
69b0: 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 PRPC_MESSAGE, P
69c0: 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 DWORD);..HRESULT
69d0: 20 49 42 69 6e 64 43 74 78 5f 45 6e 75 6d 4f 62 IBindCtx_EnumOb
69e0: 6a 65 63 74 50 61 72 61 6d 5f 50 72 6f 78 79 28 jectParam_Proxy(
69f0: 49 42 69 6e 64 43 74 78 2c 20 49 45 6e 75 6d 53 IBindCtx, IEnumS
6a00: 74 72 69 6e 67 2a 29 3b 0d 0a 76 6f 69 64 20 49 tring*);..void I
6a10: 42 69 6e 64 43 74 78 5f 45 6e 75 6d 4f 62 6a 65 BindCtx_EnumObje
6a20: 63 74 50 61 72 61 6d 5f 53 74 75 62 28 49 52 70 ctParam_Stub(IRp
6a30: 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 cStubBuffer, IRp
6a40: 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 cChannelBuffer,
6a50: 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 PRPC_MESSAGE, PD
6a60: 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 WORD);..HRESULT
6a70: 49 42 69 6e 64 43 74 78 5f 52 65 76 6f 6b 65 4f IBindCtx_RevokeO
6a80: 62 6a 65 63 74 50 61 72 61 6d 5f 50 72 6f 78 79 bjectParam_Proxy
6a90: 28 49 42 69 6e 64 43 74 78 2c 20 4c 50 43 53 54 (IBindCtx, LPCST
6aa0: 52 29 3b 0d 0a 76 6f 69 64 20 49 42 69 6e 64 43 R);..void IBindC
6ab0: 74 78 5f 52 65 76 6f 6b 65 4f 62 6a 65 63 74 50 tx_RevokeObjectP
6ac0: 61 72 61 6d 5f 53 74 75 62 28 49 52 70 63 53 74 aram_Stub(IRpcSt
6ad0: 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 ubBuffer, IRpcCh
6ae0: 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 annelBuffer, PRP
6af0: 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 C_MESSAGE, PDWOR
6b00: 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 45 6e D);..HRESULT IEn
6b10: 75 6d 4d 6f 6e 69 6b 65 72 5f 52 65 6d 6f 74 65 umMoniker_Remote
6b20: 4e 65 78 74 5f 50 72 6f 78 79 28 49 45 6e 75 6d Next_Proxy(IEnum
6b30: 4d 6f 6e 69 6b 65 72 2c 20 55 4c 4f 4e 47 2c 20 Moniker, ULONG,
6b40: 49 4d 6f 6e 69 6b 65 72 2a 2c 20 55 4c 4f 4e 47 IMoniker*, ULONG
6b50: 2a 29 3b 0d 0a 76 6f 69 64 20 49 45 6e 75 6d 4d *);..void IEnumM
6b60: 6f 6e 69 6b 65 72 5f 52 65 6d 6f 74 65 4e 65 78 oniker_RemoteNex
6b70: 74 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 t_Stub(IRpcStubB
6b80: 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e uffer, IRpcChann
6b90: 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d elBuffer, PRPC_M
6ba0: 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b ESSAGE, PDWORD);
6bb0: 0d 0a 48 52 45 53 55 4c 54 20 49 45 6e 75 6d 4d ..HRESULT IEnumM
6bc0: 6f 6e 69 6b 65 72 5f 53 6b 69 70 5f 50 72 6f 78 oniker_Skip_Prox
6bd0: 79 28 49 45 6e 75 6d 4d 6f 6e 69 6b 65 72 2c 20 y(IEnumMoniker,
6be0: 55 4c 4f 4e 47 29 3b 0d 0a 76 6f 69 64 20 49 45 ULONG);..void IE
6bf0: 6e 75 6d 4d 6f 6e 69 6b 65 72 5f 53 6b 69 70 5f numMoniker_Skip_
6c00: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
6c10: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
6c20: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
6c30: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
6c40: 48 52 45 53 55 4c 54 20 49 45 6e 75 6d 4d 6f 6e HRESULT IEnumMon
6c50: 69 6b 65 72 5f 52 65 73 65 74 5f 50 72 6f 78 79 iker_Reset_Proxy
6c60: 28 49 45 6e 75 6d 4d 6f 6e 69 6b 65 72 29 3b 0d (IEnumMoniker);.
6c70: 0a 76 6f 69 64 20 49 45 6e 75 6d 4d 6f 6e 69 6b .void IEnumMonik
6c80: 65 72 5f 52 65 73 65 74 5f 53 74 75 62 28 49 52 er_Reset_Stub(IR
6c90: 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 pcStubBuffer, IR
6ca0: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c pcChannelBuffer,
6cb0: 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 PRPC_MESSAGE, P
6cc0: 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 DWORD);..HRESULT
6cd0: 20 49 45 6e 75 6d 4d 6f 6e 69 6b 65 72 5f 43 6c IEnumMoniker_Cl
6ce0: 6f 6e 65 5f 50 72 6f 78 79 28 49 45 6e 75 6d 4d one_Proxy(IEnumM
6cf0: 6f 6e 69 6b 65 72 2c 20 49 45 6e 75 6d 4d 6f 6e oniker, IEnumMon
6d00: 69 6b 65 72 2a 29 3b 0d 0a 76 6f 69 64 20 49 45 iker*);..void IE
6d10: 6e 75 6d 4d 6f 6e 69 6b 65 72 5f 43 6c 6f 6e 65 numMoniker_Clone
6d20: 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 _Stub(IRpcStubBu
6d30: 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 ffer, IRpcChanne
6d40: 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 lBuffer, PRPC_ME
6d50: 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d SSAGE, PDWORD);.
6d60: 0a 48 52 45 53 55 4c 54 20 49 52 75 6e 6e 61 62 .HRESULT IRunnab
6d70: 6c 65 4f 62 6a 65 63 74 5f 47 65 74 52 75 6e 6e leObject_GetRunn
6d80: 69 6e 67 43 6c 61 73 73 5f 50 72 6f 78 79 28 49 ingClass_Proxy(I
6d90: 52 75 6e 6e 61 62 6c 65 4f 62 6a 65 63 74 2c 20 RunnableObject,
6da0: 4c 50 43 4c 53 49 44 29 3b 0d 0a 76 6f 69 64 20 LPCLSID);..void
6db0: 49 52 75 6e 6e 61 62 6c 65 4f 62 6a 65 63 74 5f IRunnableObject_
6dc0: 47 65 74 52 75 6e 6e 69 6e 67 43 6c 61 73 73 5f GetRunningClass_
6dd0: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
6de0: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
6df0: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
6e00: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
6e10: 48 52 45 53 55 4c 54 20 49 52 75 6e 6e 61 62 6c HRESULT IRunnabl
6e20: 65 4f 62 6a 65 63 74 5f 52 75 6e 5f 50 72 6f 78 eObject_Run_Prox
6e30: 79 28 49 52 75 6e 6e 61 62 6c 65 4f 62 6a 65 63 y(IRunnableObjec
6e40: 74 2c 20 4c 50 42 49 4e 44 43 54 58 29 3b 0d 0a t, LPBINDCTX);..
6e50: 76 6f 69 64 20 49 52 75 6e 6e 61 62 6c 65 4f 62 void IRunnableOb
6e60: 6a 65 63 74 5f 52 75 6e 5f 53 74 75 62 28 49 52 ject_Run_Stub(IR
6e70: 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 pcStubBuffer, IR
6e80: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c pcChannelBuffer,
6e90: 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 PRPC_MESSAGE, P
6ea0: 44 57 4f 52 44 29 3b 0d 0a 42 4f 4f 4c 20 49 52 DWORD);..BOOL IR
6eb0: 75 6e 6e 61 62 6c 65 4f 62 6a 65 63 74 5f 49 73 unnableObject_Is
6ec0: 52 75 6e 6e 69 6e 67 5f 50 72 6f 78 79 28 49 52 Running_Proxy(IR
6ed0: 75 6e 6e 61 62 6c 65 4f 62 6a 65 63 74 29 3b 0d unnableObject);.
6ee0: 0a 76 6f 69 64 20 49 52 75 6e 6e 61 62 6c 65 4f .void IRunnableO
6ef0: 62 6a 65 63 74 5f 49 73 52 75 6e 6e 69 6e 67 5f bject_IsRunning_
6f00: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
6f10: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
6f20: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
6f30: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
6f40: 48 52 45 53 55 4c 54 20 49 52 75 6e 6e 61 62 6c HRESULT IRunnabl
6f50: 65 4f 62 6a 65 63 74 5f 4c 6f 63 6b 52 75 6e 6e eObject_LockRunn
6f60: 69 6e 67 5f 50 72 6f 78 79 28 49 52 75 6e 6e 61 ing_Proxy(IRunna
6f70: 62 6c 65 4f 62 6a 65 63 74 2c 20 42 4f 4f 4c 2c bleObject, BOOL,
6f80: 20 42 4f 4f 4c 29 3b 0d 0a 76 6f 69 64 20 49 52 BOOL);..void IR
6f90: 75 6e 6e 61 62 6c 65 4f 62 6a 65 63 74 5f 4c 6f unnableObject_Lo
6fa0: 63 6b 52 75 6e 6e 69 6e 67 5f 53 74 75 62 28 49 ckRunning_Stub(I
6fb0: 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 RpcStubBuffer, I
6fc0: 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 RpcChannelBuffer
6fd0: 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 , PRPC_MESSAGE,
6fe0: 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c PDWORD);..HRESUL
6ff0: 54 20 49 52 75 6e 6e 61 62 6c 65 4f 62 6a 65 63 T IRunnableObjec
7000: 74 5f 53 65 74 43 6f 6e 74 61 69 6e 65 64 4f 62 t_SetContainedOb
7010: 6a 65 63 74 5f 50 72 6f 78 79 28 49 52 75 6e 6e ject_Proxy(IRunn
7020: 61 62 6c 65 4f 62 6a 65 63 74 2c 20 42 4f 4f 4c ableObject, BOOL
7030: 29 3b 0d 0a 76 6f 69 64 20 49 52 75 6e 6e 61 62 );..void IRunnab
7040: 6c 65 4f 62 6a 65 63 74 5f 53 65 74 43 6f 6e 74 leObject_SetCont
7050: 61 69 6e 65 64 4f 62 6a 65 63 74 5f 53 74 75 62 ainedObject_Stub
7060: 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c (IRpcStubBuffer,
7070: 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 IRpcChannelBuff
7080: 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 er, PRPC_MESSAGE
7090: 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 , PDWORD);..HRES
70a0: 55 4c 54 20 49 52 75 6e 6e 69 6e 67 4f 62 6a 65 ULT IRunningObje
70b0: 63 74 54 61 62 6c 65 5f 52 65 67 69 73 74 65 72 ctTable_Register
70c0: 5f 50 72 6f 78 79 28 49 52 75 6e 6e 69 6e 67 4f _Proxy(IRunningO
70d0: 62 6a 65 63 74 54 61 62 6c 65 2c 20 44 57 4f 52 bjectTable, DWOR
70e0: 44 2c 20 49 55 6e 6b 6e 6f 77 6e 2c 20 49 4d 6f D, IUnknown, IMo
70f0: 6e 69 6b 65 72 2c 20 44 57 4f 52 44 2a 29 3b 0d niker, DWORD*);.
7100: 0a 76 6f 69 64 20 49 52 75 6e 6e 69 6e 67 4f 62 .void IRunningOb
7110: 6a 65 63 74 54 61 62 6c 65 5f 52 65 67 69 73 74 jectTable_Regist
7120: 65 72 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 er_Stub(IRpcStub
7130: 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e Buffer, IRpcChan
7140: 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f nelBuffer, PRPC_
7150: 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 MESSAGE, PDWORD)
7160: 3b 0d 0a 48 52 45 53 55 4c 54 20 49 52 75 6e 6e ;..HRESULT IRunn
7170: 69 6e 67 4f 62 6a 65 63 74 54 61 62 6c 65 5f 52 ingObjectTable_R
7180: 65 76 6f 6b 65 5f 50 72 6f 78 79 28 49 52 75 6e evoke_Proxy(IRun
7190: 6e 69 6e 67 4f 62 6a 65 63 74 54 61 62 6c 65 2c ningObjectTable,
71a0: 20 44 57 4f 52 44 29 3b 0d 0a 76 6f 69 64 20 49 DWORD);..void I
71b0: 52 75 6e 6e 69 6e 67 4f 62 6a 65 63 74 54 61 62 RunningObjectTab
71c0: 6c 65 5f 52 65 76 6f 6b 65 5f 53 74 75 62 28 49 le_Revoke_Stub(I
71d0: 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 RpcStubBuffer, I
71e0: 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 RpcChannelBuffer
71f0: 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 , PRPC_MESSAGE,
7200: 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c PDWORD);..HRESUL
7210: 54 20 49 52 75 6e 6e 69 6e 67 4f 62 6a 65 63 74 T IRunningObject
7220: 54 61 62 6c 65 5f 49 73 52 75 6e 6e 69 6e 67 5f Table_IsRunning_
7230: 50 72 6f 78 79 28 49 52 75 6e 6e 69 6e 67 4f 62 Proxy(IRunningOb
7240: 6a 65 63 74 54 61 62 6c 65 2c 20 49 4d 6f 6e 69 jectTable, IMoni
7250: 6b 65 72 29 3b 0d 0a 76 6f 69 64 20 49 52 75 6e ker);..void IRun
7260: 6e 69 6e 67 4f 62 6a 65 63 74 54 61 62 6c 65 5f ningObjectTable_
7270: 49 73 52 75 6e 6e 69 6e 67 5f 53 74 75 62 28 49 IsRunning_Stub(I
7280: 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 RpcStubBuffer, I
7290: 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 RpcChannelBuffer
72a0: 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 , PRPC_MESSAGE,
72b0: 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c PDWORD);..HRESUL
72c0: 54 20 49 52 75 6e 6e 69 6e 67 4f 62 6a 65 63 74 T IRunningObject
72d0: 54 61 62 6c 65 5f 47 65 74 4f 62 6a 65 63 74 5f Table_GetObject_
72e0: 50 72 6f 78 79 28 49 52 75 6e 6e 69 6e 67 4f 62 Proxy(IRunningOb
72f0: 6a 65 63 74 54 61 62 6c 65 2c 20 49 4d 6f 6e 69 jectTable, IMoni
7300: 6b 65 72 2c 20 49 55 6e 6b 6e 6f 77 6e 2a 29 3b ker, IUnknown*);
7310: 0d 0a 76 6f 69 64 20 49 52 75 6e 6e 69 6e 67 4f ..void IRunningO
7320: 62 6a 65 63 74 54 61 62 6c 65 5f 47 65 74 4f 62 bjectTable_GetOb
7330: 6a 65 63 74 5f 53 74 75 62 28 49 52 70 63 53 74 ject_Stub(IRpcSt
7340: 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 ubBuffer, IRpcCh
7350: 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 annelBuffer, PRP
7360: 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 C_MESSAGE, PDWOR
7370: 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 52 75 D);..HRESULT IRu
7380: 6e 6e 69 6e 67 4f 62 6a 65 63 74 54 61 62 6c 65 nningObjectTable
7390: 5f 4e 6f 74 65 43 68 61 6e 67 65 54 69 6d 65 5f _NoteChangeTime_
73a0: 50 72 6f 78 79 28 49 52 75 6e 6e 69 6e 67 4f 62 Proxy(IRunningOb
73b0: 6a 65 63 74 54 61 62 6c 65 2c 20 44 57 4f 52 44 jectTable, DWORD
73c0: 2c 20 46 49 4c 45 54 49 4d 45 2a 29 3b 0d 0a 76 , FILETIME*);..v
73d0: 6f 69 64 20 49 52 75 6e 6e 69 6e 67 4f 62 6a 65 oid IRunningObje
73e0: 63 74 54 61 62 6c 65 5f 4e 6f 74 65 43 68 61 6e ctTable_NoteChan
73f0: 67 65 54 69 6d 65 5f 53 74 75 62 28 49 52 70 63 geTime_Stub(IRpc
7400: 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 StubBuffer, IRpc
7410: 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 ChannelBuffer, P
7420: 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 RPC_MESSAGE, PDW
7430: 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 ORD);..HRESULT I
7440: 52 75 6e 6e 69 6e 67 4f 62 6a 65 63 74 54 61 62 RunningObjectTab
7450: 6c 65 5f 47 65 74 54 69 6d 65 4f 66 4c 61 73 74 le_GetTimeOfLast
7460: 43 68 61 6e 67 65 5f 50 72 6f 78 79 28 49 52 75 Change_Proxy(IRu
7470: 6e 6e 69 6e 67 4f 62 6a 65 63 74 54 61 62 6c 65 nningObjectTable
7480: 2c 20 49 4d 6f 6e 69 6b 65 72 2c 20 46 49 4c 45 , IMoniker, FILE
7490: 54 49 4d 45 2a 29 3b 0d 0a 76 6f 69 64 20 49 52 TIME*);..void IR
74a0: 75 6e 6e 69 6e 67 4f 62 6a 65 63 74 54 61 62 6c unningObjectTabl
74b0: 65 5f 47 65 74 54 69 6d 65 4f 66 4c 61 73 74 43 e_GetTimeOfLastC
74c0: 68 61 6e 67 65 5f 53 74 75 62 28 49 52 70 63 53 hange_Stub(IRpcS
74d0: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
74e0: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
74f0: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
7500: 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 52 RD);..HRESULT IR
7510: 75 6e 6e 69 6e 67 4f 62 6a 65 63 74 54 61 62 6c unningObjectTabl
7520: 65 5f 45 6e 75 6d 52 75 6e 6e 69 6e 67 5f 50 72 e_EnumRunning_Pr
7530: 6f 78 79 28 49 52 75 6e 6e 69 6e 67 4f 62 6a 65 oxy(IRunningObje
7540: 63 74 54 61 62 6c 65 2c 20 49 45 6e 75 6d 4d 6f ctTable, IEnumMo
7550: 6e 69 6b 65 72 2a 29 3b 0d 0a 76 6f 69 64 20 49 niker*);..void I
7560: 52 75 6e 6e 69 6e 67 4f 62 6a 65 63 74 54 61 62 RunningObjectTab
7570: 6c 65 5f 45 6e 75 6d 52 75 6e 6e 69 6e 67 5f 53 le_EnumRunning_S
7580: 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 tub(IRpcStubBuff
7590: 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 er, IRpcChannelB
75a0: 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 uffer, PRPC_MESS
75b0: 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 AGE, PDWORD);..H
75c0: 52 45 53 55 4c 54 20 49 50 65 72 73 69 73 74 5f RESULT IPersist_
75d0: 47 65 74 43 6c 61 73 73 49 44 5f 50 72 6f 78 79 GetClassID_Proxy
75e0: 28 49 50 65 72 73 69 73 74 2c 20 43 4c 53 49 44 (IPersist, CLSID
75f0: 2a 29 3b 0d 0a 76 6f 69 64 20 49 50 65 72 73 69 *);..void IPersi
7600: 73 74 5f 47 65 74 43 6c 61 73 73 49 44 5f 53 74 st_GetClassID_St
7610: 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 ub(IRpcStubBuffe
7620: 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 r, IRpcChannelBu
7630: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
7640: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 GE, PDWORD);..HR
7650: 45 53 55 4c 54 20 49 50 65 72 73 69 73 74 53 74 ESULT IPersistSt
7660: 72 65 61 6d 5f 49 73 44 69 72 74 79 5f 50 72 6f ream_IsDirty_Pro
7670: 78 79 28 49 50 65 72 73 69 73 74 53 74 72 65 61 xy(IPersistStrea
7680: 6d 29 3b 0d 0a 76 6f 69 64 20 49 50 65 72 73 69 m);..void IPersi
7690: 73 74 53 74 72 65 61 6d 5f 49 73 44 69 72 74 79 stStream_IsDirty
76a0: 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 _Stub(IRpcStubBu
76b0: 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 ffer, IRpcChanne
76c0: 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 lBuffer, PRPC_ME
76d0: 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d SSAGE, PDWORD);.
76e0: 0a 48 52 45 53 55 4c 54 20 49 50 65 72 73 69 73 .HRESULT IPersis
76f0: 74 53 74 72 65 61 6d 5f 4c 6f 61 64 5f 50 72 6f tStream_Load_Pro
7700: 78 79 28 49 50 65 72 73 69 73 74 53 74 72 65 61 xy(IPersistStrea
7710: 6d 2c 20 49 53 74 72 65 61 6d 29 3b 0d 0a 76 6f m, IStream);..vo
7720: 69 64 20 49 50 65 72 73 69 73 74 53 74 72 65 61 id IPersistStrea
7730: 6d 5f 4c 6f 61 64 5f 53 74 75 62 28 49 52 70 63 m_Load_Stub(IRpc
7740: 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 StubBuffer, IRpc
7750: 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 ChannelBuffer, P
7760: 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 RPC_MESSAGE, PDW
7770: 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 ORD);..HRESULT I
7780: 50 65 72 73 69 73 74 53 74 72 65 61 6d 5f 53 61 PersistStream_Sa
7790: 76 65 5f 50 72 6f 78 79 28 49 50 65 72 73 69 73 ve_Proxy(IPersis
77a0: 74 53 74 72 65 61 6d 2c 20 49 53 74 72 65 61 6d tStream, IStream
77b0: 2c 20 42 4f 4f 4c 29 3b 0d 0a 76 6f 69 64 20 49 , BOOL);..void I
77c0: 50 65 72 73 69 73 74 53 74 72 65 61 6d 5f 53 61 PersistStream_Sa
77d0: 76 65 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 ve_Stub(IRpcStub
77e0: 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e Buffer, IRpcChan
77f0: 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f nelBuffer, PRPC_
7800: 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 MESSAGE, PDWORD)
7810: 3b 0d 0a 48 52 45 53 55 4c 54 20 49 50 65 72 73 ;..HRESULT IPers
7820: 69 73 74 53 74 72 65 61 6d 5f 47 65 74 53 69 7a istStream_GetSiz
7830: 65 4d 61 78 5f 50 72 6f 78 79 28 49 50 65 72 73 eMax_Proxy(IPers
7840: 69 73 74 53 74 72 65 61 6d 2c 20 55 4c 41 52 47 istStream, ULARG
7850: 45 5f 49 4e 54 45 47 45 52 2a 29 3b 0d 0a 76 6f E_INTEGER*);..vo
7860: 69 64 20 49 50 65 72 73 69 73 74 53 74 72 65 61 id IPersistStrea
7870: 6d 5f 47 65 74 53 69 7a 65 4d 61 78 5f 53 74 75 m_GetSizeMax_Stu
7880: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
7890: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
78a0: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
78b0: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
78c0: 53 55 4c 54 20 49 4d 6f 6e 69 6b 65 72 5f 52 65 SULT IMoniker_Re
78d0: 6d 6f 74 65 42 69 6e 64 54 6f 4f 62 6a 65 63 74 moteBindToObject
78e0: 5f 50 72 6f 78 79 28 49 4d 6f 6e 69 6b 65 72 2c _Proxy(IMoniker,
78f0: 20 49 42 69 6e 64 43 74 78 2c 20 49 4d 6f 6e 69 IBindCtx, IMoni
7900: 6b 65 72 2c 20 52 45 46 49 49 44 2c 20 49 55 6e ker, REFIID, IUn
7910: 6b 6e 6f 77 6e 2a 29 3b 0d 0a 76 6f 69 64 20 49 known*);..void I
7920: 4d 6f 6e 69 6b 65 72 5f 52 65 6d 6f 74 65 42 69 Moniker_RemoteBi
7930: 6e 64 54 6f 4f 62 6a 65 63 74 5f 53 74 75 62 28 ndToObject_Stub(
7940: 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 IRpcStubBuffer,
7950: 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 IRpcChannelBuffe
7960: 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c r, PRPC_MESSAGE,
7970: 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 PDWORD);..HRESU
7980: 4c 54 20 49 4d 6f 6e 69 6b 65 72 5f 52 65 6d 6f LT IMoniker_Remo
7990: 74 65 42 69 6e 64 54 6f 53 74 6f 72 61 67 65 5f teBindToStorage_
79a0: 50 72 6f 78 79 28 49 4d 6f 6e 69 6b 65 72 2c 20 Proxy(IMoniker,
79b0: 49 42 69 6e 64 43 74 78 2c 20 49 4d 6f 6e 69 6b IBindCtx, IMonik
79c0: 65 72 2c 20 52 45 46 49 49 44 2c 20 49 55 6e 6b er, REFIID, IUnk
79d0: 6e 6f 77 6e 2a 29 3b 0d 0a 76 6f 69 64 20 49 4d nown*);..void IM
79e0: 6f 6e 69 6b 65 72 5f 52 65 6d 6f 74 65 42 69 6e oniker_RemoteBin
79f0: 64 54 6f 53 74 6f 72 61 67 65 5f 53 74 75 62 28 dToStorage_Stub(
7a00: 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 IRpcStubBuffer,
7a10: 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 IRpcChannelBuffe
7a20: 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c r, PRPC_MESSAGE,
7a30: 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 PDWORD);..HRESU
7a40: 4c 54 20 49 4d 6f 6e 69 6b 65 72 5f 52 65 64 75 LT IMoniker_Redu
7a50: 63 65 5f 50 72 6f 78 79 28 49 4d 6f 6e 69 6b 65 ce_Proxy(IMonike
7a60: 72 2c 20 49 42 69 6e 64 43 74 78 2c 20 44 57 4f r, IBindCtx, DWO
7a70: 52 44 2c 20 49 4d 6f 6e 69 6b 65 72 2a 2c 20 49 RD, IMoniker*, I
7a80: 4d 6f 6e 69 6b 65 72 2a 29 3b 0d 0a 76 6f 69 64 Moniker*);..void
7a90: 20 49 4d 6f 6e 69 6b 65 72 5f 52 65 64 75 63 65 IMoniker_Reduce
7aa0: 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 _Stub(IRpcStubBu
7ab0: 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 ffer, IRpcChanne
7ac0: 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 lBuffer, PRPC_ME
7ad0: 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d SSAGE, PDWORD);.
7ae0: 0a 48 52 45 53 55 4c 54 20 49 4d 6f 6e 69 6b 65 .HRESULT IMonike
7af0: 72 5f 43 6f 6d 70 6f 73 65 57 69 74 68 5f 50 72 r_ComposeWith_Pr
7b00: 6f 78 79 28 49 4d 6f 6e 69 6b 65 72 2c 20 49 4d oxy(IMoniker, IM
7b10: 6f 6e 69 6b 65 72 2c 20 42 4f 4f 4c 2c 20 49 4d oniker, BOOL, IM
7b20: 6f 6e 69 6b 65 72 2a 29 3b 0d 0a 76 6f 69 64 20 oniker*);..void
7b30: 49 4d 6f 6e 69 6b 65 72 5f 43 6f 6d 70 6f 73 65 IMoniker_Compose
7b40: 57 69 74 68 5f 53 74 75 62 28 49 52 70 63 53 74 With_Stub(IRpcSt
7b50: 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 ubBuffer, IRpcCh
7b60: 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 annelBuffer, PRP
7b70: 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 C_MESSAGE, PDWOR
7b80: 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 4d 6f D);..HRESULT IMo
7b90: 6e 69 6b 65 72 5f 45 6e 75 6d 5f 50 72 6f 78 79 niker_Enum_Proxy
7ba0: 28 49 4d 6f 6e 69 6b 65 72 2c 20 42 4f 4f 4c 2c (IMoniker, BOOL,
7bb0: 20 49 45 6e 75 6d 4d 6f 6e 69 6b 65 72 2a 29 3b IEnumMoniker*);
7bc0: 0d 0a 76 6f 69 64 20 49 4d 6f 6e 69 6b 65 72 5f ..void IMoniker_
7bd0: 45 6e 75 6d 5f 53 74 75 62 28 49 52 70 63 53 74 Enum_Stub(IRpcSt
7be0: 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 ubBuffer, IRpcCh
7bf0: 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 annelBuffer, PRP
7c00: 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 C_MESSAGE, PDWOR
7c10: 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 4d 6f D);..HRESULT IMo
7c20: 6e 69 6b 65 72 5f 49 73 45 71 75 61 6c 5f 50 72 niker_IsEqual_Pr
7c30: 6f 78 79 28 49 4d 6f 6e 69 6b 65 72 2c 20 49 4d oxy(IMoniker, IM
7c40: 6f 6e 69 6b 65 72 29 3b 0d 0a 76 6f 69 64 20 49 oniker);..void I
7c50: 4d 6f 6e 69 6b 65 72 5f 49 73 45 71 75 61 6c 5f Moniker_IsEqual_
7c60: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
7c70: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
7c80: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
7c90: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
7ca0: 48 52 45 53 55 4c 54 20 49 4d 6f 6e 69 6b 65 72 HRESULT IMoniker
7cb0: 5f 48 61 73 68 5f 50 72 6f 78 79 28 49 4d 6f 6e _Hash_Proxy(IMon
7cc0: 69 6b 65 72 2c 20 44 57 4f 52 44 2a 29 3b 0d 0a iker, DWORD*);..
7cd0: 76 6f 69 64 20 49 4d 6f 6e 69 6b 65 72 5f 48 61 void IMoniker_Ha
7ce0: 73 68 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 sh_Stub(IRpcStub
7cf0: 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e Buffer, IRpcChan
7d00: 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f nelBuffer, PRPC_
7d10: 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 MESSAGE, PDWORD)
7d20: 3b 0d 0a 48 52 45 53 55 4c 54 20 49 4d 6f 6e 69 ;..HRESULT IMoni
7d30: 6b 65 72 5f 49 73 52 75 6e 6e 69 6e 67 5f 50 72 ker_IsRunning_Pr
7d40: 6f 78 79 28 49 4d 6f 6e 69 6b 65 72 2c 20 49 42 oxy(IMoniker, IB
7d50: 69 6e 64 43 74 78 2c 20 49 4d 6f 6e 69 6b 65 72 indCtx, IMoniker
7d60: 2c 20 49 4d 6f 6e 69 6b 65 72 29 3b 0d 0a 76 6f , IMoniker);..vo
7d70: 69 64 20 49 4d 6f 6e 69 6b 65 72 5f 49 73 52 75 id IMoniker_IsRu
7d80: 6e 6e 69 6e 67 5f 53 74 75 62 28 49 52 70 63 53 nning_Stub(IRpcS
7d90: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
7da0: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
7db0: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
7dc0: 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 4d RD);..HRESULT IM
7dd0: 6f 6e 69 6b 65 72 5f 47 65 74 54 69 6d 65 4f 66 oniker_GetTimeOf
7de0: 4c 61 73 74 43 68 61 6e 67 65 5f 50 72 6f 78 79 LastChange_Proxy
7df0: 28 49 4d 6f 6e 69 6b 65 72 2c 20 49 42 69 6e 64 (IMoniker, IBind
7e00: 43 74 78 2c 20 49 4d 6f 6e 69 6b 65 72 2c 20 46 Ctx, IMoniker, F
7e10: 49 4c 45 54 49 4d 45 2a 29 3b 0d 0a 76 6f 69 64 ILETIME*);..void
7e20: 20 49 4d 6f 6e 69 6b 65 72 5f 47 65 74 54 69 6d IMoniker_GetTim
7e30: 65 4f 66 4c 61 73 74 43 68 61 6e 67 65 5f 53 74 eOfLastChange_St
7e40: 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 ub(IRpcStubBuffe
7e50: 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 r, IRpcChannelBu
7e60: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
7e70: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 GE, PDWORD);..HR
7e80: 45 53 55 4c 54 20 49 4d 6f 6e 69 6b 65 72 5f 49 ESULT IMoniker_I
7e90: 6e 76 65 72 73 65 5f 50 72 6f 78 79 28 49 4d 6f nverse_Proxy(IMo
7ea0: 6e 69 6b 65 72 2c 20 49 4d 6f 6e 69 6b 65 72 2a niker, IMoniker*
7eb0: 29 3b 0d 0a 76 6f 69 64 20 49 4d 6f 6e 69 6b 65 );..void IMonike
7ec0: 72 5f 49 6e 76 65 72 73 65 5f 53 74 75 62 28 49 r_Inverse_Stub(I
7ed0: 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 RpcStubBuffer, I
7ee0: 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 RpcChannelBuffer
7ef0: 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 , PRPC_MESSAGE,
7f00: 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c PDWORD);..HRESUL
7f10: 54 20 49 4d 6f 6e 69 6b 65 72 5f 43 6f 6d 6d 6f T IMoniker_Commo
7f20: 6e 50 72 65 66 69 78 57 69 74 68 5f 50 72 6f 78 nPrefixWith_Prox
7f30: 79 28 49 4d 6f 6e 69 6b 65 72 2c 20 49 4d 6f 6e y(IMoniker, IMon
7f40: 69 6b 65 72 2c 20 49 4d 6f 6e 69 6b 65 72 2a 29 iker, IMoniker*)
7f50: 3b 0d 0a 76 6f 69 64 20 49 4d 6f 6e 69 6b 65 72 ;..void IMoniker
7f60: 5f 43 6f 6d 6d 6f 6e 50 72 65 66 69 78 57 69 74 _CommonPrefixWit
7f70: 68 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 h_Stub(IRpcStubB
7f80: 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e uffer, IRpcChann
7f90: 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d elBuffer, PRPC_M
7fa0: 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b ESSAGE, PDWORD);
7fb0: 0d 0a 48 52 45 53 55 4c 54 20 49 4d 6f 6e 69 6b ..HRESULT IMonik
7fc0: 65 72 5f 52 65 6c 61 74 69 76 65 50 61 74 68 54 er_RelativePathT
7fd0: 6f 5f 50 72 6f 78 79 28 49 4d 6f 6e 69 6b 65 72 o_Proxy(IMoniker
7fe0: 2c 20 49 4d 6f 6e 69 6b 65 72 2c 20 49 4d 6f 6e , IMoniker, IMon
7ff0: 69 6b 65 72 2a 29 3b 0d 0a 76 6f 69 64 20 49 4d iker*);..void IM
8000: 6f 6e 69 6b 65 72 5f 52 65 6c 61 74 69 76 65 50 oniker_RelativeP
8010: 61 74 68 54 6f 5f 53 74 75 62 28 49 52 70 63 53 athTo_Stub(IRpcS
8020: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
8030: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
8040: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
8050: 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 4d RD);..HRESULT IM
8060: 6f 6e 69 6b 65 72 5f 47 65 74 44 69 73 70 6c 61 oniker_GetDispla
8070: 79 4e 61 6d 65 5f 50 72 6f 78 79 28 49 4d 6f 6e yName_Proxy(IMon
8080: 69 6b 65 72 2c 20 49 42 69 6e 64 43 74 78 2c 20 iker, IBindCtx,
8090: 49 4d 6f 6e 69 6b 65 72 2c 20 4c 50 43 53 54 52 IMoniker, LPCSTR
80a0: 2a 29 3b 0d 0a 76 6f 69 64 20 49 4d 6f 6e 69 6b *);..void IMonik
80b0: 65 72 5f 47 65 74 44 69 73 70 6c 61 79 4e 61 6d er_GetDisplayNam
80c0: 65 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 e_Stub(IRpcStubB
80d0: 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e uffer, IRpcChann
80e0: 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d elBuffer, PRPC_M
80f0: 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b ESSAGE, PDWORD);
8100: 0d 0a 48 52 45 53 55 4c 54 20 49 4d 6f 6e 69 6b ..HRESULT IMonik
8110: 65 72 5f 50 61 72 73 65 44 69 73 70 6c 61 79 4e er_ParseDisplayN
8120: 61 6d 65 5f 50 72 6f 78 79 28 49 4d 6f 6e 69 6b ame_Proxy(IMonik
8130: 65 72 2c 20 49 42 69 6e 64 43 74 78 2c 20 49 4d er, IBindCtx, IM
8140: 6f 6e 69 6b 65 72 2c 20 4c 50 43 53 54 52 2c 20 oniker, LPCSTR,
8150: 55 4c 4f 4e 47 2a 2c 20 49 4d 6f 6e 69 6b 65 72 ULONG*, IMoniker
8160: 2a 29 3b 0d 0a 76 6f 69 64 20 49 4d 6f 6e 69 6b *);..void IMonik
8170: 65 72 5f 50 61 72 73 65 44 69 73 70 6c 61 79 4e er_ParseDisplayN
8180: 61 6d 65 5f 53 74 75 62 28 49 52 70 63 53 74 75 ame_Stub(IRpcStu
8190: 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 bBuffer, IRpcCha
81a0: 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 nnelBuffer, PRPC
81b0: 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 _MESSAGE, PDWORD
81c0: 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 4d 6f 6e );..HRESULT IMon
81d0: 69 6b 65 72 5f 49 73 53 79 73 74 65 6d 4d 6f 6e iker_IsSystemMon
81e0: 69 6b 65 72 5f 50 72 6f 78 79 28 49 4d 6f 6e 69 iker_Proxy(IMoni
81f0: 6b 65 72 2c 20 44 57 4f 52 44 2a 29 3b 0d 0a 76 ker, DWORD*);..v
8200: 6f 69 64 20 49 4d 6f 6e 69 6b 65 72 5f 49 73 53 oid IMoniker_IsS
8210: 79 73 74 65 6d 4d 6f 6e 69 6b 65 72 5f 53 74 75 ystemMoniker_Stu
8220: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
8230: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
8240: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
8250: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
8260: 53 55 4c 54 20 49 52 4f 54 44 61 74 61 5f 47 65 SULT IROTData_Ge
8270: 74 43 6f 6d 70 61 72 69 73 6f 6e 44 61 74 61 5f tComparisonData_
8280: 50 72 6f 78 79 28 49 52 4f 54 44 61 74 61 2c 20 Proxy(IROTData,
8290: 42 59 54 45 2a 2c 20 55 4c 4f 4e 47 20 63 62 4d BYTE*, ULONG cbM
82a0: 61 78 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 76 6f ax, ULONG*);..vo
82b0: 69 64 20 49 52 4f 54 44 61 74 61 5f 47 65 74 43 id IROTData_GetC
82c0: 6f 6d 70 61 72 69 73 6f 6e 44 61 74 61 5f 53 74 omparisonData_St
82d0: 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 ub(IRpcStubBuffe
82e0: 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 r, IRpcChannelBu
82f0: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
8300: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 GE, PDWORD);..HR
8310: 45 53 55 4c 54 20 49 45 6e 75 6d 53 74 72 69 6e ESULT IEnumStrin
8320: 67 5f 52 65 6d 6f 74 65 4e 65 78 74 5f 50 72 6f g_RemoteNext_Pro
8330: 78 79 28 49 45 6e 75 6d 53 74 72 69 6e 67 2c 20 xy(IEnumString,
8340: 55 4c 4f 4e 47 2c 20 4c 50 43 53 54 52 2a 72 67 ULONG, LPCSTR*rg
8350: 65 6c 74 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 76 elt, ULONG*);..v
8360: 6f 69 64 20 49 45 6e 75 6d 53 74 72 69 6e 67 5f oid IEnumString_
8370: 52 65 6d 6f 74 65 4e 65 78 74 5f 53 74 75 62 28 RemoteNext_Stub(
8380: 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 IRpcStubBuffer,
8390: 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 IRpcChannelBuffe
83a0: 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c r, PRPC_MESSAGE,
83b0: 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 PDWORD);..HRESU
83c0: 4c 54 20 49 45 6e 75 6d 53 74 72 69 6e 67 5f 53 LT IEnumString_S
83d0: 6b 69 70 5f 50 72 6f 78 79 28 49 45 6e 75 6d 53 kip_Proxy(IEnumS
83e0: 74 72 69 6e 67 2c 20 55 4c 4f 4e 47 29 3b 0d 0a tring, ULONG);..
83f0: 76 6f 69 64 20 49 45 6e 75 6d 53 74 72 69 6e 67 void IEnumString
8400: 5f 53 6b 69 70 5f 53 74 75 62 28 49 52 70 63 53 _Skip_Stub(IRpcS
8410: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
8420: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
8430: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
8440: 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 45 RD);..HRESULT IE
8450: 6e 75 6d 53 74 72 69 6e 67 5f 52 65 73 65 74 5f numString_Reset_
8460: 50 72 6f 78 79 28 49 45 6e 75 6d 53 74 72 69 6e Proxy(IEnumStrin
8470: 67 29 3b 0d 0a 76 6f 69 64 20 49 45 6e 75 6d 53 g);..void IEnumS
8480: 74 72 69 6e 67 5f 52 65 73 65 74 5f 53 74 75 62 tring_Reset_Stub
8490: 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c (IRpcStubBuffer,
84a0: 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 IRpcChannelBuff
84b0: 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 er, PRPC_MESSAGE
84c0: 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 , PDWORD);..HRES
84d0: 55 4c 54 20 49 45 6e 75 6d 53 74 72 69 6e 67 5f ULT IEnumString_
84e0: 43 6c 6f 6e 65 5f 50 72 6f 78 79 28 49 45 6e 75 Clone_Proxy(IEnu
84f0: 6d 53 74 72 69 6e 67 2c 20 49 45 6e 75 6d 53 74 mString, IEnumSt
8500: 72 69 6e 67 2a 29 3b 0d 0a 76 6f 69 64 20 49 45 ring*);..void IE
8510: 6e 75 6d 53 74 72 69 6e 67 5f 43 6c 6f 6e 65 5f numString_Clone_
8520: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
8530: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
8540: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
8550: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
8560: 48 52 45 53 55 4c 54 20 49 53 74 72 65 61 6d 5f HRESULT IStream_
8570: 52 65 6d 6f 74 65 52 65 61 64 5f 50 72 6f 78 79 RemoteRead_Proxy
8580: 28 49 53 74 72 65 61 6d 2c 20 42 59 54 45 2a 2c (IStream, BYTE*,
8590: 20 55 4c 4f 4e 47 2c 20 55 4c 4f 4e 47 2a 29 3b ULONG, ULONG*);
85a0: 0d 0a 76 6f 69 64 20 49 53 74 72 65 61 6d 5f 52 ..void IStream_R
85b0: 65 6d 6f 74 65 52 65 61 64 5f 53 74 75 62 28 49 emoteRead_Stub(I
85c0: 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 RpcStubBuffer, I
85d0: 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 RpcChannelBuffer
85e0: 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 , PRPC_MESSAGE,
85f0: 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c PDWORD);..HRESUL
8600: 54 20 49 53 74 72 65 61 6d 5f 52 65 6d 6f 74 65 T IStream_Remote
8610: 57 72 69 74 65 5f 50 72 6f 78 79 28 49 53 74 72 Write_Proxy(IStr
8620: 65 61 6d 2c 20 42 59 54 45 2a 70 76 2c 20 55 4c eam, BYTE*pv, UL
8630: 4f 4e 47 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 76 ONG, ULONG*);..v
8640: 6f 69 64 20 49 53 74 72 65 61 6d 5f 52 65 6d 6f oid IStream_Remo
8650: 74 65 57 72 69 74 65 5f 53 74 75 62 28 49 52 70 teWrite_Stub(IRp
8660: 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 cStubBuffer, IRp
8670: 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 cChannelBuffer,
8680: 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 PRPC_MESSAGE, PD
8690: 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 WORD);..HRESULT
86a0: 49 53 74 72 65 61 6d 5f 52 65 6d 6f 74 65 53 65 IStream_RemoteSe
86b0: 65 6b 5f 50 72 6f 78 79 28 49 53 74 72 65 61 6d ek_Proxy(IStream
86c0: 2c 20 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2c , LARGE_INTEGER,
86d0: 20 44 57 4f 52 44 2c 20 55 4c 41 52 47 45 5f 49 DWORD, ULARGE_I
86e0: 4e 54 45 47 45 52 2a 29 3b 0d 0a 76 6f 69 64 20 NTEGER*);..void
86f0: 49 53 74 72 65 61 6d 5f 52 65 6d 6f 74 65 53 65 IStream_RemoteSe
8700: 65 6b 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 ek_Stub(IRpcStub
8710: 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e Buffer, IRpcChan
8720: 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f nelBuffer, PRPC_
8730: 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 MESSAGE, PDWORD)
8740: 3b 0d 0a 48 52 45 53 55 4c 54 20 49 53 74 72 65 ;..HRESULT IStre
8750: 61 6d 5f 53 65 74 53 69 7a 65 5f 50 72 6f 78 79 am_SetSize_Proxy
8760: 28 49 53 74 72 65 61 6d 2c 20 55 4c 41 52 47 45 (IStream, ULARGE
8770: 5f 49 4e 54 45 47 45 52 29 3b 0d 0a 76 6f 69 64 _INTEGER);..void
8780: 20 49 53 74 72 65 61 6d 5f 53 65 74 53 69 7a 65 IStream_SetSize
8790: 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 _Stub(IRpcStubBu
87a0: 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 ffer, IRpcChanne
87b0: 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 lBuffer, PRPC_ME
87c0: 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d SSAGE, PDWORD);.
87d0: 0a 48 52 45 53 55 4c 54 20 49 53 74 72 65 61 6d .HRESULT IStream
87e0: 5f 52 65 6d 6f 74 65 43 6f 70 79 54 6f 5f 50 72 _RemoteCopyTo_Pr
87f0: 6f 78 79 28 49 53 74 72 65 61 6d 2c 20 49 53 74 oxy(IStream, ISt
8800: 72 65 61 6d 2c 20 55 4c 41 52 47 45 5f 49 4e 54 ream, ULARGE_INT
8810: 45 47 45 52 2c 20 55 4c 41 52 47 45 5f 49 4e 54 EGER, ULARGE_INT
8820: 45 47 45 52 2a 2c 20 55 4c 41 52 47 45 5f 49 4e EGER*, ULARGE_IN
8830: 54 45 47 45 52 2a 29 3b 0d 0a 76 6f 69 64 20 49 TEGER*);..void I
8840: 53 74 72 65 61 6d 5f 52 65 6d 6f 74 65 43 6f 70 Stream_RemoteCop
8850: 79 54 6f 5f 53 74 75 62 28 49 52 70 63 53 74 75 yTo_Stub(IRpcStu
8860: 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 bBuffer, IRpcCha
8870: 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 nnelBuffer, PRPC
8880: 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 _MESSAGE, PDWORD
8890: 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 53 74 72 );..HRESULT IStr
88a0: 65 61 6d 5f 43 6f 6d 6d 69 74 5f 50 72 6f 78 79 eam_Commit_Proxy
88b0: 28 49 53 74 72 65 61 6d 2c 20 44 57 4f 52 44 29 (IStream, DWORD)
88c0: 3b 0d 0a 76 6f 69 64 20 49 53 74 72 65 61 6d 5f ;..void IStream_
88d0: 43 6f 6d 6d 69 74 5f 53 74 75 62 28 49 52 70 63 Commit_Stub(IRpc
88e0: 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 StubBuffer, IRpc
88f0: 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 ChannelBuffer, P
8900: 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 RPC_MESSAGE, PDW
8910: 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 ORD);..HRESULT I
8920: 53 74 72 65 61 6d 5f 52 65 76 65 72 74 5f 50 72 Stream_Revert_Pr
8930: 6f 78 79 28 49 53 74 72 65 61 6d 29 3b 0d 0a 76 oxy(IStream);..v
8940: 6f 69 64 20 49 53 74 72 65 61 6d 5f 52 65 76 65 oid IStream_Reve
8950: 72 74 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 rt_Stub(IRpcStub
8960: 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e Buffer, IRpcChan
8970: 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f nelBuffer, PRPC_
8980: 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 MESSAGE, PDWORD)
8990: 3b 0d 0a 48 52 45 53 55 4c 54 20 49 53 74 72 65 ;..HRESULT IStre
89a0: 61 6d 5f 4c 6f 63 6b 52 65 67 69 6f 6e 5f 50 72 am_LockRegion_Pr
89b0: 6f 78 79 28 49 53 74 72 65 61 6d 2c 20 55 4c 41 oxy(IStream, ULA
89c0: 52 47 45 5f 49 4e 54 45 47 45 52 2c 20 55 4c 41 RGE_INTEGER, ULA
89d0: 52 47 45 5f 49 4e 54 45 47 45 52 2c 20 44 57 4f RGE_INTEGER, DWO
89e0: 52 44 29 3b 0d 0a 76 6f 69 64 20 49 53 74 72 65 RD);..void IStre
89f0: 61 6d 5f 4c 6f 63 6b 52 65 67 69 6f 6e 5f 53 74 am_LockRegion_St
8a00: 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 ub(IRpcStubBuffe
8a10: 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 r, IRpcChannelBu
8a20: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
8a30: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 GE, PDWORD);..HR
8a40: 45 53 55 4c 54 20 49 53 74 72 65 61 6d 5f 55 6e ESULT IStream_Un
8a50: 6c 6f 63 6b 52 65 67 69 6f 6e 5f 50 72 6f 78 79 lockRegion_Proxy
8a60: 28 49 53 74 72 65 61 6d 2c 20 55 4c 41 52 47 45 (IStream, ULARGE
8a70: 5f 49 4e 54 45 47 45 52 2c 20 55 4c 41 52 47 45 _INTEGER, ULARGE
8a80: 5f 49 4e 54 45 47 45 52 2c 20 44 57 4f 52 44 29 _INTEGER, DWORD)
8a90: 3b 0d 0a 76 6f 69 64 20 49 53 74 72 65 61 6d 5f ;..void IStream_
8aa0: 55 6e 6c 6f 63 6b 52 65 67 69 6f 6e 5f 53 74 75 UnlockRegion_Stu
8ab0: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
8ac0: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
8ad0: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
8ae0: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
8af0: 53 55 4c 54 20 49 53 74 72 65 61 6d 5f 53 74 61 SULT IStream_Sta
8b00: 74 5f 50 72 6f 78 79 28 49 53 74 72 65 61 6d 2c t_Proxy(IStream,
8b10: 20 53 54 41 54 53 54 47 2a 2c 20 44 57 4f 52 44 STATSTG*, DWORD
8b20: 29 3b 0d 0a 76 6f 69 64 20 49 53 74 72 65 61 6d );..void IStream
8b30: 5f 53 74 61 74 5f 53 74 75 62 28 49 52 70 63 53 _Stat_Stub(IRpcS
8b40: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
8b50: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
8b60: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
8b70: 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 53 RD);..HRESULT IS
8b80: 74 72 65 61 6d 5f 43 6c 6f 6e 65 5f 50 72 6f 78 tream_Clone_Prox
8b90: 79 28 49 53 74 72 65 61 6d 2c 20 49 53 74 72 65 y(IStream, IStre
8ba0: 61 6d 2a 29 3b 0d 0a 76 6f 69 64 20 49 53 74 72 am*);..void IStr
8bb0: 65 61 6d 5f 43 6c 6f 6e 65 5f 53 74 75 62 28 49 eam_Clone_Stub(I
8bc0: 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 RpcStubBuffer, I
8bd0: 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 RpcChannelBuffer
8be0: 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 , PRPC_MESSAGE,
8bf0: 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c PDWORD);..HRESUL
8c00: 54 20 49 45 6e 75 6d 53 54 41 54 53 54 47 5f 52 T IEnumSTATSTG_R
8c10: 65 6d 6f 74 65 4e 65 78 74 5f 50 72 6f 78 79 28 emoteNext_Proxy(
8c20: 49 45 6e 75 6d 53 54 41 54 53 54 47 2c 20 55 4c IEnumSTATSTG, UL
8c30: 4f 4e 47 2c 20 53 54 41 54 53 54 47 2a 2c 20 55 ONG, STATSTG*, U
8c40: 4c 4f 4e 47 2a 29 3b 0d 0a 76 6f 69 64 20 49 45 LONG*);..void IE
8c50: 6e 75 6d 53 54 41 54 53 54 47 5f 52 65 6d 6f 74 numSTATSTG_Remot
8c60: 65 4e 65 78 74 5f 53 74 75 62 28 49 52 70 63 53 eNext_Stub(IRpcS
8c70: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
8c80: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
8c90: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
8ca0: 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 45 RD);..HRESULT IE
8cb0: 6e 75 6d 53 54 41 54 53 54 47 5f 53 6b 69 70 5f numSTATSTG_Skip_
8cc0: 50 72 6f 78 79 28 49 45 6e 75 6d 53 54 41 54 53 Proxy(IEnumSTATS
8cd0: 54 47 2c 20 55 4c 4f 4e 47 20 63 65 6c 74 29 3b TG, ULONG celt);
8ce0: 0d 0a 76 6f 69 64 20 49 45 6e 75 6d 53 54 41 54 ..void IEnumSTAT
8cf0: 53 54 47 5f 53 6b 69 70 5f 53 74 75 62 28 49 52 STG_Skip_Stub(IR
8d00: 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 pcStubBuffer, IR
8d10: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c pcChannelBuffer,
8d20: 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 PRPC_MESSAGE, P
8d30: 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 DWORD);..HRESULT
8d40: 20 49 45 6e 75 6d 53 54 41 54 53 54 47 5f 52 65 IEnumSTATSTG_Re
8d50: 73 65 74 5f 50 72 6f 78 79 28 49 45 6e 75 6d 53 set_Proxy(IEnumS
8d60: 54 41 54 53 54 47 29 3b 0d 0a 76 6f 69 64 20 49 TATSTG);..void I
8d70: 45 6e 75 6d 53 54 41 54 53 54 47 5f 52 65 73 65 EnumSTATSTG_Rese
8d80: 74 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 t_Stub(IRpcStubB
8d90: 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e uffer, IRpcChann
8da0: 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d elBuffer, PRPC_M
8db0: 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b ESSAGE, PDWORD);
8dc0: 0d 0a 48 52 45 53 55 4c 54 20 49 45 6e 75 6d 53 ..HRESULT IEnumS
8dd0: 54 41 54 53 54 47 5f 43 6c 6f 6e 65 5f 50 72 6f TATSTG_Clone_Pro
8de0: 78 79 28 49 45 6e 75 6d 53 54 41 54 53 54 47 2c xy(IEnumSTATSTG,
8df0: 20 49 45 6e 75 6d 53 54 41 54 53 54 47 2a 29 3b IEnumSTATSTG*);
8e00: 0d 0a 76 6f 69 64 20 49 45 6e 75 6d 53 54 41 54 ..void IEnumSTAT
8e10: 53 54 47 5f 43 6c 6f 6e 65 5f 53 74 75 62 28 49 STG_Clone_Stub(I
8e20: 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 RpcStubBuffer, I
8e30: 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 RpcChannelBuffer
8e40: 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 , PRPC_MESSAGE,
8e50: 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c PDWORD);..HRESUL
8e60: 54 20 49 53 74 6f 72 61 67 65 5f 43 72 65 61 74 T IStorage_Creat
8e70: 65 53 74 72 65 61 6d 5f 50 72 6f 78 79 28 49 53 eStream_Proxy(IS
8e80: 74 6f 72 61 67 65 2c 20 4f 4c 45 43 48 41 52 2a torage, OLECHAR*
8e90: 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 , DWORD, DWORD,
8ea0: 44 57 4f 52 44 2c 20 49 53 74 72 65 61 6d 2a 29 DWORD, IStream*)
8eb0: 3b 0d 0a 76 6f 69 64 20 49 53 74 6f 72 61 67 65 ;..void IStorage
8ec0: 5f 43 72 65 61 74 65 53 74 72 65 61 6d 5f 53 74 _CreateStream_St
8ed0: 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 ub(IRpcStubBuffe
8ee0: 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 r, IRpcChannelBu
8ef0: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
8f00: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 GE, PDWORD);..HR
8f10: 45 53 55 4c 54 20 49 53 74 6f 72 61 67 65 5f 52 ESULT IStorage_R
8f20: 65 6d 6f 74 65 4f 70 65 6e 53 74 72 65 61 6d 5f emoteOpenStream_
8f30: 50 72 6f 78 79 28 49 53 74 6f 72 61 67 65 2c 20 Proxy(IStorage,
8f40: 63 6f 6e 73 74 28 4f 4c 45 43 48 41 52 29 2a 2c const(OLECHAR)*,
8f50: 20 75 69 6e 74 2c 20 42 59 54 45 2a 2c 20 44 57 uint, BYTE*, DW
8f60: 4f 52 44 2c 20 44 57 4f 52 44 2c 20 49 53 74 72 ORD, DWORD, IStr
8f70: 65 61 6d 2a 29 3b 0d 0a 76 6f 69 64 20 49 53 74 eam*);..void ISt
8f80: 6f 72 61 67 65 5f 52 65 6d 6f 74 65 4f 70 65 6e orage_RemoteOpen
8f90: 53 74 72 65 61 6d 5f 53 74 75 62 28 49 52 70 63 Stream_Stub(IRpc
8fa0: 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 StubBuffer, IRpc
8fb0: 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 ChannelBuffer, P
8fc0: 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 RPC_MESSAGE, PDW
8fd0: 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 ORD);..HRESULT I
8fe0: 53 74 6f 72 61 67 65 5f 43 72 65 61 74 65 53 74 Storage_CreateSt
8ff0: 6f 72 61 67 65 5f 50 72 6f 78 79 28 49 53 74 6f orage_Proxy(ISto
9000: 72 61 67 65 2c 20 4f 4c 45 43 48 41 52 2a 2c 20 rage, OLECHAR*,
9010: 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 44 57 DWORD, DWORD, DW
9020: 4f 52 44 2c 20 49 53 74 6f 72 61 67 65 2a 29 3b ORD, IStorage*);
9030: 0d 0a 76 6f 69 64 20 49 53 74 6f 72 61 67 65 5f ..void IStorage_
9040: 43 72 65 61 74 65 53 74 6f 72 61 67 65 5f 53 74 CreateStorage_St
9050: 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 ub(IRpcStubBuffe
9060: 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 r, IRpcChannelBu
9070: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
9080: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 GE, PDWORD);..HR
9090: 45 53 55 4c 54 20 49 53 74 6f 72 61 67 65 5f 4f ESULT IStorage_O
90a0: 70 65 6e 53 74 6f 72 61 67 65 5f 50 72 6f 78 79 penStorage_Proxy
90b0: 28 49 53 74 6f 72 61 67 65 2c 20 4f 4c 45 43 48 (IStorage, OLECH
90c0: 41 52 2a 2c 20 49 53 74 6f 72 61 67 65 2c 20 44 AR*, IStorage, D
90d0: 57 4f 52 44 2c 20 53 4e 42 2c 20 44 57 4f 52 44 WORD, SNB, DWORD
90e0: 2c 20 49 53 74 6f 72 61 67 65 2a 29 3b 0d 0a 76 , IStorage*);..v
90f0: 6f 69 64 20 49 53 74 6f 72 61 67 65 5f 4f 70 65 oid IStorage_Ope
9100: 6e 53 74 6f 72 61 67 65 5f 53 74 75 62 28 49 52 nStorage_Stub(IR
9110: 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 pcStubBuffer, IR
9120: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c pcChannelBuffer,
9130: 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 PRPC_MESSAGE, P
9140: 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 DWORD);..HRESULT
9150: 20 49 53 74 6f 72 61 67 65 5f 43 6f 70 79 54 6f IStorage_CopyTo
9160: 5f 50 72 6f 78 79 28 49 53 74 6f 72 61 67 65 2c _Proxy(IStorage,
9170: 20 44 57 4f 52 44 2c 20 63 6f 6e 73 74 28 49 49 DWORD, const(II
9180: 44 29 2a 2c 20 53 4e 42 2c 20 49 53 74 6f 72 61 D)*, SNB, IStora
9190: 67 65 29 3b 0d 0a 76 6f 69 64 20 49 53 74 6f 72 ge);..void IStor
91a0: 61 67 65 5f 43 6f 70 79 54 6f 5f 53 74 75 62 28 age_CopyTo_Stub(
91b0: 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 IRpcStubBuffer,
91c0: 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 IRpcChannelBuffe
91d0: 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c r, PRPC_MESSAGE,
91e0: 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 PDWORD);..HRESU
91f0: 4c 54 20 49 53 74 6f 72 61 67 65 5f 4d 6f 76 65 LT IStorage_Move
9200: 45 6c 65 6d 65 6e 74 54 6f 5f 50 72 6f 78 79 28 ElementTo_Proxy(
9210: 49 53 74 6f 72 61 67 65 2c 20 63 6f 6e 73 74 28 IStorage, const(
9220: 4f 4c 45 43 48 41 52 29 2a 2c 20 49 53 74 6f 72 OLECHAR)*, IStor
9230: 61 67 65 2c 20 63 6f 6e 73 74 28 4f 4c 45 43 48 age, const(OLECH
9240: 41 52 29 2a 2c 20 44 57 4f 52 44 29 3b 0d 0a 76 AR)*, DWORD);..v
9250: 6f 69 64 20 49 53 74 6f 72 61 67 65 5f 4d 6f 76 oid IStorage_Mov
9260: 65 45 6c 65 6d 65 6e 74 54 6f 5f 53 74 75 62 28 eElementTo_Stub(
9270: 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 IRpcStubBuffer,
9280: 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 IRpcChannelBuffe
9290: 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c r, PRPC_MESSAGE,
92a0: 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 PDWORD);..HRESU
92b0: 4c 54 20 49 53 74 6f 72 61 67 65 5f 43 6f 6d 6d LT IStorage_Comm
92c0: 69 74 5f 50 72 6f 78 79 28 49 53 74 6f 72 61 67 it_Proxy(IStorag
92d0: 65 2c 20 44 57 4f 52 44 29 3b 0d 0a 76 6f 69 64 e, DWORD);..void
92e0: 20 49 53 74 6f 72 61 67 65 5f 43 6f 6d 6d 69 74 IStorage_Commit
92f0: 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 _Stub(IRpcStubBu
9300: 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 ffer, IRpcChanne
9310: 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 lBuffer, PRPC_ME
9320: 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d SSAGE, PDWORD);.
9330: 0a 48 52 45 53 55 4c 54 20 49 53 74 6f 72 61 67 .HRESULT IStorag
9340: 65 5f 52 65 76 65 72 74 5f 50 72 6f 78 79 28 49 e_Revert_Proxy(I
9350: 53 74 6f 72 61 67 65 29 3b 0d 0a 76 6f 69 64 20 Storage);..void
9360: 49 53 74 6f 72 61 67 65 5f 52 65 76 65 72 74 5f IStorage_Revert_
9370: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
9380: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
9390: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
93a0: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
93b0: 48 52 45 53 55 4c 54 20 49 53 74 6f 72 61 67 65 HRESULT IStorage
93c0: 5f 52 65 6d 6f 74 65 45 6e 75 6d 45 6c 65 6d 65 _RemoteEnumEleme
93d0: 6e 74 73 5f 50 72 6f 78 79 28 49 53 74 6f 72 61 nts_Proxy(IStora
93e0: 67 65 2c 20 44 57 4f 52 44 2c 20 75 69 6e 74 2c ge, DWORD, uint,
93f0: 20 42 59 54 45 2a 2c 20 44 57 4f 52 44 2c 20 49 BYTE*, DWORD, I
9400: 45 6e 75 6d 53 54 41 54 53 54 47 2a 29 3b 0d 0a EnumSTATSTG*);..
9410: 76 6f 69 64 20 49 53 74 6f 72 61 67 65 5f 52 65 void IStorage_Re
9420: 6d 6f 74 65 45 6e 75 6d 45 6c 65 6d 65 6e 74 73 moteEnumElements
9430: 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 _Stub(IRpcStubBu
9440: 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 ffer, IRpcChanne
9450: 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 lBuffer, PRPC_ME
9460: 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d SSAGE, PDWORD);.
9470: 0a 48 52 45 53 55 4c 54 20 49 53 74 6f 72 61 67 .HRESULT IStorag
9480: 65 5f 44 65 73 74 72 6f 79 45 6c 65 6d 65 6e 74 e_DestroyElement
9490: 5f 50 72 6f 78 79 28 49 53 74 6f 72 61 67 65 2c _Proxy(IStorage,
94a0: 20 4f 4c 45 43 48 41 52 2a 29 3b 0d 0a 76 6f 69 OLECHAR*);..voi
94b0: 64 20 49 53 74 6f 72 61 67 65 5f 44 65 73 74 72 d IStorage_Destr
94c0: 6f 79 45 6c 65 6d 65 6e 74 5f 53 74 75 62 28 49 oyElement_Stub(I
94d0: 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 RpcStubBuffer, I
94e0: 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 RpcChannelBuffer
94f0: 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 , PRPC_MESSAGE,
9500: 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c PDWORD);..HRESUL
9510: 54 20 49 53 74 6f 72 61 67 65 5f 52 65 6e 61 6d T IStorage_Renam
9520: 65 45 6c 65 6d 65 6e 74 5f 50 72 6f 78 79 28 49 eElement_Proxy(I
9530: 53 74 6f 72 61 67 65 2c 20 63 6f 6e 73 74 28 4f Storage, const(O
9540: 4c 45 43 48 41 52 29 2a 2c 20 63 6f 6e 73 74 28 LECHAR)*, const(
9550: 4f 4c 45 43 48 41 52 29 2a 29 3b 0d 0a 76 6f 69 OLECHAR)*);..voi
9560: 64 20 49 53 74 6f 72 61 67 65 5f 52 65 6e 61 6d d IStorage_Renam
9570: 65 45 6c 65 6d 65 6e 74 5f 53 74 75 62 28 49 52 eElement_Stub(IR
9580: 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 pcStubBuffer, IR
9590: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c pcChannelBuffer,
95a0: 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 PRPC_MESSAGE, P
95b0: 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 DWORD);..HRESULT
95c0: 20 49 53 74 6f 72 61 67 65 5f 53 65 74 45 6c 65 IStorage_SetEle
95d0: 6d 65 6e 74 54 69 6d 65 73 5f 50 72 6f 78 79 28 mentTimes_Proxy(
95e0: 49 53 74 6f 72 61 67 65 2c 20 63 6f 6e 73 74 28 IStorage, const(
95f0: 4f 4c 45 43 48 41 52 29 2a 2c 20 63 6f 6e 73 74 OLECHAR)*, const
9600: 28 46 49 4c 45 54 49 4d 45 29 2a 2c 20 63 6f 6e (FILETIME)*, con
9610: 73 74 28 46 49 4c 45 54 49 4d 45 29 2a 2c 20 63 st(FILETIME)*, c
9620: 6f 6e 73 74 28 46 49 4c 45 54 49 4d 45 29 2a 29 onst(FILETIME)*)
9630: 3b 0d 0a 76 6f 69 64 20 49 53 74 6f 72 61 67 65 ;..void IStorage
9640: 5f 53 65 74 45 6c 65 6d 65 6e 74 54 69 6d 65 73 _SetElementTimes
9650: 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 _Stub(IRpcStubBu
9660: 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 ffer, IRpcChanne
9670: 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 lBuffer, PRPC_ME
9680: 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d SSAGE, PDWORD);.
9690: 0a 48 52 45 53 55 4c 54 20 49 53 74 6f 72 61 67 .HRESULT IStorag
96a0: 65 5f 53 65 74 43 6c 61 73 73 5f 50 72 6f 78 79 e_SetClass_Proxy
96b0: 28 49 53 74 6f 72 61 67 65 2c 20 52 45 46 43 4c (IStorage, REFCL
96c0: 53 49 44 29 3b 0d 0a 76 6f 69 64 20 49 53 74 6f SID);..void ISto
96d0: 72 61 67 65 5f 53 65 74 43 6c 61 73 73 5f 53 74 rage_SetClass_St
96e0: 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 ub(IRpcStubBuffe
96f0: 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 r, IRpcChannelBu
9700: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
9710: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 GE, PDWORD);..HR
9720: 45 53 55 4c 54 20 49 53 74 6f 72 61 67 65 5f 53 ESULT IStorage_S
9730: 65 74 53 74 61 74 65 42 69 74 73 5f 50 72 6f 78 etStateBits_Prox
9740: 79 28 49 53 74 6f 72 61 67 65 2c 20 44 57 4f 52 y(IStorage, DWOR
9750: 44 2c 20 44 57 4f 52 44 29 3b 0d 0a 76 6f 69 64 D, DWORD);..void
9760: 20 49 53 74 6f 72 61 67 65 5f 53 65 74 53 74 61 IStorage_SetSta
9770: 74 65 42 69 74 73 5f 53 74 75 62 28 49 52 70 63 teBits_Stub(IRpc
9780: 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 StubBuffer, IRpc
9790: 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 ChannelBuffer, P
97a0: 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 RPC_MESSAGE, PDW
97b0: 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 ORD);..HRESULT I
97c0: 53 74 6f 72 61 67 65 5f 53 74 61 74 5f 50 72 6f Storage_Stat_Pro
97d0: 78 79 28 49 53 74 6f 72 61 67 65 2c 20 53 54 41 xy(IStorage, STA
97e0: 54 53 54 47 2a 2c 20 44 57 4f 52 44 29 3b 0d 0a TSTG*, DWORD);..
97f0: 76 6f 69 64 20 49 53 74 6f 72 61 67 65 5f 53 74 void IStorage_St
9800: 61 74 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 at_Stub(IRpcStub
9810: 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e Buffer, IRpcChan
9820: 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f nelBuffer, PRPC_
9830: 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 MESSAGE, PDWORD)
9840: 3b 0d 0a 48 52 45 53 55 4c 54 20 49 50 65 72 73 ;..HRESULT IPers
9850: 69 73 74 46 69 6c 65 5f 49 73 44 69 72 74 79 5f istFile_IsDirty_
9860: 50 72 6f 78 79 28 49 50 65 72 73 69 73 74 46 69 Proxy(IPersistFi
9870: 6c 65 29 3b 0d 0a 76 6f 69 64 20 49 50 65 72 73 le);..void IPers
9880: 69 73 74 46 69 6c 65 5f 49 73 44 69 72 74 79 5f istFile_IsDirty_
9890: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
98a0: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
98b0: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
98c0: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
98d0: 48 52 45 53 55 4c 54 20 49 50 65 72 73 69 73 74 HRESULT IPersist
98e0: 46 69 6c 65 5f 4c 6f 61 64 5f 50 72 6f 78 79 28 File_Load_Proxy(
98f0: 49 50 65 72 73 69 73 74 46 69 6c 65 2c 20 4c 50 IPersistFile, LP
9900: 43 4f 4c 45 53 54 52 2c 20 44 57 4f 52 44 29 3b COLESTR, DWORD);
9910: 0d 0a 76 6f 69 64 20 49 50 65 72 73 69 73 74 46 ..void IPersistF
9920: 69 6c 65 5f 4c 6f 61 64 5f 53 74 75 62 28 49 52 ile_Load_Stub(IR
9930: 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 pcStubBuffer, IR
9940: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c pcChannelBuffer,
9950: 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 PRPC_MESSAGE, P
9960: 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 DWORD);..HRESULT
9970: 20 49 50 65 72 73 69 73 74 46 69 6c 65 5f 53 61 IPersistFile_Sa
9980: 76 65 5f 50 72 6f 78 79 28 49 50 65 72 73 69 73 ve_Proxy(IPersis
9990: 74 46 69 6c 65 2c 20 4c 50 43 4f 4c 45 53 54 52 tFile, LPCOLESTR
99a0: 20 70 73 7a 46 69 6c 65 4e 61 6d 65 2c 20 42 4f pszFileName, BO
99b0: 4f 4c 29 3b 0d 0a 76 6f 69 64 20 49 50 65 72 73 OL);..void IPers
99c0: 69 73 74 46 69 6c 65 5f 53 61 76 65 5f 53 74 75 istFile_Save_Stu
99d0: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
99e0: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
99f0: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
9a00: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
9a10: 53 55 4c 54 20 49 50 65 72 73 69 73 74 46 69 6c SULT IPersistFil
9a20: 65 5f 53 61 76 65 43 6f 6d 70 6c 65 74 65 64 5f e_SaveCompleted_
9a30: 50 72 6f 78 79 28 49 50 65 72 73 69 73 74 46 69 Proxy(IPersistFi
9a40: 6c 65 2c 20 4c 50 43 4f 4c 45 53 54 52 29 3b 0d le, LPCOLESTR);.
9a50: 0a 76 6f 69 64 20 49 50 65 72 73 69 73 74 46 69 .void IPersistFi
9a60: 6c 65 5f 53 61 76 65 43 6f 6d 70 6c 65 74 65 64 le_SaveCompleted
9a70: 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 _Stub(IRpcStubBu
9a80: 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 ffer, IRpcChanne
9a90: 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 lBuffer, PRPC_ME
9aa0: 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d SSAGE, PDWORD);.
9ab0: 0a 48 52 45 53 55 4c 54 20 49 50 65 72 73 69 73 .HRESULT IPersis
9ac0: 74 46 69 6c 65 5f 47 65 74 43 75 72 46 69 6c 65 tFile_GetCurFile
9ad0: 5f 50 72 6f 78 79 28 49 50 65 72 73 69 73 74 46 _Proxy(IPersistF
9ae0: 69 6c 65 2c 20 4c 50 43 53 54 52 2a 29 3b 0d 0a ile, LPCSTR*);..
9af0: 76 6f 69 64 20 49 50 65 72 73 69 73 74 46 69 6c void IPersistFil
9b00: 65 5f 47 65 74 43 75 72 46 69 6c 65 5f 53 74 75 e_GetCurFile_Stu
9b10: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
9b20: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
9b30: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
9b40: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
9b50: 53 55 4c 54 20 49 50 65 72 73 69 73 74 53 74 6f SULT IPersistSto
9b60: 72 61 67 65 5f 49 73 44 69 72 74 79 5f 50 72 6f rage_IsDirty_Pro
9b70: 78 79 28 49 50 65 72 73 69 73 74 53 74 6f 72 61 xy(IPersistStora
9b80: 67 65 29 3b 0d 0a 76 6f 69 64 20 49 50 65 72 73 ge);..void IPers
9b90: 69 73 74 53 74 6f 72 61 67 65 5f 49 73 44 69 72 istStorage_IsDir
9ba0: 74 79 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 ty_Stub(IRpcStub
9bb0: 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e Buffer, IRpcChan
9bc0: 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f nelBuffer, PRPC_
9bd0: 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 MESSAGE, PDWORD)
9be0: 3b 0d 0a 48 52 45 53 55 4c 54 20 49 50 65 72 73 ;..HRESULT IPers
9bf0: 69 73 74 53 74 6f 72 61 67 65 5f 49 6e 69 74 4e istStorage_InitN
9c00: 65 77 5f 50 72 6f 78 79 28 49 50 65 72 73 69 73 ew_Proxy(IPersis
9c10: 74 53 74 6f 72 61 67 65 2c 20 49 53 74 6f 72 61 tStorage, IStora
9c20: 67 65 29 3b 0d 0a 76 6f 69 64 20 49 50 65 72 73 ge);..void IPers
9c30: 69 73 74 53 74 6f 72 61 67 65 5f 49 6e 69 74 4e istStorage_InitN
9c40: 65 77 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 ew_Stub(IRpcStub
9c50: 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e Buffer, IRpcChan
9c60: 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f nelBuffer, PRPC_
9c70: 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 MESSAGE, PDWORD)
9c80: 3b 0d 0a 48 52 45 53 55 4c 54 20 49 50 65 72 73 ;..HRESULT IPers
9c90: 69 73 74 53 74 6f 72 61 67 65 5f 4c 6f 61 64 5f istStorage_Load_
9ca0: 50 72 6f 78 79 28 49 50 65 72 73 69 73 74 53 74 Proxy(IPersistSt
9cb0: 6f 72 61 67 65 2c 20 49 53 74 6f 72 61 67 65 29 orage, IStorage)
9cc0: 3b 0d 0a 76 6f 69 64 20 49 50 65 72 73 69 73 74 ;..void IPersist
9cd0: 53 74 6f 72 61 67 65 5f 4c 6f 61 64 5f 53 74 75 Storage_Load_Stu
9ce0: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
9cf0: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
9d00: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
9d10: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
9d20: 53 55 4c 54 20 49 50 65 72 73 69 73 74 53 74 6f SULT IPersistSto
9d30: 72 61 67 65 5f 53 61 76 65 5f 50 72 6f 78 79 28 rage_Save_Proxy(
9d40: 49 50 65 72 73 69 73 74 53 74 6f 72 61 67 65 2c IPersistStorage,
9d50: 20 49 53 74 6f 72 61 67 65 2c 20 42 4f 4f 4c 29 IStorage, BOOL)
9d60: 3b 0d 0a 76 6f 69 64 20 49 50 65 72 73 69 73 74 ;..void IPersist
9d70: 53 74 6f 72 61 67 65 5f 53 61 76 65 5f 53 74 75 Storage_Save_Stu
9d80: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
9d90: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
9da0: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
9db0: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
9dc0: 53 55 4c 54 20 49 50 65 72 73 69 73 74 53 74 6f SULT IPersistSto
9dd0: 72 61 67 65 5f 53 61 76 65 43 6f 6d 70 6c 65 74 rage_SaveComplet
9de0: 65 64 5f 50 72 6f 78 79 28 49 50 65 72 73 69 73 ed_Proxy(IPersis
9df0: 74 53 74 6f 72 61 67 65 2c 20 49 53 74 6f 72 61 tStorage, IStora
9e00: 67 65 29 3b 0d 0a 76 6f 69 64 20 49 50 65 72 73 ge);..void IPers
9e10: 69 73 74 53 74 6f 72 61 67 65 5f 53 61 76 65 43 istStorage_SaveC
9e20: 6f 6d 70 6c 65 74 65 64 5f 53 74 75 62 28 49 52 ompleted_Stub(IR
9e30: 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 pcStubBuffer, IR
9e40: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c pcChannelBuffer,
9e50: 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 PRPC_MESSAGE, P
9e60: 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 DWORD);..HRESULT
9e70: 20 49 50 65 72 73 69 73 74 53 74 6f 72 61 67 65 IPersistStorage
9e80: 5f 48 61 6e 64 73 4f 66 66 53 74 6f 72 61 67 65 _HandsOffStorage
9e90: 5f 50 72 6f 78 79 28 49 50 65 72 73 69 73 74 53 _Proxy(IPersistS
9ea0: 74 6f 72 61 67 65 29 3b 0d 0a 76 6f 69 64 20 49 torage);..void I
9eb0: 50 65 72 73 69 73 74 53 74 6f 72 61 67 65 5f 48 PersistStorage_H
9ec0: 61 6e 64 73 4f 66 66 53 74 6f 72 61 67 65 5f 53 andsOffStorage_S
9ed0: 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 tub(IRpcStubBuff
9ee0: 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 er, IRpcChannelB
9ef0: 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 uffer, PRPC_MESS
9f00: 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 AGE, PDWORD);..H
9f10: 52 45 53 55 4c 54 20 49 4c 6f 63 6b 42 79 74 65 RESULT ILockByte
9f20: 73 5f 52 65 6d 6f 74 65 52 65 61 64 41 74 5f 50 s_RemoteReadAt_P
9f30: 72 6f 78 79 28 49 4c 6f 63 6b 42 79 74 65 73 2c roxy(ILockBytes,
9f40: 20 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2c ULARGE_INTEGER,
9f50: 20 42 59 54 45 2a 2c 20 55 4c 4f 4e 47 2c 20 55 BYTE*, ULONG, U
9f60: 4c 4f 4e 47 2a 29 3b 0d 0a 76 6f 69 64 20 49 4c LONG*);..void IL
9f70: 6f 63 6b 42 79 74 65 73 5f 52 65 6d 6f 74 65 52 ockBytes_RemoteR
9f80: 65 61 64 41 74 5f 53 74 75 62 28 49 52 70 63 53 eadAt_Stub(IRpcS
9f90: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
9fa0: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
9fb0: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
9fc0: 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 4c RD);..HRESULT IL
9fd0: 6f 63 6b 42 79 74 65 73 5f 52 65 6d 6f 74 65 57 ockBytes_RemoteW
9fe0: 72 69 74 65 41 74 5f 50 72 6f 78 79 28 49 4c 6f riteAt_Proxy(ILo
9ff0: 63 6b 42 79 74 65 73 2c 20 55 4c 41 52 47 45 5f ckBytes, ULARGE_
a000: 49 4e 54 45 47 45 52 2c 20 42 59 54 45 2a 70 76 INTEGER, BYTE*pv
a010: 2c 20 55 4c 4f 4e 47 2c 20 55 4c 4f 4e 47 2a 29 , ULONG, ULONG*)
a020: 3b 0d 0a 76 6f 69 64 20 49 4c 6f 63 6b 42 79 74 ;..void ILockByt
a030: 65 73 5f 52 65 6d 6f 74 65 57 72 69 74 65 41 74 es_RemoteWriteAt
a040: 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 _Stub(IRpcStubBu
a050: 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 ffer, IRpcChanne
a060: 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 lBuffer, PRPC_ME
a070: 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d SSAGE, PDWORD);.
a080: 0a 48 52 45 53 55 4c 54 20 49 4c 6f 63 6b 42 79 .HRESULT ILockBy
a090: 74 65 73 5f 46 6c 75 73 68 5f 50 72 6f 78 79 28 tes_Flush_Proxy(
a0a0: 49 4c 6f 63 6b 42 79 74 65 73 29 3b 0d 0a 76 6f ILockBytes);..vo
a0b0: 69 64 20 49 4c 6f 63 6b 42 79 74 65 73 5f 46 6c id ILockBytes_Fl
a0c0: 75 73 68 5f 53 74 75 62 28 49 52 70 63 53 74 75 ush_Stub(IRpcStu
a0d0: 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 bBuffer, IRpcCha
a0e0: 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 nnelBuffer, PRPC
a0f0: 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 _MESSAGE, PDWORD
a100: 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 4c 6f 63 );..HRESULT ILoc
a110: 6b 42 79 74 65 73 5f 53 65 74 53 69 7a 65 5f 50 kBytes_SetSize_P
a120: 72 6f 78 79 28 49 4c 6f 63 6b 42 79 74 65 73 2c roxy(ILockBytes,
a130: 20 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 29 ULARGE_INTEGER)
a140: 3b 0d 0a 76 6f 69 64 20 49 4c 6f 63 6b 42 79 74 ;..void ILockByt
a150: 65 73 5f 53 65 74 53 69 7a 65 5f 53 74 75 62 28 es_SetSize_Stub(
a160: 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 IRpcStubBuffer,
a170: 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 IRpcChannelBuffe
a180: 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c r, PRPC_MESSAGE,
a190: 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 PDWORD);..HRESU
a1a0: 4c 54 20 49 4c 6f 63 6b 42 79 74 65 73 5f 4c 6f LT ILockBytes_Lo
a1b0: 63 6b 52 65 67 69 6f 6e 5f 50 72 6f 78 79 28 49 ckRegion_Proxy(I
a1c0: 4c 6f 63 6b 42 79 74 65 73 2c 20 55 4c 41 52 47 LockBytes, ULARG
a1d0: 45 5f 49 4e 54 45 47 45 52 2c 20 55 4c 41 52 47 E_INTEGER, ULARG
a1e0: 45 5f 49 4e 54 45 47 45 52 2c 20 44 57 4f 52 44 E_INTEGER, DWORD
a1f0: 29 3b 0d 0a 76 6f 69 64 20 49 4c 6f 63 6b 42 79 );..void ILockBy
a200: 74 65 73 5f 4c 6f 63 6b 52 65 67 69 6f 6e 5f 53 tes_LockRegion_S
a210: 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 tub(IRpcStubBuff
a220: 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 er, IRpcChannelB
a230: 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 uffer, PRPC_MESS
a240: 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 AGE, PDWORD);..H
a250: 52 45 53 55 4c 54 20 49 4c 6f 63 6b 42 79 74 65 RESULT ILockByte
a260: 73 5f 55 6e 6c 6f 63 6b 52 65 67 69 6f 6e 5f 50 s_UnlockRegion_P
a270: 72 6f 78 79 28 49 4c 6f 63 6b 42 79 74 65 73 2c roxy(ILockBytes,
a280: 20 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2c ULARGE_INTEGER,
a290: 20 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2c ULARGE_INTEGER,
a2a0: 20 44 57 4f 52 44 29 3b 0d 0a 76 6f 69 64 20 49 DWORD);..void I
a2b0: 4c 6f 63 6b 42 79 74 65 73 5f 55 6e 6c 6f 63 6b LockBytes_Unlock
a2c0: 52 65 67 69 6f 6e 5f 53 74 75 62 28 49 52 70 63 Region_Stub(IRpc
a2d0: 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 StubBuffer, IRpc
a2e0: 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 ChannelBuffer, P
a2f0: 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 RPC_MESSAGE, PDW
a300: 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 ORD);..HRESULT I
a310: 4c 6f 63 6b 42 79 74 65 73 5f 53 74 61 74 5f 50 LockBytes_Stat_P
a320: 72 6f 78 79 28 49 4c 6f 63 6b 42 79 74 65 73 2c roxy(ILockBytes,
a330: 20 53 54 41 54 53 54 47 2a 2c 20 44 57 4f 52 44 STATSTG*, DWORD
a340: 29 3b 0d 0a 76 6f 69 64 20 49 4c 6f 63 6b 42 79 );..void ILockBy
a350: 74 65 73 5f 53 74 61 74 5f 53 74 75 62 28 49 52 tes_Stat_Stub(IR
a360: 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 pcStubBuffer, IR
a370: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c pcChannelBuffer,
a380: 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 PRPC_MESSAGE, P
a390: 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 DWORD);..HRESULT
a3a0: 20 49 45 6e 75 6d 46 4f 52 4d 41 54 45 54 43 5f IEnumFORMATETC_
a3b0: 52 65 6d 6f 74 65 4e 65 78 74 5f 50 72 6f 78 79 RemoteNext_Proxy
a3c0: 28 49 45 6e 75 6d 46 4f 52 4d 41 54 45 54 43 2c (IEnumFORMATETC,
a3d0: 20 55 4c 4f 4e 47 2c 20 46 4f 52 4d 41 54 45 54 ULONG, FORMATET
a3e0: 43 2a 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 76 6f C*, ULONG*);..vo
a3f0: 69 64 20 49 45 6e 75 6d 46 4f 52 4d 41 54 45 54 id IEnumFORMATET
a400: 43 5f 52 65 6d 6f 74 65 4e 65 78 74 5f 53 74 75 C_RemoteNext_Stu
a410: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
a420: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
a430: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
a440: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
a450: 53 55 4c 54 20 49 45 6e 75 6d 46 4f 52 4d 41 54 SULT IEnumFORMAT
a460: 45 54 43 5f 53 6b 69 70 5f 50 72 6f 78 79 28 49 ETC_Skip_Proxy(I
a470: 45 6e 75 6d 46 4f 52 4d 41 54 45 54 43 2c 20 55 EnumFORMATETC, U
a480: 4c 4f 4e 47 29 3b 0d 0a 76 6f 69 64 20 49 45 6e LONG);..void IEn
a490: 75 6d 46 4f 52 4d 41 54 45 54 43 5f 53 6b 69 70 umFORMATETC_Skip
a4a0: 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 _Stub(IRpcStubBu
a4b0: 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 ffer, IRpcChanne
a4c0: 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 lBuffer, PRPC_ME
a4d0: 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d SSAGE, PDWORD);.
a4e0: 0a 48 52 45 53 55 4c 54 20 49 45 6e 75 6d 46 4f .HRESULT IEnumFO
a4f0: 52 4d 41 54 45 54 43 5f 52 65 73 65 74 5f 50 72 RMATETC_Reset_Pr
a500: 6f 78 79 28 49 45 6e 75 6d 46 4f 52 4d 41 54 45 oxy(IEnumFORMATE
a510: 54 43 29 3b 0d 0a 76 6f 69 64 20 49 45 6e 75 6d TC);..void IEnum
a520: 46 4f 52 4d 41 54 45 54 43 5f 52 65 73 65 74 5f FORMATETC_Reset_
a530: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
a540: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
a550: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
a560: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
a570: 48 52 45 53 55 4c 54 20 49 45 6e 75 6d 46 4f 52 HRESULT IEnumFOR
a580: 4d 41 54 45 54 43 5f 43 6c 6f 6e 65 5f 50 72 6f MATETC_Clone_Pro
a590: 78 79 28 49 45 6e 75 6d 46 4f 52 4d 41 54 45 54 xy(IEnumFORMATET
a5a0: 43 2c 20 49 45 6e 75 6d 46 4f 52 4d 41 54 45 54 C, IEnumFORMATET
a5b0: 43 2a 29 3b 0d 0a 76 6f 69 64 20 49 45 6e 75 6d C*);..void IEnum
a5c0: 46 4f 52 4d 41 54 45 54 43 5f 43 6c 6f 6e 65 5f FORMATETC_Clone_
a5d0: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
a5e0: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
a5f0: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
a600: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
a610: 48 52 45 53 55 4c 54 20 49 45 6e 75 6d 46 4f 52 HRESULT IEnumFOR
a620: 4d 41 54 45 54 43 5f 4e 65 78 74 5f 50 72 6f 78 MATETC_Next_Prox
a630: 79 28 49 45 6e 75 6d 46 4f 52 4d 41 54 45 54 43 y(IEnumFORMATETC
a640: 2c 20 55 4c 4f 4e 47 2c 20 46 4f 52 4d 41 54 45 , ULONG, FORMATE
a650: 54 43 2a 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 48 TC*, ULONG*);..H
a660: 52 45 53 55 4c 54 20 49 45 6e 75 6d 46 4f 52 4d RESULT IEnumFORM
a670: 41 54 45 54 43 5f 4e 65 78 74 5f 53 74 75 62 28 ATETC_Next_Stub(
a680: 49 45 6e 75 6d 46 4f 52 4d 41 54 45 54 43 2c 20 IEnumFORMATETC,
a690: 55 4c 4f 4e 47 2c 20 46 4f 52 4d 41 54 45 54 43 ULONG, FORMATETC
a6a0: 2a 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 48 52 45 *, ULONG*);..HRE
a6b0: 53 55 4c 54 20 49 45 6e 75 6d 53 54 41 54 44 41 SULT IEnumSTATDA
a6c0: 54 41 5f 52 65 6d 6f 74 65 4e 65 78 74 5f 50 72 TA_RemoteNext_Pr
a6d0: 6f 78 79 28 49 45 6e 75 6d 53 54 41 54 44 41 54 oxy(IEnumSTATDAT
a6e0: 41 2c 20 55 4c 4f 4e 47 2c 20 53 54 41 54 44 41 A, ULONG, STATDA
a6f0: 54 41 2a 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 76 TA*, ULONG*);..v
a700: 6f 69 64 20 49 45 6e 75 6d 53 54 41 54 44 41 54 oid IEnumSTATDAT
a710: 41 5f 52 65 6d 6f 74 65 4e 65 78 74 5f 53 74 75 A_RemoteNext_Stu
a720: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
a730: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
a740: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
a750: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
a760: 53 55 4c 54 20 49 45 6e 75 6d 53 54 41 54 44 41 SULT IEnumSTATDA
a770: 54 41 5f 53 6b 69 70 5f 50 72 6f 78 79 28 49 45 TA_Skip_Proxy(IE
a780: 6e 75 6d 53 54 41 54 44 41 54 41 2c 20 55 4c 4f numSTATDATA, ULO
a790: 4e 47 29 3b 0d 0a 76 6f 69 64 20 49 45 6e 75 6d NG);..void IEnum
a7a0: 53 54 41 54 44 41 54 41 5f 53 6b 69 70 5f 53 74 STATDATA_Skip_St
a7b0: 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 ub(IRpcStubBuffe
a7c0: 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 r, IRpcChannelBu
a7d0: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
a7e0: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 GE, PDWORD);..HR
a7f0: 45 53 55 4c 54 20 49 45 6e 75 6d 53 54 41 54 44 ESULT IEnumSTATD
a800: 41 54 41 5f 52 65 73 65 74 5f 50 72 6f 78 79 28 ATA_Reset_Proxy(
a810: 49 45 6e 75 6d 53 54 41 54 44 41 54 41 29 3b 0d IEnumSTATDATA);.
a820: 0a 76 6f 69 64 20 49 45 6e 75 6d 53 54 41 54 44 .void IEnumSTATD
a830: 41 54 41 5f 52 65 73 65 74 5f 53 74 75 62 28 49 ATA_Reset_Stub(I
a840: 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 RpcStubBuffer, I
a850: 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 RpcChannelBuffer
a860: 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 , PRPC_MESSAGE,
a870: 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c PDWORD);..HRESUL
a880: 54 20 49 45 6e 75 6d 53 54 41 54 44 41 54 41 5f T IEnumSTATDATA_
a890: 43 6c 6f 6e 65 5f 50 72 6f 78 79 28 49 45 6e 75 Clone_Proxy(IEnu
a8a0: 6d 53 54 41 54 44 41 54 41 2c 20 49 45 6e 75 6d mSTATDATA, IEnum
a8b0: 53 54 41 54 44 41 54 41 2a 29 3b 0d 0a 76 6f 69 STATDATA*);..voi
a8c0: 64 20 49 45 6e 75 6d 53 54 41 54 44 41 54 41 5f d IEnumSTATDATA_
a8d0: 43 6c 6f 6e 65 5f 53 74 75 62 28 49 52 70 63 53 Clone_Stub(IRpcS
a8e0: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
a8f0: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
a900: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
a910: 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 45 RD);..HRESULT IE
a920: 6e 75 6d 53 54 41 54 44 41 54 41 5f 4e 65 78 74 numSTATDATA_Next
a930: 5f 50 72 6f 78 79 28 49 45 6e 75 6d 53 54 41 54 _Proxy(IEnumSTAT
a940: 44 41 54 41 2c 20 55 4c 4f 4e 47 2c 20 53 54 41 DATA, ULONG, STA
a950: 54 44 41 54 41 2a 2c 20 55 4c 4f 4e 47 2a 29 3b TDATA*, ULONG*);
a960: 0d 0a 48 52 45 53 55 4c 54 20 49 45 6e 75 6d 53 ..HRESULT IEnumS
a970: 54 41 54 44 41 54 41 5f 4e 65 78 74 5f 53 74 75 TATDATA_Next_Stu
a980: 62 28 49 45 6e 75 6d 53 54 41 54 44 41 54 41 2c b(IEnumSTATDATA,
a990: 20 55 4c 4f 4e 47 2c 20 53 54 41 54 44 41 54 41 ULONG, STATDATA
a9a0: 2a 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 48 52 45 *, ULONG*);..HRE
a9b0: 53 55 4c 54 20 49 52 6f 6f 74 53 74 6f 72 61 67 SULT IRootStorag
a9c0: 65 5f 53 77 69 74 63 68 54 6f 46 69 6c 65 5f 50 e_SwitchToFile_P
a9d0: 72 6f 78 79 28 49 52 6f 6f 74 53 74 6f 72 61 67 roxy(IRootStorag
a9e0: 65 2c 20 4c 50 43 53 54 52 29 3b 0d 0a 76 6f 69 e, LPCSTR);..voi
a9f0: 64 20 49 52 6f 6f 74 53 74 6f 72 61 67 65 5f 53 d IRootStorage_S
aa00: 77 69 74 63 68 54 6f 46 69 6c 65 5f 53 74 75 62 witchToFile_Stub
aa10: 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c (IRpcStubBuffer,
aa20: 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 IRpcChannelBuff
aa30: 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 er, PRPC_MESSAGE
aa40: 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 76 6f 69 64 , PDWORD);..void
aa50: 20 49 41 64 76 69 73 65 53 69 6e 6b 5f 52 65 6d IAdviseSink_Rem
aa60: 6f 74 65 4f 6e 44 61 74 61 43 68 61 6e 67 65 5f oteOnDataChange_
aa70: 50 72 6f 78 79 28 49 41 64 76 69 73 65 53 69 6e Proxy(IAdviseSin
aa80: 6b 2c 20 46 4f 52 4d 41 54 45 54 43 2a 2c 20 52 k, FORMATETC*, R
aa90: 65 6d 53 54 47 4d 45 44 49 55 4d 2a 29 3b 0d 0a emSTGMEDIUM*);..
aaa0: 76 6f 69 64 20 49 41 64 76 69 73 65 53 69 6e 6b void IAdviseSink
aab0: 5f 52 65 6d 6f 74 65 4f 6e 44 61 74 61 43 68 61 _RemoteOnDataCha
aac0: 6e 67 65 5f 53 74 75 62 28 49 52 70 63 53 74 75 nge_Stub(IRpcStu
aad0: 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 bBuffer, IRpcCha
aae0: 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 nnelBuffer, PRPC
aaf0: 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 _MESSAGE, PDWORD
ab00: 29 3b 0d 0a 76 6f 69 64 20 49 41 64 76 69 73 65 );..void IAdvise
ab10: 53 69 6e 6b 5f 52 65 6d 6f 74 65 4f 6e 56 69 65 Sink_RemoteOnVie
ab20: 77 43 68 61 6e 67 65 5f 50 72 6f 78 79 28 49 41 wChange_Proxy(IA
ab30: 64 76 69 73 65 53 69 6e 6b 2c 20 44 57 4f 52 44 dviseSink, DWORD
ab40: 2c 20 4c 4f 4e 47 29 3b 0d 0a 76 6f 69 64 20 49 , LONG);..void I
ab50: 41 64 76 69 73 65 53 69 6e 6b 5f 52 65 6d 6f 74 AdviseSink_Remot
ab60: 65 4f 6e 56 69 65 77 43 68 61 6e 67 65 5f 53 74 eOnViewChange_St
ab70: 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 ub(IRpcStubBuffe
ab80: 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 r, IRpcChannelBu
ab90: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
aba0: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 76 6f GE, PDWORD);..vo
abb0: 69 64 20 49 41 64 76 69 73 65 53 69 6e 6b 5f 52 id IAdviseSink_R
abc0: 65 6d 6f 74 65 4f 6e 52 65 6e 61 6d 65 5f 50 72 emoteOnRename_Pr
abd0: 6f 78 79 28 49 41 64 76 69 73 65 53 69 6e 6b 2c oxy(IAdviseSink,
abe0: 20 49 4d 6f 6e 69 6b 65 72 29 3b 0d 0a 76 6f 69 IMoniker);..voi
abf0: 64 20 49 41 64 76 69 73 65 53 69 6e 6b 5f 52 65 d IAdviseSink_Re
ac00: 6d 6f 74 65 4f 6e 52 65 6e 61 6d 65 5f 53 74 75 moteOnRename_Stu
ac10: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
ac20: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
ac30: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
ac40: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 76 6f 69 E, PDWORD);..voi
ac50: 64 20 49 41 64 76 69 73 65 53 69 6e 6b 5f 52 65 d IAdviseSink_Re
ac60: 6d 6f 74 65 4f 6e 53 61 76 65 5f 50 72 6f 78 79 moteOnSave_Proxy
ac70: 28 49 41 64 76 69 73 65 53 69 6e 6b 29 3b 0d 0a (IAdviseSink);..
ac80: 76 6f 69 64 20 49 41 64 76 69 73 65 53 69 6e 6b void IAdviseSink
ac90: 5f 52 65 6d 6f 74 65 4f 6e 53 61 76 65 5f 53 74 _RemoteOnSave_St
aca0: 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 ub(IRpcStubBuffe
acb0: 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 r, IRpcChannelBu
acc0: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
acd0: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 GE, PDWORD);..HR
ace0: 45 53 55 4c 54 20 49 41 64 76 69 73 65 53 69 6e ESULT IAdviseSin
acf0: 6b 5f 52 65 6d 6f 74 65 4f 6e 43 6c 6f 73 65 5f k_RemoteOnClose_
ad00: 50 72 6f 78 79 28 49 41 64 76 69 73 65 53 69 6e Proxy(IAdviseSin
ad10: 6b 29 3b 0d 0a 76 6f 69 64 20 49 41 64 76 69 73 k);..void IAdvis
ad20: 65 53 69 6e 6b 5f 52 65 6d 6f 74 65 4f 6e 43 6c eSink_RemoteOnCl
ad30: 6f 73 65 5f 53 74 75 62 28 49 52 70 63 53 74 75 ose_Stub(IRpcStu
ad40: 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 bBuffer, IRpcCha
ad50: 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 nnelBuffer, PRPC
ad60: 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 _MESSAGE, PDWORD
ad70: 29 3b 0d 0a 76 6f 69 64 20 49 41 64 76 69 73 65 );..void IAdvise
ad80: 53 69 6e 6b 5f 4f 6e 44 61 74 61 43 68 61 6e 67 Sink_OnDataChang
ad90: 65 5f 50 72 6f 78 79 28 49 41 64 76 69 73 65 53 e_Proxy(IAdviseS
ada0: 69 6e 6b 2c 20 46 4f 52 4d 41 54 45 54 43 2a 2c ink, FORMATETC*,
adb0: 20 53 54 47 4d 45 44 49 55 4d 2a 29 3b 0d 0a 76 STGMEDIUM*);..v
adc0: 6f 69 64 20 49 41 64 76 69 73 65 53 69 6e 6b 5f oid IAdviseSink_
add0: 4f 6e 44 61 74 61 43 68 61 6e 67 65 5f 53 74 75 OnDataChange_Stu
ade0: 62 28 49 41 64 76 69 73 65 53 69 6e 6b 2c 20 46 b(IAdviseSink, F
adf0: 4f 52 4d 41 54 45 54 43 2a 2c 20 52 65 6d 53 54 ORMATETC*, RemST
ae00: 47 4d 45 44 49 55 4d 2a 29 3b 0d 0a 76 6f 69 64 GMEDIUM*);..void
ae10: 20 49 41 64 76 69 73 65 53 69 6e 6b 5f 4f 6e 56 IAdviseSink_OnV
ae20: 69 65 77 43 68 61 6e 67 65 5f 50 72 6f 78 79 28 iewChange_Proxy(
ae30: 49 41 64 76 69 73 65 53 69 6e 6b 2c 20 44 57 4f IAdviseSink, DWO
ae40: 52 44 2c 20 4c 4f 4e 47 29 3b 0d 0a 76 6f 69 64 RD, LONG);..void
ae50: 20 49 41 64 76 69 73 65 53 69 6e 6b 5f 4f 6e 56 IAdviseSink_OnV
ae60: 69 65 77 43 68 61 6e 67 65 5f 53 74 75 62 28 49 iewChange_Stub(I
ae70: 41 64 76 69 73 65 53 69 6e 6b 2c 20 44 57 4f 52 AdviseSink, DWOR
ae80: 44 2c 20 4c 4f 4e 47 29 3b 0d 0a 76 6f 69 64 20 D, LONG);..void
ae90: 49 41 64 76 69 73 65 53 69 6e 6b 5f 4f 6e 52 65 IAdviseSink_OnRe
aea0: 6e 61 6d 65 5f 50 72 6f 78 79 28 49 41 64 76 69 name_Proxy(IAdvi
aeb0: 73 65 53 69 6e 6b 2c 20 49 4d 6f 6e 69 6b 65 72 seSink, IMoniker
aec0: 29 3b 0d 0a 76 6f 69 64 20 49 41 64 76 69 73 65 );..void IAdvise
aed0: 53 69 6e 6b 5f 4f 6e 52 65 6e 61 6d 65 5f 53 74 Sink_OnRename_St
aee0: 75 62 28 49 41 64 76 69 73 65 53 69 6e 6b 2c 20 ub(IAdviseSink,
aef0: 49 4d 6f 6e 69 6b 65 72 29 3b 0d 0a 76 6f 69 64 IMoniker);..void
af00: 20 49 41 64 76 69 73 65 53 69 6e 6b 5f 4f 6e 53 IAdviseSink_OnS
af10: 61 76 65 5f 50 72 6f 78 79 28 49 41 64 76 69 73 ave_Proxy(IAdvis
af20: 65 53 69 6e 6b 29 3b 0d 0a 76 6f 69 64 20 49 41 eSink);..void IA
af30: 64 76 69 73 65 53 69 6e 6b 5f 4f 6e 53 61 76 65 dviseSink_OnSave
af40: 5f 53 74 75 62 28 49 41 64 76 69 73 65 53 69 6e _Stub(IAdviseSin
af50: 6b 29 3b 0d 0a 76 6f 69 64 20 49 41 64 76 69 73 k);..void IAdvis
af60: 65 53 69 6e 6b 5f 4f 6e 43 6c 6f 73 65 5f 50 72 eSink_OnClose_Pr
af70: 6f 78 79 28 49 41 64 76 69 73 65 53 69 6e 6b 29 oxy(IAdviseSink)
af80: 3b 0d 0a 48 52 45 53 55 4c 54 20 49 41 64 76 69 ;..HRESULT IAdvi
af90: 73 65 53 69 6e 6b 5f 4f 6e 43 6c 6f 73 65 5f 53 seSink_OnClose_S
afa0: 74 75 62 28 49 41 64 76 69 73 65 53 69 6e 6b 29 tub(IAdviseSink)
afb0: 3b 0d 0a 76 6f 69 64 20 49 41 64 76 69 73 65 53 ;..void IAdviseS
afc0: 69 6e 6b 32 5f 52 65 6d 6f 74 65 4f 6e 4c 69 6e ink2_RemoteOnLin
afd0: 6b 53 72 63 43 68 61 6e 67 65 5f 50 72 6f 78 79 kSrcChange_Proxy
afe0: 28 49 41 64 76 69 73 65 53 69 6e 6b 32 2c 20 49 (IAdviseSink2, I
aff0: 4d 6f 6e 69 6b 65 72 29 3b 0d 0a 76 6f 69 64 20 Moniker);..void
b000: 49 41 64 76 69 73 65 53 69 6e 6b 32 5f 52 65 6d IAdviseSink2_Rem
b010: 6f 74 65 4f 6e 4c 69 6e 6b 53 72 63 43 68 61 6e oteOnLinkSrcChan
b020: 67 65 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 ge_Stub(IRpcStub
b030: 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e Buffer, IRpcChan
b040: 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f nelBuffer, PRPC_
b050: 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 MESSAGE, PDWORD)
b060: 3b 0d 0a 76 6f 69 64 20 49 41 64 76 69 73 65 53 ;..void IAdviseS
b070: 69 6e 6b 32 5f 4f 6e 4c 69 6e 6b 53 72 63 43 68 ink2_OnLinkSrcCh
b080: 61 6e 67 65 5f 50 72 6f 78 79 28 49 41 64 76 69 ange_Proxy(IAdvi
b090: 73 65 53 69 6e 6b 32 2c 20 49 4d 6f 6e 69 6b 65 seSink2, IMonike
b0a0: 72 29 3b 0d 0a 76 6f 69 64 20 49 41 64 76 69 73 r);..void IAdvis
b0b0: 65 53 69 6e 6b 32 5f 4f 6e 4c 69 6e 6b 53 72 63 eSink2_OnLinkSrc
b0c0: 43 68 61 6e 67 65 5f 53 74 75 62 28 49 41 64 76 Change_Stub(IAdv
b0d0: 69 73 65 53 69 6e 6b 32 2c 20 49 4d 6f 6e 69 6b iseSink2, IMonik
b0e0: 65 72 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 44 er);..HRESULT ID
b0f0: 61 74 61 4f 62 6a 65 63 74 5f 52 65 6d 6f 74 65 ataObject_Remote
b100: 47 65 74 44 61 74 61 5f 50 72 6f 78 79 28 49 44 GetData_Proxy(ID
b110: 61 74 61 4f 62 6a 65 63 74 2c 20 46 4f 52 4d 41 ataObject, FORMA
b120: 54 45 54 43 2a 2c 20 52 65 6d 53 54 47 4d 45 44 TETC*, RemSTGMED
b130: 49 55 4d 2a 2a 29 3b 0d 0a 76 6f 69 64 20 49 44 IUM**);..void ID
b140: 61 74 61 4f 62 6a 65 63 74 5f 52 65 6d 6f 74 65 ataObject_Remote
b150: 47 65 74 44 61 74 61 5f 53 74 75 62 28 49 52 70 GetData_Stub(IRp
b160: 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 cStubBuffer, IRp
b170: 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 cChannelBuffer,
b180: 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 PRPC_MESSAGE, PD
b190: 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 WORD);..HRESULT
b1a0: 49 44 61 74 61 4f 62 6a 65 63 74 5f 52 65 6d 6f IDataObject_Remo
b1b0: 74 65 47 65 74 44 61 74 61 48 65 72 65 5f 50 72 teGetDataHere_Pr
b1c0: 6f 78 79 28 49 44 61 74 61 4f 62 6a 65 63 74 2c oxy(IDataObject,
b1d0: 20 46 4f 52 4d 41 54 45 54 43 2a 2c 20 52 65 6d FORMATETC*, Rem
b1e0: 53 54 47 4d 45 44 49 55 4d 2a 2a 29 3b 0d 0a 76 STGMEDIUM**);..v
b1f0: 6f 69 64 20 49 44 61 74 61 4f 62 6a 65 63 74 5f oid IDataObject_
b200: 52 65 6d 6f 74 65 47 65 74 44 61 74 61 48 65 72 RemoteGetDataHer
b210: 65 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 e_Stub(IRpcStubB
b220: 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e uffer, IRpcChann
b230: 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d elBuffer, PRPC_M
b240: 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b ESSAGE, PDWORD);
b250: 0d 0a 48 52 45 53 55 4c 54 20 49 44 61 74 61 4f ..HRESULT IDataO
b260: 62 6a 65 63 74 5f 51 75 65 72 79 47 65 74 44 61 bject_QueryGetDa
b270: 74 61 5f 50 72 6f 78 79 28 49 44 61 74 61 4f 62 ta_Proxy(IDataOb
b280: 6a 65 63 74 2c 20 46 4f 52 4d 41 54 45 54 43 2a ject, FORMATETC*
b290: 29 3b 0d 0a 76 6f 69 64 20 49 44 61 74 61 4f 62 );..void IDataOb
b2a0: 6a 65 63 74 5f 51 75 65 72 79 47 65 74 44 61 74 ject_QueryGetDat
b2b0: 61 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 a_Stub(IRpcStubB
b2c0: 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e uffer, IRpcChann
b2d0: 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d elBuffer, PRPC_M
b2e0: 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b ESSAGE, PDWORD);
b2f0: 0d 0a 48 52 45 53 55 4c 54 20 49 44 61 74 61 4f ..HRESULT IDataO
b300: 62 6a 65 63 74 5f 47 65 74 43 61 6e 6f 6e 69 63 bject_GetCanonic
b310: 61 6c 46 6f 72 6d 61 74 45 74 63 5f 50 72 6f 78 alFormatEtc_Prox
b320: 79 28 49 44 61 74 61 4f 62 6a 65 63 74 2c 20 46 y(IDataObject, F
b330: 4f 52 4d 41 54 45 54 43 2a 2c 20 46 4f 52 4d 41 ORMATETC*, FORMA
b340: 54 45 54 43 2a 29 3b 0d 0a 76 6f 69 64 20 49 44 TETC*);..void ID
b350: 61 74 61 4f 62 6a 65 63 74 5f 47 65 74 43 61 6e ataObject_GetCan
b360: 6f 6e 69 63 61 6c 46 6f 72 6d 61 74 45 74 63 5f onicalFormatEtc_
b370: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
b380: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
b390: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
b3a0: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
b3b0: 48 52 45 53 55 4c 54 20 49 44 61 74 61 4f 62 6a HRESULT IDataObj
b3c0: 65 63 74 5f 52 65 6d 6f 74 65 53 65 74 44 61 74 ect_RemoteSetDat
b3d0: 61 5f 50 72 6f 78 79 28 49 44 61 74 61 4f 62 6a a_Proxy(IDataObj
b3e0: 65 63 74 2c 20 46 4f 52 4d 41 54 45 54 43 2a 2c ect, FORMATETC*,
b3f0: 20 52 65 6d 53 54 47 4d 45 44 49 55 4d 2a 2c 20 RemSTGMEDIUM*,
b400: 42 4f 4f 4c 29 3b 0d 0a 76 6f 69 64 20 49 44 61 BOOL);..void IDa
b410: 74 61 4f 62 6a 65 63 74 5f 52 65 6d 6f 74 65 53 taObject_RemoteS
b420: 65 74 44 61 74 61 5f 53 74 75 62 28 49 52 70 63 etData_Stub(IRpc
b430: 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 StubBuffer, IRpc
b440: 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 ChannelBuffer, P
b450: 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 RPC_MESSAGE, PDW
b460: 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 ORD);..HRESULT I
b470: 44 61 74 61 4f 62 6a 65 63 74 5f 45 6e 75 6d 46 DataObject_EnumF
b480: 6f 72 6d 61 74 45 74 63 5f 50 72 6f 78 79 28 49 ormatEtc_Proxy(I
b490: 44 61 74 61 4f 62 6a 65 63 74 2c 20 44 57 4f 52 DataObject, DWOR
b4a0: 44 2c 20 49 45 6e 75 6d 46 4f 52 4d 41 54 45 54 D, IEnumFORMATET
b4b0: 43 2a 29 3b 0d 0a 76 6f 69 64 20 49 44 61 74 61 C*);..void IData
b4c0: 4f 62 6a 65 63 74 5f 45 6e 75 6d 46 6f 72 6d 61 Object_EnumForma
b4d0: 74 45 74 63 5f 53 74 75 62 28 49 52 70 63 53 74 tEtc_Stub(IRpcSt
b4e0: 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 ubBuffer, IRpcCh
b4f0: 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 annelBuffer, PRP
b500: 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 C_MESSAGE, PDWOR
b510: 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 44 61 D);..HRESULT IDa
b520: 74 61 4f 62 6a 65 63 74 5f 44 41 64 76 69 73 65 taObject_DAdvise
b530: 5f 50 72 6f 78 79 28 49 44 61 74 61 4f 62 6a 65 _Proxy(IDataObje
b540: 63 74 2c 20 46 4f 52 4d 41 54 45 54 43 2a 2c 20 ct, FORMATETC*,
b550: 44 57 4f 52 44 2c 20 49 41 64 76 69 73 65 53 69 DWORD, IAdviseSi
b560: 6e 6b 2c 20 44 57 4f 52 44 2a 29 3b 0d 0a 76 6f nk, DWORD*);..vo
b570: 69 64 20 49 44 61 74 61 4f 62 6a 65 63 74 5f 44 id IDataObject_D
b580: 41 64 76 69 73 65 5f 53 74 75 62 28 49 52 70 63 Advise_Stub(IRpc
b590: 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 StubBuffer, IRpc
b5a0: 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 ChannelBuffer, P
b5b0: 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 RPC_MESSAGE, PDW
b5c0: 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 ORD);..HRESULT I
b5d0: 44 61 74 61 4f 62 6a 65 63 74 5f 44 55 6e 61 64 DataObject_DUnad
b5e0: 76 69 73 65 5f 50 72 6f 78 79 28 49 44 61 74 61 vise_Proxy(IData
b5f0: 4f 62 6a 65 63 74 2c 20 44 57 4f 52 44 29 3b 0d Object, DWORD);.
b600: 0a 76 6f 69 64 20 49 44 61 74 61 4f 62 6a 65 63 .void IDataObjec
b610: 74 5f 44 55 6e 61 64 76 69 73 65 5f 53 74 75 62 t_DUnadvise_Stub
b620: 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c (IRpcStubBuffer,
b630: 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 IRpcChannelBuff
b640: 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 er, PRPC_MESSAGE
b650: 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 , PDWORD);..HRES
b660: 55 4c 54 20 49 44 61 74 61 4f 62 6a 65 63 74 5f ULT IDataObject_
b670: 45 6e 75 6d 44 41 64 76 69 73 65 5f 50 72 6f 78 EnumDAdvise_Prox
b680: 79 28 49 44 61 74 61 4f 62 6a 65 63 74 2c 20 49 y(IDataObject, I
b690: 45 6e 75 6d 53 54 41 54 44 41 54 41 2a 29 3b 0d EnumSTATDATA*);.
b6a0: 0a 76 6f 69 64 20 49 44 61 74 61 4f 62 6a 65 63 .void IDataObjec
b6b0: 74 5f 45 6e 75 6d 44 41 64 76 69 73 65 5f 53 74 t_EnumDAdvise_St
b6c0: 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 ub(IRpcStubBuffe
b6d0: 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 r, IRpcChannelBu
b6e0: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
b6f0: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 GE, PDWORD);..HR
b700: 45 53 55 4c 54 20 49 44 61 74 61 4f 62 6a 65 63 ESULT IDataObjec
b710: 74 5f 47 65 74 44 61 74 61 5f 50 72 6f 78 79 28 t_GetData_Proxy(
b720: 49 44 61 74 61 4f 62 6a 65 63 74 2c 20 46 4f 52 IDataObject, FOR
b730: 4d 41 54 45 54 43 2a 2c 20 53 54 47 4d 45 44 49 MATETC*, STGMEDI
b740: 55 4d 2a 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 UM*);..HRESULT I
b750: 44 61 74 61 4f 62 6a 65 63 74 5f 47 65 74 44 61 DataObject_GetDa
b760: 74 61 5f 53 74 75 62 28 49 44 61 74 61 4f 62 6a ta_Stub(IDataObj
b770: 65 63 74 2c 20 46 4f 52 4d 41 54 45 54 43 2a 2c ect, FORMATETC*,
b780: 20 52 65 6d 53 54 47 4d 45 44 49 55 4d 2a 2a 29 RemSTGMEDIUM**)
b790: 3b 0d 0a 48 52 45 53 55 4c 54 20 49 44 61 74 61 ;..HRESULT IData
b7a0: 4f 62 6a 65 63 74 5f 47 65 74 44 61 74 61 48 65 Object_GetDataHe
b7b0: 72 65 5f 50 72 6f 78 79 28 49 44 61 74 61 4f 62 re_Proxy(IDataOb
b7c0: 6a 65 63 74 2c 20 46 4f 52 4d 41 54 45 54 43 2a ject, FORMATETC*
b7d0: 2c 20 53 54 47 4d 45 44 49 55 4d 2a 29 3b 0d 0a , STGMEDIUM*);..
b7e0: 48 52 45 53 55 4c 54 20 49 44 61 74 61 4f 62 6a HRESULT IDataObj
b7f0: 65 63 74 5f 47 65 74 44 61 74 61 48 65 72 65 5f ect_GetDataHere_
b800: 53 74 75 62 28 49 44 61 74 61 4f 62 6a 65 63 74 Stub(IDataObject
b810: 2c 20 46 4f 52 4d 41 54 45 54 43 2a 2c 20 52 65 , FORMATETC*, Re
b820: 6d 53 54 47 4d 45 44 49 55 4d 2a 2a 29 3b 0d 0a mSTGMEDIUM**);..
b830: 48 52 45 53 55 4c 54 20 49 44 61 74 61 4f 62 6a HRESULT IDataObj
b840: 65 63 74 5f 53 65 74 44 61 74 61 5f 50 72 6f 78 ect_SetData_Prox
b850: 79 28 49 44 61 74 61 4f 62 6a 65 63 74 2c 20 46 y(IDataObject, F
b860: 4f 52 4d 41 54 45 54 43 2a 2c 20 53 54 47 4d 45 ORMATETC*, STGME
b870: 44 49 55 4d 2a 2c 20 42 4f 4f 4c 29 3b 0d 0a 48 DIUM*, BOOL);..H
b880: 52 45 53 55 4c 54 20 49 44 61 74 61 4f 62 6a 65 RESULT IDataObje
b890: 63 74 5f 53 65 74 44 61 74 61 5f 53 74 75 62 28 ct_SetData_Stub(
b8a0: 49 44 61 74 61 4f 62 6a 65 63 74 2c 20 46 4f 52 IDataObject, FOR
b8b0: 4d 41 54 45 54 43 2a 2c 20 52 65 6d 53 54 47 4d MATETC*, RemSTGM
b8c0: 45 44 49 55 4d 2a 2c 20 42 4f 4f 4c 29 3b 0d 0a EDIUM*, BOOL);..
b8d0: 48 52 45 53 55 4c 54 20 49 44 61 74 61 41 64 76 HRESULT IDataAdv
b8e0: 69 73 65 48 6f 6c 64 65 72 5f 41 64 76 69 73 65 iseHolder_Advise
b8f0: 5f 50 72 6f 78 79 28 49 44 61 74 61 41 64 76 69 _Proxy(IDataAdvi
b900: 73 65 48 6f 6c 64 65 72 2c 20 49 44 61 74 61 4f seHolder, IDataO
b910: 62 6a 65 63 74 2c 20 46 4f 52 4d 41 54 45 54 43 bject, FORMATETC
b920: 2a 2c 20 44 57 4f 52 44 2c 20 49 41 64 76 69 73 *, DWORD, IAdvis
b930: 65 53 69 6e 6b 2c 20 44 57 4f 52 44 2a 29 3b 0d eSink, DWORD*);.
b940: 0a 76 6f 69 64 20 49 44 61 74 61 41 64 76 69 73 .void IDataAdvis
b950: 65 48 6f 6c 64 65 72 5f 41 64 76 69 73 65 5f 53 eHolder_Advise_S
b960: 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 tub(IRpcStubBuff
b970: 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 er, IRpcChannelB
b980: 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 uffer, PRPC_MESS
b990: 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 AGE, PDWORD);..H
b9a0: 52 45 53 55 4c 54 20 49 44 61 74 61 41 64 76 69 RESULT IDataAdvi
b9b0: 73 65 48 6f 6c 64 65 72 5f 55 6e 61 64 76 69 73 seHolder_Unadvis
b9c0: 65 5f 50 72 6f 78 79 28 49 44 61 74 61 41 64 76 e_Proxy(IDataAdv
b9d0: 69 73 65 48 6f 6c 64 65 72 2c 20 44 57 4f 52 44 iseHolder, DWORD
b9e0: 29 3b 0d 0a 76 6f 69 64 20 49 44 61 74 61 41 64 );..void IDataAd
b9f0: 76 69 73 65 48 6f 6c 64 65 72 5f 55 6e 61 64 76 viseHolder_Unadv
ba00: 69 73 65 5f 53 74 75 62 28 49 52 70 63 53 74 75 ise_Stub(IRpcStu
ba10: 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 bBuffer, IRpcCha
ba20: 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 nnelBuffer, PRPC
ba30: 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 _MESSAGE, PDWORD
ba40: 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 44 61 74 );..HRESULT IDat
ba50: 61 41 64 76 69 73 65 48 6f 6c 64 65 72 5f 45 6e aAdviseHolder_En
ba60: 75 6d 41 64 76 69 73 65 5f 50 72 6f 78 79 28 49 umAdvise_Proxy(I
ba70: 44 61 74 61 41 64 76 69 73 65 48 6f 6c 64 65 72 DataAdviseHolder
ba80: 2c 20 49 45 6e 75 6d 53 54 41 54 44 41 54 41 2a , IEnumSTATDATA*
ba90: 29 3b 0d 0a 76 6f 69 64 20 49 44 61 74 61 41 64 );..void IDataAd
baa0: 76 69 73 65 48 6f 6c 64 65 72 5f 45 6e 75 6d 41 viseHolder_EnumA
bab0: 64 76 69 73 65 5f 53 74 75 62 28 49 52 70 63 53 dvise_Stub(IRpcS
bac0: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
bad0: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
bae0: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
baf0: 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 44 RD);..HRESULT ID
bb00: 61 74 61 41 64 76 69 73 65 48 6f 6c 64 65 72 5f ataAdviseHolder_
bb10: 53 65 6e 64 4f 6e 44 61 74 61 43 68 61 6e 67 65 SendOnDataChange
bb20: 5f 50 72 6f 78 79 28 49 44 61 74 61 41 64 76 69 _Proxy(IDataAdvi
bb30: 73 65 48 6f 6c 64 65 72 2c 20 49 44 61 74 61 4f seHolder, IDataO
bb40: 62 6a 65 63 74 2c 20 44 57 4f 52 44 2c 20 44 57 bject, DWORD, DW
bb50: 4f 52 44 29 3b 0d 0a 76 6f 69 64 20 49 44 61 74 ORD);..void IDat
bb60: 61 41 64 76 69 73 65 48 6f 6c 64 65 72 5f 53 65 aAdviseHolder_Se
bb70: 6e 64 4f 6e 44 61 74 61 43 68 61 6e 67 65 5f 53 ndOnDataChange_S
bb80: 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 tub(IRpcStubBuff
bb90: 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 er, IRpcChannelB
bba0: 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 uffer, PRPC_MESS
bbb0: 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 44 AGE, PDWORD);..D
bbc0: 57 4f 52 44 20 49 4d 65 73 73 61 67 65 46 69 6c WORD IMessageFil
bbd0: 74 65 72 5f 48 61 6e 64 6c 65 49 6e 43 6f 6d 69 ter_HandleInComi
bbe0: 6e 67 43 61 6c 6c 5f 50 72 6f 78 79 28 49 4d 65 ngCall_Proxy(IMe
bbf0: 73 73 61 67 65 46 69 6c 74 65 72 2c 20 44 57 4f ssageFilter, DWO
bc00: 52 44 2c 20 48 54 41 53 4b 2c 20 44 57 4f 52 44 RD, HTASK, DWORD
bc10: 2c 20 4c 50 49 4e 54 45 52 46 41 43 45 49 4e 46 , LPINTERFACEINF
bc20: 4f 29 3b 0d 0a 76 6f 69 64 20 49 4d 65 73 73 61 O);..void IMessa
bc30: 67 65 46 69 6c 74 65 72 5f 48 61 6e 64 6c 65 49 geFilter_HandleI
bc40: 6e 43 6f 6d 69 6e 67 43 61 6c 6c 5f 53 74 75 62 nComingCall_Stub
bc50: 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c (IRpcStubBuffer,
bc60: 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 IRpcChannelBuff
bc70: 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 er, PRPC_MESSAGE
bc80: 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 44 57 4f 52 , PDWORD);..DWOR
bc90: 44 20 49 4d 65 73 73 61 67 65 46 69 6c 74 65 72 D IMessageFilter
bca0: 5f 52 65 74 72 79 52 65 6a 65 63 74 65 64 43 61 _RetryRejectedCa
bcb0: 6c 6c 5f 50 72 6f 78 79 28 49 4d 65 73 73 61 67 ll_Proxy(IMessag
bcc0: 65 46 69 6c 74 65 72 2c 20 48 54 41 53 4b 2c 20 eFilter, HTASK,
bcd0: 44 57 4f 52 44 2c 20 44 57 4f 52 44 29 3b 0d 0a DWORD, DWORD);..
bce0: 76 6f 69 64 20 49 4d 65 73 73 61 67 65 46 69 6c void IMessageFil
bcf0: 74 65 72 5f 52 65 74 72 79 52 65 6a 65 63 74 65 ter_RetryRejecte
bd00: 64 43 61 6c 6c 5f 53 74 75 62 28 49 52 70 63 53 dCall_Stub(IRpcS
bd10: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
bd20: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
bd30: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
bd40: 52 44 29 3b 0d 0a 44 57 4f 52 44 20 49 4d 65 73 RD);..DWORD IMes
bd50: 73 61 67 65 46 69 6c 74 65 72 5f 4d 65 73 73 61 sageFilter_Messa
bd60: 67 65 50 65 6e 64 69 6e 67 5f 50 72 6f 78 79 28 gePending_Proxy(
bd70: 49 4d 65 73 73 61 67 65 46 69 6c 74 65 72 2c 20 IMessageFilter,
bd80: 48 54 41 53 4b 2c 20 44 57 4f 52 44 2c 20 44 57 HTASK, DWORD, DW
bd90: 4f 52 44 29 3b 0d 0a 76 6f 69 64 20 49 4d 65 73 ORD);..void IMes
bda0: 73 61 67 65 46 69 6c 74 65 72 5f 4d 65 73 73 61 sageFilter_Messa
bdb0: 67 65 50 65 6e 64 69 6e 67 5f 53 74 75 62 28 49 gePending_Stub(I
bdc0: 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 RpcStubBuffer, I
bdd0: 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 RpcChannelBuffer
bde0: 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 , PRPC_MESSAGE,
bdf0: 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c PDWORD);..HRESUL
be00: 54 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 T IRpcChannelBuf
be10: 66 65 72 5f 47 65 74 42 75 66 66 65 72 5f 50 72 fer_GetBuffer_Pr
be20: 6f 78 79 28 49 52 70 63 43 68 61 6e 6e 65 6c 42 oxy(IRpcChannelB
be30: 75 66 66 65 72 2c 20 52 50 43 4f 4c 45 4d 45 53 uffer, RPCOLEMES
be40: 53 41 47 45 2a 2c 20 52 45 46 49 49 44 29 3b 0d SAGE*, REFIID);.
be50: 0a 76 6f 69 64 20 49 52 70 63 43 68 61 6e 6e 65 .void IRpcChanne
be60: 6c 42 75 66 66 65 72 5f 47 65 74 42 75 66 66 65 lBuffer_GetBuffe
be70: 72 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 r_Stub(IRpcStubB
be80: 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e uffer, IRpcChann
be90: 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d elBuffer, PRPC_M
bea0: 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b ESSAGE, PDWORD);
beb0: 0d 0a 48 52 45 53 55 4c 54 20 49 52 70 63 43 68 ..HRESULT IRpcCh
bec0: 61 6e 6e 65 6c 42 75 66 66 65 72 5f 53 65 6e 64 annelBuffer_Send
bed0: 52 65 63 65 69 76 65 5f 50 72 6f 78 79 28 49 52 Receive_Proxy(IR
bee0: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c pcChannelBuffer,
bef0: 20 52 50 43 4f 4c 45 4d 45 53 53 41 47 45 2a 2c RPCOLEMESSAGE*,
bf00: 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 76 6f 69 64 20 ULONG*);..void
bf10: 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 IRpcChannelBuffe
bf20: 72 5f 53 65 6e 64 52 65 63 65 69 76 65 5f 53 74 r_SendReceive_St
bf30: 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 ub(IRpcStubBuffe
bf40: 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 r, IRpcChannelBu
bf50: 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 ffer, PRPC_MESSA
bf60: 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 GE, PDWORD);..HR
bf70: 45 53 55 4c 54 20 49 52 70 63 43 68 61 6e 6e 65 ESULT IRpcChanne
bf80: 6c 42 75 66 66 65 72 5f 46 72 65 65 42 75 66 66 lBuffer_FreeBuff
bf90: 65 72 5f 50 72 6f 78 79 28 49 52 70 63 43 68 61 er_Proxy(IRpcCha
bfa0: 6e 6e 65 6c 42 75 66 66 65 72 2c 20 52 50 43 4f nnelBuffer, RPCO
bfb0: 4c 45 4d 45 53 53 41 47 45 2a 29 3b 0d 0a 76 6f LEMESSAGE*);..vo
bfc0: 69 64 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 id IRpcChannelBu
bfd0: 66 66 65 72 5f 46 72 65 65 42 75 66 66 65 72 5f ffer_FreeBuffer_
bfe0: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
bff0: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
c000: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
c010: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
c020: 48 52 45 53 55 4c 54 20 49 52 70 63 43 68 61 6e HRESULT IRpcChan
c030: 6e 65 6c 42 75 66 66 65 72 5f 47 65 74 44 65 73 nelBuffer_GetDes
c040: 74 43 74 78 5f 50 72 6f 78 79 28 49 52 70 63 43 tCtx_Proxy(IRpcC
c050: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 44 57 hannelBuffer, DW
c060: 4f 52 44 2a 2c 20 76 6f 69 64 2a 2a 29 3b 0d 0a ORD*, void**);..
c070: 76 6f 69 64 20 49 52 70 63 43 68 61 6e 6e 65 6c void IRpcChannel
c080: 42 75 66 66 65 72 5f 47 65 74 44 65 73 74 43 74 Buffer_GetDestCt
c090: 78 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 42 x_Stub(IRpcStubB
c0a0: 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e uffer, IRpcChann
c0b0: 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d elBuffer, PRPC_M
c0c0: 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b ESSAGE, PDWORD);
c0d0: 0d 0a 48 52 45 53 55 4c 54 20 49 52 70 63 43 68 ..HRESULT IRpcCh
c0e0: 61 6e 6e 65 6c 42 75 66 66 65 72 5f 49 73 43 6f annelBuffer_IsCo
c0f0: 6e 6e 65 63 74 65 64 5f 50 72 6f 78 79 28 49 52 nnected_Proxy(IR
c100: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 29 pcChannelBuffer)
c110: 3b 0d 0a 76 6f 69 64 20 49 52 70 63 43 68 61 6e ;..void IRpcChan
c120: 6e 65 6c 42 75 66 66 65 72 5f 49 73 43 6f 6e 6e nelBuffer_IsConn
c130: 65 63 74 65 64 5f 53 74 75 62 28 49 52 70 63 53 ected_Stub(IRpcS
c140: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
c150: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
c160: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
c170: 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 52 RD);..HRESULT IR
c180: 70 63 50 72 6f 78 79 42 75 66 66 65 72 5f 43 6f pcProxyBuffer_Co
c190: 6e 6e 65 63 74 5f 50 72 6f 78 79 28 49 52 70 63 nnect_Proxy(IRpc
c1a0: 50 72 6f 78 79 42 75 66 66 65 72 2c 20 49 52 70 ProxyBuffer, IRp
c1b0: 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 70 52 cChannelBufferpR
c1c0: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 29 pcChannelBuffer)
c1d0: 3b 0d 0a 76 6f 69 64 20 49 52 70 63 50 72 6f 78 ;..void IRpcProx
c1e0: 79 42 75 66 66 65 72 5f 43 6f 6e 6e 65 63 74 5f yBuffer_Connect_
c1f0: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
c200: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
c210: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
c220: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
c230: 76 6f 69 64 20 49 52 70 63 50 72 6f 78 79 42 75 void IRpcProxyBu
c240: 66 66 65 72 5f 44 69 73 63 6f 6e 6e 65 63 74 5f ffer_Disconnect_
c250: 50 72 6f 78 79 28 49 52 70 63 50 72 6f 78 79 42 Proxy(IRpcProxyB
c260: 75 66 66 65 72 29 3b 0d 0a 76 6f 69 64 20 49 52 uffer);..void IR
c270: 70 63 50 72 6f 78 79 42 75 66 66 65 72 5f 44 69 pcProxyBuffer_Di
c280: 73 63 6f 6e 6e 65 63 74 5f 53 74 75 62 28 49 52 sconnect_Stub(IR
c290: 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 52 pcStubBuffer, IR
c2a0: 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c pcChannelBuffer,
c2b0: 20 50 52 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 PRPC_MESSAGE, P
c2c0: 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 55 4c 54 DWORD);..HRESULT
c2d0: 20 49 52 70 63 53 74 75 62 42 75 66 66 65 72 5f IRpcStubBuffer_
c2e0: 43 6f 6e 6e 65 63 74 5f 50 72 6f 78 79 28 49 52 Connect_Proxy(IR
c2f0: 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 49 55 pcStubBuffer, IU
c300: 6e 6b 6e 6f 77 6e 29 3b 0d 0a 76 6f 69 64 20 49 nknown);..void I
c310: 52 70 63 53 74 75 62 42 75 66 66 65 72 5f 43 6f RpcStubBuffer_Co
c320: 6e 6e 65 63 74 5f 53 74 75 62 28 49 52 70 63 53 nnect_Stub(IRpcS
c330: 74 75 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 tubBuffer, IRpcC
c340: 68 61 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 hannelBuffer, PR
c350: 50 43 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f PC_MESSAGE, PDWO
c360: 52 44 29 3b 0d 0a 76 6f 69 64 20 49 52 70 63 53 RD);..void IRpcS
c370: 74 75 62 42 75 66 66 65 72 5f 44 69 73 63 6f 6e tubBuffer_Discon
c380: 6e 65 63 74 5f 50 72 6f 78 79 28 49 52 70 63 53 nect_Proxy(IRpcS
c390: 74 75 62 42 75 66 66 65 72 29 3b 0d 0a 76 6f 69 tubBuffer);..voi
c3a0: 64 20 49 52 70 63 53 74 75 62 42 75 66 66 65 72 d IRpcStubBuffer
c3b0: 5f 44 69 73 63 6f 6e 6e 65 63 74 5f 53 74 75 62 _Disconnect_Stub
c3c0: 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c (IRpcStubBuffer,
c3d0: 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 IRpcChannelBuff
c3e0: 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 45 er, PRPC_MESSAGE
c3f0: 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 53 , PDWORD);..HRES
c400: 55 4c 54 20 49 52 70 63 53 74 75 62 42 75 66 66 ULT IRpcStubBuff
c410: 65 72 5f 49 6e 76 6f 6b 65 5f 50 72 6f 78 79 28 er_Invoke_Proxy(
c420: 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 IRpcStubBuffer,
c430: 52 50 43 4f 4c 45 4d 45 53 53 41 47 45 2a 2c 20 RPCOLEMESSAGE*,
c440: 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 66 65 IRpcChannelBuffe
c450: 72 29 3b 0d 0a 76 6f 69 64 20 49 52 70 63 53 74 r);..void IRpcSt
c460: 75 62 42 75 66 66 65 72 5f 49 6e 76 6f 6b 65 5f ubBuffer_Invoke_
c470: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
c480: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
c490: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
c4a0: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
c4b0: 49 52 70 63 53 74 75 62 42 75 66 66 65 72 49 52 IRpcStubBufferIR
c4c0: 70 63 53 74 75 62 42 75 66 66 65 72 5f 49 73 49 pcStubBuffer_IsI
c4d0: 49 44 53 75 70 70 6f 72 74 65 64 5f 50 72 6f 78 IDSupported_Prox
c4e0: 79 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 y(IRpcStubBuffer
c4f0: 2c 20 52 45 46 49 49 44 29 3b 0d 0a 76 6f 69 64 , REFIID);..void
c500: 20 49 52 70 63 53 74 75 62 42 75 66 66 65 72 5f IRpcStubBuffer_
c510: 49 73 49 49 44 53 75 70 70 6f 72 74 65 64 5f 53 IsIIDSupported_S
c520: 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 tub(IRpcStubBuff
c530: 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 er, IRpcChannelB
c540: 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 uffer, PRPC_MESS
c550: 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 55 AGE, PDWORD);..U
c560: 4c 4f 4e 47 20 49 52 70 63 53 74 75 62 42 75 66 LONG IRpcStubBuf
c570: 66 65 72 5f 43 6f 75 6e 74 52 65 66 73 5f 50 72 fer_CountRefs_Pr
c580: 6f 78 79 28 49 52 70 63 53 74 75 62 42 75 66 66 oxy(IRpcStubBuff
c590: 65 72 29 3b 0d 0a 76 6f 69 64 20 49 52 70 63 53 er);..void IRpcS
c5a0: 74 75 62 42 75 66 66 65 72 5f 43 6f 75 6e 74 52 tubBuffer_CountR
c5b0: 65 66 73 5f 53 74 75 62 28 49 52 70 63 53 74 75 efs_Stub(IRpcStu
c5c0: 62 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 bBuffer, IRpcCha
c5d0: 6e 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 nnelBuffer, PRPC
c5e0: 5f 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 _MESSAGE, PDWORD
c5f0: 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 52 70 63 );..HRESULT IRpc
c600: 53 74 75 62 42 75 66 66 65 72 5f 44 65 62 75 67 StubBuffer_Debug
c610: 53 65 72 76 65 72 51 75 65 72 79 49 6e 74 65 72 ServerQueryInter
c620: 66 61 63 65 5f 50 72 6f 78 79 28 49 52 70 63 53 face_Proxy(IRpcS
c630: 74 75 62 42 75 66 66 65 72 2c 20 76 6f 69 64 2a tubBuffer, void*
c640: 2a 29 3b 0d 0a 76 6f 69 64 20 49 52 70 63 53 74 *);..void IRpcSt
c650: 75 62 42 75 66 66 65 72 5f 44 65 62 75 67 53 65 ubBuffer_DebugSe
c660: 72 76 65 72 51 75 65 72 79 49 6e 74 65 72 66 61 rverQueryInterfa
c670: 63 65 5f 53 74 75 62 28 49 52 70 63 53 74 75 62 ce_Stub(IRpcStub
c680: 42 75 66 66 65 72 2c 20 49 52 70 63 43 68 61 6e Buffer, IRpcChan
c690: 6e 65 6c 42 75 66 66 65 72 2c 20 50 52 50 43 5f nelBuffer, PRPC_
c6a0: 4d 45 53 53 41 47 45 2c 20 50 44 57 4f 52 44 29 MESSAGE, PDWORD)
c6b0: 3b 0d 0a 76 6f 69 64 20 49 52 70 63 53 74 75 62 ;..void IRpcStub
c6c0: 42 75 66 66 65 72 5f 44 65 62 75 67 53 65 72 76 Buffer_DebugServ
c6d0: 65 72 52 65 6c 65 61 73 65 5f 50 72 6f 78 79 28 erRelease_Proxy(
c6e0: 49 52 70 63 53 74 75 62 42 75 66 66 65 72 2c 20 IRpcStubBuffer,
c6f0: 76 6f 69 64 2a 29 3b 0d 0a 76 6f 69 64 20 49 52 void*);..void IR
c700: 70 63 53 74 75 62 42 75 66 66 65 72 5f 44 65 62 pcStubBuffer_Deb
c710: 75 67 53 65 72 76 65 72 52 65 6c 65 61 73 65 5f ugServerRelease_
c720: 53 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 Stub(IRpcStubBuf
c730: 66 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c fer, IRpcChannel
c740: 42 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 Buffer, PRPC_MES
c750: 53 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a SAGE, PDWORD);..
c760: 48 52 45 53 55 4c 54 20 49 50 53 46 61 63 74 6f HRESULT IPSFacto
c770: 72 79 42 75 66 66 65 72 5f 43 72 65 61 74 65 50 ryBuffer_CreateP
c780: 72 6f 78 79 5f 50 72 6f 78 79 28 49 50 53 46 61 roxy_Proxy(IPSFa
c790: 63 74 6f 72 79 42 75 66 66 65 72 2c 20 49 55 6e ctoryBuffer, IUn
c7a0: 6b 6e 6f 77 6e 2c 20 52 45 46 49 49 44 2c 20 49 known, REFIID, I
c7b0: 52 70 63 50 72 6f 78 79 42 75 66 66 65 72 2a 2c RpcProxyBuffer*,
c7c0: 20 76 6f 69 64 2a 2a 29 3b 0d 0a 76 6f 69 64 20 void**);..void
c7d0: 49 50 53 46 61 63 74 6f 72 79 42 75 66 66 65 72 IPSFactoryBuffer
c7e0: 5f 43 72 65 61 74 65 50 72 6f 78 79 5f 53 74 75 _CreateProxy_Stu
c7f0: 62 28 49 52 70 63 53 74 75 62 42 75 66 66 65 72 b(IRpcStubBuffer
c800: 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 75 66 , IRpcChannelBuf
c810: 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 41 47 fer, PRPC_MESSAG
c820: 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 48 52 45 E, PDWORD);..HRE
c830: 53 55 4c 54 20 49 50 53 46 61 63 74 6f 72 79 42 SULT IPSFactoryB
c840: 75 66 66 65 72 5f 43 72 65 61 74 65 53 74 75 62 uffer_CreateStub
c850: 5f 50 72 6f 78 79 28 49 50 53 46 61 63 74 6f 72 _Proxy(IPSFactor
c860: 79 42 75 66 66 65 72 2c 20 52 45 46 49 49 44 2c yBuffer, REFIID,
c870: 20 49 55 6e 6b 6e 6f 77 6e 2c 20 49 52 70 63 53 IUnknown, IRpcS
c880: 74 75 62 42 75 66 66 65 72 2a 29 3b 0d 0a 76 6f tubBuffer*);..vo
c890: 69 64 20 49 50 53 46 61 63 74 6f 72 79 42 75 66 id IPSFactoryBuf
c8a0: 66 65 72 5f 43 72 65 61 74 65 53 74 75 62 5f 53 fer_CreateStub_S
c8b0: 74 75 62 28 49 52 70 63 53 74 75 62 42 75 66 66 tub(IRpcStubBuff
c8c0: 65 72 2c 20 49 52 70 63 43 68 61 6e 6e 65 6c 42 er, IRpcChannelB
c8d0: 75 66 66 65 72 2c 20 50 52 50 43 5f 4d 45 53 53 uffer, PRPC_MESS
c8e0: 41 47 45 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 76 AGE, PDWORD);..v
c8f0: 6f 69 64 20 53 4e 42 5f 74 6f 5f 78 6d 69 74 28 oid SNB_to_xmit(
c900: 53 4e 42 2a 2c 20 52 65 6d 53 4e 42 2a 2a 29 3b SNB*, RemSNB**);
c910: 0d 0a 76 6f 69 64 20 53 4e 42 5f 66 72 6f 6d 5f ..void SNB_from_
c920: 78 6d 69 74 28 52 65 6d 53 4e 42 2a 2c 20 53 4e xmit(RemSNB*, SN
c930: 42 2a 29 3b 0d 0a 76 6f 69 64 20 53 4e 42 5f 66 B*);..void SNB_f
c940: 72 65 65 5f 69 6e 73 74 28 53 4e 42 2a 29 3b 0d ree_inst(SNB*);.
c950: 0a 76 6f 69 64 20 53 4e 42 5f 66 72 65 65 5f 78 .void SNB_free_x
c960: 6d 69 74 28 52 65 6d 53 4e 42 2a 29 3b 0d 0a 48 mit(RemSNB*);..H
c970: 52 45 53 55 4c 54 20 49 45 6e 75 6d 55 6e 6b 6e RESULT IEnumUnkn
c980: 6f 77 6e 5f 4e 65 78 74 5f 50 72 6f 78 79 28 49 own_Next_Proxy(I
c990: 45 6e 75 6d 55 6e 6b 6e 6f 77 6e 2c 20 55 4c 4f EnumUnknown, ULO
c9a0: 4e 47 2c 20 49 55 6e 6b 6e 6f 77 6e 2a 2c 20 55 NG, IUnknown*, U
c9b0: 4c 4f 4e 47 2a 29 3b 0d 0a 48 52 45 53 55 4c 54 LONG*);..HRESULT
c9c0: 20 49 45 6e 75 6d 55 6e 6b 6e 6f 77 6e 5f 4e 65 IEnumUnknown_Ne
c9d0: 78 74 5f 53 74 75 62 28 49 45 6e 75 6d 55 6e 6b xt_Stub(IEnumUnk
c9e0: 6e 6f 77 6e 2c 20 55 4c 4f 4e 47 2c 20 49 55 6e nown, ULONG, IUn
c9f0: 6b 6e 6f 77 6e 2a 2c 20 55 4c 4f 4e 47 2a 29 3b known*, ULONG*);
ca00: 0d 0a 48 52 45 53 55 4c 54 20 49 45 6e 75 6d 4d ..HRESULT IEnumM
ca10: 6f 6e 69 6b 65 72 5f 4e 65 78 74 5f 50 72 6f 78 oniker_Next_Prox
ca20: 79 28 49 45 6e 75 6d 4d 6f 6e 69 6b 65 72 2c 20 y(IEnumMoniker,
ca30: 55 4c 4f 4e 47 2c 20 49 4d 6f 6e 69 6b 65 72 2a ULONG, IMoniker*
ca40: 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 48 52 45 53 , ULONG*);..HRES
ca50: 55 4c 54 20 49 45 6e 75 6d 4d 6f 6e 69 6b 65 72 ULT IEnumMoniker
ca60: 5f 4e 65 78 74 5f 53 74 75 62 28 49 45 6e 75 6d _Next_Stub(IEnum
ca70: 4d 6f 6e 69 6b 65 72 2c 20 55 4c 4f 4e 47 2c 20 Moniker, ULONG,
ca80: 49 4d 6f 6e 69 6b 65 72 2a 2c 20 55 4c 4f 4e 47 IMoniker*, ULONG
ca90: 2a 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 4d 6f *);..HRESULT IMo
caa0: 6e 69 6b 65 72 5f 42 69 6e 64 54 6f 4f 62 6a 65 niker_BindToObje
cab0: 63 74 5f 50 72 6f 78 79 28 49 4d 6f 6e 69 6b 65 ct_Proxy(IMonike
cac0: 72 2c 20 49 42 69 6e 64 43 74 78 2c 20 49 4d 6f r, IBindCtx, IMo
cad0: 6e 69 6b 65 72 2c 20 52 45 46 49 49 44 2c 20 76 niker, REFIID, v
cae0: 6f 69 64 2a 2a 29 3b 0d 0a 48 52 45 53 55 4c 54 oid**);..HRESULT
caf0: 20 49 4d 6f 6e 69 6b 65 72 5f 42 69 6e 64 54 6f IMoniker_BindTo
cb00: 4f 62 6a 65 63 74 5f 53 74 75 62 28 49 4d 6f 6e Object_Stub(IMon
cb10: 69 6b 65 72 2c 20 49 42 69 6e 64 43 74 78 2c 20 iker, IBindCtx,
cb20: 49 4d 6f 6e 69 6b 65 72 2c 20 52 45 46 49 49 44 IMoniker, REFIID
cb30: 2c 20 49 55 6e 6b 6e 6f 77 6e 2a 29 3b 0d 0a 48 , IUnknown*);..H
cb40: 52 45 53 55 4c 54 20 49 4d 6f 6e 69 6b 65 72 5f RESULT IMoniker_
cb50: 42 69 6e 64 54 6f 53 74 6f 72 61 67 65 5f 50 72 BindToStorage_Pr
cb60: 6f 78 79 28 49 4d 6f 6e 69 6b 65 72 2c 20 49 42 oxy(IMoniker, IB
cb70: 69 6e 64 43 74 78 2c 20 49 4d 6f 6e 69 6b 65 72 indCtx, IMoniker
cb80: 2c 20 52 45 46 49 49 44 2c 20 76 6f 69 64 2a 2a , REFIID, void**
cb90: 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 4d 6f 6e );..HRESULT IMon
cba0: 69 6b 65 72 5f 42 69 6e 64 54 6f 53 74 6f 72 61 iker_BindToStora
cbb0: 67 65 5f 53 74 75 62 28 49 4d 6f 6e 69 6b 65 72 ge_Stub(IMoniker
cbc0: 2c 20 49 42 69 6e 64 43 74 78 2c 20 49 4d 6f 6e , IBindCtx, IMon
cbd0: 69 6b 65 72 2c 20 52 45 46 49 49 44 2c 20 49 55 iker, REFIID, IU
cbe0: 6e 6b 6e 6f 77 6e 2a 29 3b 0d 0a 48 52 45 53 55 nknown*);..HRESU
cbf0: 4c 54 20 49 45 6e 75 6d 53 74 72 69 6e 67 5f 4e LT IEnumString_N
cc00: 65 78 74 5f 50 72 6f 78 79 28 49 45 6e 75 6d 53 ext_Proxy(IEnumS
cc10: 74 72 69 6e 67 2c 20 55 4c 4f 4e 47 2c 20 4c 50 tring, ULONG, LP
cc20: 43 53 54 52 2a 2c 20 55 4c 4f 4e 47 2a 29 3b 0d CSTR*, ULONG*);.
cc30: 0a 48 52 45 53 55 4c 54 20 49 45 6e 75 6d 53 74 .HRESULT IEnumSt
cc40: 72 69 6e 67 5f 4e 65 78 74 5f 53 74 75 62 28 49 ring_Next_Stub(I
cc50: 45 6e 75 6d 53 74 72 69 6e 67 2c 20 55 4c 4f 4e EnumString, ULON
cc60: 47 2c 20 4c 50 43 53 54 52 2a 2c 20 55 4c 4f 4e G, LPCSTR*, ULON
cc70: 47 2a 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 53 G*);..HRESULT IS
cc80: 74 72 65 61 6d 5f 52 65 61 64 5f 50 72 6f 78 79 tream_Read_Proxy
cc90: 28 49 53 74 72 65 61 6d 2c 20 76 6f 69 64 2a 2c (IStream, void*,
cca0: 20 55 4c 4f 4e 47 2c 20 55 4c 4f 4e 47 2a 29 3b ULONG, ULONG*);
ccb0: 0d 0a 48 52 45 53 55 4c 54 20 49 53 74 72 65 61 ..HRESULT IStrea
ccc0: 6d 5f 52 65 61 64 5f 53 74 75 62 28 49 53 74 72 m_Read_Stub(IStr
ccd0: 65 61 6d 2c 20 42 59 54 45 2a 2c 20 55 4c 4f 4e eam, BYTE*, ULON
cce0: 47 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 48 52 45 G, ULONG*);..HRE
ccf0: 53 55 4c 54 20 49 53 74 72 65 61 6d 5f 57 72 69 SULT IStream_Wri
cd00: 74 65 5f 50 72 6f 78 79 28 49 53 74 72 65 61 6d te_Proxy(IStream
cd10: 2c 20 76 6f 69 64 2a 2c 20 55 4c 4f 4e 47 2c 20 , void*, ULONG,
cd20: 55 4c 4f 4e 47 2a 29 3b 0d 0a 48 52 45 53 55 4c ULONG*);..HRESUL
cd30: 54 20 49 53 74 72 65 61 6d 5f 57 72 69 74 65 5f T IStream_Write_
cd40: 53 74 75 62 28 49 53 74 72 65 61 6d 2c 20 42 59 Stub(IStream, BY
cd50: 54 45 2a 2c 20 55 4c 4f 4e 47 2c 20 55 4c 4f 4e TE*, ULONG, ULON
cd60: 47 2a 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 53 G*);..HRESULT IS
cd70: 74 72 65 61 6d 5f 53 65 65 6b 5f 50 72 6f 78 79 tream_Seek_Proxy
cd80: 28 49 53 74 72 65 61 6d 2c 20 4c 41 52 47 45 5f (IStream, LARGE_
cd90: 49 4e 54 45 47 45 52 2c 20 44 57 4f 52 44 2c 20 INTEGER, DWORD,
cda0: 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2a 29 ULARGE_INTEGER*)
cdb0: 3b 0d 0a 48 52 45 53 55 4c 54 20 49 53 74 72 65 ;..HRESULT IStre
cdc0: 61 6d 5f 53 65 65 6b 5f 53 74 75 62 28 49 53 74 am_Seek_Stub(ISt
cdd0: 72 65 61 6d 2c 20 4c 41 52 47 45 5f 49 4e 54 45 ream, LARGE_INTE
cde0: 47 45 52 2c 20 44 57 4f 52 44 2c 20 55 4c 41 52 GER, DWORD, ULAR
cdf0: 47 45 5f 49 4e 54 45 47 45 52 2a 29 3b 0d 0a 48 GE_INTEGER*);..H
ce00: 52 45 53 55 4c 54 20 49 53 74 72 65 61 6d 5f 43 RESULT IStream_C
ce10: 6f 70 79 54 6f 5f 50 72 6f 78 79 28 49 53 74 72 opyTo_Proxy(IStr
ce20: 65 61 6d 2c 20 49 53 74 72 65 61 6d 2c 20 55 4c eam, IStream, UL
ce30: 41 52 47 45 5f 49 4e 54 45 47 45 52 2c 20 55 4c ARGE_INTEGER, UL
ce40: 41 52 47 45 5f 49 4e 54 45 47 45 52 2a 2c 20 55 ARGE_INTEGER*, U
ce50: 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2a 29 3b LARGE_INTEGER*);
ce60: 0d 0a 48 52 45 53 55 4c 54 20 49 53 74 72 65 61 ..HRESULT IStrea
ce70: 6d 5f 43 6f 70 79 54 6f 5f 53 74 75 62 28 49 53 m_CopyTo_Stub(IS
ce80: 74 72 65 61 6d 2c 20 49 53 74 72 65 61 6d 2c 20 tream, IStream,
ce90: 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2c 20 ULARGE_INTEGER,
cea0: 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2a 2c ULARGE_INTEGER*,
ceb0: 20 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2a ULARGE_INTEGER*
cec0: 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 45 6e 75 );..HRESULT IEnu
ced0: 6d 53 54 41 54 53 54 47 5f 4e 65 78 74 5f 50 72 mSTATSTG_Next_Pr
cee0: 6f 78 79 28 49 45 6e 75 6d 53 54 41 54 53 54 47 oxy(IEnumSTATSTG
cef0: 2c 20 55 4c 4f 4e 47 2c 20 53 54 41 54 53 54 47 , ULONG, STATSTG
cf00: 2a 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 48 52 45 *, ULONG*);..HRE
cf10: 53 55 4c 54 20 49 45 6e 75 6d 53 54 41 54 53 54 SULT IEnumSTATST
cf20: 47 5f 4e 65 78 74 5f 53 74 75 62 28 49 45 6e 75 G_Next_Stub(IEnu
cf30: 6d 53 54 41 54 53 54 47 2c 20 55 4c 4f 4e 47 2c mSTATSTG, ULONG,
cf40: 20 53 54 41 54 53 54 47 2a 2c 20 55 4c 4f 4e 47 STATSTG*, ULONG
cf50: 2a 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 53 74 *);..HRESULT ISt
cf60: 6f 72 61 67 65 5f 4f 70 65 6e 53 74 72 65 61 6d orage_OpenStream
cf70: 5f 50 72 6f 78 79 28 49 53 74 6f 72 61 67 65 2c _Proxy(IStorage,
cf80: 20 4f 4c 45 43 48 41 52 2a 2c 20 76 6f 69 64 2a OLECHAR*, void*
cf90: 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 , DWORD, DWORD,
cfa0: 49 53 74 72 65 61 6d 2a 29 3b 0d 0a 48 52 45 53 IStream*);..HRES
cfb0: 55 4c 54 20 49 53 74 6f 72 61 67 65 5f 4f 70 65 ULT IStorage_Ope
cfc0: 6e 53 74 72 65 61 6d 5f 53 74 75 62 28 49 53 74 nStream_Stub(ISt
cfd0: 6f 72 61 67 65 2c 20 4f 4c 45 43 48 41 52 2a 2c orage, OLECHAR*,
cfe0: 20 75 69 6e 74 2c 20 42 59 54 45 2a 2c 20 44 57 uint, BYTE*, DW
cff0: 4f 52 44 2c 20 44 57 4f 52 44 2c 20 49 53 74 72 ORD, DWORD, IStr
d000: 65 61 6d 2a 20 29 3b 0d 0a 48 52 45 53 55 4c 54 eam* );..HRESULT
d010: 20 49 53 74 6f 72 61 67 65 5f 45 6e 75 6d 45 6c IStorage_EnumEl
d020: 65 6d 65 6e 74 73 5f 50 72 6f 78 79 28 49 53 74 ements_Proxy(ISt
d030: 6f 72 61 67 65 2c 20 44 57 4f 52 44 2c 20 76 6f orage, DWORD, vo
d040: 69 64 2a 2c 20 44 57 4f 52 44 2c 20 49 45 6e 75 id*, DWORD, IEnu
d050: 6d 53 54 41 54 53 54 47 2a 29 3b 0d 0a 48 52 45 mSTATSTG*);..HRE
d060: 53 55 4c 54 20 49 53 74 6f 72 61 67 65 5f 45 6e SULT IStorage_En
d070: 75 6d 45 6c 65 6d 65 6e 74 73 5f 53 74 75 62 28 umElements_Stub(
d080: 49 53 74 6f 72 61 67 65 2c 20 44 57 4f 52 44 2c IStorage, DWORD,
d090: 20 75 69 6e 74 2c 20 42 59 54 45 2a 2c 20 44 57 uint, BYTE*, DW
d0a0: 4f 52 44 2c 20 49 45 6e 75 6d 53 54 41 54 53 54 ORD, IEnumSTATST
d0b0: 47 2a 29 3b 0d 0a 48 52 45 53 55 4c 54 20 49 4c G*);..HRESULT IL
d0c0: 6f 63 6b 42 79 74 65 73 5f 52 65 61 64 41 74 5f ockBytes_ReadAt_
d0d0: 50 72 6f 78 79 28 49 4c 6f 63 6b 42 79 74 65 73 Proxy(ILockBytes
d0e0: 2c 20 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 , ULARGE_INTEGER
d0f0: 2c 20 76 6f 69 64 2a 2c 20 55 4c 4f 4e 47 2c 20 , void*, ULONG,
d100: 55 4c 4f 4e 47 2a 29 3b 0d 0a 48 52 45 53 55 4c ULONG*);..HRESUL
d110: 54 20 49 4c 6f 63 6b 42 79 74 65 73 5f 52 65 61 T ILockBytes_Rea
d120: 64 41 74 5f 53 74 75 62 28 49 4c 6f 63 6b 42 79 dAt_Stub(ILockBy
d130: 74 65 73 2c 20 55 4c 41 52 47 45 5f 49 4e 54 45 tes, ULARGE_INTE
d140: 47 45 52 2c 20 42 59 54 45 2a 2c 20 55 4c 4f 4e GER, BYTE*, ULON
d150: 47 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 48 52 45 G, ULONG*);..HRE
d160: 53 55 4c 54 20 49 4c 6f 63 6b 42 79 74 65 73 5f SULT ILockBytes_
d170: 57 72 69 74 65 41 74 5f 50 72 6f 78 79 28 49 4c WriteAt_Proxy(IL
d180: 6f 63 6b 42 79 74 65 73 2c 20 55 4c 41 52 47 45 ockBytes, ULARGE
d190: 5f 49 4e 54 45 47 45 52 2c 20 63 6f 6e 73 74 28 _INTEGER, const(
d1a0: 76 6f 69 64 29 2a 2c 20 55 4c 4f 4e 47 2c 20 55 void)*, ULONG, U
d1b0: 4c 4f 4e 47 2a 29 3b 0d 0a 48 52 45 53 55 4c 54 LONG*);..HRESULT
d1c0: 20 49 4c 6f 63 6b 42 79 74 65 73 5f 57 72 69 74 ILockBytes_Writ
d1d0: 65 41 74 5f 53 74 75 62 28 49 4c 6f 63 6b 42 79 eAt_Stub(ILockBy
d1e0: 74 65 73 2c 20 55 4c 41 52 47 45 5f 49 4e 54 45 tes, ULARGE_INTE
d1f0: 47 45 52 2c 20 42 59 54 45 2a 2c 20 55 4c 4f 4e GER, BYTE*, ULON
d200: 47 2c 20 55 4c 4f 4e 47 2a 29 3b 0d 0a 7d 0d 0a G, ULONG*);..}..
d210: 2b 2f 0d 0a +/..