+Lew
[www.jankratochvil.net.git] / project / captive / apiref / captive-apiref-unicode.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>unicode</title><meta name="generator" content="DocBook XSL Stylesheets V1.58.1"><meta name="generator" content="GTK-Doc V1.1 (XML mode)"><style type="text/css">
3         .synopsis, .classsynopsis {
4             background: #eeeeee;
5             border: solid 1px #aaaaaa;
6             padding: 0.5em;
7         }
8         .programlisting {
9             background: #eeeeff;
10             border: solid 1px #aaaaff;
11             padding: 0.5em;
12         }
13         .variablelist {
14             padding: 4px;
15             margin-left: 3em;
16         }
17         .navigation {
18             background: #ffeeee;
19             border: solid 1px #ffaaaa;
20             margin-top: 0.5em;
21             margin-bottom: 0.5em;
22         }
23         .navigation a {
24             color: #770000;
25         }
26         .navigation a:visited {
27             color: #550000;
28         }
29         .navigation .title {
30             font-size: 200%;
31         }
32       </style><link rel="home" href="index.html" title="Operation Captive Reference Manual"><link rel="up" href="ch01.html" title="Operation Captive"><link rel="previous" href="captive-apiref-ps-reactos.html" title="ps_reactos"><link rel="next" href="captive-apiref-unicode-reactos.html" title="unicode_reactos"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="captive-apiref-ps-reactos.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td><th width="100%" align="center">Operation Captive Reference Manual</th><td><a accesskey="n" href="captive-apiref-unicode-reactos.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry" lang="en"><a name="captive-apiref-unicode"></a><div class="titlepage"></div><div class="refnamediv"><h2>unicode</h2><p>unicode &#8212; </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">
33
34
35
36 #define     <a href="captive-apiref-unicode.html#captive-UnicodeString-to-utf8-alloca">captive_UnicodeString_to_utf8_alloca</a>(string_UnicodeString)
37 #define     <a href="captive-apiref-unicode.html#captive-utf8-to-UnicodeString-alloca">captive_utf8_to_UnicodeString_alloca</a>(string_utf8)
38 gboolean    <a href="captive-apiref-unicode.html#captive-validate-ucs4">captive_validate_ucs4</a>           (const gunichar *string_ucs4);
39 gboolean    <a href="captive-apiref-unicode.html#captive-validate-ucs2">captive_validate_ucs2</a>           (const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> *string_ucs2);
40 gboolean    <a href="captive-apiref-unicode.html#captive-validate-ucs2-fixlen">captive_validate_ucs2_fixlen</a>    (const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> *string_ucs2,
41                                              glong string_ucs2_fixlen);
42 gboolean    <a href="captive-apiref-unicode.html#captive-validate-utf8">captive_validate_utf8</a>           (const gchar *string_utf8);
43 glong       <a href="captive-apiref-unicode.html#captive-ucs2-strlen">captive_ucs2_strlen</a>             (const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> *string_ucs2);
44 gboolean    <a href="captive-apiref-unicode.html#captive-validate-UnicodeString">captive_validate_UnicodeString</a>  (const UNICODE_STRING *string_UnicodeString);
45 gboolean    <a href="captive-apiref-unicode.html#captive-validate-UnicodeString-noterm">captive_validate_UnicodeString_noterm</a>
46                                             (const UNICODE_STRING *string_UnicodeString_noterm);
47 gboolean    <a href="captive-apiref-unicode.html#captive-validate-AnsiString">captive_validate_AnsiString</a>     (const ANSI_STRING *string_AnsiString);
48 gchar*      <a href="captive-apiref-unicode.html#captive-UnicodeString-to-utf8-malloc">captive_UnicodeString_to_utf8_malloc</a>
49                                             (const UNICODE_STRING *string_UnicodeString);
50 PUNICODE_STRING <a href="captive-apiref-unicode.html#captive-utf8-to-UnicodeString-malloc">captive_utf8_to_UnicodeString_malloc</a>
51                                             (const gchar *string_utf8);
52 const gunichar2* <a href="captive-apiref-unicode.html#captive-ucs4-to-utf16-const">captive_ucs4_to_utf16_const</a>
53                                             (const gunichar *string_ucs4);
54 gboolean    <a href="captive-apiref-unicode.html#captive-ucs2-compare">captive_ucs2_compare</a>            (const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> *string_a_ucs2,
55                                              const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> *string_b_ucs2);
56 gboolean    <a href="captive-apiref-unicode.html#captive-UnicodeString-compare">captive_UnicodeString_compare</a>   (const UNICODE_STRING *string_a_UnicodeString,
57                                              const UNICODE_STRING *string_b_UnicodeString);
58 gboolean    <a href="captive-apiref-unicode.html#captive-ucs2-compare-insensitive">captive_ucs2_compare_insensitive</a>
59                                             (const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> *string_a_ucs2,
60                                              const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> *string_b_ucs2);
61 gboolean    <a href="captive-apiref-unicode.html#captive-UnicodeString-compare-insensitive">captive_UnicodeString_compare_insensitive</a>
62                                             (const UNICODE_STRING *string_a_UnicodeString,
63                                              const UNICODE_STRING *string_b_UnicodeString);
64 void        <a href="captive-apiref-unicode.html#captive-FsRtlLegalAnsiCharacterArray-init">captive_FsRtlLegalAnsiCharacterArray_init</a>
65                                             (void);
66 </pre></div><div class="refsect1" lang="en"><h2>Description</h2><p>
67
68 </p></div><div class="refsect1" lang="en"><h2>Details</h2><div class="refsect2" lang="en"><h3><a name="captive-UnicodeString-to-utf8-alloca"></a>captive_UnicodeString_to_utf8_alloca()</h3><pre class="programlisting">#define     captive_UnicodeString_to_utf8_alloca(string_UnicodeString)</pre><p>
69 alloca(3)-based conversion from PUNICODE_STRING to plain utf8 string.
70 </p><p>
71 <i><tt>Returns</tt></i>: const gchar * alloca(3)ed converted string <i><tt>string_UnicodeString</tt></i>.</p><p>
72
73 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_UnicodeString</tt></i> :</span></td><td> PUNICODE_STRING type of string to convert.
74 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-utf8-to-UnicodeString-alloca"></a>captive_utf8_to_UnicodeString_alloca()</h3><pre class="programlisting">#define     captive_utf8_to_UnicodeString_alloca(string_utf8)</pre><p>
75 alloca(3)-based conversion from plain utf8 string to PUNICODE_STRING.
76 </p><p>
77 <i><tt>Returns</tt></i>: PUNICODE_STRING alloca(3)ed converted string <i><tt>string_utf8</tt></i>.</p><p>
78
79 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_utf8</tt></i> :</span></td><td> const gchar * string in utf8 to convert.
80 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-validate-ucs4"></a>captive_validate_ucs4 ()</h3><pre class="programlisting">gboolean    captive_validate_ucs4           (const gunichar *string_ucs4);</pre><p>
81 Checks the validity of all 32-bit unicharacters of 0-terminated string.
82 It is required to have characters complying to g_unichar_validate().</p><p>
83
84 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_ucs4</tt></i> :</span></td><td> const gunichar * type string to validate.
85 Invalid string input is forbidden.
86 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> <tt>TRUE</tt> if the string is valid.
87 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-validate-ucs2"></a>captive_validate_ucs2 ()</h3><pre class="programlisting">gboolean    captive_validate_ucs2           (const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> *string_ucs2);</pre><p>
88 Checks the validity of all 16-bit unicharacters of 0-terminated string.
89 It is required to have characters complying to g_unichar_validate().</p><p>
90
91 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_ucs2</tt></i> :</span></td><td> const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> * type string to validate.
92 Invalid string input is forbidden.
93 UTF-16 encoded strings are forbidden.
94 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> <tt>TRUE</tt> if the string is valid.
95 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-validate-ucs2-fixlen"></a>captive_validate_ucs2_fixlen ()</h3><pre class="programlisting">gboolean    captive_validate_ucs2_fixlen    (const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> *string_ucs2,
96                                              glong string_ucs2_fixlen);</pre><p>
97 Checks the validity of first <i><tt>string_ucs2_fixlen</tt></i> 16-bit unicharacters of <i><tt>string_ucs2</tt></i>.
98 It is required to have characters complying to g_unichar_validate().
99 String length must be equal or larger than <i><tt>string_ucs2_fixlen</tt></i>;</p><p>
100
101 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_ucs2</tt></i> :</span></td><td> const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> * type string to validate.
102 Invalid string input is forbidden.
103 UTF-16 encoded strings are forbidden.
104 </td></tr><tr><td><span class="term"><i><tt>string_ucs2_fixlen</tt></i> :</span></td><td> Number of characters from <i><tt>string_ucs2</tt></i> to check.
105 captive_ucs2_strlen(<i><tt>string_ucs2</tt></i>)&gt;=<i><tt>string_ucs2_fixlen</tt></i> is required.
106 Negative value is forbidden.
107 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> <tt>TRUE</tt> if the string is valid.
108 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-validate-utf8"></a>captive_validate_utf8 ()</h3><pre class="programlisting">gboolean    captive_validate_utf8           (const gchar *string_utf8);</pre><p>
109 Checks the validity of all utf8 of 0-terminated string.
110 It is required to have characters complying to g_utf8_validate().</p><p>
111
112 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_utf8</tt></i> :</span></td><td> const gchar * utf8 type string to validate.
113 Invalid string input is forbidden.
114 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> <tt>TRUE</tt> if the string is valid.
115 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-ucs2-strlen"></a>captive_ucs2_strlen ()</h3><pre class="programlisting">glong       captive_ucs2_strlen             (const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> *string_ucs2);</pre><p>
116 Counts the number of characters (=2bytes) in <i><tt>strings_ucs2</tt></i>.</p><p>
117
118 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_ucs2</tt></i> :</span></td><td> String of type const gunichar2 * in pure UCS-2
119 Invalid string input is forbidden. UTF-16 encoded pairs are forbidden.
120 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> <i><tt>string_ucs2</tt></i> length in UCS-2 characters.
121 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-validate-UnicodeString"></a>captive_validate_UnicodeString ()</h3><pre class="programlisting">gboolean    captive_validate_UnicodeString  (const UNICODE_STRING *string_UnicodeString);</pre><p>
122 Checks the internal consistency of the given <i><tt>string_UnicodeString</tt></i>.
123 It is required to have characters complying to g_unichar_validate().
124 <i><tt>string_UnicodeString</tt></i> MUST be zero-terminated.</p><p>
125
126 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_UnicodeString</tt></i> :</span></td><td> PUNICODE_STRING type string to validate.
127 Invalid string input is forbidden.
128 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> <tt>TRUE</tt> if the string is valid.
129 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-validate-UnicodeString-noterm"></a>captive_validate_UnicodeString_noterm ()</h3><pre class="programlisting">gboolean    captive_validate_UnicodeString_noterm
130                                             (const UNICODE_STRING *string_UnicodeString_noterm);</pre><p>
131 Checks the internal consistency of the given <i><tt>string_UnicodeString</tt></i>.
132 It is required to have characters complying to g_unichar_validate().
133 <i><tt>string_UnicodeString_noterm</tt></i> does not neet to be zero-terminated.</p><p>
134
135 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_UnicodeString_noterm</tt></i> :</span></td><td> PUNICODE_STRING type string to validate.
136 Invalid string input is forbidden.
137 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> <tt>TRUE</tt> if the string is valid.
138 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-validate-AnsiString"></a>captive_validate_AnsiString ()</h3><pre class="programlisting">gboolean    captive_validate_AnsiString     (const ANSI_STRING *string_AnsiString);</pre><p>
139 Checks the internal consistency of the given <i><tt>string_AnsiString</tt></i>.</p><p>
140
141 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_AnsiString</tt></i> :</span></td><td> PANSI_STRING type string to validate.
142 Invalid string input is forbidden.
143 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> <tt>TRUE</tt> if the string is valid.
144 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-UnicodeString-to-utf8-malloc"></a>captive_UnicodeString_to_utf8_malloc ()</h3><pre class="programlisting">gchar*      captive_UnicodeString_to_utf8_malloc
145                                             (const UNICODE_STRING *string_UnicodeString);</pre><p>
146 g_malloc()-based conversion from PUNICODE_STRING to plain utf8 string.
147 You must free the result with g_free() function.</p><p>
148
149 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_UnicodeString</tt></i> :</span></td><td> PUNICODE_STRING type of string to convert.
150 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> const gchar * g_malloc()ed converted string <i><tt>string_UnicodeString</tt></i>.
151 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-utf8-to-UnicodeString-malloc"></a>captive_utf8_to_UnicodeString_malloc ()</h3><pre class="programlisting">PUNICODE_STRING captive_utf8_to_UnicodeString_malloc
152                                             (const gchar *string_utf8);</pre><p>
153 g_malloc()-based conversion from plain utf8 string to PUNICODE_STRING.
154 You must free the result with g_free() function.</p><p>
155
156 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_utf8</tt></i> :</span></td><td> const gchar * string in utf8 to convert.
157 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> PUNICODE_STRING g_malloc()ed converted string <i><tt>string_utf8</tt></i>.
158 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-ucs4-to-utf16-const"></a>captive_ucs4_to_utf16_const ()</h3><pre class="programlisting">const gunichar2* captive_ucs4_to_utf16_const
159                                             (const gunichar *string_ucs4);</pre><p>
160 Constant string conversion from 32-bit wchar_t to 16-bit (possible pairs of) UTF-16.
161 You may not modify the result in any way.
162 </p><p>
163 It is guaranteed to get two different string addresses for two different
164 input addresses even if the input strings content is the same.
165 Otherwise we would behave as GCC option <tt>-fmerge</tt>-constants which
166 results in <tt>C</tt> non-conforming behaviour.
167 </p><p>
168 FIXME: UTF-16 encoding IS NOT IMPLEMENTED.
169 </p><p>
170 See also <a href="captive-apiref-unicode-reactos.html#captive-ucs4-to-ucs2-const">captive_ucs4_to_ucs2_const</a>().</p><p>
171
172 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_ucs4</tt></i> :</span></td><td> const gunichar * type of persistent string to convert.
173 This string MUST remain readable with the same content forever.
174 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> const gunichar2 * converted string <i><tt>string_ucs4</tt></i>.
175 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-ucs2-compare"></a>captive_ucs2_compare ()</h3><pre class="programlisting">gboolean    captive_ucs2_compare            (const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> *string_a_ucs2,
176                                              const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> *string_b_ucs2);</pre><p>
177 Compares case-sensitively <i><tt>string_a_ucs2</tt></i> and <i><tt>string_b_ucs2</tt></i>.</p><p>
178
179 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_a_ucs2</tt></i> :</span></td><td> First string of type const gunichar2 * in pure UCS-2.
180 Invalid string input is forbidden. UTF-16 encoded pairs are forbidden.
181 </td></tr><tr><td><span class="term"><i><tt>string_b_ucs2</tt></i> :</span></td><td> Second string of type const gunichar2 * in pure UCS-2.
182 Invalid string input is forbidden. UTF-16 encoded pairs are forbidden.
183 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> <tt>TRUE</tt> if <i><tt>string_a_ucs2</tt></i> and <i><tt>string_b_ucs2</tt></i> are the same.
184 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-UnicodeString-compare"></a>captive_UnicodeString_compare ()</h3><pre class="programlisting">gboolean    captive_UnicodeString_compare   (const UNICODE_STRING *string_a_UnicodeString,
185                                              const UNICODE_STRING *string_b_UnicodeString);</pre><p>
186 Compares case-sensitively <i><tt>string_a_UnicodeString</tt></i> and <i><tt>string_b_UnicodeString</tt></i>.</p><p>
187
188 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_a_UnicodeString</tt></i> :</span></td><td> First string of type PUNICODE_STRING.
189 Invalid string input is forbidden.
190 </td></tr><tr><td><span class="term"><i><tt>string_b_UnicodeString</tt></i> :</span></td><td> Second string of type PUNICODE_STRING.
191 Invalid string input is forbidden.
192 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> <tt>TRUE</tt> if <i><tt>string_a_UnicodeString</tt></i> and <i><tt>string_b_UnicodeString</tt></i> are the same.
193 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-ucs2-compare-insensitive"></a>captive_ucs2_compare_insensitive ()</h3><pre class="programlisting">gboolean    captive_ucs2_compare_insensitive
194                                             (const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> *string_a_ucs2,
195                                              const <a href="captive-apiref-unicode-reactos.html#captive-ucs2">captive_ucs2</a> *string_b_ucs2);</pre><p>
196 Compares case-insensitively <i><tt>string_a_ucs2</tt></i> and <i><tt>string_b_ucs2</tt></i>.</p><p>
197
198 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_a_ucs2</tt></i> :</span></td><td> First string of type const gunichar2 * in pure UCS-2.
199 Invalid string input is forbidden. UTF-16 encoded pairs are forbidden.
200 </td></tr><tr><td><span class="term"><i><tt>string_b_ucs2</tt></i> :</span></td><td> Second string of type const gunichar2 * in pure UCS-2.
201 Invalid string input is forbidden. UTF-16 encoded pairs are forbidden.
202 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> <tt>TRUE</tt> if <i><tt>string_a_ucs2</tt></i> and <i><tt>string_b_ucs2</tt></i> are the same.
203 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-UnicodeString-compare-insensitive"></a>captive_UnicodeString_compare_insensitive ()</h3><pre class="programlisting">gboolean    captive_UnicodeString_compare_insensitive
204                                             (const UNICODE_STRING *string_a_UnicodeString,
205                                              const UNICODE_STRING *string_b_UnicodeString);</pre><p>
206 Compares case-insensitively <i><tt>string_a_UnicodeString</tt></i> and <i><tt>string_b_UnicodeString</tt></i>.</p><p>
207
208 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>string_a_UnicodeString</tt></i> :</span></td><td> First string of type PUNICODE_STRING.
209 Invalid string input is forbidden.
210 </td></tr><tr><td><span class="term"><i><tt>string_b_UnicodeString</tt></i> :</span></td><td> Second string of type PUNICODE_STRING.
211 Invalid string input is forbidden.
212 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> <tt>TRUE</tt> if <i><tt>string_a_UnicodeString</tt></i> and <i><tt>string_b_UnicodeString</tt></i> are the same.
213 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="captive-FsRtlLegalAnsiCharacterArray-init"></a>captive_FsRtlLegalAnsiCharacterArray_init ()</h3><pre class="programlisting">void        captive_FsRtlLegalAnsiCharacterArray_init
214                                             (void);</pre><p>
215 Initialize FsRtlLegalAnsiCharacterArray character classes
216 by appropriate FSRTL_FAT_LEGAL etc. flags.</p><p>
217
218 </p></div></div></div><table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"><td align="left"><a accesskey="p" href="captive-apiref-ps-reactos.html"><b>&lt;&lt; ps_reactos</b></a></td><td align="right"><a accesskey="n" href="captive-apiref-unicode-reactos.html"><b>unicode_reactos &gt;&gt;</b></a></td></tr></table></body></html>