Share via


ICodeInstall::OnCodeInstallProblem method

Returns a value based on the status passed in, which indicates whether to abort the application installation or file download.

Syntax

HRESULT OnCodeInstallProblem(
  [in] unsigned long ulStatusCode,
  [in] LPCWSTR       szDestination,
  [in] LPCWSTR       szSource,
  [in] DWORD         dwReserved
);

Parameters

  • ulStatusCode [in]
    A unsigned long value from the CIP_STATUS enumeration that indicates an installation or file download problem.

  • szDestination [in]
    A LPCWSTR that contains the destination of the installation or download.

  • szSource [in]
    A LPCWSTR that contains the source of the installation or download.

  • dwReserved [in]
    Currently unused. Should be set to zero.

Return value

Returns one of the following values.

Return code Description
S_OK

Indicates that the installation or download should continue.

E_ABORT

Indicates that the installation or download should abort.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 5.0

Header

Urlmon.h

IDL

Urlmon.idl

DLL

Urlmon.dll

See also

ICodeInstall