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 "CreateILockBytesOnHGlobal" in [All]

ole32

.
Summary
The CreateILockBytesOnHGlobal function creates a byte array object, using global memory as the physical device, which is intended to be the compound file foundation. This object supports a COM implementation of the ILockBytes interface.
.

    /// The CreateILockBytesOnHGlobal function creates a byte array object,

.

    /// be allocated with a size of zero. If hGlobal is NULL, CreateILockBytesOnHGlobal

.

    public extern static int CreateILockBytesOnHGlobal(IntPtr hGlobal, [MarshalAs(UnmanagedType.Bool)] bool fDeleteOnRelease, out ILockBytes ppLkbyt);

.

    EntryPoint="CreateILockBytesOnHGlobal",

.

static extern int CreateILockBytesOnHGlobal(IntPtr /* HGLOBAL */ hGlobal, bool fDeleteOnRelease, [MarshalAs(UnmanagedType.Interface)]out object /* ILockBytes** */ ppLkbyt);

.

    Public Shared Function CreateILockBytesOnHGlobal(ByVal hGlobal As IntPtr, _

.

hr = Win32.CreateILockBytesOnHGlobal(IntPtr.Zero, True, lockbytes)

.
Documentation
[CreateILockBytesOnHGlobal] on MSDN
.

    /// byte array object created using the CreateILockBytesOnHGlobal function.

.

    /// object previously created by a call to the CreateILockBytesOnHGlobal function.</param>


 
Access PInvoke.net directly from VS: