Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

IStorage (Interfaces)
 
.
Summary
TODO - a short description

C# Definition:

[ComImport]
[Guid("0000000b-0000-0000-C000-000000000046")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
interface IStorage {
    void CreateStream(
        /* [string][in] */ string pwcsName,
        /* [in] */ uint grfMode,
        /* [in] */ uint reserved1,
        /* [in] */ uint reserved2,
       /* [out] */ out IStream ppstm);

    void OpenStream(
        /* [string][in] */ string pwcsName,
        /* [unique][in] */ IntPtr reserved1,
        /* [in] */ uint grfMode,
        /* [in] */ uint reserved2,
        /* [out] */ out IStream ppstm);

    void CreateStorage(
        /* [string][in] */ string pwcsName,
        /* [in] */ uint grfMode,
        /* [in] */ uint reserved1,
        /* [in] */ uint reserved2,
        /* [out] */ out IStorage ppstg);

    void OpenStorage(
        /* [string][unique][in] */ string pwcsName,
        /* [unique][in] */ IStorage pstgPriority,
        /* [in] */ uint grfMode,
        /* [unique][in] */ IntPtr snbExclude,
        /* [in] */ uint reserved,
        /* [out] */ out IStorage ppstg);

    void CopyTo(
        /* [in] */ uint ciidExclude,
        /* [size_is][unique][in] */ Guid rgiidExclude,
        /* [unique][in] */ IntPtr snbExclude,
        /* [unique][in] */ IStorage pstgDest);

    void MoveElementTo(
        /* [string][in] */ string pwcsName,
        /* [unique][in] */ IStorage pstgDest,
        /* [string][in] */ string pwcsNewName,
        /* [in] */ uint grfFlags);

    void Commit(
        /* [in] */ uint grfCommitFlags);

    void Revert();

    void EnumElements(
        /* [in] */ uint reserved1,
        /* [size_is][unique][in] */ IntPtr reserved2,
        /* [in] */ uint reserved3,
        /* [out] */ out IEnumSTATSTG ppenum);

    void DestroyElement(
        /* [string][in] */ string pwcsName);

    void RenameElement(
        /* [string][in] */ string pwcsOldName,
        /* [string][in] */ string pwcsNewName);

    void SetElementTimes(
        /* [string][unique][in] */ string pwcsName,
        /* [unique][in] */ FILETIME pctime,
        /* [unique][in] */ FILETIME patime,
        /* [unique][in] */ FILETIME pmtime);

    void SetClass(
        /* [in] */ Guid clsid);

    void SetStateBits(
        /* [in] */ uint grfStateBits,
        /* [in] */ uint grfMask);

    void Stat(
        /* [out] */ out STATSTG pstatstg,
        /* [in] */ uint grfStatFlag);

}

VB Definition:

<ComImport> _
<Guid("TODO")> _
'TODO: Insert <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _ if this doesn't derive from IDispatch
Interface IStorage
   TODO
End Interface

User-Defined Types:

STATSTG

Notes:

None.

Documentation
IStorage on MSDN

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions