IFillLockBytes interface (objidl.h)

The IFillLockBytes interface enables downloading code to write data asynchronously to a structured storage byte array. When the downloading code has new data available, it calls IFillLockBytes::FillAppend or IFillLockBytes::FillAt to write the data to the byte array. An application attempting to access this data, through calls to the ILockBytes interface, can do so even as the downloader continues to make calls to IFillLockBytes. If the application attempts to access data that has not already been downloaded through a call to IFillLockBytes, then ILockBytes returns a new error, E_PENDING.

Inheritance

The IFillLockBytes interface inherits from the IUnknown interface. IFillLockBytes also has these types of members:

Methods

The IFillLockBytes interface has these methods.

 
IFillLockBytes::FillAppend

The FillAppend method writes a new block of bytes to the end of a byte array.
IFillLockBytes::FillAt

The FillAt method writes a new block of data to a specified location in the byte array.
IFillLockBytes::SetFillSize

The SetFillSize method sets the expected size of the byte array.
IFillLockBytes::Terminate

The Terminate method informs the byte array that the download has been terminated, either successfully or unsuccessfully.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header objidl.h

See also

BINDINFO

IConnectionPoint

IConnectionPointContainer

ILockBytes

IProgressNotify

IStorage

IStream