Changeset 285 for Include/objidl.sbp
- Timestamp:
- Jul 26, 2007, 5:43:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/objidl.sbp
r223 r285 4 4 TypeDef SNB = **OLECHAR 5 5 6 ' IMarshal 6 Type COSERVERINFO 7 dwReserved1 As DWord 8 pwszName As LPWSTR 9 pAuthInfo As *COAUTHINFO 10 dwReserved2 As DWord 11 End Type 12 13 /* interface IMarshal */ 14 /* [uuid][object][local] */ 15 16 TypeDef LPMARSHAL = /* [unique] */ *IMarshal 17 18 Dim IID_IMarshal = [&h00000003, 0, 0, [&hC0, 0, 0, 0, 0, 0, 0, &h46]] As IID 19 Interface IMarshal 20 Inherits IUnknown 21 22 Function GetUnmarshalClass( 23 /* [in] */ ByRef iid As IID, 24 /* [unique][in] */ pv As VoidPtr, 25 /* [in] */ dwDestContext As DWord, 26 /* [unique][in] */ pvDestContext As VoidPtr, 27 /* [in] */ mshlflags As DWord, 28 /* [out] */ ByRef Cid As CLSID) As HRESULT 29 Function GetMarshalSizeMax( 30 /* [in] */ ByRef iid As IID, 31 /* [unique][in] */ pv As VoidPtr, 32 /* [in] */ dwDestContext As DWord, 33 /* [unique][in] */ pvDestContext As VoidPtr, 34 /* [in] */ mshlflags As DWord, 35 /* [out] */ ByRef Size As DWord) As HRESULT 36 Function MarshalInterface( 37 /* [unique][in] */ pStm As IStream, 38 /* [in] */ ByRef iid As IID, 39 /* [unique][in] */ pv As VoidPtr, 40 /* [in] */ dwDestContext As DWord, 41 /* [unique][in] */ pvDestContext As VoidPtr, 42 /* [in] */ mshlflags As DWord) As HRESULT 43 Function UnmarshalInterface( 44 /* [unique][in] */ pStm As IStream, 45 /* [in] */ ByRef iid As IID, 46 /* [out] */ ByRef ppv As VoidPtr) As HRESULT 47 Function ReleaseMarshalData( 48 /* [unique][in] */ pStm As *IStream) As HRESULT 49 Function DisconnectObject( 50 /* [in] */ dwReserved As DWord) As HRESULT 51 End Interface 7 52 8 53 ' IMarshal2 9 54 55 Dim IID_IMalloc = [&h00000002, 0, 0, [&hC0, 0, 0, 0, 0, 0, 0, &h46]] As IID 10 56 Interface IMalloc 11 57 Inherits IUnknown 12 58 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) 59 Function Alloc( 60 /* [in] */ cb As SIZE_T) As VoidPtr 61 Function Realloc( 62 /* [in] */ pv As VoidPtr, 63 /* [in] */ cb As SIZE_T) As VoidPtr 64 Sub Free( 65 /* [in] */ pv As VoidPtr) 16 66 Function GetSize(pv As VoidPtr) As SIZE_T 17 67 Function DidAlloc(pv As VoidPtr) As Long … … 67 117 End Type 68 118 119 Type BIND_OPTS3 120 ' Inherits BIND_OPTS 121 cbStruct As DWord 122 grfFlags As DWord 123 grfMode As DWord 124 dwTickCountDeadline As DWord 125 126 dwTrackFlags As DWord 127 dwClassContext As DWord 128 locale As LCID 129 pServerInfo As *COSERVERINFO 130 131 hwnd As HWND 132 End Type 133 134 Const Enum BIND_FLAGS 135 BIND_MAYBOTHERUSER 136 BIND_JUSTTESTEXISTENCE 137 End Enum 138 139 Dim IID_IBindCtx = [&h0000000E, 0, 0, [&hC0, 0, 0, 0, 0, 0, 0, &h46]] As IID 69 140 Interface IBindCtx 70 141 Inherits IUnknown 142 143 Function RegisterObjectBound( 144 /* [unique][in] */ punk As IUnknown) As HRESULT 145 Function RevokeObjectBound( 146 /* [unique][in] */ punk As IUnknown) As HRESULT 147 Function ReleaseBoundObjects() As HRESULT 148 /* [local] */ Function SetBindOptions( 149 /* [in] */ ByRef bindopts As BIND_OPTS) As HRESULT 150 /* [local] */ Function GetBindOptions( 151 /* [out][in] */ ByRef bindopts As BIND_OPTS) As HRESULT 152 Function GetRunningObjectTable( 153 /* [out] */ ByRef rot As IRunningObjectTable) As HRESULT 154 Function RegisterObjectParam( 155 /* [in] */ pszKey As LPOLESTR, 156 /* [unique][in] */ unk As IUnknown) As HRESULT 157 Function GetObjectParam( 158 /* [in] */ pszKey As LPOLESTR, 159 /* [out] */ ByRef unk As IUnknown) As HRESULT 160 Function EnumObjectParam( 161 /* [out] */ ByRef enumstr As IEnumString) As HRESULT 162 Function RevokeObjectParam( 163 /* [in] */ pszKey As LPOLESTR) As HRESULT 71 164 End Interface 72 165 … … 92 185 93 186 Function Load( 94 /* [unique][in] */ pStm As *IStream) As HRESULT187 /* [unique][in] */ Stm As IStream) As HRESULT 95 188 96 189 Function Save( 97 /* [unique][in] */ pStm As *IStream,190 /* [unique][in] */ Stm As IStream, 98 191 /* [in] */ fClearDirty As BOOL) As HRESULT 99 192 … … 106 199 End Interface 107 200 108 ' IEnumString 201 Dim IID_IEnumString = [&h00000101, 0, 0, [&hC0, 0, 0, 0, 0, 0, 0, &h46]] As IID 202 Interface IEnumString 203 Inherits IUnknown 204 205 /* [local] */ Function Next_( 206 /* [in] */ celt As DWord, 207 /* [length_is][size_is][out] */ ByRef rgelt As LPOLESTR, 208 /* [out] */ ByRef celtFetched As DWord) As HRESULT 209 Function Skip( 210 /* [in] */ celt As DWord) As HRESULT 211 Function Reset() As HRESULT 212 Function Clone( 213 /* [out] */ ByRef enumstr As IEnumString) As HRESULT 214 End Interface 109 215 110 216 Dim IID_ISequentialStream = [&h0c733a30, &h2a1c, &h11ce, [&had, &he5, &h00, &haa, &h00, &h44, &h77, &h3d]] As IID … … 112 218 Inherits IUnknown 113 219 114 Function Read(pv As VoidPtr, cb As DWord, pcbRead As *DWord) As HRESULT115 Function Write(pv As VoidPtr, cb As DWord, pcbWritten As *DWord) As HRESULT220 Function Read(pv As VoidPtr, cb As DWord, ByRef cbRead As DWord) As HRESULT 221 Function Write(pv As VoidPtr, cb As DWord, ByRef cbWritten As DWord) As HRESULT 116 222 End Interface 117 223 … … 161 267 Function UnlockRegion(libOffset As ULARGE_INTEGER, cb As ULARGE_INTEGER, dwLockType As DWord) As HRESULT 162 268 Function Stat(pstatstg As *STATSTG, grfStatFlag As DWord) As HRESULT 163 Function Clone(ByRef ppstm As *IStream) As HRESULT269 Function Clone(ByRef stm As IStream) As HRESULT 164 270 End Interface 165 271 TypeDef LPSTREAM = *IStream … … 173 279 174 280 /* interface IStorage */ 175 /* [unique][uuid][object] */ 281 /* [unique][uuid][object] */ 176 282 177 283 TypeDef LPSTORAGE = /* [unique] */ *IStorage … … 197 303 /* [in] */ reserved1 As DWord, 198 304 /* [in] */ reserved2 As DWord, 199 /* [out] */ ByRef pstm As *IStream) As HRESULT305 /* [out] */ ByRef stm As IStream) As HRESULT 200 306 /* [local] */ Function OpenStream( 201 307 /* [string][in] */ pwcsName As *OLECHAR, … … 203 309 /* [in] */ grfMode As DWord, 204 310 /* [in] */ reserved2 As DWord, 205 /* [out] */ ByRef pstm As *IStream) As HRESULT311 /* [out] */ ByRef stm As IStream) As HRESULT 206 312 Function CreateStorage( 207 313 /* [string][in] */ pwcsName As *OLECHAR, … … 209 315 /* [in] */ reserved1 As DWord, 210 316 /* [in] */ reserved2 As DWord, 211 /* [out] */ ByRef pstg As *IStorage) As HRESULT317 /* [out] */ ByRef stg As IStorage) As HRESULT 212 318 Function OpenStorage( 213 319 /* [string][unique][in] */ pwcsName As *OLECHAR, … … 216 322 /* [unique][in] */ snbExclude As SNB, 217 323 /* [in] */ reserved As DWord, 218 /* [out] */ ByRef pstg As *IStorage) As HRESULT324 /* [out] */ ByRef stg As IStorage) As HRESULT 219 325 /* [local] */ Function CopyTo( 220 326 /* [in] */ ciidExclude As DWord, 221 /* [size_is][unique][in] */ ByRefrgiidExclude As * /*Const*/ IID,327 /* [size_is][unique][in] */ rgiidExclude As * /*Const*/ IID, 222 328 /* [unique][in] */ snbExclude As SNB, 223 /* [unique][in] */ pstgDest As *IStorage) As HRESULT329 /* [unique][in] */ stgDest As IStorage) As HRESULT 224 330 Function MoveElementTo( 225 331 /* [string][in] */ pwcsName As *OLECHAR, 226 /* [unique][in] */ pstgDest As *IStorage,332 /* [unique][in] */ stgDest As IStorage, 227 333 /* [string][in] */ pwcsNewName As *OLECHAR, 228 334 /* [in] */ grfFlags As DWord) As HRESULT … … 234 340 /* [size_is][unique][in] */ reserved2 As VoidPtr, 235 341 /* [in] */ reserved3 As DWord, 236 /* [out] */ ByRef penum As *IEnumSTATSTG) As HRESULT342 /* [out] */ ByRef enum_ As IEnumSTATSTG) As HRESULT 237 343 Function DestroyElement( 238 344 /* [string][in] */ pwcsName As *OLECHAR) As HRESULT … … 241 347 /* [string][in] */ pwcsNewName As *OLECHAR) As HRESULT 242 348 Function SetElementTimes( 243 244 245 246 349 /* [string][unique][in] */ pwcsName As *OLECHAR, 350 /* [unique][in] */ ByRef ctime As /*Const*/ FILETIME, 351 /* [unique][in] */ ByRef atime As /*Const*/ FILETIME, 352 /* [unique][in] */ ByRef mtime As /*Const*/ FILETIME) As HRESULT 247 353 Function SetClass( 248 354 /* [in] */ ByRef clsid As CLSID) As HRESULT 249 355 Function SetStateBits( 250 251 356 /* [in] */ grfStateBits As DWord, 357 /* [in] */ grfMask As DWord) As HRESULT 252 358 Function Stat( 253 254 359 /* [out] */ ByRef statstg As STATSTG, 360 /* [in] */ grfStatFlag As DWord) As HRESULT 255 361 End Interface 256 362 … … 289 395 End Type 290 396 291 TypeDef CLIPFORMAT = Word292 397 TypeDef LPCLIPFORMAT = *CLIPFORMAT 293 398 … … 356 461 /* [unique][in] */ ByRef rformatetcIn As FORMATETC, 357 462 /* [out] */ ByRef rmedium As STGMEDIUM) As HRESULT 358 359 463 Function /* [local] */ GetDataHere( 360 464 /* [unique][in] */ ByRef rformatetcIn As FORMATETC, 361 465 /* [out] */ ByRef pmedium As STGMEDIUM) As HRESULT 362 363 466 Function QueryGetData( 364 467 /* [unique][in] */ ByRef pformatetc As FORMATETC) As HRESULT 365 366 468 Function GetCanonicalFormatEtc( 367 469 /* [unique][in] */ ByRef pformatetcIn As FORMATETC, 368 470 /* [out] */ ByRef pmedium As STGMEDIUM) As HRESULT 369 370 471 Function /* [local] */ SetData( 371 472 /* [unique][in] */ pformatetcIn As *FORMATETC, 372 473 /* [out] */ pmedium As *STGMEDIUM, 373 474 /* [in] */ fRelease As BOOL) As HRESULT 374 375 475 Function EnumFormatEtc( 376 /* [in] */ ByVal dwDirection As DWord, 377 /* [out] */ ByRef rpenumFormatEtc As *IEnumFORMATETC) As HRESULT 378 476 /* [in] */ dwDirection As DWord, 477 /* [out] */ ByRef rpenumFormatEtc As IEnumFORMATETC) As HRESULT 379 478 Function DAdvise( 380 479 /* [in] */ ByRef pformatetc As FORMATETC, 381 /* [in] */ ByVal advf As DWord, 382 /* [unique][in] */ ByVal pAdvSink As *IAdviseSink, 383 /* [out] */ ByVal pdwConnection As *DWord) As HRESULT 384 480 /* [in] */ advf As DWord, 481 /* [unique][in] */ pAdvSink As IAdviseSink, 482 /* [out] */ pdwConnection As *DWord) As HRESULT 385 483 Function DUnadvise( 386 /* [in] */ ByVal dwConnection As DWord) As HRESULT 387 484 /* [in] */ dwConnection As DWord) As HRESULT 388 485 Function EnumDAdvise( 389 /* [out] */ ByRef rpenumAdvise As *IEnumSTATDATA) As HRESULT486 /* [out] */ ByRef rpenumAdvise As IEnumSTATDATA) As HRESULT 390 487 End Interface 391 488
Note:
See TracChangeset
for help on using the changeset viewer.