IFillLockBytes::Terminate method (objidl.h)
The Terminate method informs the byte array that the download has been terminated, either successfully or unsuccessfully.
Syntax
HRESULT Terminate(
[in] BOOL bCanceled
);
Parameters
[in] bCanceled
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
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 |
Library | Uuid.lib |
DLL | Ole32.dll |