IeAxiSystemInstaller::InitializeSystemInstaller method

The InitializeSystemInstaller method installs the specified ActiveX object.

Syntax

HRESULT InitializeSystemInstaller(
  [in]  BSTR     bstrUrl,
  [in]  DWORD    dwClientPID,
  [in]  IUnknown *pCallback,
  [out] BSTR     *pbstrNonce
);

Parameters

bstrUrl [in]

The URL of the ActiveX object to install.

dwClientPID [in]

The process ID of the calling process.

pCallback [in]

A pointer to an instance of the IeAxiServiceCallback interface that verifies whether the ActiveX object is allowed to be installed.

pbstrNonce [out]

A context that can be used to share state information in calls to other methods used to verify and download the ActiveX object.

Return value

If the method succeeds, the method returns S_OK.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

Requirements

Requirement Value
Minimum supported client
Windows Vista Business, Windows Vista Enterprise, Windows Vista Ultimate [desktop apps only]
Minimum supported server
None supported
IID
IID_IeAxiSystemInstaller is defined as a50ea6f8-4764-4299-b309-022b2a8b4d8d

See also

IeAxiSystemInstaller