StormLib API Reference

SFileGetLocale

Description

LCID WINAPI SFileGetLocale(
);

Function SFileGetLocale returns locale that is set as a preferred locale for files that will be open by SFileOpenFileEx and added by SFileAddFileEx. The locale is stored as a global variable and thus affects every open or add operation.

Parameters

None.

Return Value

The function never fails and always returns current locale ID.

Remarks

The locale ID corresponds to the country ID. Country IDs are defined in Windows headers. For a table of existing locales, see SFileSetLocale.

Availability in Storm.dll

Available in Storm.dll No
Ordinal number in Storm.dll 1.00 N/A
Ordinal number in Storm.dll 1.09 N/A