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