StormLib API Reference
SFileSetFileLocale
bool WINAPI SFileSetFileLocale( HANDLE hFile, // File handle LCID lcNewLocale // New locale ID for the file );
Function SFileSetFileLocale sets new locale ID for an open file. The locale ID is changed in the block table of the MPQ. The MPQ must have been open by SFileOpenArchive or created by SFileCreateArchive. Note that this operation does not cause MPQ fragmentation and thus it is not necessary to compact the archive.
When the function succeeds, it returns nonzero. On an error, the function returns false and GetLastError gives the error code.
Available in Storm.dll | No |
Ordinal number in Storm.dll 1.00 | N/A |
Ordinal number in Storm.dll 1.09 | N/A |
Copyright (c) Ladislav Zezula 2003 - 2010