SPFILENOTIFY_LANGMISMATCH

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
An unsigned 32-bit value that contains information about the mis-matched languages. This DWORD stores 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 Values

The callback routine should return one of the following values.

Value Meaning
TRUE Copy the file and overwrite the existing file.
FALSE Skip the copy operation. Do not overwrite the existing file.

QuickInfo

  Windows NT: Use version 4.0 and later.
  Windows: Use Windows 95 and later.
  Windows CE: Unsupported.
  Header: Declared in setupapi.h.

See Also

Overview, Notifications, FILEPATHS, SetupCommitFileQueue, SetupDefaultQueueCallback, SetupInstallFile, SetupInstallFileEx, SetupInstallFromInfSection