winapi_ui_automation/um/
shtypes.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.
6//! this ALWAYS GENERATED file contains the definitions for the interfaces
7use shared::guiddef::GUID;
8use shared::minwindef::{BYTE, USHORT};
9use um::winnt::LPCWSTR;
10STRUCT!{#[repr(packed)] struct SHITEMID {
11    cb: USHORT,
12    abID: [BYTE; 1],
13}}
14pub type LPSHITEMID = *mut SHITEMID;
15pub type LPCSHITEMID = *const SHITEMID;
16STRUCT!{#[repr(packed)] struct ITEMIDLIST {
17    mkid: SHITEMID,
18}}
19pub type ITEMIDLIST_RELATIVE = ITEMIDLIST;
20pub type ITEMID_CHILD = ITEMIDLIST;
21pub type ITEMIDLIST_ABSOLUTE = ITEMIDLIST;
22pub type LPITEMIDLIST = *mut ITEMIDLIST;
23pub type LPCITEMIDLIST = *const ITEMIDLIST;
24pub type PIDLIST_ABSOLUTE = *mut ITEMIDLIST_ABSOLUTE;
25pub type PCIDLIST_ABSOLUTE = *const ITEMIDLIST_ABSOLUTE;
26pub type PCUIDLIST_ABSOLUTE = *const ITEMIDLIST_ABSOLUTE;
27pub type PIDLIST_RELATIVE = *mut ITEMIDLIST_RELATIVE;
28pub type PCIDLIST_RELATIVE = *const ITEMIDLIST_RELATIVE;
29pub type PUIDLIST_RELATIVE = *mut ITEMIDLIST_RELATIVE;
30pub type PCUIDLIST_RELATIVE = *const ITEMIDLIST_RELATIVE;
31pub type PITEMID_CHILD = *mut ITEMID_CHILD;
32pub type PCITEMID_CHILD = *const ITEMID_CHILD;
33pub type PUITEMID_CHILD = *mut ITEMID_CHILD;
34pub type PCUITEMID_CHILD = *const ITEMID_CHILD;
35pub type PCUITEMID_CHILD_ARRAY = *const PCUITEMID_CHILD;
36pub type PCUIDLIST_RELATIVE_ARRAY = *const PCUIDLIST_RELATIVE;
37pub type PCIDLIST_ABSOLUTE_ARRAY = *const PCIDLIST_ABSOLUTE;
38pub type PCUIDLIST_ABSOLUTE_ARRAY = *const PCUIDLIST_ABSOLUTE;
39STRUCT!{struct COMDLG_FILTERSPEC {
40    pszName: LPCWSTR,
41    pszSpec: LPCWSTR,
42}}
43pub type KNOWNFOLDERID = GUID;
44pub type REFKNOWNFOLDERID = *const KNOWNFOLDERID;