Changeset 211 for Include/objidl.sbp


Ignore:
Timestamp:
Apr 11, 2007, 9:49:17 PM (17 years ago)
Author:
イグトランス (egtra)
Message:

Decimalを追加、OAIdl.abの一応の完成など

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/objidl.sbp

    r175 r211  
    165165TypeDef LPSTREAM = *IStream
    166166
    167 ' IEnumSTATSTG
     167Interface IEnumSTATSTG
     168    Inherits IUnknown
     169End Interface
     170
     171#ifndef __IStorage_INTERFACE_DEFINED__
     172#define __IStorage_INTERFACE_DEFINED__
     173
     174/* interface IStorage */
     175/* [unique][uuid][object] */
     176
     177TypeDef LPSTORAGE = /* [unique] */ *IStorage
     178
     179Type RemSNB
     180    ulCntStr As DWord
     181    ulCntChar As DWord
     182    rgString[ELM(1)] As OLECHAR
     183End Type
     184
     185TypeDef wireSNB /* [unique] */ = *RemSNB
     186
     187TypeDef SNB = /* [wire_marshal] */ **OLECHAR
     188
     189Dim IID_IStorage = [&h0000000b, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID
    168190
    169191Interface IStorage
    170192    Inherits IUnknown
    171 End Interface
     193
     194    Function CreateStream(
     195        /* [string][in] */ pwcsName As *OLECHAR,
     196        /* [in] */ grfMode As DWord,
     197        /* [in] */ reserved1 As DWord,
     198        /* [in] */ reserved2 As DWord,
     199        /* [out] */ ByRef pstm As *IStream) As HRESULT
     200    /* [local] */ Function OpenStream(
     201        /* [string][in] */ pwcsName As *OLECHAR,
     202        /* [unique][in] */ reserved1 As VoidPtr,
     203        /* [in] */ grfMode As DWord,
     204        /* [in] */ reserved2 As DWord,
     205        /* [out] */ ByRef pstm As *IStream) As HRESULT
     206    Function CreateStorage(
     207        /* [string][in] */ pwcsName As *OLECHAR,
     208        /* [in] */ grfMode As DWord,
     209        /* [in] */ reserved1 As DWord,
     210        /* [in] */ reserved2 As DWord,
     211        /* [out] */ ByRef pstg As *IStorage) As HRESULT
     212    Function OpenStorage(
     213        /* [string][unique][in] */ pwcsName As *OLECHAR,
     214        /* [unique][in] */ pstgPriority As IStorage,
     215        /* [in] */ grfMode As DWord,
     216        /* [unique][in] */ snbExclude As SNB,
     217        /* [in] */ reserved As DWord,
     218        /* [out] */ ByRef pstg As *IStorage) As HRESULT
     219    /* [local] */ Function CopyTo(
     220        /* [in] */ ciidExclude As DWord,
     221        /* [size_is][unique][in] */ ByRef rgiidExclude As * /*Const*/ IID,
     222        /* [unique][in] */ snbExclude As SNB,
     223        /* [unique][in] */ pstgDest As *IStorage) As HRESULT
     224    Function MoveElementTo(
     225        /* [string][in] */ pwcsName As *OLECHAR,
     226        /* [unique][in] */ pstgDest As *IStorage,
     227        /* [string][in] */ pwcsNewName As *OLECHAR,
     228        /* [in] */ grfFlags As DWord) As HRESULT
     229    Function Commit(
     230        /* [in] */ grfCommitFlags As DWord) As HRESULT
     231    Function Revert() As HRESULT
     232    /* [local] */ Function EnumElements(
     233        /* [in] */ reserved1 As DWord,
     234        /* [size_is][unique][in] */ reserved2 As VoidPtr,
     235        /* [in] */ reserved3 As DWord,
     236        /* [out] */ ByRef penum As *IEnumSTATSTG) As HRESULT
     237    Function DestroyElement(
     238        /* [string][in] */ pwcsName As *OLECHAR) As HRESULT
     239    Function RenameElement(
     240        /* [string][in] */ pwcsOldName As *OLECHAR,
     241        /* [string][in] */ pwcsNewName As *OLECHAR) As HRESULT
     242    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
     247    Function SetClass(
     248            /* [in] */ ByRef clsid As CLSID) As HRESULT
     249    Function SetStateBits(
     250            /* [in] */ grfStateBits As DWord,
     251            /* [in] */ grfMask As DWord) As HRESULT
     252    Function Stat(
     253            /* [out] */ ByRef statstg As STATSTG,
     254            /* [in] */ grfStatFlag As DWord) As HRESULT
     255End Interface
     256
     257#endif  /* __IStorage_INTERFACE_DEFINED__ */
    172258
    173259Interface IPersistFile
     
    175261
    176262    Function IsDirty() As HRESULT
    177 
    178263    Function Load(
    179264        /* [in] */ pszFileName As LPCOLESTR,
    180265        /* [in] */ dwMode As DWord) As HRESULT
    181 
    182266    Function Save(
    183267        /* [unique][in] */ pszFileName As LPCOLESTR,
    184268        /* [in] */ fRemember As BOOL) As HRESULT
    185 
    186269    Function SaveCompleted(
    187270        /* [unique][in] */ pszFileName As LPCOLESTR) As HRESULT
    188 
    189271    Function GetCurFile(
    190272        /* [out] */ ByRef pszFileName As LPOLESTR) As HRESULT
Note: See TracChangeset for help on using the changeset viewer.