]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Phone/PersonalInformation/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Phone / PersonalInformation / mod.rs
CommitLineData
5e7ed085
FG
1#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2#[cfg(feature = "Phone_PersonalInformation_Provisioning")]
3pub mod Provisioning;
4pub type ContactAddress = *mut ::core::ffi::c_void;
5pub type ContactChangeRecord = *mut ::core::ffi::c_void;
04454e1e 6#[doc = "*Required features: `\"Phone_PersonalInformation\"`*"]
5e7ed085
FG
7#[repr(transparent)]
8pub struct ContactChangeType(pub i32);
9impl ContactChangeType {
10 pub const Created: Self = Self(0i32);
11 pub const Modified: Self = Self(1i32);
12 pub const Deleted: Self = Self(2i32);
13}
14impl ::core::marker::Copy for ContactChangeType {}
15impl ::core::clone::Clone for ContactChangeType {
16 fn clone(&self) -> Self {
17 *self
18 }
19}
20pub type ContactInformation = *mut ::core::ffi::c_void;
21pub type ContactQueryOptions = *mut ::core::ffi::c_void;
22pub type ContactQueryResult = *mut ::core::ffi::c_void;
04454e1e 23#[doc = "*Required features: `\"Phone_PersonalInformation\"`*"]
5e7ed085
FG
24#[repr(transparent)]
25pub struct ContactQueryResultOrdering(pub i32);
26impl ContactQueryResultOrdering {
27 pub const SystemDefault: Self = Self(0i32);
28 pub const GivenNameFamilyName: Self = Self(1i32);
29 pub const FamilyNameGivenName: Self = Self(2i32);
30}
31impl ::core::marker::Copy for ContactQueryResultOrdering {}
32impl ::core::clone::Clone for ContactQueryResultOrdering {
33 fn clone(&self) -> Self {
34 *self
35 }
36}
37pub type ContactStore = *mut ::core::ffi::c_void;
04454e1e 38#[doc = "*Required features: `\"Phone_PersonalInformation\"`*"]
5e7ed085
FG
39#[repr(transparent)]
40pub struct ContactStoreApplicationAccessMode(pub i32);
41impl ContactStoreApplicationAccessMode {
42 pub const LimitedReadOnly: Self = Self(0i32);
43 pub const ReadOnly: Self = Self(1i32);
44}
45impl ::core::marker::Copy for ContactStoreApplicationAccessMode {}
46impl ::core::clone::Clone for ContactStoreApplicationAccessMode {
47 fn clone(&self) -> Self {
48 *self
49 }
50}
04454e1e 51#[doc = "*Required features: `\"Phone_PersonalInformation\"`*"]
5e7ed085
FG
52#[repr(transparent)]
53pub struct ContactStoreSystemAccessMode(pub i32);
54impl ContactStoreSystemAccessMode {
55 pub const ReadOnly: Self = Self(0i32);
56 pub const ReadWrite: Self = Self(1i32);
57}
58impl ::core::marker::Copy for ContactStoreSystemAccessMode {}
59impl ::core::clone::Clone for ContactStoreSystemAccessMode {
60 fn clone(&self) -> Self {
61 *self
62 }
63}
64pub type IContactInformation = *mut ::core::ffi::c_void;
65pub type IContactInformation2 = *mut ::core::ffi::c_void;
66pub type StoredContact = *mut ::core::ffi::c_void;
04454e1e 67#[doc = "*Required features: `\"Phone_PersonalInformation\"`*"]
5e7ed085
FG
68#[repr(transparent)]
69pub struct VCardFormat(pub i32);
70impl VCardFormat {
71 pub const Version2_1: Self = Self(0i32);
72 pub const Version3: Self = Self(1i32);
73}
74impl ::core::marker::Copy for VCardFormat {}
75impl ::core::clone::Clone for VCardFormat {
76 fn clone(&self) -> Self {
77 *self
78 }
79}