winapi_ui_automation/shared/
stralign.rs

1// Licensed under the Apache License, Version 2.0
2// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4// All files in the project carrying such notice may not be copied, modified, or distributed
5// except according to those terms.
6use ctypes::c_int;
7use um::winnt::{LPCUWSTR, PCUWSTR, PUWSTR, WCHAR};
8use vc::vcruntime::size_t;
9extern "system" {
10    pub fn uaw_lstrcmpW(
11        String1: PCUWSTR,
12        String2: PCUWSTR,
13    ) -> c_int;
14    pub fn uaw_lstrcmpiW(
15        String1: PCUWSTR,
16        String2: PCUWSTR,
17    ) -> c_int;
18    pub fn uaw_lstrlenW(
19        String: LPCUWSTR,
20    ) -> c_int;
21    pub fn uaw_wcschr(
22        String: PCUWSTR,
23        Character: WCHAR,
24    ) -> PUWSTR;
25    pub fn uaw_wcscpy(
26        Destination: PUWSTR,
27        Source: PCUWSTR,
28    ) -> PUWSTR;
29    pub fn uaw_wcsicmp(
30        String1: PCUWSTR,
31        String2: PCUWSTR,
32    ) -> c_int;
33    pub fn uaw_wcslen(
34        String: PCUWSTR,
35    ) -> size_t;
36    pub fn uaw_wcsrchr(
37        String: PCUWSTR,
38        Character: WCHAR,
39    ) -> PUWSTR;
40}