IFillLockBytes::Terminate method

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

Syntax


HRESULT Terminate(
  [in] 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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Objidl.h

IDL

Objidl.idl

Library

Uuid.lib

DLL

Ole32.dll

IID

IID_IFillLockBytes is defined as 99CAF010-415E-11CF-8814-00AA00B569F5

 

 

Show: