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

Search Results for "STGM" in [All]

Structures

.

    //     handle with the GMEM_SHARE flag. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

    //     The storage medium is a disk file identified by a path. If the STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

    //     ISequentialStream::Read to read the data. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

    //     If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

    //     If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

    //     to access the metafile's data. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

    //     The storage medium is an enhanced metafile. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

    '     handle with the GMEM_SHARE flag. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

    '     The storage medium is a disk file identified by a path. If the STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

    '     ISequentialStream::Read to read the data. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

    '     If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

    '     If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

    '     to access the metafile's data. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

    '     The storage medium is an enhanced metafile. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

public struct STGMEDIUM

.

public class STGMEDIUM

.
Documentation
[STGMEDIUM] on MSDN

Interfaces

.

    void OnDataChange(FORMATETC pFormatetc, STGMEDIUM pStgmed);

.

FORMATETC, STGMEDIUM

.

            [In] ref STGMEDIUM pStgmed);

.

        public STGMEDIUM stgmedData;

.

        public uint cbstgmedData;

.

    public struct STGMEDIUM

.

                pbindinfo.stgmedData.tymed=0;

.

                pbindinfo.cbstgmedData=(uint)Marshal.SizeOf(pbindinfo.stgmedData);

.

        public void  OnDataAvailable( uint grfBSCF , uint dwSize ,ref FORMATETC pformatetc ,ref STGMEDIUM pstgmed )

.

    void GetData([In] ref FORMATETC format, out STGMEDIUM medium);

.

    void GetDataHere([In] ref FORMATETC format, ref STGMEDIUM medium);

.

    void SetData([In] ref FORMATETC formatIn, [In] ref STGMEDIUM medium, [MarshalAs(UnmanagedType.Bool)] bool release);

.

            ByVal dwMode As STGM) As HRESULT

user32

.

                    STGMEDIUM medium = new STGMEDIUM();

Constants

.

        public const int DV_E_STGMEDIUM = (int)(0x80040066 - 0x100000000);

.

        /// The compound file was not created with the STGM_SIMPLE flag

ole32

.

    /// <param name="grfMode">Specifies the access mode to use when opening the new compound file. For more information, see STGM Constants.</param>

.

    ///    Indicates that the compound file already exists and the grfMode parameter is set to STGM_FAILIFTHERE.

.

    public extern static int StgCreateDocfileOnILockBytes(ILockBytes plkbyt, StgmConstants grfMode, int reserved, out IStorage ppstgOpen);

.

See StgmConstants for the flags corresponding to the grfMode parameter.

.

    /// <param name="grfMode">Specifies the access mode to use when opening the new compound file. For more information, see STGM Constants.</param>

.

    ///    Indicates that the compound file already exists and the grfMode parameter is set to STGM_FAILIFTHERE.

12: STGM
.

public enum STGM : int

.

Enum STGM

.
Documentation
[STGM] on MSDN

Enums

.

    ///The compound file was not created with the STGM_SIMPLE flag

.

    [Description("The compound file was not created with the STGM_SIMPLE flag")]

.

    public const int DV_E_STGMEDIUM = unchecked((int)0x80040066);

.

    '''The compound file was not created with the STGM_SIMPLE flag

.

    <Description("The compound file was not created with the STGM_SIMPLE flag")> _

.

    Public Const DV_E_STGMEDIUM As Integer = CInt(&H80040066UI)

14: STGM
.

    public enum StgmConstants

.

    STGM_READ = 0x0,

.

    STGM_WRITE = 0x1,

.

    STGM_READWRITE = 0x2,

.

    STGM_SHARE_DENY_NONE = 0x40,

.

    STGM_SHARE_DENY_READ = 0x30,

.

    STGM_SHARE_DENY_WRITE = 0x20,

.

    STGM_SHARE_EXCLUSIVE = 0x10,

.

    STGM_PRIORITY = 0x40000,

.

    STGM_CREATE = 0x1000,

.

    STGM_CONVERT = 0x20000,

.

    STGM_FAILIFTHERE = 0x0,

.

    STGM_DIRECT = 0x0,

.

    STGM_TRANSACTED = 0x10000,

.

    STGM_NOSCRATCH = 0x100000,

.

    STGM_NOSNAPSHOT = 0x200000,

.

    STGM_SIMPLE = 0x8000000,

.

    STGM_DIRECT_SWMR = 0x400000,

.

    STGM_DELETEONRELEASE = 0x4000000

.

Enum StgmConstants

.
Documentation
[StgmConstants] on MSDN

 
Access PInvoke.net directly from VS: