Desktop Functions: Smart Device Functions:
|
Search Results for "IlockBytes" in [All]ole32
/// The CreateILockBytesOnHGlobal function creates a byte array object,
/// ILockBytes interface.
/// be allocated with a size of zero. If hGlobal is NULL, CreateILockBytesOnHGlobal
/// <param name="ppLkbyt">The address of ILockBytes pointer variable that receives the
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, _
<Out()> ByRef ppLkbyt As IlockBytes) _ Dim lockbytes As IlockBytes = Nothing hr = Win32.CreateILockBytesOnHGlobal(IntPtr.Zero, True, lockbytes)
/// The GetHGlobalFromILockBytes function retrieves a global memory handle to a
/// byte array object created using the CreateILockBytesOnHGlobal function.
/// <param name="pLkbyt">Pointer to the ILockBytes interface on the byte-array
/// object previously created by a call to the CreateILockBytesOnHGlobal function.</param>
static extern int GetHGlobalFromILockBytes(ILockBytes pLkbyt, out IntPtr phglobal);
EntryPoint="GetHGlobalFromILockBytes",
static extern int GetHGlobalFromILockBytes([MarshalAs(UnmanagedType.Interface)] object /* ILockBytes* */pLkbyt, out IntPtr /* HGLOBAL* */ phglobal);
/// The StgCreateDocfileOnILockBytes function creates and opens a new compound file
/// <param name="plkbyt">A pointer to the ILockBytes interface on the underlying byte-array object on which to create a compound file.</param>
public extern static int StgCreateDocfileOnILockBytes(ILockBytes plkbyt, StgmConstants grfMode, int reserved, out IStorage ppstgOpen);
/// The StgCreateDocfileOnILockBytes function creates and opens a new compound file
/// <param name="plkbyt">A pointer to the ILockBytes interface on the underlying byte-array object on which to create a compound file.</param>
public extern static int StgCreateDocfileOnILockBytes(ILockBytes plkbyt, int grfMode, int reserved, out IStorage ppstgOpen); Interfaces8: ILockBytes
public interface ILockBytes
public interface ILockBytes
Public Interface IlockBytes
// read a chunk from the ILockBytes object
((ILockBytes)comPtr).ReadAt(offset, pv, bufferSize, out cbRead); |