Changeset 285 for Include/objidl.sbp


Ignore:
Timestamp:
Jul 26, 2007, 5:43:54 PM (17 years ago)
Author:
イグトランス (egtra)
Message:

wtypes.abを追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/objidl.sbp

    r223 r285  
    44TypeDef SNB = **OLECHAR
    55
    6 ' IMarshal
     6Type COSERVERINFO
     7    dwReserved1 As DWord
     8    pwszName As LPWSTR
     9    pAuthInfo As *COAUTHINFO
     10    dwReserved2 As DWord
     11End Type
     12
     13/* interface IMarshal */
     14/* [uuid][object][local] */
     15
     16TypeDef LPMARSHAL = /* [unique] */ *IMarshal
     17
     18Dim IID_IMarshal = [&h00000003, 0, 0, [&hC0, 0, 0, 0, 0, 0, 0, &h46]] As IID
     19Interface 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
     51End Interface
    752
    853' IMarshal2
    954
     55Dim IID_IMalloc = [&h00000002, 0, 0, [&hC0, 0, 0, 0, 0, 0, 0, &h46]] As IID
    1056Interface IMalloc
    1157    Inherits IUnknown
    1258
    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)
    1666    Function GetSize(pv As VoidPtr) As SIZE_T
    1767    Function DidAlloc(pv As VoidPtr) As Long
     
    67117End Type
    68118
     119Type 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
     132End Type
     133
     134Const Enum BIND_FLAGS
     135    BIND_MAYBOTHERUSER
     136    BIND_JUSTTESTEXISTENCE
     137End Enum
     138
     139Dim IID_IBindCtx = [&h0000000E, 0, 0, [&hC0, 0, 0, 0, 0, 0, 0, &h46]] As IID
    69140Interface IBindCtx
    70141    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
    71164End Interface
    72165
     
    92185
    93186    Function Load(
    94         /* [unique][in] */ pStm As *IStream) As HRESULT
     187        /* [unique][in] */ Stm As IStream) As HRESULT
    95188
    96189    Function Save(
    97         /* [unique][in] */ pStm As *IStream,
     190        /* [unique][in] */ Stm As IStream,
    98191        /* [in] */ fClearDirty As BOOL) As HRESULT
    99192
     
    106199End Interface
    107200
    108 ' IEnumString
     201Dim IID_IEnumString = [&h00000101, 0, 0, [&hC0, 0, 0, 0, 0, 0, 0, &h46]] As IID
     202Interface 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
     214End Interface
    109215
    110216Dim IID_ISequentialStream = [&h0c733a30, &h2a1c, &h11ce, [&had, &he5, &h00, &haa, &h00, &h44, &h77, &h3d]] As IID
     
    112218    Inherits IUnknown
    113219
    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
     220    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
    116222End Interface
    117223
     
    161267    Function UnlockRegion(libOffset As ULARGE_INTEGER, cb As ULARGE_INTEGER, dwLockType As DWord) As HRESULT
    162268    Function Stat(pstatstg As *STATSTG, grfStatFlag As DWord) As HRESULT
    163     Function Clone(ByRef ppstm As *IStream) As HRESULT
     269    Function Clone(ByRef stm As IStream) As HRESULT
    164270End Interface
    165271TypeDef LPSTREAM = *IStream
     
    173279
    174280/* interface IStorage */
    175 /* [unique][uuid][object] */ 
     281/* [unique][uuid][object] */
    176282
    177283TypeDef LPSTORAGE = /* [unique] */ *IStorage
     
    197303        /* [in] */ reserved1 As DWord,
    198304        /* [in] */ reserved2 As DWord,
    199         /* [out] */ ByRef pstm As *IStream) As HRESULT
     305        /* [out] */ ByRef stm As IStream) As HRESULT
    200306    /* [local] */ Function OpenStream(
    201307        /* [string][in] */ pwcsName As *OLECHAR,
     
    203309        /* [in] */ grfMode As DWord,
    204310        /* [in] */ reserved2 As DWord,
    205         /* [out] */ ByRef pstm As *IStream) As HRESULT
     311        /* [out] */ ByRef stm As IStream) As HRESULT
    206312    Function CreateStorage(
    207313        /* [string][in] */ pwcsName As *OLECHAR,
     
    209315        /* [in] */ reserved1 As DWord,
    210316        /* [in] */ reserved2 As DWord,
    211         /* [out] */ ByRef pstg As *IStorage) As HRESULT
     317        /* [out] */ ByRef stg As IStorage) As HRESULT
    212318    Function OpenStorage(
    213319        /* [string][unique][in] */ pwcsName As *OLECHAR,
     
    216322        /* [unique][in] */ snbExclude As SNB,
    217323        /* [in] */ reserved As DWord,
    218         /* [out] */ ByRef pstg As *IStorage) As HRESULT
     324        /* [out] */ ByRef stg As IStorage) As HRESULT
    219325    /* [local] */ Function CopyTo(
    220326        /* [in] */ ciidExclude As DWord,
    221         /* [size_is][unique][in] */ ByRef rgiidExclude As * /*Const*/ IID,
     327        /* [size_is][unique][in] */ rgiidExclude As * /*Const*/ IID,
    222328        /* [unique][in] */ snbExclude As SNB,
    223         /* [unique][in] */ pstgDest As *IStorage) As HRESULT
     329        /* [unique][in] */ stgDest As IStorage) As HRESULT
    224330    Function MoveElementTo(
    225331        /* [string][in] */ pwcsName As *OLECHAR,
    226         /* [unique][in] */ pstgDest As *IStorage,
     332        /* [unique][in] */ stgDest As IStorage,
    227333        /* [string][in] */ pwcsNewName As *OLECHAR,
    228334        /* [in] */ grfFlags As DWord) As HRESULT
     
    234340        /* [size_is][unique][in] */ reserved2 As VoidPtr,
    235341        /* [in] */ reserved3 As DWord,
    236         /* [out] */ ByRef penum As *IEnumSTATSTG) As HRESULT
     342        /* [out] */ ByRef enum_ As IEnumSTATSTG) As HRESULT
    237343    Function DestroyElement(
    238344        /* [string][in] */ pwcsName As *OLECHAR) As HRESULT
     
    241347        /* [string][in] */ pwcsNewName As *OLECHAR) As HRESULT
    242348    Function SetElementTimes(
    243             /* [string][unique][in] */ pwcsName As *OLECHAR,
    244             /* [unique][in] */ ByRef ctime As /*Const*/ FILETIME,
    245             /* [unique][in] */ ByRef atime As /*Const*/ FILETIME,
    246             /* [unique][in] */ ByRef mtime As /*Const*/ FILETIME) As HRESULT
     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
    247353    Function SetClass(
    248             /* [in] */ ByRef clsid As CLSID) As HRESULT
     354        /* [in] */ ByRef clsid As CLSID) As HRESULT
    249355    Function SetStateBits(
    250             /* [in] */ grfStateBits As DWord,
    251             /* [in] */ grfMask As DWord) As HRESULT
     356        /* [in] */ grfStateBits As DWord,
     357        /* [in] */ grfMask As DWord) As HRESULT
    252358    Function Stat(
    253             /* [out] */ ByRef statstg As STATSTG,
    254             /* [in] */ grfStatFlag As DWord) As HRESULT
     359        /* [out] */ ByRef statstg As STATSTG,
     360        /* [in] */ grfStatFlag As DWord) As HRESULT
    255361End Interface
    256362
     
    289395End Type
    290396
    291 TypeDef CLIPFORMAT = Word
    292397TypeDef LPCLIPFORMAT = *CLIPFORMAT
    293398
     
    356461        /* [unique][in] */ ByRef rformatetcIn As FORMATETC,
    357462        /* [out] */ ByRef rmedium As STGMEDIUM) As HRESULT
    358 
    359463    Function /* [local] */ GetDataHere(
    360464        /* [unique][in] */ ByRef rformatetcIn As FORMATETC,
    361465        /* [out] */ ByRef pmedium As STGMEDIUM) As HRESULT
    362 
    363466    Function QueryGetData(
    364467        /* [unique][in] */ ByRef pformatetc As FORMATETC) As HRESULT
    365 
    366468    Function GetCanonicalFormatEtc(
    367469        /* [unique][in] */ ByRef pformatetcIn As FORMATETC,
    368470        /* [out] */ ByRef pmedium As STGMEDIUM) As HRESULT
    369 
    370471    Function /* [local] */ SetData(
    371472        /* [unique][in] */ pformatetcIn As *FORMATETC,
    372473        /* [out] */ pmedium As *STGMEDIUM,
    373474        /* [in] */ fRelease As BOOL) As HRESULT
    374 
    375475    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
    379478    Function DAdvise(
    380479        /* [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
    385483    Function DUnadvise(
    386         /* [in] */ ByVal dwConnection As DWord) As HRESULT
    387 
     484        /* [in] */ dwConnection As DWord) As HRESULT
    388485    Function EnumDAdvise(
    389         /* [out] */ ByRef rpenumAdvise As *IEnumSTATDATA) As HRESULT
     486        /* [out] */ ByRef rpenumAdvise As IEnumSTATDATA) As HRESULT
    390487End Interface
    391488
Note: See TracChangeset for help on using the changeset viewer.