Changeset 160 for Include/objidl.sbp


Ignore:
Timestamp:
Mar 13, 2007, 1:13:06 AM (18 years ago)
Author:
イグトランス (egtra)
Message:

API宣言の追加(主にフォーラムに投稿されたものより)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/objidl.sbp

    r1 r160  
    44TypeDef SNB = **OLECHAR
    55
    6 Class ISequentialStream
    7     Inherits IUnknown
    8 Public
    9     Abstract Function Read(pv As VoidPtr, cb As DWord, pcbRead As *DWord) As HRESULT
    10     Abstract Function Write(pv As VoidPtr, cb As DWord, pcbWritten As *DWord) As HRESULT
    11 End Class
    12 
    13 Class IStream
    14     Inherits ISequentialStream
    15 Public
    16     Abstract Function Seek(dlibMove_LowPart As DWord, dlibMove_HighPart As Long, dwOrigin As DWord, plibNewPosition As *ULARGE_INTEGER) As HRESULT
    17     Abstract Function SetSize(libNewSize_LowPart As DWord, libNewSize_HighPart As DWord) As HRESULT
    18     Abstract Function CopyTo(pstm As *IStream, cb_LowPart As DWord, cb_HighPart As DWord, pcbRead As *ULARGE_INTEGER, pcbWritten As *ULARGE_INTEGER) As HRESULT
    19     Abstract Function Commit(grfCommitFlags As DWord) As HRESULT
    20     Abstract Function Revert() As HRESULT
    21     Abstract Function LockRegion(libOffset_LowPart As DWord, libOffset_HighPart As DWord, cb_LowPart As DWord, cb_HighPart As DWord, dwLockType As DWord) As HRESULT
    22     Abstract Function UnlockRegion(libOffset_LowPart As DWord, libOffset_HighPart As DWord, cb_LowPart As DWord, cb_HighPart As DWord, dwLockType As DWord) As HRESULT
    23     Abstract Function Stat(pstatstg As *STATSTG, grfStatFlag As DWord) As HRESULT
    24     Abstract Function Clone(ByRef ppstm As *IStream) As HRESULT
    25 End Class
    26 TypeDef LPSTREAM = *IStream
    27 
    28 Interface IMessageFilter
    29     Inherits IUnknown
    30 End Interface
    31 
    32 Interface IStorage
    33     Inherits IUnknown
    34 End Interface
    35 
    36 Interface ILockBytes
    37     Inherits IUnknown
    38 End Interface
    39 
    40 Interface IFillLockBytes
    41     Inherits IUnknown
    42 End Interface
    43 
    44 Interface IMoniker
    45     Inherits IUnknown
    46 End Interface
    47 
    48 Interface IBindCtx
    49     Inherits IUnknown
    50 End Interface
    51 
    52 Interface IRunningObjectTable
    53     Inherits IUnknown
    54 End Interface
    55 
    56 Interface IDataAdviseHolder
    57     Inherits IUnknown
    58 End Interface
    59 
    60 Class IMalloc
    61     Inherits IUnknown
    62 Public
    63     Abstract Function Alloc(cb As SIZE_T) As VoidPtr
    64     Abstract Function Realloc(pv As VoidPtr, cb As SIZE_T) As VoidPtr
    65     Abstract Sub Free(pv As VoidPtr)
    66     Abstract Function GetSize(pv As VoidPtr) As SIZE_T
    67     Abstract Function DidAlloc(pv As VoidPtr) As Long
    68     Abstract Sub HeapMinimize()
    69 End Class
    70 
    71 Class BIND_OPTS
    72 Public
     6' IMarshal
     7
     8' IMarshal2
     9
     10Interface 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()
     19End Interface
     20
     21' IMallocSpy
     22
     23' IStdMarshalInfo
     24
     25' IExternalCennection
     26
     27' IMultiQI
     28
     29' AsyncIMultiQI
     30
     31' IInternalUnknown
     32
     33' IEnumUnknown
     34
     35Type BIND_OPTS
    7336    cbStruct As DWord
    7437    grfFlags As DWord
    7538    grfMode As DWord
    7639    dwTickCountDeadline As DWord
    77 End Class
    78 
    79 Class BIND_OPTS2
    80     Inherits BIND_OPTS
    81 Public
     40End Type
     41
     42Type BIND_OPTS2
     43'   Inherits BIND_OPTS
     44    cbStruct As DWord
     45    grfFlags As DWord
     46    grfMode As DWord
     47    dwTickCountDeadline As DWord
     48
    8249    dwTrackFlags As DWord
    8350    dwClassContext As DWord
    8451    locale As LCID
    8552    pServerInfo As *COSERVERINFO
    86 End Class
    87 
     53End Type
     54
     55Interface IBindCtx
     56    Inherits IUnknown
     57End Interface
     58
     59' IEnumMoniker
     60
     61Interface IRunningObjectTable
     62    Inherits IUnknown
     63End Interface
     64
     65Dim IID_IPersist = [&h0000010c, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID
     66Interface IPersist
     67    Inherits IUnknown
     68
     69    Function GetClassID(
     70        /* [out] */ ByRef ClassID As CLSID) As HRESULT
     71End Interface
     72
     73Dim IID_IPersistStream = [&h00000109, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID
     74Interface 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
     88End Interface
     89
     90Interface IMoniker
     91    Inherits IPersistStream
     92End Interface
     93
     94' IEnumString
     95
     96Dim IID_ISequentialStream = [&h0c733a30, &h2a1c, &h11ce, [&had, &he5, &h00, &haa, &h00, &h44, &h77, &h3d]] As IID
     97Interface 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
     102End Interface
     103
     104Type 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
     116End Type
     117
     118Enum STGTY
     119    STGTY_STORAGE = 1
     120    STGTY_STREAM = 2
     121    STGTY_LOCKBYTES = 3
     122    STGTY_PROPERTY = 4
     123End Enum
     124
     125Enum STREAM_SEEK
     126    STREAM_SEEK_SET = 0
     127    STREAM_SEEK_CUR = 1
     128    STREAM_SEEK_END = 2
     129End Enum
     130
     131Enum LOCKTYPE
     132    LOCK_WRITE = 1
     133    LOCK_EXCLUSIVE = 2
     134    LOCK_ONLYONCE = 4
     135End Enum
     136
     137Dim IID_IStream = [&h0000000c, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID
     138Interface 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
     150End Interface
     151TypeDef LPSTREAM = *IStream
     152
     153' IEnumSTATSTG
     154
     155Interface IStorage
     156    Inherits IUnknown
     157End Interface
     158
     159Interface 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
     177End Interface
     178
     179
     180' IPersistStrage
     181
     182Interface ILockBytes
     183    Inherits IUnknown
     184End Interface
     185
     186Type 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
     193End Type
     194
     195TypeDef CLIPFORMAT = Word
     196TypeDef LPCLIPFORMAT = *CLIPFORMAT
     197
     198Type FORMATETC
     199    cfFormat As CLIPFORMAT
     200    ptd As *DVTARGETDEVICE
     201    dwAspect As DWord
     202    lindex As Long
     203    tymed As DWord
     204End Type
     205
     206TypeDef LPFORMATETC = *FORMATETC
     207
     208Interface IEnumFORMATETC
     209    Inherits IUnknown
     210End Interface
     211
     212Interface IEnumSTATDATA
     213    Inherits IUnknown
     214End Interface
     215
     216' IRootStorage
     217
     218Enum /*[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
     227End Enum
     228
     229Type 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
     244End Type
     245
     246Interface IAdviseSink
     247    Inherits IUnknown
     248End Interface
     249
     250' AsyncIAdviseSink
     251
     252' IAdviseSink2
     253
     254' AsyncIAdviseSink2
     255
     256Interface 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
     294End Interface
     295
     296Interface IDataAdviseHolder
     297    Inherits IUnknown
     298End Interface
     299
     300Enum CALLTYPE
     301    CALLTYPE_TOPLEVEL = 1
     302    CALLTYPE_NESTED = 2
     303    CALLTYPE_ASYNC = 3
     304    CALLTYPE_TOPLEVEL_CALLPENDING = 4
     305    CALLTYPE_ASYNC_CALLPENDING = 5
     306End Enum
     307
     308Enum ERVERCALL
     309    SERVERCALL_ISHANDLED = 0
     310    SERVERCALL_REJECTED = 1
     311    SERVERCALL_RETRYLATER = 2
     312End Enum
     313
     314Enum PENDINGTYPE
     315    PENDINGTYPE_TOPLEVEL = 1
     316    PENDINGTYPE_NESTED = 2
     317End Enum
     318
     319Enum PENDINGMSG
     320    PENDINGMSG_CANCELCALL = 0
     321    PENDINGMSG_WAITNOPROCESS = 1
     322    PENDINGMSG_WAITDEFPROCESS = 2
     323End Enum
     324
     325Type INTERFACEINFO
     326    pUnk As *IUnknown
     327    iid As IID
     328    wMethod As Word
     329End Type
     330TypeDef LPINTERFACEINFO = *INTERFACEINFO
     331
     332Dim IID_IMessageFilter = [&h00000016, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID
     333
     334Interface 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
     352End 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
     380Interface IFillLockBytes
     381    Inherits IUnknown
     382End 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
    88461
    89462#endif'_INC_OBJIDL
Note: See TracChangeset for help on using the changeset viewer.