Author: akhaldi
Date: Wed Mar 13 14:19:51 2013
New Revision: 58484
URL:
http://svn.reactos.org/svn/reactos?rev=58484&view=rev
Log:
[CRT]
* Annotate locale.h.
Modified:
trunk/reactos/include/crt/locale.h
Modified: trunk/reactos/include/crt/locale.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/locale.h?rev=5…
==============================================================================
--- trunk/reactos/include/crt/locale.h [iso-8859-1] (original)
+++ trunk/reactos/include/crt/locale.h [iso-8859-1] Wed Mar 13 14:19:51 2013
@@ -68,19 +68,68 @@
#endif
- int __cdecl _configthreadlocale(int _Flag);
- char *__cdecl setlocale(int _Category,const char *_Locale);
- _CRTIMP struct lconv *__cdecl localeconv(void);
- _locale_t __cdecl _get_current_locale(void);
- _locale_t __cdecl _create_locale(int _Category,const char *_Locale);
- void __cdecl _free_locale(_locale_t _Locale);
- _locale_t __cdecl __get_current_locale(void);
- _locale_t __cdecl __create_locale(int _Category,const char *_Locale);
- void __cdecl __free_locale(_locale_t _Locale);
+ _Check_return_opt_
+ int
+ __cdecl
+ _configthreadlocale(
+ _In_ int _Flag);
+
+ _Check_return_opt_
+ char*
+ __cdecl
+ setlocale(
+ _In_ int _Category,
+ _In_opt_z_ const char *_Locale);
+
+ _Check_return_opt_
+ _CRTIMP
+ struct lconv*
+ __cdecl
+ localeconv(void);
+
+ _Check_return_opt_
+ _locale_t
+ __cdecl
+ _get_current_locale(void);
+
+ _Check_return_opt_
+ _locale_t
+ __cdecl
+ _create_locale(
+ _In_ int _Category,
+ _In_z_ const char *_Locale);
+
+ void
+ __cdecl
+ _free_locale(
+ _In_opt_ _locale_t _Locale);
+
+ _Check_return_
+ _locale_t
+ __cdecl
+ __get_current_locale(void);
+
+ _Check_return_
+ _locale_t
+ __cdecl
+ __create_locale(
+ _In_ int _Category,
+ _In_z_ const char *_Locale);
+
+ void
+ __cdecl
+ __free_locale(
+ _In_opt_ _locale_t _Locale);
#ifndef _WLOCALE_DEFINED
#define _WLOCALE_DEFINED
- _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale);
+ _Check_return_opt_
+ _CRTIMP
+ wchar_t*
+ __cdecl
+ _wsetlocale(
+ _In_ int _Category,
+ _In_opt_z_ const wchar_t *_Locale);
#endif
#ifdef __cplusplus