]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys-0.28.0/src/Windows/Services/Maps/OfflineMaps/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys-0.28.0 / src / Windows / Services / Maps / OfflineMaps / mod.rs
CommitLineData
064997fb
FG
1#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2#[link(name = "windows")]
3extern "system" {}
4pub type OfflineMapPackage = *mut ::core::ffi::c_void;
5pub type OfflineMapPackageQueryResult = *mut ::core::ffi::c_void;
6#[repr(transparent)]
7pub struct OfflineMapPackageQueryStatus(pub i32);
8impl OfflineMapPackageQueryStatus {
9 pub const Success: Self = Self(0i32);
10 pub const UnknownError: Self = Self(1i32);
11 pub const InvalidCredentials: Self = Self(2i32);
12 pub const NetworkFailure: Self = Self(3i32);
13}
14impl ::core::marker::Copy for OfflineMapPackageQueryStatus {}
15impl ::core::clone::Clone for OfflineMapPackageQueryStatus {
16 fn clone(&self) -> Self {
17 *self
18 }
19}
20pub type OfflineMapPackageStartDownloadResult = *mut ::core::ffi::c_void;
21#[repr(transparent)]
22pub struct OfflineMapPackageStartDownloadStatus(pub i32);
23impl OfflineMapPackageStartDownloadStatus {
24 pub const Success: Self = Self(0i32);
25 pub const UnknownError: Self = Self(1i32);
26 pub const InvalidCredentials: Self = Self(2i32);
27 pub const DeniedWithoutCapability: Self = Self(3i32);
28}
29impl ::core::marker::Copy for OfflineMapPackageStartDownloadStatus {}
30impl ::core::clone::Clone for OfflineMapPackageStartDownloadStatus {
31 fn clone(&self) -> Self {
32 *self
33 }
34}
35#[repr(transparent)]
36pub struct OfflineMapPackageStatus(pub i32);
37impl OfflineMapPackageStatus {
38 pub const NotDownloaded: Self = Self(0i32);
39 pub const Downloading: Self = Self(1i32);
40 pub const Downloaded: Self = Self(2i32);
41 pub const Deleting: Self = Self(3i32);
42}
43impl ::core::marker::Copy for OfflineMapPackageStatus {}
44impl ::core::clone::Clone for OfflineMapPackageStatus {
45 fn clone(&self) -> Self {
46 *self
47 }
48}