共用方式為


ILockBytes Interface

Definition

Gives a compound file storage object's root storage access to the physical device while isolating it from the details of physical access. For more information, see ILockBytes.

public interface class ILockBytes
public interface class ILockBytes
__interface ILockBytes
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("0000000A-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface ILockBytes
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("0000000A-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ILockBytes
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("0000000A-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type ILockBytes = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("0000000A-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ILockBytes = interface
Public Interface ILockBytes
Attributes

Methods

Flush()
LockRegion(ULARGE_INTEGER, ULARGE_INTEGER, UInt32)
ReadAt(ULARGE_INTEGER, Byte[], UInt32, UInt32)
SetSize(ULARGE_INTEGER)
Stat(STATSTG[], UInt32)
UnlockRegion(ULARGE_INTEGER, ULARGE_INTEGER, UInt32)
WriteAt(ULARGE_INTEGER, Byte[], UInt32, UInt32)

Applies to