OnDIFxLogCallback

InstallShield 2018 » InstallScript Language Reference

Project • This information applies to InstallScript projects.

The OnDIFxLogCallback event handler is called when a DIFx-related event occurs that is logged by the built-in DIFx callback functionality. See the Windows documentation on DIFXAPISetLogCallback for more information.

Note • This event is not supported for 64-bit drivers and is not called as a result of installing a 64-bit driver.

Syntax

OnDIFxLogCallback ( byval number nEventType, byval number nError, byval string szDescription );

Parameters

OnDIFxLogCallback Parameters

Parameter

Description

nEventType

The event type as documented in the DIFxAPI. The following values are available:

DIFXAPI_SUCCESS—A success event that logs a message that indicates an operation succeeded.
DIFXAPI_INFO—An information event that logs a message that describes the context or progress of an operation.
DIFXAPI_WARNING—A warning event that logs a message about a possible problem that is not a fatal error.
DIFXAPI_ERROR—An error event that logs a message about a fatal error.

nError

Specifies a Win32 error code that is associated with an event if one exists; otherwise, zero.

szDescription

A string that describes the event.

Return Values

None.