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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy
STGM (ole32)
 
.
Summary
TODO - a short description

C# Definition:

[Flags]
public enum STGM : int
{
    DIRECT        = 0x00000000,
    TRANSACTED    = 0x00010000,
    SIMPLE        = 0x08000000,
    READ        = 0x00000000,
    WRITE        = 0x00000001,
    READWRITE        = 0x00000002,
    SHARE_DENY_NONE    = 0x00000040,
    SHARE_DENY_READ    = 0x00000030,
    SHARE_DENY_WRITE    = 0x00000020,
    SHARE_EXCLUSIVE    = 0x00000010,
    PRIORITY        = 0x00040000,
    DELETEONRELEASE    = 0x04000000,
    NOSCRATCH        = 0x00100000,
    CREATE        = 0x00001000,
    CONVERT        = 0x00020000,
    FAILIFTHERE    = 0x00000000,
    NOSNAPSHOT    = 0x00200000,
    DIRECT_SWMR    = 0x00400000,
}

VB Definition:

<Flags()> _
Enum STGM
    DIRECT        = 0
    TRANSACTED    = 65536
    SIMPLE        = 134217728
    READ        = 0
    WRITE        = 1
    READWRITE        = 2
    SHARE_DENY_NONE    = 64
    SHARE_DENY_READ    = 48
    SHARE_DENY_WRITE    = 32
    SHARE_EXCLUSIVE    = 16
    PRIORITY        = 262144
    DELETEONRELEASE    = 67108864
    NOSCRATCH        = 1048576
    CREATE        = 4096
    CONVERT        = 131072
    FAILIFTHERE    = 0
    NOSNAPSHOT    = 2097152
    DIRECT_SWMR    = 4194304
End Enum

Notes:

None.

Documentation
STGM on MSDN

Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

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