Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

IFillLockBytes (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This 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 been downloaded through a call to IFillLockBytes, ILockBytes returns a new error, E_PENDING.

When to Implement

You typically would not implement this interface.

A system developer that wants to provide asynchronous storage for a protocol other than HTTP might implement IFillLockBytes as part of the transport layer.

When to Use

You typically would not call this interface. Monikers or other downloading code that provide asynchronous storage use this interface to fill the byte array as data becomes available.

Methods in Vtable Order

IUnknown methodDescription
QueryInterfaceReturns pointers to supported interfaces.
AddRefIncrements the reference count.
ReleaseDecrements the reference count.
Method Description
FillAppendWrites a new block of bytes to end of byte array.
FillAtWrites a new block of bytes to specified location in byte array.
SetFillSizeSets expected size of byte array.
TerminateNotifies byte array wrapper of successful or unsuccessful termination of download.


To determine whether the platform supports this interface, see Determining Supported COM APIs.


OS Versions: Windows CE 3.0 and later.
Header: Objidl.h, Objidl.idl.
Link Library: Ole32.lib, Uuid.lib.

See Also

IFillLockBytes Implementation | IConnectionPoint | IConnectionPointContainer | ILockBytes | IStorage | IStream

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.