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_LANGMISMATCH and/or SPFILENOTIFY_TARGETNEWER notifications.
SPFILENOTIFY_TARGETEXISTS Param1 = (UINT) FilePathInfo; Param2 = (UINT) 0;
Pointer to a FILEPATHS structure that contains information about the paths for the source and target files.
This parameter is not used unless this notification is combined, by using the OR operator, with the SPFILENOTIFY_LANGMISMATCH notification.
The callback routine should return one of the following values.
Overwrite the file in the target directory.
Skip the current copy operation.
Minimum supported client
|Windows 2000 Professional|
Minimum supported server
|Windows 2000 Server|
Build date: 8/19/2010