SPFILENOTIFY_LANGMISMATCH message

The SPFILENOTIFY_LANGMISMATCH notification is sent to the callback routine if the language of the file to be copied does not match the language of an existing target file. It can be sent to the callback routine alone or combined, by using the OR operator, with SPFILENOTIFY_TARGETEXISTS and/or SPFILENOTIFY_TARGETNEWER.

SPFILENOTIFY_LANGMISMATCH
  Param1 = (UINT) FilePathInfo;
  Param2 = (UINT) LanguageInfo;
            

Parameters

Param1

Pointer to a FILEPATHS structure that contains information about the paths of the source and target files.

Param2

Identifies the mismatched languages. This member has the language identifier of the source file in the low word, and the language identifier of the existing target file in the high word.

Return value

The callback routine should return one of the following values.

Return code Description
TRUE
Copy the file and overwrite the existing file.
FALSE
Skip the copy operation. Do not overwrite the existing file.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Setupapi.h

See also

Overview

Notifications

FILEPATHS

SetupCommitFileQueue

SetupDefaultQueueCallback

SetupInstallFile

SetupInstallFileEx

SetupInstallFromInfSection