1 | #ifndef _INC_OBJIDL
|
---|
2 | #define _INC_OBJIDL
|
---|
3 |
|
---|
4 | TypeDef SNB = **OLECHAR
|
---|
5 |
|
---|
6 | ' IMarshal
|
---|
7 |
|
---|
8 | ' IMarshal2
|
---|
9 |
|
---|
10 | Interface IMalloc
|
---|
11 | Inherits IUnknown
|
---|
12 |
|
---|
13 | Function Alloc(cb As SIZE_T) As VoidPtr
|
---|
14 | Function Realloc(pv As VoidPtr, cb As SIZE_T) As VoidPtr
|
---|
15 | Sub Free(pv As VoidPtr)
|
---|
16 | Function GetSize(pv As VoidPtr) As SIZE_T
|
---|
17 | Function DidAlloc(pv As VoidPtr) As Long
|
---|
18 | Sub HeapMinimize()
|
---|
19 | End Interface
|
---|
20 |
|
---|
21 | ' IMallocSpy
|
---|
22 |
|
---|
23 | ' IStdMarshalInfo
|
---|
24 |
|
---|
25 | ' IExternalCennection
|
---|
26 |
|
---|
27 | ' IMultiQI
|
---|
28 |
|
---|
29 | ' AsyncIMultiQI
|
---|
30 |
|
---|
31 | ' IInternalUnknown
|
---|
32 |
|
---|
33 | ' IEnumUnknown
|
---|
34 |
|
---|
35 | Type BIND_OPTS
|
---|
36 | cbStruct As DWord
|
---|
37 | grfFlags As DWord
|
---|
38 | grfMode As DWord
|
---|
39 | dwTickCountDeadline As DWord
|
---|
40 | End Type
|
---|
41 |
|
---|
42 | Type BIND_OPTS2
|
---|
43 | ' Inherits BIND_OPTS
|
---|
44 | cbStruct As DWord
|
---|
45 | grfFlags As DWord
|
---|
46 | grfMode As DWord
|
---|
47 | dwTickCountDeadline As DWord
|
---|
48 |
|
---|
49 | dwTrackFlags As DWord
|
---|
50 | dwClassContext As DWord
|
---|
51 | locale As LCID
|
---|
52 | pServerInfo As *COSERVERINFO
|
---|
53 | End Type
|
---|
54 |
|
---|
55 | Interface IBindCtx
|
---|
56 | Inherits IUnknown
|
---|
57 | End Interface
|
---|
58 |
|
---|
59 | ' IEnumMoniker
|
---|
60 |
|
---|
61 | Interface IRunningObjectTable
|
---|
62 | Inherits IUnknown
|
---|
63 | End Interface
|
---|
64 |
|
---|
65 | Dim IID_IPersist = [&h0000010c, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID
|
---|
66 | Interface IPersist
|
---|
67 | Inherits IUnknown
|
---|
68 |
|
---|
69 | Function GetClassID(
|
---|
70 | /* [out] */ ByRef ClassID As CLSID) As HRESULT
|
---|
71 | End Interface
|
---|
72 |
|
---|
73 | Dim IID_IPersistStream = [&h00000109, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID
|
---|
74 | Interface IPersistStream
|
---|
75 | Inherits IPersist
|
---|
76 |
|
---|
77 | Function IsDirty() As HRESULT
|
---|
78 |
|
---|
79 | Function Load(
|
---|
80 | /* [unique][in] */ pStm As *IStream) As HRESULT
|
---|
81 |
|
---|
82 | Function Save(
|
---|
83 | /* [unique][in] */ pStm As *IStream,
|
---|
84 | /* [in] */ fClearDirty As BOOL) As HRESULT
|
---|
85 |
|
---|
86 | Function GetSizeMax(
|
---|
87 | /* [out] */ ByRef cbSize As ULARGE_INTEGER) As HRESULT
|
---|
88 | End Interface
|
---|
89 |
|
---|
90 | Interface IMoniker
|
---|
91 | Inherits IPersistStream
|
---|
92 | End Interface
|
---|
93 |
|
---|
94 | ' IEnumString
|
---|
95 |
|
---|
96 | Dim IID_ISequentialStream = [&h0c733a30, &h2a1c, &h11ce, [&had, &he5, &h00, &haa, &h00, &h44, &h77, &h3d]] As IID
|
---|
97 | Interface ISequentialStream
|
---|
98 | Inherits IUnknown
|
---|
99 |
|
---|
100 | Function Read(pv As VoidPtr, cb As DWord, pcbRead As *DWord) As HRESULT
|
---|
101 | Function Write(pv As VoidPtr, cb As DWord, pcbWritten As *DWord) As HRESULT
|
---|
102 | End Interface
|
---|
103 |
|
---|
104 | Type STATSTG
|
---|
105 | pwcsName As LPOLESTR
|
---|
106 | type_ As DWord
|
---|
107 | cbSize As ULARGE_INTEGER
|
---|
108 | mtime As FILETIME
|
---|
109 | ctime As FILETIME
|
---|
110 | atime As FILETIME
|
---|
111 | grfMode As DWord
|
---|
112 | grfLocksSupported As DWord
|
---|
113 | clsid As CLSID
|
---|
114 | grfStateBits As DWord
|
---|
115 | reserved As DWord
|
---|
116 | End Type
|
---|
117 |
|
---|
118 | Enum STGTY
|
---|
119 | STGTY_STORAGE = 1
|
---|
120 | STGTY_STREAM = 2
|
---|
121 | STGTY_LOCKBYTES = 3
|
---|
122 | STGTY_PROPERTY = 4
|
---|
123 | End Enum
|
---|
124 |
|
---|
125 | Enum STREAM_SEEK
|
---|
126 | STREAM_SEEK_SET = 0
|
---|
127 | STREAM_SEEK_CUR = 1
|
---|
128 | STREAM_SEEK_END = 2
|
---|
129 | End Enum
|
---|
130 |
|
---|
131 | Enum LOCKTYPE
|
---|
132 | LOCK_WRITE = 1
|
---|
133 | LOCK_EXCLUSIVE = 2
|
---|
134 | LOCK_ONLYONCE = 4
|
---|
135 | End Enum
|
---|
136 |
|
---|
137 | Dim IID_IStream = [&h0000000c, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID
|
---|
138 | Interface IStream
|
---|
139 | Inherits ISequentialStream
|
---|
140 |
|
---|
141 | Function Seek(dlibMove As LARGE_INTEGER, dwOrigin As DWord, plibNewPosition As *ULARGE_INTEGER) As HRESULT
|
---|
142 | Function SetSize(libNewSize As ULARGE_INTEGER) As HRESULT
|
---|
143 | Function CopyTo(pstm As *IStream, cb As ULARGE_INTEGER, pcbRead As *ULARGE_INTEGER, pcbWritten As *ULARGE_INTEGER) As HRESULT
|
---|
144 | Function Commit(grfCommitFlags As DWord) As HRESULT
|
---|
145 | Function Revert() As HRESULT
|
---|
146 | Function LockRegion(libOffset As ULARGE_INTEGER, cb As ULARGE_INTEGER, dwLockType As DWord) As HRESULT
|
---|
147 | Function UnlockRegion(libOffset As ULARGE_INTEGER, cb As ULARGE_INTEGER, dwLockType As DWord) As HRESULT
|
---|
148 | Function Stat(pstatstg As *STATSTG, grfStatFlag As DWord) As HRESULT
|
---|
149 | Function Clone(ByRef ppstm As *IStream) As HRESULT
|
---|
150 | End Interface
|
---|
151 | TypeDef LPSTREAM = *IStream
|
---|
152 |
|
---|
153 | ' IEnumSTATSTG
|
---|
154 |
|
---|
155 | Interface IStorage
|
---|
156 | Inherits IUnknown
|
---|
157 | End Interface
|
---|
158 |
|
---|
159 | Interface IPersistFile
|
---|
160 | Inherits IPersist
|
---|
161 |
|
---|
162 | Function IsDirty() As HRESULT
|
---|
163 |
|
---|
164 | Function Load(
|
---|
165 | /* [in] */ pszFileName As LPCOLESTR,
|
---|
166 | /* [in] */ dwMode As DWord) As HRESULT
|
---|
167 |
|
---|
168 | Function Save(
|
---|
169 | /* [unique][in] */ pszFileName As LPCOLESTR,
|
---|
170 | /* [in] */ fRemember As BOOL) As HRESULT
|
---|
171 |
|
---|
172 | Function SaveCompleted(
|
---|
173 | /* [unique][in] */ pszFileName As LPCOLESTR) As HRESULT
|
---|
174 |
|
---|
175 | Function GetCurFile(
|
---|
176 | /* [out] */ ByRef pszFileName As LPOLESTR) As HRESULT
|
---|
177 | End Interface
|
---|
178 |
|
---|
179 |
|
---|
180 | ' IPersistStrage
|
---|
181 |
|
---|
182 | Interface ILockBytes
|
---|
183 | Inherits IUnknown
|
---|
184 | End Interface
|
---|
185 |
|
---|
186 | Type DVTARGETDEVICE
|
---|
187 | tdSize As DWord
|
---|
188 | tdDriverNameOffset As Word
|
---|
189 | tdDeviceNameOffset As Word
|
---|
190 | tdPortNameOffset As Word
|
---|
191 | tdExtDevmodeOffset As Word
|
---|
192 | tdData[ELM(1)] As Byte
|
---|
193 | End Type
|
---|
194 |
|
---|
195 | TypeDef CLIPFORMAT = Word
|
---|
196 | TypeDef LPCLIPFORMAT = *CLIPFORMAT
|
---|
197 |
|
---|
198 | Type FORMATETC
|
---|
199 | cfFormat As CLIPFORMAT
|
---|
200 | ptd As *DVTARGETDEVICE
|
---|
201 | dwAspect As DWord
|
---|
202 | lindex As Long
|
---|
203 | tymed As DWord
|
---|
204 | End Type
|
---|
205 |
|
---|
206 | TypeDef LPFORMATETC = *FORMATETC
|
---|
207 |
|
---|
208 | Interface IEnumFORMATETC
|
---|
209 | Inherits IUnknown
|
---|
210 | End Interface
|
---|
211 |
|
---|
212 | Interface IEnumSTATDATA
|
---|
213 | Inherits IUnknown
|
---|
214 | End Interface
|
---|
215 |
|
---|
216 | ' IRootStorage
|
---|
217 |
|
---|
218 | Enum /*[transmit_as(long)]*/ TYMED
|
---|
219 | TYMED_HGLOBAL = 1
|
---|
220 | TYMED_FILE = 2
|
---|
221 | TYMED_ISTREAM = 4
|
---|
222 | TYMED_ISTORAGE = 8
|
---|
223 | TYMED_GDI = 16
|
---|
224 | TYMED_MFPICT = 32
|
---|
225 | TYMED_ENHMF = 64
|
---|
226 | TYMED_NULL = 0
|
---|
227 | End Enum
|
---|
228 |
|
---|
229 | Type STGMEDIUM
|
---|
230 | tymed As DWord
|
---|
231 | data As VoidPtr
|
---|
232 | ' /* [switch_type(DWORD), switch_is((DWORD) tymed)] */
|
---|
233 | ' Union
|
---|
234 | ' /*[case(TYMED_GDI)]*/ hBitmap As HBITMAP
|
---|
235 | ' /*[case(TYMED_MFPICT)]*/ hMetaFilePict As HMETAFILEPICT
|
---|
236 | ' /*[case(TYMED_ENHMF)]*/ hEnhMetaFile As HENHMETAFILE
|
---|
237 | ' /*[case(TYMED_HGLOBAL)]*/ hGlobal As HGLOBAL
|
---|
238 | ' /*[case(TYMED_FILE)]*/ lpszFileName As LPWSTR
|
---|
239 | ' /*[case(TYMED_ISTREAM)]*/ pstm As *IStream
|
---|
240 | ' /*[case(TYMED_ISTORAGE)]*/ pstg As *IStorage
|
---|
241 | ' /*[default]*/
|
---|
242 | ' End Union
|
---|
243 | /*[unique]*/ pUnkForRelease As *IUnknown
|
---|
244 | End Type
|
---|
245 |
|
---|
246 | Interface IAdviseSink
|
---|
247 | Inherits IUnknown
|
---|
248 | End Interface
|
---|
249 |
|
---|
250 | ' AsyncIAdviseSink
|
---|
251 |
|
---|
252 | ' IAdviseSink2
|
---|
253 |
|
---|
254 | ' AsyncIAdviseSink2
|
---|
255 |
|
---|
256 | Interface IDataObject
|
---|
257 | Inherits IUnknown
|
---|
258 |
|
---|
259 | Function /* [local] */ GetData(
|
---|
260 | /* [unique][in] */ ByRef rformatetcIn As FORMATETC,
|
---|
261 | /* [out] */ ByRef rmedium As STGMEDIUM) As HRESULT
|
---|
262 |
|
---|
263 | Function /* [local] */ GetDataHere(
|
---|
264 | /* [unique][in] */ ByRef rformatetcIn As FORMATETC,
|
---|
265 | /* [out] */ ByRef pmedium As STGMEDIUM) As HRESULT
|
---|
266 |
|
---|
267 | Function QueryGetData(
|
---|
268 | /* [unique][in] */ ByRef pformatetc As FORMATETC) As HRESULT
|
---|
269 |
|
---|
270 | Function GetCanonicalFormatEtc(
|
---|
271 | /* [unique][in] */ ByRef pformatetcIn As FORMATETC,
|
---|
272 | /* [out] */ ByRef pmedium As STGMEDIUM) As HRESULT
|
---|
273 |
|
---|
274 | Function /* [local] */ SetData(
|
---|
275 | /* [unique][in] */ pformatetcIn As *FORMATETC,
|
---|
276 | /* [out] */ pmedium As *STGMEDIUM,
|
---|
277 | /* [in] */ fRelease As BOOL) As HRESULT
|
---|
278 |
|
---|
279 | Function EnumFormatEtc(
|
---|
280 | /* [in] */ ByVal dwDirection As DWord,
|
---|
281 | /* [out] */ ByRef rpenumFormatEtc As *IEnumFORMATETC) As HRESULT
|
---|
282 |
|
---|
283 | Function DAdvise(
|
---|
284 | /* [in] */ ByRef pformatetc As FORMATETC,
|
---|
285 | /* [in] */ ByVal advf As DWORD,
|
---|
286 | /* [unique][in] */ ByVal pAdvSink As *IAdviseSink,
|
---|
287 | /* [out] */ ByVal pdwConnection As *DWord) As HRESULT
|
---|
288 |
|
---|
289 | Function DUnadvise(
|
---|
290 | /* [in] */ ByVal dwConnection As DWord) As HRESULT
|
---|
291 |
|
---|
292 | Function EnumDAdvise(
|
---|
293 | /* [out] */ ByRef rpenumAdvise As *IEnumSTATDATA) As HRESULT
|
---|
294 | End Interface
|
---|
295 |
|
---|
296 | Interface IDataAdviseHolder
|
---|
297 | Inherits IUnknown
|
---|
298 | End Interface
|
---|
299 |
|
---|
300 | Enum CALLTYPE
|
---|
301 | CALLTYPE_TOPLEVEL = 1
|
---|
302 | CALLTYPE_NESTED = 2
|
---|
303 | CALLTYPE_ASYNC = 3
|
---|
304 | CALLTYPE_TOPLEVEL_CALLPENDING = 4
|
---|
305 | CALLTYPE_ASYNC_CALLPENDING = 5
|
---|
306 | End Enum
|
---|
307 |
|
---|
308 | Enum ERVERCALL
|
---|
309 | SERVERCALL_ISHANDLED = 0
|
---|
310 | SERVERCALL_REJECTED = 1
|
---|
311 | SERVERCALL_RETRYLATER = 2
|
---|
312 | End Enum
|
---|
313 |
|
---|
314 | Enum PENDINGTYPE
|
---|
315 | PENDINGTYPE_TOPLEVEL = 1
|
---|
316 | PENDINGTYPE_NESTED = 2
|
---|
317 | End Enum
|
---|
318 |
|
---|
319 | Enum PENDINGMSG
|
---|
320 | PENDINGMSG_CANCELCALL = 0
|
---|
321 | PENDINGMSG_WAITNOPROCESS = 1
|
---|
322 | PENDINGMSG_WAITDEFPROCESS = 2
|
---|
323 | End Enum
|
---|
324 |
|
---|
325 | Type INTERFACEINFO
|
---|
326 | pUnk As *IUnknown
|
---|
327 | iid As IID
|
---|
328 | wMethod As Word
|
---|
329 | End Type
|
---|
330 | TypeDef LPINTERFACEINFO = *INTERFACEINFO
|
---|
331 |
|
---|
332 | Dim IID_IMessageFilter = [&h00000016, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID
|
---|
333 |
|
---|
334 | Interface IMessageFilter
|
---|
335 | Inherits IUnknown
|
---|
336 |
|
---|
337 | Function HandleInComingCall(
|
---|
338 | /* [in] */ dwCallType As DWord,
|
---|
339 | /* [in] */ htaskCaller As HTASK,
|
---|
340 | /* [in] */ dwTickCount As DWord,
|
---|
341 | /* [in] */ lpInterfaceInfo As LPINTERFACEINFO) As DWord
|
---|
342 |
|
---|
343 | Function RetryRejectedCall(
|
---|
344 | /* [in] */ htaskCallee As HTASK,
|
---|
345 | /* [in] */ dwTickCount As DWord,
|
---|
346 | /* [in] */ dwRejectType As DWord) As DWord
|
---|
347 |
|
---|
348 | Function MessagePending(
|
---|
349 | /* [in] */ htaskCallee As HTASK,
|
---|
350 | /* [in] */ dwTickCount As DWord,
|
---|
351 | /* [in] */ dwPendingType As DWord) As DWord
|
---|
352 | End Interface
|
---|
353 |
|
---|
354 | ' IRpcChannelBuffer
|
---|
355 |
|
---|
356 | ' IRpcChannelBuffer2
|
---|
357 |
|
---|
358 | ' IAsyncRpcChannelBuffer
|
---|
359 |
|
---|
360 | ' IRpcChannelBuffer3
|
---|
361 |
|
---|
362 | ' IRpcSyntaxNegotiate
|
---|
363 |
|
---|
364 | ' IRpcProxyBuffer
|
---|
365 |
|
---|
366 | ' IRpcStubBuffer
|
---|
367 |
|
---|
368 | ' IPSFactoryBuffer
|
---|
369 |
|
---|
370 | ' IChannelHook
|
---|
371 |
|
---|
372 | ' IClientSecurity
|
---|
373 |
|
---|
374 | ' IServerSecurity
|
---|
375 |
|
---|
376 | ' IClassActivator
|
---|
377 |
|
---|
378 | ' IRpcOptions
|
---|
379 |
|
---|
380 | Interface IFillLockBytes
|
---|
381 | Inherits IUnknown
|
---|
382 | End Interface
|
---|
383 |
|
---|
384 | ' IProgressNotify
|
---|
385 |
|
---|
386 | ' ILayoutStorage
|
---|
387 |
|
---|
388 | ' IBlockingLock
|
---|
389 |
|
---|
390 | ' ITimeAndNoticeControl
|
---|
391 |
|
---|
392 | ' IOplockStorage
|
---|
393 |
|
---|
394 | ' ISurrogate
|
---|
395 |
|
---|
396 | ' IGlobalInterfaceTable
|
---|
397 |
|
---|
398 | ' IDirectWriterLock
|
---|
399 |
|
---|
400 | ' ISynchronize
|
---|
401 |
|
---|
402 | ' ISynchronizeHandle
|
---|
403 |
|
---|
404 | ' ISynchronizeEvent
|
---|
405 |
|
---|
406 | ' ISynchronizeContainer
|
---|
407 |
|
---|
408 | ' ISynchronizeMutex
|
---|
409 |
|
---|
410 | ' ICancelMethodCalls
|
---|
411 |
|
---|
412 | ' IAsyncManager
|
---|
413 |
|
---|
414 | ' ICallFactory
|
---|
415 |
|
---|
416 | ' IRpcHelper
|
---|
417 |
|
---|
418 | ' IReleaseMarshalBuffers
|
---|
419 |
|
---|
420 | ' IWaitMultiple
|
---|
421 |
|
---|
422 | ' IUrlMon
|
---|
423 |
|
---|
424 | ' IForegroundTransfer
|
---|
425 |
|
---|
426 | ' IAddrTrackingControl
|
---|
427 |
|
---|
428 | ' IAddrExclusionControl
|
---|
429 |
|
---|
430 | ' IPipeByte
|
---|
431 |
|
---|
432 | ' AsyncIPipeByte
|
---|
433 |
|
---|
434 | ' IPipeLong
|
---|
435 |
|
---|
436 | ' AsyncIPipeLong
|
---|
437 |
|
---|
438 | ' IPipeDouble
|
---|
439 |
|
---|
440 | ' AsyncIPipeDouble
|
---|
441 |
|
---|
442 | ' IThumbnailExtractor
|
---|
443 |
|
---|
444 | ' IDummyHICONIncluder
|
---|
445 |
|
---|
446 | ' IEnumContextProps
|
---|
447 |
|
---|
448 | ' IContext
|
---|
449 |
|
---|
450 | ' IObjContext
|
---|
451 |
|
---|
452 | ' IProcessLock
|
---|
453 |
|
---|
454 | ' ISurrogateService
|
---|
455 |
|
---|
456 | ' IComThreadingInfo
|
---|
457 |
|
---|
458 | ' IProcessInitControl
|
---|
459 |
|
---|
460 | ' IInitializeSpy
|
---|
461 |
|
---|
462 | #endif'_INC_OBJIDL
|
---|