Freigeben über


IFillLockBytes::Terminate (Compact 2013)

3/26/2014

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

See Also

Reference

IFillLockBytes