Compartir a través de


IFillLockBytes::Terminate

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Syntax

HRESULT Terminate(
  BOOL bCanceled 
);

Parameters

  • bCanceled
    [in] Download is complete.

    If TRUE, the download was terminated unsuccessfully. If FALSE, the download terminated successfully.

Return Value

This function supports the standard return values E_OUTOFMEMORY, E_UNEXPECTED, E_INVALIDARG, and E_FAIL.

Remarks

After this method has been called, the byte array will no longer return E_PENDING.

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

Requirements

Header objidl.h, objidl.idl
Library ole32.lib, uuid.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later