SPFILENOTIFY_TARGETEXISTS  20.W1V9 

[New - Windows NT]

The SPFILENOTIFY_TARGETEXISTS notification is sent to the callback routine if the file to be copied was queued with the SP_COPY_NOOVERWRITE flag and that file already exists in the target directory. It can be sent to the callback routine alone or combined, by using the OR operator, with the SPFILENOTIFY_LANGMISMATCHZO9YCN and/or SPFILENOTIFY_TARGETNEWER1_BG4LY notifications.

SPFILENOTIFY_TARGETEXISTS

    Param1 = (UINT) FilePathInfo;

    Param2 = (UINT) 0;

 

Parameters

Param1

Pointer to a FILEPATHSYYRRGJ structure that contains information about the paths for the source and target files.

Param2

This parameter is not used unless this notification is combined, by using the OR operator, with the SPFILENOTIFY_LANGMISMATCHZO9YCN notification.

 

Return Values

The callback routine should return one of the following values.

Value

Meaning

TRUE

Overwrite the file in the target directory.

FALSE

Skip the current copy operation.

 

See Also

FILEPATHS, SetupCommitFileQueue, SetupDefaultQueueCallback, SetupInstallFile, SetupInstallFileEx, SetupInstallFromInfSection