LOCALE_S1159 and LOCALE_SAM

String for the AM designator (first 12 hours of the day). The maximum number of characters allowed for this string, including a terminating null character, is different for different releases of Windows.

Windows XP: Thirteen including a terminating null character for SetLocaleInfo. Fifteen including a terminating null character for GetLocaleInfo.

Windows Me/98/95, Windows NT 4.0, Windows 2000: Nine including a terminating null character.

Windows Server 2003 and later: Fifteen including a terminating null character.

Windows 10 added the value LOCALE_SAM as a more readable synonym for LOCALE_S1159.

 

 

Show: