[INFO] cloning repository https://github.com/lucasvanmol/auto-usb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucasvanmol/auto-usb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasvanmol%2Fauto-usb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasvanmol%2Fauto-usb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 10311fa8122c1d008ad9e320b7285e53e83659f8
[INFO] documenting lucasvanmol/auto-usb against beta-2023-04-20 for beta-1.70-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasvanmol%2Fauto-usb" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lucasvanmol/auto-usb on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/lucasvanmol/auto-usb
[INFO] finished tweaking git repo https://github.com/lucasvanmol/auto-usb
[INFO] tweaked toml for git repo https://github.com/lucasvanmol/auto-usb written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/lucasvanmol/auto-usb already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4c40f8378bd00fd083124dc6fd9c1a5634c02d9c0c46aba8951f78a16156a579
[INFO] running `Command { std: "docker" "start" "-a" "4c40f8378bd00fd083124dc6fd9c1a5634c02d9c0c46aba8951f78a16156a579", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4c40f8378bd00fd083124dc6fd9c1a5634c02d9c0c46aba8951f78a16156a579", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c40f8378bd00fd083124dc6fd9c1a5634c02d9c0c46aba8951f78a16156a579", kill_on_drop: false }`
[INFO] [stdout] 4c40f8378bd00fd083124dc6fd9c1a5634c02d9c0c46aba8951f78a16156a579
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 47751d318b516dd400acf9f48557739570ec76cd7e3e58addf362e0b78bcd3ee
[INFO] running `Command { std: "docker" "start" "-a" "47751d318b516dd400acf9f48557739570ec76cd7e3e58addf362e0b78bcd3ee", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling windows_reader v0.21.1
[INFO] [stderr]    Compiling windows_quote v0.21.1
[INFO] [stderr]    Compiling const-sha1 v0.2.0
[INFO] [stderr]     Checking windows_gen v0.21.1
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling windows_macros v0.21.1
[INFO] [stderr]    Compiling windows v0.21.1
[INFO] [stderr]    Compiling bindings v0.1.0 (/opt/rustwide/workdir/bindings)
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/bindings-fc13a12ed27d7dee/out/windows.rs:1:244412
[INFO] [stdout]   |
[INFO] [stdout] 1 | ...aram { if ! value . is_null ( ) { unsafe { :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: Into...
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]   = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]   |
[INFO] [stdout] 1 | # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Windows { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Win32 { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Foundation { pub const APPMODEL_ERROR_DYNAMIC_PROPERTY_INVALID : i32 = 15705i32 ; pub const APPMODEL_ERROR_DYNAMIC_PROPERTY_READ_FAILED : i32 = 15704i32 ; pub const APPMODEL_ERROR_NO_APPLICATION : i32 = 15703i32 ; pub const APPMODEL_ERROR_NO_MUTABLE_DIRECTORY : i32 = 15707i32 ; pub const APPMODEL_ERROR_NO_PACKAGE : i32 = 15700i32 ; pub const APPMODEL_ERROR_PACKAGE_IDENTITY_CORRUPT : i32 = 15702i32 ; pub const APPMODEL_ERROR_PACKAGE_NOT_AVAILABLE : i32 = 15706i32 ; pub const APPMODEL_ERROR_PACKAGE_RUNTIME_CORRUPT : i32 = 15701i32 ; pub const APPX_E_BLOCK_HASH_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958841i32 as _ ) ; pub const APPX_E_CORRUPT_CONTENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958842i32 as _ ) ; pub const APPX_E_DELTA_APPENDED_PACKAGE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958832i32 as _ ) ; pub const APPX_E_DELTA_BASELINE_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958835i32 as _ ) ; pub const APPX_E_DELTA_PACKAGE_MISSING_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958834i32 as _ ) ; pub const APPX_E_FILE_COMPRESSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958828i32 as _ ) ; pub const APPX_E_INTERLEAVING_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958847i32 as _ ) ; pub const APPX_E_INVALID_APPINSTALLER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958836i32 as _ ) ; pub const APPX_E_INVALID_BLOCKMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958843i32 as _ ) ; pub const APPX_E_INVALID_CONTENTGROUPMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958837i32 as _ ) ; pub const APPX_E_INVALID_DELTA_PACKAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958833i32 as _ ) ; pub const APPX_E_INVALID_ENCRYPTION_EXCLUSION_FILE_LIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958826i32 as _ ) ; pub const APPX_E_INVALID_KEY_INFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958838i32 as _ ) ; pub const APPX_E_INVALID_MANIFEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958844i32 as _ ) ; pub const APPX_E_INVALID_PACKAGESIGNCONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958830i32 as _ ) ; pub const APPX_E_INVALID_PACKAGING_LAYOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958831i32 as _ ) ; pub const APPX_E_INVALID_PAYLOAD_PACKAGE_EXTENSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958827i32 as _ ) ; pub const APPX_E_INVALID_SIP_CLIENT_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958839i32 as _ ) ; pub const APPX_E_MISSING_REQUIRED_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958845i32 as _ ) ; pub const APPX_E_PACKAGING_INTERNAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958848i32 as _ ) ; pub const APPX_E_RELATIONSHIPS_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958846i32 as _ ) ; pub const APPX_E_REQUESTED_RANGE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958840i32 as _ ) ; pub const APPX_E_RESOURCESPRI_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958829i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct APP_LOCAL_DEVICE_ID { pub value : [ u8 ;32 ] } impl APP_LOCAL_DEVICE_ID { } impl :: std :: default :: Default for APP_LOCAL_DEVICE_ID { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for APP_LOCAL_DEVICE_ID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "APP_LOCAL_DEVICE_ID" ) . field ( "value" , & self . value ) . finish ( ) } } impl :: std :: cmp :: PartialEq for APP_LOCAL_DEVICE_ID { fn eq ( & self , other : & Self ) -> bool { self . value == other . value } } impl :: std :: cmp :: Eq for APP_LOCAL_DEVICE_ID { } unsafe impl :: windows :: Abi for APP_LOCAL_DEVICE_ID { type Abi = Self ; type DefaultType = Self ; } pub const APP_LOCAL_DEVICE_ID_SIZE : u32 = 32u32 ; # [ repr ( transparent ) ] # [ derive ( :: std :: default :: Default , :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct BOOL ( pub i32 ) ; unsafe impl :: windows :: Abi for BOOL { type Abi = Self ; type DefaultType = Self ; } impl BOOL { # [ inline ] pub fn as_bool ( self ) -> bool { ! ( self . 0 == 0 ) } # [ inline ] pub fn ok ( self ) -> :: windows :: Result < ( ) > { if self . as_bool ( ) { Ok ( ( ) ) } else { Err ( :: windows :: Error :: from_win32 ( ) ) } } # [ inline ] # [ track_caller ] pub fn unwrap ( self ) { self . ok ( ) . unwrap ( ) ; } # [ inline ] # [ track_caller ] pub fn expect ( self , msg : & str ) { self . ok ( ) . expect ( msg ) ; } } impl :: std :: convert :: From < BOOL > for bool { fn from ( value : BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < & BOOL > for bool { fn from ( value : & BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < bool > for BOOL { fn from ( value : bool ) -> Self { if value { BOOL ( 1 ) } else { BOOL ( 0 ) } } } impl :: std :: convert :: From < & bool > for BOOL { fn from ( value : & bool ) -> Self { ( * value ) . into ( ) } } impl :: std :: cmp :: PartialEq < bool > for BOOL { fn eq ( & self , other : & bool ) -> bool { self . as_bool ( ) == * other } } impl :: std :: cmp :: PartialEq < BOOL > for bool { fn eq ( & self , other : & BOOL ) -> bool { * self == other . as_bool ( ) } } impl std :: ops :: Not for BOOL { type Output = Self ; fn not ( self ) -> Self :: Output { if self . as_bool ( ) { BOOL ( 0 ) } else { BOOL ( 1 ) } } } impl < 'a > :: windows :: IntoParam < 'a , BOOL > for bool { fn into_param ( self ) -> :: windows :: Param < 'a , BOOL > { :: windows :: Param :: Owned ( self . into ( ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct BOOLEAN ( pub u8 ) ; impl :: std :: default :: Default for BOOLEAN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for BOOLEAN { } unsafe impl :: windows :: Abi for BOOLEAN { type Abi = Self ; type DefaultType = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: Eq ) ] pub struct BSTR ( pub * mut u16 ) ; impl BSTR { # [ doc = r" Create an empty `BSTR`." ] # [ doc = r"" ] # [ doc = r" This function does not allocate memory." ] pub fn new ( ) -> Self { Self ( std :: ptr :: null_mut ( ) ) } # [ doc = r" Returns `true` if the string is empty." ] pub fn is_empty ( & self ) -> bool { self . 0 . is_null ( ) } # [ doc = r" Returns the length of the string." ] pub fn len ( & self ) -> usize { if self . is_empty ( ) { return 0 ; } unsafe { SysStringLen ( self ) as usize } } # [ doc = r" Create a `BSTR` from a slice of 16-bit characters." ] pub fn from_wide ( value : & [ u16 ] ) -> Self { if value . len ( ) == 0 { return Self ( :: std :: ptr :: null_mut ( ) ) ; } unsafe { SysAllocStringLen ( PWSTR ( value . as_ptr ( ) as _ ) , value . len ( ) as u32 , ) } } # [ doc = r" Get the string as 16-bit characters." ] pub fn as_wide ( & self ) -> & [ u16 ] { if self . 0 . is_null ( ) { return & [ ] ; } unsafe { :: std :: slice :: from_raw_parts ( self . 0 as * const u16 , self . len ( ) ) } } } impl :: std :: clone :: Clone for BSTR { fn clone ( & self ) -> Self { Self :: from_wide ( self . as_wide ( ) ) } } impl :: std :: convert :: From < & str > for BSTR { fn from ( value : & str ) -> Self { let value : :: std :: vec :: Vec < u16 > = value . encode_utf16 ( ) . collect ( ) ; Self :: from_wide ( & value ) } } impl :: std :: convert :: From < :: std :: string :: String > for BSTR { fn from ( value : :: std :: string :: String ) -> Self { value . as_str ( ) . into ( ) } } impl :: std :: convert :: From < & :: std :: string :: String > for BSTR { fn from ( value : & :: std :: string :: String ) -> Self { value . as_str ( ) . into ( ) } } impl < 'a > :: std :: convert :: TryFrom < & 'a BSTR > for :: std :: string :: String { type Error = :: std :: string :: FromUtf16Error ; fn try_from ( value : & BSTR ) -> :: std :: result :: Result < Self , Self :: Error > { :: std :: string :: String :: from_utf16 ( value . as_wide ( ) ) } } impl :: std :: convert :: TryFrom < BSTR > for :: std :: string :: String { type Error = :: std :: string :: FromUtf16Error ; fn try_from ( value : BSTR ) -> :: std :: result :: Result < Self , Self :: Error > { :: std :: string :: String :: try_from ( & value ) } } impl :: std :: default :: Default for BSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } impl :: std :: fmt :: Display for BSTR { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { use :: std :: fmt :: Write ; for c in :: std :: char :: decode_utf16 ( self . as_wide ( ) . iter ( ) . cloned ( ) ) { f . write_char ( c . map_err ( | _ | :: std :: fmt :: Error ) ? ) ? } Ok ( ( ) ) } } impl :: std :: fmt :: Debug for BSTR { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { :: std :: write ! ( f , "{}" , self ) } } impl :: std :: cmp :: PartialEq for BSTR { fn eq ( & self , other : & Self ) -> bool { self . as_wide ( ) == other . as_wide ( ) } } impl :: std :: cmp :: PartialEq < :: std :: string :: String > for BSTR { fn eq ( & self , other : & :: std :: string :: String ) -> bool { self == other . as_str ( ) } } impl :: std :: cmp :: PartialEq < str > for BSTR { fn eq ( & self , other : & str ) -> bool { self == other } } impl :: std :: cmp :: PartialEq < & str > for BSTR { fn eq ( & self , other : && str ) -> bool { self . as_wide ( ) . iter ( ) . copied ( ) . eq ( other . encode_utf16 ( ) ) } } impl :: std :: cmp :: PartialEq < BSTR > for & str { fn eq ( & self , other : & BSTR ) -> bool { other == self } } impl :: std :: ops :: Drop for BSTR { fn drop ( & mut self ) { if ! self . 0 . is_null ( ) { unsafe { SysFreeString ( self as & Self ) } } } } unsafe impl :: windows :: Abi for BSTR { type Abi = :: std :: mem :: ManuallyDrop < Self > ; type DefaultType = Self ; } pub type BSTR_abi = * mut u16 ; pub const BT_E_SPURIOUS_ACTIVATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958592i32 as _ ) ; pub const CACHE_E_FIRST : i32 = -2147221136i32 ; pub const CACHE_E_LAST : i32 = -2147221121i32 ; pub const CACHE_E_NOCACHE_UPDATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221136i32 as _ ) ; pub const CACHE_S_FIRST : i32 = 262512i32 ; pub const CACHE_S_FORMATETC_NOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( 262512i32 as _ ) ; pub const CACHE_S_LAST : i32 = 262527i32 ; pub const CACHE_S_SAMECACHE : :: windows :: HRESULT = :: windows :: HRESULT ( 262513i32 as _ ) ; pub const CACHE_S_SOMECACHES_NOTUPDATED : :: windows :: HRESULT = :: windows :: HRESULT ( 262514i32 as _ ) ; pub const CAT_E_CATIDNOEXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221152i32 as _ ) ; pub const CAT_E_FIRST : i32 = -2147221152i32 ; pub const CAT_E_LAST : i32 = -2147221151i32 ; pub const CAT_E_NODESCRIPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221151i32 as _ ) ; pub const CERTSRV_E_ADMIN_DENIED_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877420i32 as _ ) ; pub const CERTSRV_E_ALIGNMENT_FAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877424i32 as _ ) ; pub const CERTSRV_E_ARCHIVED_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875388i32 as _ ) ; pub const CERTSRV_E_ARCHIVED_KEY_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875376i32 as _ ) ; pub const CERTSRV_E_BAD_RENEWAL_CERT_ATTRIBUTE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877426i32 as _ ) ; pub const CERTSRV_E_BAD_RENEWAL_SUBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875386i32 as _ ) ; pub const CERTSRV_E_BAD_REQUESTSTATUS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877437i32 as _ ) ; pub const CERTSRV_E_BAD_REQUESTSUBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877439i32 as _ ) ; pub const CERTSRV_E_BAD_REQUEST_KEY_ARCHIVAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877428i32 as _ ) ; pub const CERTSRV_E_BAD_TEMPLATE_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875385i32 as _ ) ; pub const CERTSRV_E_CERT_TYPE_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875372i32 as _ ) ; pub const CERTSRV_E_CORRUPT_KEY_ATTESTATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875365i32 as _ ) ; pub const CERTSRV_E_DOWNLEVEL_DC_SSL_OR_UPGRADE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877421i32 as _ ) ; pub const CERTSRV_E_ENCODING_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877433i32 as _ ) ; pub const CERTSRV_E_ENCRYPTION_CERT_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877416i32 as _ ) ; pub const CERTSRV_E_ENROLL_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877423i32 as _ ) ; pub const CERTSRV_E_EXPIRED_CHALLENGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875364i32 as _ ) ; pub const CERTSRV_E_INVALID_ATTESTATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875367i32 as _ ) ; pub const CERTSRV_E_INVALID_CA_CERTIFICATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877435i32 as _ ) ; pub const CERTSRV_E_INVALID_EK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875369i32 as _ ) ; pub const CERTSRV_E_INVALID_IDBINDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875368i32 as _ ) ; pub const CERTSRV_E_INVALID_REQUESTID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875362i32 as _ ) ; pub const CERTSRV_E_INVALID_RESPONSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875363i32 as _ ) ; pub const CERTSRV_E_ISSUANCE_POLICY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875380i32 as _ ) ; pub const CERTSRV_E_KEY_ARCHIVAL_NOT_CONFIGURED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877430i32 as _ ) ; pub const CERTSRV_E_KEY_ATTESTATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875366i32 as _ ) ; pub const CERTSRV_E_KEY_ATTESTATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877417i32 as _ ) ; pub const CERTSRV_E_KEY_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875375i32 as _ ) ; pub const CERTSRV_E_NO_CAADMIN_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877427i32 as _ ) ; pub const CERTSRV_E_NO_CERT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875391i32 as _ ) ; pub const CERTSRV_E_NO_DB_SESSIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877425i32 as _ ) ; pub const CERTSRV_E_NO_POLICY_SERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877419i32 as _ ) ; pub const CERTSRV_E_NO_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877438i32 as _ ) ; pub const CERTSRV_E_NO_VALID_KRA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877429i32 as _ ) ; pub const CERTSRV_E_PENDING_CLIENT_RESPONSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875360i32 as _ ) ; pub const CERTSRV_E_PROPERTY_EMPTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877436i32 as _ ) ; pub const CERTSRV_E_RENEWAL_BAD_PUBLIC_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875370i32 as _ ) ; pub const CERTSRV_E_REQUEST_PRECERTIFICATE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875361i32 as _ ) ; pub const CERTSRV_E_RESTRICTEDOFFICER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877431i32 as _ ) ; pub const CERTSRV_E_ROLECONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877432i32 as _ ) ; pub const CERTSRV_E_SERVER_SUSPENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877434i32 as _ ) ; pub const CERTSRV_E_SIGNATURE_COUNT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875382i32 as _ ) ; pub const CERTSRV_E_SIGNATURE_POLICY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875383i32 as _ ) ; pub const CERTSRV_E_SIGNATURE_REJECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875381i32 as _ ) ; pub const CERTSRV_E_SMIME_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875387i32 as _ ) ; pub const CERTSRV_E_SUBJECT_ALT_NAME_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875389i32 as _ ) ; pub const CERTSRV_E_SUBJECT_DIRECTORY_GUID_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875378i32 as _ ) ; pub const CERTSRV_E_SUBJECT_DNS_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875377i32 as _ ) ; pub const CERTSRV_E_SUBJECT_EMAIL_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875374i32 as _ ) ; pub const CERTSRV_E_SUBJECT_UPN_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875379i32 as _ ) ; pub const CERTSRV_E_TEMPLATE_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875390i32 as _ ) ; pub const CERTSRV_E_TEMPLATE_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877422i32 as _ ) ; pub const CERTSRV_E_TEMPLATE_POLICY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875384i32 as _ ) ; pub const CERTSRV_E_TOO_MANY_SIGNATURES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875371i32 as _ ) ; pub const CERTSRV_E_UNKNOWN_CERT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875373i32 as _ ) ; pub const CERTSRV_E_UNSUPPORTED_CERT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875392i32 as _ ) ; pub const CERTSRV_E_WEAK_SIGNATURE_OR_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877418i32 as _ ) ; pub const CERT_E_CHAINING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762486i32 as _ ) ; pub const CERT_E_CN_NO_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762481i32 as _ ) ; pub const CERT_E_CRITICAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762491i32 as _ ) ; pub const CERT_E_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762495i32 as _ ) ; pub const CERT_E_INVALID_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762476i32 as _ ) ; pub const CERT_E_INVALID_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762477i32 as _ ) ; pub const CERT_E_ISSUERCHAINING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762489i32 as _ ) ; pub const CERT_E_MALFORMED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762488i32 as _ ) ; pub const CERT_E_PATHLENCONST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762492i32 as _ ) ; pub const CERT_E_PURPOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762490i32 as _ ) ; pub const CERT_E_REVOCATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762482i32 as _ ) ; pub const CERT_E_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762484i32 as _ ) ; pub const CERT_E_ROLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762493i32 as _ ) ; pub const CERT_E_UNTRUSTEDCA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762478i32 as _ ) ; pub const CERT_E_UNTRUSTEDROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762487i32 as _ ) ; pub const CERT_E_UNTRUSTEDTESTROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762483i32 as _ ) ; pub const CERT_E_VALIDITYPERIODNESTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762494i32 as _ ) ; pub const CERT_E_WRONG_USAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762480i32 as _ ) ; pub const CLASSFACTORY_E_FIRST : i32 = -2147221232i32 ; pub const CLASSFACTORY_E_LAST : i32 = -2147221217i32 ; pub const CLASSFACTORY_S_FIRST : i32 = 262416i32 ; pub const CLASSFACTORY_S_LAST : i32 = 262431i32 ; pub const CLASS_E_CLASSNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221231i32 as _ ) ; pub const CLASS_E_NOAGGREGATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221232i32 as _ ) ; pub const CLASS_E_NOTLICENSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221230i32 as _ ) ; pub const CLIENTSITE_E_FIRST : i32 = -2147221104i32 ; pub const CLIENTSITE_E_LAST : i32 = -2147221089i32 ; pub const CLIENTSITE_S_FIRST : i32 = 262544i32 ; pub const CLIENTSITE_S_LAST : i32 = 262559i32 ; pub const CLIPBRD_E_BAD_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221037i32 as _ ) ; pub const CLIPBRD_E_CANT_CLOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221036i32 as _ ) ; pub const CLIPBRD_E_CANT_EMPTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221039i32 as _ ) ; pub const CLIPBRD_E_CANT_OPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221040i32 as _ ) ; pub const CLIPBRD_E_CANT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221038i32 as _ ) ; pub const CLIPBRD_E_FIRST : i32 = -2147221040i32 ; pub const CLIPBRD_E_LAST : i32 = -2147221025i32 ; pub const CLIPBRD_S_FIRST : i32 = 262608i32 ; pub const CLIPBRD_S_LAST : i32 = 262623i32 ; pub const COMADMIN_E_ALREADYINSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368508i32 as _ ) ; pub const COMADMIN_E_AMBIGUOUS_APPLICATION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368420i32 as _ ) ; pub const COMADMIN_E_AMBIGUOUS_PARTITION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368419i32 as _ ) ; pub const COMADMIN_E_APPDIRNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368481i32 as _ ) ; pub const COMADMIN_E_APPLICATIONEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368501i32 as _ ) ; pub const COMADMIN_E_APPLID_MATCHES_CLSID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368442i32 as _ ) ; pub const COMADMIN_E_APP_FILE_READFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368504i32 as _ ) ; pub const COMADMIN_E_APP_FILE_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368503i32 as _ ) ; pub const COMADMIN_E_APP_FILE_WRITEFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368505i32 as _ ) ; pub const COMADMIN_E_APP_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367478i32 as _ ) ; pub const COMADMIN_E_AUTHENTICATIONLEVEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368493i32 as _ ) ; pub const COMADMIN_E_BADPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368502i32 as _ ) ; pub const COMADMIN_E_BADREGISTRYLIBID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368482i32 as _ ) ; pub const COMADMIN_E_BADREGISTRYPROGID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368494i32 as _ ) ; pub const COMADMIN_E_BASEPARTITION_REQUIRED_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367457i32 as _ ) ; pub const COMADMIN_E_BASE_PARTITION_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368432i32 as _ ) ; pub const COMADMIN_E_CANNOT_ALIAS_EVENTCLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367456i32 as _ ) ; pub const COMADMIN_E_CANTCOPYFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368499i32 as _ ) ; pub const COMADMIN_E_CANTMAKEINPROCSERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367468i32 as _ ) ; pub const COMADMIN_E_CANTRECYCLELIBRARYAPPS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367473i32 as _ ) ; pub const COMADMIN_E_CANTRECYCLESERVICEAPPS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367471i32 as _ ) ; pub const COMADMIN_E_CANT_SUBSCRIBE_TO_COMPONENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368435i32 as _ ) ; pub const COMADMIN_E_CAN_NOT_EXPORT_APP_PROXY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368438i32 as _ ) ; pub const COMADMIN_E_CAN_NOT_EXPORT_SYS_APP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368436i32 as _ ) ; pub const COMADMIN_E_CAN_NOT_START_APP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368437i32 as _ ) ; pub const COMADMIN_E_CAT_BITNESSMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368382i32 as _ ) ; pub const COMADMIN_E_CAT_DUPLICATE_PARTITION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368425i32 as _ ) ; pub const COMADMIN_E_CAT_IMPORTED_COMPONENTS_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368421i32 as _ ) ; pub const COMADMIN_E_CAT_INVALID_PARTITION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368424i32 as _ ) ; pub const COMADMIN_E_CAT_PARTITION_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368423i32 as _ ) ; pub const COMADMIN_E_CAT_PAUSE_RESUME_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368379i32 as _ ) ; pub const COMADMIN_E_CAT_SERVERFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368378i32 as _ ) ; pub const COMADMIN_E_CAT_UNACCEPTABLEBITNESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368381i32 as _ ) ; pub const COMADMIN_E_CAT_WRONGAPPBITNESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368380i32 as _ ) ; pub const COMADMIN_E_CLSIDORIIDMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368488i32 as _ ) ; pub const COMADMIN_E_COMPFILE_BADTLB : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368472i32 as _ ) ; pub const COMADMIN_E_COMPFILE_CLASSNOTAVAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368473i32 as _ ) ; pub const COMADMIN_E_COMPFILE_DOESNOTEXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368476i32 as _ ) ; pub const COMADMIN_E_COMPFILE_GETCLASSOBJ : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368474i32 as _ ) ; pub const COMADMIN_E_COMPFILE_LOADDLLFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368475i32 as _ ) ; pub const COMADMIN_E_COMPFILE_NOREGISTRAR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368460i32 as _ ) ; pub const COMADMIN_E_COMPFILE_NOTINSTALLABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368471i32 as _ ) ; pub const COMADMIN_E_COMPONENTEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368455i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_BAD_DEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368466i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_DEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367459i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368467i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_PRIVATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367458i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367460i32 as _ ) ; pub const COMADMIN_E_COREQCOMPINSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368459i32 as _ ) ; pub const COMADMIN_E_DEFAULT_PARTITION_NOT_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367466i32 as _ ) ; pub const COMADMIN_E_DLLLOADFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368483i32 as _ ) ; pub const COMADMIN_E_DLLREGISTERSERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368486i32 as _ ) ; pub const COMADMIN_E_EVENTCLASS_CANT_BE_SUBSCRIBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368434i32 as _ ) ; pub const COMADMIN_E_FILE_PARTITION_DUPLICATE_FILES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368422i32 as _ ) ; pub const COMADMIN_E_INVALIDUSERIDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368496i32 as _ ) ; pub const COMADMIN_E_INVALID_PARTITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367477i32 as _ ) ; pub const COMADMIN_E_KEYMISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368509i32 as _ ) ; pub const COMADMIN_E_LEGACYCOMPS_NOT_ALLOWED_IN_1_0_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367462i32 as _ ) ; pub const COMADMIN_E_LEGACYCOMPS_NOT_ALLOWED_IN_NONBASE_PARTITIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367461i32 as _ ) ; pub const COMADMIN_E_LIB_APP_PROXY_INCOMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368433i32 as _ ) ; pub const COMADMIN_E_MIG_SCHEMANOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368383i32 as _ ) ; pub const COMADMIN_E_MIG_VERSIONNOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368384i32 as _ ) ; pub const COMADMIN_E_NOREGISTRYCLSID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368495i32 as _ ) ; pub const COMADMIN_E_NOSERVERSHARE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368485i32 as _ ) ; pub const COMADMIN_E_NOTCHANGEABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368470i32 as _ ) ; pub const COMADMIN_E_NOTDELETEABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368469i32 as _ ) ; pub const COMADMIN_E_NOTINREGISTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368450i32 as _ ) ; pub const COMADMIN_E_NOUSER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368497i32 as _ ) ; pub const COMADMIN_E_OBJECTERRORS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368511i32 as _ ) ; pub const COMADMIN_E_OBJECTEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368456i32 as _ ) ; pub const COMADMIN_E_OBJECTINVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368510i32 as _ ) ; pub const COMADMIN_E_OBJECTNOTPOOLABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368449i32 as _ ) ; pub const COMADMIN_E_OBJECT_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367479i32 as _ ) ; pub const COMADMIN_E_OBJECT_PARENT_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367480i32 as _ ) ; pub const COMADMIN_E_PARTITIONS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367452i32 as _ ) ; pub const COMADMIN_E_PARTITION_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367464i32 as _ ) ; pub const COMADMIN_E_PARTITION_MSI_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367463i32 as _ ) ; pub const COMADMIN_E_PAUSEDPROCESSMAYNOTBERECYCLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367469i32 as _ ) ; pub const COMADMIN_E_PRIVATE_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367455i32 as _ ) ; pub const COMADMIN_E_PROCESSALREADYRECYCLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367470i32 as _ ) ; pub const COMADMIN_E_PROGIDINUSEBYCLSID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367467i32 as _ ) ; pub const COMADMIN_E_PROPERTYSAVEFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368457i32 as _ ) ; pub const COMADMIN_E_PROPERTY_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368452i32 as _ ) ; pub const COMADMIN_E_RECYCLEDPROCESSMAYNOTBEPAUSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367465i32 as _ ) ; pub const COMADMIN_E_REGDB_ALREADYRUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368395i32 as _ ) ; pub const COMADMIN_E_REGDB_NOTINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368398i32 as _ ) ; pub const COMADMIN_E_REGDB_NOTOPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368397i32 as _ ) ; pub const COMADMIN_E_REGDB_SYSTEMERR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368396i32 as _ ) ; pub const COMADMIN_E_REGFILE_CORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368453i32 as _ ) ; pub const COMADMIN_E_REGISTERTLB : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368464i32 as _ ) ; pub const COMADMIN_E_REGISTRARFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368477i32 as _ ) ; pub const COMADMIN_E_REGISTRY_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367453i32 as _ ) ; pub const COMADMIN_E_REMOTEINTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368487i32 as _ ) ; pub const COMADMIN_E_REQUIRES_DIFFERENT_PLATFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368439i32 as _ ) ; pub const COMADMIN_E_ROLEEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368500i32 as _ ) ; pub const COMADMIN_E_ROLE_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368441i32 as _ ) ; pub const COMADMIN_E_SAFERINVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367454i32 as _ ) ; pub const COMADMIN_E_SERVICENOTINSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368458i32 as _ ) ; pub const COMADMIN_E_SESSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368468i32 as _ ) ; pub const COMADMIN_E_START_APP_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368431i32 as _ ) ; pub const COMADMIN_E_START_APP_NEEDS_COMPONENTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368440i32 as _ ) ; pub const COMADMIN_E_SVCAPP_NOT_POOLABLE_OR_RECYCLABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367475i32 as _ ) ; pub const COMADMIN_E_SYSTEMAPP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368461i32 as _ ) ; pub const COMADMIN_E_USERPASSWDNOTVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368492i32 as _ ) ; pub const COMADMIN_E_USER_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367474i32 as _ ) ; pub const COMQC_E_APPLICATION_NOT_QUEUED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368000i32 as _ ) ; pub const COMQC_E_BAD_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367996i32 as _ ) ; pub const COMQC_E_NO_IPERSISTSTREAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367997i32 as _ ) ; pub const COMQC_E_NO_QUEUEABLE_INTERFACES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367999i32 as _ ) ; pub const COMQC_E_QUEUING_SERVICE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367998i32 as _ ) ; pub const COMQC_E_UNAUTHENTICATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367995i32 as _ ) ; pub const COMQC_E_UNTRUSTED_ENQUEUER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367994i32 as _ ) ; pub const CONTEXT_E_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164158i32 as _ ) ; pub const CONTEXT_E_ABORTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164157i32 as _ ) ; pub const CONTEXT_E_FIRST : i32 = -2147164160i32 ; pub const CONTEXT_E_LAST : i32 = -2147164113i32 ; pub const CONTEXT_E_NOCONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164156i32 as _ ) ; pub const CONTEXT_E_NOJIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164122i32 as _ ) ; pub const CONTEXT_E_NOTRANSACTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164121i32 as _ ) ; pub const CONTEXT_E_OLDREF : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164153i32 as _ ) ; pub const CONTEXT_E_ROLENOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164148i32 as _ ) ; pub const CONTEXT_E_SYNCH_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164154i32 as _ ) ; pub const CONTEXT_E_TMNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164145i32 as _ ) ; pub const CONTEXT_E_WOULD_DEADLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164155i32 as _ ) ; pub const CONTEXT_S_FIRST : i32 = 319488i32 ; pub const CONTEXT_S_LAST : i32 = 319535i32 ; pub const CONVERT10_E_FIRST : i32 = -2147221056i32 ; pub const CONVERT10_E_LAST : i32 = -2147221041i32 ; pub const CONVERT10_E_OLESTREAM_BITMAP_TO_DIB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221053i32 as _ ) ; pub const CONVERT10_E_OLESTREAM_FMT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221054i32 as _ ) ; pub const CONVERT10_E_OLESTREAM_GET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221056i32 as _ ) ; pub const CONVERT10_E_OLESTREAM_PUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221055i32 as _ ) ; pub const CONVERT10_E_STG_DIB_TO_BITMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221050i32 as _ ) ; pub const CONVERT10_E_STG_FMT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221052i32 as _ ) ; pub const CONVERT10_E_STG_NO_STD_STREAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221051i32 as _ ) ; pub const CONVERT10_S_FIRST : i32 = 262592i32 ; pub const CONVERT10_S_LAST : i32 = 262607i32 ; pub const CONVERT10_S_NO_PRESENTATION : :: windows :: HRESULT = :: windows :: HRESULT ( 262592i32 as _ ) ; pub const CO_E_ACCESSCHECKFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417814i32 as _ ) ; pub const CO_E_ACESINWRONGORDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417798i32 as _ ) ; pub const CO_E_ACNOTINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417793i32 as _ ) ; pub const CO_E_ACTIVATIONFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164127i32 as _ ) ; pub const CO_E_ACTIVATIONFAILED_CATALOGERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164125i32 as _ ) ; pub const CO_E_ACTIVATIONFAILED_EVENTLOGGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164126i32 as _ ) ; pub const CO_E_ACTIVATIONFAILED_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164124i32 as _ ) ; pub const CO_E_ALREADYINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221007i32 as _ ) ; pub const CO_E_APPDIDNTREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220994i32 as _ ) ; pub const CO_E_APPNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221003i32 as _ ) ; pub const CO_E_APPSINGLEUSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221002i32 as _ ) ; pub const CO_E_ASYNC_WORK_REJECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467223i32 as _ ) ; pub const CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467228i32 as _ ) ; pub const CO_E_BAD_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959356i32 as _ ) ; pub const CO_E_BAD_SERVER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467244i32 as _ ) ; pub const CO_E_CALL_OUT_OF_TX_SCOPE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164112i32 as _ ) ; pub const CO_E_CANCEL_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417792i32 as _ ) ; pub const CO_E_CANTDETERMINECLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221006i32 as _ ) ; pub const CO_E_CANT_REMOTE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467245i32 as _ ) ; pub const CO_E_CLASSSTRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221005i32 as _ ) ; pub const CO_E_CLASS_CREATE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959359i32 as _ ) ; pub const CO_E_CLASS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467225i32 as _ ) ; pub const CO_E_CLRNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467224i32 as _ ) ; pub const CO_E_CLSREG_INCONSISTENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467233i32 as _ ) ; pub const CO_E_CONVERSIONFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417810i32 as _ ) ; pub const CO_E_CREATEPROCESS_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467240i32 as _ ) ; pub const CO_E_DBERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164117i32 as _ ) ; pub const CO_E_DECODEFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417795i32 as _ ) ; pub const CO_E_DLLNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221000i32 as _ ) ; pub const CO_E_ELEVATION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959337i32 as _ ) ; pub const CO_E_ERRORINAPP : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221001i32 as _ ) ; pub const CO_E_ERRORINDLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220999i32 as _ ) ; pub const CO_E_EXCEEDSYSACLLIMIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417799i32 as _ ) ; pub const CO_E_EXIT_TRANSACTION_SCOPE_NOT_CALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164111i32 as _ ) ; pub const CO_E_FAILEDTOCLOSEHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417800i32 as _ ) ; pub const CO_E_FAILEDTOCREATEFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417801i32 as _ ) ; pub const CO_E_FAILEDTOGENUUID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417802i32 as _ ) ; pub const CO_E_FAILEDTOGETSECCTX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417820i32 as _ ) ; pub const CO_E_FAILEDTOGETTOKENINFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417818i32 as _ ) ; pub const CO_E_FAILEDTOGETWINDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417804i32 as _ ) ; pub const CO_E_FAILEDTOIMPERSONATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417821i32 as _ ) ; pub const CO_E_FAILEDTOOPENPROCESSTOKEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417796i32 as _ ) ; pub const CO_E_FAILEDTOOPENTHREADTOKEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417819i32 as _ ) ; pub const CO_E_FAILEDTOQUERYCLIENTBLANKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417816i32 as _ ) ; pub const CO_E_FAILEDTOSETDACL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417815i32 as _ ) ; pub const CO_E_FIRST : i32 = -2147221008i32 ; pub const CO_E_IIDREG_INCONSISTENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467232i32 as _ ) ; pub const CO_E_IIDSTRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221004i32 as _ ) ; pub const CO_E_INCOMPATIBLESTREAMVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417797i32 as _ ) ; pub const CO_E_INITIALIZATIONFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164123i32 as _ ) ; pub const CO_E_INIT_CLASS_CACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467255i32 as _ ) ; pub const CO_E_INIT_MEMORY_ALLOCATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467256i32 as _ ) ; pub const CO_E_INIT_ONLY_SINGLE_THREADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467246i32 as _ ) ; pub const CO_E_INIT_RPC_CHANNEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467254i32 as _ ) ; pub const CO_E_INIT_SCM_EXEC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467247i32 as _ ) ; pub const CO_E_INIT_SCM_FILE_MAPPING_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467249i32 as _ ) ; pub const CO_E_INIT_SCM_MAP_VIEW_OF_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467248i32 as _ ) ; pub const CO_E_INIT_SCM_MUTEX_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467250i32 as _ ) ; pub const CO_E_INIT_SHARED_ALLOCATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467257i32 as _ ) ; pub const CO_E_INIT_TLS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467258i32 as _ ) ; pub const CO_E_INIT_TLS_CHANNEL_CONTROL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467252i32 as _ ) ; pub const CO_E_INIT_TLS_SET_CHANNEL_CONTROL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467253i32 as _ ) ; pub const CO_E_INIT_UNACCEPTED_USER_ALLOCATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467251i32 as _ ) ; pub const CO_E_INVALIDSID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417811i32 as _ ) ; pub const CO_E_ISOLEVELMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164113i32 as _ ) ; pub const CO_E_LAST : i32 = -2147220993i32 ; pub const CO_E_LAUNCH_PERMSSION_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467237i32 as _ ) ; pub const CO_E_LOOKUPACCNAMEFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417806i32 as _ ) ; pub const CO_E_LOOKUPACCSIDFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417808i32 as _ ) ; pub const CO_E_MALFORMED_SPN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467213i32 as _ ) ; pub const CO_E_MISSING_DISPLAYNAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959339i32 as _ ) ; pub const CO_E_MSI_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467229i32 as _ ) ; pub const CO_E_NETACCESSAPIFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417813i32 as _ ) ; pub const CO_E_NOCOOKIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164118i32 as _ ) ; pub const CO_E_NOIISINTRINSICS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164119i32 as _ ) ; pub const CO_E_NOMATCHINGNAMEFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417807i32 as _ ) ; pub const CO_E_NOMATCHINGSIDFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417809i32 as _ ) ; pub const CO_E_NOSYNCHRONIZATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164114i32 as _ ) ; pub const CO_E_NOTCONSTRUCTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164115i32 as _ ) ; pub const CO_E_NOTINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221008i32 as _ ) ; pub const CO_E_NOTPOOLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164116i32 as _ ) ; pub const CO_E_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467231i32 as _ ) ; pub const CO_E_NO_SECCTX_IN_ACTIVATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467221i32 as _ ) ; pub const CO_E_OBJISREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220996i32 as _ ) ; pub const CO_E_OBJNOTCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220995i32 as _ ) ; pub const CO_E_OBJNOTREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220997i32 as _ ) ; pub const CO_E_OBJSRV_RPC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959354i32 as _ ) ; pub const CO_E_OLE1DDE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467242i32 as _ ) ; pub const CO_E_PATHTOOLONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417803i32 as _ ) ; pub const CO_E_PREMATURE_STUB_RUNDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467211i32 as _ ) ; pub const CO_E_RELEASED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220993i32 as _ ) ; pub const CO_E_RELOAD_DLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467230i32 as _ ) ; pub const CO_E_REMOTE_COMMUNICATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467235i32 as _ ) ; pub const CO_E_RUNAS_CREATEPROCESS_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467239i32 as _ ) ; pub const CO_E_RUNAS_LOGON_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467238i32 as _ ) ; pub const CO_E_RUNAS_SYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467241i32 as _ ) ; pub const CO_E_RUNAS_VALUE_MUST_BE_AAA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959338i32 as _ ) ; pub const CO_E_SCM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959358i32 as _ ) ; pub const CO_E_SCM_RPC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959357i32 as _ ) ; pub const CO_E_SERVER_EXEC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959355i32 as _ ) ; pub const CO_E_SERVER_INIT_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467222i32 as _ ) ; pub const CO_E_SERVER_NOT_PAUSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467226i32 as _ ) ; pub const CO_E_SERVER_PAUSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467227i32 as _ ) ; pub const CO_E_SERVER_START_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467234i32 as _ ) ; pub const CO_E_SERVER_STOPPING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959352i32 as _ ) ; pub const CO_E_SETSERLHNDLFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417805i32 as _ ) ; pub const CO_E_START_SERVICE_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467236i32 as _ ) ; pub const CO_E_SXS_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467214i32 as _ ) ; pub const CO_E_THREADINGMODEL_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164120i32 as _ ) ; pub const CO_E_THREADPOOL_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467215i32 as _ ) ; pub const CO_E_TRACKER_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467216i32 as _ ) ; pub const CO_E_TRUSTEEDOESNTMATCHCLIENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417817i32 as _ ) ; pub const CO_E_UNREVOKED_REGISTRATION_ON_APARTMENT_SHUTDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467212i32 as _ ) ; pub const CO_E_WRONGOSFORAPP : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220998i32 as _ ) ; pub const CO_E_WRONGTRUSTEENAMESYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417812i32 as _ ) ; pub const CO_E_WRONG_SERVER_IDENTITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467243i32 as _ ) ; pub const CO_S_FIRST : i32 = 262640i32 ; pub const CO_S_LAST : i32 = 262655i32 ; pub const CO_S_MACHINENAMENOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( 524307i32 as _ ) ; pub const CO_S_NOTALLINTERFACES : :: windows :: HRESULT = :: windows :: HRESULT ( 524306i32 as _ ) ; pub const CRYPT_E_ALREADY_DECRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889719i32 as _ ) ; pub const CRYPT_E_ASN1_BADARGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881271i32 as _ ) ; pub const CRYPT_E_ASN1_BADPDU : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881272i32 as _ ) ; pub const CRYPT_E_ASN1_BADREAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881270i32 as _ ) ; pub const CRYPT_E_ASN1_BADTAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881269i32 as _ ) ; pub const CRYPT_E_ASN1_CHOICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881268i32 as _ ) ; pub const CRYPT_E_ASN1_CONSTRAINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881275i32 as _ ) ; pub const CRYPT_E_ASN1_CORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881277i32 as _ ) ; pub const CRYPT_E_ASN1_EOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881278i32 as _ ) ; pub const CRYPT_E_ASN1_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881280i32 as _ ) ; pub const CRYPT_E_ASN1_EXTENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881023i32 as _ ) ; pub const CRYPT_E_ASN1_INTERNAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881279i32 as _ ) ; pub const CRYPT_E_ASN1_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881276i32 as _ ) ; pub const CRYPT_E_ASN1_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881274i32 as _ ) ; pub const CRYPT_E_ASN1_NOEOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881022i32 as _ ) ; pub const CRYPT_E_ASN1_NYI : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881228i32 as _ ) ; pub const CRYPT_E_ASN1_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881273i32 as _ ) ; pub const CRYPT_E_ASN1_PDU_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881229i32 as _ ) ; pub const CRYPT_E_ASN1_RULE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881267i32 as _ ) ; pub const CRYPT_E_ASN1_UTF8 : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881266i32 as _ ) ; pub const CRYPT_E_ATTRIBUTES_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889713i32 as _ ) ; pub const CRYPT_E_AUTH_ATTR_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889722i32 as _ ) ; pub const CRYPT_E_BAD_ENCODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885630i32 as _ ) ; pub const CRYPT_E_BAD_LEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885631i32 as _ ) ; pub const CRYPT_E_BAD_MSG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885619i32 as _ ) ; pub const CRYPT_E_CONTROL_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889716i32 as _ ) ; pub const CRYPT_E_DELETED_PREV : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885624i32 as _ ) ; pub const CRYPT_E_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885627i32 as _ ) ; pub const CRYPT_E_FILERESIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885595i32 as _ ) ; pub const CRYPT_E_FILE_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885629i32 as _ ) ; pub const CRYPT_E_HASH_VALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889721i32 as _ ) ; pub const CRYPT_E_INVALID_IA5_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885598i32 as _ ) ; pub const CRYPT_E_INVALID_INDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889720i32 as _ ) ; pub const CRYPT_E_INVALID_MSG_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889724i32 as _ ) ; pub const CRYPT_E_INVALID_NUMERIC_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885600i32 as _ ) ; pub const CRYPT_E_INVALID_PRINTABLE_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885599i32 as _ ) ; pub const CRYPT_E_INVALID_X500_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885597i32 as _ ) ; pub const CRYPT_E_ISSUER_SERIALNUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889715i32 as _ ) ; pub const CRYPT_E_MISSING_PUBKEY_PARA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885588i32 as _ ) ; pub const CRYPT_E_MSG_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889727i32 as _ ) ; pub const CRYPT_E_NOT_CHAR_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885596i32 as _ ) ; pub const CRYPT_E_NOT_DECRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889718i32 as _ ) ; pub const CRYPT_E_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885628i32 as _ ) ; pub const CRYPT_E_NOT_IN_CTL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885590i32 as _ ) ; pub const CRYPT_E_NOT_IN_REVOCATION_DATABASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885612i32 as _ ) ; pub const CRYPT_E_NO_DECRYPT_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885620i32 as _ ) ; pub const CRYPT_E_NO_KEY_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885621i32 as _ ) ; pub const CRYPT_E_NO_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885623i32 as _ ) ; pub const CRYPT_E_NO_PROVIDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885626i32 as _ ) ; pub const CRYPT_E_NO_REVOCATION_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885614i32 as _ ) ; pub const CRYPT_E_NO_REVOCATION_DLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885615i32 as _ ) ; pub const CRYPT_E_NO_SIGNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885618i32 as _ ) ; pub const CRYPT_E_NO_TRUSTED_SIGNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885589i32 as _ ) ; pub const CRYPT_E_NO_VERIFY_USAGE_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885592i32 as _ ) ; pub const CRYPT_E_NO_VERIFY_USAGE_DLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885593i32 as _ ) ; pub const CRYPT_E_OBJECT_LOCATOR_OBJECT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885587i32 as _ ) ; pub const CRYPT_E_OID_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889725i32 as _ ) ; pub const CRYPT_E_OSS_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881536i32 as _ ) ; pub const CRYPT_E_PENDING_CLOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885617i32 as _ ) ; pub const CRYPT_E_RECIPIENT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889717i32 as _ ) ; pub const CRYPT_E_REVOCATION_OFFLINE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885613i32 as _ ) ; pub const CRYPT_E_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885616i32 as _ ) ; pub const CRYPT_E_SECURITY_SETTINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885594i32 as _ ) ; pub const CRYPT_E_SELF_SIGNED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885625i32 as _ ) ; pub const CRYPT_E_SIGNER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889714i32 as _ ) ; pub const CRYPT_E_STREAM_INSUFFICIENT_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889711i32 as _ ) ; pub const CRYPT_E_STREAM_MSG_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889712i32 as _ ) ; pub const CRYPT_E_UNEXPECTED_ENCODING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889723i32 as _ ) ; pub const CRYPT_E_UNEXPECTED_MSG_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885622i32 as _ ) ; pub const CRYPT_E_UNKNOWN_ALGO : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889726i32 as _ ) ; pub const CRYPT_E_VERIFY_USAGE_OFFLINE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885591i32 as _ ) ; pub const CRYPT_I_NEW_PROTECTION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( 593938i32 as _ ) ; pub const CS_E_ADMIN_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221139i32 as _ ) ; pub const CS_E_CLASS_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221146i32 as _ ) ; pub const CS_E_FIRST : i32 = -2147221148i32 ; pub const CS_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221137i32 as _ ) ; pub const CS_E_INVALID_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221141i32 as _ ) ; pub const CS_E_INVALID_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221145i32 as _ ) ; pub const CS_E_LAST : i32 = -2147221137i32 ; pub const CS_E_NETWORK_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221140i32 as _ ) ; pub const CS_E_NOT_DELETABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221147i32 as _ ) ; pub const CS_E_NO_CLASSSTORE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221144i32 as _ ) ; pub const CS_E_OBJECT_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221142i32 as _ ) ; pub const CS_E_OBJECT_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221143i32 as _ ) ; pub const CS_E_PACKAGE_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221148i32 as _ ) ; pub const CS_E_SCHEMA_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221138i32 as _ ) ; pub unsafe fn CloseHandle < 'a , Param0 : :: windows :: IntoParam < 'a , HANDLE > , > ( hobject : Param0 , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="kernel32" ) ] extern "system" { fn CloseHandle ( hobject : HANDLE ) -> BOOL ; } :: std :: mem :: transmute ( CloseHandle ( hobject . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CompareObjectHandles < 'a , Param0 : :: windows :: IntoParam < 'a , HANDLE > , Param1 : :: windows :: IntoParam < 'a , HANDLE > , > ( hfirstobjecthandle : Param0 , hsecondobjecthandle : Param1 , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn CompareObjectHandles ( hfirstobjecthandle : HANDLE , hsecondobjecthandle : HANDLE ) -> BOOL ; } :: std :: mem :: transmute ( CompareObjectHandles ( hfirstobjecthandle . into_param ( ) . abi ( ) , hsecondobjecthandle . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const D2DERR_BAD_NUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238895i32 as _ ) ; pub const D2DERR_BITMAP_BOUND_AS_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238875i32 as _ ) ; pub const D2DERR_BITMAP_CANNOT_DRAW : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238879i32 as _ ) ; pub const D2DERR_CYCLIC_GRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238880i32 as _ ) ; pub const D2DERR_DISPLAY_FORMAT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238903i32 as _ ) ; pub const D2DERR_DISPLAY_STATE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238906i32 as _ ) ; pub const D2DERR_EFFECT_IS_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238872i32 as _ ) ; pub const D2DERR_EXCEEDS_MAX_BITMAP_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238883i32 as _ ) ; pub const D2DERR_INCOMPATIBLE_BRUSH_TYPES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238888i32 as _ ) ; pub const D2DERR_INSUFFICIENT_DEVICE_CAPABILITIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238874i32 as _ ) ; pub const D2DERR_INTERMEDIATE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238873i32 as _ ) ; pub const D2DERR_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238904i32 as _ ) ; pub const D2DERR_INVALID_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238902i32 as _ ) ; pub const D2DERR_INVALID_GLYPH_IMAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238866i32 as _ ) ; pub const D2DERR_INVALID_GRAPH_CONFIGURATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238882i32 as _ ) ; pub const D2DERR_INVALID_INTERNAL_GRAPH_CONFIGURATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238881i32 as _ ) ; pub const D2DERR_INVALID_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238871i32 as _ ) ; pub const D2DERR_INVALID_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238876i32 as _ ) ; pub const D2DERR_LAYER_ALREADY_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238893i32 as _ ) ; pub const D2DERR_MAX_TEXTURE_SIZE_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238897i32 as _ ) ; pub const D2DERR_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238910i32 as _ ) ; pub const D2DERR_NO_HARDWARE_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238901i32 as _ ) ; pub const D2DERR_NO_SUBPROPERTIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238870i32 as _ ) ; pub const D2DERR_ORIGINAL_TARGET_NOT_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238877i32 as _ ) ; pub const D2DERR_OUTSTANDING_BITMAP_REFERENCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238878i32 as _ ) ; pub const D2DERR_POP_CALL_DID_NOT_MATCH_PUSH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238892i32 as _ ) ; pub const D2DERR_PRINT_FORMAT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238868i32 as _ ) ; pub const D2DERR_PRINT_JOB_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238869i32 as _ ) ; pub const D2DERR_PUSH_POP_UNBALANCED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238890i32 as _ ) ; pub const D2DERR_RECREATE_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238900i32 as _ ) ; pub const D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238889i32 as _ ) ; pub const D2DERR_SCANNER_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238908i32 as _ ) ; pub const D2DERR_SCREEN_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238907i32 as _ ) ; pub const D2DERR_SHADER_COMPILE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238898i32 as _ ) ; pub const D2DERR_TARGET_NOT_GDI_COMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238886i32 as _ ) ; pub const D2DERR_TEXT_EFFECT_IS_WRONG_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238885i32 as _ ) ; pub const D2DERR_TEXT_RENDERER_NOT_RELEASED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238884i32 as _ ) ; pub const D2DERR_TOO_MANY_SHADER_ELEMENTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238899i32 as _ ) ; pub const D2DERR_TOO_MANY_TRANSFORM_INPUTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238867i32 as _ ) ; pub const D2DERR_UNSUPPORTED_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238909i32 as _ ) ; pub const D2DERR_UNSUPPORTED_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238896i32 as _ ) ; pub const D2DERR_WIN32_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238887i32 as _ ) ; pub const D2DERR_WRONG_FACTORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238894i32 as _ ) ; pub const D2DERR_WRONG_RESOURCE_DOMAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238891i32 as _ ) ; pub const D2DERR_WRONG_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238911i32 as _ ) ; pub const D2DERR_ZERO_VECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238905i32 as _ ) ; pub const D3D10_ERROR_FILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2005336062i32 as _ ) ; pub const D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2005336063i32 as _ ) ; pub const D3D11_ERROR_DEFERRED_CONTEXT_MAP_WITHOUT_INITIAL_DISCARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2005139452i32 as _ ) ; pub const D3D11_ERROR_FILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2005139454i32 as _ ) ; pub const D3D11_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2005139455i32 as _ ) ; pub const D3D11_ERROR_TOO_MANY_UNIQUE_VIEW_OBJECTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2005139453i32 as _ ) ; pub const D3D12_ERROR_ADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2005008383i32 as _ ) ; pub const D3D12_ERROR_DRIVER_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2005008382i32 as _ ) ; pub const DATA_E_FIRST : i32 = -2147221200i32 ; pub const DATA_E_LAST : i32 = -2147221185i32 ; pub const DATA_S_FIRST : i32 = 262448i32 ; pub const DATA_S_LAST : i32 = 262463i32 ; pub const DATA_S_SAMEFORMATETC : :: windows :: HRESULT = :: windows :: HRESULT ( 262448i32 as _ ) ; pub const DBG_APP_NOT_IDLE : NTSTATUS = NTSTATUS ( -1073676286i32 as _ ) ; pub const DBG_COMMAND_EXCEPTION : NTSTATUS = NTSTATUS ( 1073807369i32 as _ ) ; pub const DBG_CONTINUE : NTSTATUS = NTSTATUS ( 65538i32 as _ ) ; pub const DBG_CONTROL_BREAK : NTSTATUS = NTSTATUS ( 1073807368i32 as _ ) ; pub const DBG_CONTROL_C : NTSTATUS = NTSTATUS ( 1073807365i32 as _ ) ; pub const DBG_EXCEPTION_HANDLED : NTSTATUS = NTSTATUS ( 65537i32 as _ ) ; pub const DBG_EXCEPTION_NOT_HANDLED : NTSTATUS = NTSTATUS ( -2147418111i32 as _ ) ; pub const DBG_NO_STATE_CHANGE : NTSTATUS = NTSTATUS ( -1073676287i32 as _ ) ; pub const DBG_PRINTEXCEPTION_C : NTSTATUS = NTSTATUS ( 1073807366i32 as _ ) ; pub const DBG_PRINTEXCEPTION_WIDE_C : NTSTATUS = NTSTATUS ( 1073807370i32 as _ ) ; pub const DBG_REPLY_LATER : NTSTATUS = NTSTATUS ( 1073807361i32 as _ ) ; pub const DBG_RIPEXCEPTION : NTSTATUS = NTSTATUS ( 1073807367i32 as _ ) ; pub const DBG_TERMINATE_PROCESS : NTSTATUS = NTSTATUS ( 1073807364i32 as _ ) ; pub const DBG_TERMINATE_THREAD : NTSTATUS = NTSTATUS ( 1073807363i32 as _ ) ; pub const DBG_UNABLE_TO_PROVIDE_HANDLE : NTSTATUS = NTSTATUS ( 1073807362i32 as _ ) ; pub const DCOMPOSITION_ERROR_SURFACE_BEING_RENDERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302399i32 as _ ) ; pub const DCOMPOSITION_ERROR_SURFACE_NOT_BEING_RENDERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302398i32 as _ ) ; pub const DCOMPOSITION_ERROR_WINDOW_ALREADY_COMPOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302400i32 as _ ) ; pub const DIGSIG_E_CRYPTO : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762744i32 as _ ) ; pub const DIGSIG_E_DECODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762746i32 as _ ) ; pub const DIGSIG_E_ENCODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762747i32 as _ ) ; pub const DIGSIG_E_EXTENSIBILITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762745i32 as _ ) ; pub const DISP_E_ARRAYISLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352563i32 as _ ) ; pub const DISP_E_BADCALLEE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352560i32 as _ ) ; pub const DISP_E_BADINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352565i32 as _ ) ; pub const DISP_E_BADPARAMCOUNT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352562i32 as _ ) ; pub const DISP_E_BADVARTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352568i32 as _ ) ; pub const DISP_E_BUFFERTOOSMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352557i32 as _ ) ; pub const DISP_E_DIVBYZERO : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352558i32 as _ ) ; pub const DISP_E_EXCEPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352567i32 as _ ) ; pub const DISP_E_MEMBERNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352573i32 as _ ) ; pub const DISP_E_NONAMEDARGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352569i32 as _ ) ; pub const DISP_E_NOTACOLLECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352559i32 as _ ) ; pub const DISP_E_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352566i32 as _ ) ; pub const DISP_E_PARAMNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352572i32 as _ ) ; pub const DISP_E_PARAMNOTOPTIONAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352561i32 as _ ) ; pub const DISP_E_TYPEMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352571i32 as _ ) ; pub const DISP_E_UNKNOWNINTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352575i32 as _ ) ; pub const DISP_E_UNKNOWNLCID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352564i32 as _ ) ; pub const DISP_E_UNKNOWNNAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352570i32 as _ ) ; pub const DM_COPY : u32 = 2u32 ; pub const DM_MODIFY : u32 = 8u32 ; pub const DM_PROMPT : u32 = 4u32 ; pub const DM_UPDATE : u32 = 1u32 ; pub const DNS_INFO_ADDED_LOCAL_WINS : i32 = 9753i32 ; pub const DNS_INFO_AXFR_COMPLETE : i32 = 9751i32 ; pub const DNS_INFO_NO_RECORDS : i32 = 9501i32 ; pub const DNS_REQUEST_PENDING : i32 = 9506i32 ; pub const DNS_STATUS_CONTINUE_NEEDED : i32 = 9801i32 ; pub const DNS_STATUS_DOTTED_NAME : i32 = 9558i32 ; pub const DNS_STATUS_FQDN : i32 = 9557i32 ; pub const DNS_STATUS_SINGLE_PART_NAME : i32 = 9559i32 ; pub const DNS_WARNING_DOMAIN_UNDELETED : i32 = 9716i32 ; pub const DNS_WARNING_PTR_CREATE_FAILED : i32 = 9715i32 ; pub const DRAGDROP_E_ALREADYREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221247i32 as _ ) ; pub const DRAGDROP_E_CONCURRENT_DRAG_ATTEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221245i32 as _ ) ; pub const DRAGDROP_E_FIRST : i32 = -2147221248i32 ; pub const DRAGDROP_E_INVALIDHWND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221246i32 as _ ) ; pub const DRAGDROP_E_LAST : i32 = -2147221233i32 ; pub const DRAGDROP_E_NOTREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221248i32 as _ ) ; pub const DRAGDROP_S_CANCEL : :: windows :: HRESULT = :: windows :: HRESULT ( 262401i32 as _ ) ; pub const DRAGDROP_S_DROP : :: windows :: HRESULT = :: windows :: HRESULT ( 262400i32 as _ ) ; pub const DRAGDROP_S_FIRST : i32 = 262400i32 ; pub const DRAGDROP_S_LAST : i32 = 262415i32 ; pub const DRAGDROP_S_USEDEFAULTCURSORS : :: windows :: HRESULT = :: windows :: HRESULT ( 262402i32 as _ ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DUPLICATE_HANDLE_OPTIONS ( pub u32 ) ; pub const DUPLICATE_CLOSE_SOURCE : DUPLICATE_HANDLE_OPTIONS = DUPLICATE_HANDLE_OPTIONS ( 1u32 ) ; pub const DUPLICATE_SAME_ACCESS : DUPLICATE_HANDLE_OPTIONS = DUPLICATE_HANDLE_OPTIONS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for DUPLICATE_HANDLE_OPTIONS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DUPLICATE_HANDLE_OPTIONS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DUPLICATE_HANDLE_OPTIONS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DUPLICATE_HANDLE_OPTIONS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DUPLICATE_HANDLE_OPTIONS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DUPLICATE_HANDLE_OPTIONS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DUPLICATE_HANDLE_OPTIONS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const DV_E_CLIPFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221398i32 as _ ) ; pub const DV_E_DVASPECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221397i32 as _ ) ; pub const DV_E_DVTARGETDEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221403i32 as _ ) ; pub const DV_E_DVTARGETDEVICE_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221396i32 as _ ) ; pub const DV_E_FORMATETC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221404i32 as _ ) ; pub const DV_E_LINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221400i32 as _ ) ; pub const DV_E_NOIVIEWOBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221395i32 as _ ) ; pub const DV_E_STATDATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221401i32 as _ ) ; pub const DV_E_STGMEDIUM : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221402i32 as _ ) ; pub const DV_E_TYMED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221399i32 as _ ) ; pub const DWMERR_CATASTROPHIC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302654i32 as _ ) ; pub const DWMERR_STATE_TRANSITION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302656i32 as _ ) ; pub const DWMERR_THEME_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302655i32 as _ ) ; pub const DWM_E_ADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980987i32 as _ ) ; pub const DWM_E_COMPOSITIONDISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980991i32 as _ ) ; pub const DWM_E_NOT_QUEUING_PRESENTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980988i32 as _ ) ; pub const DWM_E_NO_REDIRECTION_SURFACE_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980989i32 as _ ) ; pub const DWM_E_REMOTING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980990i32 as _ ) ; pub const DWM_E_TEXTURE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980985i32 as _ ) ; pub const DWM_S_GDI_REDIRECTION_SURFACE : :: windows :: HRESULT = :: windows :: HRESULT ( 2502661i32 as _ ) ; pub const DWM_S_GDI_REDIRECTION_SURFACE_BLT_VIA_GDI : :: windows :: HRESULT = :: windows :: HRESULT ( 2502664i32 as _ ) ; pub const DWRITE_E_ALREADYREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283962i32 as _ ) ; pub const DWRITE_E_CACHEFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283961i32 as _ ) ; pub const DWRITE_E_CACHEVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283960i32 as _ ) ; pub const DWRITE_E_FILEACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283964i32 as _ ) ; pub const DWRITE_E_FILEFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283968i32 as _ ) ; pub const DWRITE_E_FILENOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283965i32 as _ ) ; pub const DWRITE_E_FLOWDIRECTIONCONFLICTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283957i32 as _ ) ; pub const DWRITE_E_FONTCOLLECTIONOBSOLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283963i32 as _ ) ; pub const DWRITE_E_NOCOLOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283956i32 as _ ) ; pub const DWRITE_E_NOFONT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283966i32 as _ ) ; pub const DWRITE_E_TEXTRENDERERINCOMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283958i32 as _ ) ; pub const DWRITE_E_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283967i32 as _ ) ; pub const DWRITE_E_UNSUPPORTEDOPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283959i32 as _ ) ; pub const DXCORE_ERROR_EVENT_NOT_UNREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004877311i32 as _ ) ; pub const DXGI_DDI_ERR_NONEXCLUSIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2005204989i32 as _ ) ; pub const DXGI_DDI_ERR_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2005204990i32 as _ ) ; pub const DXGI_DDI_ERR_WASSTILLDRAWING : :: windows :: HRESULT = :: windows :: HRESULT ( -2005204991i32 as _ ) ; pub const DXGI_STATUS_CLIPPED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213122i32 as _ ) ; pub const DXGI_STATUS_DDA_WAS_STILL_DRAWING : :: windows :: HRESULT = :: windows :: HRESULT ( 142213130i32 as _ ) ; pub const DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( 142213126i32 as _ ) ; pub const DXGI_STATUS_MODE_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213127i32 as _ ) ; pub const DXGI_STATUS_MODE_CHANGE_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( 142213128i32 as _ ) ; pub const DXGI_STATUS_NO_DESKTOP_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( 142213125i32 as _ ) ; pub const DXGI_STATUS_NO_REDIRECTION : :: windows :: HRESULT = :: windows :: HRESULT ( 142213124i32 as _ ) ; pub const DXGI_STATUS_OCCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213121i32 as _ ) ; pub const DXGI_STATUS_PRESENT_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213167i32 as _ ) ; pub const DXGI_STATUS_UNOCCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213129i32 as _ ) ; pub unsafe fn DuplicateHandle < 'a , Param0 : :: windows :: IntoParam < 'a , HANDLE > , Param1 : :: windows :: IntoParam < 'a , HANDLE > , Param2 : :: windows :: IntoParam < 'a , HANDLE > , Param5 : :: windows :: IntoParam < 'a , BOOL > , > ( hsourceprocesshandle : Param0 , hsourcehandle : Param1 , htargetprocesshandle : Param2 , lptargethandle : * mut HANDLE , dwdesiredaccess : u32 , binherithandle : Param5 , dwoptions : DUPLICATE_HANDLE_OPTIONS , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="kernel32" ) ] extern "system" { fn DuplicateHandle ( hsourceprocesshandle : HANDLE , hsourcehandle : HANDLE , htargetprocesshandle : HANDLE , lptargethandle : * mut HANDLE , dwdesiredaccess : u32 , binherithandle : BOOL , dwoptions : DUPLICATE_HANDLE_OPTIONS ) -> BOOL ; } :: std :: mem :: transmute ( DuplicateHandle ( hsourceprocesshandle . into_param ( ) . abi ( ) , hsourcehandle . into_param ( ) . abi ( ) , htargetprocesshandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lptargethandle ) , :: std :: mem :: transmute ( dwdesiredaccess ) , binherithandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwoptions ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const EAS_E_ADMINS_CANNOT_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913080i32 as _ ) ; pub const EAS_E_ADMINS_HAVE_BLANK_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913081i32 as _ ) ; pub const EAS_E_CONNECTED_ADMINS_NEED_TO_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913077i32 as _ ) ; pub const EAS_E_CURRENT_CONNECTED_USER_NEED_TO_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913075i32 as _ ) ; pub const EAS_E_CURRENT_USER_HAS_BLANK_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913084i32 as _ ) ; pub const EAS_E_LOCAL_CONTROLLED_USERS_CANNOT_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913079i32 as _ ) ; pub const EAS_E_PASSWORD_POLICY_NOT_ENFORCEABLE_FOR_CONNECTED_ADMINS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913078i32 as _ ) ; pub const EAS_E_PASSWORD_POLICY_NOT_ENFORCEABLE_FOR_CURRENT_CONNECTED_USER : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913076i32 as _ ) ; pub const EAS_E_POLICY_COMPLIANT_WITH_ACTIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913086i32 as _ ) ; pub const EAS_E_POLICY_NOT_MANAGED_BY_OS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913087i32 as _ ) ; pub const EAS_E_REQUESTED_POLICY_NOT_ENFORCEABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913085i32 as _ ) ; pub const EAS_E_REQUESTED_POLICY_PASSWORD_EXPIRATION_INCOMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913083i32 as _ ) ; pub const EAS_E_USER_CANNOT_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913082i32 as _ ) ; pub const ENUM_E_FIRST : i32 = -2147221072i32 ; pub const ENUM_E_LAST : i32 = -2147221057i32 ; pub const ENUM_S_FIRST : i32 = 262576i32 ; pub const ENUM_S_LAST : i32 = 262591i32 ; pub const EPT_NT_CANT_CREATE : NTSTATUS = NTSTATUS ( -1073610676i32 as _ ) ; pub const EPT_NT_CANT_PERFORM_OP : NTSTATUS = NTSTATUS ( -1073610699i32 as _ ) ; pub const EPT_NT_INVALID_ENTRY : NTSTATUS = NTSTATUS ( -1073610700i32 as _ ) ; pub const EPT_NT_NOT_REGISTERED : NTSTATUS = NTSTATUS ( -1073610698i32 as _ ) ; pub const ERROR_ALL_SIDS_FILTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -1073151998i32 as _ ) ; pub const ERROR_ATTRIBUTE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898422i32 as _ ) ; pub const ERROR_AUDITING_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1073151999i32 as _ ) ; pub const ERROR_BIZRULES_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1073151997i32 as _ ) ; pub const ERROR_CLIP_DEVICE_LICENSE_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406397i32 as _ ) ; pub const ERROR_CLIP_KEYHOLDER_LICENSE_MISSING_OR_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406395i32 as _ ) ; pub const ERROR_CLIP_LICENSE_DEVICE_ID_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406390i32 as _ ) ; pub const ERROR_CLIP_LICENSE_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406394i32 as _ ) ; pub const ERROR_CLIP_LICENSE_HARDWARE_ID_OUT_OF_TOLERANCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406391i32 as _ ) ; pub const ERROR_CLIP_LICENSE_INVALID_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406396i32 as _ ) ; pub const ERROR_CLIP_LICENSE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406398i32 as _ ) ; pub const ERROR_CLIP_LICENSE_NOT_SIGNED : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406392i32 as _ ) ; pub const ERROR_CLIP_LICENSE_SIGNED_BY_UNKNOWN_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406393i32 as _ ) ; pub const ERROR_CRED_REQUIRES_CONFIRMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865127i32 as _ ) ; pub const ERROR_DBG_ATTACH_PROCESS_FAILURE_LOCKDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2135949310i32 as _ ) ; pub const ERROR_DBG_CONNECT_SERVER_FAILURE_LOCKDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2135949309i32 as _ ) ; pub const ERROR_DBG_CREATE_PROCESS_FAILURE_LOCKDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2135949311i32 as _ ) ; pub const ERROR_DBG_START_SERVER_FAILURE_LOCKDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2135949308i32 as _ ) ; pub const ERROR_FLT_ALREADY_ENLISTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452005i32 as _ ) ; pub const ERROR_FLT_CBDQ_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452018i32 as _ ) ; pub const ERROR_FLT_CONTEXT_ALLOCATION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452010i32 as _ ) ; pub const ERROR_FLT_CONTEXT_ALREADY_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452030i32 as _ ) ; pub const ERROR_FLT_CONTEXT_ALREADY_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452004i32 as _ ) ; pub const ERROR_FLT_DELETING_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452021i32 as _ ) ; pub const ERROR_FLT_DISALLOW_FAST_IO : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452028i32 as _ ) ; pub const ERROR_FLT_DO_NOT_ATTACH : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452017i32 as _ ) ; pub const ERROR_FLT_DO_NOT_DETACH : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452016i32 as _ ) ; pub const ERROR_FLT_DUPLICATE_ENTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452019i32 as _ ) ; pub const ERROR_FLT_FILTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452013i32 as _ ) ; pub const ERROR_FLT_FILTER_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452024i32 as _ ) ; pub const ERROR_FLT_INSTANCE_ALTITUDE_COLLISION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452015i32 as _ ) ; pub const ERROR_FLT_INSTANCE_NAME_COLLISION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452014i32 as _ ) ; pub const ERROR_FLT_INSTANCE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452011i32 as _ ) ; pub const ERROR_FLT_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452022i32 as _ ) ; pub const ERROR_FLT_INVALID_ASYNCHRONOUS_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452029i32 as _ ) ; pub const ERROR_FLT_INVALID_CONTEXT_REGISTRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452009i32 as _ ) ; pub const ERROR_FLT_INVALID_NAME_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452027i32 as _ ) ; pub const ERROR_FLT_IO_COMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( 2031617i32 as _ ) ; pub const ERROR_FLT_MUST_BE_NONPAGED_POOL : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452020i32 as _ ) ; pub const ERROR_FLT_NAME_CACHE_MISS : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452008i32 as _ ) ; pub const ERROR_FLT_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452025i32 as _ ) ; pub const ERROR_FLT_NOT_SAFE_TO_POST_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452026i32 as _ ) ; pub const ERROR_FLT_NO_DEVICE_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452007i32 as _ ) ; pub const ERROR_FLT_NO_HANDLER_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452031i32 as _ ) ; pub const ERROR_FLT_NO_WAITER_FOR_REPLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452000i32 as _ ) ; pub const ERROR_FLT_POST_OPERATION_CLEANUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452023i32 as _ ) ; pub const ERROR_FLT_REGISTRATION_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145451997i32 as _ ) ; pub const ERROR_FLT_VOLUME_ALREADY_MOUNTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452006i32 as _ ) ; pub const ERROR_FLT_VOLUME_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452012i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_ACCESS_NOT_EXCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242181i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_CHAIN_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242189i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242456i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242455i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_WAS_RESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243261i32 as _ ) ; pub const ERROR_GRAPHICS_ALLOCATION_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243006i32 as _ ) ; pub const ERROR_GRAPHICS_ALLOCATION_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242990i32 as _ ) ; pub const ERROR_GRAPHICS_ALLOCATION_CONTENT_LOST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242986i32 as _ ) ; pub const ERROR_GRAPHICS_ALLOCATION_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243002i32 as _ ) ; pub const ERROR_GRAPHICS_CANCEL_VIDPN_TOPOLOGY_AUGMENTATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242406i32 as _ ) ; pub const ERROR_GRAPHICS_CANNOTCOLORCONVERT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243256i32 as _ ) ; pub const ERROR_GRAPHICS_CANT_ACCESS_ACTIVE_VIDPN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242429i32 as _ ) ; pub const ERROR_GRAPHICS_CANT_EVICT_PINNED_ALLOCATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242999i32 as _ ) ; pub const ERROR_GRAPHICS_CANT_LOCK_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243007i32 as _ ) ; pub const ERROR_GRAPHICS_CANT_RENDER_LOCKED_ALLOCATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242991i32 as _ ) ; pub const ERROR_GRAPHICS_CHAINLINKS_NOT_ENUMERATED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242190i32 as _ ) ; pub const ERROR_GRAPHICS_CHAINLINKS_NOT_POWERED_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242187i32 as _ ) ; pub const ERROR_GRAPHICS_CHAINLINKS_NOT_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242188i32 as _ ) ; pub const ERROR_GRAPHICS_CHILD_DESCRIPTOR_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242239i32 as _ ) ; pub const ERROR_GRAPHICS_CLIENTVIDPN_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242404i32 as _ ) ; pub const ERROR_GRAPHICS_COPP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241983i32 as _ ) ; pub const ERROR_GRAPHICS_DATASET_IS_EMPTY : :: windows :: HRESULT = :: windows :: HRESULT ( 2499403i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_CURRENT_CURRENT_VALUE_GREATER_THAN_MAXIMUM_VALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241768i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_INVALID_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241851i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_INVALID_MESSAGE_CHECKSUM : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241845i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_INVALID_MESSAGE_COMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241847i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_INVALID_MESSAGE_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241846i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_MONITOR_RETURNED_INVALID_TIMING_STATUS_BYTE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241850i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_VCP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241852i32 as _ ) ; pub const ERROR_GRAPHICS_DEPENDABLE_CHILD_STATUS : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241468i32 as _ ) ; pub const ERROR_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241758i32 as _ ) ; pub const ERROR_GRAPHICS_DRIVER_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243255i32 as _ ) ; pub const ERROR_GRAPHICS_EMPTY_ADAPTER_MONITOR_MODE_SUPPORT_INTERSECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242459i32 as _ ) ; pub const ERROR_GRAPHICS_FREQUENCYRANGE_ALREADY_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242465i32 as _ ) ; pub const ERROR_GRAPHICS_FREQUENCYRANGE_NOT_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242467i32 as _ ) ; pub const ERROR_GRAPHICS_GAMMA_RAMP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242424i32 as _ ) ; pub const ERROR_GRAPHICS_GPU_EXCEPTION_ON_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242752i32 as _ ) ; pub const ERROR_GRAPHICS_I2C_DEVICE_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241855i32 as _ ) ; pub const ERROR_GRAPHICS_I2C_ERROR_RECEIVING_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241853i32 as _ ) ; pub const ERROR_GRAPHICS_I2C_ERROR_TRANSMITTING_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241854i32 as _ ) ; pub const ERROR_GRAPHICS_I2C_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241856i32 as _ ) ; pub const ERROR_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242411i32 as _ ) ; pub const ERROR_GRAPHICS_INCONSISTENT_DEVICE_LINK_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242186i32 as _ ) ; pub const ERROR_GRAPHICS_INDIRECT_DISPLAY_ABANDON_SWAPCHAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243246i32 as _ ) ; pub const ERROR_GRAPHICS_INDIRECT_DISPLAY_DEVICE_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243245i32 as _ ) ; pub const ERROR_GRAPHICS_INSUFFICIENT_DMA_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243263i32 as _ ) ; pub const ERROR_GRAPHICS_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241753i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_ACTIVE_REGION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242485i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_ALLOCATION_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242988i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_ALLOCATION_INSTANCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242989i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_ALLOCATION_USAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242992i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_CLIENT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242405i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_COLORBASIS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242434i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_COPYPROTECTION_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242417i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_DISPLAY_ADAPTER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243262i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_DRIVER_MODEL : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243260i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_FREQUENCY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242486i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_GAMMA_RAMP : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242425i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MODE_PRUNING_ALGORITHM : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242410i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITORDESCRIPTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242453i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITORDESCRIPTORSET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242454i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_CAPABILITY_ORIGIN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242409i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242468i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242469i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE_CONSTRAINT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242408i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_SOURCEMODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242463i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_SOURCE_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242462i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PATH_CONTENT_GEOMETRY_TRANSFORMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242427i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PATH_CONTENT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242418i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PATH_IMPORTANCE_ORDINAL : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242428i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PHYSICAL_MONITOR_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241844i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PIXELFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242435i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PIXELVALUEACCESSMODE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242433i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241756i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242438i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_SCANLINE_ORDERING : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242414i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_STRIDE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242436i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_TOTAL_REGION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242484i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEOPRESENTSOURCESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242475i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEOPRESENTTARGETSET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242474i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242492i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242480i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242491i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242479i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242493i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_PRESENT_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242471i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_SOURCEMODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242488i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_TARGETMODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242487i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242449i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242496i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_TOPOLOGY_RECOMMENDATION_REASON : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242419i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VISIBLEREGION_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242437i32 as _ ) ; pub const ERROR_GRAPHICS_LEADLINK_NOT_ENUMERATED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242191i32 as _ ) ; pub const ERROR_GRAPHICS_LEADLINK_START_DEFERRED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241463i32 as _ ) ; pub const ERROR_GRAPHICS_MAX_NUM_PATHS_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242407i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241848i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_INVALID_CAPABILITIES_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241849i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_INVALID_TECHNOLOGY_TYPE_RETURNED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241762i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_INVALID_VCP_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241767i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_MCCS_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241765i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_MONITOR_VIOLATES_MCCS_SPECIFICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241766i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_UNSUPPORTED_COLOR_TEMPERATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241761i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_UNSUPPORTED_MCCS_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241764i32 as _ ) ; pub const ERROR_GRAPHICS_MIRRORING_DEVICES_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241757i32 as _ ) ; pub const ERROR_GRAPHICS_MODE_ALREADY_IN_MODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242476i32 as _ ) ; pub const ERROR_GRAPHICS_MODE_ID_MUST_BE_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242460i32 as _ ) ; pub const ERROR_GRAPHICS_MODE_NOT_IN_MODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242422i32 as _ ) ; pub const ERROR_GRAPHICS_MODE_NOT_PINNED : :: windows :: HRESULT = :: windows :: HRESULT ( 2499335i32 as _ ) ; pub const ERROR_GRAPHICS_MONITORDESCRIPTOR_ALREADY_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242451i32 as _ ) ; pub const ERROR_GRAPHICS_MONITORDESCRIPTOR_ID_MUST_BE_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242450i32 as _ ) ; pub const ERROR_GRAPHICS_MONITORDESCRIPTOR_NOT_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242452i32 as _ ) ; pub const ERROR_GRAPHICS_MONITOR_COULD_NOT_BE_ASSOCIATED_WITH_ADAPTER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242444i32 as _ ) ; pub const ERROR_GRAPHICS_MONITOR_NOT_CONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242440i32 as _ ) ; pub const ERROR_GRAPHICS_MONITOR_NO_LONGER_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241843i32 as _ ) ; pub const ERROR_GRAPHICS_MULTISAMPLING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242423i32 as _ ) ; pub const ERROR_GRAPHICS_NOT_A_LINKED_ADAPTER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242192i32 as _ ) ; pub const ERROR_GRAPHICS_NOT_EXCLUSIVE_MODE_OWNER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243264i32 as _ ) ; pub const ERROR_GRAPHICS_NOT_POST_DEVICE_DRIVER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242184i32 as _ ) ; pub const ERROR_GRAPHICS_NO_ACTIVE_VIDPN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242442i32 as _ ) ; pub const ERROR_GRAPHICS_NO_AVAILABLE_IMPORTANCE_ORDINALS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242412i32 as _ ) ; pub const ERROR_GRAPHICS_NO_AVAILABLE_VIDPN_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242445i32 as _ ) ; pub const ERROR_GRAPHICS_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241759i32 as _ ) ; pub const ERROR_GRAPHICS_NO_DISPLAY_MODE_MANAGEMENT_SUPPORT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242431i32 as _ ) ; pub const ERROR_GRAPHICS_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241755i32 as _ ) ; pub const ERROR_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET : :: windows :: HRESULT = :: windows :: HRESULT ( 2499404i32 as _ ) ; pub const ERROR_GRAPHICS_NO_PREFERRED_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( 2499358i32 as _ ) ; pub const ERROR_GRAPHICS_NO_RECOMMENDED_FUNCTIONAL_VIDPN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242461i32 as _ ) ; pub const ERROR_GRAPHICS_NO_RECOMMENDED_VIDPN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242470i32 as _ ) ; pub const ERROR_GRAPHICS_NO_VIDEO_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243008i32 as _ ) ; pub const ERROR_GRAPHICS_NO_VIDPNMGR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242443i32 as _ ) ; pub const ERROR_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241760i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_ALL_HDCP_HARDWARE_ALREADY_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241960i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_DRIVER_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241954i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_HDCP_SRM_NEVER_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241962i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241973i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_CONFIGURATION_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241951i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_ENCRYPTED_PARAMETERS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241981i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241972i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_INFORMATION_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241955i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_SRM : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241966i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241984i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_NO_VIDEO_OUTPUTS_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241979i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_ACP : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241964i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_CGMSA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241963i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_HDCP : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241965i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_RESOLUTION_TOO_HIGH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241961i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_SESSION_TYPE_CHANGE_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241957i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_SIGNALING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241952i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_SPANNING_MODE_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241969i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_THEATER_MODE_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241968i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_VIDEO_OUTPUT_DOES_NOT_HAVE_COPP_SEMANTICS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241956i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_VIDEO_OUTPUT_DOES_NOT_HAVE_OPM_SEMANTICS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241953i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_VIDEO_OUTPUT_NO_LONGER_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241958i32 as _ ) ; pub const ERROR_GRAPHICS_PARAMETER_ARRAY_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241754i32 as _ ) ; pub const ERROR_GRAPHICS_PARTIAL_DATA_POPULATED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076240394i32 as _ ) ; pub const ERROR_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242477i32 as _ ) ; pub const ERROR_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED : :: windows :: HRESULT = :: windows :: HRESULT ( 2499409i32 as _ ) ; pub const ERROR_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242426i32 as _ ) ; pub const ERROR_GRAPHICS_PATH_NOT_IN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242457i32 as _ ) ; pub const ERROR_GRAPHICS_PINNED_MODE_MUST_REMAIN_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242478i32 as _ ) ; pub const ERROR_GRAPHICS_POLLING_TOO_FREQUENTLY : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241465i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_BUFFER_NOT_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243248i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243257i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_INVALID_WINDOW : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243249i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_MODE_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243259i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_OCCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243258i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_REDIRECTION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243253i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_UNOCCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243252i32 as _ ) ; pub const ERROR_GRAPHICS_PVP_HFS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241967i32 as _ ) ; pub const ERROR_GRAPHICS_PVP_INVALID_CERTIFICATE_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241970i32 as _ ) ; pub const ERROR_GRAPHICS_RESOURCES_NOT_RELATED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242448i32 as _ ) ; pub const ERROR_GRAPHICS_SESSION_TYPE_CHANGE_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071249944i32 as _ ) ; pub const ERROR_GRAPHICS_SKIP_ALLOCATION_PREPARATION : :: windows :: HRESULT = :: windows :: HRESULT ( 1076240897i32 as _ ) ; pub const ERROR_GRAPHICS_SOURCE_ALREADY_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242473i32 as _ ) ; pub const ERROR_GRAPHICS_SOURCE_ID_MUST_BE_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242447i32 as _ ) ; pub const ERROR_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242439i32 as _ ) ; pub const ERROR_GRAPHICS_SPECIFIED_CHILD_ALREADY_CONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242240i32 as _ ) ; pub const ERROR_GRAPHICS_STALE_MODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242464i32 as _ ) ; pub const ERROR_GRAPHICS_STALE_VIDPN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242441i32 as _ ) ; pub const ERROR_GRAPHICS_START_DEFERRED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241466i32 as _ ) ; pub const ERROR_GRAPHICS_TARGET_ALREADY_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242472i32 as _ ) ; pub const ERROR_GRAPHICS_TARGET_ID_MUST_BE_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242446i32 as _ ) ; pub const ERROR_GRAPHICS_TARGET_NOT_IN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242432i32 as _ ) ; pub const ERROR_GRAPHICS_TOO_MANY_REFERENCES : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243005i32 as _ ) ; pub const ERROR_GRAPHICS_TOPOLOGY_CHANGES_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242413i32 as _ ) ; pub const ERROR_GRAPHICS_TRY_AGAIN_LATER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243004i32 as _ ) ; pub const ERROR_GRAPHICS_TRY_AGAIN_NOW : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243003i32 as _ ) ; pub const ERROR_GRAPHICS_UAB_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241982i32 as _ ) ; pub const ERROR_GRAPHICS_UNASSIGNED_MODESET_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242416i32 as _ ) ; pub const ERROR_GRAPHICS_UNKNOWN_CHILD_STATUS : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241455i32 as _ ) ; pub const ERROR_GRAPHICS_UNSWIZZLING_APERTURE_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243001i32 as _ ) ; pub const ERROR_GRAPHICS_UNSWIZZLING_APERTURE_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243000i32 as _ ) ; pub const ERROR_GRAPHICS_VAIL_FAILED_TO_SEND_CREATE_SUPERWETINK_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243244i32 as _ ) ; pub const ERROR_GRAPHICS_VAIL_FAILED_TO_SEND_DESTROY_SUPERWETINK_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243243i32 as _ ) ; pub const ERROR_GRAPHICS_VAIL_STATE_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243247i32 as _ ) ; pub const ERROR_GRAPHICS_VIDEO_PRESENT_TARGETS_LESS_THAN_SOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242458i32 as _ ) ; pub const ERROR_GRAPHICS_VIDPN_MODALITY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242490i32 as _ ) ; pub const ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242430i32 as _ ) ; pub const ERROR_GRAPHICS_VIDPN_TOPOLOGY_CURRENTLY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242494i32 as _ ) ; pub const ERROR_GRAPHICS_VIDPN_TOPOLOGY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242495i32 as _ ) ; pub const ERROR_GRAPHICS_WINDOWDC_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243251i32 as _ ) ; pub const ERROR_GRAPHICS_WINDOWLESS_PRESENT_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243250i32 as _ ) ; pub const ERROR_GRAPHICS_WRONG_ALLOCATION_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242987i32 as _ ) ; pub const ERROR_HUNG_DISPLAY_DRIVER_THREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144993279i32 as _ ) ; pub const ERROR_IO_PREEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1996423167i32 as _ ) ; pub const ERROR_MONITOR_INVALID_DESCRIPTOR_CHECKSUM : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247357i32 as _ ) ; pub const ERROR_MONITOR_INVALID_DETAILED_TIMING_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247351i32 as _ ) ; pub const ERROR_MONITOR_INVALID_MANUFACTURE_DATE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247350i32 as _ ) ; pub const ERROR_MONITOR_INVALID_SERIAL_NUMBER_MONDSC_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247354i32 as _ ) ; pub const ERROR_MONITOR_INVALID_STANDARD_TIMING_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247356i32 as _ ) ; pub const ERROR_MONITOR_INVALID_USER_FRIENDLY_MONDSC_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247353i32 as _ ) ; pub const ERROR_MONITOR_NO_DESCRIPTOR : :: windows :: HRESULT = :: windows :: HRESULT ( 2494465i32 as _ ) ; pub const ERROR_MONITOR_NO_MORE_DESCRIPTOR_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247352i32 as _ ) ; pub const ERROR_MONITOR_UNKNOWN_DESCRIPTOR_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( 2494466i32 as _ ) ; pub const ERROR_MONITOR_WMI_DATABLOCK_REGISTRATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247355i32 as _ ) ; pub const ERROR_NOT_A_TIERED_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898423i32 as _ ) ; pub const ERROR_NO_APPLICABLE_APP_LICENSES_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406399i32 as _ ) ; pub const ERROR_QUIC_HANDSHAKE_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143223808i32 as _ ) ; pub const ERROR_QUIC_VER_NEG_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143223807i32 as _ ) ; pub const ERROR_SECCORE_INVALID_COMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -1058537472i32 as _ ) ; pub const ERROR_SMB_BAD_CLUSTER_DIALECT : :: windows :: HRESULT = :: windows :: HRESULT ( -1067646975i32 as _ ) ; pub const ERROR_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -1067646976i32 as _ ) ; pub const ERROR_SPACES_ALLOCATION_SIZE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344818i32 as _ ) ; pub const ERROR_SPACES_DRIVE_OPERATIONAL_STATE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344814i32 as _ ) ; pub const ERROR_SPACES_DRIVE_REDUNDANCY_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344826i32 as _ ) ; pub const ERROR_SPACES_DRIVE_SECTOR_SIZE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344828i32 as _ ) ; pub const ERROR_SPACES_ENCLOSURE_AWARE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344817i32 as _ ) ; pub const ERROR_SPACES_ENTRY_INCOMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344813i32 as _ ) ; pub const ERROR_SPACES_ENTRY_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344812i32 as _ ) ; pub const ERROR_SPACES_EXTENDED_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344820i32 as _ ) ; pub const ERROR_SPACES_FAULT_DOMAIN_TYPE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344831i32 as _ ) ; pub const ERROR_SPACES_INTERLEAVE_LENGTH_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344823i32 as _ ) ; pub const ERROR_SPACES_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344830i32 as _ ) ; pub const ERROR_SPACES_NOT_ENOUGH_DRIVES : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344821i32 as _ ) ; pub const ERROR_SPACES_NUMBER_OF_COLUMNS_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344822i32 as _ ) ; pub const ERROR_SPACES_NUMBER_OF_DATA_COPIES_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344825i32 as _ ) ; pub const ERROR_SPACES_NUMBER_OF_GROUPS_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344815i32 as _ ) ; pub const ERROR_SPACES_PARITY_LAYOUT_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344824i32 as _ ) ; pub const ERROR_SPACES_POOL_WAS_DELETED : :: windows :: HRESULT = :: windows :: HRESULT ( 15138817i32 as _ ) ; pub const ERROR_SPACES_PROVISIONING_TYPE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344819i32 as _ ) ; pub const ERROR_SPACES_RESILIENCY_TYPE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344829i32 as _ ) ; pub const ERROR_SPACES_WRITE_CACHE_SIZE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344816i32 as _ ) ; pub const ERROR_SVHDX_ERROR_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647232i32 as _ ) ; pub const ERROR_SVHDX_ERROR_STORED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067712512i32 as _ ) ; pub const ERROR_SVHDX_NO_INITIATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647221i32 as _ ) ; pub const ERROR_SVHDX_RESERVATION_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647225i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647231i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_CAPACITY_DATA_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647230i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_OPERATING_DEFINITION_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647226i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_REGISTRATIONS_PREEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647227i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_RESERVATIONS_PREEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647229i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_RESERVATIONS_RELEASED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647228i32 as _ ) ; pub const ERROR_SVHDX_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647223i32 as _ ) ; pub const ERROR_SVHDX_WRONG_FILE_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647224i32 as _ ) ; pub const ERROR_TIERING_ALREADY_PROCESSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898426i32 as _ ) ; pub const ERROR_TIERING_CANNOT_PIN_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898425i32 as _ ) ; pub const ERROR_TIERING_FILE_IS_NOT_PINNED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898424i32 as _ ) ; pub const ERROR_TIERING_INVALID_FILE_ID : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898428i32 as _ ) ; pub const ERROR_TIERING_NOT_SUPPORTED_ON_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898431i32 as _ ) ; pub const ERROR_TIERING_STORAGE_TIER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898429i32 as _ ) ; pub const ERROR_TIERING_VOLUME_DISMOUNT_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898430i32 as _ ) ; pub const ERROR_TIERING_WRONG_CLUSTER_NODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898427i32 as _ ) ; pub const ERROR_VHDSET_BACKING_STORAGE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647220i32 as _ ) ; pub const ERROR_VHD_SHARED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647222i32 as _ ) ; pub const ERROR_VOLSNAP_ACTIVATION_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138963966i32 as _ ) ; pub const ERROR_VOLSNAP_BOOTFILE_NOT_VALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2138963967i32 as _ ) ; pub const EVENT_E_ALL_SUBSCRIBERS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220991i32 as _ ) ; pub const EVENT_E_CANT_MODIFY_OR_DELETE_CONFIGURED_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220978i32 as _ ) ; pub const EVENT_E_CANT_MODIFY_OR_DELETE_UNCONFIGURED_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220979i32 as _ ) ; pub const EVENT_E_COMPLUS_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220980i32 as _ ) ; pub const EVENT_E_FIRST : i32 = -2147220992i32 ; pub const EVENT_E_INTERNALERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220986i32 as _ ) ; pub const EVENT_E_INTERNALEXCEPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220987i32 as _ ) ; pub const EVENT_E_INVALID_EVENT_CLASS_PARTITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220977i32 as _ ) ; pub const EVENT_E_INVALID_PER_USER_SID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220985i32 as _ ) ; pub const EVENT_E_LAST : i32 = -2147220961i32 ; pub const EVENT_E_MISSING_EVENTCLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220982i32 as _ ) ; pub const EVENT_E_NOT_ALL_REMOVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220981i32 as _ ) ; pub const EVENT_E_PER_USER_SID_NOT_LOGGED_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220976i32 as _ ) ; pub const EVENT_E_QUERYFIELD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220988i32 as _ ) ; pub const EVENT_E_QUERYSYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220989i32 as _ ) ; pub const EVENT_E_TOO_MANY_METHODS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220983i32 as _ ) ; pub const EVENT_E_USER_EXCEPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220984i32 as _ ) ; pub const EVENT_S_FIRST : i32 = 262656i32 ; pub const EVENT_S_LAST : i32 = 262687i32 ; pub const EVENT_S_NOSUBSCRIBERS : :: windows :: HRESULT = :: windows :: HRESULT ( 262658i32 as _ ) ; pub const EVENT_S_SOME_SUBSCRIBERS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( 262656i32 as _ ) ; pub const E_ABORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467260i32 as _ ) ; pub const E_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147024891i32 as _ ) ; pub const E_APPLICATION_ACTIVATION_EXEC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927141i32 as _ ) ; pub const E_APPLICATION_ACTIVATION_TIMED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927142i32 as _ ) ; pub const E_APPLICATION_EXITING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483622i32 as _ ) ; pub const E_APPLICATION_MANAGER_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927145i32 as _ ) ; pub const E_APPLICATION_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927148i32 as _ ) ; pub const E_APPLICATION_TEMPORARY_LICENSE_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927140i32 as _ ) ; pub const E_APPLICATION_TRIAL_LICENSE_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927139i32 as _ ) ; pub const E_APPLICATION_VIEW_EXITING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483621i32 as _ ) ; pub const E_ASYNC_OPERATION_NOT_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483623i32 as _ ) ; pub const E_AUDIO_ENGINE_NODE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798975i32 as _ ) ; pub const E_BLUETOOTH_ATT_ATTRIBUTE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864502i32 as _ ) ; pub const E_BLUETOOTH_ATT_ATTRIBUTE_NOT_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864501i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_AUTHENTICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864507i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_AUTHORIZATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864504i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_ENCRYPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864497i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_ENCRYPTION_KEY_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864500i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864495i32 as _ ) ; pub const E_BLUETOOTH_ATT_INVALID_ATTRIBUTE_VALUE_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864499i32 as _ ) ; pub const E_BLUETOOTH_ATT_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864511i32 as _ ) ; pub const E_BLUETOOTH_ATT_INVALID_OFFSET : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864505i32 as _ ) ; pub const E_BLUETOOTH_ATT_INVALID_PDU : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864508i32 as _ ) ; pub const E_BLUETOOTH_ATT_PREPARE_QUEUE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864503i32 as _ ) ; pub const E_BLUETOOTH_ATT_READ_NOT_PERMITTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864510i32 as _ ) ; pub const E_BLUETOOTH_ATT_REQUEST_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864506i32 as _ ) ; pub const E_BLUETOOTH_ATT_UNKNOWN_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2140860416i32 as _ ) ; pub const E_BLUETOOTH_ATT_UNLIKELY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864498i32 as _ ) ; pub const E_BLUETOOTH_ATT_UNSUPPORTED_GROUP_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864496i32 as _ ) ; pub const E_BLUETOOTH_ATT_WRITE_NOT_PERMITTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864509i32 as _ ) ; pub const E_BOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483637i32 as _ ) ; pub const E_CHANGED_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483636i32 as _ ) ; pub const E_ELEVATED_ACTIVATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927151i32 as _ ) ; pub const E_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467259i32 as _ ) ; pub const E_FULL_ADMIN_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927149i32 as _ ) ; pub const E_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147024890i32 as _ ) ; pub const E_HDAUDIO_CONNECTION_LIST_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798973i32 as _ ) ; pub const E_HDAUDIO_EMPTY_CONNECTION_LIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798974i32 as _ ) ; pub const E_HDAUDIO_NO_LOGICAL_DEVICES_CREATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798972i32 as _ ) ; pub const E_HDAUDIO_NULL_LINKED_LIST_ENTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798971i32 as _ ) ; pub const E_ILLEGAL_DELEGATE_ASSIGNMENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483624i32 as _ ) ; pub const E_ILLEGAL_METHOD_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483634i32 as _ ) ; pub const E_ILLEGAL_STATE_CHANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483635i32 as _ ) ; pub const E_INVALIDARG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147024809i32 as _ ) ; pub const E_INVALID_PROTOCOL_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418750i32 as _ ) ; pub const E_INVALID_PROTOCOL_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418751i32 as _ ) ; pub const E_MBN_BAD_SIM : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945342i32 as _ ) ; pub const E_MBN_CONTEXT_NOT_ACTIVATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945343i32 as _ ) ; pub const E_MBN_DATA_CLASS_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945341i32 as _ ) ; pub const E_MBN_DEFAULT_PROFILE_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945319i32 as _ ) ; pub const E_MBN_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945326i32 as _ ) ; pub const E_MBN_INVALID_ACCESS_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945340i32 as _ ) ; pub const E_MBN_INVALID_CACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945332i32 as _ ) ; pub const E_MBN_INVALID_PROFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945320i32 as _ ) ; pub const E_MBN_MAX_ACTIVATED_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945339i32 as _ ) ; pub const E_MBN_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945331i32 as _ ) ; pub const E_MBN_PACKET_SVC_DETACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945338i32 as _ ) ; pub const E_MBN_PIN_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945327i32 as _ ) ; pub const E_MBN_PIN_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945329i32 as _ ) ; pub const E_MBN_PIN_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945328i32 as _ ) ; pub const E_MBN_PROVIDERS_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945330i32 as _ ) ; pub const E_MBN_PROVIDER_NOT_VISIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945337i32 as _ ) ; pub const E_MBN_RADIO_POWER_OFF : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945336i32 as _ ) ; pub const E_MBN_SERVICE_NOT_ACTIVATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945335i32 as _ ) ; pub const E_MBN_SIM_NOT_INSERTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945334i32 as _ ) ; pub const E_MBN_SMS_ENCODING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945312i32 as _ ) ; pub const E_MBN_SMS_FILTER_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945311i32 as _ ) ; pub const E_MBN_SMS_FORMAT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945305i32 as _ ) ; pub const E_MBN_SMS_INVALID_MEMORY_INDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945310i32 as _ ) ; pub const E_MBN_SMS_LANG_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945309i32 as _ ) ; pub const E_MBN_SMS_MEMORY_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945308i32 as _ ) ; pub const E_MBN_SMS_MEMORY_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945303i32 as _ ) ; pub const E_MBN_SMS_NETWORK_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945307i32 as _ ) ; pub const E_MBN_SMS_OPERATION_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945304i32 as _ ) ; pub const E_MBN_SMS_UNKNOWN_SMSC_ADDRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945306i32 as _ ) ; pub const E_MBN_VOICE_CALL_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945333i32 as _ ) ; pub const E_MONITOR_RESOLUTION_TOO_LOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927152i32 as _ ) ; pub const E_MULTIPLE_EXTENSIONS_FOR_APPLICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927147i32 as _ ) ; pub const E_MULTIPLE_PACKAGES_FOR_FAMILY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927146i32 as _ ) ; pub const E_NOINTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467262i32 as _ ) ; pub const E_NOTIMPL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467263i32 as _ ) ; pub const E_OUTOFMEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147024882i32 as _ ) ; pub const E_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467261i32 as _ ) ; pub const E_PROTOCOL_EXTENSIONS_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418749i32 as _ ) ; pub const E_PROTOCOL_VERSION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418747i32 as _ ) ; pub const E_SKYDRIVE_FILE_NOT_UPLOADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927133i32 as _ ) ; pub const E_SKYDRIVE_ROOT_TARGET_CANNOT_INDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927134i32 as _ ) ; pub const E_SKYDRIVE_ROOT_TARGET_FILE_SYSTEM_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927136i32 as _ ) ; pub const E_SKYDRIVE_ROOT_TARGET_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927135i32 as _ ) ; pub const E_SKYDRIVE_ROOT_TARGET_VOLUME_ROOT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927131i32 as _ ) ; pub const E_SKYDRIVE_UPDATE_AVAILABILITY_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927132i32 as _ ) ; pub const E_STRING_NOT_NULL_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483625i32 as _ ) ; pub const E_SUBPROTOCOL_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418748i32 as _ ) ; pub const E_SYNCENGINE_CLIENT_UPDATE_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081594i32 as _ ) ; pub const E_SYNCENGINE_FILE_IDENTIFIER_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085694i32 as _ ) ; pub const E_SYNCENGINE_FILE_SIZE_EXCEEDS_REMAINING_QUOTA : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089790i32 as _ ) ; pub const E_SYNCENGINE_FILE_SIZE_OVER_LIMIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089791i32 as _ ) ; pub const E_SYNCENGINE_FILE_SYNC_PARTNER_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089787i32 as _ ) ; pub const E_SYNCENGINE_FOLDER_INACCESSIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081599i32 as _ ) ; pub const E_SYNCENGINE_FOLDER_IN_REDIRECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081589i32 as _ ) ; pub const E_SYNCENGINE_FOLDER_ITEM_COUNT_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089788i32 as _ ) ; pub const E_SYNCENGINE_PATH_LENGTH_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081596i32 as _ ) ; pub const E_SYNCENGINE_PROXY_AUTHENTICATION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081593i32 as _ ) ; pub const E_SYNCENGINE_REMOTE_PATH_LENGTH_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081595i32 as _ ) ; pub const E_SYNCENGINE_REQUEST_BLOCKED_BY_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085690i32 as _ ) ; pub const E_SYNCENGINE_REQUEST_BLOCKED_DUE_TO_CLIENT_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085689i32 as _ ) ; pub const E_SYNCENGINE_SERVICE_AUTHENTICATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085693i32 as _ ) ; pub const E_SYNCENGINE_SERVICE_RETURNED_UNEXPECTED_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085691i32 as _ ) ; pub const E_SYNCENGINE_STORAGE_SERVICE_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081590i32 as _ ) ; pub const E_SYNCENGINE_STORAGE_SERVICE_PROVISIONING_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081592i32 as _ ) ; pub const E_SYNCENGINE_SYNC_PAUSED_BY_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089786i32 as _ ) ; pub const E_SYNCENGINE_UNKNOWN_SERVICE_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085692i32 as _ ) ; pub const E_SYNCENGINE_UNSUPPORTED_FILE_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089789i32 as _ ) ; pub const E_SYNCENGINE_UNSUPPORTED_FOLDER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081598i32 as _ ) ; pub const E_SYNCENGINE_UNSUPPORTED_MARKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081597i32 as _ ) ; pub const E_SYNCENGINE_UNSUPPORTED_REPARSE_POINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081591i32 as _ ) ; pub const E_UAC_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927150i32 as _ ) ; pub const E_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418113i32 as _ ) ; pub const FACILTIY_MUI_ERROR_CODE : u32 = 11u32 ; pub type FARPROC = unsafe extern "system" fn ( ) -> isize ; pub const FA_E_HOMEGROUP_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927198i32 as _ ) ; pub const FA_E_MAX_PERSISTED_ITEMS_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927200i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILETIME { pub dwLowDateTime : u32 , pub dwHighDateTime : u32 } impl FILETIME { } impl :: std :: default :: Default for FILETIME { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for FILETIME { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILETIME" ) . field ( "dwLowDateTime" , & self . dwLowDateTime ) . field ( "dwHighDateTime" , & self . dwHighDateTime ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILETIME { fn eq ( & self , other : & Self ) -> bool { self . dwLowDateTime == other . dwLowDateTime && self . dwHighDateTime == other . dwHighDateTime } } impl :: std :: cmp :: Eq for FILETIME { } unsafe impl :: windows :: Abi for FILETIME { type Abi = Self ; type DefaultType = Self ; } pub const FRS_ERR_AUTHENTICATION : i32 = 8008i32 ; pub const FRS_ERR_CHILD_TO_PARENT_COMM : i32 = 8011i32 ; pub const FRS_ERR_INSUFFICIENT_PRIV : i32 = 8007i32 ; pub const FRS_ERR_INTERNAL : i32 = 8005i32 ; pub const FRS_ERR_INTERNAL_API : i32 = 8004i32 ; pub const FRS_ERR_INVALID_API_SEQUENCE : i32 = 8001i32 ; pub const FRS_ERR_INVALID_SERVICE_PARAMETER : i32 = 8017i32 ; pub const FRS_ERR_PARENT_AUTHENTICATION : i32 = 8010i32 ; pub const FRS_ERR_PARENT_INSUFFICIENT_PRIV : i32 = 8009i32 ; pub const FRS_ERR_PARENT_TO_CHILD_COMM : i32 = 8012i32 ; pub const FRS_ERR_SERVICE_COMM : i32 = 8006i32 ; pub const FRS_ERR_STARTING_SERVICE : i32 = 8002i32 ; pub const FRS_ERR_STOPPING_SERVICE : i32 = 8003i32 ; pub const FRS_ERR_SYSVOL_DEMOTE : i32 = 8016i32 ; pub const FRS_ERR_SYSVOL_IS_BUSY : i32 = 8015i32 ; pub const FRS_ERR_SYSVOL_POPULATE : i32 = 8013i32 ; pub const FRS_ERR_SYSVOL_POPULATE_TIMEOUT : i32 = 8014i32 ; pub const FVE_E_AAD_ENDPOINT_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272159i32 as _ ) ; pub const FVE_E_ACTION_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272375i32 as _ ) ; pub const FVE_E_ADBACKUP_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272171i32 as _ ) ; pub const FVE_E_AD_ATTR_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272370i32 as _ ) ; pub const FVE_E_AD_BACKUP_REQUIRED_POLICY_NOT_SET_FIXED_DRIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272165i32 as _ ) ; pub const FVE_E_AD_BACKUP_REQUIRED_POLICY_NOT_SET_OS_DRIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272166i32 as _ ) ; pub const FVE_E_AD_BACKUP_REQUIRED_POLICY_NOT_SET_REMOVABLE_DRIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272164i32 as _ ) ; pub const FVE_E_AD_GUID_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272369i32 as _ ) ; pub const FVE_E_AD_INSUFFICIENT_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272358i32 as _ ) ; pub const FVE_E_AD_INVALID_DATASIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272372i32 as _ ) ; pub const FVE_E_AD_INVALID_DATATYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272373i32 as _ ) ; pub const FVE_E_AD_NO_VALUES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272371i32 as _ ) ; pub const FVE_E_AD_SCHEMA_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272374i32 as _ ) ; pub const FVE_E_AUTH_INVALID_APPLICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272316i32 as _ ) ; pub const FVE_E_AUTH_INVALID_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272315i32 as _ ) ; pub const FVE_E_AUTOUNLOCK_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272343i32 as _ ) ; pub const FVE_E_BAD_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272362i32 as _ ) ; pub const FVE_E_BAD_INFORMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272368i32 as _ ) ; pub const FVE_E_BAD_PARTITION_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272364i32 as _ ) ; pub const FVE_E_BCD_APPLICATIONS_PATH_INCORRECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272302i32 as _ ) ; pub const FVE_E_BOOTABLE_CDDVD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272336i32 as _ ) ; pub const FVE_E_BUFFER_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272177i32 as _ ) ; pub const FVE_E_CANNOT_ENCRYPT_NO_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272338i32 as _ ) ; pub const FVE_E_CANNOT_SET_FVEK_ENCRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272339i32 as _ ) ; pub const FVE_E_CANT_LOCK_AUTOUNLOCK_ENABLED_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272233i32 as _ ) ; pub const FVE_E_CLUSTERING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272354i32 as _ ) ; pub const FVE_E_CONV_READ : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272357i32 as _ ) ; pub const FVE_E_CONV_RECOVERY_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272248i32 as _ ) ; pub const FVE_E_CONV_WRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272356i32 as _ ) ; pub const FVE_E_DEBUGGER_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272305i32 as _ ) ; pub const FVE_E_DEVICELOCKOUT_COUNTER_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272178i32 as _ ) ; pub const FVE_E_DEVICE_LOCKOUT_COUNTER_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272179i32 as _ ) ; pub const FVE_E_DEVICE_NOT_JOINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272160i32 as _ ) ; pub const FVE_E_DE_DEVICE_LOCKEDOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272182i32 as _ ) ; pub const FVE_E_DE_FIXED_DATA_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272187i32 as _ ) ; pub const FVE_E_DE_HARDWARE_NOT_COMPLIANT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272186i32 as _ ) ; pub const FVE_E_DE_OS_VOLUME_NOT_PROTECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272183i32 as _ ) ; pub const FVE_E_DE_PREVENTED_FOR_OS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272175i32 as _ ) ; pub const FVE_E_DE_PROTECTION_NOT_YET_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272181i32 as _ ) ; pub const FVE_E_DE_PROTECTION_SUSPENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272184i32 as _ ) ; pub const FVE_E_DE_VOLUME_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272173i32 as _ ) ; pub const FVE_E_DE_VOLUME_OPTED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272174i32 as _ ) ; pub const FVE_E_DE_WINRE_NOT_CONFIGURED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272185i32 as _ ) ; pub const FVE_E_DRY_RUN_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272307i32 as _ ) ; pub const FVE_E_DV_NOT_ALLOWED_BY_GP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272271i32 as _ ) ; pub const FVE_E_DV_NOT_SUPPORTED_ON_FS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272272i32 as _ ) ; pub const FVE_E_EDRIVE_BAND_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272208i32 as _ ) ; pub const FVE_E_EDRIVE_DISALLOWED_BY_GP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272207i32 as _ ) ; pub const FVE_E_EDRIVE_DRY_RUN_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272196i32 as _ ) ; pub const FVE_E_EDRIVE_DV_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272204i32 as _ ) ; pub const FVE_E_EDRIVE_INCOMPATIBLE_FIRMWARE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272193i32 as _ ) ; pub const FVE_E_EDRIVE_INCOMPATIBLE_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272206i32 as _ ) ; pub const FVE_E_EDRIVE_NO_FAILOVER_TO_SW : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272209i32 as _ ) ; pub const FVE_E_EFI_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272228i32 as _ ) ; pub const FVE_E_ENH_PIN_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272231i32 as _ ) ; pub const FVE_E_EOW_NOT_SUPPORTED_IN_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272172i32 as _ ) ; pub const FVE_E_EXECUTE_REQUEST_SENT_TOO_SOON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272162i32 as _ ) ; pub const FVE_E_FAILED_AUTHENTICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272345i32 as _ ) ; pub const FVE_E_FAILED_SECTOR_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272346i32 as _ ) ; pub const FVE_E_FAILED_WRONG_FS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272365i32 as _ ) ; pub const FVE_E_FIPS_DISABLE_PROTECTION_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272314i32 as _ ) ; pub const FVE_E_FIPS_HASH_KDF_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272232i32 as _ ) ; pub const FVE_E_FIPS_PREVENTS_EXTERNAL_KEY_EXPORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272328i32 as _ ) ; pub const FVE_E_FIPS_PREVENTS_PASSPHRASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272276i32 as _ ) ; pub const FVE_E_FIPS_PREVENTS_RECOVERY_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272329i32 as _ ) ; pub const FVE_E_FIPS_RNG_CHECK_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272330i32 as _ ) ; pub const FVE_E_FIRMWARE_TYPE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272312i32 as _ ) ; pub const FVE_E_FOREIGN_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272349i32 as _ ) ; pub const FVE_E_FS_MOUNTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272309i32 as _ ) ; pub const FVE_E_FS_NOT_EXTENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272313i32 as _ ) ; pub const FVE_E_FULL_ENCRYPTION_NOT_ALLOWED_ON_TP_STORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272219i32 as _ ) ; pub const FVE_E_HIDDEN_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272298i32 as _ ) ; pub const FVE_E_INVALID_BITLOCKER_OID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272274i32 as _ ) ; pub const FVE_E_INVALID_DATUM_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272229i32 as _ ) ; pub const FVE_E_INVALID_KEY_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272332i32 as _ ) ; pub const FVE_E_INVALID_NKP_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272225i32 as _ ) ; pub const FVE_E_INVALID_PASSWORD_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272331i32 as _ ) ; pub const FVE_E_INVALID_PIN_CHARS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272230i32 as _ ) ; pub const FVE_E_INVALID_PIN_CHARS_DETAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272180i32 as _ ) ; pub const FVE_E_INVALID_PROTECTOR_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272326i32 as _ ) ; pub const FVE_E_INVALID_STARTUP_OPTIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272293i32 as _ ) ; pub const FVE_E_KEYFILE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272323i32 as _ ) ; pub const FVE_E_KEYFILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272324i32 as _ ) ; pub const FVE_E_KEYFILE_NO_VMK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272322i32 as _ ) ; pub const FVE_E_KEY_LENGTH_NOT_SUPPORTED_BY_EDRIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272217i32 as _ ) ; pub const FVE_E_KEY_PROTECTOR_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272279i32 as _ ) ; pub const FVE_E_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272355i32 as _ ) ; pub const FVE_E_KEY_ROTATION_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272161i32 as _ ) ; pub const FVE_E_KEY_ROTATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272163i32 as _ ) ; pub const FVE_E_LIVEID_ACCOUNT_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272189i32 as _ ) ; pub const FVE_E_LIVEID_ACCOUNT_SUSPENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272190i32 as _ ) ; pub const FVE_E_LOCKED_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272384i32 as _ ) ; pub const FVE_E_MOR_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272299i32 as _ ) ; pub const FVE_E_MULTIPLE_NKP_CERTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272227i32 as _ ) ; pub const FVE_E_NON_BITLOCKER_KU : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272237i32 as _ ) ; pub const FVE_E_NON_BITLOCKER_OID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272251i32 as _ ) ; pub const FVE_E_NOT_ACTIVATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272376i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_IN_SAFE_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272320i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_IN_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272301i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_ON_CLUSTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272210i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_ON_CSV_STACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272211i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_TO_UPGRADE_WHILE_CONVERTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272205i32 as _ ) ; pub const FVE_E_NOT_DATA_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272359i32 as _ ) ; pub const FVE_E_NOT_DECRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272327i32 as _ ) ; pub const FVE_E_NOT_DE_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272169i32 as _ ) ; pub const FVE_E_NOT_ENCRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272383i32 as _ ) ; pub const FVE_E_NOT_ON_STACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272310i32 as _ ) ; pub const FVE_E_NOT_OS_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272344i32 as _ ) ; pub const FVE_E_NOT_PROVISIONED_ON_ALL_VOLUMES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272188i32 as _ ) ; pub const FVE_E_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272363i32 as _ ) ; pub const FVE_E_NO_AUTOUNLOCK_MASTER_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272300i32 as _ ) ; pub const FVE_E_NO_BOOTMGR_METRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272379i32 as _ ) ; pub const FVE_E_NO_BOOTSECTOR_METRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272380i32 as _ ) ; pub const FVE_E_NO_EXISTING_PASSPHRASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272216i32 as _ ) ; pub const FVE_E_NO_EXISTING_PIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272224i32 as _ ) ; pub const FVE_E_NO_FEATURE_LICENSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272294i32 as _ ) ; pub const FVE_E_NO_LICENSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272311i32 as _ ) ; pub const FVE_E_NO_MBR_METRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272381i32 as _ ) ; pub const FVE_E_NO_PASSPHRASE_WITH_TPM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272213i32 as _ ) ; pub const FVE_E_NO_PREBOOT_KEYBOARD_DETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272203i32 as _ ) ; pub const FVE_E_NO_PREBOOT_KEYBOARD_OR_WINRE_DETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272202i32 as _ ) ; pub const FVE_E_NO_PROTECTORS_TO_TEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272325i32 as _ ) ; pub const FVE_E_NO_SUCH_CAPABILITY_ON_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272176i32 as _ ) ; pub const FVE_E_NO_TPM_BIOS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272382i32 as _ ) ; pub const FVE_E_NO_TPM_WITH_PASSPHRASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272212i32 as _ ) ; pub const FVE_E_OPERATION_NOT_SUPPORTED_ON_VISTA_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272234i32 as _ ) ; pub const FVE_E_OSV_KSR_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272167i32 as _ ) ; pub const FVE_E_OS_NOT_PROTECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272352i32 as _ ) ; pub const FVE_E_OS_VOLUME_PASSPHRASE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272275i32 as _ ) ; pub const FVE_E_OVERLAPPED_UPDATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272348i32 as _ ) ; pub const FVE_E_PASSPHRASE_PROTECTOR_CHANGE_BY_STD_USER_DISALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272191i32 as _ ) ; pub const FVE_E_PASSPHRASE_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272214i32 as _ ) ; pub const FVE_E_PIN_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272317i32 as _ ) ; pub const FVE_E_PIN_PROTECTOR_CHANGE_BY_STD_USER_DISALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272222i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_FDV_RK_OFF_AUK_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272253i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_FDV_RP_OFF_ADB_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272239i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_OSV_RP_OFF_ADB_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272240i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_RDV_RK_OFF_AUK_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272252i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_RDV_RP_OFF_ADB_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272238i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_RO_AND_STARTUP_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272249i32 as _ ) ; pub const FVE_E_POLICY_INVALID_ENHANCED_BCD_SETTINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272194i32 as _ ) ; pub const FVE_E_POLICY_INVALID_PASSPHRASE_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272256i32 as _ ) ; pub const FVE_E_POLICY_INVALID_PIN_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272280i32 as _ ) ; pub const FVE_E_POLICY_PASSPHRASE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272278i32 as _ ) ; pub const FVE_E_POLICY_PASSPHRASE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272277i32 as _ ) ; pub const FVE_E_POLICY_PASSPHRASE_REQUIRES_ASCII : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272220i32 as _ ) ; pub const FVE_E_POLICY_PASSPHRASE_TOO_SIMPLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272255i32 as _ ) ; pub const FVE_E_POLICY_PASSWORD_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272340i32 as _ ) ; pub const FVE_E_POLICY_PROHIBITS_SELFSIGNED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272250i32 as _ ) ; pub const FVE_E_POLICY_RECOVERY_KEY_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272290i32 as _ ) ; pub const FVE_E_POLICY_RECOVERY_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272289i32 as _ ) ; pub const FVE_E_POLICY_RECOVERY_PASSWORD_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272292i32 as _ ) ; pub const FVE_E_POLICY_RECOVERY_PASSWORD_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272291i32 as _ ) ; pub const FVE_E_POLICY_REQUIRES_RECOVERY_PASSWORD_ON_TOUCH_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272200i32 as _ ) ; pub const FVE_E_POLICY_REQUIRES_STARTUP_PIN_ON_TOUCH_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272201i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_KEY_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272286i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272285i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_PIN_KEY_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272284i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_PIN_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272283i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_PIN_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272288i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_PIN_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272287i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_TPM_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272282i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_TPM_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272281i32 as _ ) ; pub const FVE_E_POLICY_USER_CERTIFICATE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272270i32 as _ ) ; pub const FVE_E_POLICY_USER_CERTIFICATE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272269i32 as _ ) ; pub const FVE_E_POLICY_USER_CERT_MUST_BE_HW : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272268i32 as _ ) ; pub const FVE_E_POLICY_USER_CONFIGURE_FDV_AUTOUNLOCK_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272267i32 as _ ) ; pub const FVE_E_POLICY_USER_CONFIGURE_RDV_AUTOUNLOCK_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272266i32 as _ ) ; pub const FVE_E_POLICY_USER_CONFIGURE_RDV_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272265i32 as _ ) ; pub const FVE_E_POLICY_USER_DISABLE_RDV_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272263i32 as _ ) ; pub const FVE_E_POLICY_USER_ENABLE_RDV_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272264i32 as _ ) ; pub const FVE_E_PRIVATEKEY_AUTH_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272236i32 as _ ) ; pub const FVE_E_PROTECTION_CANNOT_BE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272168i32 as _ ) ; pub const FVE_E_PROTECTION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272351i32 as _ ) ; pub const FVE_E_PROTECTOR_CHANGE_MAX_PASSPHRASE_CHANGE_ATTEMPTS_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272192i32 as _ ) ; pub const FVE_E_PROTECTOR_CHANGE_MAX_PIN_CHANGE_ATTEMPTS_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272221i32 as _ ) ; pub const FVE_E_PROTECTOR_CHANGE_PASSPHRASE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272215i32 as _ ) ; pub const FVE_E_PROTECTOR_CHANGE_PIN_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272223i32 as _ ) ; pub const FVE_E_PROTECTOR_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272335i32 as _ ) ; pub const FVE_E_PROTECTOR_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272333i32 as _ ) ; pub const FVE_E_PUBKEY_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272296i32 as _ ) ; pub const FVE_E_RAW_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272304i32 as _ ) ; pub const FVE_E_RAW_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272303i32 as _ ) ; pub const FVE_E_REBOOT_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272306i32 as _ ) ; pub const FVE_E_RECOVERY_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272350i32 as _ ) ; pub const FVE_E_RECOVERY_PARTITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272254i32 as _ ) ; pub const FVE_E_RELATIVE_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272334i32 as _ ) ; pub const FVE_E_REMOVAL_OF_DRA_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272235i32 as _ ) ; pub const FVE_E_REMOVAL_OF_NKP_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272226i32 as _ ) ; pub const FVE_E_SECUREBOOT_CONFIGURATION_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272197i32 as _ ) ; pub const FVE_E_SECUREBOOT_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272198i32 as _ ) ; pub const FVE_E_SECURE_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272377i32 as _ ) ; pub const FVE_E_SHADOW_COPY_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272195i32 as _ ) ; pub const FVE_E_SYSTEM_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272366i32 as _ ) ; pub const FVE_E_TOKEN_NOT_IMPERSONATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272308i32 as _ ) ; pub const FVE_E_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272367i32 as _ ) ; pub const FVE_E_TPM_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272321i32 as _ ) ; pub const FVE_E_TPM_INVALID_PCR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272319i32 as _ ) ; pub const FVE_E_TPM_NOT_OWNED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272360i32 as _ ) ; pub const FVE_E_TPM_NO_VMK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272318i32 as _ ) ; pub const FVE_E_TPM_SRK_AUTH_NOT_ZERO : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272347i32 as _ ) ; pub const FVE_E_TRANSIENT_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272297i32 as _ ) ; pub const FVE_E_VIRTUALIZED_SPACE_TOO_BIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272247i32 as _ ) ; pub const FVE_E_VOLUME_BOUND_ALREADY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272353i32 as _ ) ; pub const FVE_E_VOLUME_EXTEND_PREVENTS_EOW_DECRYPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272170i32 as _ ) ; pub const FVE_E_VOLUME_HANDLE_OPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272295i32 as _ ) ; pub const FVE_E_VOLUME_NOT_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272361i32 as _ ) ; pub const FVE_E_VOLUME_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272273i32 as _ ) ; pub const FVE_E_WIPE_CANCEL_NOT_APPLICABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272199i32 as _ ) ; pub const FVE_E_WIPE_NOT_ALLOWED_ON_TP_STORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272218i32 as _ ) ; pub const FVE_E_WRONG_BOOTMGR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272378i32 as _ ) ; pub const FVE_E_WRONG_BOOTSECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272342i32 as _ ) ; pub const FVE_E_WRONG_SYSTEM_FS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272341i32 as _ ) ; pub const FWP_E_ACTION_INCOMPATIBLE_WITH_LAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206804i32 as _ ) ; pub const FWP_E_ACTION_INCOMPATIBLE_WITH_SUBLAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206803i32 as _ ) ; pub const FWP_E_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206839i32 as _ ) ; pub const FWP_E_BUILTIN_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206825i32 as _ ) ; pub const FWP_E_CALLOUT_NOTIFICATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206793i32 as _ ) ; pub const FWP_E_CALLOUT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206847i32 as _ ) ; pub const FWP_E_CONDITION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206846i32 as _ ) ; pub const FWP_E_CONNECTIONS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206783i32 as _ ) ; pub const FWP_E_CONTEXT_INCOMPATIBLE_WITH_CALLOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206801i32 as _ ) ; pub const FWP_E_CONTEXT_INCOMPATIBLE_WITH_LAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206802i32 as _ ) ; pub const FWP_E_DROP_NOICMP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206588i32 as _ ) ; pub const FWP_E_DUPLICATE_AUTH_METHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206788i32 as _ ) ; pub const FWP_E_DUPLICATE_CONDITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206806i32 as _ ) ; pub const FWP_E_DUPLICATE_KEYMOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206805i32 as _ ) ; pub const FWP_E_DYNAMIC_SESSION_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206837i32 as _ ) ; pub const FWP_E_EM_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206798i32 as _ ) ; pub const FWP_E_FILTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206845i32 as _ ) ; pub const FWP_E_IKEEXT_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206780i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_AUTH_METHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206800i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_CIPHER_TRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206790i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_DH_GROUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206799i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_LAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206828i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_SA_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206821i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_TXN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206831i32 as _ ) ; pub const FWP_E_INVALID_ACTION_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206812i32 as _ ) ; pub const FWP_E_INVALID_AUTH_TRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206792i32 as _ ) ; pub const FWP_E_INVALID_CIPHER_TRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206791i32 as _ ) ; pub const FWP_E_INVALID_DNS_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206782i32 as _ ) ; pub const FWP_E_INVALID_ENUMERATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206819i32 as _ ) ; pub const FWP_E_INVALID_FLAGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206818i32 as _ ) ; pub const FWP_E_INVALID_INTERVAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206815i32 as _ ) ; pub const FWP_E_INVALID_NET_MASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206817i32 as _ ) ; pub const FWP_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206795i32 as _ ) ; pub const FWP_E_INVALID_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206816i32 as _ ) ; pub const FWP_E_INVALID_TRANSFORM_COMBINATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206789i32 as _ ) ; pub const FWP_E_INVALID_TUNNEL_ENDPOINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206787i32 as _ ) ; pub const FWP_E_INVALID_WEIGHT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206811i32 as _ ) ; pub const FWP_E_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206838i32 as _ ) ; pub const FWP_E_KEY_DICTATION_INVALID_KEYING_MATERIAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206784i32 as _ ) ; pub const FWP_E_KEY_DICTATOR_ALREADY_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206785i32 as _ ) ; pub const FWP_E_KM_CLIENTS_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206827i32 as _ ) ; pub const FWP_E_L2_DRIVER_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206786i32 as _ ) ; pub const FWP_E_LAYER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206844i32 as _ ) ; pub const FWP_E_LIFETIME_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206826i32 as _ ) ; pub const FWP_E_MATCH_TYPE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206810i32 as _ ) ; pub const FWP_E_NET_EVENTS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206829i32 as _ ) ; pub const FWP_E_NEVER_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206797i32 as _ ) ; pub const FWP_E_NOTIFICATION_DROPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206823i32 as _ ) ; pub const FWP_E_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206840i32 as _ ) ; pub const FWP_E_NO_TXN_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206835i32 as _ ) ; pub const FWP_E_NULL_DISPLAY_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206813i32 as _ ) ; pub const FWP_E_NULL_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206820i32 as _ ) ; pub const FWP_E_OUT_OF_BOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206808i32 as _ ) ; pub const FWP_E_PROVIDER_CONTEXT_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206796i32 as _ ) ; pub const FWP_E_PROVIDER_CONTEXT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206842i32 as _ ) ; pub const FWP_E_PROVIDER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206843i32 as _ ) ; pub const FWP_E_RESERVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206807i32 as _ ) ; pub const FWP_E_SESSION_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206832i32 as _ ) ; pub const FWP_E_STILL_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206781i32 as _ ) ; pub const FWP_E_SUBLAYER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206841i32 as _ ) ; pub const FWP_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206830i32 as _ ) ; pub const FWP_E_TOO_MANY_CALLOUTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206824i32 as _ ) ; pub const FWP_E_TOO_MANY_SUBLAYERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206794i32 as _ ) ; pub const FWP_E_TRAFFIC_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206822i32 as _ ) ; pub const FWP_E_TXN_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206833i32 as _ ) ; pub const FWP_E_TXN_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206834i32 as _ ) ; pub const FWP_E_TYPE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206809i32 as _ ) ; pub const FWP_E_WRONG_SESSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206836i32 as _ ) ; pub const FWP_E_ZERO_LENGTH_ARRAY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206814i32 as _ ) ; pub const GCN_E_DEFAULTNAMESPACE_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616983i32 as _ ) ; pub const GCN_E_MODULE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616991i32 as _ ) ; pub const GCN_E_NETADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616986i32 as _ ) ; pub const GCN_E_NETADAPTER_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616987i32 as _ ) ; pub const GCN_E_NETCOMPARTMENT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616985i32 as _ ) ; pub const GCN_E_NETINTERFACE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616984i32 as _ ) ; pub const GCN_E_NO_REQUEST_HANDLERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616990i32 as _ ) ; pub const GCN_E_REQUEST_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616989i32 as _ ) ; pub const GCN_E_RUNTIMEKEYS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616988i32 as _ ) ; pub unsafe fn GetHandleInformation < 'a , Param0 : :: windows :: IntoParam < 'a , HANDLE > , > ( hobject : Param0 , lpdwflags : * mut u32 , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="kernel32" ) ] extern "system" { fn GetHandleInformation ( hobject : HANDLE , lpdwflags : * mut u32 ) -> BOOL ; } :: std :: mem :: transmute ( GetHandleInformation ( hobject . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HANDLE ( pub isize ) ; unsafe impl :: windows :: Handle for HANDLE { fn is_invalid ( & self ) -> bool { self . 0 == 0 || self . 0 == - 1 } fn ok ( self ) -> :: windows :: Result < Self > { if self . is_invalid ( ) { Err ( :: windows :: Error :: from_win32 ( ) ) } else { Ok ( self ) } } } unsafe impl :: windows :: Abi for HANDLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct HANDLE_FLAGS ( pub u32 ) ; pub const HANDLE_FLAG_INHERIT : HANDLE_FLAGS = HANDLE_FLAGS ( 1u32 ) ; pub const HANDLE_FLAG_PROTECT_FROM_CLOSE : HANDLE_FLAGS = HANDLE_FLAGS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for HANDLE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for HANDLE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for HANDLE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for HANDLE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for HANDLE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for HANDLE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for HANDLE_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const HCN_E_ADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617018i32 as _ ) ; pub const HCN_E_ADDR_INVALID_OR_RESERVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616977i32 as _ ) ; pub const HCN_E_DEGRADED_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617001i32 as _ ) ; pub const HCN_E_ENDPOINT_ALREADY_ATTACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617004i32 as _ ) ; pub const HCN_E_ENDPOINT_NAMESPACE_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616981i32 as _ ) ; pub const HCN_E_ENDPOINT_NOT_ATTACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616972i32 as _ ) ; pub const HCN_E_ENDPOINT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617022i32 as _ ) ; pub const HCN_E_ENDPOINT_NOT_LOCAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616971i32 as _ ) ; pub const HCN_E_ENDPOINT_SHARING_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616995i32 as _ ) ; pub const HCN_E_ENTITY_HAS_REFERENCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616980i32 as _ ) ; pub const HCN_E_GUID_CONVERSION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616999i32 as _ ) ; pub const HCN_E_ICS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616982i32 as _ ) ; pub const HCN_E_INVALID_ENDPOINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617012i32 as _ ) ; pub const HCN_E_INVALID_INTERNAL_PORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616979i32 as _ ) ; pub const HCN_E_INVALID_IP : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616994i32 as _ ) ; pub const HCN_E_INVALID_IP_SUBNET : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616973i32 as _ ) ; pub const HCN_E_INVALID_JSON : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616997i32 as _ ) ; pub const HCN_E_INVALID_JSON_REFERENCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616996i32 as _ ) ; pub const HCN_E_INVALID_NETWORK : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617014i32 as _ ) ; pub const HCN_E_INVALID_NETWORK_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617013i32 as _ ) ; pub const HCN_E_INVALID_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617011i32 as _ ) ; pub const HCN_E_INVALID_POLICY_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617010i32 as _ ) ; pub const HCN_E_INVALID_PREFIX : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616976i32 as _ ) ; pub const HCN_E_INVALID_REMOTE_ENDPOINT_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617009i32 as _ ) ; pub const HCN_E_INVALID_SUBNET : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616974i32 as _ ) ; pub const HCN_E_LAYER_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617007i32 as _ ) ; pub const HCN_E_LAYER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617021i32 as _ ) ; pub const HCN_E_MANAGER_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616992i32 as _ ) ; pub const HCN_E_MAPPING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617002i32 as _ ) ; pub const HCN_E_NAMESPACE_ATTACH_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616978i32 as _ ) ; pub const HCN_E_NETWORK_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617008i32 as _ ) ; pub const HCN_E_NETWORK_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617023i32 as _ ) ; pub const HCN_E_OBJECT_USED_AFTER_UNLOAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616975i32 as _ ) ; pub const HCN_E_POLICY_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617006i32 as _ ) ; pub const HCN_E_POLICY_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617016i32 as _ ) ; pub const HCN_E_PORT_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617005i32 as _ ) ; pub const HCN_E_PORT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617017i32 as _ ) ; pub const HCN_E_REGKEY_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616998i32 as _ ) ; pub const HCN_E_REQUEST_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617003i32 as _ ) ; pub const HCN_E_SHARED_SWITCH_MODIFICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617000i32 as _ ) ; pub const HCN_E_SUBNET_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617019i32 as _ ) ; pub const HCN_E_SWITCH_EXTENSION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616993i32 as _ ) ; pub const HCN_E_SWITCH_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617020i32 as _ ) ; pub const HCN_E_VFP_PORTSETTING_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617015i32 as _ ) ; pub const HCN_INTERFACEPARAMETERS_ALREADY_APPLIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616970i32 as _ ) ; pub const HCS_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878885i32 as _ ) ; pub const HCS_E_CONNECTION_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878902i32 as _ ) ; pub const HCS_E_CONNECTION_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878903i32 as _ ) ; pub const HCS_E_CONNECT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878904i32 as _ ) ; pub const HCS_E_GUEST_CRITICAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878884i32 as _ ) ; pub const HCS_E_HYPERV_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878910i32 as _ ) ; pub const HCS_E_IMAGE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878911i32 as _ ) ; pub const HCS_E_INVALID_JSON : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878899i32 as _ ) ; pub const HCS_E_INVALID_LAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878894i32 as _ ) ; pub const HCS_E_INVALID_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878907i32 as _ ) ; pub const HCS_E_OPERATION_ALREADY_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878890i32 as _ ) ; pub const HCS_E_OPERATION_NOT_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878891i32 as _ ) ; pub const HCS_E_OPERATION_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878889i32 as _ ) ; pub const HCS_E_OPERATION_RESULT_ALLOCATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878886i32 as _ ) ; pub const HCS_E_OPERATION_SYSTEM_CALLBACK_ALREADY_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878887i32 as _ ) ; pub const HCS_E_OPERATION_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878888i32 as _ ) ; pub const HCS_E_PROCESS_ALREADY_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878881i32 as _ ) ; pub const HCS_E_PROCESS_INFO_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878883i32 as _ ) ; pub const HCS_E_PROTOCOL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878895i32 as _ ) ; pub const HCS_E_SERVICE_DISCONNECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878882i32 as _ ) ; pub const HCS_E_SERVICE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878892i32 as _ ) ; pub const HCS_E_SYSTEM_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878897i32 as _ ) ; pub const HCS_E_SYSTEM_ALREADY_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878896i32 as _ ) ; pub const HCS_E_SYSTEM_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878898i32 as _ ) ; pub const HCS_E_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878905i32 as _ ) ; pub const HCS_E_TERMINATED_DURING_START : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878912i32 as _ ) ; pub const HCS_E_UNEXPECTED_EXIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878906i32 as _ ) ; pub const HCS_E_UNKNOWN_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878901i32 as _ ) ; pub const HCS_E_UNSUPPORTED_PROTOCOL_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878900i32 as _ ) ; pub const HCS_E_WINDOWS_INSIDER_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878893i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HINSTANCE ( pub isize ) ; impl :: std :: default :: Default for HINSTANCE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HINSTANCE { } unsafe impl :: windows :: Abi for HINSTANCE { type Abi = Self ; type DefaultType = Self ; } pub const HTTP_E_STATUS_AMBIGUOUS : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844948i32 as _ ) ; pub const HTTP_E_STATUS_BAD_GATEWAY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844746i32 as _ ) ; pub const HTTP_E_STATUS_BAD_METHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844843i32 as _ ) ; pub const HTTP_E_STATUS_BAD_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844848i32 as _ ) ; pub const HTTP_E_STATUS_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844839i32 as _ ) ; pub const HTTP_E_STATUS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844847i32 as _ ) ; pub const HTTP_E_STATUS_EXPECTATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844831i32 as _ ) ; pub const HTTP_E_STATUS_FORBIDDEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844845i32 as _ ) ; pub const HTTP_E_STATUS_GATEWAY_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844744i32 as _ ) ; pub const HTTP_E_STATUS_GONE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844838i32 as _ ) ; pub const HTTP_E_STATUS_LENGTH_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844837i32 as _ ) ; pub const HTTP_E_STATUS_MOVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844947i32 as _ ) ; pub const HTTP_E_STATUS_NONE_ACCEPTABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844842i32 as _ ) ; pub const HTTP_E_STATUS_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844844i32 as _ ) ; pub const HTTP_E_STATUS_NOT_MODIFIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844944i32 as _ ) ; pub const HTTP_E_STATUS_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844747i32 as _ ) ; pub const HTTP_E_STATUS_PAYMENT_REQ : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844846i32 as _ ) ; pub const HTTP_E_STATUS_PRECOND_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844836i32 as _ ) ; pub const HTTP_E_STATUS_PROXY_AUTH_REQ : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844841i32 as _ ) ; pub const HTTP_E_STATUS_RANGE_NOT_SATISFIABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844832i32 as _ ) ; pub const HTTP_E_STATUS_REDIRECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844946i32 as _ ) ; pub const HTTP_E_STATUS_REDIRECT_KEEP_VERB : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844941i32 as _ ) ; pub const HTTP_E_STATUS_REDIRECT_METHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844945i32 as _ ) ; pub const HTTP_E_STATUS_REQUEST_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844840i32 as _ ) ; pub const HTTP_E_STATUS_REQUEST_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844835i32 as _ ) ; pub const HTTP_E_STATUS_SERVER_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844748i32 as _ ) ; pub const HTTP_E_STATUS_SERVICE_UNAVAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844745i32 as _ ) ; pub const HTTP_E_STATUS_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145845247i32 as _ ) ; pub const HTTP_E_STATUS_UNEXPECTED_CLIENT_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2145845244i32 as _ ) ; pub const HTTP_E_STATUS_UNEXPECTED_REDIRECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145845245i32 as _ ) ; pub const HTTP_E_STATUS_UNEXPECTED_SERVER_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2145845243i32 as _ ) ; pub const HTTP_E_STATUS_UNSUPPORTED_MEDIA : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844833i32 as _ ) ; pub const HTTP_E_STATUS_URI_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844834i32 as _ ) ; pub const HTTP_E_STATUS_USE_PROXY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844943i32 as _ ) ; pub const HTTP_E_STATUS_VERSION_NOT_SUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844743i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HWND ( pub isize ) ; impl :: std :: default :: Default for HWND { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HWND { } unsafe impl :: windows :: Abi for HWND { type Abi = Self ; type DefaultType = Self ; } pub const INPLACE_E_FIRST : i32 = -2147221088i32 ; pub const INPLACE_E_LAST : i32 = -2147221073i32 ; pub const INPLACE_E_NOTOOLSPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221087i32 as _ ) ; pub const INPLACE_E_NOTUNDOABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221088i32 as _ ) ; pub const INPLACE_S_FIRST : i32 = 262560i32 ; pub const INPLACE_S_LAST : i32 = 262575i32 ; pub const INPLACE_S_TRUNCATED : :: windows :: HRESULT = :: windows :: HRESULT ( 262560i32 as _ ) ; pub const INPUT_E_DEVICE_INFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289338i32 as _ ) ; pub const INPUT_E_DEVICE_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289336i32 as _ ) ; pub const INPUT_E_FRAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289340i32 as _ ) ; pub const INPUT_E_HISTORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289339i32 as _ ) ; pub const INPUT_E_MULTIMODAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289342i32 as _ ) ; pub const INPUT_E_OUT_OF_ORDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289344i32 as _ ) ; pub const INPUT_E_PACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289341i32 as _ ) ; pub const INPUT_E_REENTRANCY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289343i32 as _ ) ; pub const INPUT_E_TRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289337i32 as _ ) ; pub const INVALID_HANDLE_VALUE : HANDLE = HANDLE ( -1i32 as _ ) ; pub const JSCRIPT_E_CANTEXECUTE : :: windows :: HRESULT = :: windows :: HRESULT ( -1996357631i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct LPARAM ( pub isize ) ; impl :: std :: default :: Default for LPARAM { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for LPARAM { } unsafe impl :: windows :: Abi for LPARAM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct LRESULT ( pub i32 ) ; impl :: std :: default :: Default for LRESULT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for LRESULT { } unsafe impl :: windows :: Abi for LRESULT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct LSTATUS ( pub i32 ) ; impl :: std :: default :: Default for LSTATUS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for LSTATUS { } unsafe impl :: windows :: Abi for LSTATUS { type Abi = Self ; type DefaultType = Self ; } pub const MARSHAL_E_FIRST : i32 = -2147221216i32 ; pub const MARSHAL_E_LAST : i32 = -2147221201i32 ; pub const MARSHAL_S_FIRST : i32 = 262432i32 ; pub const MARSHAL_S_LAST : i32 = 262447i32 ; pub const MAX_PATH : u32 = 260u32 ; pub const MEM_E_INVALID_LINK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959344i32 as _ ) ; pub const MEM_E_INVALID_ROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959351i32 as _ ) ; pub const MEM_E_INVALID_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959343i32 as _ ) ; pub const MILAVERR_INSUFFICIENTVIDEORESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303160i32 as _ ) ; pub const MILAVERR_INVALIDWMPVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303161i32 as _ ) ; pub const MILAVERR_MEDIAPLAYERCLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303155i32 as _ ) ; pub const MILAVERR_MODULENOTLOADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303163i32 as _ ) ; pub const MILAVERR_NOCLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303168i32 as _ ) ; pub const MILAVERR_NOMEDIATYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303167i32 as _ ) ; pub const MILAVERR_NOREADYFRAMES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303164i32 as _ ) ; pub const MILAVERR_NOVIDEOMIXER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303166i32 as _ ) ; pub const MILAVERR_NOVIDEOPRESENTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303165i32 as _ ) ; pub const MILAVERR_REQUESTEDTEXTURETOOBIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303158i32 as _ ) ; pub const MILAVERR_SEEKFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303157i32 as _ ) ; pub const MILAVERR_UNEXPECTEDWMPFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303156i32 as _ ) ; pub const MILAVERR_UNKNOWNHARDWAREERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303154i32 as _ ) ; pub const MILAVERR_VIDEOACCELERATIONNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303159i32 as _ ) ; pub const MILAVERR_WMPFACTORYNOTREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303162i32 as _ ) ; pub const MILEFFECTSERR_ALREADYATTACHEDTOLISTENER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302888i32 as _ ) ; pub const MILEFFECTSERR_CONNECTORNOTASSOCIATEDWITHEFFECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302894i32 as _ ) ; pub const MILEFFECTSERR_CONNECTORNOTCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302895i32 as _ ) ; pub const MILEFFECTSERR_CYCLEDETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302892i32 as _ ) ; pub const MILEFFECTSERR_EFFECTALREADYINAGRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302890i32 as _ ) ; pub const MILEFFECTSERR_EFFECTHASNOCHILDREN : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302889i32 as _ ) ; pub const MILEFFECTSERR_EFFECTINMORETHANONEGRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302891i32 as _ ) ; pub const MILEFFECTSERR_EFFECTNOTPARTOFGROUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302897i32 as _ ) ; pub const MILEFFECTSERR_EMPTYBOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302886i32 as _ ) ; pub const MILEFFECTSERR_NOINPUTSOURCEATTACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302896i32 as _ ) ; pub const MILEFFECTSERR_NOTAFFINETRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302887i32 as _ ) ; pub const MILEFFECTSERR_OUTPUTSIZETOOLARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302885i32 as _ ) ; pub const MILEFFECTSERR_RESERVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302893i32 as _ ) ; pub const MILEFFECTSERR_UNKNOWNPROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302898i32 as _ ) ; pub const MILERR_ADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304290i32 as _ ) ; pub const MILERR_ALREADYLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304314i32 as _ ) ; pub const MILERR_ALREADY_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304305i32 as _ ) ; pub const MILERR_BADNUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304438i32 as _ ) ; pub const MILERR_COLORSPACE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304289i32 as _ ) ; pub const MILERR_DEVICECANNOTRENDERTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304312i32 as _ ) ; pub const MILERR_DISPLAYFORMATNOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304316i32 as _ ) ; pub const MILERR_DISPLAYID_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304287i32 as _ ) ; pub const MILERR_DISPLAYSTATEINVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304442i32 as _ ) ; pub const MILERR_DXGI_ENUMERATION_OUT_OF_SYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304291i32 as _ ) ; pub const MILERR_GENERIC_IGNORE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304309i32 as _ ) ; pub const MILERR_GLYPHBITMAPMISSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304311i32 as _ ) ; pub const MILERR_INSUFFICIENTBUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304446i32 as _ ) ; pub const MILERR_INTERNALERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304320i32 as _ ) ; pub const MILERR_INVALIDCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304315i32 as _ ) ; pub const MILERR_MALFORMEDGLYPHCACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304310i32 as _ ) ; pub const MILERR_MALFORMED_GUIDELINE_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304308i32 as _ ) ; pub const MILERR_MAX_TEXTURE_SIZE_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304294i32 as _ ) ; pub const MILERR_MISMATCHED_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304304i32 as _ ) ; pub const MILERR_MROW_READLOCK_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304297i32 as _ ) ; pub const MILERR_MROW_UPDATE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304296i32 as _ ) ; pub const MILERR_NEED_RECREATE_AND_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304306i32 as _ ) ; pub const MILERR_NONINVERTIBLEMATRIX : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304441i32 as _ ) ; pub const MILERR_NOTLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304313i32 as _ ) ; pub const MILERR_NOT_QUEUING_PRESENTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304300i32 as _ ) ; pub const MILERR_NO_HARDWARE_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304307i32 as _ ) ; pub const MILERR_NO_REDIRECTION_SURFACE_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304303i32 as _ ) ; pub const MILERR_NO_REDIRECTION_SURFACE_RETRY_LATER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304299i32 as _ ) ; pub const MILERR_OBJECTBUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304447i32 as _ ) ; pub const MILERR_PREFILTER_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304288i32 as _ ) ; pub const MILERR_QPC_TIME_WENT_BACKWARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304293i32 as _ ) ; pub const MILERR_QUEUED_PRESENT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304301i32 as _ ) ; pub const MILERR_REMOTING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304302i32 as _ ) ; pub const MILERR_SCANNER_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304444i32 as _ ) ; pub const MILERR_SCREENACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304443i32 as _ ) ; pub const MILERR_SHADER_COMPILE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304295i32 as _ ) ; pub const MILERR_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304439i32 as _ ) ; pub const MILERR_TOOMANYSHADERELEMNTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304298i32 as _ ) ; pub const MILERR_WIN32ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304445i32 as _ ) ; pub const MILERR_ZEROVECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304440i32 as _ ) ; pub const MK_E_CANTOPENFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221014i32 as _ ) ; pub const MK_E_CONNECTMANUALLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221024i32 as _ ) ; pub const MK_E_ENUMERATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221009i32 as _ ) ; pub const MK_E_EXCEEDEDDEADLINE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221023i32 as _ ) ; pub const MK_E_FIRST : i32 = -2147221024i32 ; pub const MK_E_INTERMEDIATEINTERFACENOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221017i32 as _ ) ; pub const MK_E_INVALIDEXTENSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221018i32 as _ ) ; pub const MK_E_LAST : i32 = -2147221009i32 ; pub const MK_E_MUSTBOTHERUSER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221013i32 as _ ) ; pub const MK_E_NEEDGENERIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221022i32 as _ ) ; pub const MK_E_NOINVERSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221012i32 as _ ) ; pub const MK_E_NOOBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221019i32 as _ ) ; pub const MK_E_NOPREFIX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221010i32 as _ ) ; pub const MK_E_NOSTORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221011i32 as _ ) ; pub const MK_E_NOTBINDABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221016i32 as _ ) ; pub const MK_E_NOTBOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221015i32 as _ ) ; pub const MK_E_NO_NORMALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959353i32 as _ ) ; pub const MK_E_SYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221020i32 as _ ) ; pub const MK_E_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221021i32 as _ ) ; pub const MK_S_FIRST : i32 = 262624i32 ; pub const MK_S_HIM : :: windows :: HRESULT = :: windows :: HRESULT ( 262629i32 as _ ) ; pub const MK_S_LAST : i32 = 262639i32 ; pub const MK_S_ME : :: windows :: HRESULT = :: windows :: HRESULT ( 262628i32 as _ ) ; pub const MK_S_MONIKERALREADYREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( 262631i32 as _ ) ; pub const MK_S_REDUCED_TO_SELF : :: windows :: HRESULT = :: windows :: HRESULT ( 262626i32 as _ ) ; pub const MK_S_US : :: windows :: HRESULT = :: windows :: HRESULT ( 262630i32 as _ ) ; pub const MSDTC_E_DUPLICATE_RESOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367743i32 as _ ) ; pub const MSSIPOTF_E_BADVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865131i32 as _ ) ; pub const MSSIPOTF_E_BAD_FIRST_TABLE_PLACEMENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865144i32 as _ ) ; pub const MSSIPOTF_E_BAD_MAGICNUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865148i32 as _ ) ; pub const MSSIPOTF_E_BAD_OFFSET_TABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865147i32 as _ ) ; pub const MSSIPOTF_E_CANTGETOBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865150i32 as _ ) ; pub const MSSIPOTF_E_CRYPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865132i32 as _ ) ; pub const MSSIPOTF_E_DSIG_STRUCTURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865130i32 as _ ) ; pub const MSSIPOTF_E_FAILED_HINTS_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865135i32 as _ ) ; pub const MSSIPOTF_E_FAILED_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865136i32 as _ ) ; pub const MSSIPOTF_E_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865133i32 as _ ) ; pub const MSSIPOTF_E_FILETOOSMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865141i32 as _ ) ; pub const MSSIPOTF_E_FILE_CHECKSUM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865139i32 as _ ) ; pub const MSSIPOTF_E_NOHEADTABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865149i32 as _ ) ; pub const MSSIPOTF_E_NOT_OPENTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865134i32 as _ ) ; pub const MSSIPOTF_E_OUTOFMEMRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865151i32 as _ ) ; pub const MSSIPOTF_E_PCONST_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865129i32 as _ ) ; pub const MSSIPOTF_E_STRUCTURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865128i32 as _ ) ; pub const MSSIPOTF_E_TABLES_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865143i32 as _ ) ; pub const MSSIPOTF_E_TABLE_CHECKSUM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865140i32 as _ ) ; pub const MSSIPOTF_E_TABLE_LONGWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865145i32 as _ ) ; pub const MSSIPOTF_E_TABLE_PADBYTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865142i32 as _ ) ; pub const MSSIPOTF_E_TABLE_TAGORDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865146i32 as _ ) ; pub const NAP_E_CONFLICTING_ID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927741i32 as _ ) ; pub const NAP_E_ENTITY_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927730i32 as _ ) ; pub const NAP_E_ID_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927734i32 as _ ) ; pub const NAP_E_INVALID_PACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927743i32 as _ ) ; pub const NAP_E_MAXSIZE_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927733i32 as _ ) ; pub const NAP_E_MISMATCHED_ID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927736i32 as _ ) ; pub const NAP_E_MISSING_SOH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927742i32 as _ ) ; pub const NAP_E_NETSH_GROUPPOLICY_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927729i32 as _ ) ; pub const NAP_E_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927737i32 as _ ) ; pub const NAP_E_NOT_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927735i32 as _ ) ; pub const NAP_E_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927738i32 as _ ) ; pub const NAP_E_NO_CACHED_SOH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927740i32 as _ ) ; pub const NAP_E_SERVICE_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927732i32 as _ ) ; pub const NAP_E_SHV_CONFIG_EXISTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927727i32 as _ ) ; pub const NAP_E_SHV_CONFIG_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927726i32 as _ ) ; pub const NAP_E_SHV_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927725i32 as _ ) ; pub const NAP_E_STILL_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927739i32 as _ ) ; pub const NAP_E_TOO_MANY_CALLS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927728i32 as _ ) ; pub const NAP_S_CERT_ALREADY_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( 2555917i32 as _ ) ; pub type NEARPROC = unsafe extern "system" fn ( ) -> isize ; pub const NOERROR : u32 = 0u32 ; pub const NTE_AUTHENTICATION_IGNORED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893775i32 as _ ) ; pub const NTE_BAD_ALGID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893816i32 as _ ) ; pub const NTE_BAD_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893819i32 as _ ) ; pub const NTE_BAD_FLAGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893815i32 as _ ) ; pub const NTE_BAD_HASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893822i32 as _ ) ; pub const NTE_BAD_HASH_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893812i32 as _ ) ; pub const NTE_BAD_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893821i32 as _ ) ; pub const NTE_BAD_KEYSET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893802i32 as _ ) ; pub const NTE_BAD_KEYSET_PARAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893793i32 as _ ) ; pub const NTE_BAD_KEY_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893813i32 as _ ) ; pub const NTE_BAD_LEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893820i32 as _ ) ; pub const NTE_BAD_PROVIDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893805i32 as _ ) ; pub const NTE_BAD_PROV_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893804i32 as _ ) ; pub const NTE_BAD_PUBLIC_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893803i32 as _ ) ; pub const NTE_BAD_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893818i32 as _ ) ; pub const NTE_BAD_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893814i32 as _ ) ; pub const NTE_BAD_UID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893823i32 as _ ) ; pub const NTE_BAD_VER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893817i32 as _ ) ; pub const NTE_BUFFERS_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893781i32 as _ ) ; pub const NTE_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893784i32 as _ ) ; pub const NTE_DECRYPTION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893780i32 as _ ) ; pub const NTE_DEVICE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893771i32 as _ ) ; pub const NTE_DEVICE_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893776i32 as _ ) ; pub const NTE_DOUBLE_ENCRYPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893806i32 as _ ) ; pub const NTE_ENCRYPTION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893772i32 as _ ) ; pub const NTE_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893809i32 as _ ) ; pub const NTE_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893792i32 as _ ) ; pub const NTE_FIXEDPARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893787i32 as _ ) ; pub const NTE_HMAC_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893777i32 as _ ) ; pub const NTE_INCORRECT_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893773i32 as _ ) ; pub const NTE_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893779i32 as _ ) ; pub const NTE_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893786i32 as _ ) ; pub const NTE_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893785i32 as _ ) ; pub const NTE_KEYSET_ENTRY_BAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893798i32 as _ ) ; pub const NTE_KEYSET_NOT_DEF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893799i32 as _ ) ; pub const NTE_NOT_ACTIVE_CONSOLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893768i32 as _ ) ; pub const NTE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893807i32 as _ ) ; pub const NTE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893783i32 as _ ) ; pub const NTE_NO_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893811i32 as _ ) ; pub const NTE_NO_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893810i32 as _ ) ; pub const NTE_NO_MORE_ITEMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893782i32 as _ ) ; pub const NTE_OP_OK : u32 = 0u32 ; pub const NTE_PASSWORD_CHANGE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893769i32 as _ ) ; pub const NTE_PERM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893808i32 as _ ) ; pub const NTE_PROVIDER_DLL_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893795i32 as _ ) ; pub const NTE_PROV_DLL_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893794i32 as _ ) ; pub const NTE_PROV_TYPE_ENTRY_BAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893800i32 as _ ) ; pub const NTE_PROV_TYPE_NOT_DEF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893801i32 as _ ) ; pub const NTE_PROV_TYPE_NO_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893797i32 as _ ) ; pub const NTE_SIGNATURE_FILE_BAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893796i32 as _ ) ; pub const NTE_SILENT_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893790i32 as _ ) ; pub const NTE_SYS_ERR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893791i32 as _ ) ; pub const NTE_TEMPORARY_PROFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893788i32 as _ ) ; pub const NTE_TOKEN_KEYSET_STORAGE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893789i32 as _ ) ; pub const NTE_UI_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893778i32 as _ ) ; pub const NTE_USER_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893770i32 as _ ) ; pub const NTE_VALIDATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893774i32 as _ ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: default :: Default , :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct NTSTATUS ( pub u32 ) ; impl NTSTATUS { # [ inline ] pub const fn is_ok ( self ) -> bool { self . 0 & 0x8000_0000 == 0 } # [ inline ] pub const fn is_err ( self ) -> bool { ! self . is_ok ( ) } # [ inline ] pub const fn to_hresult ( self ) -> :: windows :: HRESULT { :: windows :: HRESULT ( self . 0 | 0x1000_0000 ) } # [ inline ] pub fn ok ( self ) -> :: windows :: Result < ( ) > { if self . is_ok ( ) { Ok ( ( ) ) } else { Err ( :: windows :: Error :: fast_error ( self . to_hresult ( ) ) ) } } } unsafe impl :: windows :: Abi for NTSTATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NTSTATUS_FACILITY_CODE ( pub u32 ) ; pub const FACILITY_DEBUGGER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 1u32 ) ; pub const FACILITY_RPC_RUNTIME : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 2u32 ) ; pub const FACILITY_RPC_STUBS : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 3u32 ) ; pub const FACILITY_IO_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 4u32 ) ; pub const FACILITY_CODCLASS_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 6u32 ) ; pub const FACILITY_NTWIN32 : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 7u32 ) ; pub const FACILITY_NTCERT : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 8u32 ) ; pub const FACILITY_NTSSPI : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 9u32 ) ; pub const FACILITY_TERMINAL_SERVER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 10u32 ) ; pub const FACILITY_USB_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 16u32 ) ; pub const FACILITY_HID_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 17u32 ) ; pub const FACILITY_FIREWIRE_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 18u32 ) ; pub const FACILITY_CLUSTER_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 19u32 ) ; pub const FACILITY_ACPI_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 20u32 ) ; pub const FACILITY_SXS_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 21u32 ) ; pub const FACILITY_TRANSACTION : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 25u32 ) ; pub const FACILITY_COMMONLOG : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 26u32 ) ; pub const FACILITY_VIDEO : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 27u32 ) ; pub const FACILITY_FILTER_MANAGER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 28u32 ) ; pub const FACILITY_MONITOR : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 29u32 ) ; pub const FACILITY_GRAPHICS_KERNEL : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 30u32 ) ; pub const FACILITY_DRIVER_FRAMEWORK : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 32u32 ) ; pub const FACILITY_FVE_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 33u32 ) ; pub const FACILITY_FWP_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 34u32 ) ; pub const FACILITY_NDIS_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 35u32 ) ; pub const FACILITY_QUIC_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 36u32 ) ; pub const FACILITY_TPM : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 41u32 ) ; pub const FACILITY_RTPM : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 42u32 ) ; pub const FACILITY_HYPERVISOR : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 53u32 ) ; pub const FACILITY_IPSEC : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 54u32 ) ; pub const FACILITY_VIRTUALIZATION : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 55u32 ) ; pub const FACILITY_VOLMGR : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 56u32 ) ; pub const FACILITY_BCD_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 57u32 ) ; pub const FACILITY_WIN32K_NTUSER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 62u32 ) ; pub const FACILITY_WIN32K_NTGDI : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 63u32 ) ; pub const FACILITY_RESUME_KEY_FILTER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 64u32 ) ; pub const FACILITY_RDBSS : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 65u32 ) ; pub const FACILITY_BTH_ATT : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 66u32 ) ; pub const FACILITY_SECUREBOOT : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 67u32 ) ; pub const FACILITY_AUDIO_KERNEL : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 68u32 ) ; pub const FACILITY_VSM : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 69u32 ) ; pub const FACILITY_VOLSNAP : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 80u32 ) ; pub const FACILITY_SDBUS : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 81u32 ) ; pub const FACILITY_SHARED_VHDX : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 92u32 ) ; pub const FACILITY_SMB : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 93u32 ) ; pub const FACILITY_XVS : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 94u32 ) ; pub const FACILITY_INTERIX : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 153u32 ) ; pub const FACILITY_SPACES : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 231u32 ) ; pub const FACILITY_SECURITY_CORE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 232u32 ) ; pub const FACILITY_SYSTEM_INTEGRITY : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 233u32 ) ; pub const FACILITY_LICENSING : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 234u32 ) ; pub const FACILITY_PLATFORM_MANIFEST : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 235u32 ) ; pub const FACILITY_APP_EXEC : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 236u32 ) ; pub const FACILITY_MAXIMUM_VALUE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 237u32 ) ; impl :: std :: convert :: From < u32 > for NTSTATUS_FACILITY_CODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NTSTATUS_FACILITY_CODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for NTSTATUS_FACILITY_CODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for NTSTATUS_FACILITY_CODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for NTSTATUS_FACILITY_CODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for NTSTATUS_FACILITY_CODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for NTSTATUS_FACILITY_CODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const OLEOBJ_E_FIRST : i32 = -2147221120i32 ; pub const OLEOBJ_E_INVALIDVERB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221119i32 as _ ) ; pub const OLEOBJ_E_LAST : i32 = -2147221105i32 ; pub const OLEOBJ_E_NOVERBS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221120i32 as _ ) ; pub const OLEOBJ_S_CANNOT_DOVERB_NOW : :: windows :: HRESULT = :: windows :: HRESULT ( 262529i32 as _ ) ; pub const OLEOBJ_S_FIRST : i32 = 262528i32 ; pub const OLEOBJ_S_INVALIDHWND : :: windows :: HRESULT = :: windows :: HRESULT ( 262530i32 as _ ) ; pub const OLEOBJ_S_INVALIDVERB : :: windows :: HRESULT = :: windows :: HRESULT ( 262528i32 as _ ) ; pub const OLEOBJ_S_LAST : i32 = 262543i32 ; pub const OLE_E_ADVF : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221503i32 as _ ) ; pub const OLE_E_ADVISENOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221501i32 as _ ) ; pub const OLE_E_BLANK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221497i32 as _ ) ; pub const OLE_E_CANTCONVERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221487i32 as _ ) ; pub const OLE_E_CANT_BINDTOSOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221494i32 as _ ) ; pub const OLE_E_CANT_GETMONIKER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221495i32 as _ ) ; pub const OLE_E_CLASSDIFF : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221496i32 as _ ) ; pub const OLE_E_ENUM_NOMORE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221502i32 as _ ) ; pub const OLE_E_FIRST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221504i32 as _ ) ; pub const OLE_E_INVALIDHWND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221489i32 as _ ) ; pub const OLE_E_INVALIDRECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221491i32 as _ ) ; pub const OLE_E_LAST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221249i32 as _ ) ; pub const OLE_E_NOCACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221498i32 as _ ) ; pub const OLE_E_NOCONNECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221500i32 as _ ) ; pub const OLE_E_NOSTORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221486i32 as _ ) ; pub const OLE_E_NOTRUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221499i32 as _ ) ; pub const OLE_E_NOT_INPLACEACTIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221488i32 as _ ) ; pub const OLE_E_OLEVERB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221504i32 as _ ) ; pub const OLE_E_PROMPTSAVECANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221492i32 as _ ) ; pub const OLE_E_STATIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221493i32 as _ ) ; pub const OLE_E_WRONGCOMPOBJ : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221490i32 as _ ) ; pub const OLE_S_FIRST : :: windows :: HRESULT = :: windows :: HRESULT ( 262144i32 as _ ) ; pub const OLE_S_LAST : :: windows :: HRESULT = :: windows :: HRESULT ( 262399i32 as _ ) ; pub const OLE_S_MAC_CLIPFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( 262146i32 as _ ) ; pub const OLE_S_STATIC : :: windows :: HRESULT = :: windows :: HRESULT ( 262145i32 as _ ) ; pub const OLE_S_USEREG : :: windows :: HRESULT = :: windows :: HRESULT ( 262144i32 as _ ) ; pub const ONL_CONNECTION_COUNT_LIMIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701811i32 as _ ) ; pub const ONL_E_ACCESS_DENIED_BY_TOU : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701822i32 as _ ) ; pub const ONL_E_ACCOUNT_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701817i32 as _ ) ; pub const ONL_E_ACCOUNT_SUSPENDED_ABUSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701813i32 as _ ) ; pub const ONL_E_ACCOUNT_SUSPENDED_COMPROIMISE : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701814i32 as _ ) ; pub const ONL_E_ACCOUNT_UPDATE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701819i32 as _ ) ; pub const ONL_E_ACTION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701812i32 as _ ) ; pub const ONL_E_CONNECTED_ACCOUNT_CAN_NOT_SIGNOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701810i32 as _ ) ; pub const ONL_E_EMAIL_VERIFICATION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701815i32 as _ ) ; pub const ONL_E_FORCESIGNIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701818i32 as _ ) ; pub const ONL_E_INVALID_APPLICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701821i32 as _ ) ; pub const ONL_E_INVALID_AUTHENTICATION_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701823i32 as _ ) ; pub const ONL_E_PARENTAL_CONSENT_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701816i32 as _ ) ; pub const ONL_E_PASSWORD_UPDATE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701820i32 as _ ) ; pub const ONL_E_REQUEST_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701808i32 as _ ) ; pub const ONL_E_USER_AUTHENTICATION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701809i32 as _ ) ; pub const OR_INVALID_OID : i32 = 1911i32 ; pub const OR_INVALID_OXID : i32 = 1910i32 ; pub const OR_INVALID_SET : i32 = 1912i32 ; pub const OSS_ACCESS_SERIALIZATION_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881517i32 as _ ) ; pub const OSS_API_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881495i32 as _ ) ; pub const OSS_BAD_ARG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881530i32 as _ ) ; pub const OSS_BAD_ENCRULES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881514i32 as _ ) ; pub const OSS_BAD_PTR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881525i32 as _ ) ; pub const OSS_BAD_TABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881521i32 as _ ) ; pub const OSS_BAD_TIME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881524i32 as _ ) ; pub const OSS_BAD_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881529i32 as _ ) ; pub const OSS_BERDER_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881494i32 as _ ) ; pub const OSS_CANT_CLOSE_TRACE_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881490i32 as _ ) ; pub const OSS_CANT_OPEN_TRACE_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881509i32 as _ ) ; pub const OSS_CANT_OPEN_TRACE_WINDOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881512i32 as _ ) ; pub const OSS_COMPARATOR_CODE_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881499i32 as _ ) ; pub const OSS_COMPARATOR_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881500i32 as _ ) ; pub const OSS_CONSTRAINT_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881501i32 as _ ) ; pub const OSS_CONSTRAINT_VIOLATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881519i32 as _ ) ; pub const OSS_COPIER_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881502i32 as _ ) ; pub const OSS_DATA_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881531i32 as _ ) ; pub const OSS_FATAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881518i32 as _ ) ; pub const OSS_INDEFINITE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881523i32 as _ ) ; pub const OSS_LIMITED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881526i32 as _ ) ; pub const OSS_MEM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881522i32 as _ ) ; pub const OSS_MEM_MGR_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881498i32 as _ ) ; pub const OSS_MORE_BUF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881535i32 as _ ) ; pub const OSS_MORE_INPUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881532i32 as _ ) ; pub const OSS_MUTEX_NOT_CREATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881491i32 as _ ) ; pub const OSS_NEGATIVE_UINTEGER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881534i32 as _ ) ; pub const OSS_NULL_FCN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881515i32 as _ ) ; pub const OSS_NULL_TBL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881516i32 as _ ) ; pub const OSS_OID_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881510i32 as _ ) ; pub const OSS_OPEN_TYPE_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881492i32 as _ ) ; pub const OSS_OUT_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881528i32 as _ ) ; pub const OSS_OUT_OF_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881503i32 as _ ) ; pub const OSS_PDU_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881527i32 as _ ) ; pub const OSS_PDU_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881533i32 as _ ) ; pub const OSS_PDV_CODE_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881496i32 as _ ) ; pub const OSS_PDV_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881497i32 as _ ) ; pub const OSS_PER_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881493i32 as _ ) ; pub const OSS_REAL_CODE_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881504i32 as _ ) ; pub const OSS_REAL_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881505i32 as _ ) ; pub const OSS_TABLE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881507i32 as _ ) ; pub const OSS_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881520i32 as _ ) ; pub const OSS_TRACE_FILE_ALREADY_OPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881508i32 as _ ) ; pub const OSS_TYPE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881506i32 as _ ) ; pub const OSS_UNAVAIL_ENCRULES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881513i32 as _ ) ; pub const OSS_UNIMPLEMENTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881511i32 as _ ) ; pub const PEERDIST_ERROR_ALREADY_COMPLETED : i32 = 4060i32 ; pub const PEERDIST_ERROR_ALREADY_EXISTS : i32 = 4058i32 ; pub const PEERDIST_ERROR_ALREADY_INITIALIZED : i32 = 4055i32 ; pub const PEERDIST_ERROR_CANNOT_PARSE_CONTENTINFO : i32 = 4051i32 ; pub const PEERDIST_ERROR_CONTENTINFO_VERSION_UNSUPPORTED : i32 = 4050i32 ; pub const PEERDIST_ERROR_INVALIDATED : i32 = 4057i32 ; pub const PEERDIST_ERROR_INVALID_CONFIGURATION : i32 = 4063i32 ; pub const PEERDIST_ERROR_MISSING_DATA : i32 = 4052i32 ; pub const PEERDIST_ERROR_NOT_INITIALIZED : i32 = 4054i32 ; pub const PEERDIST_ERROR_NOT_LICENSED : i32 = 4064i32 ; pub const PEERDIST_ERROR_NO_MORE : i32 = 4053i32 ; pub const PEERDIST_ERROR_OPERATION_NOTFOUND : i32 = 4059i32 ; pub const PEERDIST_ERROR_OUT_OF_BOUNDS : i32 = 4061i32 ; pub const PEERDIST_ERROR_SERVICE_UNAVAILABLE : i32 = 4065i32 ; pub const PEERDIST_ERROR_SHUTDOWN_IN_PROGRESS : i32 = 4056i32 ; pub const PEERDIST_ERROR_TRUST_FAILURE : i32 = 4066i32 ; pub const PEERDIST_ERROR_VERSION_UNSUPPORTED : i32 = 4062i32 ; pub const PEER_E_ALREADY_LISTENING : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995321i32 as _ ) ; pub const PEER_E_CANNOT_CONVERT_PEER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140979199i32 as _ ) ; pub const PEER_E_CANNOT_START_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995581i32 as _ ) ; pub const PEER_E_CERT_STORE_CORRUPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993535i32 as _ ) ; pub const PEER_E_CHAIN_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993789i32 as _ ) ; pub const PEER_E_CIRCULAR_CHAIN_DETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993786i32 as _ ) ; pub const PEER_E_CLASSIFIER_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995071i32 as _ ) ; pub const PEER_E_CLOUD_NAME_AMBIGUOUS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140991483i32 as _ ) ; pub const PEER_E_CONNECTION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995319i32 as _ ) ; pub const PEER_E_CONNECTION_NOT_AUTHENTICATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995318i32 as _ ) ; pub const PEER_E_CONNECTION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995325i32 as _ ) ; pub const PEER_E_CONNECTION_REFUSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995317i32 as _ ) ; pub const PEER_E_CONNECT_SELF : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995322i32 as _ ) ; pub const PEER_E_CONTACT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140971007i32 as _ ) ; pub const PEER_E_DATABASE_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994814i32 as _ ) ; pub const PEER_E_DATABASE_ALREADY_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994811i32 as _ ) ; pub const PEER_E_DATABASE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994810i32 as _ ) ; pub const PEER_E_DBINITIALIZATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994813i32 as _ ) ; pub const PEER_E_DBNAME_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995567i32 as _ ) ; pub const PEER_E_DEFERRED_VALIDATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987344i32 as _ ) ; pub const PEER_E_DUPLICATE_GRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995566i32 as _ ) ; pub const PEER_E_EVENT_HANDLE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994303i32 as _ ) ; pub const PEER_E_FW_BLOCKED_BY_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966903i32 as _ ) ; pub const PEER_E_FW_BLOCKED_BY_SHIELDS_UP : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966902i32 as _ ) ; pub const PEER_E_FW_DECLINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966901i32 as _ ) ; pub const PEER_E_FW_EXCEPTION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966904i32 as _ ) ; pub const PEER_E_GRAPH_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995563i32 as _ ) ; pub const PEER_E_GRAPH_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995565i32 as _ ) ; pub const PEER_E_GRAPH_SHUTTING_DOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995564i32 as _ ) ; pub const PEER_E_GROUPS_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995068i32 as _ ) ; pub const PEER_E_GROUP_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987246i32 as _ ) ; pub const PEER_E_GROUP_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987247i32 as _ ) ; pub const PEER_E_IDENTITY_DELETED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987232i32 as _ ) ; pub const PEER_E_IDENTITY_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994559i32 as _ ) ; pub const PEER_E_INVALID_ADDRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966905i32 as _ ) ; pub const PEER_E_INVALID_ATTRIBUTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994046i32 as _ ) ; pub const PEER_E_INVALID_CLASSIFIER : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987296i32 as _ ) ; pub const PEER_E_INVALID_CLASSIFIER_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987278i32 as _ ) ; pub const PEER_E_INVALID_CREDENTIAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987262i32 as _ ) ; pub const PEER_E_INVALID_CREDENTIAL_INFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987263i32 as _ ) ; pub const PEER_E_INVALID_DATABASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995562i32 as _ ) ; pub const PEER_E_INVALID_FRIENDLY_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987280i32 as _ ) ; pub const PEER_E_INVALID_GRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995568i32 as _ ) ; pub const PEER_E_INVALID_GROUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987245i32 as _ ) ; pub const PEER_E_INVALID_GROUP_PROPERTIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987328i32 as _ ) ; pub const PEER_E_INVALID_PEER_HOST_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140979198i32 as _ ) ; pub const PEER_E_INVALID_PEER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987312i32 as _ ) ; pub const PEER_E_INVALID_RECORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987376i32 as _ ) ; pub const PEER_E_INVALID_RECORD_EXPIRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987264i32 as _ ) ; pub const PEER_E_INVALID_RECORD_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987261i32 as _ ) ; pub const PEER_E_INVALID_ROLE_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987279i32 as _ ) ; pub const PEER_E_INVALID_SEARCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994047i32 as _ ) ; pub const PEER_E_INVALID_TIME_PERIOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993787i32 as _ ) ; pub const PEER_E_INVITATION_NOT_TRUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993791i32 as _ ) ; pub const PEER_E_INVITE_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966912i32 as _ ) ; pub const PEER_E_INVITE_RESPONSE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966911i32 as _ ) ; pub const PEER_E_IPV6_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995583i32 as _ ) ; pub const PEER_E_MAX_RECORD_SIZE_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994812i32 as _ ) ; pub const PEER_E_NODE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995320i32 as _ ) ; pub const PEER_E_NOT_AUTHORIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987360i32 as _ ) ; pub const PEER_E_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995582i32 as _ ) ; pub const PEER_E_NOT_LICENSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995580i32 as _ ) ; pub const PEER_E_NOT_SIGNED_IN : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966909i32 as _ ) ; pub const PEER_E_NO_CLOUD : :: windows :: HRESULT = :: windows :: HRESULT ( -2140991487i32 as _ ) ; pub const PEER_E_NO_KEY_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995069i32 as _ ) ; pub const PEER_E_NO_MEMBERS_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987244i32 as _ ) ; pub const PEER_E_NO_MEMBER_CONNECTIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987243i32 as _ ) ; pub const PEER_E_NO_MORE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140979197i32 as _ ) ; pub const PEER_E_PASSWORD_DOES_NOT_MEET_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987359i32 as _ ) ; pub const PEER_E_PNRP_DUPLICATE_PEER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140979195i32 as _ ) ; pub const PEER_E_PRIVACY_DECLINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966908i32 as _ ) ; pub const PEER_E_RECORD_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994815i32 as _ ) ; pub const PEER_E_SERVICE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987231i32 as _ ) ; pub const PEER_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966907i32 as _ ) ; pub const PEER_E_TOO_MANY_ATTRIBUTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995561i32 as _ ) ; pub const PEER_E_TOO_MANY_IDENTITIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995070i32 as _ ) ; pub const PEER_E_UNABLE_TO_LISTEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987242i32 as _ ) ; pub const PEER_E_UNSUPPORTED_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987248i32 as _ ) ; pub const PEER_S_ALREADY_A_MEMBER : :: windows :: HRESULT = :: windows :: HRESULT ( 6488070i32 as _ ) ; pub const PEER_S_ALREADY_CONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( 6496256i32 as _ ) ; pub const PEER_S_GRAPH_DATA_CREATED : :: windows :: HRESULT = :: windows :: HRESULT ( 6488065i32 as _ ) ; pub const PEER_S_NO_CONNECTIVITY : :: windows :: HRESULT = :: windows :: HRESULT ( 6488069i32 as _ ) ; pub const PEER_S_NO_EVENT_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( 6488066i32 as _ ) ; pub const PEER_S_SUBSCRIPTION_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( 6512640i32 as _ ) ; pub const PERSIST_E_NOTSELFSIZING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762741i32 as _ ) ; pub const PERSIST_E_SIZEDEFINITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762743i32 as _ ) ; pub const PERSIST_E_SIZEINDEFINITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762742i32 as _ ) ; pub const PLA_E_CABAPI_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337645i32 as _ ) ; pub const PLA_E_CONFLICT_INCL_EXCL_API : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337659i32 as _ ) ; pub const PLA_E_CREDENTIALS_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337661i32 as _ ) ; pub const PLA_E_DCS_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337737i32 as _ ) ; pub const PLA_E_DCS_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337750i32 as _ ) ; pub const PLA_E_DCS_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337918i32 as _ ) ; pub const PLA_E_DCS_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337660i32 as _ ) ; pub const PLA_E_DCS_SINGLETON_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337662i32 as _ ) ; pub const PLA_E_DCS_START_WAIT_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337654i32 as _ ) ; pub const PLA_E_DC_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337655i32 as _ ) ; pub const PLA_E_DC_START_WAIT_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337653i32 as _ ) ; pub const PLA_E_EXE_ALREADY_CONFIGURED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337657i32 as _ ) ; pub const PLA_E_EXE_FULL_PATH_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337650i32 as _ ) ; pub const PLA_E_EXE_PATH_NOT_VALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337656i32 as _ ) ; pub const PLA_E_INVALID_SESSION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337649i32 as _ ) ; pub const PLA_E_NETWORK_EXE_NOT_VALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337658i32 as _ ) ; pub const PLA_E_NO_DUPLICATES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337651i32 as _ ) ; pub const PLA_E_NO_MIN_DISK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337808i32 as _ ) ; pub const PLA_E_PLA_CHANNEL_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337648i32 as _ ) ; pub const PLA_E_PROPERTY_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337663i32 as _ ) ; pub const PLA_E_REPORT_WAIT_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337652i32 as _ ) ; pub const PLA_E_RULES_MANAGER_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337646i32 as _ ) ; pub const PLA_E_TASKSCHED_CHANNEL_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337647i32 as _ ) ; pub const PLA_E_TOO_MANY_FOLDERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337851i32 as _ ) ; pub const PLA_S_PROPERTY_IGNORED : :: windows :: HRESULT = :: windows :: HRESULT ( 3145984i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINT { pub x : i32 , pub y : i32 } impl POINT { } impl :: std :: default :: Default for POINT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for POINT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINT" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINT { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINT { } unsafe impl :: windows :: Abi for POINT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINTL { pub x : i32 , pub y : i32 } impl POINTL { } impl :: std :: default :: Default for POINTL { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for POINTL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINTL" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINTL { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINTL { } unsafe impl :: windows :: Abi for POINTL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINTS { pub x : i16 , pub y : i16 } impl POINTS { } impl :: std :: default :: Default for POINTS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for POINTS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINTS" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINTS { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINTS { } unsafe impl :: windows :: Abi for POINTS { type Abi = Self ; type DefaultType = Self ; } pub type PROC = unsafe extern "system" fn ( ) -> isize ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct PSID ( pub isize ) ; impl :: std :: default :: Default for PSID { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for PSID { } unsafe impl :: windows :: Abi for PSID { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct PSTR ( pub * mut u8 ) ; impl PSTR { pub fn is_null ( & self ) -> bool { self . 0 . is_null ( ) } } impl :: std :: default :: Default for PSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } unsafe impl :: windows :: Abi for PSTR { type Abi = Self ; type DefaultType = Self ; unsafe fn drop_param ( param : & mut :: windows :: Param < '_ , Self > ) { if let :: windows :: Param :: Boxed ( value ) = param { if ! value . is_null ( ) { unsafe { let _ = :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: IntoParam < 'a , PSTR > for & str { fn into_param ( self ) -> :: windows :: Param < 'a , PSTR > { :: windows :: Param :: Boxed ( PSTR ( :: std :: boxed :: Box :: < [ u8 ] > :: into_raw ( self . bytes ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u8 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } impl < 'a > :: windows :: IntoParam < 'a , PSTR > for String { fn into_param ( self ) -> :: windows :: Param < 'a , PSTR > { :: windows :: Param :: Boxed ( PSTR ( :: std :: boxed :: Box :: < [ u8 ] > :: into_raw ( self . bytes ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u8 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct PWSTR ( pub * mut u16 ) ; impl PWSTR { pub fn is_null ( & self ) -> bool { self . 0 . is_null ( ) } } impl :: std :: default :: Default for PWSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } unsafe impl :: windows :: Abi for PWSTR { type Abi = Self ; type DefaultType = Self ; unsafe fn drop_param ( param : & mut :: windows :: Param < '_ , Self > ) { if let :: windows :: Param :: Boxed ( value ) = param { if ! value . is_null ( ) { unsafe { :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for & str { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_utf16 ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for String { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_utf16 ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ cfg ( windows ) ] impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for & :: std :: ffi :: OsStr { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { use std :: os :: windows :: ffi :: OsStrExt ; :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_wide ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ cfg ( windows ) ] impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for :: std :: ffi :: OsString { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { use std :: os :: windows :: ffi :: OsStrExt ; :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_wide ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RECT { pub left : i32 , pub top : i32 , pub right : i32 , pub bottom : i32 } impl RECT { } impl :: std :: default :: Default for RECT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for RECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RECT" ) . field ( "left" , & self . left ) . field ( "top" , & self . top ) . field ( "right" , & self . right ) . field ( "bottom" , & self . bottom ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RECT { fn eq ( & self , other : & Self ) -> bool { self . left == other . left && self . top == other . top && self . right == other . right && self . bottom == other . bottom } } impl :: std :: cmp :: Eq for RECT { } unsafe impl :: windows :: Abi for RECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RECTL { pub left : i32 , pub top : i32 , pub right : i32 , pub bottom : i32 } impl RECTL { } impl :: std :: default :: Default for RECTL { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for RECTL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RECTL" ) . field ( "left" , & self . left ) . field ( "top" , & self . top ) . field ( "right" , & self . right ) . field ( "bottom" , & self . bottom ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RECTL { fn eq ( & self , other : & Self ) -> bool { self . left == other . left && self . top == other . top && self . right == other . right && self . bottom == other . bottom } } impl :: std :: cmp :: Eq for RECTL { } unsafe impl :: windows :: Abi for RECTL { type Abi = Self ; type DefaultType = Self ; } pub const REGDB_E_BADTHREADINGMODEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221162i32 as _ ) ; pub const REGDB_E_CLASSNOTREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221164i32 as _ ) ; pub const REGDB_E_FIRST : i32 = -2147221168i32 ; pub const REGDB_E_IIDNOTREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221163i32 as _ ) ; pub const REGDB_E_INVALIDVALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221165i32 as _ ) ; pub const REGDB_E_KEYMISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221166i32 as _ ) ; pub const REGDB_E_LAST : i32 = -2147221153i32 ; pub const REGDB_E_PACKAGEPOLICYVIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221161i32 as _ ) ; pub const REGDB_E_READREGDB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221168i32 as _ ) ; pub const REGDB_E_WRITEREGDB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221167i32 as _ ) ; pub const REGDB_S_FIRST : i32 = 262480i32 ; pub const REGDB_S_LAST : i32 = 262495i32 ; pub const RO_E_BLOCKED_CROSS_ASTA_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483617i32 as _ ) ; pub const RO_E_CANNOT_ACTIVATE_FULL_TRUST_SERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483616i32 as _ ) ; pub const RO_E_CANNOT_ACTIVATE_UNIVERSAL_APPLICATION_SERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483615i32 as _ ) ; pub const RO_E_CHANGE_NOTIFICATION_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483627i32 as _ ) ; pub const RO_E_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483629i32 as _ ) ; pub const RO_E_COMMITTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483618i32 as _ ) ; pub const RO_E_ERROR_STRING_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483626i32 as _ ) ; pub const RO_E_EXCLUSIVE_WRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483628i32 as _ ) ; pub const RO_E_INVALID_METADATA_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483630i32 as _ ) ; pub const RO_E_METADATA_INVALID_TYPE_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483631i32 as _ ) ; pub const RO_E_METADATA_NAME_IS_NAMESPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483632i32 as _ ) ; pub const RO_E_METADATA_NAME_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483633i32 as _ ) ; pub const RO_E_MUST_BE_AGILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483620i32 as _ ) ; pub const RO_E_UNSUPPORTED_FROM_MTA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483619i32 as _ ) ; pub const RPC_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417829i32 as _ ) ; pub const RPC_E_ATTEMPTED_MULTITHREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417854i32 as _ ) ; pub const RPC_E_CALL_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418110i32 as _ ) ; pub const RPC_E_CALL_COMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417833i32 as _ ) ; pub const RPC_E_CALL_REJECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418111i32 as _ ) ; pub const RPC_E_CANTCALLOUT_AGAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418095i32 as _ ) ; pub const RPC_E_CANTCALLOUT_INASYNCCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418108i32 as _ ) ; pub const RPC_E_CANTCALLOUT_INEXTERNALCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418107i32 as _ ) ; pub const RPC_E_CANTCALLOUT_ININPUTSYNCCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417843i32 as _ ) ; pub const RPC_E_CANTPOST_INSENDCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418109i32 as _ ) ; pub const RPC_E_CANTTRANSMIT_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418102i32 as _ ) ; pub const RPC_E_CHANGED_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417850i32 as _ ) ; pub const RPC_E_CLIENT_CANTMARSHAL_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418101i32 as _ ) ; pub const RPC_E_CLIENT_CANTUNMARSHAL_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418100i32 as _ ) ; pub const RPC_E_CLIENT_DIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418104i32 as _ ) ; pub const RPC_E_CONNECTION_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418106i32 as _ ) ; pub const RPC_E_DISCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417848i32 as _ ) ; pub const RPC_E_FAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417852i32 as _ ) ; pub const RPC_E_FULLSIC_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417823i32 as _ ) ; pub const RPC_E_INVALIDMETHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417849i32 as _ ) ; pub const RPC_E_INVALID_CALLDATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417844i32 as _ ) ; pub const RPC_E_INVALID_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418097i32 as _ ) ; pub const RPC_E_INVALID_DATAPACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418103i32 as _ ) ; pub const RPC_E_INVALID_EXTENSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417838i32 as _ ) ; pub const RPC_E_INVALID_HEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417839i32 as _ ) ; pub const RPC_E_INVALID_IPID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417837i32 as _ ) ; pub const RPC_E_INVALID_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417836i32 as _ ) ; pub const RPC_E_INVALID_OBJREF : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417827i32 as _ ) ; pub const RPC_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418096i32 as _ ) ; pub const RPC_E_INVALID_STD_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417822i32 as _ ) ; pub const RPC_E_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417853i32 as _ ) ; pub const RPC_E_NO_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417826i32 as _ ) ; pub const RPC_E_NO_GOOD_SECURITY_PACKAGES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417830i32 as _ ) ; pub const RPC_E_NO_SYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417824i32 as _ ) ; pub const RPC_E_OUT_OF_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417855i32 as _ ) ; pub const RPC_E_REMOTE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417828i32 as _ ) ; pub const RPC_E_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417847i32 as _ ) ; pub const RPC_E_SERVERCALL_REJECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417845i32 as _ ) ; pub const RPC_E_SERVERCALL_RETRYLATER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417846i32 as _ ) ; pub const RPC_E_SERVERFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417851i32 as _ ) ; pub const RPC_E_SERVER_CANTMARSHAL_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418099i32 as _ ) ; pub const RPC_E_SERVER_CANTUNMARSHAL_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418098i32 as _ ) ; pub const RPC_E_SERVER_DIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418105i32 as _ ) ; pub const RPC_E_SERVER_DIED_DNE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418094i32 as _ ) ; pub const RPC_E_SYS_CALL_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417856i32 as _ ) ; pub const RPC_E_THREAD_NOT_INIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417841i32 as _ ) ; pub const RPC_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417825i32 as _ ) ; pub const RPC_E_TOO_LATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417831i32 as _ ) ; pub const RPC_E_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352577i32 as _ ) ; pub const RPC_E_UNSECURE_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417832i32 as _ ) ; pub const RPC_E_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417840i32 as _ ) ; pub const RPC_E_WRONG_THREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417842i32 as _ ) ; pub const RPC_NT_ADDRESS_ERROR : NTSTATUS = NTSTATUS ( -1073610683i32 as _ ) ; pub const RPC_NT_ALREADY_LISTENING : NTSTATUS = NTSTATUS ( -1073610738i32 as _ ) ; pub const RPC_NT_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1073610740i32 as _ ) ; pub const RPC_NT_BAD_STUB_DATA : NTSTATUS = NTSTATUS ( -1073545204i32 as _ ) ; pub const RPC_NT_BINDING_HAS_NO_AUTH : NTSTATUS = NTSTATUS ( -1073610705i32 as _ ) ; pub const RPC_NT_BINDING_INCOMPLETE : NTSTATUS = NTSTATUS ( -1073610671i32 as _ ) ; pub const RPC_NT_BYTE_COUNT_TOO_SMALL : NTSTATUS = NTSTATUS ( -1073545205i32 as _ ) ; pub const RPC_NT_CALL_CANCELLED : NTSTATUS = NTSTATUS ( -1073610672i32 as _ ) ; pub const RPC_NT_CALL_FAILED : NTSTATUS = NTSTATUS ( -1073610725i32 as _ ) ; pub const RPC_NT_CALL_FAILED_DNE : NTSTATUS = NTSTATUS ( -1073610724i32 as _ ) ; pub const RPC_NT_CALL_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073610679i32 as _ ) ; pub const RPC_NT_CANNOT_SUPPORT : NTSTATUS = NTSTATUS ( -1073610687i32 as _ ) ; pub const RPC_NT_CANT_CREATE_ENDPOINT : NTSTATUS = NTSTATUS ( -1073610731i32 as _ ) ; pub const RPC_NT_COMM_FAILURE : NTSTATUS = NTSTATUS ( -1073610670i32 as _ ) ; pub const RPC_NT_COOKIE_AUTH_FAILED : NTSTATUS = NTSTATUS ( -1073610651i32 as _ ) ; pub const RPC_NT_DUPLICATE_ENDPOINT : NTSTATUS = NTSTATUS ( -1073610711i32 as _ ) ; pub const RPC_NT_ENTRY_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1073610691i32 as _ ) ; pub const RPC_NT_ENTRY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610690i32 as _ ) ; pub const RPC_NT_ENUM_VALUE_OUT_OF_RANGE : NTSTATUS = NTSTATUS ( -1073545206i32 as _ ) ; pub const RPC_NT_FP_DIV_ZERO : NTSTATUS = NTSTATUS ( -1073610682i32 as _ ) ; pub const RPC_NT_FP_OVERFLOW : NTSTATUS = NTSTATUS ( -1073610680i32 as _ ) ; pub const RPC_NT_FP_UNDERFLOW : NTSTATUS = NTSTATUS ( -1073610681i32 as _ ) ; pub const RPC_NT_GROUP_MEMBER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610677i32 as _ ) ; pub const RPC_NT_INCOMPLETE_NAME : NTSTATUS = NTSTATUS ( -1073610696i32 as _ ) ; pub const RPC_NT_INTERFACE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610692i32 as _ ) ; pub const RPC_NT_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1073610685i32 as _ ) ; pub const RPC_NT_INVALID_ASYNC_CALL : NTSTATUS = NTSTATUS ( -1073610653i32 as _ ) ; pub const RPC_NT_INVALID_ASYNC_HANDLE : NTSTATUS = NTSTATUS ( -1073610654i32 as _ ) ; pub const RPC_NT_INVALID_AUTH_IDENTITY : NTSTATUS = NTSTATUS ( -1073610702i32 as _ ) ; pub const RPC_NT_INVALID_BINDING : NTSTATUS = NTSTATUS ( -1073610749i32 as _ ) ; pub const RPC_NT_INVALID_BOUND : NTSTATUS = NTSTATUS ( -1073610717i32 as _ ) ; pub const RPC_NT_INVALID_ENDPOINT_FORMAT : NTSTATUS = NTSTATUS ( -1073610745i32 as _ ) ; pub const RPC_NT_INVALID_ES_ACTION : NTSTATUS = NTSTATUS ( -1073545127i32 as _ ) ; pub const RPC_NT_INVALID_NAF_ID : NTSTATUS = NTSTATUS ( -1073610688i32 as _ ) ; pub const RPC_NT_INVALID_NAME_SYNTAX : NTSTATUS = NTSTATUS ( -1073610715i32 as _ ) ; pub const RPC_NT_INVALID_NETWORK_OPTIONS : NTSTATUS = NTSTATUS ( -1073610727i32 as _ ) ; pub const RPC_NT_INVALID_NET_ADDR : NTSTATUS = NTSTATUS ( -1073610744i32 as _ ) ; pub const RPC_NT_INVALID_OBJECT : NTSTATUS = NTSTATUS ( -1073610675i32 as _ ) ; pub const RPC_NT_INVALID_PIPE_OBJECT : NTSTATUS = NTSTATUS ( -1073545124i32 as _ ) ; pub const RPC_NT_INVALID_PIPE_OPERATION : NTSTATUS = NTSTATUS ( -1073545123i32 as _ ) ; pub const RPC_NT_INVALID_RPC_PROTSEQ : NTSTATUS = NTSTATUS ( -1073610747i32 as _ ) ; pub const RPC_NT_INVALID_STRING_BINDING : NTSTATUS = NTSTATUS ( -1073610751i32 as _ ) ; pub const RPC_NT_INVALID_STRING_UUID : NTSTATUS = NTSTATUS ( -1073610746i32 as _ ) ; pub const RPC_NT_INVALID_TAG : NTSTATUS = NTSTATUS ( -1073610718i32 as _ ) ; pub const RPC_NT_INVALID_TIMEOUT : NTSTATUS = NTSTATUS ( -1073610742i32 as _ ) ; pub const RPC_NT_INVALID_VERS_OPTION : NTSTATUS = NTSTATUS ( -1073610695i32 as _ ) ; pub const RPC_NT_MAX_CALLS_TOO_SMALL : NTSTATUS = NTSTATUS ( -1073610709i32 as _ ) ; pub const RPC_NT_NAME_SERVICE_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073610689i32 as _ ) ; pub const RPC_NT_NOTHING_TO_EXPORT : NTSTATUS = NTSTATUS ( -1073610697i32 as _ ) ; pub const RPC_NT_NOT_ALL_OBJS_UNEXPORTED : NTSTATUS = NTSTATUS ( -1073610693i32 as _ ) ; pub const RPC_NT_NOT_CANCELLED : NTSTATUS = NTSTATUS ( -1073610664i32 as _ ) ; pub const RPC_NT_NOT_LISTENING : NTSTATUS = NTSTATUS ( -1073610736i32 as _ ) ; pub const RPC_NT_NOT_RPC_ERROR : NTSTATUS = NTSTATUS ( -1073610667i32 as _ ) ; pub const RPC_NT_NO_BINDINGS : NTSTATUS = NTSTATUS ( -1073610733i32 as _ ) ; pub const RPC_NT_NO_CALL_ACTIVE : NTSTATUS = NTSTATUS ( -1073610726i32 as _ ) ; pub const RPC_NT_NO_CONTEXT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073610686i32 as _ ) ; pub const RPC_NT_NO_ENDPOINT_FOUND : NTSTATUS = NTSTATUS ( -1073610743i32 as _ ) ; pub const RPC_NT_NO_ENTRY_NAME : NTSTATUS = NTSTATUS ( -1073610716i32 as _ ) ; pub const RPC_NT_NO_INTERFACES : NTSTATUS = NTSTATUS ( -1073610673i32 as _ ) ; pub const RPC_NT_NO_MORE_BINDINGS : NTSTATUS = NTSTATUS ( -1073610678i32 as _ ) ; pub const RPC_NT_NO_MORE_ENTRIES : NTSTATUS = NTSTATUS ( -1073545215i32 as _ ) ; pub const RPC_NT_NO_MORE_MEMBERS : NTSTATUS = NTSTATUS ( -1073610694i32 as _ ) ; pub const RPC_NT_NO_PRINC_NAME : NTSTATUS = NTSTATUS ( -1073610668i32 as _ ) ; pub const RPC_NT_NO_PROTSEQS : NTSTATUS = NTSTATUS ( -1073610732i32 as _ ) ; pub const RPC_NT_NO_PROTSEQS_REGISTERED : NTSTATUS = NTSTATUS ( -1073610737i32 as _ ) ; pub const RPC_NT_NULL_REF_POINTER : NTSTATUS = NTSTATUS ( -1073545207i32 as _ ) ; pub const RPC_NT_OBJECT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610741i32 as _ ) ; pub const RPC_NT_OUT_OF_RESOURCES : NTSTATUS = NTSTATUS ( -1073610730i32 as _ ) ; pub const RPC_NT_PIPE_CLOSED : NTSTATUS = NTSTATUS ( -1073545121i32 as _ ) ; pub const RPC_NT_PIPE_DISCIPLINE_ERROR : NTSTATUS = NTSTATUS ( -1073545120i32 as _ ) ; pub const RPC_NT_PIPE_EMPTY : NTSTATUS = NTSTATUS ( -1073545119i32 as _ ) ; pub const RPC_NT_PROCNUM_OUT_OF_RANGE : NTSTATUS = NTSTATUS ( -1073610706i32 as _ ) ; pub const RPC_NT_PROTOCOL_ERROR : NTSTATUS = NTSTATUS ( -1073610723i32 as _ ) ; pub const RPC_NT_PROTSEQ_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610707i32 as _ ) ; pub const RPC_NT_PROTSEQ_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073610748i32 as _ ) ; pub const RPC_NT_PROXY_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073610652i32 as _ ) ; pub const RPC_NT_SEC_PKG_ERROR : NTSTATUS = NTSTATUS ( -1073610665i32 as _ ) ; pub const RPC_NT_SEND_INCOMPLETE : NTSTATUS = NTSTATUS ( 1073873071i32 as _ ) ; pub const RPC_NT_SERVER_TOO_BUSY : NTSTATUS = NTSTATUS ( -1073610728i32 as _ ) ; pub const RPC_NT_SERVER_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073610729i32 as _ ) ; pub const RPC_NT_SS_CANNOT_GET_CALL_HANDLE : NTSTATUS = NTSTATUS ( -1073545208i32 as _ ) ; pub const RPC_NT_SS_CHAR_TRANS_OPEN_FAIL : NTSTATUS = NTSTATUS ( -1073545214i32 as _ ) ; pub const RPC_NT_SS_CHAR_TRANS_SHORT_FILE : NTSTATUS = NTSTATUS ( -1073545213i32 as _ ) ; pub const RPC_NT_SS_CONTEXT_DAMAGED : NTSTATUS = NTSTATUS ( -1073545210i32 as _ ) ; pub const RPC_NT_SS_CONTEXT_MISMATCH : NTSTATUS = NTSTATUS ( -1073545211i32 as _ ) ; pub const RPC_NT_SS_HANDLES_MISMATCH : NTSTATUS = NTSTATUS ( -1073545209i32 as _ ) ; pub const RPC_NT_SS_IN_NULL_CONTEXT : NTSTATUS = NTSTATUS ( -1073545212i32 as _ ) ; pub const RPC_NT_STRING_TOO_LONG : NTSTATUS = NTSTATUS ( -1073610708i32 as _ ) ; pub const RPC_NT_TYPE_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1073610739i32 as _ ) ; pub const RPC_NT_UNKNOWN_AUTHN_LEVEL : NTSTATUS = NTSTATUS ( -1073610703i32 as _ ) ; pub const RPC_NT_UNKNOWN_AUTHN_SERVICE : NTSTATUS = NTSTATUS ( -1073610704i32 as _ ) ; pub const RPC_NT_UNKNOWN_AUTHN_TYPE : NTSTATUS = NTSTATUS ( -1073610710i32 as _ ) ; pub const RPC_NT_UNKNOWN_AUTHZ_SERVICE : NTSTATUS = NTSTATUS ( -1073610701i32 as _ ) ; pub const RPC_NT_UNKNOWN_IF : NTSTATUS = NTSTATUS ( -1073610734i32 as _ ) ; pub const RPC_NT_UNKNOWN_MGR_TYPE : NTSTATUS = NTSTATUS ( -1073610735i32 as _ ) ; pub const RPC_NT_UNSUPPORTED_AUTHN_LEVEL : NTSTATUS = NTSTATUS ( -1073610669i32 as _ ) ; pub const RPC_NT_UNSUPPORTED_NAME_SYNTAX : NTSTATUS = NTSTATUS ( -1073610714i32 as _ ) ; pub const RPC_NT_UNSUPPORTED_TRANS_SYN : NTSTATUS = NTSTATUS ( -1073610721i32 as _ ) ; pub const RPC_NT_UNSUPPORTED_TYPE : NTSTATUS = NTSTATUS ( -1073610719i32 as _ ) ; pub const RPC_NT_UUID_LOCAL_ONLY : NTSTATUS = NTSTATUS ( 1073872982i32 as _ ) ; pub const RPC_NT_UUID_NO_ADDRESS : NTSTATUS = NTSTATUS ( -1073610712i32 as _ ) ; pub const RPC_NT_WRONG_ES_VERSION : NTSTATUS = NTSTATUS ( -1073545126i32 as _ ) ; pub const RPC_NT_WRONG_KIND_OF_BINDING : NTSTATUS = NTSTATUS ( -1073610750i32 as _ ) ; pub const RPC_NT_WRONG_PIPE_VERSION : NTSTATUS = NTSTATUS ( -1073545122i32 as _ ) ; pub const RPC_NT_WRONG_STUB_VERSION : NTSTATUS = NTSTATUS ( -1073545125i32 as _ ) ; pub const RPC_NT_ZERO_DIVIDE : NTSTATUS = NTSTATUS ( -1073610684i32 as _ ) ; pub const RPC_S_CALLPENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417835i32 as _ ) ; pub const RPC_S_WAITONTIMER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417834i32 as _ ) ; pub const RPC_X_BAD_STUB_DATA : i32 = 1783i32 ; pub const RPC_X_BYTE_COUNT_TOO_SMALL : i32 = 1782i32 ; pub const RPC_X_ENUM_VALUE_OUT_OF_RANGE : i32 = 1781i32 ; pub const RPC_X_INVALID_ES_ACTION : i32 = 1827i32 ; pub const RPC_X_INVALID_PIPE_OBJECT : i32 = 1830i32 ; pub const RPC_X_NO_MORE_ENTRIES : i32 = 1772i32 ; pub const RPC_X_NULL_REF_POINTER : i32 = 1780i32 ; pub const RPC_X_PIPE_CLOSED : i32 = 1916i32 ; pub const RPC_X_PIPE_DISCIPLINE_ERROR : i32 = 1917i32 ; pub const RPC_X_PIPE_EMPTY : i32 = 1918i32 ; pub const RPC_X_SS_CANNOT_GET_CALL_HANDLE : i32 = 1779i32 ; pub const RPC_X_SS_CHAR_TRANS_OPEN_FAIL : i32 = 1773i32 ; pub const RPC_X_SS_CHAR_TRANS_SHORT_FILE : i32 = 1774i32 ; pub const RPC_X_SS_CONTEXT_DAMAGED : i32 = 1777i32 ; pub const RPC_X_SS_HANDLES_MISMATCH : i32 = 1778i32 ; pub const RPC_X_SS_IN_NULL_CONTEXT : i32 = 1775i32 ; pub const RPC_X_WRONG_ES_VERSION : i32 = 1828i32 ; pub const RPC_X_WRONG_PIPE_ORDER : i32 = 1831i32 ; pub const RPC_X_WRONG_PIPE_VERSION : i32 = 1832i32 ; pub const RPC_X_WRONG_STUB_VERSION : i32 = 1829i32 ; pub unsafe fn RtlNtStatusToDosError < 'a , Param0 : :: windows :: IntoParam < 'a , NTSTATUS > , > ( status : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlNtStatusToDosError ( status : NTSTATUS ) -> u32 ; } :: std :: mem :: transmute ( RtlNtStatusToDosError ( status . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const SCARD_E_BAD_SEEK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435031i32 as _ ) ; pub const SCARD_E_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435070i32 as _ ) ; pub const SCARD_E_CANT_DISPOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435058i32 as _ ) ; pub const SCARD_E_CARD_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435044i32 as _ ) ; pub const SCARD_E_CERTIFICATE_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435027i32 as _ ) ; pub const SCARD_E_COMM_DATA_LOST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435025i32 as _ ) ; pub const SCARD_E_DIR_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435037i32 as _ ) ; pub const SCARD_E_DUPLICATE_READER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435045i32 as _ ) ; pub const SCARD_E_FILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435036i32 as _ ) ; pub const SCARD_E_ICC_CREATEORDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435039i32 as _ ) ; pub const SCARD_E_ICC_INSTALLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435040i32 as _ ) ; pub const SCARD_E_INSUFFICIENT_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435064i32 as _ ) ; pub const SCARD_E_INVALID_ATR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435051i32 as _ ) ; pub const SCARD_E_INVALID_CHV : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435030i32 as _ ) ; pub const SCARD_E_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435069i32 as _ ) ; pub const SCARD_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435068i32 as _ ) ; pub const SCARD_E_INVALID_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435067i32 as _ ) ; pub const SCARD_E_INVALID_VALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435055i32 as _ ) ; pub const SCARD_E_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435056i32 as _ ) ; pub const SCARD_E_NOT_TRANSACTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435050i32 as _ ) ; pub const SCARD_E_NO_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435033i32 as _ ) ; pub const SCARD_E_NO_DIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435035i32 as _ ) ; pub const SCARD_E_NO_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435034i32 as _ ) ; pub const SCARD_E_NO_KEY_CONTAINER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435024i32 as _ ) ; pub const SCARD_E_NO_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435066i32 as _ ) ; pub const SCARD_E_NO_PIN_CACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435021i32 as _ ) ; pub const SCARD_E_NO_READERS_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435026i32 as _ ) ; pub const SCARD_E_NO_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435043i32 as _ ) ; pub const SCARD_E_NO_SMARTCARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435060i32 as _ ) ; pub const SCARD_E_NO_SUCH_CERTIFICATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435028i32 as _ ) ; pub const SCARD_E_PCI_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435047i32 as _ ) ; pub const SCARD_E_PIN_CACHE_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435022i32 as _ ) ; pub const SCARD_E_PROTO_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435057i32 as _ ) ; pub const SCARD_E_READER_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435049i32 as _ ) ; pub const SCARD_E_READER_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435046i32 as _ ) ; pub const SCARD_E_READ_ONLY_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435020i32 as _ ) ; pub const SCARD_E_SERVER_TOO_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435023i32 as _ ) ; pub const SCARD_E_SERVICE_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435042i32 as _ ) ; pub const SCARD_E_SHARING_VIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435061i32 as _ ) ; pub const SCARD_E_SYSTEM_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435054i32 as _ ) ; pub const SCARD_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435062i32 as _ ) ; pub const SCARD_E_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435041i32 as _ ) ; pub const SCARD_E_UNKNOWN_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435059i32 as _ ) ; pub const SCARD_E_UNKNOWN_READER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435063i32 as _ ) ; pub const SCARD_E_UNKNOWN_RES_MNG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435029i32 as _ ) ; pub const SCARD_E_UNSUPPORTED_FEATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435038i32 as _ ) ; pub const SCARD_E_WRITE_TOO_MANY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435032i32 as _ ) ; pub const SCARD_F_COMM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435053i32 as _ ) ; pub const SCARD_F_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435071i32 as _ ) ; pub const SCARD_F_UNKNOWN_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435052i32 as _ ) ; pub const SCARD_F_WAITED_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435065i32 as _ ) ; pub const SCARD_P_SHUTDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435048i32 as _ ) ; pub const SCARD_W_CACHE_ITEM_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434960i32 as _ ) ; pub const SCARD_W_CACHE_ITEM_STALE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434959i32 as _ ) ; pub const SCARD_W_CACHE_ITEM_TOO_BIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434958i32 as _ ) ; pub const SCARD_W_CANCELLED_BY_USER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434962i32 as _ ) ; pub const SCARD_W_CARD_NOT_AUTHENTICATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434961i32 as _ ) ; pub const SCARD_W_CHV_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434964i32 as _ ) ; pub const SCARD_W_EOF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434963i32 as _ ) ; pub const SCARD_W_REMOVED_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434967i32 as _ ) ; pub const SCARD_W_RESET_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434968i32 as _ ) ; pub const SCARD_W_SECURITY_VIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434966i32 as _ ) ; pub const SCARD_W_UNPOWERED_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434969i32 as _ ) ; pub const SCARD_W_UNRESPONSIVE_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434970i32 as _ ) ; pub const SCARD_W_UNSUPPORTED_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434971i32 as _ ) ; pub const SCARD_W_WRONG_CHV : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434965i32 as _ ) ; pub const SCHED_E_ACCOUNT_DBASE_CORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216623i32 as _ ) ; pub const SCHED_E_ACCOUNT_INFORMATION_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216625i32 as _ ) ; pub const SCHED_E_ACCOUNT_NAME_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216624i32 as _ ) ; pub const SCHED_E_ALREADY_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216609i32 as _ ) ; pub const SCHED_E_CANNOT_OPEN_TASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216627i32 as _ ) ; pub const SCHED_E_DEPRECATED_FEATURE_USED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216592i32 as _ ) ; pub const SCHED_E_INVALIDVALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216616i32 as _ ) ; pub const SCHED_E_INVALID_TASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216626i32 as _ ) ; pub const SCHED_E_INVALID_TASK_HASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216607i32 as _ ) ; pub const SCHED_E_MALFORMEDXML : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216614i32 as _ ) ; pub const SCHED_E_MISSINGNODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216615i32 as _ ) ; pub const SCHED_E_NAMESPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216617i32 as _ ) ; pub const SCHED_E_NO_SECURITY_SERVICES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216622i32 as _ ) ; pub const SCHED_E_PAST_END_BOUNDARY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216610i32 as _ ) ; pub const SCHED_E_SERVICE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216606i32 as _ ) ; pub const SCHED_E_SERVICE_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216628i32 as _ ) ; pub const SCHED_E_SERVICE_NOT_LOCALSYSTEM : i32 = 6200i32 ; pub const SCHED_E_SERVICE_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216619i32 as _ ) ; pub const SCHED_E_SERVICE_TOO_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216605i32 as _ ) ; pub const SCHED_E_START_ON_DEMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216600i32 as _ ) ; pub const SCHED_E_TASK_ATTEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216604i32 as _ ) ; pub const SCHED_E_TASK_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216602i32 as _ ) ; pub const SCHED_E_TASK_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216630i32 as _ ) ; pub const SCHED_E_TASK_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216629i32 as _ ) ; pub const SCHED_E_TASK_NOT_UBPM_COMPAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216599i32 as _ ) ; pub const SCHED_E_TASK_NOT_V1_COMPAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216601i32 as _ ) ; pub const SCHED_E_TOO_MANY_NODES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216611i32 as _ ) ; pub const SCHED_E_TRIGGER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216631i32 as _ ) ; pub const SCHED_E_UNEXPECTEDNODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216618i32 as _ ) ; pub const SCHED_E_UNKNOWN_OBJECT_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216621i32 as _ ) ; pub const SCHED_E_UNSUPPORTED_ACCOUNT_OPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216620i32 as _ ) ; pub const SCHED_E_USER_NOT_LOGGED_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216608i32 as _ ) ; pub const SCHED_S_BATCH_LOGON_PROBLEM : :: windows :: HRESULT = :: windows :: HRESULT ( 267036i32 as _ ) ; pub const SCHED_S_EVENT_TRIGGER : :: windows :: HRESULT = :: windows :: HRESULT ( 267016i32 as _ ) ; pub const SCHED_S_SOME_TRIGGERS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( 267035i32 as _ ) ; pub const SCHED_S_TASK_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( 267010i32 as _ ) ; pub const SCHED_S_TASK_HAS_NOT_RUN : :: windows :: HRESULT = :: windows :: HRESULT ( 267011i32 as _ ) ; pub const SCHED_S_TASK_NOT_SCHEDULED : :: windows :: HRESULT = :: windows :: HRESULT ( 267013i32 as _ ) ; pub const SCHED_S_TASK_NO_MORE_RUNS : :: windows :: HRESULT = :: windows :: HRESULT ( 267012i32 as _ ) ; pub const SCHED_S_TASK_NO_VALID_TRIGGERS : :: windows :: HRESULT = :: windows :: HRESULT ( 267015i32 as _ ) ; pub const SCHED_S_TASK_QUEUED : :: windows :: HRESULT = :: windows :: HRESULT ( 267045i32 as _ ) ; pub const SCHED_S_TASK_READY : :: windows :: HRESULT = :: windows :: HRESULT ( 267008i32 as _ ) ; pub const SCHED_S_TASK_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( 267009i32 as _ ) ; pub const SCHED_S_TASK_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( 267014i32 as _ ) ; pub const SDIAG_E_CANCELLED : i32 = -2143551232i32 ; pub const SDIAG_E_CANNOTRUN : i32 = -2143551224i32 ; pub const SDIAG_E_DISABLED : i32 = -2143551226i32 ; pub const SDIAG_E_MANAGEDHOST : i32 = -2143551229i32 ; pub const SDIAG_E_NOVERIFIER : i32 = -2143551228i32 ; pub const SDIAG_E_POWERSHELL : i32 = -2143551230i32 ; pub const SDIAG_E_RESOURCE : i32 = -2143551222i32 ; pub const SDIAG_E_ROOTCAUSE : i32 = -2143551221i32 ; pub const SDIAG_E_SCRIPT : i32 = -2143551231i32 ; pub const SDIAG_E_TRUST : i32 = -2143551225i32 ; pub const SDIAG_E_VERSION : i32 = -2143551223i32 ; pub const SDIAG_S_CANNOTRUN : i32 = 3932421i32 ; pub const SEC_E_ALGORITHM_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893007i32 as _ ) ; pub const SEC_E_APPLICATION_PROTOCOL_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892953i32 as _ ) ; pub const SEC_E_BAD_BINDINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892986i32 as _ ) ; pub const SEC_E_BAD_PKGID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893034i32 as _ ) ; pub const SEC_E_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893023i32 as _ ) ; pub const SEC_E_CANNOT_INSTALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893049i32 as _ ) ; pub const SEC_E_CANNOT_PACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893047i32 as _ ) ; pub const SEC_E_CERT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893016i32 as _ ) ; pub const SEC_E_CERT_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893017i32 as _ ) ; pub const SEC_E_CERT_WRONG_USAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892983i32 as _ ) ; pub const SEC_E_CONTEXT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893033i32 as _ ) ; pub const SEC_E_CROSSREALM_DELEGATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892969i32 as _ ) ; pub const SEC_E_CRYPTO_SYSTEM_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893001i32 as _ ) ; pub const SEC_E_DECRYPT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893008i32 as _ ) ; pub const SEC_E_DELEGATION_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892962i32 as _ ) ; pub const SEC_E_DELEGATION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892987i32 as _ ) ; pub const SEC_E_DOWNGRADE_DETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892976i32 as _ ) ; pub const SEC_E_ENCRYPT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893015i32 as _ ) ; pub const SEC_E_EXT_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892950i32 as _ ) ; pub const SEC_E_ILLEGAL_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893018i32 as _ ) ; pub const SEC_E_INCOMPLETE_CREDENTIALS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893024i32 as _ ) ; pub const SEC_E_INCOMPLETE_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893032i32 as _ ) ; pub const SEC_E_INSUFFICIENT_BUFFERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892949i32 as _ ) ; pub const SEC_E_INSUFFICIENT_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893056i32 as _ ) ; pub const SEC_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893052i32 as _ ) ; pub const SEC_E_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893055i32 as _ ) ; pub const SEC_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892963i32 as _ ) ; pub const SEC_E_INVALID_TOKEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893048i32 as _ ) ; pub const SEC_E_INVALID_UPN_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892951i32 as _ ) ; pub const SEC_E_ISSUING_CA_UNTRUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892974i32 as _ ) ; pub const SEC_E_ISSUING_CA_UNTRUSTED_KDC : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892967i32 as _ ) ; pub const SEC_E_KDC_CERT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892966i32 as _ ) ; pub const SEC_E_KDC_CERT_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892965i32 as _ ) ; pub const SEC_E_KDC_INVALID_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892992i32 as _ ) ; pub const SEC_E_KDC_UNABLE_TO_REFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892991i32 as _ ) ; pub const SEC_E_KDC_UNKNOWN_ETYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892990i32 as _ ) ; pub const SEC_E_LOGON_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893044i32 as _ ) ; pub const SEC_E_MAX_REFERRALS_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893000i32 as _ ) ; pub const SEC_E_MESSAGE_ALTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893041i32 as _ ) ; pub const SEC_E_MULTIPLE_ACCOUNTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892985i32 as _ ) ; pub const SEC_E_MUST_BE_KDC : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892999i32 as _ ) ; pub const SEC_E_MUTUAL_AUTH_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892957i32 as _ ) ; pub const SEC_E_NOT_OWNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893050i32 as _ ) ; pub const SEC_E_NO_AUTHENTICATING_AUTHORITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893039i32 as _ ) ; pub const SEC_E_NO_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892959i32 as _ ) ; pub const SEC_E_NO_CREDENTIALS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893042i32 as _ ) ; pub const SEC_E_NO_IMPERSONATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893045i32 as _ ) ; pub const SEC_E_NO_IP_ADDRESSES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893003i32 as _ ) ; pub const SEC_E_NO_KERB_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892984i32 as _ ) ; pub const SEC_E_NO_PA_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892996i32 as _ ) ; pub const SEC_E_NO_S4U_PROT_SUPPORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892970i32 as _ ) ; pub const SEC_E_NO_TGT_REPLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893004i32 as _ ) ; pub const SEC_E_OK : :: windows :: HRESULT = :: windows :: HRESULT ( 0i32 as _ ) ; pub const SEC_E_ONLY_HTTPS_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892955i32 as _ ) ; pub const SEC_E_OUT_OF_SEQUENCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893040i32 as _ ) ; pub const SEC_E_PKINIT_CLIENT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892972i32 as _ ) ; pub const SEC_E_PKINIT_NAME_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892995i32 as _ ) ; pub const SEC_E_PKU2U_CERT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892958i32 as _ ) ; pub const SEC_E_POLICY_NLTM_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892961i32 as _ ) ; pub const SEC_E_QOP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893046i32 as _ ) ; pub const SEC_E_REVOCATION_OFFLINE_C : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892973i32 as _ ) ; pub const SEC_E_REVOCATION_OFFLINE_KDC : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892968i32 as _ ) ; pub const SEC_E_SECPKG_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893051i32 as _ ) ; pub const SEC_E_SECURITY_QOS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893006i32 as _ ) ; pub const SEC_E_SHUTDOWN_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892993i32 as _ ) ; pub const SEC_E_SMARTCARD_CERT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892971i32 as _ ) ; pub const SEC_E_SMARTCARD_CERT_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892975i32 as _ ) ; pub const SEC_E_SMARTCARD_LOGON_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892994i32 as _ ) ; pub const SEC_E_STRONG_CRYPTO_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892998i32 as _ ) ; pub const SEC_E_TARGET_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893053i32 as _ ) ; pub const SEC_E_TIME_SKEW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893020i32 as _ ) ; pub const SEC_E_TOO_MANY_PRINCIPALS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892997i32 as _ ) ; pub const SEC_E_UNFINISHED_CONTEXT_DELETED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893005i32 as _ ) ; pub const SEC_E_UNKNOWN_CREDENTIALS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893043i32 as _ ) ; pub const SEC_E_UNSUPPORTED_FUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893054i32 as _ ) ; pub const SEC_E_UNSUPPORTED_PREAUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892989i32 as _ ) ; pub const SEC_E_UNTRUSTED_ROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893019i32 as _ ) ; pub const SEC_E_WRONG_CREDENTIAL_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893002i32 as _ ) ; pub const SEC_E_WRONG_PRINCIPAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893022i32 as _ ) ; pub const SEC_I_ASYNC_CALL_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( 590696i32 as _ ) ; pub const SEC_I_COMPLETE_AND_CONTINUE : :: windows :: HRESULT = :: windows :: HRESULT ( 590612i32 as _ ) ; pub const SEC_I_COMPLETE_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( 590611i32 as _ ) ; pub const SEC_I_CONTEXT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( 590615i32 as _ ) ; pub const SEC_I_CONTINUE_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( 590610i32 as _ ) ; pub const SEC_I_CONTINUE_NEEDED_MESSAGE_OK : :: windows :: HRESULT = :: windows :: HRESULT ( 590694i32 as _ ) ; pub const SEC_I_GENERIC_EXTENSION_RECEIVED : :: windows :: HRESULT = :: windows :: HRESULT ( 590614i32 as _ ) ; pub const SEC_I_INCOMPLETE_CREDENTIALS : :: windows :: HRESULT = :: windows :: HRESULT ( 590624i32 as _ ) ; pub const SEC_I_LOCAL_LOGON : :: windows :: HRESULT = :: windows :: HRESULT ( 590613i32 as _ ) ; pub const SEC_I_MESSAGE_FRAGMENT : :: windows :: HRESULT = :: windows :: HRESULT ( 590692i32 as _ ) ; pub const SEC_I_NO_LSA_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( 590627i32 as _ ) ; pub const SEC_I_NO_RENEGOTIATION : :: windows :: HRESULT = :: windows :: HRESULT ( 590688i32 as _ ) ; pub const SEC_I_RENEGOTIATE : :: windows :: HRESULT = :: windows :: HRESULT ( 590625i32 as _ ) ; pub const SEC_I_SIGNATURE_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( 590684i32 as _ ) ; pub const SEVERITY_ERROR : u32 = 1u32 ; pub const SEVERITY_SUCCESS : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SIZE { pub cx : i32 , pub cy : i32 } impl SIZE { } impl :: std :: default :: Default for SIZE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for SIZE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SIZE" ) . field ( "cx" , & self . cx ) . field ( "cy" , & self . cy ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SIZE { fn eq ( & self , other : & Self ) -> bool { self . cx == other . cx && self . cy == other . cy } } impl :: std :: cmp :: Eq for SIZE { } unsafe impl :: windows :: Abi for SIZE { type Abi = Self ; type DefaultType = Self ; } pub const SPAPI_E_AUTHENTICODE_DISALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500032i32 as _ ) ; pub const SPAPI_E_AUTHENTICODE_PUBLISHER_NOT_TRUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500029i32 as _ ) ; pub const SPAPI_E_AUTHENTICODE_TRUSTED_PUBLISHER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500031i32 as _ ) ; pub const SPAPI_E_AUTHENTICODE_TRUST_NOT_ESTABLISHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500030i32 as _ ) ; pub const SPAPI_E_BAD_INTERFACE_INSTALLSECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500067i32 as _ ) ; pub const SPAPI_E_BAD_SECTION_NAME_LINE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500607i32 as _ ) ; pub const SPAPI_E_BAD_SERVICE_INSTALLSECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500073i32 as _ ) ; pub const SPAPI_E_CANT_LOAD_CLASS_ICON : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500084i32 as _ ) ; pub const SPAPI_E_CANT_REMOVE_DEVINST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500046i32 as _ ) ; pub const SPAPI_E_CLASS_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500095i32 as _ ) ; pub const SPAPI_E_DEVICE_INSTALLER_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500026i32 as _ ) ; pub const SPAPI_E_DEVICE_INSTALL_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500024i32 as _ ) ; pub const SPAPI_E_DEVICE_INTERFACE_ACTIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500069i32 as _ ) ; pub const SPAPI_E_DEVICE_INTERFACE_REMOVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500068i32 as _ ) ; pub const SPAPI_E_DEVINFO_DATA_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500077i32 as _ ) ; pub const SPAPI_E_DEVINFO_LIST_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500078i32 as _ ) ; pub const SPAPI_E_DEVINFO_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500088i32 as _ ) ; pub const SPAPI_E_DEVINSTALL_QUEUE_NONNATIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500048i32 as _ ) ; pub const SPAPI_E_DEVINST_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500089i32 as _ ) ; pub const SPAPI_E_DI_BAD_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500076i32 as _ ) ; pub const SPAPI_E_DI_DONT_INSTALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500053i32 as _ ) ; pub const SPAPI_E_DI_DO_DEFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500082i32 as _ ) ; pub const SPAPI_E_DI_FUNCTION_OBSOLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500034i32 as _ ) ; pub const SPAPI_E_DI_NOFILECOPY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500081i32 as _ ) ; pub const SPAPI_E_DI_POSTPROCESSING_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500058i32 as _ ) ; pub const SPAPI_E_DRIVER_INSTALL_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500023i32 as _ ) ; pub const SPAPI_E_DRIVER_NONNATIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500044i32 as _ ) ; pub const SPAPI_E_DRIVER_STORE_ADD_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500025i32 as _ ) ; pub const SPAPI_E_DRIVER_STORE_DELETE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500020i32 as _ ) ; pub const SPAPI_E_DUPLICATE_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500094i32 as _ ) ; pub const SPAPI_E_ERROR_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146496512i32 as _ ) ; pub const SPAPI_E_EXPECTED_SECTION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500608i32 as _ ) ; pub const SPAPI_E_FILEQUEUE_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500074i32 as _ ) ; pub const SPAPI_E_FILE_HASH_NOT_IN_CATALOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500021i32 as _ ) ; pub const SPAPI_E_GENERAL_SYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500605i32 as _ ) ; pub const SPAPI_E_INCORRECTLY_COPIED_INF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500041i32 as _ ) ; pub const SPAPI_E_INF_IN_USE_BY_DEVICES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500035i32 as _ ) ; pub const SPAPI_E_INVALID_CLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500090i32 as _ ) ; pub const SPAPI_E_INVALID_CLASS_INSTALLER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500083i32 as _ ) ; pub const SPAPI_E_INVALID_COINSTALLER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500057i32 as _ ) ; pub const SPAPI_E_INVALID_DEVINST_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500091i32 as _ ) ; pub const SPAPI_E_INVALID_FILTER_DRIVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500052i32 as _ ) ; pub const SPAPI_E_INVALID_HWPROFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500080i32 as _ ) ; pub const SPAPI_E_INVALID_INF_LOGCONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500054i32 as _ ) ; pub const SPAPI_E_INVALID_MACHINENAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500064i32 as _ ) ; pub const SPAPI_E_INVALID_PROPPAGE_PROVIDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500060i32 as _ ) ; pub const SPAPI_E_INVALID_REFERENCE_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500065i32 as _ ) ; pub const SPAPI_E_INVALID_REG_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500087i32 as _ ) ; pub const SPAPI_E_INVALID_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500045i32 as _ ) ; pub const SPAPI_E_IN_WOW64 : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500043i32 as _ ) ; pub const SPAPI_E_KEY_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500092i32 as _ ) ; pub const SPAPI_E_LINE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500350i32 as _ ) ; pub const SPAPI_E_MACHINE_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500062i32 as _ ) ; pub const SPAPI_E_NON_WINDOWS_DRIVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500050i32 as _ ) ; pub const SPAPI_E_NON_WINDOWS_NT_DRIVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500051i32 as _ ) ; pub const SPAPI_E_NOT_AN_INSTALLED_OEM_INF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500036i32 as _ ) ; pub const SPAPI_E_NOT_DISABLEABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500047i32 as _ ) ; pub const SPAPI_E_NO_ASSOCIATED_CLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500096i32 as _ ) ; pub const SPAPI_E_NO_ASSOCIATED_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500071i32 as _ ) ; pub const SPAPI_E_NO_AUTHENTICODE_CATALOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500033i32 as _ ) ; pub const SPAPI_E_NO_BACKUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500349i32 as _ ) ; pub const SPAPI_E_NO_CATALOG_FOR_OEM_INF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500049i32 as _ ) ; pub const SPAPI_E_NO_CLASSINSTALL_PARAMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500075i32 as _ ) ; pub const SPAPI_E_NO_CLASS_DRIVER_LIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500072i32 as _ ) ; pub const SPAPI_E_NO_COMPAT_DRIVERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500056i32 as _ ) ; pub const SPAPI_E_NO_CONFIGMGR_SERVICES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500061i32 as _ ) ; pub const SPAPI_E_NO_DEFAULT_DEVICE_INTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500070i32 as _ ) ; pub const SPAPI_E_NO_DEVICE_ICON : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500055i32 as _ ) ; pub const SPAPI_E_NO_DEVICE_SELECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500079i32 as _ ) ; pub const SPAPI_E_NO_DRIVER_SELECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500093i32 as _ ) ; pub const SPAPI_E_NO_INF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500086i32 as _ ) ; pub const SPAPI_E_NO_SUCH_DEVICE_INTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500059i32 as _ ) ; pub const SPAPI_E_NO_SUCH_DEVINST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500085i32 as _ ) ; pub const SPAPI_E_NO_SUCH_INTERFACE_CLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500066i32 as _ ) ; pub const SPAPI_E_ONLY_VALIDATE_VIA_AUTHENTICODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500027i32 as _ ) ; pub const SPAPI_E_PNP_REGISTRY_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500038i32 as _ ) ; pub const SPAPI_E_REMOTE_COMM_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500063i32 as _ ) ; pub const SPAPI_E_REMOTE_REQUEST_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500037i32 as _ ) ; pub const SPAPI_E_SCE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500040i32 as _ ) ; pub const SPAPI_E_SECTION_NAME_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500606i32 as _ ) ; pub const SPAPI_E_SECTION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500351i32 as _ ) ; pub const SPAPI_E_SET_SYSTEM_RESTORE_POINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500042i32 as _ ) ; pub const SPAPI_E_SIGNATURE_OSATTRIBUTE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500028i32 as _ ) ; pub const SPAPI_E_UNKNOWN_EXCEPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500039i32 as _ ) ; pub const SPAPI_E_UNRECOVERABLE_STACK_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146499840i32 as _ ) ; pub const SPAPI_E_WRONG_INF_STYLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500352i32 as _ ) ; pub const SPAPI_E_WRONG_INF_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500022i32 as _ ) ; pub const SQLITE_E_ABORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574332i32 as _ ) ; pub const SQLITE_E_ABORT_ROLLBACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573820i32 as _ ) ; pub const SQLITE_E_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574313i32 as _ ) ; pub const SQLITE_E_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574331i32 as _ ) ; pub const SQLITE_E_BUSY_RECOVERY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574075i32 as _ ) ; pub const SQLITE_E_BUSY_SNAPSHOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573819i32 as _ ) ; pub const SQLITE_E_CANTOPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574322i32 as _ ) ; pub const SQLITE_E_CANTOPEN_CONVPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573298i32 as _ ) ; pub const SQLITE_E_CANTOPEN_FULLPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573554i32 as _ ) ; pub const SQLITE_E_CANTOPEN_ISDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573810i32 as _ ) ; pub const SQLITE_E_CANTOPEN_NOTEMPDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574066i32 as _ ) ; pub const SQLITE_E_CONSTRAINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574317i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574061i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_COMMITHOOK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573805i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_FOREIGNKEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573549i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_FUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573293i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_NOTNULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573037i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_PRIMARYKEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572781i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_ROWID : :: windows :: HRESULT = :: windows :: HRESULT ( -2018571757i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_TRIGGER : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572525i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572269i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_VTAB : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572013i32 as _ ) ; pub const SQLITE_E_CORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574325i32 as _ ) ; pub const SQLITE_E_CORRUPT_VTAB : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574069i32 as _ ) ; pub const SQLITE_E_DONE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574235i32 as _ ) ; pub const SQLITE_E_EMPTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574320i32 as _ ) ; pub const SQLITE_E_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574335i32 as _ ) ; pub const SQLITE_E_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574312i32 as _ ) ; pub const SQLITE_E_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574323i32 as _ ) ; pub const SQLITE_E_INTERNAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574334i32 as _ ) ; pub const SQLITE_E_INTERRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574327i32 as _ ) ; pub const SQLITE_E_IOERR : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574326i32 as _ ) ; pub const SQLITE_E_IOERR_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2018570998i32 as _ ) ; pub const SQLITE_E_IOERR_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018567677i32 as _ ) ; pub const SQLITE_E_IOERR_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2018571510i32 as _ ) ; pub const SQLITE_E_IOERR_CHECKRESERVEDLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018570742i32 as _ ) ; pub const SQLITE_E_IOERR_CLOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018570230i32 as _ ) ; pub const SQLITE_E_IOERR_CONVPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018567670i32 as _ ) ; pub const SQLITE_E_IOERR_DELETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018571766i32 as _ ) ; pub const SQLITE_E_IOERR_DELETE_NOENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018568438i32 as _ ) ; pub const SQLITE_E_IOERR_DIR_CLOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018569974i32 as _ ) ; pub const SQLITE_E_IOERR_DIR_FSYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573046i32 as _ ) ; pub const SQLITE_E_IOERR_FSTAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572534i32 as _ ) ; pub const SQLITE_E_IOERR_FSYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573302i32 as _ ) ; pub const SQLITE_E_IOERR_GETTEMPPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018567926i32 as _ ) ; pub const SQLITE_E_IOERR_LOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018570486i32 as _ ) ; pub const SQLITE_E_IOERR_MMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2018568182i32 as _ ) ; pub const SQLITE_E_IOERR_NOMEM : :: windows :: HRESULT = :: windows :: HRESULT ( -2018571254i32 as _ ) ; pub const SQLITE_E_IOERR_RDLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572022i32 as _ ) ; pub const SQLITE_E_IOERR_READ : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574070i32 as _ ) ; pub const SQLITE_E_IOERR_SEEK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018568694i32 as _ ) ; pub const SQLITE_E_IOERR_SHMLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018569206i32 as _ ) ; pub const SQLITE_E_IOERR_SHMMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2018568950i32 as _ ) ; pub const SQLITE_E_IOERR_SHMOPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2018569718i32 as _ ) ; pub const SQLITE_E_IOERR_SHMSIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018569462i32 as _ ) ; pub const SQLITE_E_IOERR_SHORT_READ : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573814i32 as _ ) ; pub const SQLITE_E_IOERR_TRUNCATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572790i32 as _ ) ; pub const SQLITE_E_IOERR_UNLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572278i32 as _ ) ; pub const SQLITE_E_IOERR_VNODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018567678i32 as _ ) ; pub const SQLITE_E_IOERR_WRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573558i32 as _ ) ; pub const SQLITE_E_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574330i32 as _ ) ; pub const SQLITE_E_LOCKED_SHAREDCACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574074i32 as _ ) ; pub const SQLITE_E_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574316i32 as _ ) ; pub const SQLITE_E_MISUSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574315i32 as _ ) ; pub const SQLITE_E_NOLFS : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574314i32 as _ ) ; pub const SQLITE_E_NOMEM : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574329i32 as _ ) ; pub const SQLITE_E_NOTADB : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574310i32 as _ ) ; pub const SQLITE_E_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574324i32 as _ ) ; pub const SQLITE_E_NOTICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574309i32 as _ ) ; pub const SQLITE_E_NOTICE_RECOVER_ROLLBACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573797i32 as _ ) ; pub const SQLITE_E_NOTICE_RECOVER_WAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574053i32 as _ ) ; pub const SQLITE_E_PERM : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574333i32 as _ ) ; pub const SQLITE_E_PROTOCOL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574321i32 as _ ) ; pub const SQLITE_E_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574311i32 as _ ) ; pub const SQLITE_E_READONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574328i32 as _ ) ; pub const SQLITE_E_READONLY_CANTLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573816i32 as _ ) ; pub const SQLITE_E_READONLY_DBMOVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573304i32 as _ ) ; pub const SQLITE_E_READONLY_RECOVERY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574072i32 as _ ) ; pub const SQLITE_E_READONLY_ROLLBACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573560i32 as _ ) ; pub const SQLITE_E_ROW : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574236i32 as _ ) ; pub const SQLITE_E_SCHEMA : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574319i32 as _ ) ; pub const SQLITE_E_TOOBIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574318i32 as _ ) ; pub const SQLITE_E_WARNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574308i32 as _ ) ; pub const SQLITE_E_WARNING_AUTOINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574052i32 as _ ) ; pub const STATEREPOSITORY_ERROR_CACHE_CORRUPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733422i32 as _ ) ; pub const STATEREPOSITORY_ERROR_DICTIONARY_CORRUPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733435i32 as _ ) ; pub const STATEREPOSITORY_E_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733434i32 as _ ) ; pub const STATEREPOSITORY_E_BUSY_RECOVERY_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733432i32 as _ ) ; pub const STATEREPOSITORY_E_BUSY_RECOVERY_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733427i32 as _ ) ; pub const STATEREPOSITORY_E_BUSY_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733433i32 as _ ) ; pub const STATEREPOSITORY_E_BUSY_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733428i32 as _ ) ; pub const STATEREPOSITORY_E_CONCURRENCY_LOCKING_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733439i32 as _ ) ; pub const STATEREPOSITORY_E_CONFIGURATION_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733437i32 as _ ) ; pub const STATEREPOSITORY_E_LOCKED_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733431i32 as _ ) ; pub const STATEREPOSITORY_E_LOCKED_SHAREDCACHE_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733430i32 as _ ) ; pub const STATEREPOSITORY_E_LOCKED_SHAREDCACHE_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733425i32 as _ ) ; pub const STATEREPOSITORY_E_LOCKED_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733426i32 as _ ) ; pub const STATEREPOSITORY_E_SERVICE_STOP_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733424i32 as _ ) ; pub const STATEREPOSITORY_E_STATEMENT_INPROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733438i32 as _ ) ; pub const STATEREPOSITORY_E_TRANSACTION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733429i32 as _ ) ; pub const STATEREPOSITORY_E_UNKNOWN_SCHEMA_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733436i32 as _ ) ; pub const STATEREPOSITORY_TRANSACTION_CALLER_ID_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( 6750227i32 as _ ) ; pub const STATEREPOSITORY_TRANSACTION_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( 6750228i32 as _ ) ; pub const STATEREPOSTORY_E_NESTED_TRANSACTION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733423i32 as _ ) ; pub const STATUS_ABANDONED : NTSTATUS = NTSTATUS ( 128i32 as _ ) ; pub const STATUS_ABANDONED_WAIT_0 : NTSTATUS = NTSTATUS ( 128i32 as _ ) ; pub const STATUS_ABANDONED_WAIT_63 : NTSTATUS = NTSTATUS ( 191i32 as _ ) ; pub const STATUS_ABANDON_HIBERFILE : NTSTATUS = NTSTATUS ( 1073741875i32 as _ ) ; pub const STATUS_ABIOS_INVALID_COMMAND : NTSTATUS = NTSTATUS ( -1073741549i32 as _ ) ; pub const STATUS_ABIOS_INVALID_LID : NTSTATUS = NTSTATUS ( -1073741548i32 as _ ) ; pub const STATUS_ABIOS_INVALID_SELECTOR : NTSTATUS = NTSTATUS ( -1073741546i32 as _ ) ; pub const STATUS_ABIOS_LID_ALREADY_OWNED : NTSTATUS = NTSTATUS ( -1073741551i32 as _ ) ; pub const STATUS_ABIOS_LID_NOT_EXIST : NTSTATUS = NTSTATUS ( -1073741552i32 as _ ) ; pub const STATUS_ABIOS_NOT_LID_OWNER : NTSTATUS = NTSTATUS ( -1073741550i32 as _ ) ; pub const STATUS_ABIOS_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073741553i32 as _ ) ; pub const STATUS_ABIOS_SELECTOR_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073741547i32 as _ ) ; pub const STATUS_ACCESS_AUDIT_BY_POLICY : NTSTATUS = NTSTATUS ( 1073741874i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT : NTSTATUS = NTSTATUS ( -1073740959i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_BY_POLICY_OTHER : NTSTATUS = NTSTATUS ( -1073740956i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_BY_POLICY_PATH : NTSTATUS = NTSTATUS ( -1073740958i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER : NTSTATUS = NTSTATUS ( -1073740957i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY : NTSTATUS = NTSTATUS ( -1073740942i32 as _ ) ; pub const STATUS_ACCESS_VIOLATION : NTSTATUS = NTSTATUS ( -1073741819i32 as _ ) ; pub const STATUS_ACPI_ACQUIRE_GLOBAL_LOCK : NTSTATUS = NTSTATUS ( -1072431086i32 as _ ) ; pub const STATUS_ACPI_ADDRESS_NOT_MAPPED : NTSTATUS = NTSTATUS ( -1072431092i32 as _ ) ; pub const STATUS_ACPI_ALREADY_INITIALIZED : NTSTATUS = NTSTATUS ( -1072431085i32 as _ ) ; pub const STATUS_ACPI_ASSERT_FAILED : NTSTATUS = NTSTATUS ( -1072431101i32 as _ ) ; pub const STATUS_ACPI_FATAL : NTSTATUS = NTSTATUS ( -1072431098i32 as _ ) ; pub const STATUS_ACPI_HANDLER_COLLISION : NTSTATUS = NTSTATUS ( -1072431090i32 as _ ) ; pub const STATUS_ACPI_INCORRECT_ARGUMENT_COUNT : NTSTATUS = NTSTATUS ( -1072431093i32 as _ ) ; pub const STATUS_ACPI_INVALID_ACCESS_SIZE : NTSTATUS = NTSTATUS ( -1072431087i32 as _ ) ; pub const STATUS_ACPI_INVALID_ARGTYPE : NTSTATUS = NTSTATUS ( -1072431096i32 as _ ) ; pub const STATUS_ACPI_INVALID_ARGUMENT : NTSTATUS = NTSTATUS ( -1072431099i32 as _ ) ; pub const STATUS_ACPI_INVALID_DATA : NTSTATUS = NTSTATUS ( -1072431089i32 as _ ) ; pub const STATUS_ACPI_INVALID_EVENTTYPE : NTSTATUS = NTSTATUS ( -1072431091i32 as _ ) ; pub const STATUS_ACPI_INVALID_INDEX : NTSTATUS = NTSTATUS ( -1072431100i32 as _ ) ; pub const STATUS_ACPI_INVALID_MUTEX_LEVEL : NTSTATUS = NTSTATUS ( -1072431083i32 as _ ) ; pub const STATUS_ACPI_INVALID_OBJTYPE : NTSTATUS = NTSTATUS ( -1072431095i32 as _ ) ; pub const STATUS_ACPI_INVALID_OPCODE : NTSTATUS = NTSTATUS ( -1072431103i32 as _ ) ; pub const STATUS_ACPI_INVALID_REGION : NTSTATUS = NTSTATUS ( -1072431088i32 as _ ) ; pub const STATUS_ACPI_INVALID_SUPERNAME : NTSTATUS = NTSTATUS ( -1072431097i32 as _ ) ; pub const STATUS_ACPI_INVALID_TABLE : NTSTATUS = NTSTATUS ( -1072431079i32 as _ ) ; pub const STATUS_ACPI_INVALID_TARGETTYPE : NTSTATUS = NTSTATUS ( -1072431094i32 as _ ) ; pub const STATUS_ACPI_MUTEX_NOT_OWNED : NTSTATUS = NTSTATUS ( -1072431082i32 as _ ) ; pub const STATUS_ACPI_MUTEX_NOT_OWNER : NTSTATUS = NTSTATUS ( -1072431081i32 as _ ) ; pub const STATUS_ACPI_NOT_INITIALIZED : NTSTATUS = NTSTATUS ( -1072431084i32 as _ ) ; pub const STATUS_ACPI_POWER_REQUEST_FAILED : NTSTATUS = NTSTATUS ( -1072431071i32 as _ ) ; pub const STATUS_ACPI_REG_HANDLER_FAILED : NTSTATUS = NTSTATUS ( -1072431072i32 as _ ) ; pub const STATUS_ACPI_RS_ACCESS : NTSTATUS = NTSTATUS ( -1072431080i32 as _ ) ; pub const STATUS_ACPI_STACK_OVERFLOW : NTSTATUS = NTSTATUS ( -1072431102i32 as _ ) ; pub const STATUS_ADAPTER_HARDWARE_ERROR : NTSTATUS = NTSTATUS ( -1073741630i32 as _ ) ; pub const STATUS_ADDRESS_ALREADY_ASSOCIATED : NTSTATUS = NTSTATUS ( -1073741256i32 as _ ) ; pub const STATUS_ADDRESS_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1073741302i32 as _ ) ; pub const STATUS_ADDRESS_CLOSED : NTSTATUS = NTSTATUS ( -1073741301i32 as _ ) ; pub const STATUS_ADDRESS_NOT_ASSOCIATED : NTSTATUS = NTSTATUS ( -1073741255i32 as _ ) ; pub const STATUS_ADMINLESS_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073700348i32 as _ ) ; pub const STATUS_ADVANCED_INSTALLER_FAILED : NTSTATUS = NTSTATUS ( -1072365536i32 as _ ) ; pub const STATUS_AGENTS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073741691i32 as _ ) ; pub const STATUS_ALERTED : NTSTATUS = NTSTATUS ( 257i32 as _ ) ; pub const STATUS_ALIAS_EXISTS : NTSTATUS = NTSTATUS ( -1073741484i32 as _ ) ; pub const STATUS_ALLOCATE_BUCKET : NTSTATUS = NTSTATUS ( -1073741265i32 as _ ) ; pub const STATUS_ALLOTTED_SPACE_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741671i32 as _ ) ; pub const STATUS_ALL_SIDS_FILTERED : NTSTATUS = NTSTATUS ( -1073740962i32 as _ ) ; pub const STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073740798i32 as _ ) ; pub const STATUS_ALPC_CHECK_COMPLETION_LIST : NTSTATUS = NTSTATUS ( 1073741872i32 as _ ) ; pub const STATUS_ALREADY_COMMITTED : NTSTATUS = NTSTATUS ( -1073741791i32 as _ ) ; pub const STATUS_ALREADY_COMPLETE : NTSTATUS = NTSTATUS ( 255i32 as _ ) ; pub const STATUS_ALREADY_DISCONNECTED : NTSTATUS = NTSTATUS ( -2147483611i32 as _ ) ; pub const STATUS_ALREADY_HAS_STREAM_ID : NTSTATUS = NTSTATUS ( -1073740530i32 as _ ) ; pub const STATUS_ALREADY_INITIALIZED : NTSTATUS = NTSTATUS ( -1073740528i32 as _ ) ; pub const STATUS_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1073740008i32 as _ ) ; pub const STATUS_ALREADY_WIN32 : NTSTATUS = NTSTATUS ( 1073741851i32 as _ ) ; pub const STATUS_AMBIGUOUS_SYSTEM_DEVICE : NTSTATUS = NTSTATUS ( -1073740719i32 as _ ) ; pub const STATUS_APC_RETURNED_WHILE_IMPERSONATING : NTSTATUS = NTSTATUS ( -1073740015i32 as _ ) ; pub const STATUS_APISET_NOT_HOSTED : NTSTATUS = NTSTATUS ( -1073740671i32 as _ ) ; pub const STATUS_APISET_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073740670i32 as _ ) ; pub const STATUS_APPEXEC_CONDITION_NOT_SATISFIED : NTSTATUS = NTSTATUS ( -1058275328i32 as _ ) ; pub const STATUS_APPEXEC_HANDLE_INVALIDATED : NTSTATUS = NTSTATUS ( -1058275327i32 as _ ) ; pub const STATUS_APPEXEC_HOST_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1058275322i32 as _ ) ; pub const STATUS_APPEXEC_INVALID_HOST_GENERATION : NTSTATUS = NTSTATUS ( -1058275326i32 as _ ) ; pub const STATUS_APPEXEC_INVALID_HOST_STATE : NTSTATUS = NTSTATUS ( -1058275324i32 as _ ) ; pub const STATUS_APPEXEC_NO_DONOR : NTSTATUS = NTSTATUS ( -1058275323i32 as _ ) ; pub const STATUS_APPEXEC_UNEXPECTED_PROCESS_REGISTRATION : NTSTATUS = NTSTATUS ( -1058275325i32 as _ ) ; pub const STATUS_APPEXEC_UNKNOWN_USER : NTSTATUS = NTSTATUS ( -1058275321i32 as _ ) ; pub const STATUS_APPHELP_BLOCK : NTSTATUS = NTSTATUS ( -1073740963i32 as _ ) ; pub const STATUS_APPX_FILE_NOT_ENCRYPTED : NTSTATUS = NTSTATUS ( -1073740634i32 as _ ) ; pub const STATUS_APPX_INTEGRITY_FAILURE_CLR_NGEN : NTSTATUS = NTSTATUS ( -1073740673i32 as _ ) ; pub const STATUS_APP_DATA_CORRUPT : NTSTATUS = NTSTATUS ( -1073700221i32 as _ ) ; pub const STATUS_APP_DATA_EXPIRED : NTSTATUS = NTSTATUS ( -1073700222i32 as _ ) ; pub const STATUS_APP_DATA_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073700220i32 as _ ) ; pub const STATUS_APP_DATA_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073700223i32 as _ ) ; pub const STATUS_APP_DATA_REBOOT_REQUIRED : NTSTATUS = NTSTATUS ( -1073700219i32 as _ ) ; pub const STATUS_APP_INIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741499i32 as _ ) ; pub const STATUS_ARBITRATION_UNHANDLED : NTSTATUS = NTSTATUS ( 1073741862i32 as _ ) ; pub const STATUS_ARRAY_BOUNDS_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741684i32 as _ ) ; pub const STATUS_ASSERTION_FAILURE : NTSTATUS = NTSTATUS ( -1073740768i32 as _ ) ; pub const STATUS_ATTACHED_EXECUTABLE_MEMORY_WRITE : NTSTATUS = NTSTATUS ( -1073739995i32 as _ ) ; pub const STATUS_ATTRIBUTE_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073740532i32 as _ ) ; pub const STATUS_AUDIO_ENGINE_NODE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069285375i32 as _ ) ; pub const STATUS_AUDITING_DISABLED : NTSTATUS = NTSTATUS ( -1073740970i32 as _ ) ; pub const STATUS_AUDIT_FAILED : NTSTATUS = NTSTATUS ( -1073741244i32 as _ ) ; pub const STATUS_AUTHIP_FAILURE : NTSTATUS = NTSTATUS ( -1073700730i32 as _ ) ; pub const STATUS_AUTH_TAG_MISMATCH : NTSTATUS = NTSTATUS ( -1073700862i32 as _ ) ; pub const STATUS_BACKUP_CONTROLLER : NTSTATUS = NTSTATUS ( -1073741433i32 as _ ) ; pub const STATUS_BAD_BINDINGS : NTSTATUS = NTSTATUS ( -1073740965i32 as _ ) ; pub const STATUS_BAD_CLUSTERS : NTSTATUS = NTSTATUS ( -1073739771i32 as _ ) ; pub const STATUS_BAD_COMPRESSION_BUFFER : NTSTATUS = NTSTATUS ( -1073741246i32 as _ ) ; pub const STATUS_BAD_CURRENT_DIRECTORY : NTSTATUS = NTSTATUS ( 1073741831i32 as _ ) ; pub const STATUS_BAD_DATA : NTSTATUS = NTSTATUS ( -1073739509i32 as _ ) ; pub const STATUS_BAD_DESCRIPTOR_FORMAT : NTSTATUS = NTSTATUS ( -1073741593i32 as _ ) ; pub const STATUS_BAD_DEVICE_TYPE : NTSTATUS = NTSTATUS ( -1073741621i32 as _ ) ; pub const STATUS_BAD_DLL_ENTRYPOINT : NTSTATUS = NTSTATUS ( -1073741231i32 as _ ) ; pub const STATUS_BAD_FILE_TYPE : NTSTATUS = NTSTATUS ( -1073739517i32 as _ ) ; pub const STATUS_BAD_FUNCTION_TABLE : NTSTATUS = NTSTATUS ( -1073741569i32 as _ ) ; pub const STATUS_BAD_IMPERSONATION_LEVEL : NTSTATUS = NTSTATUS ( -1073741659i32 as _ ) ; pub const STATUS_BAD_INHERITANCE_ACL : NTSTATUS = NTSTATUS ( -1073741699i32 as _ ) ; pub const STATUS_BAD_INITIAL_PC : NTSTATUS = NTSTATUS ( -1073741814i32 as _ ) ; pub const STATUS_BAD_INITIAL_STACK : NTSTATUS = NTSTATUS ( -1073741815i32 as _ ) ; pub const STATUS_BAD_KEY : NTSTATUS = NTSTATUS ( -1073739510i32 as _ ) ; pub const STATUS_BAD_LOGON_SESSION_STATE : NTSTATUS = NTSTATUS ( -1073741564i32 as _ ) ; pub const STATUS_BAD_MASTER_BOOT_RECORD : NTSTATUS = NTSTATUS ( -1073741655i32 as _ ) ; pub const STATUS_BAD_MCFG_TABLE : NTSTATUS = NTSTATUS ( -1073739512i32 as _ ) ; pub const STATUS_BAD_NETWORK_NAME : NTSTATUS = NTSTATUS ( -1073741620i32 as _ ) ; pub const STATUS_BAD_NETWORK_PATH : NTSTATUS = NTSTATUS ( -1073741634i32 as _ ) ; pub const STATUS_BAD_REMOTE_ADAPTER : NTSTATUS = NTSTATUS ( -1073741627i32 as _ ) ; pub const STATUS_BAD_SERVICE_ENTRYPOINT : NTSTATUS = NTSTATUS ( -1073741230i32 as _ ) ; pub const STATUS_BAD_STACK : NTSTATUS = NTSTATUS ( -1073741784i32 as _ ) ; pub const STATUS_BAD_TOKEN_TYPE : NTSTATUS = NTSTATUS ( -1073741656i32 as _ ) ; pub const STATUS_BAD_VALIDATION_CLASS : NTSTATUS = NTSTATUS ( -1073741657i32 as _ ) ; pub const STATUS_BAD_WORKING_SET_LIMIT : NTSTATUS = NTSTATUS ( -1073741748i32 as _ ) ; pub const STATUS_BCD_NOT_ALL_ENTRIES_IMPORTED : NTSTATUS = NTSTATUS ( -2143748095i32 as _ ) ; pub const STATUS_BCD_NOT_ALL_ENTRIES_SYNCHRONIZED : NTSTATUS = NTSTATUS ( -2143748093i32 as _ ) ; pub const STATUS_BCD_TOO_MANY_ELEMENTS : NTSTATUS = NTSTATUS ( -1070006270i32 as _ ) ; pub const STATUS_BEGINNING_OF_MEDIA : NTSTATUS = NTSTATUS ( -2147483617i32 as _ ) ; pub const STATUS_BEYOND_VDL : NTSTATUS = NTSTATUS ( -1073740750i32 as _ ) ; pub const STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT : NTSTATUS = NTSTATUS ( -1073741458i32 as _ ) ; pub const STATUS_BIZRULES_NOT_ENABLED : NTSTATUS = NTSTATUS ( 1073741876i32 as _ ) ; pub const STATUS_BLOCKED_BY_PARENTAL_CONTROLS : NTSTATUS = NTSTATUS ( -1073740664i32 as _ ) ; pub const STATUS_BLOCK_TOO_MANY_REFERENCES : NTSTATUS = NTSTATUS ( -1073740660i32 as _ ) ; pub const STATUS_BREAKPOINT : NTSTATUS = NTSTATUS ( -2147483645i32 as _ ) ; pub const STATUS_BTH_ATT_ATTRIBUTE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069416438i32 as _ ) ; pub const STATUS_BTH_ATT_ATTRIBUTE_NOT_LONG : NTSTATUS = NTSTATUS ( -1069416437i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_AUTHENTICATION : NTSTATUS = NTSTATUS ( -1069416443i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_AUTHORIZATION : NTSTATUS = NTSTATUS ( -1069416440i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_ENCRYPTION : NTSTATUS = NTSTATUS ( -1069416433i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_ENCRYPTION_KEY_SIZE : NTSTATUS = NTSTATUS ( -1069416436i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_RESOURCES : NTSTATUS = NTSTATUS ( -1069416431i32 as _ ) ; pub const STATUS_BTH_ATT_INVALID_ATTRIBUTE_VALUE_LENGTH : NTSTATUS = NTSTATUS ( -1069416435i32 as _ ) ; pub const STATUS_BTH_ATT_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1069416447i32 as _ ) ; pub const STATUS_BTH_ATT_INVALID_OFFSET : NTSTATUS = NTSTATUS ( -1069416441i32 as _ ) ; pub const STATUS_BTH_ATT_INVALID_PDU : NTSTATUS = NTSTATUS ( -1069416444i32 as _ ) ; pub const STATUS_BTH_ATT_PREPARE_QUEUE_FULL : NTSTATUS = NTSTATUS ( -1069416439i32 as _ ) ; pub const STATUS_BTH_ATT_READ_NOT_PERMITTED : NTSTATUS = NTSTATUS ( -1069416446i32 as _ ) ; pub const STATUS_BTH_ATT_REQUEST_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1069416442i32 as _ ) ; pub const STATUS_BTH_ATT_UNKNOWN_ERROR : NTSTATUS = NTSTATUS ( -1069412352i32 as _ ) ; pub const STATUS_BTH_ATT_UNLIKELY : NTSTATUS = NTSTATUS ( -1069416434i32 as _ ) ; pub const STATUS_BTH_ATT_UNSUPPORTED_GROUP_TYPE : NTSTATUS = NTSTATUS ( -1069416432i32 as _ ) ; pub const STATUS_BTH_ATT_WRITE_NOT_PERMITTED : NTSTATUS = NTSTATUS ( -1069416445i32 as _ ) ; pub const STATUS_BUFFER_ALL_ZEROS : NTSTATUS = NTSTATUS ( 279i32 as _ ) ; pub const STATUS_BUFFER_OVERFLOW : NTSTATUS = NTSTATUS ( -2147483643i32 as _ ) ; pub const STATUS_BUFFER_TOO_SMALL : NTSTATUS = NTSTATUS ( -1073741789i32 as _ ) ; pub const STATUS_BUS_RESET : NTSTATUS = NTSTATUS ( -2147483619i32 as _ ) ; pub const STATUS_CACHE_PAGE_LOCKED : NTSTATUS = NTSTATUS ( 277i32 as _ ) ; pub const STATUS_CALLBACK_BYPASS : NTSTATUS = NTSTATUS ( -1073740541i32 as _ ) ; pub const STATUS_CALLBACK_INVOKE_INLINE : NTSTATUS = NTSTATUS ( -1073740661i32 as _ ) ; pub const STATUS_CALLBACK_POP_STACK : NTSTATUS = NTSTATUS ( -1073740765i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_LANG : NTSTATUS = NTSTATUS ( -1073740001i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_LDR_LOCK : NTSTATUS = NTSTATUS ( -1073740002i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_PRI_BACK : NTSTATUS = NTSTATUS ( -1073740000i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_THREAD_AFFINITY : NTSTATUS = NTSTATUS ( -1073739999i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_THREAD_PRIORITY : NTSTATUS = NTSTATUS ( -1073740005i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_TRANSACTION : NTSTATUS = NTSTATUS ( -1073740003i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING : NTSTATUS = NTSTATUS ( -1073740016i32 as _ ) ; pub const STATUS_CANCELLED : NTSTATUS = NTSTATUS ( -1073741536i32 as _ ) ; pub const STATUS_CANNOT_ABORT_TRANSACTIONS : NTSTATUS = NTSTATUS ( -1072103347i32 as _ ) ; pub const STATUS_CANNOT_ACCEPT_TRANSACTED_WORK : NTSTATUS = NTSTATUS ( -1072103348i32 as _ ) ; pub const STATUS_CANNOT_BREAK_OPLOCK : NTSTATUS = NTSTATUS ( -1073739511i32 as _ ) ; pub const STATUS_CANNOT_DELETE : NTSTATUS = NTSTATUS ( -1073741535i32 as _ ) ; pub const STATUS_CANNOT_EXECUTE_FILE_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103356i32 as _ ) ; pub const STATUS_CANNOT_GRANT_REQUESTED_OPLOCK : NTSTATUS = NTSTATUS ( -2147483602i32 as _ ) ; pub const STATUS_CANNOT_IMPERSONATE : NTSTATUS = NTSTATUS ( -1073741555i32 as _ ) ; pub const STATUS_CANNOT_LOAD_REGISTRY_FILE : NTSTATUS = NTSTATUS ( -1073741288i32 as _ ) ; pub const STATUS_CANNOT_MAKE : NTSTATUS = NTSTATUS ( -1073741078i32 as _ ) ; pub const STATUS_CANNOT_SWITCH_RUNLEVEL : NTSTATUS = NTSTATUS ( -1073700543i32 as _ ) ; pub const STATUS_CANT_ACCESS_DOMAIN_INFO : NTSTATUS = NTSTATUS ( -1073741606i32 as _ ) ; pub const STATUS_CANT_BREAK_TRANSACTIONAL_DEPENDENCY : NTSTATUS = NTSTATUS ( -1072103369i32 as _ ) ; pub const STATUS_CANT_CLEAR_ENCRYPTION_FLAG : NTSTATUS = NTSTATUS ( -1073740616i32 as _ ) ; pub const STATUS_CANT_CREATE_MORE_STREAM_MINIVERSIONS : NTSTATUS = NTSTATUS ( -1072103386i32 as _ ) ; pub const STATUS_CANT_CROSS_RM_BOUNDARY : NTSTATUS = NTSTATUS ( -1072103368i32 as _ ) ; pub const STATUS_CANT_DISABLE_MANDATORY : NTSTATUS = NTSTATUS ( -1073741731i32 as _ ) ; pub const STATUS_CANT_ENABLE_DENY_ONLY : NTSTATUS = NTSTATUS ( -1073741133i32 as _ ) ; pub const STATUS_CANT_OPEN_ANONYMOUS : NTSTATUS = NTSTATUS ( -1073741658i32 as _ ) ; pub const STATUS_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT : NTSTATUS = NTSTATUS ( -1072103387i32 as _ ) ; pub const STATUS_CANT_RECOVER_WITH_HANDLE_OPEN : NTSTATUS = NTSTATUS ( -2145845199i32 as _ ) ; pub const STATUS_CANT_TERMINATE_SELF : NTSTATUS = NTSTATUS ( -1073741605i32 as _ ) ; pub const STATUS_CANT_WAIT : NTSTATUS = NTSTATUS ( -1073741608i32 as _ ) ; pub const STATUS_CARDBUS_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( 1073741863i32 as _ ) ; pub const STATUS_CASE_DIFFERING_NAMES_IN_DIR : NTSTATUS = NTSTATUS ( -1073740621i32 as _ ) ; pub const STATUS_CASE_SENSITIVE_PATH : NTSTATUS = NTSTATUS ( -1073740614i32 as _ ) ; pub const STATUS_CC_NEEDS_CALLBACK_SECTION_DRAIN : NTSTATUS = NTSTATUS ( -1073700856i32 as _ ) ; pub const STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE : NTSTATUS = NTSTATUS ( -1073740012i32 as _ ) ; pub const STATUS_CHECKING_FILE_SYSTEM : NTSTATUS = NTSTATUS ( 1073741844i32 as _ ) ; pub const STATUS_CHECKOUT_REQUIRED : NTSTATUS = NTSTATUS ( -1073739518i32 as _ ) ; pub const STATUS_CHILD_MUST_BE_VOLATILE : NTSTATUS = NTSTATUS ( -1073741439i32 as _ ) ; pub const STATUS_CHILD_PROCESS_BLOCKED : NTSTATUS = NTSTATUS ( -1073740643i32 as _ ) ; pub const STATUS_CIMFS_IMAGE_CORRUPT : NTSTATUS = NTSTATUS ( -1073692671i32 as _ ) ; pub const STATUS_CLEANER_CARTRIDGE_INSTALLED : NTSTATUS = NTSTATUS ( -2147483609i32 as _ ) ; pub const STATUS_CLIENT_SERVER_PARAMETERS_INVALID : NTSTATUS = NTSTATUS ( -1073741277i32 as _ ) ; pub const STATUS_CLIP_DEVICE_LICENSE_MISSING : NTSTATUS = NTSTATUS ( -1058406397i32 as _ ) ; pub const STATUS_CLIP_KEYHOLDER_LICENSE_MISSING_OR_INVALID : NTSTATUS = NTSTATUS ( -1058406395i32 as _ ) ; pub const STATUS_CLIP_LICENSE_DEVICE_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1058406390i32 as _ ) ; pub const STATUS_CLIP_LICENSE_EXPIRED : NTSTATUS = NTSTATUS ( -1058406394i32 as _ ) ; pub const STATUS_CLIP_LICENSE_HARDWARE_ID_OUT_OF_TOLERANCE : NTSTATUS = NTSTATUS ( -1058406391i32 as _ ) ; pub const STATUS_CLIP_LICENSE_INVALID_SIGNATURE : NTSTATUS = NTSTATUS ( -1058406396i32 as _ ) ; pub const STATUS_CLIP_LICENSE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1058406398i32 as _ ) ; pub const STATUS_CLIP_LICENSE_NOT_SIGNED : NTSTATUS = NTSTATUS ( -1058406392i32 as _ ) ; pub const STATUS_CLIP_LICENSE_SIGNED_BY_UNKNOWN_SOURCE : NTSTATUS = NTSTATUS ( -1058406393i32 as _ ) ; pub const STATUS_CLOUD_FILE_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073688808i32 as _ ) ; pub const STATUS_CLOUD_FILE_ALREADY_CONNECTED : NTSTATUS = NTSTATUS ( -1073688823i32 as _ ) ; pub const STATUS_CLOUD_FILE_AUTHENTICATION_FAILED : NTSTATUS = NTSTATUS ( -1073688817i32 as _ ) ; pub const STATUS_CLOUD_FILE_CONNECTED_PROVIDER_ONLY : NTSTATUS = NTSTATUS ( -1073688819i32 as _ ) ; pub const STATUS_CLOUD_FILE_DEHYDRATION_DISALLOWED : NTSTATUS = NTSTATUS ( -1073688800i32 as _ ) ; pub const STATUS_CLOUD_FILE_INCOMPATIBLE_HARDLINKS : NTSTATUS = NTSTATUS ( -1073688807i32 as _ ) ; pub const STATUS_CLOUD_FILE_INSUFFICIENT_RESOURCES : NTSTATUS = NTSTATUS ( -1073688816i32 as _ ) ; pub const STATUS_CLOUD_FILE_INVALID_REQUEST : NTSTATUS = NTSTATUS ( -1073688821i32 as _ ) ; pub const STATUS_CLOUD_FILE_IN_USE : NTSTATUS = NTSTATUS ( -1073688812i32 as _ ) ; pub const STATUS_CLOUD_FILE_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1073688830i32 as _ ) ; pub const STATUS_CLOUD_FILE_METADATA_TOO_LARGE : NTSTATUS = NTSTATUS ( -1073688829i32 as _ ) ; pub const STATUS_CLOUD_FILE_NETWORK_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073688815i32 as _ ) ; pub const STATUS_CLOUD_FILE_NOT_IN_SYNC : NTSTATUS = NTSTATUS ( -1073688824i32 as _ ) ; pub const STATUS_CLOUD_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073688822i32 as _ ) ; pub const STATUS_CLOUD_FILE_NOT_UNDER_SYNC_ROOT : NTSTATUS = NTSTATUS ( -1073688813i32 as _ ) ; pub const STATUS_CLOUD_FILE_PINNED : NTSTATUS = NTSTATUS ( -1073688811i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_BLOB_CHECKSUM_MISMATCH : NTSTATUS = NTSTATUS ( -2147430656i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_BLOB_TOO_LARGE : NTSTATUS = NTSTATUS ( -2147430652i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_CORRUPT : NTSTATUS = NTSTATUS ( -1073688809i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_LOCK_CONFLICT : NTSTATUS = NTSTATUS ( -1073688806i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_VERSION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073688826i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROVIDER_NOT_RUNNING : NTSTATUS = NTSTATUS ( -1073688831i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROVIDER_TERMINATED : NTSTATUS = NTSTATUS ( -1073688803i32 as _ ) ; pub const STATUS_CLOUD_FILE_READ_ONLY_VOLUME : NTSTATUS = NTSTATUS ( -1073688820i32 as _ ) ; pub const STATUS_CLOUD_FILE_REQUEST_ABORTED : NTSTATUS = NTSTATUS ( -1073688810i32 as _ ) ; pub const STATUS_CLOUD_FILE_REQUEST_CANCELED : NTSTATUS = NTSTATUS ( -1073688805i32 as _ ) ; pub const STATUS_CLOUD_FILE_REQUEST_TIMEOUT : NTSTATUS = NTSTATUS ( -1073688801i32 as _ ) ; pub const STATUS_CLOUD_FILE_SYNC_ROOT_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1073688832i32 as _ ) ; pub const STATUS_CLOUD_FILE_TOO_MANY_PROPERTY_BLOBS : NTSTATUS = NTSTATUS ( -2147430651i32 as _ ) ; pub const STATUS_CLOUD_FILE_UNSUCCESSFUL : NTSTATUS = NTSTATUS ( -1073688814i32 as _ ) ; pub const STATUS_CLOUD_FILE_VALIDATION_FAILED : NTSTATUS = NTSTATUS ( -1073688818i32 as _ ) ; pub const STATUS_CLUSTER_CAM_TICKET_REPLAY_DETECTED : NTSTATUS = NTSTATUS ( -1072496591i32 as _ ) ; pub const STATUS_CLUSTER_CSV_AUTO_PAUSE_ERROR : NTSTATUS = NTSTATUS ( -1072496607i32 as _ ) ; pub const STATUS_CLUSTER_CSV_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1072496599i32 as _ ) ; pub const STATUS_CLUSTER_CSV_NOT_REDIRECTED : NTSTATUS = NTSTATUS ( -1072496605i32 as _ ) ; pub const STATUS_CLUSTER_CSV_NO_SNAPSHOTS : NTSTATUS = NTSTATUS ( -1072496601i32 as _ ) ; pub const STATUS_CLUSTER_CSV_READ_OPLOCK_BREAK_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072496608i32 as _ ) ; pub const STATUS_CLUSTER_CSV_REDIRECTED : NTSTATUS = NTSTATUS ( -1072496606i32 as _ ) ; pub const STATUS_CLUSTER_CSV_SNAPSHOT_CREATION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072496603i32 as _ ) ; pub const STATUS_CLUSTER_CSV_SUPPORTED_ONLY_ON_COORDINATOR : NTSTATUS = NTSTATUS ( -1072496592i32 as _ ) ; pub const STATUS_CLUSTER_CSV_VOLUME_DRAINING : NTSTATUS = NTSTATUS ( -1072496604i32 as _ ) ; pub const STATUS_CLUSTER_CSV_VOLUME_DRAINING_SUCCEEDED_DOWNLEVEL : NTSTATUS = NTSTATUS ( -1072496602i32 as _ ) ; pub const STATUS_CLUSTER_CSV_VOLUME_NOT_LOCAL : NTSTATUS = NTSTATUS ( -1072496615i32 as _ ) ; pub const STATUS_CLUSTER_INVALID_NETWORK : NTSTATUS = NTSTATUS ( -1072496624i32 as _ ) ; pub const STATUS_CLUSTER_INVALID_NETWORK_PROVIDER : NTSTATUS = NTSTATUS ( -1072496629i32 as _ ) ; pub const STATUS_CLUSTER_INVALID_NODE : NTSTATUS = NTSTATUS ( -1072496639i32 as _ ) ; pub const STATUS_CLUSTER_INVALID_REQUEST : NTSTATUS = NTSTATUS ( -1072496630i32 as _ ) ; pub const STATUS_CLUSTER_JOIN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072496637i32 as _ ) ; pub const STATUS_CLUSTER_JOIN_NOT_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072496625i32 as _ ) ; pub const STATUS_CLUSTER_LOCAL_NODE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072496635i32 as _ ) ; pub const STATUS_CLUSTER_NETINTERFACE_EXISTS : NTSTATUS = NTSTATUS ( -1072496632i32 as _ ) ; pub const STATUS_CLUSTER_NETINTERFACE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072496631i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE : NTSTATUS = NTSTATUS ( -2146238460i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_ALREADY_ONLINE : NTSTATUS = NTSTATUS ( -2146238461i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_EXISTS : NTSTATUS = NTSTATUS ( -1072496634i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072496633i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_NOT_INTERNAL : NTSTATUS = NTSTATUS ( -1072496618i32 as _ ) ; pub const STATUS_CLUSTER_NODE_ALREADY_DOWN : NTSTATUS = NTSTATUS ( -2146238462i32 as _ ) ; pub const STATUS_CLUSTER_NODE_ALREADY_MEMBER : NTSTATUS = NTSTATUS ( -2146238459i32 as _ ) ; pub const STATUS_CLUSTER_NODE_ALREADY_UP : NTSTATUS = NTSTATUS ( -2146238463i32 as _ ) ; pub const STATUS_CLUSTER_NODE_DOWN : NTSTATUS = NTSTATUS ( -1072496628i32 as _ ) ; pub const STATUS_CLUSTER_NODE_EXISTS : NTSTATUS = NTSTATUS ( -1072496638i32 as _ ) ; pub const STATUS_CLUSTER_NODE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072496636i32 as _ ) ; pub const STATUS_CLUSTER_NODE_NOT_MEMBER : NTSTATUS = NTSTATUS ( -1072496626i32 as _ ) ; pub const STATUS_CLUSTER_NODE_NOT_PAUSED : NTSTATUS = NTSTATUS ( -1072496620i32 as _ ) ; pub const STATUS_CLUSTER_NODE_PAUSED : NTSTATUS = NTSTATUS ( -1072496621i32 as _ ) ; pub const STATUS_CLUSTER_NODE_UNREACHABLE : NTSTATUS = NTSTATUS ( -1072496627i32 as _ ) ; pub const STATUS_CLUSTER_NODE_UP : NTSTATUS = NTSTATUS ( -1072496622i32 as _ ) ; pub const STATUS_CLUSTER_NON_CSV_PATH : NTSTATUS = NTSTATUS ( -1072496616i32 as _ ) ; pub const STATUS_CLUSTER_NO_NET_ADAPTERS : NTSTATUS = NTSTATUS ( -1072496623i32 as _ ) ; pub const STATUS_CLUSTER_NO_SECURITY_CONTEXT : NTSTATUS = NTSTATUS ( -1072496619i32 as _ ) ; pub const STATUS_CLUSTER_POISONED : NTSTATUS = NTSTATUS ( -1072496617i32 as _ ) ; pub const STATUS_COMMITMENT_LIMIT : NTSTATUS = NTSTATUS ( -1073741523i32 as _ ) ; pub const STATUS_COMMITMENT_MINIMUM : NTSTATUS = NTSTATUS ( -1073741112i32 as _ ) ; pub const STATUS_COMPRESSED_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740677i32 as _ ) ; pub const STATUS_COMPRESSION_DISABLED : NTSTATUS = NTSTATUS ( -1073740762i32 as _ ) ; pub const STATUS_COMPRESSION_NOT_ALLOWED_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103338i32 as _ ) ; pub const STATUS_COMPRESSION_NOT_BENEFICIAL : NTSTATUS = NTSTATUS ( -1073740689i32 as _ ) ; pub const STATUS_CONFLICTING_ADDRESSES : NTSTATUS = NTSTATUS ( -1073741800i32 as _ ) ; pub const STATUS_CONNECTION_ABORTED : NTSTATUS = NTSTATUS ( -1073741247i32 as _ ) ; pub const STATUS_CONNECTION_ACTIVE : NTSTATUS = NTSTATUS ( -1073741253i32 as _ ) ; pub const STATUS_CONNECTION_COUNT_LIMIT : NTSTATUS = NTSTATUS ( -1073741242i32 as _ ) ; pub const STATUS_CONNECTION_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073741300i32 as _ ) ; pub const STATUS_CONNECTION_INVALID : NTSTATUS = NTSTATUS ( -1073741254i32 as _ ) ; pub const STATUS_CONNECTION_IN_USE : NTSTATUS = NTSTATUS ( -1073741560i32 as _ ) ; pub const STATUS_CONNECTION_REFUSED : NTSTATUS = NTSTATUS ( -1073741258i32 as _ ) ; pub const STATUS_CONNECTION_RESET : NTSTATUS = NTSTATUS ( -1073741299i32 as _ ) ; pub const STATUS_CONTAINER_ASSIGNED : NTSTATUS = NTSTATUS ( -1073740536i32 as _ ) ; pub const STATUS_CONTENT_BLOCKED : NTSTATUS = NTSTATUS ( -1073739772i32 as _ ) ; pub const STATUS_CONTEXT_MISMATCH : NTSTATUS = NTSTATUS ( -1073740007i32 as _ ) ; pub const STATUS_CONTEXT_STOWED_EXCEPTION : NTSTATUS = NTSTATUS ( -1073741188i32 as _ ) ; pub const STATUS_CONTROL_C_EXIT : NTSTATUS = NTSTATUS ( -1073741510i32 as _ ) ; pub const STATUS_CONTROL_STACK_VIOLATION : NTSTATUS = NTSTATUS ( -1073741390i32 as _ ) ; pub const STATUS_CONVERT_TO_LARGE : NTSTATUS = NTSTATUS ( -1073741268i32 as _ ) ; pub const STATUS_COPY_PROTECTION_FAILURE : NTSTATUS = NTSTATUS ( -1073741051i32 as _ ) ; pub const STATUS_CORRUPT_LOG_CLEARED : NTSTATUS = NTSTATUS ( -1073739763i32 as _ ) ; pub const STATUS_CORRUPT_LOG_CORRUPTED : NTSTATUS = NTSTATUS ( -1073739766i32 as _ ) ; pub const STATUS_CORRUPT_LOG_DELETED_FULL : NTSTATUS = NTSTATUS ( -1073739764i32 as _ ) ; pub const STATUS_CORRUPT_LOG_OVERFULL : NTSTATUS = NTSTATUS ( -1073739767i32 as _ ) ; pub const STATUS_CORRUPT_LOG_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073739765i32 as _ ) ; pub const STATUS_CORRUPT_LOG_UPLEVEL_RECORDS : NTSTATUS = NTSTATUS ( -1073739759i32 as _ ) ; pub const STATUS_CORRUPT_SYSTEM_FILE : NTSTATUS = NTSTATUS ( -1073741116i32 as _ ) ; pub const STATUS_COULD_NOT_INTERPRET : NTSTATUS = NTSTATUS ( -1073741639i32 as _ ) ; pub const STATUS_COULD_NOT_RESIZE_LOG : NTSTATUS = NTSTATUS ( -2145845239i32 as _ ) ; pub const STATUS_CPU_SET_INVALID : NTSTATUS = NTSTATUS ( -1073741393i32 as _ ) ; pub const STATUS_CRASH_DUMP : NTSTATUS = NTSTATUS ( 278i32 as _ ) ; pub const STATUS_CRC_ERROR : NTSTATUS = NTSTATUS ( -1073741761i32 as _ ) ; pub const STATUS_CRED_REQUIRES_CONFIRMATION : NTSTATUS = NTSTATUS ( -1073740736i32 as _ ) ; pub const STATUS_CRM_PROTOCOL_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1072103409i32 as _ ) ; pub const STATUS_CRM_PROTOCOL_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103407i32 as _ ) ; pub const STATUS_CROSSREALM_DELEGATION_FAILURE : NTSTATUS = NTSTATUS ( -1073740789i32 as _ ) ; pub const STATUS_CROSS_PARTITION_VIOLATION : NTSTATUS = NTSTATUS ( -1073740277i32 as _ ) ; pub const STATUS_CRYPTO_SYSTEM_INVALID : NTSTATUS = NTSTATUS ( -1073741069i32 as _ ) ; pub const STATUS_CSS_AUTHENTICATION_FAILURE : NTSTATUS = NTSTATUS ( -1073741050i32 as _ ) ; pub const STATUS_CSS_KEY_NOT_ESTABLISHED : NTSTATUS = NTSTATUS ( -1073741048i32 as _ ) ; pub const STATUS_CSS_KEY_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073741049i32 as _ ) ; pub const STATUS_CSS_REGION_MISMATCH : NTSTATUS = NTSTATUS ( -1073741046i32 as _ ) ; pub const STATUS_CSS_RESETS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073741045i32 as _ ) ; pub const STATUS_CSS_SCRAMBLED_SECTOR : NTSTATUS = NTSTATUS ( -1073741047i32 as _ ) ; pub const STATUS_CSV_IO_PAUSE_TIMEOUT : NTSTATUS = NTSTATUS ( -1072496600i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE : NTSTATUS = NTSTATUS ( -1073740733i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_FILE_NOT_CSE : NTSTATUS = NTSTATUS ( -1073740731i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE : NTSTATUS = NTSTATUS ( -1073740735i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE : NTSTATUS = NTSTATUS ( -1073740732i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER : NTSTATUS = NTSTATUS ( -1073740734i32 as _ ) ; pub const STATUS_CTLOG_INCONSISTENT_TRACKING_FILE : NTSTATUS = NTSTATUS ( -1069940700i32 as _ ) ; pub const STATUS_CTLOG_INVALID_TRACKING_STATE : NTSTATUS = NTSTATUS ( -1069940701i32 as _ ) ; pub const STATUS_CTLOG_LOGFILE_SIZE_EXCEEDED_MAXSIZE : NTSTATUS = NTSTATUS ( -1069940703i32 as _ ) ; pub const STATUS_CTLOG_TRACKING_NOT_INITIALIZED : NTSTATUS = NTSTATUS ( -1069940704i32 as _ ) ; pub const STATUS_CTLOG_VHD_CHANGED_OFFLINE : NTSTATUS = NTSTATUS ( -1069940702i32 as _ ) ; pub const STATUS_CTL_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741737i32 as _ ) ; pub const STATUS_CTX_BAD_VIDEO_MODE : NTSTATUS = NTSTATUS ( -1073086440i32 as _ ) ; pub const STATUS_CTX_CDM_CONNECT : NTSTATUS = NTSTATUS ( 1074397188i32 as _ ) ; pub const STATUS_CTX_CDM_DISCONNECT : NTSTATUS = NTSTATUS ( 1074397189i32 as _ ) ; pub const STATUS_CTX_CLIENT_LICENSE_IN_USE : NTSTATUS = NTSTATUS ( -1073086412i32 as _ ) ; pub const STATUS_CTX_CLIENT_LICENSE_NOT_SET : NTSTATUS = NTSTATUS ( -1073086413i32 as _ ) ; pub const STATUS_CTX_CLIENT_QUERY_TIMEOUT : NTSTATUS = NTSTATUS ( -1073086426i32 as _ ) ; pub const STATUS_CTX_CLOSE_PENDING : NTSTATUS = NTSTATUS ( -1073086458i32 as _ ) ; pub const STATUS_CTX_CONSOLE_CONNECT : NTSTATUS = NTSTATUS ( -1073086424i32 as _ ) ; pub const STATUS_CTX_CONSOLE_DISCONNECT : NTSTATUS = NTSTATUS ( -1073086425i32 as _ ) ; pub const STATUS_CTX_GRAPHICS_INVALID : NTSTATUS = NTSTATUS ( -1073086430i32 as _ ) ; pub const STATUS_CTX_INVALID_MODEMNAME : NTSTATUS = NTSTATUS ( -1073086455i32 as _ ) ; pub const STATUS_CTX_INVALID_PD : NTSTATUS = NTSTATUS ( -1073086462i32 as _ ) ; pub const STATUS_CTX_INVALID_WD : NTSTATUS = NTSTATUS ( -1073086418i32 as _ ) ; pub const STATUS_CTX_LICENSE_CLIENT_INVALID : NTSTATUS = NTSTATUS ( -1073086446i32 as _ ) ; pub const STATUS_CTX_LICENSE_EXPIRED : NTSTATUS = NTSTATUS ( -1073086444i32 as _ ) ; pub const STATUS_CTX_LICENSE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073086445i32 as _ ) ; pub const STATUS_CTX_LOGON_DISABLED : NTSTATUS = NTSTATUS ( -1073086409i32 as _ ) ; pub const STATUS_CTX_MODEM_INF_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073086456i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_BUSY : NTSTATUS = NTSTATUS ( -1073086450i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_NO_CARRIER : NTSTATUS = NTSTATUS ( -1073086452i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE : NTSTATUS = NTSTATUS ( -1073086451i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_TIMEOUT : NTSTATUS = NTSTATUS ( -1073086453i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_VOICE : NTSTATUS = NTSTATUS ( -1073086449i32 as _ ) ; pub const STATUS_CTX_NOT_CONSOLE : NTSTATUS = NTSTATUS ( -1073086428i32 as _ ) ; pub const STATUS_CTX_NO_OUTBUF : NTSTATUS = NTSTATUS ( -1073086457i32 as _ ) ; pub const STATUS_CTX_PD_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073086461i32 as _ ) ; pub const STATUS_CTX_RESPONSE_ERROR : NTSTATUS = NTSTATUS ( -1073086454i32 as _ ) ; pub const STATUS_CTX_SECURITY_LAYER_ERROR : NTSTATUS = NTSTATUS ( -1073086408i32 as _ ) ; pub const STATUS_CTX_SHADOW_DENIED : NTSTATUS = NTSTATUS ( -1073086422i32 as _ ) ; pub const STATUS_CTX_SHADOW_DISABLED : NTSTATUS = NTSTATUS ( -1073086415i32 as _ ) ; pub const STATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE : NTSTATUS = NTSTATUS ( -1073086411i32 as _ ) ; pub const STATUS_CTX_SHADOW_INVALID : NTSTATUS = NTSTATUS ( -1073086416i32 as _ ) ; pub const STATUS_CTX_SHADOW_NOT_RUNNING : NTSTATUS = NTSTATUS ( -1073086410i32 as _ ) ; pub const STATUS_CTX_TD_ERROR : NTSTATUS = NTSTATUS ( -1073086448i32 as _ ) ; pub const STATUS_CTX_WD_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073086417i32 as _ ) ; pub const STATUS_CTX_WINSTATION_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073086421i32 as _ ) ; pub const STATUS_CTX_WINSTATION_BUSY : NTSTATUS = NTSTATUS ( -1073086441i32 as _ ) ; pub const STATUS_CTX_WINSTATION_NAME_COLLISION : NTSTATUS = NTSTATUS ( -1073086442i32 as _ ) ; pub const STATUS_CTX_WINSTATION_NAME_INVALID : NTSTATUS = NTSTATUS ( -1073086463i32 as _ ) ; pub const STATUS_CTX_WINSTATION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073086443i32 as _ ) ; pub const STATUS_CURRENT_DOMAIN_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1073741079i32 as _ ) ; pub const STATUS_CURRENT_TRANSACTION_NOT_VALID : NTSTATUS = NTSTATUS ( -1072103400i32 as _ ) ; pub const STATUS_DATATYPE_MISALIGNMENT : NTSTATUS = NTSTATUS ( -2147483646i32 as _ ) ; pub const STATUS_DATATYPE_MISALIGNMENT_ERROR : NTSTATUS = NTSTATUS ( -1073741115i32 as _ ) ; pub const STATUS_DATA_CHECKSUM_ERROR : NTSTATUS = NTSTATUS ( -1073740688i32 as _ ) ; pub const STATUS_DATA_ERROR : NTSTATUS = NTSTATUS ( -1073741762i32 as _ ) ; pub const STATUS_DATA_LATE_ERROR : NTSTATUS = NTSTATUS ( -1073741763i32 as _ ) ; pub const STATUS_DATA_LOST_REPAIR : NTSTATUS = NTSTATUS ( -2147481597i32 as _ ) ; pub const STATUS_DATA_NOT_ACCEPTED : NTSTATUS = NTSTATUS ( -1073741285i32 as _ ) ; pub const STATUS_DATA_OVERRUN : NTSTATUS = NTSTATUS ( -1073741764i32 as _ ) ; pub const STATUS_DATA_OVERWRITTEN : NTSTATUS = NTSTATUS ( 304i32 as _ ) ; pub const STATUS_DAX_MAPPING_EXISTS : NTSTATUS = NTSTATUS ( -1073740644i32 as _ ) ; pub const STATUS_DEBUGGER_INACTIVE : NTSTATUS = NTSTATUS ( -1073740972i32 as _ ) ; pub const STATUS_DEBUG_ATTACH_FAILED : NTSTATUS = NTSTATUS ( -1073741287i32 as _ ) ; pub const STATUS_DECRYPTION_FAILED : NTSTATUS = NTSTATUS ( -1073741173i32 as _ ) ; pub const STATUS_DELAY_LOAD_FAILED : NTSTATUS = NTSTATUS ( -1073740782i32 as _ ) ; pub const STATUS_DELETE_PENDING : NTSTATUS = NTSTATUS ( -1073741738i32 as _ ) ; pub const STATUS_DESTINATION_ELEMENT_FULL : NTSTATUS = NTSTATUS ( -1073741180i32 as _ ) ; pub const STATUS_DEVICE_ALREADY_ATTACHED : NTSTATUS = NTSTATUS ( -1073741768i32 as _ ) ; pub const STATUS_DEVICE_BUSY : NTSTATUS = NTSTATUS ( -2147483631i32 as _ ) ; pub const STATUS_DEVICE_CONFIGURATION_ERROR : NTSTATUS = NTSTATUS ( -1073741438i32 as _ ) ; pub const STATUS_DEVICE_DATA_ERROR : NTSTATUS = NTSTATUS ( -1073741668i32 as _ ) ; pub const STATUS_DEVICE_DOES_NOT_EXIST : NTSTATUS = NTSTATUS ( -1073741632i32 as _ ) ; pub const STATUS_DEVICE_DOOR_OPEN : NTSTATUS = NTSTATUS ( -2147482999i32 as _ ) ; pub const STATUS_DEVICE_ENUMERATION_ERROR : NTSTATUS = NTSTATUS ( -1073740954i32 as _ ) ; pub const STATUS_DEVICE_FEATURE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740701i32 as _ ) ; pub const STATUS_DEVICE_HARDWARE_ERROR : NTSTATUS = NTSTATUS ( -1073740669i32 as _ ) ; pub const STATUS_DEVICE_HINT_NAME_BUFFER_TOO_SMALL : NTSTATUS = NTSTATUS ( -1073740650i32 as _ ) ; pub const STATUS_DEVICE_HUNG : NTSTATUS = NTSTATUS ( -1073740537i32 as _ ) ; pub const STATUS_DEVICE_INSUFFICIENT_RESOURCES : NTSTATUS = NTSTATUS ( -1073740696i32 as _ ) ; pub const STATUS_DEVICE_IN_MAINTENANCE : NTSTATUS = NTSTATUS ( -1073740647i32 as _ ) ; pub const STATUS_DEVICE_NOT_CONNECTED : NTSTATUS = NTSTATUS ( -1073741667i32 as _ ) ; pub const STATUS_DEVICE_NOT_PARTITIONED : NTSTATUS = NTSTATUS ( -1073741452i32 as _ ) ; pub const STATUS_DEVICE_NOT_READY : NTSTATUS = NTSTATUS ( -1073741661i32 as _ ) ; pub const STATUS_DEVICE_OFF_LINE : NTSTATUS = NTSTATUS ( -2147483632i32 as _ ) ; pub const STATUS_DEVICE_PAPER_EMPTY : NTSTATUS = NTSTATUS ( -2147483634i32 as _ ) ; pub const STATUS_DEVICE_POWERED_OFF : NTSTATUS = NTSTATUS ( -2147483633i32 as _ ) ; pub const STATUS_DEVICE_POWER_CYCLE_REQUIRED : NTSTATUS = NTSTATUS ( -2147483599i32 as _ ) ; pub const STATUS_DEVICE_POWER_FAILURE : NTSTATUS = NTSTATUS ( -1073741666i32 as _ ) ; pub const STATUS_DEVICE_PROTOCOL_ERROR : NTSTATUS = NTSTATUS ( -1073741434i32 as _ ) ; pub const STATUS_DEVICE_REMOVED : NTSTATUS = NTSTATUS ( -1073741130i32 as _ ) ; pub const STATUS_DEVICE_REQUIRES_CLEANING : NTSTATUS = NTSTATUS ( -2147483000i32 as _ ) ; pub const STATUS_DEVICE_SUPPORT_IN_PROGRESS : NTSTATUS = NTSTATUS ( -2147483600i32 as _ ) ; pub const STATUS_DEVICE_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073740700i32 as _ ) ; pub const STATUS_DEVICE_UNRESPONSIVE : NTSTATUS = NTSTATUS ( -1073740534i32 as _ ) ; pub const STATUS_DFS_EXIT_PATH_FOUND : NTSTATUS = NTSTATUS ( -1073741669i32 as _ ) ; pub const STATUS_DFS_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073741203i32 as _ ) ; pub const STATUS_DIRECTORY_IS_A_REPARSE_POINT : NTSTATUS = NTSTATUS ( -1073741183i32 as _ ) ; pub const STATUS_DIRECTORY_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1073741567i32 as _ ) ; pub const STATUS_DIRECTORY_NOT_RM : NTSTATUS = NTSTATUS ( -1072103416i32 as _ ) ; pub const STATUS_DIRECTORY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740676i32 as _ ) ; pub const STATUS_DIRECTORY_SERVICE_REQUIRED : NTSTATUS = NTSTATUS ( -1073741135i32 as _ ) ; pub const STATUS_DISK_CORRUPT_ERROR : NTSTATUS = NTSTATUS ( -1073741774i32 as _ ) ; pub const STATUS_DISK_FULL : NTSTATUS = NTSTATUS ( -1073741697i32 as _ ) ; pub const STATUS_DISK_OPERATION_FAILED : NTSTATUS = NTSTATUS ( -1073741462i32 as _ ) ; pub const STATUS_DISK_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073739774i32 as _ ) ; pub const STATUS_DISK_RECALIBRATE_FAILED : NTSTATUS = NTSTATUS ( -1073741463i32 as _ ) ; pub const STATUS_DISK_REPAIR_DISABLED : NTSTATUS = NTSTATUS ( -1073739776i32 as _ ) ; pub const STATUS_DISK_REPAIR_REDIRECTED : NTSTATUS = NTSTATUS ( 1073743879i32 as _ ) ; pub const STATUS_DISK_REPAIR_UNSUCCESSFUL : NTSTATUS = NTSTATUS ( -1073739768i32 as _ ) ; pub const STATUS_DISK_RESET_FAILED : NTSTATUS = NTSTATUS ( -1073741461i32 as _ ) ; pub const STATUS_DISK_RESOURCES_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073740703i32 as _ ) ; pub const STATUS_DLL_INIT_FAILED : NTSTATUS = NTSTATUS ( -1073741502i32 as _ ) ; pub const STATUS_DLL_INIT_FAILED_LOGOFF : NTSTATUS = NTSTATUS ( -1073741205i32 as _ ) ; pub const STATUS_DLL_MIGHT_BE_INCOMPATIBLE : NTSTATUS = NTSTATUS ( -2147483604i32 as _ ) ; pub const STATUS_DLL_MIGHT_BE_INSECURE : NTSTATUS = NTSTATUS ( -2147483605i32 as _ ) ; pub const STATUS_DLL_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741515i32 as _ ) ; pub const STATUS_DOMAIN_CONTROLLER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741261i32 as _ ) ; pub const STATUS_DOMAIN_CTRLR_CONFIG_ERROR : NTSTATUS = NTSTATUS ( -1073741474i32 as _ ) ; pub const STATUS_DOMAIN_EXISTS : NTSTATUS = NTSTATUS ( -1073741600i32 as _ ) ; pub const STATUS_DOMAIN_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741599i32 as _ ) ; pub const STATUS_DOMAIN_TRUST_INCONSISTENT : NTSTATUS = NTSTATUS ( -1073741413i32 as _ ) ; pub const STATUS_DRIVERS_LEAKING_LOCKED_PAGES : NTSTATUS = NTSTATUS ( 1073741869i32 as _ ) ; pub const STATUS_DRIVER_BLOCKED : NTSTATUS = NTSTATUS ( -1073740948i32 as _ ) ; pub const STATUS_DRIVER_BLOCKED_CRITICAL : NTSTATUS = NTSTATUS ( -1073740949i32 as _ ) ; pub const STATUS_DRIVER_CANCEL_TIMEOUT : NTSTATUS = NTSTATUS ( -1073741282i32 as _ ) ; pub const STATUS_DRIVER_DATABASE_ERROR : NTSTATUS = NTSTATUS ( -1073740947i32 as _ ) ; pub const STATUS_DRIVER_ENTRYPOINT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741213i32 as _ ) ; pub const STATUS_DRIVER_FAILED_PRIOR_UNLOAD : NTSTATUS = NTSTATUS ( -1073740914i32 as _ ) ; pub const STATUS_DRIVER_FAILED_SLEEP : NTSTATUS = NTSTATUS ( -1073741118i32 as _ ) ; pub const STATUS_DRIVER_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1073741437i32 as _ ) ; pub const STATUS_DRIVER_ORDINAL_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741214i32 as _ ) ; pub const STATUS_DRIVER_PROCESS_TERMINATED : NTSTATUS = NTSTATUS ( -1073740720i32 as _ ) ; pub const STATUS_DRIVER_UNABLE_TO_LOAD : NTSTATUS = NTSTATUS ( -1073741204i32 as _ ) ; pub const STATUS_DS_ADMIN_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741119i32 as _ ) ; pub const STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER : NTSTATUS = NTSTATUS ( -1073740968i32 as _ ) ; pub const STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS : NTSTATUS = NTSTATUS ( -1073741148i32 as _ ) ; pub const STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED : NTSTATUS = NTSTATUS ( -1073741149i32 as _ ) ; pub const STATUS_DS_BUSY : NTSTATUS = NTSTATUS ( -1073741147i32 as _ ) ; pub const STATUS_DS_CANT_MOD_OBJ_CLASS : NTSTATUS = NTSTATUS ( -1073741138i32 as _ ) ; pub const STATUS_DS_CANT_MOD_PRIMARYGROUPID : NTSTATUS = NTSTATUS ( -1073741104i32 as _ ) ; pub const STATUS_DS_CANT_ON_NON_LEAF : NTSTATUS = NTSTATUS ( -1073741140i32 as _ ) ; pub const STATUS_DS_CANT_ON_RDN : NTSTATUS = NTSTATUS ( -1073741139i32 as _ ) ; pub const STATUS_DS_CANT_START : NTSTATUS = NTSTATUS ( -1073741087i32 as _ ) ; pub const STATUS_DS_CROSS_DOM_MOVE_FAILED : NTSTATUS = NTSTATUS ( -1073741137i32 as _ ) ; pub const STATUS_DS_DOMAIN_NAME_EXISTS_IN_FOREST : NTSTATUS = NTSTATUS ( -1073740774i32 as _ ) ; pub const STATUS_DS_DOMAIN_RENAME_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073739775i32 as _ ) ; pub const STATUS_DS_DUPLICATE_ID_FOUND : NTSTATUS = NTSTATUS ( -1073740795i32 as _ ) ; pub const STATUS_DS_FLAT_NAME_EXISTS_IN_FOREST : NTSTATUS = NTSTATUS ( -1073740773i32 as _ ) ; pub const STATUS_DS_GC_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073741136i32 as _ ) ; pub const STATUS_DS_GC_REQUIRED : NTSTATUS = NTSTATUS ( -1073741084i32 as _ ) ; pub const STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER : NTSTATUS = NTSTATUS ( -1073741094i32 as _ ) ; pub const STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER : NTSTATUS = NTSTATUS ( -1073741097i32 as _ ) ; pub const STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER : NTSTATUS = NTSTATUS ( -1073741096i32 as _ ) ; pub const STATUS_DS_GROUP_CONVERSION_ERROR : NTSTATUS = NTSTATUS ( -1073740794i32 as _ ) ; pub const STATUS_DS_HAVE_PRIMARY_MEMBERS : NTSTATUS = NTSTATUS ( -1073741092i32 as _ ) ; pub const STATUS_DS_INCORRECT_ROLE_OWNER : NTSTATUS = NTSTATUS ( -1073741143i32 as _ ) ; pub const STATUS_DS_INIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741086i32 as _ ) ; pub const STATUS_DS_INIT_FAILURE_CONSOLE : NTSTATUS = NTSTATUS ( -1073741076i32 as _ ) ; pub const STATUS_DS_INVALID_ATTRIBUTE_SYNTAX : NTSTATUS = NTSTATUS ( -1073741150i32 as _ ) ; pub const STATUS_DS_INVALID_GROUP_TYPE : NTSTATUS = NTSTATUS ( -1073741100i32 as _ ) ; pub const STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER : NTSTATUS = NTSTATUS ( -1073741093i32 as _ ) ; pub const STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY : NTSTATUS = NTSTATUS ( -1073741083i32 as _ ) ; pub const STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741081i32 as _ ) ; pub const STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY : NTSTATUS = NTSTATUS ( 289i32 as _ ) ; pub const STATUS_DS_NAME_NOT_UNIQUE : NTSTATUS = NTSTATUS ( -1073740796i32 as _ ) ; pub const STATUS_DS_NO_ATTRIBUTE_OR_VALUE : NTSTATUS = NTSTATUS ( -1073741151i32 as _ ) ; pub const STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS : NTSTATUS = NTSTATUS ( -1073741082i32 as _ ) ; pub const STATUS_DS_NO_MORE_RIDS : NTSTATUS = NTSTATUS ( -1073741144i32 as _ ) ; pub const STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN : NTSTATUS = NTSTATUS ( -1073741099i32 as _ ) ; pub const STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN : NTSTATUS = NTSTATUS ( -1073741098i32 as _ ) ; pub const STATUS_DS_NO_RIDS_ALLOCATED : NTSTATUS = NTSTATUS ( -1073741145i32 as _ ) ; pub const STATUS_DS_OBJ_CLASS_VIOLATION : NTSTATUS = NTSTATUS ( -1073741141i32 as _ ) ; pub const STATUS_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS : NTSTATUS = NTSTATUS ( -1073700729i32 as _ ) ; pub const STATUS_DS_OID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073700728i32 as _ ) ; pub const STATUS_DS_RIDMGR_DISABLED : NTSTATUS = NTSTATUS ( -1073741126i32 as _ ) ; pub const STATUS_DS_RIDMGR_INIT_ERROR : NTSTATUS = NTSTATUS ( -1073741142i32 as _ ) ; pub const STATUS_DS_SAM_INIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741109i32 as _ ) ; pub const STATUS_DS_SAM_INIT_FAILURE_CONSOLE : NTSTATUS = NTSTATUS ( -1073741075i32 as _ ) ; pub const STATUS_DS_SENSITIVE_GROUP_VIOLATION : NTSTATUS = NTSTATUS ( -1073741107i32 as _ ) ; pub const STATUS_DS_SHUTTING_DOWN : NTSTATUS = NTSTATUS ( 1073742704i32 as _ ) ; pub const STATUS_DS_SRC_SID_EXISTS_IN_FOREST : NTSTATUS = NTSTATUS ( -1073740775i32 as _ ) ; pub const STATUS_DS_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073741146i32 as _ ) ; pub const STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER : NTSTATUS = NTSTATUS ( -1073741095i32 as _ ) ; pub const STATUS_DS_VERSION_CHECK_FAILURE : NTSTATUS = NTSTATUS ( -1073740971i32 as _ ) ; pub const STATUS_DUPLICATE_NAME : NTSTATUS = NTSTATUS ( -1073741635i32 as _ ) ; pub const STATUS_DUPLICATE_OBJECTID : NTSTATUS = NTSTATUS ( -1073741270i32 as _ ) ; pub const STATUS_DUPLICATE_PRIVILEGES : NTSTATUS = NTSTATUS ( -1073741402i32 as _ ) ; pub const STATUS_DYNAMIC_CODE_BLOCKED : NTSTATUS = NTSTATUS ( -1073740284i32 as _ ) ; pub const STATUS_EAS_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741745i32 as _ ) ; pub const STATUS_EA_CORRUPT_ERROR : NTSTATUS = NTSTATUS ( -1073741741i32 as _ ) ; pub const STATUS_EA_LIST_INCONSISTENT : NTSTATUS = NTSTATUS ( -2147483628i32 as _ ) ; pub const STATUS_EA_TOO_LARGE : NTSTATUS = NTSTATUS ( -1073741744i32 as _ ) ; pub const STATUS_EFS_ALG_BLOB_TOO_BIG : NTSTATUS = NTSTATUS ( -1073740974i32 as _ ) ; pub const STATUS_EFS_NOT_ALLOWED_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103362i32 as _ ) ; pub const STATUS_ELEVATION_REQUIRED : NTSTATUS = NTSTATUS ( -1073740756i32 as _ ) ; pub const STATUS_ENCLAVE_FAILURE : NTSTATUS = NTSTATUS ( -1073740657i32 as _ ) ; pub const STATUS_ENCLAVE_IS_TERMINATING : NTSTATUS = NTSTATUS ( -1073740526i32 as _ ) ; pub const STATUS_ENCLAVE_NOT_TERMINATED : NTSTATUS = NTSTATUS ( -1073740527i32 as _ ) ; pub const STATUS_ENCLAVE_VIOLATION : NTSTATUS = NTSTATUS ( -1073740638i32 as _ ) ; pub const STATUS_ENCOUNTERED_WRITE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073740749i32 as _ ) ; pub const STATUS_ENCRYPTED_IO_NOT_POSSIBLE : NTSTATUS = NTSTATUS ( -1073739760i32 as _ ) ; pub const STATUS_ENCRYPTING_METADATA_DISALLOWED : NTSTATUS = NTSTATUS ( -1073740617i32 as _ ) ; pub const STATUS_ENCRYPTION_DISABLED : NTSTATUS = NTSTATUS ( -1073740618i32 as _ ) ; pub const STATUS_ENCRYPTION_FAILED : NTSTATUS = NTSTATUS ( -1073741174i32 as _ ) ; pub const STATUS_END_OF_FILE : NTSTATUS = NTSTATUS ( -1073741807i32 as _ ) ; pub const STATUS_END_OF_MEDIA : NTSTATUS = NTSTATUS ( -2147483618i32 as _ ) ; pub const STATUS_ENLISTMENT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103344i32 as _ ) ; pub const STATUS_ENLISTMENT_NOT_SUPERIOR : NTSTATUS = NTSTATUS ( -1072103373i32 as _ ) ; pub const STATUS_ENTRYPOINT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741511i32 as _ ) ; pub const STATUS_EOF_ON_GHOSTED_RANGE : NTSTATUS = NTSTATUS ( -1073700857i32 as _ ) ; pub const STATUS_EOM_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741449i32 as _ ) ; pub const STATUS_ERROR_PROCESS_NOT_IN_JOB : NTSTATUS = NTSTATUS ( -1073741394i32 as _ ) ; pub const STATUS_EVALUATION_EXPIRATION : NTSTATUS = NTSTATUS ( -1073741208i32 as _ ) ; pub const STATUS_EVENTLOG_CANT_START : NTSTATUS = NTSTATUS ( -1073741425i32 as _ ) ; pub const STATUS_EVENTLOG_FILE_CHANGED : NTSTATUS = NTSTATUS ( -1073741417i32 as _ ) ; pub const STATUS_EVENTLOG_FILE_CORRUPT : NTSTATUS = NTSTATUS ( -1073741426i32 as _ ) ; pub const STATUS_EVENT_DONE : NTSTATUS = NTSTATUS ( 1073741842i32 as _ ) ; pub const STATUS_EVENT_PENDING : NTSTATUS = NTSTATUS ( 1073741843i32 as _ ) ; pub const STATUS_EXECUTABLE_MEMORY_WRITE : NTSTATUS = NTSTATUS ( -1073739997i32 as _ ) ; pub const STATUS_EXPIRED_HANDLE : NTSTATUS = NTSTATUS ( -1072103328i32 as _ ) ; pub const STATUS_EXTERNAL_BACKING_PROVIDER_UNKNOWN : NTSTATUS = NTSTATUS ( -1073740690i32 as _ ) ; pub const STATUS_EXTERNAL_SYSKEY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740639i32 as _ ) ; pub const STATUS_EXTRANEOUS_INFORMATION : NTSTATUS = NTSTATUS ( -2147483625i32 as _ ) ; pub const STATUS_FAILED_DRIVER_ENTRY : NTSTATUS = NTSTATUS ( -1073740955i32 as _ ) ; pub const STATUS_FAILED_STACK_SWITCH : NTSTATUS = NTSTATUS ( -1073740941i32 as _ ) ; pub const STATUS_FAIL_CHECK : NTSTATUS = NTSTATUS ( -1073741271i32 as _ ) ; pub const STATUS_FAIL_FAST_EXCEPTION : NTSTATUS = NTSTATUS ( -1073740286i32 as _ ) ; pub const STATUS_FASTPATH_REJECTED : NTSTATUS = NTSTATUS ( -1073700844i32 as _ ) ; pub const STATUS_FATAL_APP_EXIT : NTSTATUS = NTSTATUS ( 1073741845i32 as _ ) ; pub const STATUS_FATAL_MEMORY_EXHAUSTION : NTSTATUS = NTSTATUS ( -1073741395i32 as _ ) ; pub const STATUS_FATAL_USER_CALLBACK_EXCEPTION : NTSTATUS = NTSTATUS ( -1073740771i32 as _ ) ; pub const STATUS_FILEMARK_DETECTED : NTSTATUS = NTSTATUS ( -2147483621i32 as _ ) ; pub const STATUS_FILES_OPEN : NTSTATUS = NTSTATUS ( -1073741561i32 as _ ) ; pub const STATUS_FILE_CHECKED_OUT : NTSTATUS = NTSTATUS ( -1073739519i32 as _ ) ; pub const STATUS_FILE_CLOSED : NTSTATUS = NTSTATUS ( -1073741528i32 as _ ) ; pub const STATUS_FILE_CORRUPT_ERROR : NTSTATUS = NTSTATUS ( -1073741566i32 as _ ) ; pub const STATUS_FILE_DELETED : NTSTATUS = NTSTATUS ( -1073741533i32 as _ ) ; pub const STATUS_FILE_ENCRYPTED : NTSTATUS = NTSTATUS ( -1073741165i32 as _ ) ; pub const STATUS_FILE_FORCED_CLOSED : NTSTATUS = NTSTATUS ( -1073741642i32 as _ ) ; pub const STATUS_FILE_HANDLE_REVOKED : NTSTATUS = NTSTATUS ( -1073739504i32 as _ ) ; pub const STATUS_FILE_IDENTITY_NOT_PERSISTENT : NTSTATUS = NTSTATUS ( -1072103370i32 as _ ) ; pub const STATUS_FILE_INVALID : NTSTATUS = NTSTATUS ( -1073741672i32 as _ ) ; pub const STATUS_FILE_IS_A_DIRECTORY : NTSTATUS = NTSTATUS ( -1073741638i32 as _ ) ; pub const STATUS_FILE_IS_OFFLINE : NTSTATUS = NTSTATUS ( -1073741209i32 as _ ) ; pub const STATUS_FILE_LOCKED_WITH_ONLY_READERS : NTSTATUS = NTSTATUS ( 298i32 as _ ) ; pub const STATUS_FILE_LOCKED_WITH_WRITERS : NTSTATUS = NTSTATUS ( 299i32 as _ ) ; pub const STATUS_FILE_LOCK_CONFLICT : NTSTATUS = NTSTATUS ( -1073741740i32 as _ ) ; pub const STATUS_FILE_METADATA_OPTIMIZATION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073741397i32 as _ ) ; pub const STATUS_FILE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073740697i32 as _ ) ; pub const STATUS_FILE_NOT_ENCRYPTED : NTSTATUS = NTSTATUS ( -1073741167i32 as _ ) ; pub const STATUS_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740620i32 as _ ) ; pub const STATUS_FILE_PROTECTED_UNDER_DPL : NTSTATUS = NTSTATUS ( -1073740637i32 as _ ) ; pub const STATUS_FILE_RENAMED : NTSTATUS = NTSTATUS ( -1073741611i32 as _ ) ; pub const STATUS_FILE_SNAP_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1073679099i32 as _ ) ; pub const STATUS_FILE_SNAP_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073679104i32 as _ ) ; pub const STATUS_FILE_SNAP_IO_NOT_COORDINATED : NTSTATUS = NTSTATUS ( -1073679101i32 as _ ) ; pub const STATUS_FILE_SNAP_MODIFY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073679102i32 as _ ) ; pub const STATUS_FILE_SNAP_UNEXPECTED_ERROR : NTSTATUS = NTSTATUS ( -1073679100i32 as _ ) ; pub const STATUS_FILE_SNAP_USER_SECTION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073679103i32 as _ ) ; pub const STATUS_FILE_SYSTEM_LIMITATION : NTSTATUS = NTSTATUS ( -1073740761i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_BUSY : NTSTATUS = NTSTATUS ( -1073689085i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_INVALID_OPERATION : NTSTATUS = NTSTATUS ( -1073689083i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1073689086i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_PROVIDER_UNKNOWN : NTSTATUS = NTSTATUS ( -1073689084i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073689087i32 as _ ) ; pub const STATUS_FILE_TOO_LARGE : NTSTATUS = NTSTATUS ( -1073739516i32 as _ ) ; pub const STATUS_FIRMWARE_IMAGE_INVALID : NTSTATUS = NTSTATUS ( -1073740667i32 as _ ) ; pub const STATUS_FIRMWARE_SLOT_INVALID : NTSTATUS = NTSTATUS ( -1073740668i32 as _ ) ; pub const STATUS_FIRMWARE_UPDATED : NTSTATUS = NTSTATUS ( 1073741868i32 as _ ) ; pub const STATUS_FLOATED_SECTION : NTSTATUS = NTSTATUS ( -1072103349i32 as _ ) ; pub const STATUS_FLOAT_DENORMAL_OPERAND : NTSTATUS = NTSTATUS ( -1073741683i32 as _ ) ; pub const STATUS_FLOAT_DIVIDE_BY_ZERO : NTSTATUS = NTSTATUS ( -1073741682i32 as _ ) ; pub const STATUS_FLOAT_INEXACT_RESULT : NTSTATUS = NTSTATUS ( -1073741681i32 as _ ) ; pub const STATUS_FLOAT_INVALID_OPERATION : NTSTATUS = NTSTATUS ( -1073741680i32 as _ ) ; pub const STATUS_FLOAT_MULTIPLE_FAULTS : NTSTATUS = NTSTATUS ( -1073741132i32 as _ ) ; pub const STATUS_FLOAT_MULTIPLE_TRAPS : NTSTATUS = NTSTATUS ( -1073741131i32 as _ ) ; pub const STATUS_FLOAT_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741679i32 as _ ) ; pub const STATUS_FLOAT_STACK_CHECK : NTSTATUS = NTSTATUS ( -1073741678i32 as _ ) ; pub const STATUS_FLOAT_UNDERFLOW : NTSTATUS = NTSTATUS ( -1073741677i32 as _ ) ; pub const STATUS_FLOPPY_BAD_REGISTERS : NTSTATUS = NTSTATUS ( -1073741464i32 as _ ) ; pub const STATUS_FLOPPY_ID_MARK_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741467i32 as _ ) ; pub const STATUS_FLOPPY_UNKNOWN_ERROR : NTSTATUS = NTSTATUS ( -1073741465i32 as _ ) ; pub const STATUS_FLOPPY_VOLUME : NTSTATUS = NTSTATUS ( -1073741468i32 as _ ) ; pub const STATUS_FLOPPY_WRONG_CYLINDER : NTSTATUS = NTSTATUS ( -1073741466i32 as _ ) ; pub const STATUS_FLT_ALREADY_ENLISTED : NTSTATUS = NTSTATUS ( -1071906789i32 as _ ) ; pub const STATUS_FLT_BUFFER_TOO_SMALL : NTSTATUS = NTSTATUS ( -2145648639i32 as _ ) ; pub const STATUS_FLT_CBDQ_DISABLED : NTSTATUS = NTSTATUS ( -1071906802i32 as _ ) ; pub const STATUS_FLT_CONTEXT_ALLOCATION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071906794i32 as _ ) ; pub const STATUS_FLT_CONTEXT_ALREADY_DEFINED : NTSTATUS = NTSTATUS ( -1071906814i32 as _ ) ; pub const STATUS_FLT_CONTEXT_ALREADY_LINKED : NTSTATUS = NTSTATUS ( -1071906788i32 as _ ) ; pub const STATUS_FLT_DELETING_OBJECT : NTSTATUS = NTSTATUS ( -1071906805i32 as _ ) ; pub const STATUS_FLT_DISALLOW_FAST_IO : NTSTATUS = NTSTATUS ( -1071906812i32 as _ ) ; pub const STATUS_FLT_DO_NOT_ATTACH : NTSTATUS = NTSTATUS ( -1071906801i32 as _ ) ; pub const STATUS_FLT_DO_NOT_DETACH : NTSTATUS = NTSTATUS ( -1071906800i32 as _ ) ; pub const STATUS_FLT_DUPLICATE_ENTRY : NTSTATUS = NTSTATUS ( -1071906803i32 as _ ) ; pub const STATUS_FLT_FILTER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071906797i32 as _ ) ; pub const STATUS_FLT_FILTER_NOT_READY : NTSTATUS = NTSTATUS ( -1071906808i32 as _ ) ; pub const STATUS_FLT_INSTANCE_ALTITUDE_COLLISION : NTSTATUS = NTSTATUS ( -1071906799i32 as _ ) ; pub const STATUS_FLT_INSTANCE_NAME_COLLISION : NTSTATUS = NTSTATUS ( -1071906798i32 as _ ) ; pub const STATUS_FLT_INSTANCE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071906795i32 as _ ) ; pub const STATUS_FLT_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071906806i32 as _ ) ; pub const STATUS_FLT_INVALID_ASYNCHRONOUS_REQUEST : NTSTATUS = NTSTATUS ( -1071906813i32 as _ ) ; pub const STATUS_FLT_INVALID_CONTEXT_REGISTRATION : NTSTATUS = NTSTATUS ( -1071906793i32 as _ ) ; pub const STATUS_FLT_INVALID_NAME_REQUEST : NTSTATUS = NTSTATUS ( -1071906811i32 as _ ) ; pub const STATUS_FLT_IO_COMPLETE : NTSTATUS = NTSTATUS ( 1835009i32 as _ ) ; pub const STATUS_FLT_MUST_BE_NONPAGED_POOL : NTSTATUS = NTSTATUS ( -1071906804i32 as _ ) ; pub const STATUS_FLT_NAME_CACHE_MISS : NTSTATUS = NTSTATUS ( -1071906792i32 as _ ) ; pub const STATUS_FLT_NOT_INITIALIZED : NTSTATUS = NTSTATUS ( -1071906809i32 as _ ) ; pub const STATUS_FLT_NOT_SAFE_TO_POST_OPERATION : NTSTATUS = NTSTATUS ( -1071906810i32 as _ ) ; pub const STATUS_FLT_NO_DEVICE_OBJECT : NTSTATUS = NTSTATUS ( -1071906791i32 as _ ) ; pub const STATUS_FLT_NO_HANDLER_DEFINED : NTSTATUS = NTSTATUS ( -1071906815i32 as _ ) ; pub const STATUS_FLT_NO_WAITER_FOR_REPLY : NTSTATUS = NTSTATUS ( -1071906784i32 as _ ) ; pub const STATUS_FLT_POST_OPERATION_CLEANUP : NTSTATUS = NTSTATUS ( -1071906807i32 as _ ) ; pub const STATUS_FLT_REGISTRATION_BUSY : NTSTATUS = NTSTATUS ( -1071906781i32 as _ ) ; pub const STATUS_FLT_VOLUME_ALREADY_MOUNTED : NTSTATUS = NTSTATUS ( -1071906790i32 as _ ) ; pub const STATUS_FLT_VOLUME_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071906796i32 as _ ) ; pub const STATUS_FORMS_AUTH_REQUIRED : NTSTATUS = NTSTATUS ( -1073739515i32 as _ ) ; pub const STATUS_FOUND_OUT_OF_SCOPE : NTSTATUS = NTSTATUS ( -1073741266i32 as _ ) ; pub const STATUS_FREE_SPACE_TOO_FRAGMENTED : NTSTATUS = NTSTATUS ( -1073740645i32 as _ ) ; pub const STATUS_FREE_VM_NOT_AT_BASE : NTSTATUS = NTSTATUS ( -1073741665i32 as _ ) ; pub const STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY : NTSTATUS = NTSTATUS ( 294i32 as _ ) ; pub const STATUS_FS_DRIVER_REQUIRED : NTSTATUS = NTSTATUS ( -1073741412i32 as _ ) ; pub const STATUS_FT_DI_SCAN_REQUIRED : NTSTATUS = NTSTATUS ( -1073740692i32 as _ ) ; pub const STATUS_FT_MISSING_MEMBER : NTSTATUS = NTSTATUS ( -1073741473i32 as _ ) ; pub const STATUS_FT_ORPHANING : NTSTATUS = NTSTATUS ( -1073741459i32 as _ ) ; pub const STATUS_FT_READ_FAILURE : NTSTATUS = NTSTATUS ( -1073740629i32 as _ ) ; pub const STATUS_FT_READ_FROM_COPY : NTSTATUS = NTSTATUS ( 1073741877i32 as _ ) ; pub const STATUS_FT_READ_RECOVERY_FROM_BACKUP : NTSTATUS = NTSTATUS ( 1073741834i32 as _ ) ; pub const STATUS_FT_WRITE_FAILURE : NTSTATUS = NTSTATUS ( -1073740693i32 as _ ) ; pub const STATUS_FT_WRITE_RECOVERY : NTSTATUS = NTSTATUS ( 1073741835i32 as _ ) ; pub const STATUS_FULLSCREEN_MODE : NTSTATUS = NTSTATUS ( -1073741479i32 as _ ) ; pub const STATUS_FVE_ACTION_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071579127i32 as _ ) ; pub const STATUS_FVE_AUTH_INVALID_APPLICATION : NTSTATUS = NTSTATUS ( -1071579109i32 as _ ) ; pub const STATUS_FVE_AUTH_INVALID_CONFIG : NTSTATUS = NTSTATUS ( -1071579108i32 as _ ) ; pub const STATUS_FVE_BAD_DATA : NTSTATUS = NTSTATUS ( -1071579126i32 as _ ) ; pub const STATUS_FVE_BAD_INFORMATION : NTSTATUS = NTSTATUS ( -1071579134i32 as _ ) ; pub const STATUS_FVE_BAD_METADATA_POINTER : NTSTATUS = NTSTATUS ( -1071579105i32 as _ ) ; pub const STATUS_FVE_BAD_PARTITION_SIZE : NTSTATUS = NTSTATUS ( -1071579131i32 as _ ) ; pub const STATUS_FVE_CONV_READ_ERROR : NTSTATUS = NTSTATUS ( -1071579123i32 as _ ) ; pub const STATUS_FVE_CONV_RECOVERY_FAILED : NTSTATUS = NTSTATUS ( -1071579096i32 as _ ) ; pub const STATUS_FVE_CONV_WRITE_ERROR : NTSTATUS = NTSTATUS ( -1071579122i32 as _ ) ; pub const STATUS_FVE_DEBUGGER_ENABLED : NTSTATUS = NTSTATUS ( -1071579107i32 as _ ) ; pub const STATUS_FVE_DEVICE_LOCKEDOUT : NTSTATUS = NTSTATUS ( -1071579077i32 as _ ) ; pub const STATUS_FVE_DRY_RUN_FAILED : NTSTATUS = NTSTATUS ( -1071579106i32 as _ ) ; pub const STATUS_FVE_EDRIVE_DRY_RUN_FAILED : NTSTATUS = NTSTATUS ( -1071579080i32 as _ ) ; pub const STATUS_FVE_ENH_PIN_INVALID : NTSTATUS = NTSTATUS ( -1071579087i32 as _ ) ; pub const STATUS_FVE_FAILED_AUTHENTICATION : NTSTATUS = NTSTATUS ( -1071579119i32 as _ ) ; pub const STATUS_FVE_FAILED_SECTOR_SIZE : NTSTATUS = NTSTATUS ( -1071579120i32 as _ ) ; pub const STATUS_FVE_FAILED_WRONG_FS : NTSTATUS = NTSTATUS ( -1071579132i32 as _ ) ; pub const STATUS_FVE_FS_MOUNTED : NTSTATUS = NTSTATUS ( -1071579129i32 as _ ) ; pub const STATUS_FVE_FS_NOT_EXTENDED : NTSTATUS = NTSTATUS ( -1071579130i32 as _ ) ; pub const STATUS_FVE_FULL_ENCRYPTION_NOT_ALLOWED_ON_TP_STORAGE : NTSTATUS = NTSTATUS ( -1071579086i32 as _ ) ; pub const STATUS_FVE_INVALID_DATUM_TYPE : NTSTATUS = NTSTATUS ( -1071579094i32 as _ ) ; pub const STATUS_FVE_KEYFILE_INVALID : NTSTATUS = NTSTATUS ( -1071579116i32 as _ ) ; pub const STATUS_FVE_KEYFILE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071579117i32 as _ ) ; pub const STATUS_FVE_KEYFILE_NO_VMK : NTSTATUS = NTSTATUS ( -1071579115i32 as _ ) ; pub const STATUS_FVE_LOCKED_VOLUME : NTSTATUS = NTSTATUS ( -1071579136i32 as _ ) ; pub const STATUS_FVE_MOR_FAILED : NTSTATUS = NTSTATUS ( -1071579099i32 as _ ) ; pub const STATUS_FVE_NOT_ALLOWED_ON_CLUSTER : NTSTATUS = NTSTATUS ( -1071579083i32 as _ ) ; pub const STATUS_FVE_NOT_ALLOWED_ON_CSV_STACK : NTSTATUS = NTSTATUS ( -1071579084i32 as _ ) ; pub const STATUS_FVE_NOT_ALLOWED_TO_UPGRADE_WHILE_CONVERTING : NTSTATUS = NTSTATUS ( -1071579082i32 as _ ) ; pub const STATUS_FVE_NOT_DATA_VOLUME : NTSTATUS = NTSTATUS ( -1071579124i32 as _ ) ; pub const STATUS_FVE_NOT_DE_VOLUME : NTSTATUS = NTSTATUS ( -1071579075i32 as _ ) ; pub const STATUS_FVE_NOT_ENCRYPTED : NTSTATUS = NTSTATUS ( -1071579135i32 as _ ) ; pub const STATUS_FVE_NOT_OS_VOLUME : NTSTATUS = NTSTATUS ( -1071579118i32 as _ ) ; pub const STATUS_FVE_NO_AUTOUNLOCK_MASTER_KEY : NTSTATUS = NTSTATUS ( -1071579100i32 as _ ) ; pub const STATUS_FVE_NO_FEATURE_LICENSE : NTSTATUS = NTSTATUS ( -1071579098i32 as _ ) ; pub const STATUS_FVE_NO_LICENSE : NTSTATUS = NTSTATUS ( -1071579128i32 as _ ) ; pub const STATUS_FVE_OLD_METADATA_COPY : NTSTATUS = NTSTATUS ( -1071579104i32 as _ ) ; pub const STATUS_FVE_OSV_KSR_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071579072i32 as _ ) ; pub const STATUS_FVE_OVERLAPPED_UPDATE : NTSTATUS = NTSTATUS ( -1071579121i32 as _ ) ; pub const STATUS_FVE_PARTIAL_METADATA : NTSTATUS = NTSTATUS ( -2145320959i32 as _ ) ; pub const STATUS_FVE_PIN_INVALID : NTSTATUS = NTSTATUS ( -1071579110i32 as _ ) ; pub const STATUS_FVE_POLICY_USER_DISABLE_RDV_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071579097i32 as _ ) ; pub const STATUS_FVE_PROTECTION_CANNOT_BE_DISABLED : NTSTATUS = NTSTATUS ( -1071579073i32 as _ ) ; pub const STATUS_FVE_PROTECTION_DISABLED : NTSTATUS = NTSTATUS ( -1071579074i32 as _ ) ; pub const STATUS_FVE_RAW_ACCESS : NTSTATUS = NTSTATUS ( -1071579102i32 as _ ) ; pub const STATUS_FVE_RAW_BLOCKED : NTSTATUS = NTSTATUS ( -1071579101i32 as _ ) ; pub const STATUS_FVE_REBOOT_REQUIRED : NTSTATUS = NTSTATUS ( -1071579103i32 as _ ) ; pub const STATUS_FVE_SECUREBOOT_CONFIG_CHANGE : NTSTATUS = NTSTATUS ( -1071579078i32 as _ ) ; pub const STATUS_FVE_SECUREBOOT_DISABLED : NTSTATUS = NTSTATUS ( -1071579079i32 as _ ) ; pub const STATUS_FVE_TOO_SMALL : NTSTATUS = NTSTATUS ( -1071579133i32 as _ ) ; pub const STATUS_FVE_TPM_DISABLED : NTSTATUS = NTSTATUS ( -1071579114i32 as _ ) ; pub const STATUS_FVE_TPM_INVALID_PCR : NTSTATUS = NTSTATUS ( -1071579112i32 as _ ) ; pub const STATUS_FVE_TPM_NO_VMK : NTSTATUS = NTSTATUS ( -1071579111i32 as _ ) ; pub const STATUS_FVE_TPM_SRK_AUTH_NOT_ZERO : NTSTATUS = NTSTATUS ( -1071579113i32 as _ ) ; pub const STATUS_FVE_TRANSIENT_STATE : NTSTATUS = NTSTATUS ( -2145320958i32 as _ ) ; pub const STATUS_FVE_VIRTUALIZED_SPACE_TOO_BIG : NTSTATUS = NTSTATUS ( -1071579095i32 as _ ) ; pub const STATUS_FVE_VOLUME_EXTEND_PREVENTS_EOW_DECRYPT : NTSTATUS = NTSTATUS ( -1071579076i32 as _ ) ; pub const STATUS_FVE_VOLUME_NOT_BOUND : NTSTATUS = NTSTATUS ( -1071579125i32 as _ ) ; pub const STATUS_FVE_VOLUME_TOO_SMALL : NTSTATUS = NTSTATUS ( -1071579088i32 as _ ) ; pub const STATUS_FVE_WIPE_CANCEL_NOT_APPLICABLE : NTSTATUS = NTSTATUS ( -1071579081i32 as _ ) ; pub const STATUS_FVE_WIPE_NOT_ALLOWED_ON_TP_STORAGE : NTSTATUS = NTSTATUS ( -1071579085i32 as _ ) ; pub const STATUS_FWP_ACTION_INCOMPATIBLE_WITH_LAYER : NTSTATUS = NTSTATUS ( -1071513556i32 as _ ) ; pub const STATUS_FWP_ACTION_INCOMPATIBLE_WITH_SUBLAYER : NTSTATUS = NTSTATUS ( -1071513555i32 as _ ) ; pub const STATUS_FWP_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1071513591i32 as _ ) ; pub const STATUS_FWP_BUILTIN_OBJECT : NTSTATUS = NTSTATUS ( -1071513577i32 as _ ) ; pub const STATUS_FWP_CALLOUT_NOTIFICATION_FAILED : NTSTATUS = NTSTATUS ( -1071513545i32 as _ ) ; pub const STATUS_FWP_CALLOUT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513599i32 as _ ) ; pub const STATUS_FWP_CANNOT_PEND : NTSTATUS = NTSTATUS ( -1071513341i32 as _ ) ; pub const STATUS_FWP_CONDITION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513598i32 as _ ) ; pub const STATUS_FWP_CONNECTIONS_DISABLED : NTSTATUS = NTSTATUS ( -1071513535i32 as _ ) ; pub const STATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_CALLOUT : NTSTATUS = NTSTATUS ( -1071513553i32 as _ ) ; pub const STATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_LAYER : NTSTATUS = NTSTATUS ( -1071513554i32 as _ ) ; pub const STATUS_FWP_DROP_NOICMP : NTSTATUS = NTSTATUS ( -1071513340i32 as _ ) ; pub const STATUS_FWP_DUPLICATE_AUTH_METHOD : NTSTATUS = NTSTATUS ( -1071513540i32 as _ ) ; pub const STATUS_FWP_DUPLICATE_CONDITION : NTSTATUS = NTSTATUS ( -1071513558i32 as _ ) ; pub const STATUS_FWP_DUPLICATE_KEYMOD : NTSTATUS = NTSTATUS ( -1071513557i32 as _ ) ; pub const STATUS_FWP_DYNAMIC_SESSION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071513589i32 as _ ) ; pub const STATUS_FWP_EM_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071513550i32 as _ ) ; pub const STATUS_FWP_FILTER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513597i32 as _ ) ; pub const STATUS_FWP_IKEEXT_NOT_RUNNING : NTSTATUS = NTSTATUS ( -1071513532i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_AUTH_METHOD : NTSTATUS = NTSTATUS ( -1071513552i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_CIPHER_TRANSFORM : NTSTATUS = NTSTATUS ( -1071513542i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_DH_GROUP : NTSTATUS = NTSTATUS ( -1071513551i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_LAYER : NTSTATUS = NTSTATUS ( -1071513580i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_SA_STATE : NTSTATUS = NTSTATUS ( -1071513573i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_TXN : NTSTATUS = NTSTATUS ( -1071513583i32 as _ ) ; pub const STATUS_FWP_INJECT_HANDLE_CLOSING : NTSTATUS = NTSTATUS ( -1071513343i32 as _ ) ; pub const STATUS_FWP_INJECT_HANDLE_STALE : NTSTATUS = NTSTATUS ( -1071513342i32 as _ ) ; pub const STATUS_FWP_INVALID_ACTION_TYPE : NTSTATUS = NTSTATUS ( -1071513564i32 as _ ) ; pub const STATUS_FWP_INVALID_AUTH_TRANSFORM : NTSTATUS = NTSTATUS ( -1071513544i32 as _ ) ; pub const STATUS_FWP_INVALID_CIPHER_TRANSFORM : NTSTATUS = NTSTATUS ( -1071513543i32 as _ ) ; pub const STATUS_FWP_INVALID_DNS_NAME : NTSTATUS = NTSTATUS ( -1071513534i32 as _ ) ; pub const STATUS_FWP_INVALID_ENUMERATOR : NTSTATUS = NTSTATUS ( -1071513571i32 as _ ) ; pub const STATUS_FWP_INVALID_FLAGS : NTSTATUS = NTSTATUS ( -1071513570i32 as _ ) ; pub const STATUS_FWP_INVALID_INTERVAL : NTSTATUS = NTSTATUS ( -1071513567i32 as _ ) ; pub const STATUS_FWP_INVALID_NET_MASK : NTSTATUS = NTSTATUS ( -1071513569i32 as _ ) ; pub const STATUS_FWP_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1071513547i32 as _ ) ; pub const STATUS_FWP_INVALID_RANGE : NTSTATUS = NTSTATUS ( -1071513568i32 as _ ) ; pub const STATUS_FWP_INVALID_TRANSFORM_COMBINATION : NTSTATUS = NTSTATUS ( -1071513541i32 as _ ) ; pub const STATUS_FWP_INVALID_TUNNEL_ENDPOINT : NTSTATUS = NTSTATUS ( -1071513539i32 as _ ) ; pub const STATUS_FWP_INVALID_WEIGHT : NTSTATUS = NTSTATUS ( -1071513563i32 as _ ) ; pub const STATUS_FWP_IN_USE : NTSTATUS = NTSTATUS ( -1071513590i32 as _ ) ; pub const STATUS_FWP_KEY_DICTATION_INVALID_KEYING_MATERIAL : NTSTATUS = NTSTATUS ( -1071513536i32 as _ ) ; pub const STATUS_FWP_KEY_DICTATOR_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1071513537i32 as _ ) ; pub const STATUS_FWP_KM_CLIENTS_ONLY : NTSTATUS = NTSTATUS ( -1071513579i32 as _ ) ; pub const STATUS_FWP_L2_DRIVER_NOT_READY : NTSTATUS = NTSTATUS ( -1071513538i32 as _ ) ; pub const STATUS_FWP_LAYER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513596i32 as _ ) ; pub const STATUS_FWP_LIFETIME_MISMATCH : NTSTATUS = NTSTATUS ( -1071513578i32 as _ ) ; pub const STATUS_FWP_MATCH_TYPE_MISMATCH : NTSTATUS = NTSTATUS ( -1071513562i32 as _ ) ; pub const STATUS_FWP_NET_EVENTS_DISABLED : NTSTATUS = NTSTATUS ( -1071513581i32 as _ ) ; pub const STATUS_FWP_NEVER_MATCH : NTSTATUS = NTSTATUS ( -1071513549i32 as _ ) ; pub const STATUS_FWP_NOTIFICATION_DROPPED : NTSTATUS = NTSTATUS ( -1071513575i32 as _ ) ; pub const STATUS_FWP_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513592i32 as _ ) ; pub const STATUS_FWP_NO_TXN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071513587i32 as _ ) ; pub const STATUS_FWP_NULL_DISPLAY_NAME : NTSTATUS = NTSTATUS ( -1071513565i32 as _ ) ; pub const STATUS_FWP_NULL_POINTER : NTSTATUS = NTSTATUS ( -1071513572i32 as _ ) ; pub const STATUS_FWP_OUT_OF_BOUNDS : NTSTATUS = NTSTATUS ( -1071513560i32 as _ ) ; pub const STATUS_FWP_PROVIDER_CONTEXT_MISMATCH : NTSTATUS = NTSTATUS ( -1071513548i32 as _ ) ; pub const STATUS_FWP_PROVIDER_CONTEXT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513594i32 as _ ) ; pub const STATUS_FWP_PROVIDER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513595i32 as _ ) ; pub const STATUS_FWP_RESERVED : NTSTATUS = NTSTATUS ( -1071513559i32 as _ ) ; pub const STATUS_FWP_SESSION_ABORTED : NTSTATUS = NTSTATUS ( -1071513584i32 as _ ) ; pub const STATUS_FWP_STILL_ON : NTSTATUS = NTSTATUS ( -1071513533i32 as _ ) ; pub const STATUS_FWP_SUBLAYER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513593i32 as _ ) ; pub const STATUS_FWP_TCPIP_NOT_READY : NTSTATUS = NTSTATUS ( -1071513344i32 as _ ) ; pub const STATUS_FWP_TIMEOUT : NTSTATUS = NTSTATUS ( -1071513582i32 as _ ) ; pub const STATUS_FWP_TOO_MANY_CALLOUTS : NTSTATUS = NTSTATUS ( -1071513576i32 as _ ) ; pub const STATUS_FWP_TOO_MANY_SUBLAYERS : NTSTATUS = NTSTATUS ( -1071513546i32 as _ ) ; pub const STATUS_FWP_TRAFFIC_MISMATCH : NTSTATUS = NTSTATUS ( -1071513574i32 as _ ) ; pub const STATUS_FWP_TXN_ABORTED : NTSTATUS = NTSTATUS ( -1071513585i32 as _ ) ; pub const STATUS_FWP_TXN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071513586i32 as _ ) ; pub const STATUS_FWP_TYPE_MISMATCH : NTSTATUS = NTSTATUS ( -1071513561i32 as _ ) ; pub const STATUS_FWP_WRONG_SESSION : NTSTATUS = NTSTATUS ( -1071513588i32 as _ ) ; pub const STATUS_FWP_ZERO_LENGTH_ARRAY : NTSTATUS = NTSTATUS ( -1071513566i32 as _ ) ; pub const STATUS_GDI_HANDLE_LEAK : NTSTATUS = NTSTATUS ( -2143354879i32 as _ ) ; pub const STATUS_GENERIC_COMMAND_FAILED : NTSTATUS = NTSTATUS ( -1072365530i32 as _ ) ; pub const STATUS_GENERIC_NOT_MAPPED : NTSTATUS = NTSTATUS ( -1073741594i32 as _ ) ; pub const STATUS_GHOSTED : NTSTATUS = NTSTATUS ( 303i32 as _ ) ; pub const STATUS_GPIO_CLIENT_INFORMATION_INVALID : NTSTATUS = NTSTATUS ( -1073700574i32 as _ ) ; pub const STATUS_GPIO_INCOMPATIBLE_CONNECT_MODE : NTSTATUS = NTSTATUS ( -1073700570i32 as _ ) ; pub const STATUS_GPIO_INTERRUPT_ALREADY_UNMASKED : NTSTATUS = NTSTATUS ( -2147442393i32 as _ ) ; pub const STATUS_GPIO_INVALID_REGISTRATION_PACKET : NTSTATUS = NTSTATUS ( -1073700572i32 as _ ) ; pub const STATUS_GPIO_OPERATION_DENIED : NTSTATUS = NTSTATUS ( -1073700571i32 as _ ) ; pub const STATUS_GPIO_VERSION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700573i32 as _ ) ; pub const STATUS_GRACEFUL_DISCONNECT : NTSTATUS = NTSTATUS ( -1073741257i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_ACCESS_NOT_EXCLUDED : NTSTATUS = NTSTATUS ( -1071774661i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_CHAIN_NOT_READY : NTSTATUS = NTSTATUS ( -1071774669i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_SOURCE : NTSTATUS = NTSTATUS ( -1071774936i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_TARGET : NTSTATUS = NTSTATUS ( -1071774935i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_WAS_RESET : NTSTATUS = NTSTATUS ( -1071775741i32 as _ ) ; pub const STATUS_GRAPHICS_ALLOCATION_BUSY : NTSTATUS = NTSTATUS ( -1071775486i32 as _ ) ; pub const STATUS_GRAPHICS_ALLOCATION_CLOSED : NTSTATUS = NTSTATUS ( -1071775470i32 as _ ) ; pub const STATUS_GRAPHICS_ALLOCATION_CONTENT_LOST : NTSTATUS = NTSTATUS ( -1071775466i32 as _ ) ; pub const STATUS_GRAPHICS_ALLOCATION_INVALID : NTSTATUS = NTSTATUS ( -1071775482i32 as _ ) ; pub const STATUS_GRAPHICS_CANCEL_VIDPN_TOPOLOGY_AUGMENTATION : NTSTATUS = NTSTATUS ( -1071774886i32 as _ ) ; pub const STATUS_GRAPHICS_CANNOTCOLORCONVERT : NTSTATUS = NTSTATUS ( -1071775736i32 as _ ) ; pub const STATUS_GRAPHICS_CANT_ACCESS_ACTIVE_VIDPN : NTSTATUS = NTSTATUS ( -1071774909i32 as _ ) ; pub const STATUS_GRAPHICS_CANT_EVICT_PINNED_ALLOCATION : NTSTATUS = NTSTATUS ( -1071775479i32 as _ ) ; pub const STATUS_GRAPHICS_CANT_LOCK_MEMORY : NTSTATUS = NTSTATUS ( -1071775487i32 as _ ) ; pub const STATUS_GRAPHICS_CANT_RENDER_LOCKED_ALLOCATION : NTSTATUS = NTSTATUS ( -1071775471i32 as _ ) ; pub const STATUS_GRAPHICS_CHAINLINKS_NOT_ENUMERATED : NTSTATUS = NTSTATUS ( -1071774670i32 as _ ) ; pub const STATUS_GRAPHICS_CHAINLINKS_NOT_POWERED_ON : NTSTATUS = NTSTATUS ( -1071774667i32 as _ ) ; pub const STATUS_GRAPHICS_CHAINLINKS_NOT_STARTED : NTSTATUS = NTSTATUS ( -1071774668i32 as _ ) ; pub const STATUS_GRAPHICS_CHILD_DESCRIPTOR_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774719i32 as _ ) ; pub const STATUS_GRAPHICS_CLIENTVIDPN_NOT_SET : NTSTATUS = NTSTATUS ( -1071774884i32 as _ ) ; pub const STATUS_GRAPHICS_COPP_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774463i32 as _ ) ; pub const STATUS_GRAPHICS_DATASET_IS_EMPTY : NTSTATUS = NTSTATUS ( 1075708747i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_CAPABILITIES_STRING : NTSTATUS = NTSTATUS ( -1071774329i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_DATA : NTSTATUS = NTSTATUS ( -1071774331i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_CHECKSUM : NTSTATUS = NTSTATUS ( -1071774325i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_COMMAND : NTSTATUS = NTSTATUS ( -1071774327i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_LENGTH : NTSTATUS = NTSTATUS ( -1071774326i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_MONITOR_RETURNED_INVALID_TIMING_STATUS_BYTE : NTSTATUS = NTSTATUS ( -1071774330i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_VCP_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774332i32 as _ ) ; pub const STATUS_GRAPHICS_DEPENDABLE_CHILD_STATUS : NTSTATUS = NTSTATUS ( 1075708988i32 as _ ) ; pub const STATUS_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP : NTSTATUS = NTSTATUS ( -1071774238i32 as _ ) ; pub const STATUS_GRAPHICS_DRIVER_MISMATCH : NTSTATUS = NTSTATUS ( -1071775735i32 as _ ) ; pub const STATUS_GRAPHICS_EMPTY_ADAPTER_MONITOR_MODE_SUPPORT_INTERSECTION : NTSTATUS = NTSTATUS ( -1071774939i32 as _ ) ; pub const STATUS_GRAPHICS_FREQUENCYRANGE_ALREADY_IN_SET : NTSTATUS = NTSTATUS ( -1071774945i32 as _ ) ; pub const STATUS_GRAPHICS_FREQUENCYRANGE_NOT_IN_SET : NTSTATUS = NTSTATUS ( -1071774947i32 as _ ) ; pub const STATUS_GRAPHICS_GAMMA_RAMP_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774904i32 as _ ) ; pub const STATUS_GRAPHICS_GPU_EXCEPTION_ON_DEVICE : NTSTATUS = NTSTATUS ( -1071775232i32 as _ ) ; pub const STATUS_GRAPHICS_I2C_DEVICE_DOES_NOT_EXIST : NTSTATUS = NTSTATUS ( -1071774335i32 as _ ) ; pub const STATUS_GRAPHICS_I2C_ERROR_RECEIVING_DATA : NTSTATUS = NTSTATUS ( -1071774333i32 as _ ) ; pub const STATUS_GRAPHICS_I2C_ERROR_TRANSMITTING_DATA : NTSTATUS = NTSTATUS ( -1071774334i32 as _ ) ; pub const STATUS_GRAPHICS_I2C_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774336i32 as _ ) ; pub const STATUS_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT : NTSTATUS = NTSTATUS ( -1071774891i32 as _ ) ; pub const STATUS_GRAPHICS_INCONSISTENT_DEVICE_LINK_STATE : NTSTATUS = NTSTATUS ( -1071774666i32 as _ ) ; pub const STATUS_GRAPHICS_INDIRECT_DISPLAY_ABANDON_SWAPCHAIN : NTSTATUS = NTSTATUS ( -1071775726i32 as _ ) ; pub const STATUS_GRAPHICS_INDIRECT_DISPLAY_DEVICE_STOPPED : NTSTATUS = NTSTATUS ( -1071775725i32 as _ ) ; pub const STATUS_GRAPHICS_INSUFFICIENT_DMA_BUFFER : NTSTATUS = NTSTATUS ( -1071775743i32 as _ ) ; pub const STATUS_GRAPHICS_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071774233i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_ACTIVE_REGION : NTSTATUS = NTSTATUS ( -1071774965i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_ALLOCATION_HANDLE : NTSTATUS = NTSTATUS ( -1071775468i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_ALLOCATION_INSTANCE : NTSTATUS = NTSTATUS ( -1071775469i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_ALLOCATION_USAGE : NTSTATUS = NTSTATUS ( -1071775472i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_CLIENT_TYPE : NTSTATUS = NTSTATUS ( -1071774885i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_COLORBASIS : NTSTATUS = NTSTATUS ( -1071774914i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_COPYPROTECTION_TYPE : NTSTATUS = NTSTATUS ( -1071774897i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_DISPLAY_ADAPTER : NTSTATUS = NTSTATUS ( -1071775742i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_DRIVER_MODEL : NTSTATUS = NTSTATUS ( -1071775740i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_FREQUENCY : NTSTATUS = NTSTATUS ( -1071774966i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_GAMMA_RAMP : NTSTATUS = NTSTATUS ( -1071774905i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MODE_PRUNING_ALGORITHM : NTSTATUS = NTSTATUS ( -1071774890i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITORDESCRIPTOR : NTSTATUS = NTSTATUS ( -1071774933i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITORDESCRIPTORSET : NTSTATUS = NTSTATUS ( -1071774934i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_CAPABILITY_ORIGIN : NTSTATUS = NTSTATUS ( -1071774889i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE : NTSTATUS = NTSTATUS ( -1071774948i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGESET : NTSTATUS = NTSTATUS ( -1071774949i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE_CONSTRAINT : NTSTATUS = NTSTATUS ( -1071774888i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_SOURCEMODESET : NTSTATUS = NTSTATUS ( -1071774943i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_SOURCE_MODE : NTSTATUS = NTSTATUS ( -1071774942i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PATH_CONTENT_GEOMETRY_TRANSFORMATION : NTSTATUS = NTSTATUS ( -1071774907i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PATH_CONTENT_TYPE : NTSTATUS = NTSTATUS ( -1071774898i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PATH_IMPORTANCE_ORDINAL : NTSTATUS = NTSTATUS ( -1071774908i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PHYSICAL_MONITOR_HANDLE : NTSTATUS = NTSTATUS ( -1071774324i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PIXELFORMAT : NTSTATUS = NTSTATUS ( -1071774915i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PIXELVALUEACCESSMODE : NTSTATUS = NTSTATUS ( -1071774913i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_POINTER : NTSTATUS = NTSTATUS ( -1071774236i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE : NTSTATUS = NTSTATUS ( -1071774918i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_SCANLINE_ORDERING : NTSTATUS = NTSTATUS ( -1071774894i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_STRIDE : NTSTATUS = NTSTATUS ( -1071774916i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_TOTAL_REGION : NTSTATUS = NTSTATUS ( -1071774964i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEOPRESENTSOURCESET : NTSTATUS = NTSTATUS ( -1071774955i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEOPRESENTTARGETSET : NTSTATUS = NTSTATUS ( -1071774954i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE : NTSTATUS = NTSTATUS ( -1071774972i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE_MODE : NTSTATUS = NTSTATUS ( -1071774960i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET : NTSTATUS = NTSTATUS ( -1071774971i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET_MODE : NTSTATUS = NTSTATUS ( -1071774959i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN : NTSTATUS = NTSTATUS ( -1071774973i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_PRESENT_PATH : NTSTATUS = NTSTATUS ( -1071774951i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_SOURCEMODESET : NTSTATUS = NTSTATUS ( -1071774968i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_TARGETMODESET : NTSTATUS = NTSTATUS ( -1071774967i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE : NTSTATUS = NTSTATUS ( -1071774929i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774976i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY_RECOMMENDATION_REASON : NTSTATUS = NTSTATUS ( -1071774899i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VISIBLEREGION_SIZE : NTSTATUS = NTSTATUS ( -1071774917i32 as _ ) ; pub const STATUS_GRAPHICS_LEADLINK_NOT_ENUMERATED : NTSTATUS = NTSTATUS ( -1071774671i32 as _ ) ; pub const STATUS_GRAPHICS_LEADLINK_START_DEFERRED : NTSTATUS = NTSTATUS ( 1075708983i32 as _ ) ; pub const STATUS_GRAPHICS_MAX_NUM_PATHS_REACHED : NTSTATUS = NTSTATUS ( -1071774887i32 as _ ) ; pub const STATUS_GRAPHICS_MCA_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071774328i32 as _ ) ; pub const STATUS_GRAPHICS_MIRRORING_DEVICES_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774237i32 as _ ) ; pub const STATUS_GRAPHICS_MODE_ALREADY_IN_MODESET : NTSTATUS = NTSTATUS ( -1071774956i32 as _ ) ; pub const STATUS_GRAPHICS_MODE_ID_MUST_BE_UNIQUE : NTSTATUS = NTSTATUS ( -1071774940i32 as _ ) ; pub const STATUS_GRAPHICS_MODE_NOT_IN_MODESET : NTSTATUS = NTSTATUS ( -1071774902i32 as _ ) ; pub const STATUS_GRAPHICS_MODE_NOT_PINNED : NTSTATUS = NTSTATUS ( 1075708679i32 as _ ) ; pub const STATUS_GRAPHICS_MONITORDESCRIPTOR_ALREADY_IN_SET : NTSTATUS = NTSTATUS ( -1071774931i32 as _ ) ; pub const STATUS_GRAPHICS_MONITORDESCRIPTOR_ID_MUST_BE_UNIQUE : NTSTATUS = NTSTATUS ( -1071774930i32 as _ ) ; pub const STATUS_GRAPHICS_MONITORDESCRIPTOR_NOT_IN_SET : NTSTATUS = NTSTATUS ( -1071774932i32 as _ ) ; pub const STATUS_GRAPHICS_MONITOR_COULD_NOT_BE_ASSOCIATED_WITH_ADAPTER : NTSTATUS = NTSTATUS ( -1071774924i32 as _ ) ; pub const STATUS_GRAPHICS_MONITOR_NOT_CONNECTED : NTSTATUS = NTSTATUS ( -1071774920i32 as _ ) ; pub const STATUS_GRAPHICS_MONITOR_NO_LONGER_EXISTS : NTSTATUS = NTSTATUS ( -1071774323i32 as _ ) ; pub const STATUS_GRAPHICS_MULTISAMPLING_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774903i32 as _ ) ; pub const STATUS_GRAPHICS_NOT_A_LINKED_ADAPTER : NTSTATUS = NTSTATUS ( -1071774672i32 as _ ) ; pub const STATUS_GRAPHICS_NOT_EXCLUSIVE_MODE_OWNER : NTSTATUS = NTSTATUS ( -1071775744i32 as _ ) ; pub const STATUS_GRAPHICS_NOT_POST_DEVICE_DRIVER : NTSTATUS = NTSTATUS ( -1071774664i32 as _ ) ; pub const STATUS_GRAPHICS_NO_ACTIVE_VIDPN : NTSTATUS = NTSTATUS ( -1071774922i32 as _ ) ; pub const STATUS_GRAPHICS_NO_AVAILABLE_IMPORTANCE_ORDINALS : NTSTATUS = NTSTATUS ( -1071774892i32 as _ ) ; pub const STATUS_GRAPHICS_NO_AVAILABLE_VIDPN_TARGET : NTSTATUS = NTSTATUS ( -1071774925i32 as _ ) ; pub const STATUS_GRAPHICS_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME : NTSTATUS = NTSTATUS ( -1071774239i32 as _ ) ; pub const STATUS_GRAPHICS_NO_DISPLAY_MODE_MANAGEMENT_SUPPORT : NTSTATUS = NTSTATUS ( -1071774911i32 as _ ) ; pub const STATUS_GRAPHICS_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE : NTSTATUS = NTSTATUS ( -1071774235i32 as _ ) ; pub const STATUS_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET : NTSTATUS = NTSTATUS ( 1075708748i32 as _ ) ; pub const STATUS_GRAPHICS_NO_PREFERRED_MODE : NTSTATUS = NTSTATUS ( 1075708702i32 as _ ) ; pub const STATUS_GRAPHICS_NO_RECOMMENDED_FUNCTIONAL_VIDPN : NTSTATUS = NTSTATUS ( -1071774941i32 as _ ) ; pub const STATUS_GRAPHICS_NO_RECOMMENDED_VIDPN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774950i32 as _ ) ; pub const STATUS_GRAPHICS_NO_VIDEO_MEMORY : NTSTATUS = NTSTATUS ( -1071775488i32 as _ ) ; pub const STATUS_GRAPHICS_NO_VIDPNMGR : NTSTATUS = NTSTATUS ( -1071774923i32 as _ ) ; pub const STATUS_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774240i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_ALL_HDCP_HARDWARE_ALREADY_IN_USE : NTSTATUS = NTSTATUS ( -1071774440i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_DRIVER_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071774434i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_HDCP_SRM_NEVER_SET : NTSTATUS = NTSTATUS ( -1071774442i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071774453i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_CONFIGURATION_REQUEST : NTSTATUS = NTSTATUS ( -1071774431i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_ENCRYPTED_PARAMETERS : NTSTATUS = NTSTATUS ( -1071774461i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1071774452i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_INFORMATION_REQUEST : NTSTATUS = NTSTATUS ( -1071774435i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_SRM : NTSTATUS = NTSTATUS ( -1071774446i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774464i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_NO_PROTECTED_OUTPUTS_EXIST : NTSTATUS = NTSTATUS ( -1071774459i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_ACP : NTSTATUS = NTSTATUS ( -1071774444i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_CGMSA : NTSTATUS = NTSTATUS ( -1071774443i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_HDCP : NTSTATUS = NTSTATUS ( -1071774445i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_COPP_SEMANTICS : NTSTATUS = NTSTATUS ( -1071774436i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_OPM_SEMANTICS : NTSTATUS = NTSTATUS ( -1071774433i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_NO_LONGER_EXISTS : NTSTATUS = NTSTATUS ( -1071774438i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_RESOLUTION_TOO_HIGH : NTSTATUS = NTSTATUS ( -1071774441i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_SIGNALING_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774432i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_SPANNING_MODE_ENABLED : NTSTATUS = NTSTATUS ( -1071774449i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_THEATER_MODE_ENABLED : NTSTATUS = NTSTATUS ( -1071774448i32 as _ ) ; pub const STATUS_GRAPHICS_PARAMETER_ARRAY_TOO_SMALL : NTSTATUS = NTSTATUS ( -1071774234i32 as _ ) ; pub const STATUS_GRAPHICS_PARTIAL_DATA_POPULATED : NTSTATUS = NTSTATUS ( 1075707914i32 as _ ) ; pub const STATUS_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774957i32 as _ ) ; pub const STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED : NTSTATUS = NTSTATUS ( 1075708753i32 as _ ) ; pub const STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774906i32 as _ ) ; pub const STATUS_GRAPHICS_PATH_NOT_IN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774937i32 as _ ) ; pub const STATUS_GRAPHICS_PINNED_MODE_MUST_REMAIN_IN_SET : NTSTATUS = NTSTATUS ( -1071774958i32 as _ ) ; pub const STATUS_GRAPHICS_POLLING_TOO_FREQUENTLY : NTSTATUS = NTSTATUS ( 1075708985i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_BUFFER_NOT_BOUND : NTSTATUS = NTSTATUS ( -1071775728i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_DENIED : NTSTATUS = NTSTATUS ( -1071775737i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_INVALID_WINDOW : NTSTATUS = NTSTATUS ( -1071775729i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_MODE_CHANGED : NTSTATUS = NTSTATUS ( -1071775739i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_OCCLUDED : NTSTATUS = NTSTATUS ( -1071775738i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_REDIRECTION_DISABLED : NTSTATUS = NTSTATUS ( -1071775733i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_UNOCCLUDED : NTSTATUS = NTSTATUS ( -1071775732i32 as _ ) ; pub const STATUS_GRAPHICS_PVP_HFS_FAILED : NTSTATUS = NTSTATUS ( -1071774447i32 as _ ) ; pub const STATUS_GRAPHICS_PVP_INVALID_CERTIFICATE_LENGTH : NTSTATUS = NTSTATUS ( -1071774450i32 as _ ) ; pub const STATUS_GRAPHICS_RESOURCES_NOT_RELATED : NTSTATUS = NTSTATUS ( -1071774928i32 as _ ) ; pub const STATUS_GRAPHICS_SESSION_TYPE_CHANGE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071774232i32 as _ ) ; pub const STATUS_GRAPHICS_SKIP_ALLOCATION_PREPARATION : NTSTATUS = NTSTATUS ( 1075708417i32 as _ ) ; pub const STATUS_GRAPHICS_SOURCE_ALREADY_IN_SET : NTSTATUS = NTSTATUS ( -1071774953i32 as _ ) ; pub const STATUS_GRAPHICS_SOURCE_ID_MUST_BE_UNIQUE : NTSTATUS = NTSTATUS ( -1071774927i32 as _ ) ; pub const STATUS_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774919i32 as _ ) ; pub const STATUS_GRAPHICS_SPECIFIED_CHILD_ALREADY_CONNECTED : NTSTATUS = NTSTATUS ( -1071774720i32 as _ ) ; pub const STATUS_GRAPHICS_STALE_MODESET : NTSTATUS = NTSTATUS ( -1071774944i32 as _ ) ; pub const STATUS_GRAPHICS_STALE_VIDPN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774921i32 as _ ) ; pub const STATUS_GRAPHICS_START_DEFERRED : NTSTATUS = NTSTATUS ( 1075708986i32 as _ ) ; pub const STATUS_GRAPHICS_TARGET_ALREADY_IN_SET : NTSTATUS = NTSTATUS ( -1071774952i32 as _ ) ; pub const STATUS_GRAPHICS_TARGET_ID_MUST_BE_UNIQUE : NTSTATUS = NTSTATUS ( -1071774926i32 as _ ) ; pub const STATUS_GRAPHICS_TARGET_NOT_IN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774912i32 as _ ) ; pub const STATUS_GRAPHICS_TOO_MANY_REFERENCES : NTSTATUS = NTSTATUS ( -1071775485i32 as _ ) ; pub const STATUS_GRAPHICS_TOPOLOGY_CHANGES_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071774893i32 as _ ) ; pub const STATUS_GRAPHICS_TRY_AGAIN_LATER : NTSTATUS = NTSTATUS ( -1071775484i32 as _ ) ; pub const STATUS_GRAPHICS_TRY_AGAIN_NOW : NTSTATUS = NTSTATUS ( -1071775483i32 as _ ) ; pub const STATUS_GRAPHICS_UAB_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774462i32 as _ ) ; pub const STATUS_GRAPHICS_UNASSIGNED_MODESET_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1071774896i32 as _ ) ; pub const STATUS_GRAPHICS_UNKNOWN_CHILD_STATUS : NTSTATUS = NTSTATUS ( 1075708975i32 as _ ) ; pub const STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1071775481i32 as _ ) ; pub const STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNSUPPORTED : NTSTATUS = NTSTATUS ( -1071775480i32 as _ ) ; pub const STATUS_GRAPHICS_VAIL_STATE_CHANGED : NTSTATUS = NTSTATUS ( -1071775727i32 as _ ) ; pub const STATUS_GRAPHICS_VIDEO_PRESENT_TARGETS_LESS_THAN_SOURCES : NTSTATUS = NTSTATUS ( -1071774938i32 as _ ) ; pub const STATUS_GRAPHICS_VIDPN_MODALITY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774970i32 as _ ) ; pub const STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE : NTSTATUS = NTSTATUS ( -1071774910i32 as _ ) ; pub const STATUS_GRAPHICS_VIDPN_TOPOLOGY_CURRENTLY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774974i32 as _ ) ; pub const STATUS_GRAPHICS_VIDPN_TOPOLOGY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774975i32 as _ ) ; pub const STATUS_GRAPHICS_WINDOWDC_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1071775731i32 as _ ) ; pub const STATUS_GRAPHICS_WINDOWLESS_PRESENT_DISABLED : NTSTATUS = NTSTATUS ( -1071775730i32 as _ ) ; pub const STATUS_GRAPHICS_WRONG_ALLOCATION_DEVICE : NTSTATUS = NTSTATUS ( -1071775467i32 as _ ) ; pub const STATUS_GROUP_EXISTS : NTSTATUS = NTSTATUS ( -1073741723i32 as _ ) ; pub const STATUS_GUARD_PAGE_VIOLATION : NTSTATUS = NTSTATUS ( -2147483647i32 as _ ) ; pub const STATUS_GUIDS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073741693i32 as _ ) ; pub const STATUS_GUID_SUBSTITUTION_MADE : NTSTATUS = NTSTATUS ( -2147483636i32 as _ ) ; pub const STATUS_HANDLES_CLOSED : NTSTATUS = NTSTATUS ( -2147483638i32 as _ ) ; pub const STATUS_HANDLE_NOT_CLOSABLE : NTSTATUS = NTSTATUS ( -1073741259i32 as _ ) ; pub const STATUS_HANDLE_NO_LONGER_VALID : NTSTATUS = NTSTATUS ( -1072103384i32 as _ ) ; pub const STATUS_HANDLE_REVOKED : NTSTATUS = NTSTATUS ( -1073700858i32 as _ ) ; pub const STATUS_HARDWARE_MEMORY_ERROR : NTSTATUS = NTSTATUS ( -1073740023i32 as _ ) ; pub const STATUS_HASH_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073700607i32 as _ ) ; pub const STATUS_HASH_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700608i32 as _ ) ; pub const STATUS_HDAUDIO_CONNECTION_LIST_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1069285373i32 as _ ) ; pub const STATUS_HDAUDIO_EMPTY_CONNECTION_LIST : NTSTATUS = NTSTATUS ( -1069285374i32 as _ ) ; pub const STATUS_HDAUDIO_NO_LOGICAL_DEVICES_CREATED : NTSTATUS = NTSTATUS ( -1069285372i32 as _ ) ; pub const STATUS_HDAUDIO_NULL_LINKED_LIST_ENTRY : NTSTATUS = NTSTATUS ( -1069285371i32 as _ ) ; pub const STATUS_HEAP_CORRUPTION : NTSTATUS = NTSTATUS ( -1073740940i32 as _ ) ; pub const STATUS_HEURISTIC_DAMAGE_POSSIBLE : NTSTATUS = NTSTATUS ( 1075380225i32 as _ ) ; pub const STATUS_HIBERNATED : NTSTATUS = NTSTATUS ( 1073741866i32 as _ ) ; pub const STATUS_HIBERNATION_FAILURE : NTSTATUS = NTSTATUS ( -1073740783i32 as _ ) ; pub const STATUS_HIVE_UNLOADED : NTSTATUS = NTSTATUS ( -1073740763i32 as _ ) ; pub const STATUS_HMAC_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700863i32 as _ ) ; pub const STATUS_HOPLIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073700846i32 as _ ) ; pub const STATUS_HOST_DOWN : NTSTATUS = NTSTATUS ( -1073740976i32 as _ ) ; pub const STATUS_HOST_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073741251i32 as _ ) ; pub const STATUS_HUNG_DISPLAY_DRIVER_THREAD : NTSTATUS = NTSTATUS ( -1073740779i32 as _ ) ; pub const STATUS_HV_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1070268410i32 as _ ) ; pub const STATUS_HV_ACKNOWLEDGED : NTSTATUS = NTSTATUS ( -1070268394i32 as _ ) ; pub const STATUS_HV_CPUID_FEATURE_VALIDATION_ERROR : NTSTATUS = NTSTATUS ( -1070268356i32 as _ ) ; pub const STATUS_HV_CPUID_XSAVE_FEATURE_VALIDATION_ERROR : NTSTATUS = NTSTATUS ( -1070268355i32 as _ ) ; pub const STATUS_HV_EVENT_BUFFER_ALREADY_FREED : NTSTATUS = NTSTATUS ( -1070268300i32 as _ ) ; pub const STATUS_HV_FEATURE_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1070268386i32 as _ ) ; pub const STATUS_HV_INACTIVE : NTSTATUS = NTSTATUS ( -1070268388i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_BUFFER : NTSTATUS = NTSTATUS ( -1070268365i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_BUFFERS : NTSTATUS = NTSTATUS ( -1070268397i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_CONTIGUOUS_MEMORY : NTSTATUS = NTSTATUS ( -1070268299i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_DEVICE_DOMAINS : NTSTATUS = NTSTATUS ( -1070268360i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_MEMORY : NTSTATUS = NTSTATUS ( -1070268405i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_ROOT_MEMORY : NTSTATUS = NTSTATUS ( -1070268301i32 as _ ) ; pub const STATUS_HV_INVALID_ALIGNMENT : NTSTATUS = NTSTATUS ( -1070268412i32 as _ ) ; pub const STATUS_HV_INVALID_CONNECTION_ID : NTSTATUS = NTSTATUS ( -1070268398i32 as _ ) ; pub const STATUS_HV_INVALID_CPU_GROUP_ID : NTSTATUS = NTSTATUS ( -1070268305i32 as _ ) ; pub const STATUS_HV_INVALID_CPU_GROUP_STATE : NTSTATUS = NTSTATUS ( -1070268304i32 as _ ) ; pub const STATUS_HV_INVALID_DEVICE_ID : NTSTATUS = NTSTATUS ( -1070268329i32 as _ ) ; pub const STATUS_HV_INVALID_DEVICE_STATE : NTSTATUS = NTSTATUS ( -1070268328i32 as _ ) ; pub const STATUS_HV_INVALID_HYPERCALL_CODE : NTSTATUS = NTSTATUS ( -1070268414i32 as _ ) ; pub const STATUS_HV_INVALID_HYPERCALL_INPUT : NTSTATUS = NTSTATUS ( -1070268413i32 as _ ) ; pub const STATUS_HV_INVALID_LP_INDEX : NTSTATUS = NTSTATUS ( -1070268351i32 as _ ) ; pub const STATUS_HV_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1070268411i32 as _ ) ; pub const STATUS_HV_INVALID_PARTITION_ID : NTSTATUS = NTSTATUS ( -1070268403i32 as _ ) ; pub const STATUS_HV_INVALID_PARTITION_STATE : NTSTATUS = NTSTATUS ( -1070268409i32 as _ ) ; pub const STATUS_HV_INVALID_PORT_ID : NTSTATUS = NTSTATUS ( -1070268399i32 as _ ) ; pub const STATUS_HV_INVALID_PROXIMITY_DOMAIN_INFO : NTSTATUS = NTSTATUS ( -1070268390i32 as _ ) ; pub const STATUS_HV_INVALID_REGISTER_VALUE : NTSTATUS = NTSTATUS ( -1070268336i32 as _ ) ; pub const STATUS_HV_INVALID_SAVE_RESTORE_STATE : NTSTATUS = NTSTATUS ( -1070268393i32 as _ ) ; pub const STATUS_HV_INVALID_SYNIC_STATE : NTSTATUS = NTSTATUS ( -1070268392i32 as _ ) ; pub const STATUS_HV_INVALID_VP_INDEX : NTSTATUS = NTSTATUS ( -1070268402i32 as _ ) ; pub const STATUS_HV_INVALID_VP_STATE : NTSTATUS = NTSTATUS ( -1070268395i32 as _ ) ; pub const STATUS_HV_INVALID_VTL_STATE : NTSTATUS = NTSTATUS ( -1070268335i32 as _ ) ; pub const STATUS_HV_NOT_ACKNOWLEDGED : NTSTATUS = NTSTATUS ( -1070268396i32 as _ ) ; pub const STATUS_HV_NOT_ALLOWED_WITH_NESTED_VIRT_ACTIVE : NTSTATUS = NTSTATUS ( -1070268302i32 as _ ) ; pub const STATUS_HV_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1070264320i32 as _ ) ; pub const STATUS_HV_NO_DATA : NTSTATUS = NTSTATUS ( -1070268389i32 as _ ) ; pub const STATUS_HV_NO_RESOURCES : NTSTATUS = NTSTATUS ( -1070268387i32 as _ ) ; pub const STATUS_HV_NX_NOT_DETECTED : NTSTATUS = NTSTATUS ( -1070268331i32 as _ ) ; pub const STATUS_HV_OBJECT_IN_USE : NTSTATUS = NTSTATUS ( -1070268391i32 as _ ) ; pub const STATUS_HV_OPERATION_DENIED : NTSTATUS = NTSTATUS ( -1070268408i32 as _ ) ; pub const STATUS_HV_OPERATION_FAILED : NTSTATUS = NTSTATUS ( -1070268303i32 as _ ) ; pub const STATUS_HV_PAGE_REQUEST_INVALID : NTSTATUS = NTSTATUS ( -1070268320i32 as _ ) ; pub const STATUS_HV_PARTITION_TOO_DEEP : NTSTATUS = NTSTATUS ( -1070268404i32 as _ ) ; pub const STATUS_HV_PENDING_PAGE_REQUESTS : NTSTATUS = NTSTATUS ( 3473497i32 as _ ) ; pub const STATUS_HV_PROCESSOR_STARTUP_TIMEOUT : NTSTATUS = NTSTATUS ( -1070268354i32 as _ ) ; pub const STATUS_HV_PROPERTY_VALUE_OUT_OF_RANGE : NTSTATUS = NTSTATUS ( -1070268406i32 as _ ) ; pub const STATUS_HV_SMX_ENABLED : NTSTATUS = NTSTATUS ( -1070268353i32 as _ ) ; pub const STATUS_HV_UNKNOWN_PROPERTY : NTSTATUS = NTSTATUS ( -1070268407i32 as _ ) ; pub const STATUS_ILLEGAL_CHARACTER : NTSTATUS = NTSTATUS ( -1073741471i32 as _ ) ; pub const STATUS_ILLEGAL_DLL_RELOCATION : NTSTATUS = NTSTATUS ( -1073741207i32 as _ ) ; pub const STATUS_ILLEGAL_ELEMENT_ADDRESS : NTSTATUS = NTSTATUS ( -1073741179i32 as _ ) ; pub const STATUS_ILLEGAL_FLOAT_CONTEXT : NTSTATUS = NTSTATUS ( -1073741494i32 as _ ) ; pub const STATUS_ILLEGAL_FUNCTION : NTSTATUS = NTSTATUS ( -1073741649i32 as _ ) ; pub const STATUS_ILLEGAL_INSTRUCTION : NTSTATUS = NTSTATUS ( -1073741795i32 as _ ) ; pub const STATUS_ILL_FORMED_PASSWORD : NTSTATUS = NTSTATUS ( -1073741717i32 as _ ) ; pub const STATUS_ILL_FORMED_SERVICE_ENTRY : NTSTATUS = NTSTATUS ( -1073741472i32 as _ ) ; pub const STATUS_IMAGE_ALREADY_LOADED : NTSTATUS = NTSTATUS ( -1073741554i32 as _ ) ; pub const STATUS_IMAGE_ALREADY_LOADED_AS_DLL : NTSTATUS = NTSTATUS ( -1073741411i32 as _ ) ; pub const STATUS_IMAGE_AT_DIFFERENT_BASE : NTSTATUS = NTSTATUS ( 1073741878i32 as _ ) ; pub const STATUS_IMAGE_CERT_EXPIRED : NTSTATUS = NTSTATUS ( -1073740283i32 as _ ) ; pub const STATUS_IMAGE_CERT_REVOKED : NTSTATUS = NTSTATUS ( -1073740285i32 as _ ) ; pub const STATUS_IMAGE_CHECKSUM_MISMATCH : NTSTATUS = NTSTATUS ( -1073741279i32 as _ ) ; pub const STATUS_IMAGE_MACHINE_TYPE_MISMATCH : NTSTATUS = NTSTATUS ( 1073741838i32 as _ ) ; pub const STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE : NTSTATUS = NTSTATUS ( 1073741859i32 as _ ) ; pub const STATUS_IMAGE_MP_UP_MISMATCH : NTSTATUS = NTSTATUS ( -1073741239i32 as _ ) ; pub const STATUS_IMAGE_NOT_AT_BASE : NTSTATUS = NTSTATUS ( 1073741827i32 as _ ) ; pub const STATUS_IMAGE_SUBSYSTEM_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073741405i32 as _ ) ; pub const STATUS_IMPLEMENTATION_LIMIT : NTSTATUS = NTSTATUS ( -1073740757i32 as _ ) ; pub const STATUS_INCOMPATIBLE_DRIVER_BLOCKED : NTSTATUS = NTSTATUS ( -1073740764i32 as _ ) ; pub const STATUS_INCOMPATIBLE_FILE_MAP : NTSTATUS = NTSTATUS ( -1073741747i32 as _ ) ; pub const STATUS_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING : NTSTATUS = NTSTATUS ( -1073741410i32 as _ ) ; pub const STATUS_INCORRECT_ACCOUNT_TYPE : NTSTATUS = NTSTATUS ( -1073700727i32 as _ ) ; pub const STATUS_INDOUBT_TRANSACTIONS_EXIST : NTSTATUS = NTSTATUS ( -1072103366i32 as _ ) ; pub const STATUS_INFO_LENGTH_MISMATCH : NTSTATUS = NTSTATUS ( -1073741820i32 as _ ) ; pub const STATUS_INSTANCE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073741653i32 as _ ) ; pub const STATUS_INSTRUCTION_MISALIGNMENT : NTSTATUS = NTSTATUS ( -1073741654i32 as _ ) ; pub const STATUS_INSUFFICIENT_LOGON_INFO : NTSTATUS = NTSTATUS ( -1073741232i32 as _ ) ; pub const STATUS_INSUFFICIENT_NVRAM_RESOURCES : NTSTATUS = NTSTATUS ( -1073740716i32 as _ ) ; pub const STATUS_INSUFFICIENT_POWER : NTSTATUS = NTSTATUS ( -1073741090i32 as _ ) ; pub const STATUS_INSUFFICIENT_RESOURCES : NTSTATUS = NTSTATUS ( -1073741670i32 as _ ) ; pub const STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE : NTSTATUS = NTSTATUS ( -1073740778i32 as _ ) ; pub const STATUS_INSUFF_SERVER_RESOURCES : NTSTATUS = NTSTATUS ( -1073741307i32 as _ ) ; pub const STATUS_INTEGER_DIVIDE_BY_ZERO : NTSTATUS = NTSTATUS ( -1073741676i32 as _ ) ; pub const STATUS_INTEGER_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741675i32 as _ ) ; pub const STATUS_INTERMIXED_KERNEL_EA_OPERATION : NTSTATUS = NTSTATUS ( -1073740687i32 as _ ) ; pub const STATUS_INTERNAL_DB_CORRUPTION : NTSTATUS = NTSTATUS ( -1073741596i32 as _ ) ; pub const STATUS_INTERNAL_DB_ERROR : NTSTATUS = NTSTATUS ( -1073741480i32 as _ ) ; pub const STATUS_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1073741595i32 as _ ) ; pub const STATUS_INTERRUPTED : NTSTATUS = NTSTATUS ( -1073740523i32 as _ ) ; pub const STATUS_INTERRUPT_STILL_CONNECTED : NTSTATUS = NTSTATUS ( 296i32 as _ ) ; pub const STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED : NTSTATUS = NTSTATUS ( 295i32 as _ ) ; pub const STATUS_INVALID_ACCOUNT_NAME : NTSTATUS = NTSTATUS ( -1073741726i32 as _ ) ; pub const STATUS_INVALID_ACE_CONDITION : NTSTATUS = NTSTATUS ( -1073741406i32 as _ ) ; pub const STATUS_INVALID_ACL : NTSTATUS = NTSTATUS ( -1073741705i32 as _ ) ; pub const STATUS_INVALID_ADDRESS : NTSTATUS = NTSTATUS ( -1073741503i32 as _ ) ; pub const STATUS_INVALID_ADDRESS_COMPONENT : NTSTATUS = NTSTATUS ( -1073741305i32 as _ ) ; pub const STATUS_INVALID_ADDRESS_WILDCARD : NTSTATUS = NTSTATUS ( -1073741304i32 as _ ) ; pub const STATUS_INVALID_BLOCK_LENGTH : NTSTATUS = NTSTATUS ( -1073741453i32 as _ ) ; pub const STATUS_INVALID_BUFFER_SIZE : NTSTATUS = NTSTATUS ( -1073741306i32 as _ ) ; pub const STATUS_INVALID_CAP : NTSTATUS = NTSTATUS ( -1073740539i32 as _ ) ; pub const STATUS_INVALID_CID : NTSTATUS = NTSTATUS ( -1073741813i32 as _ ) ; pub const STATUS_INVALID_COMPUTER_NAME : NTSTATUS = NTSTATUS ( -1073741534i32 as _ ) ; pub const STATUS_INVALID_CONNECTION : NTSTATUS = NTSTATUS ( -1073741504i32 as _ ) ; pub const STATUS_INVALID_CRUNTIME_PARAMETER : NTSTATUS = NTSTATUS ( -1073740777i32 as _ ) ; pub const STATUS_INVALID_DEVICE_OBJECT_PARAMETER : NTSTATUS = NTSTATUS ( -1073740951i32 as _ ) ; pub const STATUS_INVALID_DEVICE_REQUEST : NTSTATUS = NTSTATUS ( -1073741808i32 as _ ) ; pub const STATUS_INVALID_DEVICE_STATE : NTSTATUS = NTSTATUS ( -1073741436i32 as _ ) ; pub const STATUS_INVALID_DISPOSITION : NTSTATUS = NTSTATUS ( -1073741786i32 as _ ) ; pub const STATUS_INVALID_DOMAIN_ROLE : NTSTATUS = NTSTATUS ( -1073741602i32 as _ ) ; pub const STATUS_INVALID_DOMAIN_STATE : NTSTATUS = NTSTATUS ( -1073741603i32 as _ ) ; pub const STATUS_INVALID_EA_FLAG : NTSTATUS = NTSTATUS ( -2147483627i32 as _ ) ; pub const STATUS_INVALID_EA_NAME : NTSTATUS = NTSTATUS ( -2147483629i32 as _ ) ; pub const STATUS_INVALID_EXCEPTION_HANDLER : NTSTATUS = NTSTATUS ( -1073741403i32 as _ ) ; pub const STATUS_INVALID_FIELD_IN_PARAMETER_LIST : NTSTATUS = NTSTATUS ( -1073740683i32 as _ ) ; pub const STATUS_INVALID_FILE_FOR_SECTION : NTSTATUS = NTSTATUS ( -1073741792i32 as _ ) ; pub const STATUS_INVALID_GROUP_ATTRIBUTES : NTSTATUS = NTSTATUS ( -1073741660i32 as _ ) ; pub const STATUS_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1073741816i32 as _ ) ; pub const STATUS_INVALID_HW_PROFILE : NTSTATUS = NTSTATUS ( -1073741216i32 as _ ) ; pub const STATUS_INVALID_IDN_NORMALIZATION : NTSTATUS = NTSTATUS ( -1073740010i32 as _ ) ; pub const STATUS_INVALID_ID_AUTHORITY : NTSTATUS = NTSTATUS ( -1073741692i32 as _ ) ; pub const STATUS_INVALID_IMAGE_FORMAT : NTSTATUS = NTSTATUS ( -1073741701i32 as _ ) ; pub const STATUS_INVALID_IMAGE_HASH : NTSTATUS = NTSTATUS ( -1073740760i32 as _ ) ; pub const STATUS_INVALID_IMAGE_LE_FORMAT : NTSTATUS = NTSTATUS ( -1073741522i32 as _ ) ; pub const STATUS_INVALID_IMAGE_NE_FORMAT : NTSTATUS = NTSTATUS ( -1073741541i32 as _ ) ; pub const STATUS_INVALID_IMAGE_NOT_MZ : NTSTATUS = NTSTATUS ( -1073741521i32 as _ ) ; pub const STATUS_INVALID_IMAGE_PROTECT : NTSTATUS = NTSTATUS ( -1073741520i32 as _ ) ; pub const STATUS_INVALID_IMAGE_WIN_16 : NTSTATUS = NTSTATUS ( -1073741519i32 as _ ) ; pub const STATUS_INVALID_IMAGE_WIN_32 : NTSTATUS = NTSTATUS ( -1073740967i32 as _ ) ; pub const STATUS_INVALID_IMAGE_WIN_64 : NTSTATUS = NTSTATUS ( -1073740966i32 as _ ) ; pub const STATUS_INVALID_IMPORT_OF_NON_DLL : NTSTATUS = NTSTATUS ( -1073740945i32 as _ ) ; pub const STATUS_INVALID_INFO_CLASS : NTSTATUS = NTSTATUS ( -1073741821i32 as _ ) ; pub const STATUS_INVALID_INITIATOR_TARGET_PATH : NTSTATUS = NTSTATUS ( -1073740681i32 as _ ) ; pub const STATUS_INVALID_KERNEL_INFO_VERSION : NTSTATUS = NTSTATUS ( -1073700860i32 as _ ) ; pub const STATUS_INVALID_LABEL : NTSTATUS = NTSTATUS ( -1073740730i32 as _ ) ; pub const STATUS_INVALID_LDT_DESCRIPTOR : NTSTATUS = NTSTATUS ( -1073741542i32 as _ ) ; pub const STATUS_INVALID_LDT_OFFSET : NTSTATUS = NTSTATUS ( -1073741543i32 as _ ) ; pub const STATUS_INVALID_LDT_SIZE : NTSTATUS = NTSTATUS ( -1073741544i32 as _ ) ; pub const STATUS_INVALID_LEVEL : NTSTATUS = NTSTATUS ( -1073741496i32 as _ ) ; pub const STATUS_INVALID_LOCK_RANGE : NTSTATUS = NTSTATUS ( -1073741407i32 as _ ) ; pub const STATUS_INVALID_LOCK_SEQUENCE : NTSTATUS = NTSTATUS ( -1073741794i32 as _ ) ; pub const STATUS_INVALID_LOGON_HOURS : NTSTATUS = NTSTATUS ( -1073741713i32 as _ ) ; pub const STATUS_INVALID_LOGON_TYPE : NTSTATUS = NTSTATUS ( -1073741557i32 as _ ) ; pub const STATUS_INVALID_MEMBER : NTSTATUS = NTSTATUS ( -1073741445i32 as _ ) ; pub const STATUS_INVALID_MESSAGE : NTSTATUS = NTSTATUS ( -1073740030i32 as _ ) ; pub const STATUS_INVALID_NETWORK_RESPONSE : NTSTATUS = NTSTATUS ( -1073741629i32 as _ ) ; pub const STATUS_INVALID_OFFSET_ALIGNMENT : NTSTATUS = NTSTATUS ( -1073740684i32 as _ ) ; pub const STATUS_INVALID_OPLOCK_PROTOCOL : NTSTATUS = NTSTATUS ( -1073741597i32 as _ ) ; pub const STATUS_INVALID_OWNER : NTSTATUS = NTSTATUS ( -1073741734i32 as _ ) ; pub const STATUS_INVALID_PACKAGE_SID_LENGTH : NTSTATUS = NTSTATUS ( -1073700350i32 as _ ) ; pub const STATUS_INVALID_PAGE_PROTECTION : NTSTATUS = NTSTATUS ( -1073741755i32 as _ ) ; pub const STATUS_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1073741811i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_1 : NTSTATUS = NTSTATUS ( -1073741585i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_10 : NTSTATUS = NTSTATUS ( -1073741576i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_11 : NTSTATUS = NTSTATUS ( -1073741575i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_12 : NTSTATUS = NTSTATUS ( -1073741574i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_2 : NTSTATUS = NTSTATUS ( -1073741584i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_3 : NTSTATUS = NTSTATUS ( -1073741583i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_4 : NTSTATUS = NTSTATUS ( -1073741582i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_5 : NTSTATUS = NTSTATUS ( -1073741581i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_6 : NTSTATUS = NTSTATUS ( -1073741580i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_7 : NTSTATUS = NTSTATUS ( -1073741579i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_8 : NTSTATUS = NTSTATUS ( -1073741578i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_9 : NTSTATUS = NTSTATUS ( -1073741577i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_MIX : NTSTATUS = NTSTATUS ( -1073741776i32 as _ ) ; pub const STATUS_INVALID_PEP_INFO_VERSION : NTSTATUS = NTSTATUS ( -1073700859i32 as _ ) ; pub const STATUS_INVALID_PIPE_STATE : NTSTATUS = NTSTATUS ( -1073741651i32 as _ ) ; pub const STATUS_INVALID_PLUGPLAY_DEVICE_PATH : NTSTATUS = NTSTATUS ( -1073741215i32 as _ ) ; pub const STATUS_INVALID_PORT_ATTRIBUTES : NTSTATUS = NTSTATUS ( -1073741778i32 as _ ) ; pub const STATUS_INVALID_PORT_HANDLE : NTSTATUS = NTSTATUS ( -1073741758i32 as _ ) ; pub const STATUS_INVALID_PRIMARY_GROUP : NTSTATUS = NTSTATUS ( -1073741733i32 as _ ) ; pub const STATUS_INVALID_QUOTA_LOWER : NTSTATUS = NTSTATUS ( -1073741775i32 as _ ) ; pub const STATUS_INVALID_READ_MODE : NTSTATUS = NTSTATUS ( -1073741644i32 as _ ) ; pub const STATUS_INVALID_RUNLEVEL_SETTING : NTSTATUS = NTSTATUS ( -1073700542i32 as _ ) ; pub const STATUS_INVALID_SECURITY_DESCR : NTSTATUS = NTSTATUS ( -1073741703i32 as _ ) ; pub const STATUS_INVALID_SERVER_STATE : NTSTATUS = NTSTATUS ( -1073741604i32 as _ ) ; pub const STATUS_INVALID_SESSION : NTSTATUS = NTSTATUS ( -1073740715i32 as _ ) ; pub const STATUS_INVALID_SID : NTSTATUS = NTSTATUS ( -1073741704i32 as _ ) ; pub const STATUS_INVALID_SIGNATURE : NTSTATUS = NTSTATUS ( -1073700864i32 as _ ) ; pub const STATUS_INVALID_STATE_TRANSITION : NTSTATUS = NTSTATUS ( -1073700861i32 as _ ) ; pub const STATUS_INVALID_SUB_AUTHORITY : NTSTATUS = NTSTATUS ( -1073741706i32 as _ ) ; pub const STATUS_INVALID_SYSTEM_SERVICE : NTSTATUS = NTSTATUS ( -1073741796i32 as _ ) ; pub const STATUS_INVALID_TASK_INDEX : NTSTATUS = NTSTATUS ( -1073740543i32 as _ ) ; pub const STATUS_INVALID_TASK_NAME : NTSTATUS = NTSTATUS ( -1073740544i32 as _ ) ; pub const STATUS_INVALID_THREAD : NTSTATUS = NTSTATUS ( -1073740004i32 as _ ) ; pub const STATUS_INVALID_TOKEN : NTSTATUS = NTSTATUS ( -1073740699i32 as _ ) ; pub const STATUS_INVALID_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103422i32 as _ ) ; pub const STATUS_INVALID_UNWIND_TARGET : NTSTATUS = NTSTATUS ( -1073741783i32 as _ ) ; pub const STATUS_INVALID_USER_BUFFER : NTSTATUS = NTSTATUS ( -1073741592i32 as _ ) ; pub const STATUS_INVALID_USER_PRINCIPAL_NAME : NTSTATUS = NTSTATUS ( -1073740772i32 as _ ) ; pub const STATUS_INVALID_VARIANT : NTSTATUS = NTSTATUS ( -1073741262i32 as _ ) ; pub const STATUS_INVALID_VIEW_SIZE : NTSTATUS = NTSTATUS ( -1073741793i32 as _ ) ; pub const STATUS_INVALID_VOLUME_LABEL : NTSTATUS = NTSTATUS ( -1073741690i32 as _ ) ; pub const STATUS_INVALID_WEIGHT : NTSTATUS = NTSTATUS ( -1073740712i32 as _ ) ; pub const STATUS_INVALID_WORKSTATION : NTSTATUS = NTSTATUS ( -1073741712i32 as _ ) ; pub const STATUS_IN_PAGE_ERROR : NTSTATUS = NTSTATUS ( -1073741818i32 as _ ) ; pub const STATUS_IO_DEVICE_ERROR : NTSTATUS = NTSTATUS ( -1073741435i32 as _ ) ; pub const STATUS_IO_DEVICE_INVALID_DATA : NTSTATUS = NTSTATUS ( -1073741392i32 as _ ) ; pub const STATUS_IO_OPERATION_TIMEOUT : NTSTATUS = NTSTATUS ( -1073740675i32 as _ ) ; pub const STATUS_IO_PREEMPTED : NTSTATUS = NTSTATUS ( -1068433407i32 as _ ) ; pub const STATUS_IO_PRIVILEGE_FAILED : NTSTATUS = NTSTATUS ( -1073741513i32 as _ ) ; pub const STATUS_IO_REISSUE_AS_CACHED : NTSTATUS = NTSTATUS ( -1073479623i32 as _ ) ; pub const STATUS_IO_REPARSE_DATA_INVALID : NTSTATUS = NTSTATUS ( -1073741192i32 as _ ) ; pub const STATUS_IO_REPARSE_TAG_INVALID : NTSTATUS = NTSTATUS ( -1073741194i32 as _ ) ; pub const STATUS_IO_REPARSE_TAG_MISMATCH : NTSTATUS = NTSTATUS ( -1073741193i32 as _ ) ; pub const STATUS_IO_REPARSE_TAG_NOT_HANDLED : NTSTATUS = NTSTATUS ( -1073741191i32 as _ ) ; pub const STATUS_IO_TIMEOUT : NTSTATUS = NTSTATUS ( -1073741643i32 as _ ) ; pub const STATUS_IO_UNALIGNED_WRITE : NTSTATUS = NTSTATUS ( -1073741391i32 as _ ) ; pub const STATUS_IPSEC_AUTH_FIREWALL_DROP : NTSTATUS = NTSTATUS ( -1070202872i32 as _ ) ; pub const STATUS_IPSEC_BAD_SPI : NTSTATUS = NTSTATUS ( -1070202879i32 as _ ) ; pub const STATUS_IPSEC_CLEAR_TEXT_DROP : NTSTATUS = NTSTATUS ( -1070202873i32 as _ ) ; pub const STATUS_IPSEC_DOSP_BLOCK : NTSTATUS = NTSTATUS ( -1070170112i32 as _ ) ; pub const STATUS_IPSEC_DOSP_INVALID_PACKET : NTSTATUS = NTSTATUS ( -1070170110i32 as _ ) ; pub const STATUS_IPSEC_DOSP_KEYMOD_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1070170107i32 as _ ) ; pub const STATUS_IPSEC_DOSP_MAX_ENTRIES : NTSTATUS = NTSTATUS ( -1070170108i32 as _ ) ; pub const STATUS_IPSEC_DOSP_MAX_PER_IP_RATELIMIT_QUEUES : NTSTATUS = NTSTATUS ( -1070170106i32 as _ ) ; pub const STATUS_IPSEC_DOSP_RECEIVED_MULTICAST : NTSTATUS = NTSTATUS ( -1070170111i32 as _ ) ; pub const STATUS_IPSEC_DOSP_STATE_LOOKUP_FAILED : NTSTATUS = NTSTATUS ( -1070170109i32 as _ ) ; pub const STATUS_IPSEC_INTEGRITY_CHECK_FAILED : NTSTATUS = NTSTATUS ( -1070202874i32 as _ ) ; pub const STATUS_IPSEC_INVALID_PACKET : NTSTATUS = NTSTATUS ( -1070202875i32 as _ ) ; pub const STATUS_IPSEC_QUEUE_OVERFLOW : NTSTATUS = NTSTATUS ( -1073700848i32 as _ ) ; pub const STATUS_IPSEC_REPLAY_CHECK_FAILED : NTSTATUS = NTSTATUS ( -1070202876i32 as _ ) ; pub const STATUS_IPSEC_SA_LIFETIME_EXPIRED : NTSTATUS = NTSTATUS ( -1070202878i32 as _ ) ; pub const STATUS_IPSEC_THROTTLE_DROP : NTSTATUS = NTSTATUS ( -1070202871i32 as _ ) ; pub const STATUS_IPSEC_WRONG_SA : NTSTATUS = NTSTATUS ( -1070202877i32 as _ ) ; pub const STATUS_IP_ADDRESS_CONFLICT1 : NTSTATUS = NTSTATUS ( -1073741228i32 as _ ) ; pub const STATUS_IP_ADDRESS_CONFLICT2 : NTSTATUS = NTSTATUS ( -1073741227i32 as _ ) ; pub const STATUS_ISSUING_CA_UNTRUSTED : NTSTATUS = NTSTATUS ( -1073740918i32 as _ ) ; pub const STATUS_ISSUING_CA_UNTRUSTED_KDC : NTSTATUS = NTSTATUS ( -1073740787i32 as _ ) ; pub const STATUS_JOB_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1073740529i32 as _ ) ; pub const STATUS_JOB_NO_CONTAINER : NTSTATUS = NTSTATUS ( -1073740535i32 as _ ) ; pub const STATUS_JOURNAL_DELETE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073741129i32 as _ ) ; pub const STATUS_JOURNAL_ENTRY_DELETED : NTSTATUS = NTSTATUS ( -1073741105i32 as _ ) ; pub const STATUS_JOURNAL_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1073741128i32 as _ ) ; pub const STATUS_KDC_CERT_EXPIRED : NTSTATUS = NTSTATUS ( -1073740786i32 as _ ) ; pub const STATUS_KDC_CERT_REVOKED : NTSTATUS = NTSTATUS ( -1073740785i32 as _ ) ; pub const STATUS_KDC_INVALID_REQUEST : NTSTATUS = NTSTATUS ( -1073741061i32 as _ ) ; pub const STATUS_KDC_UNABLE_TO_REFER : NTSTATUS = NTSTATUS ( -1073741060i32 as _ ) ; pub const STATUS_KDC_UNKNOWN_ETYPE : NTSTATUS = NTSTATUS ( -1073741059i32 as _ ) ; pub const STATUS_KERNEL_APC : NTSTATUS = NTSTATUS ( 256i32 as _ ) ; pub const STATUS_KERNEL_EXECUTABLE_MEMORY_WRITE : NTSTATUS = NTSTATUS ( -1073739996i32 as _ ) ; pub const STATUS_KEY_DELETED : NTSTATUS = NTSTATUS ( -1073741444i32 as _ ) ; pub const STATUS_KEY_HAS_CHILDREN : NTSTATUS = NTSTATUS ( -1073741440i32 as _ ) ; pub const STATUS_LAST_ADMIN : NTSTATUS = NTSTATUS ( -1073741719i32 as _ ) ; pub const STATUS_LICENSE_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741223i32 as _ ) ; pub const STATUS_LICENSE_VIOLATION : NTSTATUS = NTSTATUS ( -1073741206i32 as _ ) ; pub const STATUS_LINK_FAILED : NTSTATUS = NTSTATUS ( -1073741506i32 as _ ) ; pub const STATUS_LINK_TIMEOUT : NTSTATUS = NTSTATUS ( -1073741505i32 as _ ) ; pub const STATUS_LM_CROSS_ENCRYPTION_REQUIRED : NTSTATUS = NTSTATUS ( -1073741441i32 as _ ) ; pub const STATUS_LOCAL_DISCONNECT : NTSTATUS = NTSTATUS ( -1073741509i32 as _ ) ; pub const STATUS_LOCAL_USER_SESSION_KEY : NTSTATUS = NTSTATUS ( 1073741830i32 as _ ) ; pub const STATUS_LOCK_NOT_GRANTED : NTSTATUS = NTSTATUS ( -1073741739i32 as _ ) ; pub const STATUS_LOGIN_TIME_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741241i32 as _ ) ; pub const STATUS_LOGIN_WKSTA_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741240i32 as _ ) ; pub const STATUS_LOGON_NOT_GRANTED : NTSTATUS = NTSTATUS ( -1073741483i32 as _ ) ; pub const STATUS_LOGON_SERVER_CONFLICT : NTSTATUS = NTSTATUS ( -1073741518i32 as _ ) ; pub const STATUS_LOGON_SESSION_COLLISION : NTSTATUS = NTSTATUS ( -1073741563i32 as _ ) ; pub const STATUS_LOGON_SESSION_EXISTS : NTSTATUS = NTSTATUS ( -1073741586i32 as _ ) ; pub const STATUS_LOG_APPENDED_FLUSH_FAILED : NTSTATUS = NTSTATUS ( -1072037841i32 as _ ) ; pub const STATUS_LOG_ARCHIVE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072037855i32 as _ ) ; pub const STATUS_LOG_ARCHIVE_NOT_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072037856i32 as _ ) ; pub const STATUS_LOG_BLOCKS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1072037882i32 as _ ) ; pub const STATUS_LOG_BLOCK_INCOMPLETE : NTSTATUS = NTSTATUS ( -1072037884i32 as _ ) ; pub const STATUS_LOG_BLOCK_INVALID : NTSTATUS = NTSTATUS ( -1072037878i32 as _ ) ; pub const STATUS_LOG_BLOCK_VERSION : NTSTATUS = NTSTATUS ( -1072037879i32 as _ ) ; pub const STATUS_LOG_CANT_DELETE : NTSTATUS = NTSTATUS ( -1072037871i32 as _ ) ; pub const STATUS_LOG_CLIENT_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1072037852i32 as _ ) ; pub const STATUS_LOG_CLIENT_NOT_REGISTERED : NTSTATUS = NTSTATUS ( -1072037851i32 as _ ) ; pub const STATUS_LOG_CONTAINER_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1072037870i32 as _ ) ; pub const STATUS_LOG_CONTAINER_OPEN_FAILED : NTSTATUS = NTSTATUS ( -1072037847i32 as _ ) ; pub const STATUS_LOG_CONTAINER_READ_FAILED : NTSTATUS = NTSTATUS ( -1072037849i32 as _ ) ; pub const STATUS_LOG_CONTAINER_STATE_INVALID : NTSTATUS = NTSTATUS ( -1072037846i32 as _ ) ; pub const STATUS_LOG_CONTAINER_WRITE_FAILED : NTSTATUS = NTSTATUS ( -1072037848i32 as _ ) ; pub const STATUS_LOG_CORRUPTION_DETECTED : NTSTATUS = NTSTATUS ( -1072103376i32 as _ ) ; pub const STATUS_LOG_DEDICATED : NTSTATUS = NTSTATUS ( -1072037857i32 as _ ) ; pub const STATUS_LOG_EPHEMERAL : NTSTATUS = NTSTATUS ( -1072037854i32 as _ ) ; pub const STATUS_LOG_FILE_FULL : NTSTATUS = NTSTATUS ( -1073741432i32 as _ ) ; pub const STATUS_LOG_FULL : NTSTATUS = NTSTATUS ( -1072037859i32 as _ ) ; pub const STATUS_LOG_FULL_HANDLER_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072037850i32 as _ ) ; pub const STATUS_LOG_GROWTH_FAILED : NTSTATUS = NTSTATUS ( -1072103399i32 as _ ) ; pub const STATUS_LOG_HARD_ERROR : NTSTATUS = NTSTATUS ( 1073741850i32 as _ ) ; pub const STATUS_LOG_INCONSISTENT_SECURITY : NTSTATUS = NTSTATUS ( -1072037842i32 as _ ) ; pub const STATUS_LOG_INVALID_RANGE : NTSTATUS = NTSTATUS ( -1072037883i32 as _ ) ; pub const STATUS_LOG_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1072037875i32 as _ ) ; pub const STATUS_LOG_METADATA_FLUSH_FAILED : NTSTATUS = NTSTATUS ( -1072037843i32 as _ ) ; pub const STATUS_LOG_METADATA_INCONSISTENT : NTSTATUS = NTSTATUS ( -1072037873i32 as _ ) ; pub const STATUS_LOG_METADATA_INVALID : NTSTATUS = NTSTATUS ( -1072037874i32 as _ ) ; pub const STATUS_LOG_MULTIPLEXED : NTSTATUS = NTSTATUS ( -1072037858i32 as _ ) ; pub const STATUS_LOG_NOT_ENOUGH_CONTAINERS : NTSTATUS = NTSTATUS ( -1072037853i32 as _ ) ; pub const STATUS_LOG_NO_RESTART : NTSTATUS = NTSTATUS ( 1075445772i32 as _ ) ; pub const STATUS_LOG_PINNED : NTSTATUS = NTSTATUS ( -1072037844i32 as _ ) ; pub const STATUS_LOG_PINNED_ARCHIVE_TAIL : NTSTATUS = NTSTATUS ( -1072037864i32 as _ ) ; pub const STATUS_LOG_PINNED_RESERVATION : NTSTATUS = NTSTATUS ( -1072037840i32 as _ ) ; pub const STATUS_LOG_POLICY_ALREADY_INSTALLED : NTSTATUS = NTSTATUS ( -1072037868i32 as _ ) ; pub const STATUS_LOG_POLICY_CONFLICT : NTSTATUS = NTSTATUS ( -1072037865i32 as _ ) ; pub const STATUS_LOG_POLICY_INVALID : NTSTATUS = NTSTATUS ( -1072037866i32 as _ ) ; pub const STATUS_LOG_POLICY_NOT_INSTALLED : NTSTATUS = NTSTATUS ( -1072037867i32 as _ ) ; pub const STATUS_LOG_READ_CONTEXT_INVALID : NTSTATUS = NTSTATUS ( -1072037881i32 as _ ) ; pub const STATUS_LOG_READ_MODE_INVALID : NTSTATUS = NTSTATUS ( -1072037877i32 as _ ) ; pub const STATUS_LOG_RECORDS_RESERVED_INVALID : NTSTATUS = NTSTATUS ( -1072037862i32 as _ ) ; pub const STATUS_LOG_RECORD_NONEXISTENT : NTSTATUS = NTSTATUS ( -1072037863i32 as _ ) ; pub const STATUS_LOG_RESERVATION_INVALID : NTSTATUS = NTSTATUS ( -1072037872i32 as _ ) ; pub const STATUS_LOG_RESIZE_INVALID_SIZE : NTSTATUS = NTSTATUS ( -1072103413i32 as _ ) ; pub const STATUS_LOG_RESTART_INVALID : NTSTATUS = NTSTATUS ( -1072037880i32 as _ ) ; pub const STATUS_LOG_SECTOR_INVALID : NTSTATUS = NTSTATUS ( -1072037887i32 as _ ) ; pub const STATUS_LOG_SECTOR_PARITY_INVALID : NTSTATUS = NTSTATUS ( -1072037886i32 as _ ) ; pub const STATUS_LOG_SECTOR_REMAPPED : NTSTATUS = NTSTATUS ( -1072037885i32 as _ ) ; pub const STATUS_LOG_SPACE_RESERVED_INVALID : NTSTATUS = NTSTATUS ( -1072037861i32 as _ ) ; pub const STATUS_LOG_START_OF_LOG : NTSTATUS = NTSTATUS ( -1072037869i32 as _ ) ; pub const STATUS_LOG_STATE_INVALID : NTSTATUS = NTSTATUS ( -1072037845i32 as _ ) ; pub const STATUS_LOG_TAIL_INVALID : NTSTATUS = NTSTATUS ( -1072037860i32 as _ ) ; pub const STATUS_LONGJUMP : NTSTATUS = NTSTATUS ( -2147483610i32 as _ ) ; pub const STATUS_LOST_MODE_LOGON_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741043i32 as _ ) ; pub const STATUS_LOST_WRITEBEHIND_DATA : NTSTATUS = NTSTATUS ( -1073741278i32 as _ ) ; pub const STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR : NTSTATUS = NTSTATUS ( -1073700734i32 as _ ) ; pub const STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073700736i32 as _ ) ; pub const STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR : NTSTATUS = NTSTATUS ( -1073700735i32 as _ ) ; pub const STATUS_LPAC_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073700349i32 as _ ) ; pub const STATUS_LPC_HANDLE_COUNT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073739998i32 as _ ) ; pub const STATUS_LPC_INVALID_CONNECTION_USAGE : NTSTATUS = NTSTATUS ( -1073740026i32 as _ ) ; pub const STATUS_LPC_RECEIVE_BUFFER_EXPECTED : NTSTATUS = NTSTATUS ( -1073740027i32 as _ ) ; pub const STATUS_LPC_REPLY_LOST : NTSTATUS = NTSTATUS ( -1073741229i32 as _ ) ; pub const STATUS_LPC_REQUESTS_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1073740025i32 as _ ) ; pub const STATUS_LUIDS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073741707i32 as _ ) ; pub const STATUS_MAGAZINE_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073741178i32 as _ ) ; pub const STATUS_MAPPED_ALIGNMENT : NTSTATUS = NTSTATUS ( -1073741280i32 as _ ) ; pub const STATUS_MAPPED_FILE_SIZE_ZERO : NTSTATUS = NTSTATUS ( -1073741538i32 as _ ) ; pub const STATUS_MARKED_TO_DISALLOW_WRITES : NTSTATUS = NTSTATUS ( -1073740659i32 as _ ) ; pub const STATUS_MARSHALL_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741263i32 as _ ) ; pub const STATUS_MAX_REFERRALS_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741068i32 as _ ) ; pub const STATUS_MCA_EXCEPTION : NTSTATUS = NTSTATUS ( -1073740013i32 as _ ) ; pub const STATUS_MCA_OCCURED : NTSTATUS = NTSTATUS ( -1073740950i32 as _ ) ; pub const STATUS_MEDIA_CHANGED : NTSTATUS = NTSTATUS ( -2147483620i32 as _ ) ; pub const STATUS_MEDIA_CHECK : NTSTATUS = NTSTATUS ( -2147483616i32 as _ ) ; pub const STATUS_MEDIA_WRITE_PROTECTED : NTSTATUS = NTSTATUS ( -1073741662i32 as _ ) ; pub const STATUS_MEMBERS_PRIMARY_GROUP : NTSTATUS = NTSTATUS ( -1073741529i32 as _ ) ; pub const STATUS_MEMBER_IN_ALIAS : NTSTATUS = NTSTATUS ( -1073741485i32 as _ ) ; pub const STATUS_MEMBER_IN_GROUP : NTSTATUS = NTSTATUS ( -1073741721i32 as _ ) ; pub const STATUS_MEMBER_NOT_IN_ALIAS : NTSTATUS = NTSTATUS ( -1073741486i32 as _ ) ; pub const STATUS_MEMBER_NOT_IN_GROUP : NTSTATUS = NTSTATUS ( -1073741720i32 as _ ) ; pub const STATUS_MEMORY_NOT_ALLOCATED : NTSTATUS = NTSTATUS ( -1073741664i32 as _ ) ; pub const STATUS_MESSAGE_LOST : NTSTATUS = NTSTATUS ( -1073740031i32 as _ ) ; pub const STATUS_MESSAGE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741559i32 as _ ) ; pub const STATUS_MESSAGE_RETRIEVED : NTSTATUS = NTSTATUS ( 1073741870i32 as _ ) ; pub const STATUS_MFT_TOO_FRAGMENTED : NTSTATUS = NTSTATUS ( -1073741052i32 as _ ) ; pub const STATUS_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103388i32 as _ ) ; pub const STATUS_MISSING_SYSTEMFILE : NTSTATUS = NTSTATUS ( -1073741501i32 as _ ) ; pub const STATUS_MONITOR_INVALID_DESCRIPTOR_CHECKSUM : NTSTATUS = NTSTATUS ( -1071841277i32 as _ ) ; pub const STATUS_MONITOR_INVALID_DETAILED_TIMING_BLOCK : NTSTATUS = NTSTATUS ( -1071841271i32 as _ ) ; pub const STATUS_MONITOR_INVALID_MANUFACTURE_DATE : NTSTATUS = NTSTATUS ( -1071841270i32 as _ ) ; pub const STATUS_MONITOR_INVALID_SERIAL_NUMBER_MONDSC_BLOCK : NTSTATUS = NTSTATUS ( -1071841274i32 as _ ) ; pub const STATUS_MONITOR_INVALID_STANDARD_TIMING_BLOCK : NTSTATUS = NTSTATUS ( -1071841276i32 as _ ) ; pub const STATUS_MONITOR_INVALID_USER_FRIENDLY_MONDSC_BLOCK : NTSTATUS = NTSTATUS ( -1071841273i32 as _ ) ; pub const STATUS_MONITOR_NO_DESCRIPTOR : NTSTATUS = NTSTATUS ( -1071841279i32 as _ ) ; pub const STATUS_MONITOR_NO_MORE_DESCRIPTOR_DATA : NTSTATUS = NTSTATUS ( -1071841272i32 as _ ) ; pub const STATUS_MONITOR_UNKNOWN_DESCRIPTOR_FORMAT : NTSTATUS = NTSTATUS ( -1071841278i32 as _ ) ; pub const STATUS_MONITOR_WMI_DATABLOCK_REGISTRATION_FAILED : NTSTATUS = NTSTATUS ( -1071841275i32 as _ ) ; pub const STATUS_MORE_ENTRIES : NTSTATUS = NTSTATUS ( 261i32 as _ ) ; pub const STATUS_MORE_PROCESSING_REQUIRED : NTSTATUS = NTSTATUS ( -1073741802i32 as _ ) ; pub const STATUS_MOUNT_POINT_NOT_RESOLVED : NTSTATUS = NTSTATUS ( -1073740952i32 as _ ) ; pub const STATUS_MP_PROCESSOR_MISMATCH : NTSTATUS = NTSTATUS ( 1073741865i32 as _ ) ; pub const STATUS_MUI_FILE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073020927i32 as _ ) ; pub const STATUS_MUI_FILE_NOT_LOADED : NTSTATUS = NTSTATUS ( -1073020922i32 as _ ) ; pub const STATUS_MUI_INVALID_FILE : NTSTATUS = NTSTATUS ( -1073020926i32 as _ ) ; pub const STATUS_MUI_INVALID_LOCALE_NAME : NTSTATUS = NTSTATUS ( -1073020924i32 as _ ) ; pub const STATUS_MUI_INVALID_RC_CONFIG : NTSTATUS = NTSTATUS ( -1073020925i32 as _ ) ; pub const STATUS_MUI_INVALID_ULTIMATEFALLBACK_NAME : NTSTATUS = NTSTATUS ( -1073020923i32 as _ ) ; pub const STATUS_MULTIPLE_FAULT_VIOLATION : NTSTATUS = NTSTATUS ( -1073741080i32 as _ ) ; pub const STATUS_MUST_BE_KDC : NTSTATUS = NTSTATUS ( -1073741067i32 as _ ) ; pub const STATUS_MUTANT_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741423i32 as _ ) ; pub const STATUS_MUTANT_NOT_OWNED : NTSTATUS = NTSTATUS ( -1073741754i32 as _ ) ; pub const STATUS_MUTUAL_AUTHENTICATION_FAILED : NTSTATUS = NTSTATUS ( -1073741117i32 as _ ) ; pub const STATUS_NAME_TOO_LONG : NTSTATUS = NTSTATUS ( -1073741562i32 as _ ) ; pub const STATUS_NDIS_ADAPTER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071448058i32 as _ ) ; pub const STATUS_NDIS_ADAPTER_NOT_READY : NTSTATUS = NTSTATUS ( -1071448047i32 as _ ) ; pub const STATUS_NDIS_ADAPTER_REMOVED : NTSTATUS = NTSTATUS ( -1071448040i32 as _ ) ; pub const STATUS_NDIS_ALREADY_MAPPED : NTSTATUS = NTSTATUS ( -1071448035i32 as _ ) ; pub const STATUS_NDIS_BAD_CHARACTERISTICS : NTSTATUS = NTSTATUS ( -1071448059i32 as _ ) ; pub const STATUS_NDIS_BAD_VERSION : NTSTATUS = NTSTATUS ( -1071448060i32 as _ ) ; pub const STATUS_NDIS_BUFFER_TOO_SHORT : NTSTATUS = NTSTATUS ( -1071448042i32 as _ ) ; pub const STATUS_NDIS_CLOSING : NTSTATUS = NTSTATUS ( -1071448062i32 as _ ) ; pub const STATUS_NDIS_DEVICE_FAILED : NTSTATUS = NTSTATUS ( -1071448056i32 as _ ) ; pub const STATUS_NDIS_DOT11_AP_BAND_CURRENTLY_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1071439866i32 as _ ) ; pub const STATUS_NDIS_DOT11_AP_BAND_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071439864i32 as _ ) ; pub const STATUS_NDIS_DOT11_AP_CHANNEL_CURRENTLY_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1071439867i32 as _ ) ; pub const STATUS_NDIS_DOT11_AP_CHANNEL_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071439865i32 as _ ) ; pub const STATUS_NDIS_DOT11_AUTO_CONFIG_ENABLED : NTSTATUS = NTSTATUS ( -1071439872i32 as _ ) ; pub const STATUS_NDIS_DOT11_MEDIA_IN_USE : NTSTATUS = NTSTATUS ( -1071439871i32 as _ ) ; pub const STATUS_NDIS_DOT11_POWER_STATE_INVALID : NTSTATUS = NTSTATUS ( -1071439870i32 as _ ) ; pub const STATUS_NDIS_ERROR_READING_FILE : NTSTATUS = NTSTATUS ( -1071448036i32 as _ ) ; pub const STATUS_NDIS_FILE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071448037i32 as _ ) ; pub const STATUS_NDIS_GROUP_ADDRESS_IN_USE : NTSTATUS = NTSTATUS ( -1071448038i32 as _ ) ; pub const STATUS_NDIS_INDICATION_REQUIRED : NTSTATUS = NTSTATUS ( 1076035585i32 as _ ) ; pub const STATUS_NDIS_INTERFACE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071448021i32 as _ ) ; pub const STATUS_NDIS_INVALID_ADDRESS : NTSTATUS = NTSTATUS ( -1071448030i32 as _ ) ; pub const STATUS_NDIS_INVALID_DATA : NTSTATUS = NTSTATUS ( -1071448043i32 as _ ) ; pub const STATUS_NDIS_INVALID_DEVICE_REQUEST : NTSTATUS = NTSTATUS ( -1071448048i32 as _ ) ; pub const STATUS_NDIS_INVALID_LENGTH : NTSTATUS = NTSTATUS ( -1071448044i32 as _ ) ; pub const STATUS_NDIS_INVALID_OID : NTSTATUS = NTSTATUS ( -1071448041i32 as _ ) ; pub const STATUS_NDIS_INVALID_PACKET : NTSTATUS = NTSTATUS ( -1071448049i32 as _ ) ; pub const STATUS_NDIS_INVALID_PORT : NTSTATUS = NTSTATUS ( -1071448019i32 as _ ) ; pub const STATUS_NDIS_INVALID_PORT_STATE : NTSTATUS = NTSTATUS ( -1071448018i32 as _ ) ; pub const STATUS_NDIS_LOW_POWER_STATE : NTSTATUS = NTSTATUS ( -1071448017i32 as _ ) ; pub const STATUS_NDIS_MEDIA_DISCONNECTED : NTSTATUS = NTSTATUS ( -1071448033i32 as _ ) ; pub const STATUS_NDIS_MULTICAST_EXISTS : NTSTATUS = NTSTATUS ( -1071448054i32 as _ ) ; pub const STATUS_NDIS_MULTICAST_FULL : NTSTATUS = NTSTATUS ( -1071448055i32 as _ ) ; pub const STATUS_NDIS_MULTICAST_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071448053i32 as _ ) ; pub const STATUS_NDIS_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071447877i32 as _ ) ; pub const STATUS_NDIS_NO_QUEUES : NTSTATUS = NTSTATUS ( -1071448015i32 as _ ) ; pub const STATUS_NDIS_OFFLOAD_CONNECTION_REJECTED : NTSTATUS = NTSTATUS ( -1071443950i32 as _ ) ; pub const STATUS_NDIS_OFFLOAD_PATH_REJECTED : NTSTATUS = NTSTATUS ( -1071443949i32 as _ ) ; pub const STATUS_NDIS_OFFLOAD_POLICY : NTSTATUS = NTSTATUS ( -1071443953i32 as _ ) ; pub const STATUS_NDIS_OPEN_FAILED : NTSTATUS = NTSTATUS ( -1071448057i32 as _ ) ; pub const STATUS_NDIS_PAUSED : NTSTATUS = NTSTATUS ( -1071448022i32 as _ ) ; pub const STATUS_NDIS_PM_PROTOCOL_OFFLOAD_LIST_FULL : NTSTATUS = NTSTATUS ( -1071439868i32 as _ ) ; pub const STATUS_NDIS_PM_WOL_PATTERN_LIST_FULL : NTSTATUS = NTSTATUS ( -1071439869i32 as _ ) ; pub const STATUS_NDIS_REINIT_REQUIRED : NTSTATUS = NTSTATUS ( -1071448016i32 as _ ) ; pub const STATUS_NDIS_REQUEST_ABORTED : NTSTATUS = NTSTATUS ( -1071448052i32 as _ ) ; pub const STATUS_NDIS_RESET_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071448051i32 as _ ) ; pub const STATUS_NDIS_RESOURCE_CONFLICT : NTSTATUS = NTSTATUS ( -1071448034i32 as _ ) ; pub const STATUS_NDIS_UNSUPPORTED_MEDIA : NTSTATUS = NTSTATUS ( -1071448039i32 as _ ) ; pub const STATUS_NDIS_UNSUPPORTED_REVISION : NTSTATUS = NTSTATUS ( -1071448020i32 as _ ) ; pub const STATUS_ND_QUEUE_OVERFLOW : NTSTATUS = NTSTATUS ( -1073700847i32 as _ ) ; pub const STATUS_NEEDS_REGISTRATION : NTSTATUS = NTSTATUS ( -1073740663i32 as _ ) ; pub const STATUS_NEEDS_REMEDIATION : NTSTATUS = NTSTATUS ( -1073740702i32 as _ ) ; pub const STATUS_NETLOGON_NOT_STARTED : NTSTATUS = NTSTATUS ( -1073741422i32 as _ ) ; pub const STATUS_NETWORK_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073741622i32 as _ ) ; pub const STATUS_NETWORK_ACCESS_DENIED_EDP : NTSTATUS = NTSTATUS ( -1073740658i32 as _ ) ; pub const STATUS_NETWORK_BUSY : NTSTATUS = NTSTATUS ( -1073741633i32 as _ ) ; pub const STATUS_NETWORK_CREDENTIAL_CONFLICT : NTSTATUS = NTSTATUS ( -1073741419i32 as _ ) ; pub const STATUS_NETWORK_NAME_DELETED : NTSTATUS = NTSTATUS ( -1073741623i32 as _ ) ; pub const STATUS_NETWORK_OPEN_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741311i32 as _ ) ; pub const STATUS_NETWORK_SESSION_EXPIRED : NTSTATUS = NTSTATUS ( -1073740964i32 as _ ) ; pub const STATUS_NETWORK_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073741252i32 as _ ) ; pub const STATUS_NET_WRITE_FAULT : NTSTATUS = NTSTATUS ( -1073741614i32 as _ ) ; pub const STATUS_NOINTERFACE : NTSTATUS = NTSTATUS ( -1073741127i32 as _ ) ; pub const STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741416i32 as _ ) ; pub const STATUS_NOLOGON_SERVER_TRUST_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741414i32 as _ ) ; pub const STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741415i32 as _ ) ; pub const STATUS_NONCONTINUABLE_EXCEPTION : NTSTATUS = NTSTATUS ( -1073741787i32 as _ ) ; pub const STATUS_NONEXISTENT_EA_ENTRY : NTSTATUS = NTSTATUS ( -1073741743i32 as _ ) ; pub const STATUS_NONEXISTENT_SECTOR : NTSTATUS = NTSTATUS ( -1073741803i32 as _ ) ; pub const STATUS_NONE_MAPPED : NTSTATUS = NTSTATUS ( -1073741709i32 as _ ) ; pub const STATUS_NOTHING_TO_TERMINATE : NTSTATUS = NTSTATUS ( 290i32 as _ ) ; pub const STATUS_NOTIFICATION_GUID_ALREADY_DEFINED : NTSTATUS = NTSTATUS ( -1073741404i32 as _ ) ; pub const STATUS_NOTIFY_CLEANUP : NTSTATUS = NTSTATUS ( 267i32 as _ ) ; pub const STATUS_NOTIFY_ENUM_DIR : NTSTATUS = NTSTATUS ( 268i32 as _ ) ; pub const STATUS_NOT_ALLOWED_ON_SYSTEM_FILE : NTSTATUS = NTSTATUS ( -1073741401i32 as _ ) ; pub const STATUS_NOT_ALL_ASSIGNED : NTSTATUS = NTSTATUS ( 262i32 as _ ) ; pub const STATUS_NOT_APPCONTAINER : NTSTATUS = NTSTATUS ( -1073700352i32 as _ ) ; pub const STATUS_NOT_A_CLOUD_FILE : NTSTATUS = NTSTATUS ( -1073688825i32 as _ ) ; pub const STATUS_NOT_A_CLOUD_SYNC_ROOT : NTSTATUS = NTSTATUS ( -1073688802i32 as _ ) ; pub const STATUS_NOT_A_DAX_VOLUME : NTSTATUS = NTSTATUS ( -1073740623i32 as _ ) ; pub const STATUS_NOT_A_DIRECTORY : NTSTATUS = NTSTATUS ( -1073741565i32 as _ ) ; pub const STATUS_NOT_A_REPARSE_POINT : NTSTATUS = NTSTATUS ( -1073741195i32 as _ ) ; pub const STATUS_NOT_A_TIERED_VOLUME : NTSTATUS = NTSTATUS ( -1073740531i32 as _ ) ; pub const STATUS_NOT_CAPABLE : NTSTATUS = NTSTATUS ( -1073740759i32 as _ ) ; pub const STATUS_NOT_CLIENT_SESSION : NTSTATUS = NTSTATUS ( -1073741289i32 as _ ) ; pub const STATUS_NOT_COMMITTED : NTSTATUS = NTSTATUS ( -1073741779i32 as _ ) ; pub const STATUS_NOT_DAX_MAPPABLE : NTSTATUS = NTSTATUS ( -1073740622i32 as _ ) ; pub const STATUS_NOT_EXPORT_FORMAT : NTSTATUS = NTSTATUS ( -1073741166i32 as _ ) ; pub const STATUS_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741275i32 as _ ) ; pub const STATUS_NOT_GUI_PROCESS : NTSTATUS = NTSTATUS ( -1073740538i32 as _ ) ; pub const STATUS_NOT_IMPLEMENTED : NTSTATUS = NTSTATUS ( -1073741822i32 as _ ) ; pub const STATUS_NOT_LOCKED : NTSTATUS = NTSTATUS ( -1073741782i32 as _ ) ; pub const STATUS_NOT_LOGON_PROCESS : NTSTATUS = NTSTATUS ( -1073741587i32 as _ ) ; pub const STATUS_NOT_MAPPED_DATA : NTSTATUS = NTSTATUS ( -1073741688i32 as _ ) ; pub const STATUS_NOT_MAPPED_VIEW : NTSTATUS = NTSTATUS ( -1073741799i32 as _ ) ; pub const STATUS_NOT_READ_FROM_COPY : NTSTATUS = NTSTATUS ( -1073740694i32 as _ ) ; pub const STATUS_NOT_REDUNDANT_STORAGE : NTSTATUS = NTSTATUS ( -1073740679i32 as _ ) ; pub const STATUS_NOT_REGISTRY_FILE : NTSTATUS = NTSTATUS ( -1073741476i32 as _ ) ; pub const STATUS_NOT_SAFE_MODE_DRIVER : NTSTATUS = NTSTATUS ( -1073740961i32 as _ ) ; pub const STATUS_NOT_SAME_DEVICE : NTSTATUS = NTSTATUS ( -1073741612i32 as _ ) ; pub const STATUS_NOT_SAME_OBJECT : NTSTATUS = NTSTATUS ( -1073741396i32 as _ ) ; pub const STATUS_NOT_SERVER_SESSION : NTSTATUS = NTSTATUS ( -1073741290i32 as _ ) ; pub const STATUS_NOT_SNAPSHOT_VOLUME : NTSTATUS = NTSTATUS ( -1072103353i32 as _ ) ; pub const STATUS_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741637i32 as _ ) ; pub const STATUS_NOT_SUPPORTED_IN_APPCONTAINER : NTSTATUS = NTSTATUS ( -1073700351i32 as _ ) ; pub const STATUS_NOT_SUPPORTED_ON_DAX : NTSTATUS = NTSTATUS ( -1073740646i32 as _ ) ; pub const STATUS_NOT_SUPPORTED_ON_SBS : NTSTATUS = NTSTATUS ( -1073741056i32 as _ ) ; pub const STATUS_NOT_SUPPORTED_WITH_BTT : NTSTATUS = NTSTATUS ( -1073740619i32 as _ ) ; pub const STATUS_NOT_TINY_STREAM : NTSTATUS = NTSTATUS ( -1073741274i32 as _ ) ; pub const STATUS_NO_ACE_CONDITION : NTSTATUS = NTSTATUS ( -2147483601i32 as _ ) ; pub const STATUS_NO_APPLICABLE_APP_LICENSES_FOUND : NTSTATUS = NTSTATUS ( -1058406399i32 as _ ) ; pub const STATUS_NO_APPLICATION_PACKAGE : NTSTATUS = NTSTATUS ( -1073741398i32 as _ ) ; pub const STATUS_NO_BROWSER_SERVERS_FOUND : NTSTATUS = NTSTATUS ( -1073741284i32 as _ ) ; pub const STATUS_NO_CALLBACK_ACTIVE : NTSTATUS = NTSTATUS ( -1073741224i32 as _ ) ; pub const STATUS_NO_DATA_DETECTED : NTSTATUS = NTSTATUS ( -2147483614i32 as _ ) ; pub const STATUS_NO_EAS_ON_FILE : NTSTATUS = NTSTATUS ( -1073741742i32 as _ ) ; pub const STATUS_NO_EFS : NTSTATUS = NTSTATUS ( -1073741170i32 as _ ) ; pub const STATUS_NO_EVENT_PAIR : NTSTATUS = NTSTATUS ( -1073741490i32 as _ ) ; pub const STATUS_NO_GUID_TRANSLATION : NTSTATUS = NTSTATUS ( -1073741556i32 as _ ) ; pub const STATUS_NO_IMPERSONATION_TOKEN : NTSTATUS = NTSTATUS ( -1073741732i32 as _ ) ; pub const STATUS_NO_INHERITANCE : NTSTATUS = NTSTATUS ( -2147483637i32 as _ ) ; pub const STATUS_NO_IP_ADDRESSES : NTSTATUS = NTSTATUS ( -1073741071i32 as _ ) ; pub const STATUS_NO_KERB_KEY : NTSTATUS = NTSTATUS ( -1073741022i32 as _ ) ; pub const STATUS_NO_KEY : NTSTATUS = NTSTATUS ( -1073739508i32 as _ ) ; pub const STATUS_NO_LDT : NTSTATUS = NTSTATUS ( -1073741545i32 as _ ) ; pub const STATUS_NO_LINK_TRACKING_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103335i32 as _ ) ; pub const STATUS_NO_LOGON_SERVERS : NTSTATUS = NTSTATUS ( -1073741730i32 as _ ) ; pub const STATUS_NO_LOG_SPACE : NTSTATUS = NTSTATUS ( -1073741443i32 as _ ) ; pub const STATUS_NO_MATCH : NTSTATUS = NTSTATUS ( -1073741198i32 as _ ) ; pub const STATUS_NO_MEDIA : NTSTATUS = NTSTATUS ( -1073741448i32 as _ ) ; pub const STATUS_NO_MEDIA_IN_DEVICE : NTSTATUS = NTSTATUS ( -1073741805i32 as _ ) ; pub const STATUS_NO_MEMORY : NTSTATUS = NTSTATUS ( -1073741801i32 as _ ) ; pub const STATUS_NO_MORE_EAS : NTSTATUS = NTSTATUS ( -2147483630i32 as _ ) ; pub const STATUS_NO_MORE_ENTRIES : NTSTATUS = NTSTATUS ( -2147483622i32 as _ ) ; pub const STATUS_NO_MORE_FILES : NTSTATUS = NTSTATUS ( -2147483642i32 as _ ) ; pub const STATUS_NO_MORE_MATCHES : NTSTATUS = NTSTATUS ( -1073741197i32 as _ ) ; pub const STATUS_NO_PAGEFILE : NTSTATUS = NTSTATUS ( -1073741497i32 as _ ) ; pub const STATUS_NO_PA_DATA : NTSTATUS = NTSTATUS ( -1073741064i32 as _ ) ; pub const STATUS_NO_PHYSICALLY_ALIGNED_FREE_SPACE_FOUND : NTSTATUS = NTSTATUS ( -1073740635i32 as _ ) ; pub const STATUS_NO_QUOTAS_FOR_ACCOUNT : NTSTATUS = NTSTATUS ( 269i32 as _ ) ; pub const STATUS_NO_RANGES_PROCESSED : NTSTATUS = NTSTATUS ( -1073740704i32 as _ ) ; pub const STATUS_NO_RECOVERY_POLICY : NTSTATUS = NTSTATUS ( -1073741171i32 as _ ) ; pub const STATUS_NO_S4U_PROT_SUPPORT : NTSTATUS = NTSTATUS ( -1073740790i32 as _ ) ; pub const STATUS_NO_SAVEPOINT_WITH_OPEN_FILES : NTSTATUS = NTSTATUS ( -1072103352i32 as _ ) ; pub const STATUS_NO_SECRETS : NTSTATUS = NTSTATUS ( -1073740943i32 as _ ) ; pub const STATUS_NO_SECURITY_CONTEXT : NTSTATUS = NTSTATUS ( -1073740755i32 as _ ) ; pub const STATUS_NO_SECURITY_ON_OBJECT : NTSTATUS = NTSTATUS ( -1073741609i32 as _ ) ; pub const STATUS_NO_SPOOL_SPACE : NTSTATUS = NTSTATUS ( -1073741625i32 as _ ) ; pub const STATUS_NO_SUCH_ALIAS : NTSTATUS = NTSTATUS ( -1073741487i32 as _ ) ; pub const STATUS_NO_SUCH_DEVICE : NTSTATUS = NTSTATUS ( -1073741810i32 as _ ) ; pub const STATUS_NO_SUCH_DOMAIN : NTSTATUS = NTSTATUS ( -1073741601i32 as _ ) ; pub const STATUS_NO_SUCH_FILE : NTSTATUS = NTSTATUS ( -1073741809i32 as _ ) ; pub const STATUS_NO_SUCH_GROUP : NTSTATUS = NTSTATUS ( -1073741722i32 as _ ) ; pub const STATUS_NO_SUCH_MEMBER : NTSTATUS = NTSTATUS ( -1073741446i32 as _ ) ; pub const STATUS_NO_SUCH_PACKAGE : NTSTATUS = NTSTATUS ( -1073741570i32 as _ ) ; pub const STATUS_NO_SUCH_PRIVILEGE : NTSTATUS = NTSTATUS ( -1073741728i32 as _ ) ; pub const STATUS_NO_TGT_REPLY : NTSTATUS = NTSTATUS ( -1073741073i32 as _ ) ; pub const STATUS_NO_TOKEN : NTSTATUS = NTSTATUS ( -1073741700i32 as _ ) ; pub const STATUS_NO_TRACKING_SERVICE : NTSTATUS = NTSTATUS ( -1073741153i32 as _ ) ; pub const STATUS_NO_TRUST_LSA_SECRET : NTSTATUS = NTSTATUS ( -1073741430i32 as _ ) ; pub const STATUS_NO_TRUST_SAM_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741429i32 as _ ) ; pub const STATUS_NO_TXF_METADATA : NTSTATUS = NTSTATUS ( -2145845207i32 as _ ) ; pub const STATUS_NO_UNICODE_TRANSLATION : NTSTATUS = NTSTATUS ( -1073740009i32 as _ ) ; pub const STATUS_NO_USER_KEYS : NTSTATUS = NTSTATUS ( -1073741168i32 as _ ) ; pub const STATUS_NO_USER_SESSION_KEY : NTSTATUS = NTSTATUS ( -1073741310i32 as _ ) ; pub const STATUS_NO_WORK_DONE : NTSTATUS = NTSTATUS ( -2147483598i32 as _ ) ; pub const STATUS_NO_YIELD_PERFORMED : NTSTATUS = NTSTATUS ( 1073741860i32 as _ ) ; pub const STATUS_NTLM_BLOCKED : NTSTATUS = NTSTATUS ( -1073740776i32 as _ ) ; pub const STATUS_NT_CROSS_ENCRYPTION_REQUIRED : NTSTATUS = NTSTATUS ( -1073741475i32 as _ ) ; pub const STATUS_NULL_LM_PASSWORD : NTSTATUS = NTSTATUS ( 1073741837i32 as _ ) ; pub const STATUS_OBJECTID_EXISTS : NTSTATUS = NTSTATUS ( -1073741269i32 as _ ) ; pub const STATUS_OBJECTID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741072i32 as _ ) ; pub const STATUS_OBJECT_NAME_COLLISION : NTSTATUS = NTSTATUS ( -1073741771i32 as _ ) ; pub const STATUS_OBJECT_NAME_EXISTS : NTSTATUS = NTSTATUS ( 1073741824i32 as _ ) ; pub const STATUS_OBJECT_NAME_INVALID : NTSTATUS = NTSTATUS ( -1073741773i32 as _ ) ; pub const STATUS_OBJECT_NAME_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741772i32 as _ ) ; pub const STATUS_OBJECT_NOT_EXTERNALLY_BACKED : NTSTATUS = NTSTATUS ( -1073740691i32 as _ ) ; pub const STATUS_OBJECT_NO_LONGER_EXISTS : NTSTATUS = NTSTATUS ( -1072103391i32 as _ ) ; pub const STATUS_OBJECT_PATH_INVALID : NTSTATUS = NTSTATUS ( -1073741767i32 as _ ) ; pub const STATUS_OBJECT_PATH_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741766i32 as _ ) ; pub const STATUS_OBJECT_PATH_SYNTAX_BAD : NTSTATUS = NTSTATUS ( -1073741765i32 as _ ) ; pub const STATUS_OBJECT_TYPE_MISMATCH : NTSTATUS = NTSTATUS ( -1073741788i32 as _ ) ; pub const STATUS_OFFLOAD_READ_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700189i32 as _ ) ; pub const STATUS_OFFLOAD_READ_FLT_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700191i32 as _ ) ; pub const STATUS_OFFLOAD_WRITE_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700188i32 as _ ) ; pub const STATUS_OFFLOAD_WRITE_FLT_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700190i32 as _ ) ; pub const STATUS_ONLY_IF_CONNECTED : NTSTATUS = NTSTATUS ( -1073741108i32 as _ ) ; pub const STATUS_OPEN_FAILED : NTSTATUS = NTSTATUS ( -1073741514i32 as _ ) ; pub const STATUS_OPERATION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073740682i32 as _ ) ; pub const STATUS_OPERATION_NOT_SUPPORTED_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103334i32 as _ ) ; pub const STATUS_OPLOCK_BREAK_IN_PROGRESS : NTSTATUS = NTSTATUS ( 264i32 as _ ) ; pub const STATUS_OPLOCK_HANDLE_CLOSED : NTSTATUS = NTSTATUS ( 534i32 as _ ) ; pub const STATUS_OPLOCK_NOT_GRANTED : NTSTATUS = NTSTATUS ( -1073741598i32 as _ ) ; pub const STATUS_OPLOCK_SWITCHED_TO_NEW_HANDLE : NTSTATUS = NTSTATUS ( 533i32 as _ ) ; pub const STATUS_ORDINAL_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741512i32 as _ ) ; pub const STATUS_ORPHAN_NAME_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073739762i32 as _ ) ; pub const STATUS_PACKAGE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073740649i32 as _ ) ; pub const STATUS_PACKAGE_UPDATING : NTSTATUS = NTSTATUS ( -1073740695i32 as _ ) ; pub const STATUS_PAGEFILE_CREATE_FAILED : NTSTATUS = NTSTATUS ( -1073741498i32 as _ ) ; pub const STATUS_PAGEFILE_QUOTA : NTSTATUS = NTSTATUS ( -1073741817i32 as _ ) ; pub const STATUS_PAGEFILE_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741524i32 as _ ) ; pub const STATUS_PAGE_FAULT_COPY_ON_WRITE : NTSTATUS = NTSTATUS ( 274i32 as _ ) ; pub const STATUS_PAGE_FAULT_DEMAND_ZERO : NTSTATUS = NTSTATUS ( 273i32 as _ ) ; pub const STATUS_PAGE_FAULT_GUARD_PAGE : NTSTATUS = NTSTATUS ( 275i32 as _ ) ; pub const STATUS_PAGE_FAULT_PAGING_FILE : NTSTATUS = NTSTATUS ( 276i32 as _ ) ; pub const STATUS_PAGE_FAULT_TRANSITION : NTSTATUS = NTSTATUS ( 272i32 as _ ) ; pub const STATUS_PARAMETER_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073740784i32 as _ ) ; pub const STATUS_PARITY_ERROR : NTSTATUS = NTSTATUS ( -1073741781i32 as _ ) ; pub const STATUS_PARTIAL_COPY : NTSTATUS = NTSTATUS ( -2147483635i32 as _ ) ; pub const STATUS_PARTITION_FAILURE : NTSTATUS = NTSTATUS ( -1073741454i32 as _ ) ; pub const STATUS_PARTITION_TERMINATING : NTSTATUS = NTSTATUS ( -1073740640i32 as _ ) ; pub const STATUS_PASSWORD_CHANGE_REQUIRED : NTSTATUS = NTSTATUS ( -1073741044i32 as _ ) ; pub const STATUS_PASSWORD_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741716i32 as _ ) ; pub const STATUS_PATCH_CONFLICT : NTSTATUS = NTSTATUS ( -1073740628i32 as _ ) ; pub const STATUS_PATCH_DEFERRED : NTSTATUS = NTSTATUS ( 1073741879i32 as _ ) ; pub const STATUS_PATH_NOT_COVERED : NTSTATUS = NTSTATUS ( -1073741225i32 as _ ) ; pub const STATUS_PCP_ATTESTATION_CHALLENGE_NOT_SET : NTSTATUS = NTSTATUS ( -1071046638i32 as _ ) ; pub const STATUS_PCP_AUTHENTICATION_FAILED : NTSTATUS = NTSTATUS ( -1071046648i32 as _ ) ; pub const STATUS_PCP_AUTHENTICATION_IGNORED : NTSTATUS = NTSTATUS ( -1071046647i32 as _ ) ; pub const STATUS_PCP_BUFFER_LENGTH_MISMATCH : NTSTATUS = NTSTATUS ( -1071046626i32 as _ ) ; pub const STATUS_PCP_BUFFER_TOO_SMALL : NTSTATUS = NTSTATUS ( -1071046650i32 as _ ) ; pub const STATUS_PCP_CLAIM_TYPE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046628i32 as _ ) ; pub const STATUS_PCP_DEVICE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071046643i32 as _ ) ; pub const STATUS_PCP_DEVICE_NOT_READY : NTSTATUS = NTSTATUS ( -1071046655i32 as _ ) ; pub const STATUS_PCP_ERROR_MASK : NTSTATUS = NTSTATUS ( -1071046656i32 as _ ) ; pub const STATUS_PCP_FLAG_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046652i32 as _ ) ; pub const STATUS_PCP_IFX_RSA_KEY_CREATION_BLOCKED : NTSTATUS = NTSTATUS ( -1071046625i32 as _ ) ; pub const STATUS_PCP_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071046649i32 as _ ) ; pub const STATUS_PCP_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1071046654i32 as _ ) ; pub const STATUS_PCP_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1071046653i32 as _ ) ; pub const STATUS_PCP_KEY_ALREADY_FINALIZED : NTSTATUS = NTSTATUS ( -1071046636i32 as _ ) ; pub const STATUS_PCP_KEY_HANDLE_INVALIDATED : NTSTATUS = NTSTATUS ( -1071046622i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_AIK : NTSTATUS = NTSTATUS ( -1071046631i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_AUTHENTICATED : NTSTATUS = NTSTATUS ( -1071046632i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_FINALIZED : NTSTATUS = NTSTATUS ( -1071046639i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_LOADED : NTSTATUS = NTSTATUS ( -1071046641i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_SIGNING_KEY : NTSTATUS = NTSTATUS ( -1071046630i32 as _ ) ; pub const STATUS_PCP_KEY_USAGE_POLICY_INVALID : NTSTATUS = NTSTATUS ( -1071046634i32 as _ ) ; pub const STATUS_PCP_KEY_USAGE_POLICY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046635i32 as _ ) ; pub const STATUS_PCP_LOCKED_OUT : NTSTATUS = NTSTATUS ( -1071046629i32 as _ ) ; pub const STATUS_PCP_NOT_PCR_BOUND : NTSTATUS = NTSTATUS ( -1071046637i32 as _ ) ; pub const STATUS_PCP_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046651i32 as _ ) ; pub const STATUS_PCP_NO_KEY_CERTIFICATION : NTSTATUS = NTSTATUS ( -1071046640i32 as _ ) ; pub const STATUS_PCP_POLICY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071046646i32 as _ ) ; pub const STATUS_PCP_PROFILE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071046645i32 as _ ) ; pub const STATUS_PCP_RAW_POLICY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046623i32 as _ ) ; pub const STATUS_PCP_SOFT_KEY_ERROR : NTSTATUS = NTSTATUS ( -1071046633i32 as _ ) ; pub const STATUS_PCP_TICKET_MISSING : NTSTATUS = NTSTATUS ( -1071046624i32 as _ ) ; pub const STATUS_PCP_TPM_VERSION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046627i32 as _ ) ; pub const STATUS_PCP_UNSUPPORTED_PSS_SALT : NTSTATUS = NTSTATUS ( 1076437027i32 as _ ) ; pub const STATUS_PCP_VALIDATION_FAILED : NTSTATUS = NTSTATUS ( -1071046644i32 as _ ) ; pub const STATUS_PCP_WRONG_PARENT : NTSTATUS = NTSTATUS ( -1071046642i32 as _ ) ; pub const STATUS_PENDING : NTSTATUS = NTSTATUS ( 259i32 as _ ) ; pub const STATUS_PER_USER_TRUST_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073740799i32 as _ ) ; pub const STATUS_PIPE_BROKEN : NTSTATUS = NTSTATUS ( -1073741493i32 as _ ) ; pub const STATUS_PIPE_BUSY : NTSTATUS = NTSTATUS ( -1073741650i32 as _ ) ; pub const STATUS_PIPE_CLOSING : NTSTATUS = NTSTATUS ( -1073741647i32 as _ ) ; pub const STATUS_PIPE_CONNECTED : NTSTATUS = NTSTATUS ( -1073741646i32 as _ ) ; pub const STATUS_PIPE_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073741648i32 as _ ) ; pub const STATUS_PIPE_EMPTY : NTSTATUS = NTSTATUS ( -1073741607i32 as _ ) ; pub const STATUS_PIPE_LISTENING : NTSTATUS = NTSTATUS ( -1073741645i32 as _ ) ; pub const STATUS_PIPE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073741652i32 as _ ) ; pub const STATUS_PKINIT_CLIENT_FAILURE : NTSTATUS = NTSTATUS ( -1073740916i32 as _ ) ; pub const STATUS_PKINIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741024i32 as _ ) ; pub const STATUS_PKINIT_NAME_MISMATCH : NTSTATUS = NTSTATUS ( -1073741063i32 as _ ) ; pub const STATUS_PKU2U_CERT_FAILURE : NTSTATUS = NTSTATUS ( -1073740753i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_BINARY_ID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1058340859i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_CATALOG_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1058340860i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_FILE_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1058340861i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_INVALID : NTSTATUS = NTSTATUS ( -1058340862i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1058340858i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1058340863i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_NOT_SIGNED : NTSTATUS = NTSTATUS ( -1058340857i32 as _ ) ; pub const STATUS_PLUGPLAY_NO_DEVICE : NTSTATUS = NTSTATUS ( -1073741218i32 as _ ) ; pub const STATUS_PLUGPLAY_QUERY_VETOED : NTSTATUS = NTSTATUS ( -2147483608i32 as _ ) ; pub const STATUS_PNP_BAD_MPS_TABLE : NTSTATUS = NTSTATUS ( -1073479627i32 as _ ) ; pub const STATUS_PNP_DEVICE_CONFIGURATION_PENDING : NTSTATUS = NTSTATUS ( -1073740651i32 as _ ) ; pub const STATUS_PNP_DRIVER_CONFIGURATION_INCOMPLETE : NTSTATUS = NTSTATUS ( -1073740653i32 as _ ) ; pub const STATUS_PNP_DRIVER_CONFIGURATION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073740654i32 as _ ) ; pub const STATUS_PNP_DRIVER_PACKAGE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073740655i32 as _ ) ; pub const STATUS_PNP_FUNCTION_DRIVER_REQUIRED : NTSTATUS = NTSTATUS ( -1073740652i32 as _ ) ; pub const STATUS_PNP_INVALID_ID : NTSTATUS = NTSTATUS ( -1073479624i32 as _ ) ; pub const STATUS_PNP_IRQ_TRANSLATION_FAILED : NTSTATUS = NTSTATUS ( -1073479625i32 as _ ) ; pub const STATUS_PNP_NO_COMPAT_DRIVERS : NTSTATUS = NTSTATUS ( -1073740656i32 as _ ) ; pub const STATUS_PNP_REBOOT_REQUIRED : NTSTATUS = NTSTATUS ( -1073741102i32 as _ ) ; pub const STATUS_PNP_RESTART_ENUMERATION : NTSTATUS = NTSTATUS ( -1073741106i32 as _ ) ; pub const STATUS_PNP_TRANSLATION_FAILED : NTSTATUS = NTSTATUS ( -1073479626i32 as _ ) ; pub const STATUS_POLICY_OBJECT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741158i32 as _ ) ; pub const STATUS_POLICY_ONLY_IN_DS : NTSTATUS = NTSTATUS ( -1073741157i32 as _ ) ; pub const STATUS_PORT_ALREADY_HAS_COMPLETION_LIST : NTSTATUS = NTSTATUS ( -1073740006i32 as _ ) ; pub const STATUS_PORT_ALREADY_SET : NTSTATUS = NTSTATUS ( -1073741752i32 as _ ) ; pub const STATUS_PORT_CLOSED : NTSTATUS = NTSTATUS ( -1073740032i32 as _ ) ; pub const STATUS_PORT_CONNECTION_REFUSED : NTSTATUS = NTSTATUS ( -1073741759i32 as _ ) ; pub const STATUS_PORT_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073741769i32 as _ ) ; pub const STATUS_PORT_DO_NOT_DISTURB : NTSTATUS = NTSTATUS ( -1073741770i32 as _ ) ; pub const STATUS_PORT_MESSAGE_TOO_LONG : NTSTATUS = NTSTATUS ( -1073741777i32 as _ ) ; pub const STATUS_PORT_NOT_SET : NTSTATUS = NTSTATUS ( -1073740973i32 as _ ) ; pub const STATUS_PORT_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073741249i32 as _ ) ; pub const STATUS_POSSIBLE_DEADLOCK : NTSTATUS = NTSTATUS ( -1073741420i32 as _ ) ; pub const STATUS_POWER_STATE_INVALID : NTSTATUS = NTSTATUS ( -1073741101i32 as _ ) ; pub const STATUS_PREDEFINED_HANDLE : NTSTATUS = NTSTATUS ( 1073741846i32 as _ ) ; pub const STATUS_PRENT4_MACHINE_ACCOUNT : NTSTATUS = NTSTATUS ( -1073740969i32 as _ ) ; pub const STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED : NTSTATUS = NTSTATUS ( 270i32 as _ ) ; pub const STATUS_PRINT_CANCELLED : NTSTATUS = NTSTATUS ( -1073741624i32 as _ ) ; pub const STATUS_PRINT_QUEUE_FULL : NTSTATUS = NTSTATUS ( -1073741626i32 as _ ) ; pub const STATUS_PRIVILEGED_INSTRUCTION : NTSTATUS = NTSTATUS ( -1073741674i32 as _ ) ; pub const STATUS_PRIVILEGE_NOT_HELD : NTSTATUS = NTSTATUS ( -1073741727i32 as _ ) ; pub const STATUS_PROACTIVE_SCAN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073739761i32 as _ ) ; pub const STATUS_PROCEDURE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741702i32 as _ ) ; pub const STATUS_PROCESS_CLONED : NTSTATUS = NTSTATUS ( 297i32 as _ ) ; pub const STATUS_PROCESS_IN_JOB : NTSTATUS = NTSTATUS ( 292i32 as _ ) ; pub const STATUS_PROCESS_IS_PROTECTED : NTSTATUS = NTSTATUS ( -1073740014i32 as _ ) ; pub const STATUS_PROCESS_IS_TERMINATING : NTSTATUS = NTSTATUS ( -1073741558i32 as _ ) ; pub const STATUS_PROCESS_NOT_IN_JOB : NTSTATUS = NTSTATUS ( 291i32 as _ ) ; pub const STATUS_PROFILING_AT_LIMIT : NTSTATUS = NTSTATUS ( -1073741613i32 as _ ) ; pub const STATUS_PROFILING_NOT_STARTED : NTSTATUS = NTSTATUS ( -1073741641i32 as _ ) ; pub const STATUS_PROFILING_NOT_STOPPED : NTSTATUS = NTSTATUS ( -1073741640i32 as _ ) ; pub const STATUS_PROPSET_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741264i32 as _ ) ; pub const STATUS_PROTOCOL_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700845i32 as _ ) ; pub const STATUS_PROTOCOL_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073741250i32 as _ ) ; pub const STATUS_PTE_CHANGED : NTSTATUS = NTSTATUS ( -1073740748i32 as _ ) ; pub const STATUS_PURGE_FAILED : NTSTATUS = NTSTATUS ( -1073740747i32 as _ ) ; pub const STATUS_PWD_HISTORY_CONFLICT : NTSTATUS = NTSTATUS ( -1073741220i32 as _ ) ; pub const STATUS_PWD_TOO_LONG : NTSTATUS = NTSTATUS ( -1073741190i32 as _ ) ; pub const STATUS_PWD_TOO_RECENT : NTSTATUS = NTSTATUS ( -1073741221i32 as _ ) ; pub const STATUS_PWD_TOO_SHORT : NTSTATUS = NTSTATUS ( -1073741222i32 as _ ) ; pub const STATUS_QUERY_STORAGE_ERROR : NTSTATUS = NTSTATUS ( -2143682559i32 as _ ) ; pub const STATUS_QUIC_HANDSHAKE_FAILURE : NTSTATUS = NTSTATUS ( -1071382528i32 as _ ) ; pub const STATUS_QUIC_VER_NEG_FAILURE : NTSTATUS = NTSTATUS ( -1071382527i32 as _ ) ; pub const STATUS_QUOTA_ACTIVITY : NTSTATUS = NTSTATUS ( -1073740662i32 as _ ) ; pub const STATUS_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741756i32 as _ ) ; pub const STATUS_QUOTA_LIST_INCONSISTENT : NTSTATUS = NTSTATUS ( -1073741210i32 as _ ) ; pub const STATUS_QUOTA_NOT_ENABLED : NTSTATUS = NTSTATUS ( -1073741399i32 as _ ) ; pub const STATUS_RANGE_LIST_CONFLICT : NTSTATUS = NTSTATUS ( -1073741182i32 as _ ) ; pub const STATUS_RANGE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741172i32 as _ ) ; pub const STATUS_RANGE_NOT_LOCKED : NTSTATUS = NTSTATUS ( -1073741698i32 as _ ) ; pub const STATUS_RDBSS_CONTINUE_OPERATION : NTSTATUS = NTSTATUS ( -1069481982i32 as _ ) ; pub const STATUS_RDBSS_POST_OPERATION : NTSTATUS = NTSTATUS ( -1069481981i32 as _ ) ; pub const STATUS_RDBSS_RESTART_OPERATION : NTSTATUS = NTSTATUS ( -1069481983i32 as _ ) ; pub const STATUS_RDBSS_RETRY_LOOKUP : NTSTATUS = NTSTATUS ( -1069481980i32 as _ ) ; pub const STATUS_RDP_PROTOCOL_ERROR : NTSTATUS = NTSTATUS ( -1073086414i32 as _ ) ; pub const STATUS_RECEIVE_EXPEDITED : NTSTATUS = NTSTATUS ( 1073741840i32 as _ ) ; pub const STATUS_RECEIVE_PARTIAL : NTSTATUS = NTSTATUS ( 1073741839i32 as _ ) ; pub const STATUS_RECEIVE_PARTIAL_EXPEDITED : NTSTATUS = NTSTATUS ( 1073741841i32 as _ ) ; pub const STATUS_RECOVERY_FAILURE : NTSTATUS = NTSTATUS ( -1073741273i32 as _ ) ; pub const STATUS_RECOVERY_NOT_NEEDED : NTSTATUS = NTSTATUS ( 1075380276i32 as _ ) ; pub const STATUS_RECURSIVE_DISPATCH : NTSTATUS = NTSTATUS ( -1073740028i32 as _ ) ; pub const STATUS_REDIRECTOR_HAS_OPEN_HANDLES : NTSTATUS = NTSTATUS ( -2147483613i32 as _ ) ; pub const STATUS_REDIRECTOR_NOT_STARTED : NTSTATUS = NTSTATUS ( -1073741573i32 as _ ) ; pub const STATUS_REDIRECTOR_PAUSED : NTSTATUS = NTSTATUS ( -1073741615i32 as _ ) ; pub const STATUS_REDIRECTOR_STARTED : NTSTATUS = NTSTATUS ( -1073741572i32 as _ ) ; pub const STATUS_REGISTRY_CORRUPT : NTSTATUS = NTSTATUS ( -1073741492i32 as _ ) ; pub const STATUS_REGISTRY_HIVE_RECOVERED : NTSTATUS = NTSTATUS ( -2147483606i32 as _ ) ; pub const STATUS_REGISTRY_IO_FAILED : NTSTATUS = NTSTATUS ( -1073741491i32 as _ ) ; pub const STATUS_REGISTRY_QUOTA_LIMIT : NTSTATUS = NTSTATUS ( -1073741226i32 as _ ) ; pub const STATUS_REGISTRY_RECOVERED : NTSTATUS = NTSTATUS ( 1073741833i32 as _ ) ; pub const STATUS_REG_NAT_CONSUMPTION : NTSTATUS = NTSTATUS ( -1073741111i32 as _ ) ; pub const STATUS_REINITIALIZATION_NEEDED : NTSTATUS = NTSTATUS ( -1073741177i32 as _ ) ; pub const STATUS_REMOTE_DISCONNECT : NTSTATUS = NTSTATUS ( -1073741508i32 as _ ) ; pub const STATUS_REMOTE_FILE_VERSION_MISMATCH : NTSTATUS = NTSTATUS ( -1072103412i32 as _ ) ; pub const STATUS_REMOTE_NOT_LISTENING : NTSTATUS = NTSTATUS ( -1073741636i32 as _ ) ; pub const STATUS_REMOTE_RESOURCES : NTSTATUS = NTSTATUS ( -1073741507i32 as _ ) ; pub const STATUS_REMOTE_SESSION_LIMIT : NTSTATUS = NTSTATUS ( -1073741418i32 as _ ) ; pub const STATUS_REMOTE_STORAGE_MEDIA_ERROR : NTSTATUS = NTSTATUS ( -1073741154i32 as _ ) ; pub const STATUS_REMOTE_STORAGE_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1073741155i32 as _ ) ; pub const STATUS_REPAIR_NEEDED : NTSTATUS = NTSTATUS ( -1073741400i32 as _ ) ; pub const STATUS_REPARSE : NTSTATUS = NTSTATUS ( 260i32 as _ ) ; pub const STATUS_REPARSE_ATTRIBUTE_CONFLICT : NTSTATUS = NTSTATUS ( -1073741134i32 as _ ) ; pub const STATUS_REPARSE_GLOBAL : NTSTATUS = NTSTATUS ( 872i32 as _ ) ; pub const STATUS_REPARSE_OBJECT : NTSTATUS = NTSTATUS ( 280i32 as _ ) ; pub const STATUS_REPARSE_POINT_ENCOUNTERED : NTSTATUS = NTSTATUS ( -1073740533i32 as _ ) ; pub const STATUS_REPARSE_POINT_NOT_RESOLVED : NTSTATUS = NTSTATUS ( -1073741184i32 as _ ) ; pub const STATUS_REPLY_MESSAGE_MISMATCH : NTSTATUS = NTSTATUS ( -1073741281i32 as _ ) ; pub const STATUS_REQUEST_ABORTED : NTSTATUS = NTSTATUS ( -1073741248i32 as _ ) ; pub const STATUS_REQUEST_CANCELED : NTSTATUS = NTSTATUS ( -1073740029i32 as _ ) ; pub const STATUS_REQUEST_NOT_ACCEPTED : NTSTATUS = NTSTATUS ( -1073741616i32 as _ ) ; pub const STATUS_REQUEST_OUT_OF_SEQUENCE : NTSTATUS = NTSTATUS ( -1073740758i32 as _ ) ; pub const STATUS_REQUEST_PAUSED : NTSTATUS = NTSTATUS ( -1073740711i32 as _ ) ; pub const STATUS_RESIDENT_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740678i32 as _ ) ; pub const STATUS_RESOURCEMANAGER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103345i32 as _ ) ; pub const STATUS_RESOURCEMANAGER_READ_ONLY : NTSTATUS = NTSTATUS ( 514i32 as _ ) ; pub const STATUS_RESOURCE_DATA_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741687i32 as _ ) ; pub const STATUS_RESOURCE_ENUM_USER_STOP : NTSTATUS = NTSTATUS ( -1073020921i32 as _ ) ; pub const STATUS_RESOURCE_IN_USE : NTSTATUS = NTSTATUS ( -1073740024i32 as _ ) ; pub const STATUS_RESOURCE_LANG_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741308i32 as _ ) ; pub const STATUS_RESOURCE_NAME_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741685i32 as _ ) ; pub const STATUS_RESOURCE_NOT_OWNED : NTSTATUS = NTSTATUS ( -1073741212i32 as _ ) ; pub const STATUS_RESOURCE_REQUIREMENTS_CHANGED : NTSTATUS = NTSTATUS ( 281i32 as _ ) ; pub const STATUS_RESOURCE_TYPE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741686i32 as _ ) ; pub const STATUS_RESTART_BOOT_APPLICATION : NTSTATUS = NTSTATUS ( -1073740717i32 as _ ) ; pub const STATUS_RESUME_HIBERNATION : NTSTATUS = NTSTATUS ( 1073741867i32 as _ ) ; pub const STATUS_RETRY : NTSTATUS = NTSTATUS ( -1073741267i32 as _ ) ; pub const STATUS_RETURN_ADDRESS_HIJACK_ATTEMPT : NTSTATUS = NTSTATUS ( -2147483597i32 as _ ) ; pub const STATUS_REVISION_MISMATCH : NTSTATUS = NTSTATUS ( -1073741735i32 as _ ) ; pub const STATUS_REVOCATION_OFFLINE_C : NTSTATUS = NTSTATUS ( -1073740917i32 as _ ) ; pub const STATUS_REVOCATION_OFFLINE_KDC : NTSTATUS = NTSTATUS ( -1073740788i32 as _ ) ; pub const STATUS_RING_NEWLY_EMPTY : NTSTATUS = NTSTATUS ( 531i32 as _ ) ; pub const STATUS_RING_PREVIOUSLY_ABOVE_QUOTA : NTSTATUS = NTSTATUS ( 530i32 as _ ) ; pub const STATUS_RING_PREVIOUSLY_EMPTY : NTSTATUS = NTSTATUS ( 528i32 as _ ) ; pub const STATUS_RING_PREVIOUSLY_FULL : NTSTATUS = NTSTATUS ( 529i32 as _ ) ; pub const STATUS_RING_SIGNAL_OPPOSITE_ENDPOINT : NTSTATUS = NTSTATUS ( 532i32 as _ ) ; pub const STATUS_RKF_ACTIVE_KEY : NTSTATUS = NTSTATUS ( -1069547514i32 as _ ) ; pub const STATUS_RKF_BLOB_FULL : NTSTATUS = NTSTATUS ( -1069547517i32 as _ ) ; pub const STATUS_RKF_DUPLICATE_KEY : NTSTATUS = NTSTATUS ( -1069547518i32 as _ ) ; pub const STATUS_RKF_FILE_BLOCKED : NTSTATUS = NTSTATUS ( -1069547515i32 as _ ) ; pub const STATUS_RKF_KEY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069547519i32 as _ ) ; pub const STATUS_RKF_STORE_FULL : NTSTATUS = NTSTATUS ( -1069547516i32 as _ ) ; pub const STATUS_RM_ALREADY_STARTED : NTSTATUS = NTSTATUS ( 1075380277i32 as _ ) ; pub const STATUS_RM_CANNOT_BE_FROZEN_FOR_SNAPSHOT : NTSTATUS = NTSTATUS ( -1072103331i32 as _ ) ; pub const STATUS_RM_DISCONNECTED : NTSTATUS = NTSTATUS ( -1072103374i32 as _ ) ; pub const STATUS_RM_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1072103418i32 as _ ) ; pub const STATUS_RM_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1072103419i32 as _ ) ; pub const STATUS_ROLLBACK_TIMER_EXPIRED : NTSTATUS = NTSTATUS ( -1072103364i32 as _ ) ; pub const STATUS_RTPM_CONTEXT_COMPLETE : NTSTATUS = NTSTATUS ( 2699265i32 as _ ) ; pub const STATUS_RTPM_CONTEXT_CONTINUE : NTSTATUS = NTSTATUS ( 2699264i32 as _ ) ; pub const STATUS_RTPM_INVALID_CONTEXT : NTSTATUS = NTSTATUS ( -1071042556i32 as _ ) ; pub const STATUS_RTPM_NO_RESULT : NTSTATUS = NTSTATUS ( -1071042558i32 as _ ) ; pub const STATUS_RTPM_PCR_READ_INCOMPLETE : NTSTATUS = NTSTATUS ( -1071042557i32 as _ ) ; pub const STATUS_RTPM_UNSUPPORTED_CMD : NTSTATUS = NTSTATUS ( -1071042555i32 as _ ) ; pub const STATUS_RUNLEVEL_SWITCH_AGENT_TIMEOUT : NTSTATUS = NTSTATUS ( -1073700539i32 as _ ) ; pub const STATUS_RUNLEVEL_SWITCH_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073700538i32 as _ ) ; pub const STATUS_RUNLEVEL_SWITCH_TIMEOUT : NTSTATUS = NTSTATUS ( -1073700541i32 as _ ) ; pub const STATUS_RWRAW_ENCRYPTED_FILE_NOT_ENCRYPTED : NTSTATUS = NTSTATUS ( -1073740633i32 as _ ) ; pub const STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILEOFFSET : NTSTATUS = NTSTATUS ( -1073740632i32 as _ ) ; pub const STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILERANGE : NTSTATUS = NTSTATUS ( -1073740631i32 as _ ) ; pub const STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_PARAMETER : NTSTATUS = NTSTATUS ( -1073740630i32 as _ ) ; pub const STATUS_RXACT_COMMITTED : NTSTATUS = NTSTATUS ( 266i32 as _ ) ; pub const STATUS_RXACT_COMMIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741539i32 as _ ) ; pub const STATUS_RXACT_COMMIT_NECESSARY : NTSTATUS = NTSTATUS ( -2147483624i32 as _ ) ; pub const STATUS_RXACT_INVALID_STATE : NTSTATUS = NTSTATUS ( -1073741540i32 as _ ) ; pub const STATUS_RXACT_STATE_CREATED : NTSTATUS = NTSTATUS ( 1073741828i32 as _ ) ; pub const STATUS_SAM_INIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741085i32 as _ ) ; pub const STATUS_SAM_NEED_BOOTKEY_FLOPPY : NTSTATUS = NTSTATUS ( -1073741088i32 as _ ) ; pub const STATUS_SAM_NEED_BOOTKEY_PASSWORD : NTSTATUS = NTSTATUS ( -1073741089i32 as _ ) ; pub const STATUS_SCRUB_DATA_DISABLED : NTSTATUS = NTSTATUS ( -1073740680i32 as _ ) ; pub const STATUS_SECCORE_INVALID_COMMAND : NTSTATUS = NTSTATUS ( -1058537472i32 as _ ) ; pub const STATUS_SECONDARY_IC_PROVIDER_NOT_REGISTERED : NTSTATUS = NTSTATUS ( -1073700575i32 as _ ) ; pub const STATUS_SECRET_TOO_LONG : NTSTATUS = NTSTATUS ( -1073741481i32 as _ ) ; pub const STATUS_SECTION_NOT_EXTENDED : NTSTATUS = NTSTATUS ( -1073741689i32 as _ ) ; pub const STATUS_SECTION_NOT_IMAGE : NTSTATUS = NTSTATUS ( -1073741751i32 as _ ) ; pub const STATUS_SECTION_PROTECTION : NTSTATUS = NTSTATUS ( -1073741746i32 as _ ) ; pub const STATUS_SECTION_TOO_BIG : NTSTATUS = NTSTATUS ( -1073741760i32 as _ ) ; pub const STATUS_SECUREBOOT_FILE_REPLACED : NTSTATUS = NTSTATUS ( -1069350905i32 as _ ) ; pub const STATUS_SECUREBOOT_INVALID_POLICY : NTSTATUS = NTSTATUS ( -1069350909i32 as _ ) ; pub const STATUS_SECUREBOOT_NOT_BASE_POLICY : NTSTATUS = NTSTATUS ( -1069350897i32 as _ ) ; pub const STATUS_SECUREBOOT_NOT_ENABLED : NTSTATUS = NTSTATUS ( -2143092730i32 as _ ) ; pub const STATUS_SECUREBOOT_NOT_SUPPLEMENTAL_POLICY : NTSTATUS = NTSTATUS ( -1069350896i32 as _ ) ; pub const STATUS_SECUREBOOT_PLATFORM_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1069350901i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_MISSING_ANTIROLLBACKVERSION : NTSTATUS = NTSTATUS ( -1069350902i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1069350904i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_NOT_SIGNED : NTSTATUS = NTSTATUS ( -1069350907i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_PUBLISHER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069350908i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_ROLLBACK_DETECTED : NTSTATUS = NTSTATUS ( -1069350900i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_UNKNOWN : NTSTATUS = NTSTATUS ( -1069350903i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_UPGRADE_MISMATCH : NTSTATUS = NTSTATUS ( -1069350899i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_VIOLATION : NTSTATUS = NTSTATUS ( -1069350910i32 as _ ) ; pub const STATUS_SECUREBOOT_REQUIRED_POLICY_FILE_MISSING : NTSTATUS = NTSTATUS ( -1069350898i32 as _ ) ; pub const STATUS_SECUREBOOT_ROLLBACK_DETECTED : NTSTATUS = NTSTATUS ( -1069350911i32 as _ ) ; pub const STATUS_SECURITY_STREAM_IS_INCONSISTENT : NTSTATUS = NTSTATUS ( -1073741408i32 as _ ) ; pub const STATUS_SEGMENT_NOTIFICATION : NTSTATUS = NTSTATUS ( 1073741829i32 as _ ) ; pub const STATUS_SEMAPHORE_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741753i32 as _ ) ; pub const STATUS_SERIAL_COUNTER_TIMEOUT : NTSTATUS = NTSTATUS ( 1073741836i32 as _ ) ; pub const STATUS_SERIAL_MORE_WRITES : NTSTATUS = NTSTATUS ( 1073741832i32 as _ ) ; pub const STATUS_SERIAL_NO_DEVICE_INITED : NTSTATUS = NTSTATUS ( -1073741488i32 as _ ) ; pub const STATUS_SERVER_DISABLED : NTSTATUS = NTSTATUS ( -1073741696i32 as _ ) ; pub const STATUS_SERVER_HAS_OPEN_HANDLES : NTSTATUS = NTSTATUS ( -2147483612i32 as _ ) ; pub const STATUS_SERVER_NOT_DISABLED : NTSTATUS = NTSTATUS ( -1073741695i32 as _ ) ; pub const STATUS_SERVER_SHUTDOWN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073741057i32 as _ ) ; pub const STATUS_SERVER_SID_MISMATCH : NTSTATUS = NTSTATUS ( -1073741152i32 as _ ) ; pub const STATUS_SERVER_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073740698i32 as _ ) ; pub const STATUS_SERVICES_FAILED_AUTOSTART : NTSTATUS = NTSTATUS ( 1073783108i32 as _ ) ; pub const STATUS_SERVICE_NOTIFICATION : NTSTATUS = NTSTATUS ( 1073741848i32 as _ ) ; pub const STATUS_SETMARK_DETECTED : NTSTATUS = NTSTATUS ( -2147483615i32 as _ ) ; pub const STATUS_SET_CONTEXT_DENIED : NTSTATUS = NTSTATUS ( -1073740278i32 as _ ) ; pub const STATUS_SEVERITY_ERROR : u32 = 3u32 ; pub const STATUS_SEVERITY_INFORMATIONAL : u32 = 1u32 ; pub const STATUS_SEVERITY_SUCCESS : u32 = 0u32 ; pub const STATUS_SEVERITY_WARNING : u32 = 2u32 ; pub const STATUS_SHARED_IRQ_BUSY : NTSTATUS = NTSTATUS ( -1073741460i32 as _ ) ; pub const STATUS_SHARED_POLICY : NTSTATUS = NTSTATUS ( -1073741159i32 as _ ) ; pub const STATUS_SHARE_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073740672i32 as _ ) ; pub const STATUS_SHARING_PAUSED : NTSTATUS = NTSTATUS ( -1073741617i32 as _ ) ; pub const STATUS_SHARING_VIOLATION : NTSTATUS = NTSTATUS ( -1073741757i32 as _ ) ; pub const STATUS_SHORT_NAMES_NOT_ENABLED_ON_VOLUME : NTSTATUS = NTSTATUS ( -1073741409i32 as _ ) ; pub const STATUS_SHUTDOWN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073741058i32 as _ ) ; pub const STATUS_SINGLE_STEP : NTSTATUS = NTSTATUS ( -2147483644i32 as _ ) ; pub const STATUS_SMARTCARD_CARD_BLOCKED : NTSTATUS = NTSTATUS ( -1073740927i32 as _ ) ; pub const STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED : NTSTATUS = NTSTATUS ( -1073740926i32 as _ ) ; pub const STATUS_SMARTCARD_CERT_EXPIRED : NTSTATUS = NTSTATUS ( -1073740915i32 as _ ) ; pub const STATUS_SMARTCARD_CERT_REVOKED : NTSTATUS = NTSTATUS ( -1073740919i32 as _ ) ; pub const STATUS_SMARTCARD_IO_ERROR : NTSTATUS = NTSTATUS ( -1073740921i32 as _ ) ; pub const STATUS_SMARTCARD_LOGON_REQUIRED : NTSTATUS = NTSTATUS ( -1073741062i32 as _ ) ; pub const STATUS_SMARTCARD_NO_CARD : NTSTATUS = NTSTATUS ( -1073740925i32 as _ ) ; pub const STATUS_SMARTCARD_NO_CERTIFICATE : NTSTATUS = NTSTATUS ( -1073740923i32 as _ ) ; pub const STATUS_SMARTCARD_NO_KEYSET : NTSTATUS = NTSTATUS ( -1073740922i32 as _ ) ; pub const STATUS_SMARTCARD_NO_KEY_CONTAINER : NTSTATUS = NTSTATUS ( -1073740924i32 as _ ) ; pub const STATUS_SMARTCARD_SILENT_CONTEXT : NTSTATUS = NTSTATUS ( -1073740913i32 as _ ) ; pub const STATUS_SMARTCARD_SUBSYSTEM_FAILURE : NTSTATUS = NTSTATUS ( -1073741023i32 as _ ) ; pub const STATUS_SMARTCARD_WRONG_PIN : NTSTATUS = NTSTATUS ( -1073740928i32 as _ ) ; pub const STATUS_SMB1_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073740525i32 as _ ) ; pub const STATUS_SMB_BAD_CLUSTER_DIALECT : NTSTATUS = NTSTATUS ( -1067646975i32 as _ ) ; pub const STATUS_SMB_GUEST_LOGON_BLOCKED : NTSTATUS = NTSTATUS ( -1067646974i32 as _ ) ; pub const STATUS_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP : NTSTATUS = NTSTATUS ( -1067646976i32 as _ ) ; pub const STATUS_SMI_PRIMITIVE_INSTALLER_FAILED : NTSTATUS = NTSTATUS ( -1072365531i32 as _ ) ; pub const STATUS_SMR_GARBAGE_COLLECTION_REQUIRED : NTSTATUS = NTSTATUS ( -1073740524i32 as _ ) ; pub const STATUS_SOME_NOT_MAPPED : NTSTATUS = NTSTATUS ( 263i32 as _ ) ; pub const STATUS_SOURCE_ELEMENT_EMPTY : NTSTATUS = NTSTATUS ( -1073741181i32 as _ ) ; pub const STATUS_SPACES_ALLOCATION_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1058602994i32 as _ ) ; pub const STATUS_SPACES_COMPLETE : NTSTATUS = NTSTATUS ( 15138818i32 as _ ) ; pub const STATUS_SPACES_CORRUPT_METADATA : NTSTATUS = NTSTATUS ( -1058602986i32 as _ ) ; pub const STATUS_SPACES_DRIVE_LOST_DATA : NTSTATUS = NTSTATUS ( -1058602979i32 as _ ) ; pub const STATUS_SPACES_DRIVE_NOT_READY : NTSTATUS = NTSTATUS ( -1058602981i32 as _ ) ; pub const STATUS_SPACES_DRIVE_OPERATIONAL_STATE_INVALID : NTSTATUS = NTSTATUS ( -1058602990i32 as _ ) ; pub const STATUS_SPACES_DRIVE_REDUNDANCY_INVALID : NTSTATUS = NTSTATUS ( -1058603002i32 as _ ) ; pub const STATUS_SPACES_DRIVE_SECTOR_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1058603004i32 as _ ) ; pub const STATUS_SPACES_DRIVE_SPLIT : NTSTATUS = NTSTATUS ( -1058602980i32 as _ ) ; pub const STATUS_SPACES_DRT_FULL : NTSTATUS = NTSTATUS ( -1058602985i32 as _ ) ; pub const STATUS_SPACES_ENCLOSURE_AWARE_INVALID : NTSTATUS = NTSTATUS ( -1058602993i32 as _ ) ; pub const STATUS_SPACES_ENTRY_INCOMPLETE : NTSTATUS = NTSTATUS ( -1058602978i32 as _ ) ; pub const STATUS_SPACES_ENTRY_INVALID : NTSTATUS = NTSTATUS ( -1058602977i32 as _ ) ; pub const STATUS_SPACES_EXTENDED_ERROR : NTSTATUS = NTSTATUS ( -1058602996i32 as _ ) ; pub const STATUS_SPACES_FAULT_DOMAIN_TYPE_INVALID : NTSTATUS = NTSTATUS ( -1058603007i32 as _ ) ; pub const STATUS_SPACES_INCONSISTENCY : NTSTATUS = NTSTATUS ( -1058602984i32 as _ ) ; pub const STATUS_SPACES_INTERLEAVE_LENGTH_INVALID : NTSTATUS = NTSTATUS ( -1058602999i32 as _ ) ; pub const STATUS_SPACES_LOG_NOT_READY : NTSTATUS = NTSTATUS ( -1058602983i32 as _ ) ; pub const STATUS_SPACES_MAP_REQUIRED : NTSTATUS = NTSTATUS ( -1058602988i32 as _ ) ; pub const STATUS_SPACES_MARK_DIRTY : NTSTATUS = NTSTATUS ( -1058602976i32 as _ ) ; pub const STATUS_SPACES_NOT_ENOUGH_DRIVES : NTSTATUS = NTSTATUS ( -1058602997i32 as _ ) ; pub const STATUS_SPACES_NO_REDUNDANCY : NTSTATUS = NTSTATUS ( -1058602982i32 as _ ) ; pub const STATUS_SPACES_NUMBER_OF_COLUMNS_INVALID : NTSTATUS = NTSTATUS ( -1058602998i32 as _ ) ; pub const STATUS_SPACES_NUMBER_OF_DATA_COPIES_INVALID : NTSTATUS = NTSTATUS ( -1058603001i32 as _ ) ; pub const STATUS_SPACES_NUMBER_OF_GROUPS_INVALID : NTSTATUS = NTSTATUS ( -1058602991i32 as _ ) ; pub const STATUS_SPACES_PAUSE : NTSTATUS = NTSTATUS ( 15138817i32 as _ ) ; pub const STATUS_SPACES_PROVISIONING_TYPE_INVALID : NTSTATUS = NTSTATUS ( -1058602995i32 as _ ) ; pub const STATUS_SPACES_REDIRECT : NTSTATUS = NTSTATUS ( 15138819i32 as _ ) ; pub const STATUS_SPACES_REPAIRED : NTSTATUS = NTSTATUS ( 15138816i32 as _ ) ; pub const STATUS_SPACES_RESILIENCY_TYPE_INVALID : NTSTATUS = NTSTATUS ( -1058603005i32 as _ ) ; pub const STATUS_SPACES_UNSUPPORTED_VERSION : NTSTATUS = NTSTATUS ( -1058602987i32 as _ ) ; pub const STATUS_SPACES_UPDATE_COLUMN_STATE : NTSTATUS = NTSTATUS ( -1058602989i32 as _ ) ; pub const STATUS_SPACES_WRITE_CACHE_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1058602992i32 as _ ) ; pub const STATUS_SPARSE_NOT_ALLOWED_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103351i32 as _ ) ; pub const STATUS_SPECIAL_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741532i32 as _ ) ; pub const STATUS_SPECIAL_GROUP : NTSTATUS = NTSTATUS ( -1073741531i32 as _ ) ; pub const STATUS_SPECIAL_USER : NTSTATUS = NTSTATUS ( -1073741530i32 as _ ) ; pub const STATUS_STACK_BUFFER_OVERRUN : NTSTATUS = NTSTATUS ( -1073740791i32 as _ ) ; pub const STATUS_STACK_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741571i32 as _ ) ; pub const STATUS_STACK_OVERFLOW_READ : NTSTATUS = NTSTATUS ( -1073741272i32 as _ ) ; pub const STATUS_STOPPED_ON_SYMLINK : NTSTATUS = NTSTATUS ( -2147483603i32 as _ ) ; pub const STATUS_STORAGE_LOST_DATA_PERSISTENCE : NTSTATUS = NTSTATUS ( -1073740642i32 as _ ) ; pub const STATUS_STORAGE_RESERVE_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1073740625i32 as _ ) ; pub const STATUS_STORAGE_RESERVE_DOES_NOT_EXIST : NTSTATUS = NTSTATUS ( -1073740626i32 as _ ) ; pub const STATUS_STORAGE_RESERVE_ID_INVALID : NTSTATUS = NTSTATUS ( -1073740627i32 as _ ) ; pub const STATUS_STORAGE_RESERVE_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1073740624i32 as _ ) ; pub const STATUS_STORAGE_TOPOLOGY_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1073740666i32 as _ ) ; pub const STATUS_STOWED_EXCEPTION : NTSTATUS = NTSTATUS ( -1073741189i32 as _ ) ; pub const STATUS_STREAM_MINIVERSION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103390i32 as _ ) ; pub const STATUS_STREAM_MINIVERSION_NOT_VALID : NTSTATUS = NTSTATUS ( -1072103389i32 as _ ) ; pub const STATUS_STRICT_CFG_VIOLATION : NTSTATUS = NTSTATUS ( -1073740282i32 as _ ) ; pub const STATUS_STRONG_CRYPTO_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741066i32 as _ ) ; pub const STATUS_SUCCESS : NTSTATUS = NTSTATUS ( 0i32 as _ ) ; pub const STATUS_SUSPEND_COUNT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741750i32 as _ ) ; pub const STATUS_SVHDX_ERROR_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1067647232i32 as _ ) ; pub const STATUS_SVHDX_ERROR_STORED : NTSTATUS = NTSTATUS ( -1067712512i32 as _ ) ; pub const STATUS_SVHDX_NO_INITIATOR : NTSTATUS = NTSTATUS ( -1067647221i32 as _ ) ; pub const STATUS_SVHDX_RESERVATION_CONFLICT : NTSTATUS = NTSTATUS ( -1067647225i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_AVAILABLE : NTSTATUS = NTSTATUS ( -1067647231i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_CAPACITY_DATA_CHANGED : NTSTATUS = NTSTATUS ( -1067647230i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_OPERATING_DEFINITION_CHANGED : NTSTATUS = NTSTATUS ( -1067647226i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_REGISTRATIONS_PREEMPTED : NTSTATUS = NTSTATUS ( -1067647227i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_RESERVATIONS_PREEMPTED : NTSTATUS = NTSTATUS ( -1067647229i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_RESERVATIONS_RELEASED : NTSTATUS = NTSTATUS ( -1067647228i32 as _ ) ; pub const STATUS_SVHDX_VERSION_MISMATCH : NTSTATUS = NTSTATUS ( -1067647223i32 as _ ) ; pub const STATUS_SVHDX_WRONG_FILE_TYPE : NTSTATUS = NTSTATUS ( -1067647224i32 as _ ) ; pub const STATUS_SXS_ACTIVATION_CONTEXT_DISABLED : NTSTATUS = NTSTATUS ( -1072365561i32 as _ ) ; pub const STATUS_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT : NTSTATUS = NTSTATUS ( -1072365538i32 as _ ) ; pub const STATUS_SXS_ASSEMBLY_MISSING : NTSTATUS = NTSTATUS ( -1072365556i32 as _ ) ; pub const STATUS_SXS_ASSEMBLY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072365564i32 as _ ) ; pub const STATUS_SXS_CANT_GEN_ACTCTX : NTSTATUS = NTSTATUS ( -1072365566i32 as _ ) ; pub const STATUS_SXS_COMPONENT_STORE_CORRUPT : NTSTATUS = NTSTATUS ( -1072365542i32 as _ ) ; pub const STATUS_SXS_CORRUPTION : NTSTATUS = NTSTATUS ( -1072365547i32 as _ ) ; pub const STATUS_SXS_CORRUPT_ACTIVATION_STACK : NTSTATUS = NTSTATUS ( -1072365548i32 as _ ) ; pub const STATUS_SXS_EARLY_DEACTIVATION : NTSTATUS = NTSTATUS ( -1072365553i32 as _ ) ; pub const STATUS_SXS_FILE_HASH_MISMATCH : NTSTATUS = NTSTATUS ( -1072365541i32 as _ ) ; pub const STATUS_SXS_FILE_HASH_MISSING : NTSTATUS = NTSTATUS ( -1072365529i32 as _ ) ; pub const STATUS_SXS_FILE_NOT_PART_OF_ASSEMBLY : NTSTATUS = NTSTATUS ( -1072365537i32 as _ ) ; pub const STATUS_SXS_IDENTITIES_DIFFERENT : NTSTATUS = NTSTATUS ( -1072365539i32 as _ ) ; pub const STATUS_SXS_IDENTITY_DUPLICATE_ATTRIBUTE : NTSTATUS = NTSTATUS ( -1072365544i32 as _ ) ; pub const STATUS_SXS_IDENTITY_PARSE_ERROR : NTSTATUS = NTSTATUS ( -1072365543i32 as _ ) ; pub const STATUS_SXS_INVALID_ACTCTXDATA_FORMAT : NTSTATUS = NTSTATUS ( -1072365565i32 as _ ) ; pub const STATUS_SXS_INVALID_DEACTIVATION : NTSTATUS = NTSTATUS ( -1072365552i32 as _ ) ; pub const STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME : NTSTATUS = NTSTATUS ( -1072365545i32 as _ ) ; pub const STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE : NTSTATUS = NTSTATUS ( -1072365546i32 as _ ) ; pub const STATUS_SXS_KEY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072365560i32 as _ ) ; pub const STATUS_SXS_MANIFEST_FORMAT_ERROR : NTSTATUS = NTSTATUS ( -1072365563i32 as _ ) ; pub const STATUS_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT : NTSTATUS = NTSTATUS ( -1072365540i32 as _ ) ; pub const STATUS_SXS_MANIFEST_PARSE_ERROR : NTSTATUS = NTSTATUS ( -1072365562i32 as _ ) ; pub const STATUS_SXS_MANIFEST_TOO_BIG : NTSTATUS = NTSTATUS ( -1072365534i32 as _ ) ; pub const STATUS_SXS_MULTIPLE_DEACTIVATION : NTSTATUS = NTSTATUS ( -1072365551i32 as _ ) ; pub const STATUS_SXS_PROCESS_DEFAULT_ALREADY_SET : NTSTATUS = NTSTATUS ( -1072365554i32 as _ ) ; pub const STATUS_SXS_PROCESS_TERMINATION_REQUESTED : NTSTATUS = NTSTATUS ( -1072365549i32 as _ ) ; pub const STATUS_SXS_RELEASE_ACTIVATION_CONTEXT : NTSTATUS = NTSTATUS ( 1075118093i32 as _ ) ; pub const STATUS_SXS_SECTION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072365567i32 as _ ) ; pub const STATUS_SXS_SETTING_NOT_REGISTERED : NTSTATUS = NTSTATUS ( -1072365533i32 as _ ) ; pub const STATUS_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY : NTSTATUS = NTSTATUS ( -1072365550i32 as _ ) ; pub const STATUS_SXS_THREAD_QUERIES_DISABLED : NTSTATUS = NTSTATUS ( -1072365557i32 as _ ) ; pub const STATUS_SXS_TRANSACTION_CLOSURE_INCOMPLETE : NTSTATUS = NTSTATUS ( -1072365532i32 as _ ) ; pub const STATUS_SXS_VERSION_CONFLICT : NTSTATUS = NTSTATUS ( -1072365559i32 as _ ) ; pub const STATUS_SXS_WRONG_SECTION_TYPE : NTSTATUS = NTSTATUS ( -1072365558i32 as _ ) ; pub const STATUS_SYMLINK_CLASS_DISABLED : NTSTATUS = NTSTATUS ( -1073740011i32 as _ ) ; pub const STATUS_SYNCHRONIZATION_REQUIRED : NTSTATUS = NTSTATUS ( -1073741516i32 as _ ) ; pub const STATUS_SYSTEM_DEVICE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073740718i32 as _ ) ; pub const STATUS_SYSTEM_HIVE_TOO_LARGE : NTSTATUS = NTSTATUS ( -1073740946i32 as _ ) ; pub const STATUS_SYSTEM_IMAGE_BAD_SIGNATURE : NTSTATUS = NTSTATUS ( -1073741103i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_INVALID_POLICY : NTSTATUS = NTSTATUS ( -1058471933i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_POLICY_NOT_SIGNED : NTSTATUS = NTSTATUS ( -1058471932i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_POLICY_VIOLATION : NTSTATUS = NTSTATUS ( -1058471934i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_ROLLBACK_DETECTED : NTSTATUS = NTSTATUS ( -1058471935i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_SUPPLEMENTAL_POLICY_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1058471930i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_TOO_MANY_POLICIES : NTSTATUS = NTSTATUS ( -1058471931i32 as _ ) ; pub const STATUS_SYSTEM_NEEDS_REMEDIATION : NTSTATUS = NTSTATUS ( -1073740674i32 as _ ) ; pub const STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION : NTSTATUS = NTSTATUS ( 1073741873i32 as _ ) ; pub const STATUS_SYSTEM_POWERSTATE_TRANSITION : NTSTATUS = NTSTATUS ( 1073741871i32 as _ ) ; pub const STATUS_SYSTEM_PROCESS_TERMINATED : NTSTATUS = NTSTATUS ( -1073741286i32 as _ ) ; pub const STATUS_SYSTEM_SHUTDOWN : NTSTATUS = NTSTATUS ( -1073741077i32 as _ ) ; pub const STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED : NTSTATUS = NTSTATUS ( -1073740018i32 as _ ) ; pub const STATUS_THREADPOOL_HANDLE_EXCEPTION : NTSTATUS = NTSTATUS ( -1073740022i32 as _ ) ; pub const STATUS_THREADPOOL_RELEASED_DURING_OPERATION : NTSTATUS = NTSTATUS ( -1073740017i32 as _ ) ; pub const STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED : NTSTATUS = NTSTATUS ( -1073740019i32 as _ ) ; pub const STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED : NTSTATUS = NTSTATUS ( -1073740020i32 as _ ) ; pub const STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED : NTSTATUS = NTSTATUS ( -1073740021i32 as _ ) ; pub const STATUS_THREAD_ALREADY_IN_SESSION : NTSTATUS = NTSTATUS ( -1073740714i32 as _ ) ; pub const STATUS_THREAD_ALREADY_IN_TASK : NTSTATUS = NTSTATUS ( -1073740542i32 as _ ) ; pub const STATUS_THREAD_IS_TERMINATING : NTSTATUS = NTSTATUS ( -1073741749i32 as _ ) ; pub const STATUS_THREAD_NOT_IN_PROCESS : NTSTATUS = NTSTATUS ( -1073741526i32 as _ ) ; pub const STATUS_THREAD_NOT_IN_SESSION : NTSTATUS = NTSTATUS ( -1073740713i32 as _ ) ; pub const STATUS_THREAD_NOT_RUNNING : NTSTATUS = NTSTATUS ( -1073740522i32 as _ ) ; pub const STATUS_THREAD_WAS_SUSPENDED : NTSTATUS = NTSTATUS ( 1073741825i32 as _ ) ; pub const STATUS_TIMEOUT : NTSTATUS = NTSTATUS ( 258i32 as _ ) ; pub const STATUS_TIMER_NOT_CANCELED : NTSTATUS = NTSTATUS ( -1073741812i32 as _ ) ; pub const STATUS_TIMER_RESOLUTION_NOT_SET : NTSTATUS = NTSTATUS ( -1073741243i32 as _ ) ; pub const STATUS_TIMER_RESUME_IGNORED : NTSTATUS = NTSTATUS ( 1073741861i32 as _ ) ; pub const STATUS_TIME_DIFFERENCE_AT_DC : NTSTATUS = NTSTATUS ( -1073741517i32 as _ ) ; pub const STATUS_TM_IDENTITY_MISMATCH : NTSTATUS = NTSTATUS ( -1072103350i32 as _ ) ; pub const STATUS_TM_INITIALIZATION_FAILED : NTSTATUS = NTSTATUS ( -1072103420i32 as _ ) ; pub const STATUS_TM_VOLATILE : NTSTATUS = NTSTATUS ( -1072103365i32 as _ ) ; pub const STATUS_TOKEN_ALREADY_IN_USE : NTSTATUS = NTSTATUS ( -1073741525i32 as _ ) ; pub const STATUS_TOO_LATE : NTSTATUS = NTSTATUS ( -1073741431i32 as _ ) ; pub const STATUS_TOO_MANY_ADDRESSES : NTSTATUS = NTSTATUS ( -1073741303i32 as _ ) ; pub const STATUS_TOO_MANY_COMMANDS : NTSTATUS = NTSTATUS ( -1073741631i32 as _ ) ; pub const STATUS_TOO_MANY_CONTEXT_IDS : NTSTATUS = NTSTATUS ( -1073741478i32 as _ ) ; pub const STATUS_TOO_MANY_GUIDS_REQUESTED : NTSTATUS = NTSTATUS ( -1073741694i32 as _ ) ; pub const STATUS_TOO_MANY_LINKS : NTSTATUS = NTSTATUS ( -1073741211i32 as _ ) ; pub const STATUS_TOO_MANY_LUIDS_REQUESTED : NTSTATUS = NTSTATUS ( -1073741708i32 as _ ) ; pub const STATUS_TOO_MANY_NAMES : NTSTATUS = NTSTATUS ( -1073741619i32 as _ ) ; pub const STATUS_TOO_MANY_NODES : NTSTATUS = NTSTATUS ( -1073741298i32 as _ ) ; pub const STATUS_TOO_MANY_OPENED_FILES : NTSTATUS = NTSTATUS ( -1073741537i32 as _ ) ; pub const STATUS_TOO_MANY_PAGING_FILES : NTSTATUS = NTSTATUS ( -1073741673i32 as _ ) ; pub const STATUS_TOO_MANY_PRINCIPALS : NTSTATUS = NTSTATUS ( -1073741065i32 as _ ) ; pub const STATUS_TOO_MANY_SECRETS : NTSTATUS = NTSTATUS ( -1073741482i32 as _ ) ; pub const STATUS_TOO_MANY_SEGMENT_DESCRIPTORS : NTSTATUS = NTSTATUS ( -1073740685i32 as _ ) ; pub const STATUS_TOO_MANY_SESSIONS : NTSTATUS = NTSTATUS ( -1073741618i32 as _ ) ; pub const STATUS_TOO_MANY_SIDS : NTSTATUS = NTSTATUS ( -1073741442i32 as _ ) ; pub const STATUS_TOO_MANY_THREADS : NTSTATUS = NTSTATUS ( -1073741527i32 as _ ) ; pub const STATUS_TPM_20_E_ASYMMETRIC : NTSTATUS = NTSTATUS ( -1071054719i32 as _ ) ; pub const STATUS_TPM_20_E_ATTRIBUTES : NTSTATUS = NTSTATUS ( -1071054718i32 as _ ) ; pub const STATUS_TPM_20_E_AUTHSIZE : NTSTATUS = NTSTATUS ( -1071054524i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_CONTEXT : NTSTATUS = NTSTATUS ( -1071054523i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_FAIL : NTSTATUS = NTSTATUS ( -1071054706i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_MISSING : NTSTATUS = NTSTATUS ( -1071054555i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_TYPE : NTSTATUS = NTSTATUS ( -1071054556i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1071054545i32 as _ ) ; pub const STATUS_TPM_20_E_BAD_AUTH : NTSTATUS = NTSTATUS ( -1071054686i32 as _ ) ; pub const STATUS_TPM_20_E_BAD_CONTEXT : NTSTATUS = NTSTATUS ( -1071054512i32 as _ ) ; pub const STATUS_TPM_20_E_BINDING : NTSTATUS = NTSTATUS ( -1071054683i32 as _ ) ; pub const STATUS_TPM_20_E_COMMAND_CODE : NTSTATUS = NTSTATUS ( -1071054525i32 as _ ) ; pub const STATUS_TPM_20_E_COMMAND_SIZE : NTSTATUS = NTSTATUS ( -1071054526i32 as _ ) ; pub const STATUS_TPM_20_E_CPHASH : NTSTATUS = NTSTATUS ( -1071054511i32 as _ ) ; pub const STATUS_TPM_20_E_CURVE : NTSTATUS = NTSTATUS ( -1071054682i32 as _ ) ; pub const STATUS_TPM_20_E_DISABLED : NTSTATUS = NTSTATUS ( -1071054560i32 as _ ) ; pub const STATUS_TPM_20_E_ECC_CURVE : NTSTATUS = NTSTATUS ( -1071054557i32 as _ ) ; pub const STATUS_TPM_20_E_ECC_POINT : NTSTATUS = NTSTATUS ( -1071054681i32 as _ ) ; pub const STATUS_TPM_20_E_EXCLUSIVE : NTSTATUS = NTSTATUS ( -1071054559i32 as _ ) ; pub const STATUS_TPM_20_E_EXPIRED : NTSTATUS = NTSTATUS ( -1071054685i32 as _ ) ; pub const STATUS_TPM_20_E_FAILURE : NTSTATUS = NTSTATUS ( -1071054591i32 as _ ) ; pub const STATUS_TPM_20_E_HANDLE : NTSTATUS = NTSTATUS ( -1071054709i32 as _ ) ; pub const STATUS_TPM_20_E_HASH : NTSTATUS = NTSTATUS ( -1071054717i32 as _ ) ; pub const STATUS_TPM_20_E_HIERARCHY : NTSTATUS = NTSTATUS ( -1071054715i32 as _ ) ; pub const STATUS_TPM_20_E_HMAC : NTSTATUS = NTSTATUS ( -1071054567i32 as _ ) ; pub const STATUS_TPM_20_E_INITIALIZE : NTSTATUS = NTSTATUS ( -1071054592i32 as _ ) ; pub const STATUS_TPM_20_E_INSUFFICIENT : NTSTATUS = NTSTATUS ( -1071054694i32 as _ ) ; pub const STATUS_TPM_20_E_INTEGRITY : NTSTATUS = NTSTATUS ( -1071054689i32 as _ ) ; pub const STATUS_TPM_20_E_KDF : NTSTATUS = NTSTATUS ( -1071054708i32 as _ ) ; pub const STATUS_TPM_20_E_KEY : NTSTATUS = NTSTATUS ( -1071054692i32 as _ ) ; pub const STATUS_TPM_20_E_KEY_SIZE : NTSTATUS = NTSTATUS ( -1071054713i32 as _ ) ; pub const STATUS_TPM_20_E_MGF : NTSTATUS = NTSTATUS ( -1071054712i32 as _ ) ; pub const STATUS_TPM_20_E_MODE : NTSTATUS = NTSTATUS ( -1071054711i32 as _ ) ; pub const STATUS_TPM_20_E_NEEDS_TEST : NTSTATUS = NTSTATUS ( -1071054509i32 as _ ) ; pub const STATUS_TPM_20_E_NONCE : NTSTATUS = NTSTATUS ( -1071054705i32 as _ ) ; pub const STATUS_TPM_20_E_NO_RESULT : NTSTATUS = NTSTATUS ( -1071054508i32 as _ ) ; pub const STATUS_TPM_20_E_NV_AUTHORIZATION : NTSTATUS = NTSTATUS ( -1071054519i32 as _ ) ; pub const STATUS_TPM_20_E_NV_DEFINED : NTSTATUS = NTSTATUS ( -1071054516i32 as _ ) ; pub const STATUS_TPM_20_E_NV_LOCKED : NTSTATUS = NTSTATUS ( -1071054520i32 as _ ) ; pub const STATUS_TPM_20_E_NV_RANGE : NTSTATUS = NTSTATUS ( -1071054522i32 as _ ) ; pub const STATUS_TPM_20_E_NV_SIZE : NTSTATUS = NTSTATUS ( -1071054521i32 as _ ) ; pub const STATUS_TPM_20_E_NV_SPACE : NTSTATUS = NTSTATUS ( -1071054517i32 as _ ) ; pub const STATUS_TPM_20_E_NV_UNINITIALIZED : NTSTATUS = NTSTATUS ( -1071054518i32 as _ ) ; pub const STATUS_TPM_20_E_PARENT : NTSTATUS = NTSTATUS ( -1071054510i32 as _ ) ; pub const STATUS_TPM_20_E_PCR : NTSTATUS = NTSTATUS ( -1071054553i32 as _ ) ; pub const STATUS_TPM_20_E_PCR_CHANGED : NTSTATUS = NTSTATUS ( -1071054552i32 as _ ) ; pub const STATUS_TPM_20_E_POLICY : NTSTATUS = NTSTATUS ( -1071054554i32 as _ ) ; pub const STATUS_TPM_20_E_POLICY_CC : NTSTATUS = NTSTATUS ( -1071054684i32 as _ ) ; pub const STATUS_TPM_20_E_POLICY_FAIL : NTSTATUS = NTSTATUS ( -1071054691i32 as _ ) ; pub const STATUS_TPM_20_E_PP : NTSTATUS = NTSTATUS ( -1071054704i32 as _ ) ; pub const STATUS_TPM_20_E_PRIVATE : NTSTATUS = NTSTATUS ( -1071054581i32 as _ ) ; pub const STATUS_TPM_20_E_RANGE : NTSTATUS = NTSTATUS ( -1071054707i32 as _ ) ; pub const STATUS_TPM_20_E_REBOOT : NTSTATUS = NTSTATUS ( -1071054544i32 as _ ) ; pub const STATUS_TPM_20_E_RESERVED_BITS : NTSTATUS = NTSTATUS ( -1071054687i32 as _ ) ; pub const STATUS_TPM_20_E_SCHEME : NTSTATUS = NTSTATUS ( -1071054702i32 as _ ) ; pub const STATUS_TPM_20_E_SELECTOR : NTSTATUS = NTSTATUS ( -1071054696i32 as _ ) ; pub const STATUS_TPM_20_E_SENSITIVE : NTSTATUS = NTSTATUS ( -1071054507i32 as _ ) ; pub const STATUS_TPM_20_E_SEQUENCE : NTSTATUS = NTSTATUS ( -1071054589i32 as _ ) ; pub const STATUS_TPM_20_E_SIGNATURE : NTSTATUS = NTSTATUS ( -1071054693i32 as _ ) ; pub const STATUS_TPM_20_E_SIZE : NTSTATUS = NTSTATUS ( -1071054699i32 as _ ) ; pub const STATUS_TPM_20_E_SYMMETRIC : NTSTATUS = NTSTATUS ( -1071054698i32 as _ ) ; pub const STATUS_TPM_20_E_TAG : NTSTATUS = NTSTATUS ( -1071054697i32 as _ ) ; pub const STATUS_TPM_20_E_TICKET : NTSTATUS = NTSTATUS ( -1071054688i32 as _ ) ; pub const STATUS_TPM_20_E_TOO_MANY_CONTEXTS : NTSTATUS = NTSTATUS ( -1071054546i32 as _ ) ; pub const STATUS_TPM_20_E_TYPE : NTSTATUS = NTSTATUS ( -1071054710i32 as _ ) ; pub const STATUS_TPM_20_E_UNBALANCED : NTSTATUS = NTSTATUS ( -1071054543i32 as _ ) ; pub const STATUS_TPM_20_E_UPGRADE : NTSTATUS = NTSTATUS ( -1071054547i32 as _ ) ; pub const STATUS_TPM_20_E_VALUE : NTSTATUS = NTSTATUS ( -1071054716i32 as _ ) ; pub const STATUS_TPM_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1071050748i32 as _ ) ; pub const STATUS_TPM_AREA_LOCKED : NTSTATUS = NTSTATUS ( -1071054788i32 as _ ) ; pub const STATUS_TPM_AUDITFAILURE : NTSTATUS = NTSTATUS ( -1071054844i32 as _ ) ; pub const STATUS_TPM_AUDITFAIL_SUCCESSFUL : NTSTATUS = NTSTATUS ( -1071054799i32 as _ ) ; pub const STATUS_TPM_AUDITFAIL_UNSUCCESSFUL : NTSTATUS = NTSTATUS ( -1071054800i32 as _ ) ; pub const STATUS_TPM_AUTH2FAIL : NTSTATUS = NTSTATUS ( -1071054819i32 as _ ) ; pub const STATUS_TPM_AUTHFAIL : NTSTATUS = NTSTATUS ( -1071054847i32 as _ ) ; pub const STATUS_TPM_AUTH_CONFLICT : NTSTATUS = NTSTATUS ( -1071054789i32 as _ ) ; pub const STATUS_TPM_BADCONTEXT : NTSTATUS = NTSTATUS ( -1071054758i32 as _ ) ; pub const STATUS_TPM_BADINDEX : NTSTATUS = NTSTATUS ( -1071054846i32 as _ ) ; pub const STATUS_TPM_BADTAG : NTSTATUS = NTSTATUS ( -1071054818i32 as _ ) ; pub const STATUS_TPM_BAD_ATTRIBUTES : NTSTATUS = NTSTATUS ( -1071054782i32 as _ ) ; pub const STATUS_TPM_BAD_COUNTER : NTSTATUS = NTSTATUS ( -1071054779i32 as _ ) ; pub const STATUS_TPM_BAD_DATASIZE : NTSTATUS = NTSTATUS ( -1071054805i32 as _ ) ; pub const STATUS_TPM_BAD_DELEGATE : NTSTATUS = NTSTATUS ( -1071054759i32 as _ ) ; pub const STATUS_TPM_BAD_HANDLE : NTSTATUS = NTSTATUS ( -1071054760i32 as _ ) ; pub const STATUS_TPM_BAD_KEY_PROPERTY : NTSTATUS = NTSTATUS ( -1071054808i32 as _ ) ; pub const STATUS_TPM_BAD_LOCALITY : NTSTATUS = NTSTATUS ( -1071054787i32 as _ ) ; pub const STATUS_TPM_BAD_MIGRATION : NTSTATUS = NTSTATUS ( -1071054807i32 as _ ) ; pub const STATUS_TPM_BAD_MODE : NTSTATUS = NTSTATUS ( -1071054804i32 as _ ) ; pub const STATUS_TPM_BAD_ORDINAL : NTSTATUS = NTSTATUS ( -1071054838i32 as _ ) ; pub const STATUS_TPM_BAD_PARAMETER : NTSTATUS = NTSTATUS ( -1071054845i32 as _ ) ; pub const STATUS_TPM_BAD_PARAM_SIZE : NTSTATUS = NTSTATUS ( -1071054823i32 as _ ) ; pub const STATUS_TPM_BAD_PRESENCE : NTSTATUS = NTSTATUS ( -1071054803i32 as _ ) ; pub const STATUS_TPM_BAD_SCHEME : NTSTATUS = NTSTATUS ( -1071054806i32 as _ ) ; pub const STATUS_TPM_BAD_SIGNATURE : NTSTATUS = NTSTATUS ( -1071054750i32 as _ ) ; pub const STATUS_TPM_BAD_TYPE : NTSTATUS = NTSTATUS ( -1071054796i32 as _ ) ; pub const STATUS_TPM_BAD_VERSION : NTSTATUS = NTSTATUS ( -1071054802i32 as _ ) ; pub const STATUS_TPM_CLEAR_DISABLED : NTSTATUS = NTSTATUS ( -1071054843i32 as _ ) ; pub const STATUS_TPM_COMMAND_BLOCKED : NTSTATUS = NTSTATUS ( -1071053824i32 as _ ) ; pub const STATUS_TPM_COMMAND_CANCELED : NTSTATUS = NTSTATUS ( -1071050751i32 as _ ) ; pub const STATUS_TPM_CONTEXT_GAP : NTSTATUS = NTSTATUS ( -1071054777i32 as _ ) ; pub const STATUS_TPM_DAA_INPUT_DATA0 : NTSTATUS = NTSTATUS ( -1071054767i32 as _ ) ; pub const STATUS_TPM_DAA_INPUT_DATA1 : NTSTATUS = NTSTATUS ( -1071054766i32 as _ ) ; pub const STATUS_TPM_DAA_ISSUER_SETTINGS : NTSTATUS = NTSTATUS ( -1071054765i32 as _ ) ; pub const STATUS_TPM_DAA_ISSUER_VALIDITY : NTSTATUS = NTSTATUS ( -1071054762i32 as _ ) ; pub const STATUS_TPM_DAA_RESOURCES : NTSTATUS = NTSTATUS ( -1071054768i32 as _ ) ; pub const STATUS_TPM_DAA_STAGE : NTSTATUS = NTSTATUS ( -1071054763i32 as _ ) ; pub const STATUS_TPM_DAA_TPM_SETTINGS : NTSTATUS = NTSTATUS ( -1071054764i32 as _ ) ; pub const STATUS_TPM_DAA_WRONG_W : NTSTATUS = NTSTATUS ( -1071054761i32 as _ ) ; pub const STATUS_TPM_DEACTIVATED : NTSTATUS = NTSTATUS ( -1071054842i32 as _ ) ; pub const STATUS_TPM_DECRYPT_ERROR : NTSTATUS = NTSTATUS ( -1071054815i32 as _ ) ; pub const STATUS_TPM_DEFEND_LOCK_RUNNING : NTSTATUS = NTSTATUS ( -1071052797i32 as _ ) ; pub const STATUS_TPM_DELEGATE_ADMIN : NTSTATUS = NTSTATUS ( -1071054771i32 as _ ) ; pub const STATUS_TPM_DELEGATE_FAMILY : NTSTATUS = NTSTATUS ( -1071054772i32 as _ ) ; pub const STATUS_TPM_DELEGATE_LOCK : NTSTATUS = NTSTATUS ( -1071054773i32 as _ ) ; pub const STATUS_TPM_DISABLED : NTSTATUS = NTSTATUS ( -1071054841i32 as _ ) ; pub const STATUS_TPM_DISABLED_CMD : NTSTATUS = NTSTATUS ( -1071054840i32 as _ ) ; pub const STATUS_TPM_DOING_SELFTEST : NTSTATUS = NTSTATUS ( -1071052798i32 as _ ) ; pub const STATUS_TPM_DUPLICATE_VHANDLE : NTSTATUS = NTSTATUS ( -1071053822i32 as _ ) ; pub const STATUS_TPM_EMBEDDED_COMMAND_BLOCKED : NTSTATUS = NTSTATUS ( -1071053821i32 as _ ) ; pub const STATUS_TPM_EMBEDDED_COMMAND_UNSUPPORTED : NTSTATUS = NTSTATUS ( -1071053820i32 as _ ) ; pub const STATUS_TPM_ENCRYPT_ERROR : NTSTATUS = NTSTATUS ( -1071054816i32 as _ ) ; pub const STATUS_TPM_ERROR_MASK : NTSTATUS = NTSTATUS ( -1071054848i32 as _ ) ; pub const STATUS_TPM_FAIL : NTSTATUS = NTSTATUS ( -1071054839i32 as _ ) ; pub const STATUS_TPM_FAILEDSELFTEST : NTSTATUS = NTSTATUS ( -1071054820i32 as _ ) ; pub const STATUS_TPM_FAMILYCOUNT : NTSTATUS = NTSTATUS ( -1071054784i32 as _ ) ; pub const STATUS_TPM_INAPPROPRIATE_ENC : NTSTATUS = NTSTATUS ( -1071054834i32 as _ ) ; pub const STATUS_TPM_INAPPROPRIATE_SIG : NTSTATUS = NTSTATUS ( -1071054809i32 as _ ) ; pub const STATUS_TPM_INSTALL_DISABLED : NTSTATUS = NTSTATUS ( -1071054837i32 as _ ) ; pub const STATUS_TPM_INSUFFICIENT_BUFFER : NTSTATUS = NTSTATUS ( -1071050747i32 as _ ) ; pub const STATUS_TPM_INVALID_AUTHHANDLE : NTSTATUS = NTSTATUS ( -1071054814i32 as _ ) ; pub const STATUS_TPM_INVALID_FAMILY : NTSTATUS = NTSTATUS ( -1071054793i32 as _ ) ; pub const STATUS_TPM_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1071053823i32 as _ ) ; pub const STATUS_TPM_INVALID_KEYHANDLE : NTSTATUS = NTSTATUS ( -1071054836i32 as _ ) ; pub const STATUS_TPM_INVALID_KEYUSAGE : NTSTATUS = NTSTATUS ( -1071054812i32 as _ ) ; pub const STATUS_TPM_INVALID_PCR_INFO : NTSTATUS = NTSTATUS ( -1071054832i32 as _ ) ; pub const STATUS_TPM_INVALID_POSTINIT : NTSTATUS = NTSTATUS ( -1071054810i32 as _ ) ; pub const STATUS_TPM_INVALID_RESOURCE : NTSTATUS = NTSTATUS ( -1071054795i32 as _ ) ; pub const STATUS_TPM_INVALID_STRUCTURE : NTSTATUS = NTSTATUS ( -1071054781i32 as _ ) ; pub const STATUS_TPM_IOERROR : NTSTATUS = NTSTATUS ( -1071054817i32 as _ ) ; pub const STATUS_TPM_KEYNOTFOUND : NTSTATUS = NTSTATUS ( -1071054835i32 as _ ) ; pub const STATUS_TPM_KEY_NOTSUPPORTED : NTSTATUS = NTSTATUS ( -1071054790i32 as _ ) ; pub const STATUS_TPM_KEY_OWNER_CONTROL : NTSTATUS = NTSTATUS ( -1071054780i32 as _ ) ; pub const STATUS_TPM_MAXNVWRITES : NTSTATUS = NTSTATUS ( -1071054776i32 as _ ) ; pub const STATUS_TPM_MA_AUTHORITY : NTSTATUS = NTSTATUS ( -1071054753i32 as _ ) ; pub const STATUS_TPM_MA_DESTINATION : NTSTATUS = NTSTATUS ( -1071054755i32 as _ ) ; pub const STATUS_TPM_MA_SOURCE : NTSTATUS = NTSTATUS ( -1071054754i32 as _ ) ; pub const STATUS_TPM_MA_TICKET_SIGNATURE : NTSTATUS = NTSTATUS ( -1071054756i32 as _ ) ; pub const STATUS_TPM_MIGRATEFAIL : NTSTATUS = NTSTATUS ( -1071054833i32 as _ ) ; pub const STATUS_TPM_NEEDS_SELFTEST : NTSTATUS = NTSTATUS ( -1071052799i32 as _ ) ; pub const STATUS_TPM_NOCONTEXTSPACE : NTSTATUS = NTSTATUS ( -1071054749i32 as _ ) ; pub const STATUS_TPM_NOOPERATOR : NTSTATUS = NTSTATUS ( -1071054775i32 as _ ) ; pub const STATUS_TPM_NOSPACE : NTSTATUS = NTSTATUS ( -1071054831i32 as _ ) ; pub const STATUS_TPM_NOSRK : NTSTATUS = NTSTATUS ( -1071054830i32 as _ ) ; pub const STATUS_TPM_NOTFIPS : NTSTATUS = NTSTATUS ( -1071054794i32 as _ ) ; pub const STATUS_TPM_NOTLOCAL : NTSTATUS = NTSTATUS ( -1071054797i32 as _ ) ; pub const STATUS_TPM_NOTRESETABLE : NTSTATUS = NTSTATUS ( -1071054798i32 as _ ) ; pub const STATUS_TPM_NOTSEALED_BLOB : NTSTATUS = NTSTATUS ( -1071054829i32 as _ ) ; pub const STATUS_TPM_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071050749i32 as _ ) ; pub const STATUS_TPM_NOT_FULLWRITE : NTSTATUS = NTSTATUS ( -1071054778i32 as _ ) ; pub const STATUS_TPM_NO_ENDORSEMENT : NTSTATUS = NTSTATUS ( -1071054813i32 as _ ) ; pub const STATUS_TPM_NO_NV_PERMISSION : NTSTATUS = NTSTATUS ( -1071054792i32 as _ ) ; pub const STATUS_TPM_NO_WRAP_TRANSPORT : NTSTATUS = NTSTATUS ( -1071054801i32 as _ ) ; pub const STATUS_TPM_OWNER_CONTROL : NTSTATUS = NTSTATUS ( -1071054769i32 as _ ) ; pub const STATUS_TPM_OWNER_SET : NTSTATUS = NTSTATUS ( -1071054828i32 as _ ) ; pub const STATUS_TPM_PERMANENTEK : NTSTATUS = NTSTATUS ( -1071054751i32 as _ ) ; pub const STATUS_TPM_PER_NOWRITE : NTSTATUS = NTSTATUS ( -1071054785i32 as _ ) ; pub const STATUS_TPM_PPI_FUNCTION_UNSUPPORTED : NTSTATUS = NTSTATUS ( -1071050746i32 as _ ) ; pub const STATUS_TPM_READ_ONLY : NTSTATUS = NTSTATUS ( -1071054786i32 as _ ) ; pub const STATUS_TPM_REQUIRES_SIGN : NTSTATUS = NTSTATUS ( -1071054791i32 as _ ) ; pub const STATUS_TPM_RESOURCEMISSING : NTSTATUS = NTSTATUS ( -1071054774i32 as _ ) ; pub const STATUS_TPM_RESOURCES : NTSTATUS = NTSTATUS ( -1071054827i32 as _ ) ; pub const STATUS_TPM_RETRY : NTSTATUS = NTSTATUS ( -1071052800i32 as _ ) ; pub const STATUS_TPM_SHA_ERROR : NTSTATUS = NTSTATUS ( -1071054821i32 as _ ) ; pub const STATUS_TPM_SHA_THREAD : NTSTATUS = NTSTATUS ( -1071054822i32 as _ ) ; pub const STATUS_TPM_SHORTRANDOM : NTSTATUS = NTSTATUS ( -1071054826i32 as _ ) ; pub const STATUS_TPM_SIZE : NTSTATUS = NTSTATUS ( -1071054825i32 as _ ) ; pub const STATUS_TPM_TOOMANYCONTEXTS : NTSTATUS = NTSTATUS ( -1071054757i32 as _ ) ; pub const STATUS_TPM_TOO_MANY_CONTEXTS : NTSTATUS = NTSTATUS ( -1071050750i32 as _ ) ; pub const STATUS_TPM_TRANSPORT_NOTEXCLUSIVE : NTSTATUS = NTSTATUS ( -1071054770i32 as _ ) ; pub const STATUS_TPM_WRITE_LOCKED : NTSTATUS = NTSTATUS ( -1071054783i32 as _ ) ; pub const STATUS_TPM_WRONGPCRVAL : NTSTATUS = NTSTATUS ( -1071054824i32 as _ ) ; pub const STATUS_TPM_WRONG_ENTITYTYPE : NTSTATUS = NTSTATUS ( -1071054811i32 as _ ) ; pub const STATUS_TPM_ZERO_EXHAUST_ENABLED : NTSTATUS = NTSTATUS ( -1071038464i32 as _ ) ; pub const STATUS_TRANSACTED_MAPPING_UNSUPPORTED_REMOTE : NTSTATUS = NTSTATUS ( -1072103360i32 as _ ) ; pub const STATUS_TRANSACTIONAL_CONFLICT : NTSTATUS = NTSTATUS ( -1072103423i32 as _ ) ; pub const STATUS_TRANSACTIONAL_OPEN_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1072103361i32 as _ ) ; pub const STATUS_TRANSACTIONMANAGER_IDENTITY_MISMATCH : NTSTATUS = NTSTATUS ( -1072103332i32 as _ ) ; pub const STATUS_TRANSACTIONMANAGER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103343i32 as _ ) ; pub const STATUS_TRANSACTIONMANAGER_NOT_ONLINE : NTSTATUS = NTSTATUS ( -1072103342i32 as _ ) ; pub const STATUS_TRANSACTIONMANAGER_RECOVERY_NAME_COLLISION : NTSTATUS = NTSTATUS ( -1072103341i32 as _ ) ; pub const STATUS_TRANSACTIONS_NOT_FROZEN : NTSTATUS = NTSTATUS ( -1072103355i32 as _ ) ; pub const STATUS_TRANSACTIONS_UNSUPPORTED_REMOTE : NTSTATUS = NTSTATUS ( -1072103414i32 as _ ) ; pub const STATUS_TRANSACTION_ABORTED : NTSTATUS = NTSTATUS ( -1073741297i32 as _ ) ; pub const STATUS_TRANSACTION_ALREADY_ABORTED : NTSTATUS = NTSTATUS ( -1072103403i32 as _ ) ; pub const STATUS_TRANSACTION_ALREADY_COMMITTED : NTSTATUS = NTSTATUS ( -1072103402i32 as _ ) ; pub const STATUS_TRANSACTION_FREEZE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072103354i32 as _ ) ; pub const STATUS_TRANSACTION_INTEGRITY_VIOLATED : NTSTATUS = NTSTATUS ( -1072103333i32 as _ ) ; pub const STATUS_TRANSACTION_INVALID_ID : NTSTATUS = NTSTATUS ( -1073741292i32 as _ ) ; pub const STATUS_TRANSACTION_INVALID_MARSHALL_BUFFER : NTSTATUS = NTSTATUS ( -1072103401i32 as _ ) ; pub const STATUS_TRANSACTION_INVALID_TYPE : NTSTATUS = NTSTATUS ( -1073741291i32 as _ ) ; pub const STATUS_TRANSACTION_MUST_WRITETHROUGH : NTSTATUS = NTSTATUS ( -1072103330i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1072103421i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_ENLISTED : NTSTATUS = NTSTATUS ( -1072103327i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103346i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_JOINED : NTSTATUS = NTSTATUS ( -1072103417i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_REQUESTED : NTSTATUS = NTSTATUS ( -1072103404i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_ROOT : NTSTATUS = NTSTATUS ( -1072103340i32 as _ ) ; pub const STATUS_TRANSACTION_NO_MATCH : NTSTATUS = NTSTATUS ( -1073741294i32 as _ ) ; pub const STATUS_TRANSACTION_NO_RELEASE : NTSTATUS = NTSTATUS ( -1073741295i32 as _ ) ; pub const STATUS_TRANSACTION_NO_SUPERIOR : NTSTATUS = NTSTATUS ( -1072103329i32 as _ ) ; pub const STATUS_TRANSACTION_OBJECT_EXPIRED : NTSTATUS = NTSTATUS ( -1072103339i32 as _ ) ; pub const STATUS_TRANSACTION_PROPAGATION_FAILED : NTSTATUS = NTSTATUS ( -1072103408i32 as _ ) ; pub const STATUS_TRANSACTION_RECORD_TOO_LONG : NTSTATUS = NTSTATUS ( -1072103336i32 as _ ) ; pub const STATUS_TRANSACTION_REQUEST_NOT_VALID : NTSTATUS = NTSTATUS ( -1072103405i32 as _ ) ; pub const STATUS_TRANSACTION_REQUIRED_PROMOTION : NTSTATUS = NTSTATUS ( -1072103357i32 as _ ) ; pub const STATUS_TRANSACTION_RESPONDED : NTSTATUS = NTSTATUS ( -1073741293i32 as _ ) ; pub const STATUS_TRANSACTION_RESPONSE_NOT_ENLISTED : NTSTATUS = NTSTATUS ( -1072103337i32 as _ ) ; pub const STATUS_TRANSACTION_SCOPE_CALLBACKS_NOT_SET : NTSTATUS = NTSTATUS ( -2145845182i32 as _ ) ; pub const STATUS_TRANSACTION_SUPERIOR_EXISTS : NTSTATUS = NTSTATUS ( -1072103406i32 as _ ) ; pub const STATUS_TRANSACTION_TIMED_OUT : NTSTATUS = NTSTATUS ( -1073741296i32 as _ ) ; pub const STATUS_TRANSLATION_COMPLETE : NTSTATUS = NTSTATUS ( 288i32 as _ ) ; pub const STATUS_TRANSPORT_FULL : NTSTATUS = NTSTATUS ( -1073741110i32 as _ ) ; pub const STATUS_TRIGGERED_EXECUTABLE_MEMORY_WRITE : NTSTATUS = NTSTATUS ( -1073739994i32 as _ ) ; pub const STATUS_TRIM_READ_ZERO_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740686i32 as _ ) ; pub const STATUS_TRUSTED_DOMAIN_FAILURE : NTSTATUS = NTSTATUS ( -1073741428i32 as _ ) ; pub const STATUS_TRUSTED_RELATIONSHIP_FAILURE : NTSTATUS = NTSTATUS ( -1073741427i32 as _ ) ; pub const STATUS_TRUST_FAILURE : NTSTATUS = NTSTATUS ( -1073741424i32 as _ ) ; pub const STATUS_TS_INCOMPATIBLE_SESSIONS : NTSTATUS = NTSTATUS ( -1073086407i32 as _ ) ; pub const STATUS_TS_VIDEO_SUBSYSTEM_ERROR : NTSTATUS = NTSTATUS ( -1073086406i32 as _ ) ; pub const STATUS_TXF_ATTRIBUTE_CORRUPT : NTSTATUS = NTSTATUS ( -1072103363i32 as _ ) ; pub const STATUS_TXF_DIR_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1072103367i32 as _ ) ; pub const STATUS_TXF_METADATA_ALREADY_PRESENT : NTSTATUS = NTSTATUS ( -2145845183i32 as _ ) ; pub const STATUS_UNABLE_TO_DECOMMIT_VM : NTSTATUS = NTSTATUS ( -1073741780i32 as _ ) ; pub const STATUS_UNABLE_TO_DELETE_SECTION : NTSTATUS = NTSTATUS ( -1073741797i32 as _ ) ; pub const STATUS_UNABLE_TO_FREE_VM : NTSTATUS = NTSTATUS ( -1073741798i32 as _ ) ; pub const STATUS_UNABLE_TO_LOCK_MEDIA : NTSTATUS = NTSTATUS ( -1073741451i32 as _ ) ; pub const STATUS_UNABLE_TO_UNLOAD_MEDIA : NTSTATUS = NTSTATUS ( -1073741450i32 as _ ) ; pub const STATUS_UNDEFINED_CHARACTER : NTSTATUS = NTSTATUS ( -1073741469i32 as _ ) ; pub const STATUS_UNDEFINED_SCOPE : NTSTATUS = NTSTATUS ( -1073740540i32 as _ ) ; pub const STATUS_UNEXPECTED_IO_ERROR : NTSTATUS = NTSTATUS ( -1073741591i32 as _ ) ; pub const STATUS_UNEXPECTED_MM_CREATE_ERR : NTSTATUS = NTSTATUS ( -1073741590i32 as _ ) ; pub const STATUS_UNEXPECTED_MM_EXTEND_ERR : NTSTATUS = NTSTATUS ( -1073741588i32 as _ ) ; pub const STATUS_UNEXPECTED_MM_MAP_ERROR : NTSTATUS = NTSTATUS ( -1073741589i32 as _ ) ; pub const STATUS_UNEXPECTED_NETWORK_ERROR : NTSTATUS = NTSTATUS ( -1073741628i32 as _ ) ; pub const STATUS_UNFINISHED_CONTEXT_DELETED : NTSTATUS = NTSTATUS ( -1073741074i32 as _ ) ; pub const STATUS_UNHANDLED_EXCEPTION : NTSTATUS = NTSTATUS ( -1073741500i32 as _ ) ; pub const STATUS_UNKNOWN_REVISION : NTSTATUS = NTSTATUS ( -1073741736i32 as _ ) ; pub const STATUS_UNMAPPABLE_CHARACTER : NTSTATUS = NTSTATUS ( -1073741470i32 as _ ) ; pub const STATUS_UNRECOGNIZED_MEDIA : NTSTATUS = NTSTATUS ( -1073741804i32 as _ ) ; pub const STATUS_UNRECOGNIZED_VOLUME : NTSTATUS = NTSTATUS ( -1073741489i32 as _ ) ; pub const STATUS_UNSATISFIED_DEPENDENCIES : NTSTATUS = NTSTATUS ( -1073740615i32 as _ ) ; pub const STATUS_UNSUCCESSFUL : NTSTATUS = NTSTATUS ( -1073741823i32 as _ ) ; pub const STATUS_UNSUPPORTED_COMPRESSION : NTSTATUS = NTSTATUS ( -1073741217i32 as _ ) ; pub const STATUS_UNSUPPORTED_PREAUTH : NTSTATUS = NTSTATUS ( -1073740975i32 as _ ) ; pub const STATUS_UNWIND : NTSTATUS = NTSTATUS ( -1073741785i32 as _ ) ; pub const STATUS_UNWIND_CONSOLIDATE : NTSTATUS = NTSTATUS ( -2147483607i32 as _ ) ; pub const STATUS_USER2USER_REQUIRED : NTSTATUS = NTSTATUS ( -1073740792i32 as _ ) ; pub const STATUS_USER_APC : NTSTATUS = NTSTATUS ( 192i32 as _ ) ; pub const STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073740797i32 as _ ) ; pub const STATUS_USER_EXISTS : NTSTATUS = NTSTATUS ( -1073741725i32 as _ ) ; pub const STATUS_USER_MAPPED_FILE : NTSTATUS = NTSTATUS ( -1073741245i32 as _ ) ; pub const STATUS_USER_SESSION_DELETED : NTSTATUS = NTSTATUS ( -1073741309i32 as _ ) ; pub const STATUS_VALIDATE_CONTINUE : NTSTATUS = NTSTATUS ( -1073741199i32 as _ ) ; pub const STATUS_VALID_CATALOG_HASH : NTSTATUS = NTSTATUS ( 301i32 as _ ) ; pub const STATUS_VALID_IMAGE_HASH : NTSTATUS = NTSTATUS ( 300i32 as _ ) ; pub const STATUS_VALID_STRONG_CODE_HASH : NTSTATUS = NTSTATUS ( 302i32 as _ ) ; pub const STATUS_VARIABLE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741568i32 as _ ) ; pub const STATUS_VDM_DISALLOWED : NTSTATUS = NTSTATUS ( -1073740780i32 as _ ) ; pub const STATUS_VDM_HARD_ERROR : NTSTATUS = NTSTATUS ( -1073741283i32 as _ ) ; pub const STATUS_VERIFIER_STOP : NTSTATUS = NTSTATUS ( -1073740767i32 as _ ) ; pub const STATUS_VERIFY_REQUIRED : NTSTATUS = NTSTATUS ( -2147483626i32 as _ ) ; pub const STATUS_VHDSET_BACKING_STORAGE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1067647220i32 as _ ) ; pub const STATUS_VHD_ALREADY_AT_OR_BELOW_MINIMUM_VIRTUAL_SIZE : NTSTATUS = NTSTATUS ( -1069940685i32 as _ ) ; pub const STATUS_VHD_BITMAP_MISMATCH : NTSTATUS = NTSTATUS ( -1069940724i32 as _ ) ; pub const STATUS_VHD_BLOCK_ALLOCATION_FAILURE : NTSTATUS = NTSTATUS ( -1069940727i32 as _ ) ; pub const STATUS_VHD_BLOCK_ALLOCATION_TABLE_CORRUPT : NTSTATUS = NTSTATUS ( -1069940726i32 as _ ) ; pub const STATUS_VHD_CHANGE_TRACKING_DISABLED : NTSTATUS = NTSTATUS ( -1069940694i32 as _ ) ; pub const STATUS_VHD_CHILD_PARENT_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1069940722i32 as _ ) ; pub const STATUS_VHD_CHILD_PARENT_SIZE_MISMATCH : NTSTATUS = NTSTATUS ( -1069940713i32 as _ ) ; pub const STATUS_VHD_CHILD_PARENT_TIMESTAMP_MISMATCH : NTSTATUS = NTSTATUS ( -1069940721i32 as _ ) ; pub const STATUS_VHD_COULD_NOT_COMPUTE_MINIMUM_VIRTUAL_SIZE : NTSTATUS = NTSTATUS ( -1069940686i32 as _ ) ; pub const STATUS_VHD_DIFFERENCING_CHAIN_CYCLE_DETECTED : NTSTATUS = NTSTATUS ( -1069940712i32 as _ ) ; pub const STATUS_VHD_DIFFERENCING_CHAIN_ERROR_IN_PARENT : NTSTATUS = NTSTATUS ( -1069940711i32 as _ ) ; pub const STATUS_VHD_DRIVE_FOOTER_CHECKSUM_MISMATCH : NTSTATUS = NTSTATUS ( -1069940734i32 as _ ) ; pub const STATUS_VHD_DRIVE_FOOTER_CORRUPT : NTSTATUS = NTSTATUS ( -1069940733i32 as _ ) ; pub const STATUS_VHD_DRIVE_FOOTER_MISSING : NTSTATUS = NTSTATUS ( -1069940735i32 as _ ) ; pub const STATUS_VHD_FORMAT_UNKNOWN : NTSTATUS = NTSTATUS ( -1069940732i32 as _ ) ; pub const STATUS_VHD_FORMAT_UNSUPPORTED_VERSION : NTSTATUS = NTSTATUS ( -1069940731i32 as _ ) ; pub const STATUS_VHD_INVALID_BLOCK_SIZE : NTSTATUS = NTSTATUS ( -1069940725i32 as _ ) ; pub const STATUS_VHD_INVALID_CHANGE_TRACKING_ID : NTSTATUS = NTSTATUS ( -1069940695i32 as _ ) ; pub const STATUS_VHD_INVALID_FILE_SIZE : NTSTATUS = NTSTATUS ( -1069940717i32 as _ ) ; pub const STATUS_VHD_INVALID_SIZE : NTSTATUS = NTSTATUS ( -1069940718i32 as _ ) ; pub const STATUS_VHD_INVALID_STATE : NTSTATUS = NTSTATUS ( -1069940708i32 as _ ) ; pub const STATUS_VHD_INVALID_TYPE : NTSTATUS = NTSTATUS ( -1069940709i32 as _ ) ; pub const STATUS_VHD_METADATA_FULL : NTSTATUS = NTSTATUS ( -1069940696i32 as _ ) ; pub const STATUS_VHD_METADATA_READ_FAILURE : NTSTATUS = NTSTATUS ( -1069940720i32 as _ ) ; pub const STATUS_VHD_METADATA_WRITE_FAILURE : NTSTATUS = NTSTATUS ( -1069940719i32 as _ ) ; pub const STATUS_VHD_MISSING_CHANGE_TRACKING_INFORMATION : NTSTATUS = NTSTATUS ( -1069940688i32 as _ ) ; pub const STATUS_VHD_PARENT_VHD_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1069940714i32 as _ ) ; pub const STATUS_VHD_PARENT_VHD_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069940723i32 as _ ) ; pub const STATUS_VHD_RESIZE_WOULD_TRUNCATE_DATA : NTSTATUS = NTSTATUS ( -1069940687i32 as _ ) ; pub const STATUS_VHD_SHARED : NTSTATUS = NTSTATUS ( -1067647222i32 as _ ) ; pub const STATUS_VHD_SPARSE_HEADER_CHECKSUM_MISMATCH : NTSTATUS = NTSTATUS ( -1069940730i32 as _ ) ; pub const STATUS_VHD_SPARSE_HEADER_CORRUPT : NTSTATUS = NTSTATUS ( -1069940728i32 as _ ) ; pub const STATUS_VHD_SPARSE_HEADER_UNSUPPORTED_VERSION : NTSTATUS = NTSTATUS ( -1069940729i32 as _ ) ; pub const STATUS_VIDEO_DRIVER_DEBUG_REPORT_REQUEST : NTSTATUS = NTSTATUS ( 1075511532i32 as _ ) ; pub const STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD : NTSTATUS = NTSTATUS ( -1071972118i32 as _ ) ; pub const STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD_RECOVERED : NTSTATUS = NTSTATUS ( -2145713941i32 as _ ) ; pub const STATUS_VID_CHILD_GPA_PAGE_SET_CORRUPTED : NTSTATUS = NTSTATUS ( -1070137330i32 as _ ) ; pub const STATUS_VID_DUPLICATE_HANDLER : NTSTATUS = NTSTATUS ( -1070137343i32 as _ ) ; pub const STATUS_VID_EXCEEDED_KM_CONTEXT_COUNT_LIMIT : NTSTATUS = NTSTATUS ( -1070137314i32 as _ ) ; pub const STATUS_VID_EXCEEDED_MBP_ENTRY_MAP_LIMIT : NTSTATUS = NTSTATUS ( -1070137332i32 as _ ) ; pub const STATUS_VID_HANDLER_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1070137340i32 as _ ) ; pub const STATUS_VID_INVALID_CHILD_GPA_PAGE_SET : NTSTATUS = NTSTATUS ( -1070137310i32 as _ ) ; pub const STATUS_VID_INVALID_GPA_RANGE_HANDLE : NTSTATUS = NTSTATUS ( -1070137323i32 as _ ) ; pub const STATUS_VID_INVALID_MEMORY_BLOCK_HANDLE : NTSTATUS = NTSTATUS ( -1070137326i32 as _ ) ; pub const STATUS_VID_INVALID_MESSAGE_QUEUE_HANDLE : NTSTATUS = NTSTATUS ( -1070137324i32 as _ ) ; pub const STATUS_VID_INVALID_NUMA_NODE_INDEX : NTSTATUS = NTSTATUS ( -1070137328i32 as _ ) ; pub const STATUS_VID_INVALID_NUMA_SETTINGS : NTSTATUS = NTSTATUS ( -1070137329i32 as _ ) ; pub const STATUS_VID_INVALID_OBJECT_NAME : NTSTATUS = NTSTATUS ( -1070137339i32 as _ ) ; pub const STATUS_VID_INVALID_PPM_HANDLE : NTSTATUS = NTSTATUS ( -1070137320i32 as _ ) ; pub const STATUS_VID_INVALID_PROCESSOR_STATE : NTSTATUS = NTSTATUS ( -1070137315i32 as _ ) ; pub const STATUS_VID_KM_INTERFACE_ALREADY_INITIALIZED : NTSTATUS = NTSTATUS ( -1070137313i32 as _ ) ; pub const STATUS_VID_MBPS_ARE_LOCKED : NTSTATUS = NTSTATUS ( -1070137319i32 as _ ) ; pub const STATUS_VID_MBP_ALREADY_LOCKED_USING_RESERVED_PAGE : NTSTATUS = NTSTATUS ( -1070137307i32 as _ ) ; pub const STATUS_VID_MBP_COUNT_EXCEEDED_LIMIT : NTSTATUS = NTSTATUS ( -1070137306i32 as _ ) ; pub const STATUS_VID_MB_PROPERTY_ALREADY_SET_RESET : NTSTATUS = NTSTATUS ( -1070137312i32 as _ ) ; pub const STATUS_VID_MB_STILL_REFERENCED : NTSTATUS = NTSTATUS ( -1070137331i32 as _ ) ; pub const STATUS_VID_MEMORY_BLOCK_LOCK_COUNT_EXCEEDED : NTSTATUS = NTSTATUS ( -1070137321i32 as _ ) ; pub const STATUS_VID_MESSAGE_QUEUE_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1070137333i32 as _ ) ; pub const STATUS_VID_MESSAGE_QUEUE_CLOSED : NTSTATUS = NTSTATUS ( -1070137318i32 as _ ) ; pub const STATUS_VID_MESSAGE_QUEUE_NAME_TOO_LONG : NTSTATUS = NTSTATUS ( -1070137337i32 as _ ) ; pub const STATUS_VID_MMIO_RANGE_DESTROYED : NTSTATUS = NTSTATUS ( -1070137311i32 as _ ) ; pub const STATUS_VID_NOTIFICATION_QUEUE_ALREADY_ASSOCIATED : NTSTATUS = NTSTATUS ( -1070137327i32 as _ ) ; pub const STATUS_VID_NO_MEMORY_BLOCK_NOTIFICATION_QUEUE : NTSTATUS = NTSTATUS ( -1070137322i32 as _ ) ; pub const STATUS_VID_PAGE_RANGE_OVERFLOW : NTSTATUS = NTSTATUS ( -1070137325i32 as _ ) ; pub const STATUS_VID_PARTITION_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1070137336i32 as _ ) ; pub const STATUS_VID_PARTITION_DOES_NOT_EXIST : NTSTATUS = NTSTATUS ( -1070137335i32 as _ ) ; pub const STATUS_VID_PARTITION_NAME_NOT_FOUND : NTSTATUS = NTSTATUS ( -1070137334i32 as _ ) ; pub const STATUS_VID_PARTITION_NAME_TOO_LONG : NTSTATUS = NTSTATUS ( -1070137338i32 as _ ) ; pub const STATUS_VID_QUEUE_FULL : NTSTATUS = NTSTATUS ( -1070137341i32 as _ ) ; pub const STATUS_VID_REMOTE_NODE_PARENT_GPA_PAGES_USED : NTSTATUS = NTSTATUS ( -2143879167i32 as _ ) ; pub const STATUS_VID_RESERVE_PAGE_SET_IS_BEING_USED : NTSTATUS = NTSTATUS ( -1070137309i32 as _ ) ; pub const STATUS_VID_RESERVE_PAGE_SET_TOO_SMALL : NTSTATUS = NTSTATUS ( -1070137308i32 as _ ) ; pub const STATUS_VID_SAVED_STATE_CORRUPT : NTSTATUS = NTSTATUS ( -1070137305i32 as _ ) ; pub const STATUS_VID_SAVED_STATE_INCOMPATIBLE : NTSTATUS = NTSTATUS ( -1070137303i32 as _ ) ; pub const STATUS_VID_SAVED_STATE_UNRECOGNIZED_ITEM : NTSTATUS = NTSTATUS ( -1070137304i32 as _ ) ; pub const STATUS_VID_STOP_PENDING : NTSTATUS = NTSTATUS ( -1070137316i32 as _ ) ; pub const STATUS_VID_TOO_MANY_HANDLERS : NTSTATUS = NTSTATUS ( -1070137342i32 as _ ) ; pub const STATUS_VID_VIRTUAL_PROCESSOR_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1070137317i32 as _ ) ; pub const STATUS_VID_VTL_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1070137302i32 as _ ) ; pub const STATUS_VIRTDISK_DISK_ALREADY_OWNED : NTSTATUS = NTSTATUS ( -1069940706i32 as _ ) ; pub const STATUS_VIRTDISK_DISK_ONLINE_AND_WRITABLE : NTSTATUS = NTSTATUS ( -1069940705i32 as _ ) ; pub const STATUS_VIRTDISK_NOT_VIRTUAL_DISK : NTSTATUS = NTSTATUS ( -1069940715i32 as _ ) ; pub const STATUS_VIRTDISK_PROVIDER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069940716i32 as _ ) ; pub const STATUS_VIRTDISK_UNSUPPORTED_DISK_SECTOR_SIZE : NTSTATUS = NTSTATUS ( -1069940707i32 as _ ) ; pub const STATUS_VIRTUAL_CIRCUIT_CLOSED : NTSTATUS = NTSTATUS ( -1073741610i32 as _ ) ; pub const STATUS_VIRTUAL_DISK_LIMITATION : NTSTATUS = NTSTATUS ( -1069940710i32 as _ ) ; pub const STATUS_VIRUS_DELETED : NTSTATUS = NTSTATUS ( -1073739513i32 as _ ) ; pub const STATUS_VIRUS_INFECTED : NTSTATUS = NTSTATUS ( -1073739514i32 as _ ) ; pub const STATUS_VOLMGR_ALL_DISKS_FAILED : NTSTATUS = NTSTATUS ( -1070071767i32 as _ ) ; pub const STATUS_VOLMGR_BAD_BOOT_DISK : NTSTATUS = NTSTATUS ( -1070071729i32 as _ ) ; pub const STATUS_VOLMGR_DATABASE_FULL : NTSTATUS = NTSTATUS ( -1070071807i32 as _ ) ; pub const STATUS_VOLMGR_DIFFERENT_SECTOR_SIZE : NTSTATUS = NTSTATUS ( -1070071730i32 as _ ) ; pub const STATUS_VOLMGR_DISK_CONFIGURATION_CORRUPTED : NTSTATUS = NTSTATUS ( -1070071806i32 as _ ) ; pub const STATUS_VOLMGR_DISK_CONFIGURATION_NOT_IN_SYNC : NTSTATUS = NTSTATUS ( -1070071805i32 as _ ) ; pub const STATUS_VOLMGR_DISK_CONTAINS_NON_SIMPLE_VOLUME : NTSTATUS = NTSTATUS ( -1070071803i32 as _ ) ; pub const STATUS_VOLMGR_DISK_DUPLICATE : NTSTATUS = NTSTATUS ( -1070071802i32 as _ ) ; pub const STATUS_VOLMGR_DISK_DYNAMIC : NTSTATUS = NTSTATUS ( -1070071801i32 as _ ) ; pub const STATUS_VOLMGR_DISK_ID_INVALID : NTSTATUS = NTSTATUS ( -1070071800i32 as _ ) ; pub const STATUS_VOLMGR_DISK_INVALID : NTSTATUS = NTSTATUS ( -1070071799i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAST_VOTER : NTSTATUS = NTSTATUS ( -1070071798i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_INVALID : NTSTATUS = NTSTATUS ( -1070071797i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_NON_BASIC_BETWEEN_BASIC_PARTITIONS : NTSTATUS = NTSTATUS ( -1070071796i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_NOT_CYLINDER_ALIGNED : NTSTATUS = NTSTATUS ( -1070071795i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_PARTITIONS_TOO_SMALL : NTSTATUS = NTSTATUS ( -1070071794i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_PRIMARY_BETWEEN_LOGICAL_PARTITIONS : NTSTATUS = NTSTATUS ( -1070071793i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_TOO_MANY_PARTITIONS : NTSTATUS = NTSTATUS ( -1070071792i32 as _ ) ; pub const STATUS_VOLMGR_DISK_MISSING : NTSTATUS = NTSTATUS ( -1070071791i32 as _ ) ; pub const STATUS_VOLMGR_DISK_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1070071790i32 as _ ) ; pub const STATUS_VOLMGR_DISK_NOT_ENOUGH_SPACE : NTSTATUS = NTSTATUS ( -1070071789i32 as _ ) ; pub const STATUS_VOLMGR_DISK_REVECTORING_FAILED : NTSTATUS = NTSTATUS ( -1070071788i32 as _ ) ; pub const STATUS_VOLMGR_DISK_SECTOR_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1070071787i32 as _ ) ; pub const STATUS_VOLMGR_DISK_SET_NOT_CONTAINED : NTSTATUS = NTSTATUS ( -1070071786i32 as _ ) ; pub const STATUS_VOLMGR_DISK_USED_BY_MULTIPLE_MEMBERS : NTSTATUS = NTSTATUS ( -1070071785i32 as _ ) ; pub const STATUS_VOLMGR_DISK_USED_BY_MULTIPLE_PLEXES : NTSTATUS = NTSTATUS ( -1070071784i32 as _ ) ; pub const STATUS_VOLMGR_DYNAMIC_DISK_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1070071783i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_ALREADY_USED : NTSTATUS = NTSTATUS ( -1070071782i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_NOT_CONTIGUOUS : NTSTATUS = NTSTATUS ( -1070071781i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_NOT_IN_PUBLIC_REGION : NTSTATUS = NTSTATUS ( -1070071780i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_NOT_SECTOR_ALIGNED : NTSTATUS = NTSTATUS ( -1070071779i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_OVERLAPS_EBR_PARTITION : NTSTATUS = NTSTATUS ( -1070071778i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_VOLUME_LENGTHS_DO_NOT_MATCH : NTSTATUS = NTSTATUS ( -1070071777i32 as _ ) ; pub const STATUS_VOLMGR_FAULT_TOLERANT_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1070071776i32 as _ ) ; pub const STATUS_VOLMGR_INCOMPLETE_DISK_MIGRATION : NTSTATUS = NTSTATUS ( -2143813630i32 as _ ) ; pub const STATUS_VOLMGR_INCOMPLETE_REGENERATION : NTSTATUS = NTSTATUS ( -2143813631i32 as _ ) ; pub const STATUS_VOLMGR_INTERLEAVE_LENGTH_INVALID : NTSTATUS = NTSTATUS ( -1070071775i32 as _ ) ; pub const STATUS_VOLMGR_MAXIMUM_REGISTERED_USERS : NTSTATUS = NTSTATUS ( -1070071774i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_INDEX_DUPLICATE : NTSTATUS = NTSTATUS ( -1070071772i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_INDEX_INVALID : NTSTATUS = NTSTATUS ( -1070071771i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_IN_SYNC : NTSTATUS = NTSTATUS ( -1070071773i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_MISSING : NTSTATUS = NTSTATUS ( -1070071770i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_NOT_DETACHED : NTSTATUS = NTSTATUS ( -1070071769i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_REGENERATING : NTSTATUS = NTSTATUS ( -1070071768i32 as _ ) ; pub const STATUS_VOLMGR_MIRROR_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1070071717i32 as _ ) ; pub const STATUS_VOLMGR_NOTIFICATION_RESET : NTSTATUS = NTSTATUS ( -1070071764i32 as _ ) ; pub const STATUS_VOLMGR_NOT_PRIMARY_PACK : NTSTATUS = NTSTATUS ( -1070071726i32 as _ ) ; pub const STATUS_VOLMGR_NO_REGISTERED_USERS : NTSTATUS = NTSTATUS ( -1070071766i32 as _ ) ; pub const STATUS_VOLMGR_NO_SUCH_USER : NTSTATUS = NTSTATUS ( -1070071765i32 as _ ) ; pub const STATUS_VOLMGR_NO_VALID_LOG_COPIES : NTSTATUS = NTSTATUS ( -1070071720i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_DISKS_INVALID : NTSTATUS = NTSTATUS ( -1070071718i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_DISKS_IN_MEMBER_INVALID : NTSTATUS = NTSTATUS ( -1070071723i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_DISKS_IN_PLEX_INVALID : NTSTATUS = NTSTATUS ( -1070071724i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_EXTENTS_INVALID : NTSTATUS = NTSTATUS ( -1070071731i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_MEMBERS_INVALID : NTSTATUS = NTSTATUS ( -1070071763i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_PLEXES_INVALID : NTSTATUS = NTSTATUS ( -1070071762i32 as _ ) ; pub const STATUS_VOLMGR_PACK_CONFIG_OFFLINE : NTSTATUS = NTSTATUS ( -1070071728i32 as _ ) ; pub const STATUS_VOLMGR_PACK_CONFIG_ONLINE : NTSTATUS = NTSTATUS ( -1070071727i32 as _ ) ; pub const STATUS_VOLMGR_PACK_CONFIG_UPDATE_FAILED : NTSTATUS = NTSTATUS ( -1070071804i32 as _ ) ; pub const STATUS_VOLMGR_PACK_DUPLICATE : NTSTATUS = NTSTATUS ( -1070071761i32 as _ ) ; pub const STATUS_VOLMGR_PACK_HAS_QUORUM : NTSTATUS = NTSTATUS ( -1070071756i32 as _ ) ; pub const STATUS_VOLMGR_PACK_ID_INVALID : NTSTATUS = NTSTATUS ( -1070071760i32 as _ ) ; pub const STATUS_VOLMGR_PACK_INVALID : NTSTATUS = NTSTATUS ( -1070071759i32 as _ ) ; pub const STATUS_VOLMGR_PACK_LOG_UPDATE_FAILED : NTSTATUS = NTSTATUS ( -1070071725i32 as _ ) ; pub const STATUS_VOLMGR_PACK_NAME_INVALID : NTSTATUS = NTSTATUS ( -1070071758i32 as _ ) ; pub const STATUS_VOLMGR_PACK_OFFLINE : NTSTATUS = NTSTATUS ( -1070071757i32 as _ ) ; pub const STATUS_VOLMGR_PACK_WITHOUT_QUORUM : NTSTATUS = NTSTATUS ( -1070071755i32 as _ ) ; pub const STATUS_VOLMGR_PARTITION_STYLE_INVALID : NTSTATUS = NTSTATUS ( -1070071754i32 as _ ) ; pub const STATUS_VOLMGR_PARTITION_UPDATE_FAILED : NTSTATUS = NTSTATUS ( -1070071753i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_INDEX_DUPLICATE : NTSTATUS = NTSTATUS ( -1070071751i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_INDEX_INVALID : NTSTATUS = NTSTATUS ( -1070071750i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_IN_SYNC : NTSTATUS = NTSTATUS ( -1070071752i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_LAST_ACTIVE : NTSTATUS = NTSTATUS ( -1070071749i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_MISSING : NTSTATUS = NTSTATUS ( -1070071748i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_NOT_RAID5 : NTSTATUS = NTSTATUS ( -1070071745i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_NOT_SIMPLE : NTSTATUS = NTSTATUS ( -1070071744i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_NOT_SIMPLE_SPANNED : NTSTATUS = NTSTATUS ( -1070071721i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_REGENERATING : NTSTATUS = NTSTATUS ( -1070071747i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_TYPE_INVALID : NTSTATUS = NTSTATUS ( -1070071746i32 as _ ) ; pub const STATUS_VOLMGR_PRIMARY_PACK_PRESENT : NTSTATUS = NTSTATUS ( -1070071719i32 as _ ) ; pub const STATUS_VOLMGR_RAID5_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1070071716i32 as _ ) ; pub const STATUS_VOLMGR_STRUCTURE_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1070071743i32 as _ ) ; pub const STATUS_VOLMGR_TOO_MANY_NOTIFICATION_REQUESTS : NTSTATUS = NTSTATUS ( -1070071742i32 as _ ) ; pub const STATUS_VOLMGR_TRANSACTION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1070071741i32 as _ ) ; pub const STATUS_VOLMGR_UNEXPECTED_DISK_LAYOUT_CHANGE : NTSTATUS = NTSTATUS ( -1070071740i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_CONTAINS_MISSING_DISK : NTSTATUS = NTSTATUS ( -1070071739i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_ID_INVALID : NTSTATUS = NTSTATUS ( -1070071738i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_LENGTH_INVALID : NTSTATUS = NTSTATUS ( -1070071737i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_LENGTH_NOT_SECTOR_SIZE_MULTIPLE : NTSTATUS = NTSTATUS ( -1070071736i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_MIRRORED : NTSTATUS = NTSTATUS ( -1070071722i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_NOT_MIRRORED : NTSTATUS = NTSTATUS ( -1070071735i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_NOT_RETAINED : NTSTATUS = NTSTATUS ( -1070071734i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_OFFLINE : NTSTATUS = NTSTATUS ( -1070071733i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_RETAINED : NTSTATUS = NTSTATUS ( -1070071732i32 as _ ) ; pub const STATUS_VOLSNAP_ACTIVATION_TIMEOUT : NTSTATUS = NTSTATUS ( -1068498940i32 as _ ) ; pub const STATUS_VOLSNAP_BOOTFILE_NOT_VALID : NTSTATUS = NTSTATUS ( -1068498941i32 as _ ) ; pub const STATUS_VOLSNAP_HIBERNATE_READY : NTSTATUS = NTSTATUS ( 293i32 as _ ) ; pub const STATUS_VOLSNAP_PREPARE_HIBERNATE : NTSTATUS = NTSTATUS ( -1073740793i32 as _ ) ; pub const STATUS_VOLUME_DIRTY : NTSTATUS = NTSTATUS ( -1073739770i32 as _ ) ; pub const STATUS_VOLUME_DISMOUNTED : NTSTATUS = NTSTATUS ( -1073741202i32 as _ ) ; pub const STATUS_VOLUME_MOUNTED : NTSTATUS = NTSTATUS ( 265i32 as _ ) ; pub const STATUS_VOLUME_NOT_CLUSTER_ALIGNED : NTSTATUS = NTSTATUS ( -1073740636i32 as _ ) ; pub const STATUS_VOLUME_NOT_UPGRADED : NTSTATUS = NTSTATUS ( -1073741156i32 as _ ) ; pub const STATUS_VRF_CFG_AND_IO_ENABLED : NTSTATUS = NTSTATUS ( -1073740641i32 as _ ) ; pub const STATUS_VSM_DMA_PROTECTION_NOT_IN_USE : NTSTATUS = NTSTATUS ( -1069219839i32 as _ ) ; pub const STATUS_VSM_NOT_INITIALIZED : NTSTATUS = NTSTATUS ( -1069219840i32 as _ ) ; pub const STATUS_WAIT_0 : NTSTATUS = NTSTATUS ( 0i32 as _ ) ; pub const STATUS_WAIT_1 : NTSTATUS = NTSTATUS ( 1i32 as _ ) ; pub const STATUS_WAIT_2 : NTSTATUS = NTSTATUS ( 2i32 as _ ) ; pub const STATUS_WAIT_3 : NTSTATUS = NTSTATUS ( 3i32 as _ ) ; pub const STATUS_WAIT_63 : NTSTATUS = NTSTATUS ( 63i32 as _ ) ; pub const STATUS_WAIT_FOR_OPLOCK : NTSTATUS = NTSTATUS ( 871i32 as _ ) ; pub const STATUS_WAKE_SYSTEM : NTSTATUS = NTSTATUS ( 1073742484i32 as _ ) ; pub const STATUS_WAKE_SYSTEM_DEBUGGER : NTSTATUS = NTSTATUS ( -2147483641i32 as _ ) ; pub const STATUS_WAS_LOCKED : NTSTATUS = NTSTATUS ( 1073741849i32 as _ ) ; pub const STATUS_WAS_UNLOCKED : NTSTATUS = NTSTATUS ( 1073741847i32 as _ ) ; pub const STATUS_WIM_NOT_BOOTABLE : NTSTATUS = NTSTATUS ( -1073740665i32 as _ ) ; pub const STATUS_WMI_ALREADY_DISABLED : NTSTATUS = NTSTATUS ( -1073741054i32 as _ ) ; pub const STATUS_WMI_ALREADY_ENABLED : NTSTATUS = NTSTATUS ( -1073741053i32 as _ ) ; pub const STATUS_WMI_GUID_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073741055i32 as _ ) ; pub const STATUS_WMI_GUID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741163i32 as _ ) ; pub const STATUS_WMI_INSTANCE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741162i32 as _ ) ; pub const STATUS_WMI_ITEMID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741161i32 as _ ) ; pub const STATUS_WMI_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741091i32 as _ ) ; pub const STATUS_WMI_READ_ONLY : NTSTATUS = NTSTATUS ( -1073741114i32 as _ ) ; pub const STATUS_WMI_SET_FAILURE : NTSTATUS = NTSTATUS ( -1073741113i32 as _ ) ; pub const STATUS_WMI_TRY_AGAIN : NTSTATUS = NTSTATUS ( -1073741160i32 as _ ) ; pub const STATUS_WOF_FILE_RESOURCE_TABLE_CORRUPT : NTSTATUS = NTSTATUS ( -1073700185i32 as _ ) ; pub const STATUS_WOF_WIM_HEADER_CORRUPT : NTSTATUS = NTSTATUS ( -1073700187i32 as _ ) ; pub const STATUS_WOF_WIM_RESOURCE_TABLE_CORRUPT : NTSTATUS = NTSTATUS ( -1073700186i32 as _ ) ; pub const STATUS_WORKING_SET_LIMIT_RANGE : NTSTATUS = NTSTATUS ( 1073741826i32 as _ ) ; pub const STATUS_WORKING_SET_QUOTA : NTSTATUS = NTSTATUS ( -1073741663i32 as _ ) ; pub const STATUS_WOW_ASSERTION : NTSTATUS = NTSTATUS ( -1073702760i32 as _ ) ; pub const STATUS_WRONG_COMPARTMENT : NTSTATUS = NTSTATUS ( -1073700731i32 as _ ) ; pub const STATUS_WRONG_CREDENTIAL_HANDLE : NTSTATUS = NTSTATUS ( -1073741070i32 as _ ) ; pub const STATUS_WRONG_EFS : NTSTATUS = NTSTATUS ( -1073741169i32 as _ ) ; pub const STATUS_WRONG_PASSWORD_CORE : NTSTATUS = NTSTATUS ( -1073741495i32 as _ ) ; pub const STATUS_WRONG_VOLUME : NTSTATUS = NTSTATUS ( -1073741806i32 as _ ) ; pub const STATUS_WX86_BREAKPOINT : NTSTATUS = NTSTATUS ( 1073741855i32 as _ ) ; pub const STATUS_WX86_CONTINUE : NTSTATUS = NTSTATUS ( 1073741853i32 as _ ) ; pub const STATUS_WX86_CREATEWX86TIB : NTSTATUS = NTSTATUS ( 1073741864i32 as _ ) ; pub const STATUS_WX86_EXCEPTION_CHAIN : NTSTATUS = NTSTATUS ( 1073741858i32 as _ ) ; pub const STATUS_WX86_EXCEPTION_CONTINUE : NTSTATUS = NTSTATUS ( 1073741856i32 as _ ) ; pub const STATUS_WX86_EXCEPTION_LASTCHANCE : NTSTATUS = NTSTATUS ( 1073741857i32 as _ ) ; pub const STATUS_WX86_FLOAT_STACK_CHECK : NTSTATUS = NTSTATUS ( -1073741200i32 as _ ) ; pub const STATUS_WX86_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1073741201i32 as _ ) ; pub const STATUS_WX86_SINGLE_STEP : NTSTATUS = NTSTATUS ( 1073741854i32 as _ ) ; pub const STATUS_WX86_UNSIMULATE : NTSTATUS = NTSTATUS ( 1073741852i32 as _ ) ; pub const STATUS_XMLDSIG_ERROR : NTSTATUS = NTSTATUS ( -1073700732i32 as _ ) ; pub const STATUS_XML_ENCODING_MISMATCH : NTSTATUS = NTSTATUS ( -1072365535i32 as _ ) ; pub const STATUS_XML_PARSE_ERROR : NTSTATUS = NTSTATUS ( -1073700733i32 as _ ) ; pub const STG_E_ABNORMALAPIEXIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286790i32 as _ ) ; pub const STG_E_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287035i32 as _ ) ; pub const STG_E_BADBASEADDRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286768i32 as _ ) ; pub const STG_E_CANTSAVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286781i32 as _ ) ; pub const STG_E_CSS_AUTHENTICATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286266i32 as _ ) ; pub const STG_E_CSS_KEY_NOT_ESTABLISHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286264i32 as _ ) ; pub const STG_E_CSS_KEY_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286265i32 as _ ) ; pub const STG_E_CSS_REGION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286262i32 as _ ) ; pub const STG_E_CSS_SCRAMBLED_SECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286263i32 as _ ) ; pub const STG_E_DEVICE_UNRESPONSIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286518i32 as _ ) ; pub const STG_E_DISKISWRITEPROTECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287021i32 as _ ) ; pub const STG_E_DOCFILECORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286775i32 as _ ) ; pub const STG_E_DOCFILETOOLARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286767i32 as _ ) ; pub const STG_E_EXTANTMARSHALLINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286776i32 as _ ) ; pub const STG_E_FILEALREADYEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286960i32 as _ ) ; pub const STG_E_FILENOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287038i32 as _ ) ; pub const STG_E_FIRMWARE_IMAGE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286519i32 as _ ) ; pub const STG_E_FIRMWARE_SLOT_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286520i32 as _ ) ; pub const STG_E_INCOMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286527i32 as _ ) ; pub const STG_E_INSUFFICIENTMEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287032i32 as _ ) ; pub const STG_E_INUSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286784i32 as _ ) ; pub const STG_E_INVALIDFLAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286785i32 as _ ) ; pub const STG_E_INVALIDFUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287039i32 as _ ) ; pub const STG_E_INVALIDHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287034i32 as _ ) ; pub const STG_E_INVALIDHEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286789i32 as _ ) ; pub const STG_E_INVALIDNAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286788i32 as _ ) ; pub const STG_E_INVALIDPARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286953i32 as _ ) ; pub const STG_E_INVALIDPOINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287031i32 as _ ) ; pub const STG_E_LOCKVIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287007i32 as _ ) ; pub const STG_E_MEDIUMFULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286928i32 as _ ) ; pub const STG_E_NOMOREFILES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287022i32 as _ ) ; pub const STG_E_NOTCURRENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286783i32 as _ ) ; pub const STG_E_NOTFILEBASEDSTORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286777i32 as _ ) ; pub const STG_E_NOTSIMPLEFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286766i32 as _ ) ; pub const STG_E_OLDDLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286779i32 as _ ) ; pub const STG_E_OLDFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286780i32 as _ ) ; pub const STG_E_PATHNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287037i32 as _ ) ; pub const STG_E_PROPSETMISMATCHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286800i32 as _ ) ; pub const STG_E_READFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287010i32 as _ ) ; pub const STG_E_RESETS_EXHAUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286261i32 as _ ) ; pub const STG_E_REVERTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286782i32 as _ ) ; pub const STG_E_SEEKERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287015i32 as _ ) ; pub const STG_E_SHAREREQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286778i32 as _ ) ; pub const STG_E_SHAREVIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287008i32 as _ ) ; pub const STG_E_STATUS_COPY_PROTECTION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286267i32 as _ ) ; pub const STG_E_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286526i32 as _ ) ; pub const STG_E_TOOMANYOPENFILES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287036i32 as _ ) ; pub const STG_E_UNIMPLEMENTEDFUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286786i32 as _ ) ; pub const STG_E_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286787i32 as _ ) ; pub const STG_E_WRITEFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287011i32 as _ ) ; pub const STG_S_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( 197121i32 as _ ) ; pub const STG_S_CANNOTCONSOLIDATE : :: windows :: HRESULT = :: windows :: HRESULT ( 197126i32 as _ ) ; pub const STG_S_CONSOLIDATIONFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( 197125i32 as _ ) ; pub const STG_S_CONVERTED : :: windows :: HRESULT = :: windows :: HRESULT ( 197120i32 as _ ) ; pub const STG_S_MONITORING : :: windows :: HRESULT = :: windows :: HRESULT ( 197123i32 as _ ) ; pub const STG_S_MULTIPLEOPENS : :: windows :: HRESULT = :: windows :: HRESULT ( 197124i32 as _ ) ; pub const STG_S_POWER_CYCLE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( 197127i32 as _ ) ; pub const STG_S_RETRYNOW : :: windows :: HRESULT = :: windows :: HRESULT ( 197122i32 as _ ) ; pub const STORE_ERROR_LICENSE_REVOKED : i32 = 15864i32 ; pub const STORE_ERROR_PENDING_COM_TRANSACTION : i32 = 15863i32 ; pub const STORE_ERROR_UNLICENSED : i32 = 15861i32 ; pub const STORE_ERROR_UNLICENSED_USER : i32 = 15862i32 ; pub const STRICT : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SYSTEMTIME { pub wYear : u16 , pub wMonth : u16 , pub wDayOfWeek : u16 , pub wDay : u16 , pub wHour : u16 , pub wMinute : u16 , pub wSecond : u16 , pub wMilliseconds : u16 } impl SYSTEMTIME { } impl :: std :: default :: Default for SYSTEMTIME { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for SYSTEMTIME { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SYSTEMTIME" ) . field ( "wYear" , & self . wYear ) . field ( "wMonth" , & self . wMonth ) . field ( "wDayOfWeek" , & self . wDayOfWeek ) . field ( "wDay" , & self . wDay ) . field ( "wHour" , & self . wHour ) . field ( "wMinute" , & self . wMinute ) . field ( "wSecond" , & self . wSecond ) . field ( "wMilliseconds" , & self . wMilliseconds ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SYSTEMTIME { fn eq ( & self , other : & Self ) -> bool { self . wYear == other . wYear && self . wMonth == other . wMonth && self . wDayOfWeek == other . wDayOfWeek && self . wDay == other . wDay && self . wHour == other . wHour && self . wMinute == other . wMinute && self . wSecond == other . wSecond && self . wMilliseconds == other . wMilliseconds } } impl :: std :: cmp :: Eq for SYSTEMTIME { } unsafe impl :: windows :: Abi for SYSTEMTIME { type Abi = Self ; type DefaultType = Self ; } pub const S_APPLICATION_ACTIVATION_ERROR_HANDLED_BY_DIALOG : :: windows :: HRESULT = :: windows :: HRESULT ( 2556505i32 as _ ) ; pub const S_FALSE : :: windows :: HRESULT = :: windows :: HRESULT ( 1i32 as _ ) ; pub const S_OK : :: windows :: HRESULT = :: windows :: HRESULT ( 0i32 as _ ) ; pub const S_STORE_LAUNCHED_FOR_REMEDIATION : :: windows :: HRESULT = :: windows :: HRESULT ( 2556504i32 as _ ) ; pub unsafe fn SetHandleInformation < 'a , Param0 : :: windows :: IntoParam < 'a , HANDLE > , > ( hobject : Param0 , dwmask : u32 , dwflags : HANDLE_FLAGS , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="kernel32" ) ] extern "system" { fn SetHandleInformation ( hobject : HANDLE , dwmask : u32 , dwflags : HANDLE_FLAGS ) -> BOOL ; } :: std :: mem :: transmute ( SetHandleInformation ( hobject . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwmask ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysAddRefString < 'a , Param0 : :: windows :: IntoParam < 'a , BSTR > , > ( bstrstring : Param0 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysAddRefString ( bstrstring : :: std :: mem :: ManuallyDrop < BSTR > ) -> :: windows :: HRESULT ; } SysAddRefString ( bstrstring . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysAllocString < 'a , Param0 : :: windows :: IntoParam < 'a , PWSTR > , > ( psz : Param0 , ) -> BSTR { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysAllocString ( psz : PWSTR ) -> BSTR ; } :: std :: mem :: transmute ( SysAllocString ( psz . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysAllocStringByteLen < 'a , Param0 : :: windows :: IntoParam < 'a , PSTR > , > ( psz : Param0 , len : u32 , ) -> BSTR { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysAllocStringByteLen ( psz : PSTR , len : u32 ) -> BSTR ; } :: std :: mem :: transmute ( SysAllocStringByteLen ( psz . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( len ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysAllocStringLen < 'a , Param0 : :: windows :: IntoParam < 'a , PWSTR > , > ( strin : Param0 , ui : u32 , ) -> BSTR { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysAllocStringLen ( strin : PWSTR , ui : u32 ) -> BSTR ; } :: std :: mem :: transmute ( SysAllocStringLen ( strin . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ui ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysFreeString < 'a , Param0 : :: windows :: IntoParam < 'a , BSTR > , > ( bstrstring : Param0 , ) { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysFreeString ( bstrstring : :: std :: mem :: ManuallyDrop < BSTR > ) ; } :: std :: mem :: transmute ( SysFreeString ( bstrstring . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysReAllocString < 'a , Param1 : :: windows :: IntoParam < 'a , PWSTR > , > ( pbstr : * mut BSTR , psz : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysReAllocString ( pbstr : * mut :: std :: mem :: ManuallyDrop < BSTR > , psz : PWSTR ) -> i32 ; } :: std :: mem :: transmute ( SysReAllocString ( :: std :: mem :: transmute ( pbstr ) , psz . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysReAllocStringLen < 'a , Param1 : :: windows :: IntoParam < 'a , PWSTR > , > ( pbstr : * mut BSTR , psz : Param1 , len : u32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysReAllocStringLen ( pbstr : * mut :: std :: mem :: ManuallyDrop < BSTR > , psz : PWSTR , len : u32 ) -> i32 ; } :: std :: mem :: transmute ( SysReAllocStringLen ( :: std :: mem :: transmute ( pbstr ) , psz . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( len ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysReleaseString < 'a , Param0 : :: windows :: IntoParam < 'a , BSTR > , > ( bstrstring : Param0 , ) { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysReleaseString ( bstrstring : :: std :: mem :: ManuallyDrop < BSTR > ) ; } :: std :: mem :: transmute ( SysReleaseString ( bstrstring . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysStringByteLen < 'a , Param0 : :: windows :: IntoParam < 'a , BSTR > , > ( bstr : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysStringByteLen ( bstr : :: std :: mem :: ManuallyDrop < BSTR > ) -> u32 ; } :: std :: mem :: transmute ( SysStringByteLen ( bstr . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysStringLen < 'a , Param0 : :: windows :: IntoParam < 'a , BSTR > , > ( pbstr : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysStringLen ( pbstr : :: std :: mem :: ManuallyDrop < BSTR > ) -> u32 ; } :: std :: mem :: transmute ( SysStringLen ( pbstr . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const TBSIMP_E_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796160i32 as _ ) ; pub const TBSIMP_E_CLEANUP_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796159i32 as _ ) ; pub const TBSIMP_E_COMMAND_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796149i32 as _ ) ; pub const TBSIMP_E_COMMAND_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796143i32 as _ ) ; pub const TBSIMP_E_DUPLICATE_VHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796154i32 as _ ) ; pub const TBSIMP_E_HASH_BAD_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796155i32 as _ ) ; pub const TBSIMP_E_HASH_TABLE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796138i32 as _ ) ; pub const TBSIMP_E_INVALID_CONTEXT_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796158i32 as _ ) ; pub const TBSIMP_E_INVALID_CONTEXT_PARAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796157i32 as _ ) ; pub const TBSIMP_E_INVALID_OUTPUT_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796153i32 as _ ) ; pub const TBSIMP_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796152i32 as _ ) ; pub const TBSIMP_E_INVALID_RESOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796140i32 as _ ) ; pub const TBSIMP_E_LIST_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796146i32 as _ ) ; pub const TBSIMP_E_LIST_NO_MORE_ITEMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796147i32 as _ ) ; pub const TBSIMP_E_NOTHING_TO_UNLOAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796139i32 as _ ) ; pub const TBSIMP_E_NOT_ENOUGH_SPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796145i32 as _ ) ; pub const TBSIMP_E_NOT_ENOUGH_TPM_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796144i32 as _ ) ; pub const TBSIMP_E_NO_EVENT_LOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796133i32 as _ ) ; pub const TBSIMP_E_OUT_OF_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796148i32 as _ ) ; pub const TBSIMP_E_PPI_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796135i32 as _ ) ; pub const TBSIMP_E_RESOURCE_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796141i32 as _ ) ; pub const TBSIMP_E_RPC_INIT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796151i32 as _ ) ; pub const TBSIMP_E_SCHEDULER_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796150i32 as _ ) ; pub const TBSIMP_E_TOO_MANY_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796136i32 as _ ) ; pub const TBSIMP_E_TOO_MANY_TBS_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796137i32 as _ ) ; pub const TBSIMP_E_TPM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796156i32 as _ ) ; pub const TBSIMP_E_TPM_INCOMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796134i32 as _ ) ; pub const TBSIMP_E_UNKNOWN_ORDINAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796142i32 as _ ) ; pub const TBS_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845806i32 as _ ) ; pub const TBS_E_BAD_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845822i32 as _ ) ; pub const TBS_E_BUFFER_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845810i32 as _ ) ; pub const TBS_E_COMMAND_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845811i32 as _ ) ; pub const TBS_E_INSUFFICIENT_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845819i32 as _ ) ; pub const TBS_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845823i32 as _ ) ; pub const TBS_E_INVALID_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845820i32 as _ ) ; pub const TBS_E_INVALID_CONTEXT_PARAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845817i32 as _ ) ; pub const TBS_E_INVALID_OUTPUT_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845821i32 as _ ) ; pub const TBS_E_IOERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845818i32 as _ ) ; pub const TBS_E_NO_EVENT_LOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845807i32 as _ ) ; pub const TBS_E_OWNERAUTH_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845803i32 as _ ) ; pub const TBS_E_PPI_FUNCTION_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845804i32 as _ ) ; pub const TBS_E_PPI_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845812i32 as _ ) ; pub const TBS_E_PROVISIONING_INCOMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845802i32 as _ ) ; pub const TBS_E_PROVISIONING_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845805i32 as _ ) ; pub const TBS_E_SERVICE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845808i32 as _ ) ; pub const TBS_E_SERVICE_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845816i32 as _ ) ; pub const TBS_E_SERVICE_START_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845813i32 as _ ) ; pub const TBS_E_TOO_MANY_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845814i32 as _ ) ; pub const TBS_E_TOO_MANY_TBS_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845815i32 as _ ) ; pub const TBS_E_TPM_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845809i32 as _ ) ; pub const TPC_E_INITIALIZE_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220957i32 as _ ) ; pub const TPC_E_INVALID_CONFIGURATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220935i32 as _ ) ; pub const TPC_E_INVALID_DATA_FROM_RECOGNIZER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220934i32 as _ ) ; pub const TPC_E_INVALID_INPUT_RECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220967i32 as _ ) ; pub const TPC_E_INVALID_PACKET_DESCRIPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220941i32 as _ ) ; pub const TPC_E_INVALID_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220927i32 as _ ) ; pub const TPC_E_INVALID_RIGHTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220938i32 as _ ) ; pub const TPC_E_INVALID_STROKE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220958i32 as _ ) ; pub const TPC_E_NOT_RELEVANT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220942i32 as _ ) ; pub const TPC_E_NO_DEFAULT_TABLET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220974i32 as _ ) ; pub const TPC_E_OUT_OF_ORDER_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220937i32 as _ ) ; pub const TPC_E_QUEUE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220936i32 as _ ) ; pub const TPC_E_RECOGNIZER_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220939i32 as _ ) ; pub const TPC_E_UNKNOWN_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220965i32 as _ ) ; pub const TPC_S_INTERRUPTED : :: windows :: HRESULT = :: windows :: HRESULT ( 262739i32 as _ ) ; pub const TPC_S_NO_DATA_TO_PROCESS : :: windows :: HRESULT = :: windows :: HRESULT ( 262740i32 as _ ) ; pub const TPC_S_TRUNCATED : :: windows :: HRESULT = :: windows :: HRESULT ( 262738i32 as _ ) ; pub const TPMAPI_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796408i32 as _ ) ; pub const TPMAPI_E_AUTHORIZATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796407i32 as _ ) ; pub const TPMAPI_E_AUTHORIZATION_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796378i32 as _ ) ; pub const TPMAPI_E_AUTHORIZING_KEY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796376i32 as _ ) ; pub const TPMAPI_E_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796410i32 as _ ) ; pub const TPMAPI_E_EMPTY_TCG_LOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796390i32 as _ ) ; pub const TPMAPI_E_ENCRYPTION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796400i32 as _ ) ; pub const TPMAPI_E_ENDORSEMENT_AUTH_NOT_NULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796379i32 as _ ) ; pub const TPMAPI_E_FIPS_RNG_CHECK_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796391i32 as _ ) ; pub const TPMAPI_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796409i32 as _ ) ; pub const TPMAPI_E_INVALID_AUTHORIZATION_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796375i32 as _ ) ; pub const TPMAPI_E_INVALID_CONTEXT_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796406i32 as _ ) ; pub const TPMAPI_E_INVALID_CONTEXT_PARAMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796395i32 as _ ) ; pub const TPMAPI_E_INVALID_DELEGATE_BLOB : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796396i32 as _ ) ; pub const TPMAPI_E_INVALID_ENCODING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796402i32 as _ ) ; pub const TPMAPI_E_INVALID_KEY_BLOB : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796394i32 as _ ) ; pub const TPMAPI_E_INVALID_KEY_PARAMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796399i32 as _ ) ; pub const TPMAPI_E_INVALID_KEY_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796401i32 as _ ) ; pub const TPMAPI_E_INVALID_MIGRATION_AUTHORIZATION_BLOB : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796398i32 as _ ) ; pub const TPMAPI_E_INVALID_OUTPUT_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796413i32 as _ ) ; pub const TPMAPI_E_INVALID_OWNER_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796392i32 as _ ) ; pub const TPMAPI_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796412i32 as _ ) ; pub const TPMAPI_E_INVALID_PCR_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796393i32 as _ ) ; pub const TPMAPI_E_INVALID_PCR_INDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796397i32 as _ ) ; pub const TPMAPI_E_INVALID_POLICYAUTH_BLOB_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796370i32 as _ ) ; pub const TPMAPI_E_INVALID_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796416i32 as _ ) ; pub const TPMAPI_E_INVALID_TCG_LOG_ENTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796389i32 as _ ) ; pub const TPMAPI_E_INVALID_TPM_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796371i32 as _ ) ; pub const TPMAPI_E_MALFORMED_AUTHORIZATION_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796377i32 as _ ) ; pub const TPMAPI_E_MALFORMED_AUTHORIZATION_OTHER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796373i32 as _ ) ; pub const TPMAPI_E_MALFORMED_AUTHORIZATION_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796374i32 as _ ) ; pub const TPMAPI_E_MESSAGE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796403i32 as _ ) ; pub const TPMAPI_E_NOT_ENOUGH_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796415i32 as _ ) ; pub const TPMAPI_E_NO_AUTHORIZATION_CHAIN_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796382i32 as _ ) ; pub const TPMAPI_E_NV_BITS_NOT_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796385i32 as _ ) ; pub const TPMAPI_E_NV_BITS_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796384i32 as _ ) ; pub const TPMAPI_E_OUT_OF_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796411i32 as _ ) ; pub const TPMAPI_E_OWNER_AUTH_NOT_NULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796380i32 as _ ) ; pub const TPMAPI_E_POLICY_DENIES_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796386i32 as _ ) ; pub const TPMAPI_E_SEALING_KEY_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796372i32 as _ ) ; pub const TPMAPI_E_SEALING_KEY_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796383i32 as _ ) ; pub const TPMAPI_E_SVN_COUNTER_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796381i32 as _ ) ; pub const TPMAPI_E_TBS_COMMUNICATION_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796405i32 as _ ) ; pub const TPMAPI_E_TCG_INVALID_DIGEST_ENTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796387i32 as _ ) ; pub const TPMAPI_E_TCG_SEPARATOR_ABSENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796388i32 as _ ) ; pub const TPMAPI_E_TOO_MUCH_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796414i32 as _ ) ; pub const TPMAPI_E_TPM_COMMAND_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796404i32 as _ ) ; pub const TPM_20_E_ASYMMETRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862079i32 as _ ) ; pub const TPM_20_E_ATTRIBUTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862078i32 as _ ) ; pub const TPM_20_E_AUTHSIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861884i32 as _ ) ; pub const TPM_20_E_AUTH_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861883i32 as _ ) ; pub const TPM_20_E_AUTH_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862066i32 as _ ) ; pub const TPM_20_E_AUTH_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861915i32 as _ ) ; pub const TPM_20_E_AUTH_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861916i32 as _ ) ; pub const TPM_20_E_AUTH_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861905i32 as _ ) ; pub const TPM_20_E_BAD_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862046i32 as _ ) ; pub const TPM_20_E_BAD_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861872i32 as _ ) ; pub const TPM_20_E_BINDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862043i32 as _ ) ; pub const TPM_20_E_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859895i32 as _ ) ; pub const TPM_20_E_COMMAND_CODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861885i32 as _ ) ; pub const TPM_20_E_COMMAND_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861886i32 as _ ) ; pub const TPM_20_E_CONTEXT_GAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859903i32 as _ ) ; pub const TPM_20_E_CPHASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861871i32 as _ ) ; pub const TPM_20_E_CURVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862042i32 as _ ) ; pub const TPM_20_E_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861920i32 as _ ) ; pub const TPM_20_E_ECC_CURVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861917i32 as _ ) ; pub const TPM_20_E_ECC_POINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862041i32 as _ ) ; pub const TPM_20_E_EXCLUSIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861919i32 as _ ) ; pub const TPM_20_E_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862045i32 as _ ) ; pub const TPM_20_E_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861951i32 as _ ) ; pub const TPM_20_E_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862069i32 as _ ) ; pub const TPM_20_E_HASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862077i32 as _ ) ; pub const TPM_20_E_HIERARCHY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862075i32 as _ ) ; pub const TPM_20_E_HMAC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861927i32 as _ ) ; pub const TPM_20_E_INITIALIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861952i32 as _ ) ; pub const TPM_20_E_INSUFFICIENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862054i32 as _ ) ; pub const TPM_20_E_INTEGRITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862049i32 as _ ) ; pub const TPM_20_E_KDF : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862068i32 as _ ) ; pub const TPM_20_E_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862052i32 as _ ) ; pub const TPM_20_E_KEY_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862073i32 as _ ) ; pub const TPM_20_E_LOCALITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859897i32 as _ ) ; pub const TPM_20_E_LOCKOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859871i32 as _ ) ; pub const TPM_20_E_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859900i32 as _ ) ; pub const TPM_20_E_MGF : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862072i32 as _ ) ; pub const TPM_20_E_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862071i32 as _ ) ; pub const TPM_20_E_NEEDS_TEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861869i32 as _ ) ; pub const TPM_20_E_NONCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862065i32 as _ ) ; pub const TPM_20_E_NO_RESULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861868i32 as _ ) ; pub const TPM_20_E_NV_AUTHORIZATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861879i32 as _ ) ; pub const TPM_20_E_NV_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861876i32 as _ ) ; pub const TPM_20_E_NV_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861880i32 as _ ) ; pub const TPM_20_E_NV_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861882i32 as _ ) ; pub const TPM_20_E_NV_RATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859872i32 as _ ) ; pub const TPM_20_E_NV_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861881i32 as _ ) ; pub const TPM_20_E_NV_SPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861877i32 as _ ) ; pub const TPM_20_E_NV_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859869i32 as _ ) ; pub const TPM_20_E_NV_UNINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861878i32 as _ ) ; pub const TPM_20_E_OBJECT_HANDLES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859898i32 as _ ) ; pub const TPM_20_E_OBJECT_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859902i32 as _ ) ; pub const TPM_20_E_PARENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861870i32 as _ ) ; pub const TPM_20_E_PCR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861913i32 as _ ) ; pub const TPM_20_E_PCR_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861912i32 as _ ) ; pub const TPM_20_E_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861914i32 as _ ) ; pub const TPM_20_E_POLICY_CC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862044i32 as _ ) ; pub const TPM_20_E_POLICY_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862051i32 as _ ) ; pub const TPM_20_E_PP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862064i32 as _ ) ; pub const TPM_20_E_PRIVATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861941i32 as _ ) ; pub const TPM_20_E_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862067i32 as _ ) ; pub const TPM_20_E_REBOOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861904i32 as _ ) ; pub const TPM_20_E_RESERVED_BITS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862047i32 as _ ) ; pub const TPM_20_E_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859870i32 as _ ) ; pub const TPM_20_E_SCHEME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862062i32 as _ ) ; pub const TPM_20_E_SELECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862056i32 as _ ) ; pub const TPM_20_E_SENSITIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861867i32 as _ ) ; pub const TPM_20_E_SEQUENCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861949i32 as _ ) ; pub const TPM_20_E_SESSION_HANDLES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859899i32 as _ ) ; pub const TPM_20_E_SESSION_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859901i32 as _ ) ; pub const TPM_20_E_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862053i32 as _ ) ; pub const TPM_20_E_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862059i32 as _ ) ; pub const TPM_20_E_SYMMETRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862058i32 as _ ) ; pub const TPM_20_E_TAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862057i32 as _ ) ; pub const TPM_20_E_TESTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859894i32 as _ ) ; pub const TPM_20_E_TICKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862048i32 as _ ) ; pub const TPM_20_E_TOO_MANY_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861906i32 as _ ) ; pub const TPM_20_E_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862070i32 as _ ) ; pub const TPM_20_E_UNBALANCED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861903i32 as _ ) ; pub const TPM_20_E_UPGRADE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861907i32 as _ ) ; pub const TPM_20_E_VALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862076i32 as _ ) ; pub const TPM_20_E_YIELDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859896i32 as _ ) ; pub const TPM_E_AREA_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862148i32 as _ ) ; pub const TPM_E_ATTESTATION_CHALLENGE_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795630i32 as _ ) ; pub const TPM_E_AUDITFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862204i32 as _ ) ; pub const TPM_E_AUDITFAIL_SUCCESSFUL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862159i32 as _ ) ; pub const TPM_E_AUDITFAIL_UNSUCCESSFUL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862160i32 as _ ) ; pub const TPM_E_AUTH2FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862179i32 as _ ) ; pub const TPM_E_AUTHFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862207i32 as _ ) ; pub const TPM_E_AUTH_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862149i32 as _ ) ; pub const TPM_E_BADCONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862118i32 as _ ) ; pub const TPM_E_BADINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862206i32 as _ ) ; pub const TPM_E_BADTAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862178i32 as _ ) ; pub const TPM_E_BAD_ATTRIBUTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862142i32 as _ ) ; pub const TPM_E_BAD_COUNTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862139i32 as _ ) ; pub const TPM_E_BAD_DATASIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862165i32 as _ ) ; pub const TPM_E_BAD_DELEGATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862119i32 as _ ) ; pub const TPM_E_BAD_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862120i32 as _ ) ; pub const TPM_E_BAD_KEY_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862168i32 as _ ) ; pub const TPM_E_BAD_LOCALITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862147i32 as _ ) ; pub const TPM_E_BAD_MIGRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862167i32 as _ ) ; pub const TPM_E_BAD_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862164i32 as _ ) ; pub const TPM_E_BAD_ORDINAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862198i32 as _ ) ; pub const TPM_E_BAD_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862205i32 as _ ) ; pub const TPM_E_BAD_PARAM_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862183i32 as _ ) ; pub const TPM_E_BAD_PRESENCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862163i32 as _ ) ; pub const TPM_E_BAD_SCHEME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862166i32 as _ ) ; pub const TPM_E_BAD_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862110i32 as _ ) ; pub const TPM_E_BAD_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862156i32 as _ ) ; pub const TPM_E_BAD_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862162i32 as _ ) ; pub const TPM_E_BUFFER_LENGTH_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795618i32 as _ ) ; pub const TPM_E_CLAIM_TYPE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795620i32 as _ ) ; pub const TPM_E_CLEAR_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862203i32 as _ ) ; pub const TPM_E_COMMAND_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861184i32 as _ ) ; pub const TPM_E_CONTEXT_GAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862137i32 as _ ) ; pub const TPM_E_DAA_INPUT_DATA0 : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862127i32 as _ ) ; pub const TPM_E_DAA_INPUT_DATA1 : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862126i32 as _ ) ; pub const TPM_E_DAA_ISSUER_SETTINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862125i32 as _ ) ; pub const TPM_E_DAA_ISSUER_VALIDITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862122i32 as _ ) ; pub const TPM_E_DAA_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862128i32 as _ ) ; pub const TPM_E_DAA_STAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862123i32 as _ ) ; pub const TPM_E_DAA_TPM_SETTINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862124i32 as _ ) ; pub const TPM_E_DAA_WRONG_W : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862121i32 as _ ) ; pub const TPM_E_DEACTIVATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862202i32 as _ ) ; pub const TPM_E_DECRYPT_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862175i32 as _ ) ; pub const TPM_E_DEFEND_LOCK_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144860157i32 as _ ) ; pub const TPM_E_DELEGATE_ADMIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862131i32 as _ ) ; pub const TPM_E_DELEGATE_FAMILY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862132i32 as _ ) ; pub const TPM_E_DELEGATE_LOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862133i32 as _ ) ; pub const TPM_E_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862201i32 as _ ) ; pub const TPM_E_DISABLED_CMD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862200i32 as _ ) ; pub const TPM_E_DOING_SELFTEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144860158i32 as _ ) ; pub const TPM_E_DUPLICATE_VHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861182i32 as _ ) ; pub const TPM_E_EMBEDDED_COMMAND_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861181i32 as _ ) ; pub const TPM_E_EMBEDDED_COMMAND_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861180i32 as _ ) ; pub const TPM_E_ENCRYPT_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862176i32 as _ ) ; pub const TPM_E_ERROR_MASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862208i32 as _ ) ; pub const TPM_E_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862199i32 as _ ) ; pub const TPM_E_FAILEDSELFTEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862180i32 as _ ) ; pub const TPM_E_FAMILYCOUNT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862144i32 as _ ) ; pub const TPM_E_INAPPROPRIATE_ENC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862194i32 as _ ) ; pub const TPM_E_INAPPROPRIATE_SIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862169i32 as _ ) ; pub const TPM_E_INSTALL_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862197i32 as _ ) ; pub const TPM_E_INVALID_AUTHHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862174i32 as _ ) ; pub const TPM_E_INVALID_FAMILY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862153i32 as _ ) ; pub const TPM_E_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861183i32 as _ ) ; pub const TPM_E_INVALID_KEYHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862196i32 as _ ) ; pub const TPM_E_INVALID_KEYUSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862172i32 as _ ) ; pub const TPM_E_INVALID_OWNER_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795135i32 as _ ) ; pub const TPM_E_INVALID_PCR_INFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862192i32 as _ ) ; pub const TPM_E_INVALID_POSTINIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862170i32 as _ ) ; pub const TPM_E_INVALID_RESOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862155i32 as _ ) ; pub const TPM_E_INVALID_STRUCTURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862141i32 as _ ) ; pub const TPM_E_IOERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862177i32 as _ ) ; pub const TPM_E_KEYNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862195i32 as _ ) ; pub const TPM_E_KEY_ALREADY_FINALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795628i32 as _ ) ; pub const TPM_E_KEY_NOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862150i32 as _ ) ; pub const TPM_E_KEY_NOT_AUTHENTICATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795624i32 as _ ) ; pub const TPM_E_KEY_NOT_FINALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795631i32 as _ ) ; pub const TPM_E_KEY_NOT_LOADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795633i32 as _ ) ; pub const TPM_E_KEY_NOT_SIGNING_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795622i32 as _ ) ; pub const TPM_E_KEY_OWNER_CONTROL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862140i32 as _ ) ; pub const TPM_E_KEY_USAGE_POLICY_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795626i32 as _ ) ; pub const TPM_E_KEY_USAGE_POLICY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795627i32 as _ ) ; pub const TPM_E_LOCKED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795621i32 as _ ) ; pub const TPM_E_MAXNVWRITES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862136i32 as _ ) ; pub const TPM_E_MA_AUTHORITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862113i32 as _ ) ; pub const TPM_E_MA_DESTINATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862115i32 as _ ) ; pub const TPM_E_MA_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862114i32 as _ ) ; pub const TPM_E_MA_TICKET_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862116i32 as _ ) ; pub const TPM_E_MIGRATEFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862193i32 as _ ) ; pub const TPM_E_NEEDS_SELFTEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144860159i32 as _ ) ; pub const TPM_E_NOCONTEXTSPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862109i32 as _ ) ; pub const TPM_E_NOOPERATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862135i32 as _ ) ; pub const TPM_E_NOSPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862191i32 as _ ) ; pub const TPM_E_NOSRK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862190i32 as _ ) ; pub const TPM_E_NOTFIPS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862154i32 as _ ) ; pub const TPM_E_NOTLOCAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862157i32 as _ ) ; pub const TPM_E_NOTRESETABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862158i32 as _ ) ; pub const TPM_E_NOTSEALED_BLOB : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862189i32 as _ ) ; pub const TPM_E_NOT_FULLWRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862138i32 as _ ) ; pub const TPM_E_NOT_PCR_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795629i32 as _ ) ; pub const TPM_E_NO_ENDORSEMENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862173i32 as _ ) ; pub const TPM_E_NO_KEY_CERTIFICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795632i32 as _ ) ; pub const TPM_E_NO_NV_PERMISSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862152i32 as _ ) ; pub const TPM_E_NO_WRAP_TRANSPORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862161i32 as _ ) ; pub const TPM_E_OWNER_CONTROL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862129i32 as _ ) ; pub const TPM_E_OWNER_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862188i32 as _ ) ; pub const TPM_E_PCP_AUTHENTICATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795640i32 as _ ) ; pub const TPM_E_PCP_AUTHENTICATION_IGNORED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795639i32 as _ ) ; pub const TPM_E_PCP_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795642i32 as _ ) ; pub const TPM_E_PCP_DEVICE_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795647i32 as _ ) ; pub const TPM_E_PCP_ERROR_MASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795648i32 as _ ) ; pub const TPM_E_PCP_FLAG_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795644i32 as _ ) ; pub const TPM_E_PCP_IFX_RSA_KEY_CREATION_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795617i32 as _ ) ; pub const TPM_E_PCP_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795641i32 as _ ) ; pub const TPM_E_PCP_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795646i32 as _ ) ; pub const TPM_E_PCP_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795645i32 as _ ) ; pub const TPM_E_PCP_KEY_HANDLE_INVALIDATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795614i32 as _ ) ; pub const TPM_E_PCP_KEY_NOT_AIK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795623i32 as _ ) ; pub const TPM_E_PCP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795643i32 as _ ) ; pub const TPM_E_PCP_PLATFORM_CLAIM_MAY_BE_OUTDATED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076429860i32 as _ ) ; pub const TPM_E_PCP_PLATFORM_CLAIM_OUTDATED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076429861i32 as _ ) ; pub const TPM_E_PCP_PLATFORM_CLAIM_REBOOT : :: windows :: HRESULT = :: windows :: HRESULT ( 1076429862i32 as _ ) ; pub const TPM_E_PCP_POLICY_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795638i32 as _ ) ; pub const TPM_E_PCP_PROFILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795637i32 as _ ) ; pub const TPM_E_PCP_RAW_POLICY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795615i32 as _ ) ; pub const TPM_E_PCP_TICKET_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795616i32 as _ ) ; pub const TPM_E_PCP_UNSUPPORTED_PSS_SALT : :: windows :: HRESULT = :: windows :: HRESULT ( 1076429859i32 as _ ) ; pub const TPM_E_PCP_VALIDATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795636i32 as _ ) ; pub const TPM_E_PCP_WRONG_PARENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795634i32 as _ ) ; pub const TPM_E_PERMANENTEK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862111i32 as _ ) ; pub const TPM_E_PER_NOWRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862145i32 as _ ) ; pub const TPM_E_PPI_ACPI_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795904i32 as _ ) ; pub const TPM_E_PPI_BIOS_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795902i32 as _ ) ; pub const TPM_E_PPI_BLOCKED_IN_BIOS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795900i32 as _ ) ; pub const TPM_E_PPI_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795901i32 as _ ) ; pub const TPM_E_PPI_USER_ABORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795903i32 as _ ) ; pub const TPM_E_PROVISIONING_INCOMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795136i32 as _ ) ; pub const TPM_E_READ_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862146i32 as _ ) ; pub const TPM_E_REQUIRES_SIGN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862151i32 as _ ) ; pub const TPM_E_RESOURCEMISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862134i32 as _ ) ; pub const TPM_E_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862187i32 as _ ) ; pub const TPM_E_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144860160i32 as _ ) ; pub const TPM_E_SHA_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862181i32 as _ ) ; pub const TPM_E_SHA_THREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862182i32 as _ ) ; pub const TPM_E_SHORTRANDOM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862186i32 as _ ) ; pub const TPM_E_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862185i32 as _ ) ; pub const TPM_E_SOFT_KEY_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795625i32 as _ ) ; pub const TPM_E_TOOMANYCONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862117i32 as _ ) ; pub const TPM_E_TOO_MUCH_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795134i32 as _ ) ; pub const TPM_E_TRANSPORT_NOTEXCLUSIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862130i32 as _ ) ; pub const TPM_E_VERSION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795619i32 as _ ) ; pub const TPM_E_WRITE_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862143i32 as _ ) ; pub const TPM_E_WRONGPCRVAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862184i32 as _ ) ; pub const TPM_E_WRONG_ENTITYTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862171i32 as _ ) ; pub const TPM_E_ZERO_EXHAUST_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795392i32 as _ ) ; pub const TRUST_E_ACTION_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762750i32 as _ ) ; pub const TRUST_E_BAD_DIGEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869232i32 as _ ) ; pub const TRUST_E_BASIC_CONSTRAINTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869223i32 as _ ) ; pub const TRUST_E_CERT_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869244i32 as _ ) ; pub const TRUST_E_COUNTER_SIGNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869245i32 as _ ) ; pub const TRUST_E_EXPLICIT_DISTRUST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762479i32 as _ ) ; pub const TRUST_E_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762485i32 as _ ) ; pub const TRUST_E_FINANCIAL_CRITERIA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869218i32 as _ ) ; pub const TRUST_E_MALFORMED_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869231i32 as _ ) ; pub const TRUST_E_NOSIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762496i32 as _ ) ; pub const TRUST_E_NO_SIGNER_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869246i32 as _ ) ; pub const TRUST_E_PROVIDER_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762751i32 as _ ) ; pub const TRUST_E_SUBJECT_FORM_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762749i32 as _ ) ; pub const TRUST_E_SUBJECT_NOT_TRUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762748i32 as _ ) ; pub const TRUST_E_SYSTEM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869247i32 as _ ) ; pub const TRUST_E_TIME_STAMP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869243i32 as _ ) ; pub const TYPE_E_AMBIGUOUSNAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319764i32 as _ ) ; pub const TYPE_E_BADMODULEKIND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147317571i32 as _ ) ; pub const TYPE_E_BUFFERTOOSMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319786i32 as _ ) ; pub const TYPE_E_CANTCREATETMPFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147316573i32 as _ ) ; pub const TYPE_E_CANTLOADLIBRARY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147312566i32 as _ ) ; pub const TYPE_E_CIRCULARTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147312508i32 as _ ) ; pub const TYPE_E_DLLFUNCTIONNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319761i32 as _ ) ; pub const TYPE_E_DUPLICATEID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147317562i32 as _ ) ; pub const TYPE_E_ELEMENTNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319765i32 as _ ) ; pub const TYPE_E_FIELDNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319785i32 as _ ) ; pub const TYPE_E_INCONSISTENTPROPFUNCS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147312509i32 as _ ) ; pub const TYPE_E_INVALIDID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147317553i32 as _ ) ; pub const TYPE_E_INVALIDSTATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319767i32 as _ ) ; pub const TYPE_E_INVDATAREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319784i32 as _ ) ; pub const TYPE_E_IOERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147316574i32 as _ ) ; pub const TYPE_E_LIBNOTREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319779i32 as _ ) ; pub const TYPE_E_NAMECONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319763i32 as _ ) ; pub const TYPE_E_OUTOFBOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147316575i32 as _ ) ; pub const TYPE_E_QUALIFIEDNAMEDISALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319768i32 as _ ) ; pub const TYPE_E_REGISTRYACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319780i32 as _ ) ; pub const TYPE_E_SIZETOOBIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147317563i32 as _ ) ; pub const TYPE_E_TYPEMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147316576i32 as _ ) ; pub const TYPE_E_UNDEFINEDTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319769i32 as _ ) ; pub const TYPE_E_UNKNOWNLCID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319762i32 as _ ) ; pub const TYPE_E_UNSUPFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319783i32 as _ ) ; pub const TYPE_E_WRONGTYPEKIND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319766i32 as _ ) ; pub const UCEERR_BLOCKSFULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303415i32 as _ ) ; pub const UCEERR_CHANNELSYNCABANDONED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303404i32 as _ ) ; pub const UCEERR_CHANNELSYNCTIMEDOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303405i32 as _ ) ; pub const UCEERR_COMMANDTRANSPORTDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303400i32 as _ ) ; pub const UCEERR_CONNECTIONIDLOOKUPFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303416i32 as _ ) ; pub const UCEERR_CTXSTACKFRSTTARGETNULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303417i32 as _ ) ; pub const UCEERR_FEEDBACK_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303401i32 as _ ) ; pub const UCEERR_GRAPHICSSTREAMALREADYOPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303392i32 as _ ) ; pub const UCEERR_GRAPHICSSTREAMUNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303399i32 as _ ) ; pub const UCEERR_HANDLELOOKUPFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303419i32 as _ ) ; pub const UCEERR_ILLEGALHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303420i32 as _ ) ; pub const UCEERR_ILLEGALPACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303422i32 as _ ) ; pub const UCEERR_ILLEGALRECORDTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303412i32 as _ ) ; pub const UCEERR_INVALIDPACKETHEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303424i32 as _ ) ; pub const UCEERR_MALFORMEDPACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303421i32 as _ ) ; pub const UCEERR_MEMORYFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303414i32 as _ ) ; pub const UCEERR_MISSINGBEGINCOMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303406i32 as _ ) ; pub const UCEERR_MISSINGENDCOMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303407i32 as _ ) ; pub const UCEERR_NO_MULTIPLE_WORKER_THREADS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303409i32 as _ ) ; pub const UCEERR_OUTOFHANDLES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303411i32 as _ ) ; pub const UCEERR_PACKETRECORDOUTOFRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303413i32 as _ ) ; pub const UCEERR_PARTITION_ZOMBIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303389i32 as _ ) ; pub const UCEERR_REMOTINGNOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303408i32 as _ ) ; pub const UCEERR_RENDERTHREADFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303418i32 as _ ) ; pub const UCEERR_TRANSPORTDISCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303391i32 as _ ) ; pub const UCEERR_TRANSPORTOVERLOADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303390i32 as _ ) ; pub const UCEERR_TRANSPORTUNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303402i32 as _ ) ; pub const UCEERR_UNCHANGABLE_UPDATE_ATTEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303410i32 as _ ) ; pub const UCEERR_UNKNOWNPACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303423i32 as _ ) ; pub const UCEERR_UNSUPPORTEDTRANSPORTVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303403i32 as _ ) ; pub const UI_E_AMBIGUOUS_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731126i32 as _ ) ; pub const UI_E_BOOLEAN_EXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731128i32 as _ ) ; pub const UI_E_CREATE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731135i32 as _ ) ; pub const UI_E_DIFFERENT_OWNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731127i32 as _ ) ; pub const UI_E_END_KEYFRAME_NOT_DETERMINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730876i32 as _ ) ; pub const UI_E_FP_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731125i32 as _ ) ; pub const UI_E_ILLEGAL_REENTRANCY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731133i32 as _ ) ; pub const UI_E_INVALID_DIMENSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730869i32 as _ ) ; pub const UI_E_INVALID_OUTPUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731129i32 as _ ) ; pub const UI_E_LOOPS_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730875i32 as _ ) ; pub const UI_E_OBJECT_SEALED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731132i32 as _ ) ; pub const UI_E_PRIMITIVE_OUT_OF_BOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730868i32 as _ ) ; pub const UI_E_SHUTDOWN_CALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731134i32 as _ ) ; pub const UI_E_START_KEYFRAME_AFTER_END : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730877i32 as _ ) ; pub const UI_E_STORYBOARD_ACTIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730879i32 as _ ) ; pub const UI_E_STORYBOARD_NOT_PLAYING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730878i32 as _ ) ; pub const UI_E_TIMER_CLIENT_ALREADY_CONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730870i32 as _ ) ; pub const UI_E_TIME_BEFORE_LAST_UPDATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730871i32 as _ ) ; pub const UI_E_TRANSITION_ALREADY_USED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730874i32 as _ ) ; pub const UI_E_TRANSITION_ECLIPSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730872i32 as _ ) ; pub const UI_E_TRANSITION_NOT_IN_STORYBOARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730873i32 as _ ) ; pub const UI_E_VALUE_NOT_DETERMINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731130i32 as _ ) ; pub const UI_E_VALUE_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731131i32 as _ ) ; pub const UI_E_WINDOW_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730623i32 as _ ) ; pub const UI_E_WRONG_THREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731124i32 as _ ) ; pub const UTC_E_ACTION_NOT_SUPPORTED_IN_DESTINATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128380i32 as _ ) ; pub const UTC_E_AGENT_DIAGNOSTICS_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128363i32 as _ ) ; pub const UTC_E_ALTERNATIVE_TRACE_CANNOT_PREEMPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128446i32 as _ ) ; pub const UTC_E_AOT_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128445i32 as _ ) ; pub const UTC_E_API_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128405i32 as _ ) ; pub const UTC_E_API_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128388i32 as _ ) ; pub const UTC_E_API_RESULT_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128408i32 as _ ) ; pub const UTC_E_BINARY_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128396i32 as _ ) ; pub const UTC_E_CANNOT_LOAD_SCENARIO_EDITOR_XML : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128417i32 as _ ) ; pub const UTC_E_CERT_REV_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128385i32 as _ ) ; pub const UTC_E_CHILD_PROCESS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128419i32 as _ ) ; pub const UTC_E_COMMAND_LINE_NOT_AUTHORIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128418i32 as _ ) ; pub const UTC_E_DELAY_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128411i32 as _ ) ; pub const UTC_E_DEVICE_TICKET_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128410i32 as _ ) ; pub const UTC_E_DIAGRULES_SCHEMAVERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128438i32 as _ ) ; pub const UTC_E_ESCALATION_ALREADY_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128433i32 as _ ) ; pub const UTC_E_ESCALATION_CANCELLED_AT_SHUTDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128358i32 as _ ) ; pub const UTC_E_ESCALATION_DIRECTORY_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128401i32 as _ ) ; pub const UTC_E_ESCALATION_NOT_AUTHORIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128421i32 as _ ) ; pub const UTC_E_ESCALATION_TIMED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128416i32 as _ ) ; pub const UTC_E_EVENTLOG_ENTRY_MALFORMED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128439i32 as _ ) ; pub const UTC_E_EXCLUSIVITY_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128403i32 as _ ) ; pub const UTC_E_EXE_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128422i32 as _ ) ; pub const UTC_E_FAILED_TO_RECEIVE_AGENT_DIAGNOSTICS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128362i32 as _ ) ; pub const UTC_E_FAILED_TO_RESOLVE_CONTAINER_ID : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128394i32 as _ ) ; pub const UTC_E_FAILED_TO_START_NDISCAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128384i32 as _ ) ; pub const UTC_E_FILTER_FUNCTION_RESTRICTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128376i32 as _ ) ; pub const UTC_E_FILTER_ILLEGAL_EVAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128365i32 as _ ) ; pub const UTC_E_FILTER_INVALID_COMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128366i32 as _ ) ; pub const UTC_E_FILTER_INVALID_FUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128368i32 as _ ) ; pub const UTC_E_FILTER_INVALID_FUNCTION_PARAMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128367i32 as _ ) ; pub const UTC_E_FILTER_INVALID_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128378i32 as _ ) ; pub const UTC_E_FILTER_MISSING_ATTRIBUTE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128379i32 as _ ) ; pub const UTC_E_FILTER_VARIABLE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128377i32 as _ ) ; pub const UTC_E_FILTER_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128375i32 as _ ) ; pub const UTC_E_FORWARDER_ALREADY_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128440i32 as _ ) ; pub const UTC_E_FORWARDER_ALREADY_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128441i32 as _ ) ; pub const UTC_E_FORWARDER_PRODUCER_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128430i32 as _ ) ; pub const UTC_E_GETFILEINFOACTION_FILE_NOT_APPROVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128357i32 as _ ) ; pub const UTC_E_GETFILE_EXTERNAL_PATH_NOT_APPROVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128387i32 as _ ) ; pub const UTC_E_GETFILE_FILE_PATH_NOT_APPROVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128402i32 as _ ) ; pub const UTC_E_INSUFFICIENT_SPACE_TO_START_TRACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128359i32 as _ ) ; pub const UTC_E_INTENTIONAL_SCRIPT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128429i32 as _ ) ; pub const UTC_E_INVALID_AGGREGATION_STRUCT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128381i32 as _ ) ; pub const UTC_E_INVALID_CUSTOM_FILTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128436i32 as _ ) ; pub const UTC_E_INVALID_FILTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128423i32 as _ ) ; pub const UTC_E_KERNELDUMP_LIMIT_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128383i32 as _ ) ; pub const UTC_E_MISSING_AGGREGATE_EVENT_TAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128382i32 as _ ) ; pub const UTC_E_MULTIPLE_TIME_TRIGGER_ON_SINGLE_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128397i32 as _ ) ; pub const UTC_E_NO_WER_LOGGER_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128427i32 as _ ) ; pub const UTC_E_PERFTRACK_ALREADY_TRACING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128432i32 as _ ) ; pub const UTC_E_REACHED_MAX_ESCALATIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128431i32 as _ ) ; pub const UTC_E_REESCALATED_TOO_QUICKLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128434i32 as _ ) ; pub const UTC_E_RPC_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128407i32 as _ ) ; pub const UTC_E_RPC_WAIT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128406i32 as _ ) ; pub const UTC_E_SCENARIODEF_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128443i32 as _ ) ; pub const UTC_E_SCENARIODEF_SCHEMAVERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128424i32 as _ ) ; pub const UTC_E_SCENARIO_HAS_NO_ACTIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128361i32 as _ ) ; pub const UTC_E_SCENARIO_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128389i32 as _ ) ; pub const UTC_E_SCRIPT_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128390i32 as _ ) ; pub const UTC_E_SCRIPT_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128437i32 as _ ) ; pub const UTC_E_SCRIPT_TYPE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128444i32 as _ ) ; pub const UTC_E_SETREGKEYACTION_TYPE_NOT_APPROVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128356i32 as _ ) ; pub const UTC_E_SETUP_NOT_AUTHORIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128420i32 as _ ) ; pub const UTC_E_SETUP_TIMED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128415i32 as _ ) ; pub const UTC_E_SIF_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128412i32 as _ ) ; pub const UTC_E_SQM_INIT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128428i32 as _ ) ; pub const UTC_E_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128392i32 as _ ) ; pub const UTC_E_TIME_TRIGGER_INVALID_TIME_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128398i32 as _ ) ; pub const UTC_E_TIME_TRIGGER_ONLY_VALID_ON_SINGLE_TRANSITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128399i32 as _ ) ; pub const UTC_E_TIME_TRIGGER_ON_START_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128400i32 as _ ) ; pub const UTC_E_TOGGLE_TRACE_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128447i32 as _ ) ; pub const UTC_E_TRACEPROFILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128442i32 as _ ) ; pub const UTC_E_TRACERS_DONT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128426i32 as _ ) ; pub const UTC_E_TRACE_BUFFER_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128409i32 as _ ) ; pub const UTC_E_TRACE_MIN_DURATION_REQUIREMENT_NOT_MET : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128404i32 as _ ) ; pub const UTC_E_TRACE_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128435i32 as _ ) ; pub const UTC_E_TRIGGER_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128414i32 as _ ) ; pub const UTC_E_TRIGGER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128413i32 as _ ) ; pub const UTC_E_TRY_GET_SCENARIO_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128386i32 as _ ) ; pub const UTC_E_TTTRACER_RETURNED_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128364i32 as _ ) ; pub const UTC_E_TTTRACER_STORAGE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128360i32 as _ ) ; pub const UTC_E_UNABLE_TO_RESOLVE_SESSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128393i32 as _ ) ; pub const UTC_E_UNAPPROVED_SCRIPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128391i32 as _ ) ; pub const UTC_E_WINRT_INIT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128425i32 as _ ) ; pub const VIEW_E_DRAW : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221184i32 as _ ) ; pub const VIEW_E_FIRST : i32 = -2147221184i32 ; pub const VIEW_E_LAST : i32 = -2147221169i32 ; pub const VIEW_S_ALREADY_FROZEN : :: windows :: HRESULT = :: windows :: HRESULT ( 262464i32 as _ ) ; pub const VIEW_S_FIRST : i32 = 262464i32 ; pub const VIEW_S_LAST : i32 = 262479i32 ; pub const VM_SAVED_STATE_DUMP_E_GUEST_MEMORY_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136063i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_NESTED_VIRTUALIZATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136061i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_NO_VP_FOUND_IN_PARTITION_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136062i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PARTITION_STATE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136064i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PDE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136057i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PDPTE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136058i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PTE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136056i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PXE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136059i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_WINDOWS_KERNEL_IMAGE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136060i32 as _ ) ; pub const WARNING_IPSEC_MM_POLICY_PRUNED : i32 = 13024i32 ; pub const WARNING_IPSEC_QM_POLICY_PRUNED : i32 = 13025i32 ; pub const WEB_E_INVALID_JSON_NUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484280i32 as _ ) ; pub const WEB_E_INVALID_JSON_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484281i32 as _ ) ; pub const WEB_E_INVALID_XML : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484286i32 as _ ) ; pub const WEB_E_JSON_VALUE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484279i32 as _ ) ; pub const WEB_E_MISSING_REQUIRED_ATTRIBUTE : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484284i32 as _ ) ; pub const WEB_E_MISSING_REQUIRED_ELEMENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484285i32 as _ ) ; pub const WEB_E_RESOURCE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484282i32 as _ ) ; pub const WEB_E_UNEXPECTED_CONTENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484283i32 as _ ) ; pub const WEB_E_UNSUPPORTED_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484287i32 as _ ) ; pub const WEP_E_BUFFER_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200375i32 as _ ) ; pub const WEP_E_FIXED_DATA_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200382i32 as _ ) ; pub const WEP_E_HARDWARE_NOT_COMPLIANT : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200381i32 as _ ) ; pub const WEP_E_LOCK_NOT_CONFIGURED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200380i32 as _ ) ; pub const WEP_E_NOT_PROVISIONED_ON_ALL_VOLUMES : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200383i32 as _ ) ; pub const WEP_E_NO_LICENSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200378i32 as _ ) ; pub const WEP_E_OS_NOT_PROTECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200377i32 as _ ) ; pub const WEP_E_PROTECTION_SUSPENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200379i32 as _ ) ; pub const WEP_E_UNEXPECTED_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200376i32 as _ ) ; pub const WER_E_ALREADY_REPORTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681404i32 as _ ) ; pub const WER_E_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681407i32 as _ ) ; pub const WER_E_CRASH_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681408i32 as _ ) ; pub const WER_E_DUMP_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681403i32 as _ ) ; pub const WER_E_INSUFFICIENT_CONSENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681402i32 as _ ) ; pub const WER_E_NETWORK_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681406i32 as _ ) ; pub const WER_E_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681405i32 as _ ) ; pub const WER_E_TOO_HEAVY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681401i32 as _ ) ; pub const WER_S_ASSERT_CONTINUE : :: windows :: HRESULT = :: windows :: HRESULT ( 1769482i32 as _ ) ; pub const WER_S_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( 1769475i32 as _ ) ; pub const WER_S_DISABLED_ARCHIVE : :: windows :: HRESULT = :: windows :: HRESULT ( 1769478i32 as _ ) ; pub const WER_S_DISABLED_QUEUE : :: windows :: HRESULT = :: windows :: HRESULT ( 1769477i32 as _ ) ; pub const WER_S_IGNORE_ALL_ASSERTS : :: windows :: HRESULT = :: windows :: HRESULT ( 1769481i32 as _ ) ; pub const WER_S_IGNORE_ASSERT_INSTANCE : :: windows :: HRESULT = :: windows :: HRESULT ( 1769480i32 as _ ) ; pub const WER_S_REPORT_ASYNC : :: windows :: HRESULT = :: windows :: HRESULT ( 1769479i32 as _ ) ; pub const WER_S_REPORT_DEBUG : :: windows :: HRESULT = :: windows :: HRESULT ( 1769472i32 as _ ) ; pub const WER_S_REPORT_QUEUED : :: windows :: HRESULT = :: windows :: HRESULT ( 1769474i32 as _ ) ; pub const WER_S_REPORT_UPLOADED : :: windows :: HRESULT = :: windows :: HRESULT ( 1769473i32 as _ ) ; pub const WER_S_REPORT_UPLOADED_CAB : :: windows :: HRESULT = :: windows :: HRESULT ( 1769484i32 as _ ) ; pub const WER_S_SUSPENDED_UPLOAD : :: windows :: HRESULT = :: windows :: HRESULT ( 1769476i32 as _ ) ; pub const WER_S_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( 1769483i32 as _ ) ; pub const WHV_E_GPA_RANGE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878395i32 as _ ) ; pub const WHV_E_INSUFFICIENT_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878399i32 as _ ) ; pub const WHV_E_INVALID_PARTITION_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878396i32 as _ ) ; pub const WHV_E_INVALID_VP_REGISTER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878391i32 as _ ) ; pub const WHV_E_INVALID_VP_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878392i32 as _ ) ; pub const WHV_E_UNKNOWN_CAPABILITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878400i32 as _ ) ; pub const WHV_E_UNKNOWN_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878398i32 as _ ) ; pub const WHV_E_UNSUPPORTED_HYPERVISOR_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878397i32 as _ ) ; pub const WHV_E_UNSUPPORTED_PROCESSOR_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878384i32 as _ ) ; pub const WHV_E_VP_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878394i32 as _ ) ; pub const WHV_E_VP_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878393i32 as _ ) ; pub const WINCODEC_ERR_ALREADYLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292403i32 as _ ) ; pub const WINCODEC_ERR_BADHEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292319i32 as _ ) ; pub const WINCODEC_ERR_BADIMAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292320i32 as _ ) ; pub const WINCODEC_ERR_BADMETADATAHEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292317i32 as _ ) ; pub const WINCODEC_ERR_BADSTREAMDATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292304i32 as _ ) ; pub const WINCODEC_ERR_CODECNOTHUMBNAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292348i32 as _ ) ; pub const WINCODEC_ERR_CODECPRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292349i32 as _ ) ; pub const WINCODEC_ERR_CODECTOOMANYSCANLINES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292346i32 as _ ) ; pub const WINCODEC_ERR_COMPONENTINITIALIZEFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292277i32 as _ ) ; pub const WINCODEC_ERR_COMPONENTNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292336i32 as _ ) ; pub const WINCODEC_ERR_DUPLICATEMETADATAPRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292275i32 as _ ) ; pub const WINCODEC_ERR_FRAMEMISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292318i32 as _ ) ; pub const WINCODEC_ERR_IMAGESIZEOUTOFRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292335i32 as _ ) ; pub const WINCODEC_ERR_INSUFFICIENTBUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292276i32 as _ ) ; pub const WINCODEC_ERR_INTERNALERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292344i32 as _ ) ; pub const WINCODEC_ERR_INVALIDJPEGSCANINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292266i32 as _ ) ; pub const WINCODEC_ERR_INVALIDPROGRESSIVELEVEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292267i32 as _ ) ; pub const WINCODEC_ERR_INVALIDQUERYCHARACTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292269i32 as _ ) ; pub const WINCODEC_ERR_INVALIDQUERYREQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292272i32 as _ ) ; pub const WINCODEC_ERR_INVALIDREGISTRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292278i32 as _ ) ; pub const WINCODEC_ERR_NOTINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292404i32 as _ ) ; pub const WINCODEC_ERR_PALETTEUNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292347i32 as _ ) ; pub const WINCODEC_ERR_PROPERTYNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292352i32 as _ ) ; pub const WINCODEC_ERR_PROPERTYNOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292351i32 as _ ) ; pub const WINCODEC_ERR_PROPERTYSIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292350i32 as _ ) ; pub const WINCODEC_ERR_PROPERTYUNEXPECTEDTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292274i32 as _ ) ; pub const WINCODEC_ERR_REQUESTONLYVALIDATMETADATAROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292270i32 as _ ) ; pub const WINCODEC_ERR_SOURCERECTDOESNOTMATCHDIMENSIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292343i32 as _ ) ; pub const WINCODEC_ERR_STREAMNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292301i32 as _ ) ; pub const WINCODEC_ERR_STREAMREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292302i32 as _ ) ; pub const WINCODEC_ERR_STREAMWRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292303i32 as _ ) ; pub const WINCODEC_ERR_TOOMUCHMETADATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292334i32 as _ ) ; pub const WINCODEC_ERR_UNEXPECTEDMETADATATYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292271i32 as _ ) ; pub const WINCODEC_ERR_UNEXPECTEDSIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292273i32 as _ ) ; pub const WINCODEC_ERR_UNKNOWNIMAGEFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292409i32 as _ ) ; pub const WINCODEC_ERR_UNSUPPORTEDOPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292287i32 as _ ) ; pub const WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292288i32 as _ ) ; pub const WINCODEC_ERR_UNSUPPORTEDVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292405i32 as _ ) ; pub const WINCODEC_ERR_VALUEOUTOFRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292411i32 as _ ) ; pub const WINCODEC_ERR_WIN32ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292268i32 as _ ) ; pub const WINCODEC_ERR_WRONGSTATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292412i32 as _ ) ; pub const WININET_E_ASYNC_THREAD_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012849i32 as _ ) ; pub const WININET_E_BAD_AUTO_PROXY_SCRIPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012730i32 as _ ) ; pub const WININET_E_BAD_OPTION_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012886i32 as _ ) ; pub const WININET_E_BAD_REGISTRY_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012874i32 as _ ) ; pub const WININET_E_CANNOT_CONNECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012867i32 as _ ) ; pub const WININET_E_CHG_POST_IS_NON_SECURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012854i32 as _ ) ; pub const WININET_E_CLIENT_AUTH_CERT_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012852i32 as _ ) ; pub const WININET_E_CLIENT_AUTH_NOT_SETUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012850i32 as _ ) ; pub const WININET_E_CONNECTION_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012866i32 as _ ) ; pub const WININET_E_CONNECTION_RESET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012865i32 as _ ) ; pub const WININET_E_COOKIE_DECLINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012734i32 as _ ) ; pub const WININET_E_COOKIE_NEEDS_CONFIRMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012735i32 as _ ) ; pub const WININET_E_DECODING_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012721i32 as _ ) ; pub const WININET_E_DIALOG_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012847i32 as _ ) ; pub const WININET_E_DISCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012733i32 as _ ) ; pub const WININET_E_DOWNLEVEL_SERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012745i32 as _ ) ; pub const WININET_E_EXTENDED_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012893i32 as _ ) ; pub const WININET_E_FAILED_DUETOSECURITYCHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012725i32 as _ ) ; pub const WININET_E_FORCE_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012864i32 as _ ) ; pub const WININET_E_HANDLE_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012860i32 as _ ) ; pub const WININET_E_HEADER_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012741i32 as _ ) ; pub const WININET_E_HEADER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012746i32 as _ ) ; pub const WININET_E_HTTPS_HTTP_SUBMIT_REDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012844i32 as _ ) ; pub const WININET_E_HTTPS_TO_HTTP_ON_REDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012856i32 as _ ) ; pub const WININET_E_HTTP_TO_HTTPS_ON_REDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012857i32 as _ ) ; pub const WININET_E_INCORRECT_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012869i32 as _ ) ; pub const WININET_E_INCORRECT_HANDLE_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012877i32 as _ ) ; pub const WININET_E_INCORRECT_HANDLE_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012878i32 as _ ) ; pub const WININET_E_INCORRECT_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012882i32 as _ ) ; pub const WININET_E_INCORRECT_USER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012883i32 as _ ) ; pub const WININET_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012892i32 as _ ) ; pub const WININET_E_INVALID_CA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012851i32 as _ ) ; pub const WININET_E_INVALID_HEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012743i32 as _ ) ; pub const WININET_E_INVALID_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012880i32 as _ ) ; pub const WININET_E_INVALID_OPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012887i32 as _ ) ; pub const WININET_E_INVALID_PROXY_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012863i32 as _ ) ; pub const WININET_E_INVALID_QUERY_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012742i32 as _ ) ; pub const WININET_E_INVALID_SERVER_RESPONSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012744i32 as _ ) ; pub const WININET_E_INVALID_URL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012891i32 as _ ) ; pub const WININET_E_ITEM_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012868i32 as _ ) ; pub const WININET_E_LOGIN_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012881i32 as _ ) ; pub const WININET_E_LOGIN_FAILURE_DISPLAY_ENTITY_BODY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012722i32 as _ ) ; pub const WININET_E_MIXED_SECURITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012855i32 as _ ) ; pub const WININET_E_NAME_NOT_RESOLVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012889i32 as _ ) ; pub const WININET_E_NEED_UI : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012862i32 as _ ) ; pub const WININET_E_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012724i32 as _ ) ; pub const WININET_E_NOT_PROXY_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012876i32 as _ ) ; pub const WININET_E_NOT_REDIRECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012736i32 as _ ) ; pub const WININET_E_NO_CALLBACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012871i32 as _ ) ; pub const WININET_E_NO_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012872i32 as _ ) ; pub const WININET_E_NO_DIRECT_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012873i32 as _ ) ; pub const WININET_E_NO_NEW_CONTAINERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012845i32 as _ ) ; pub const WININET_E_OPERATION_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012879i32 as _ ) ; pub const WININET_E_OPTION_NOT_SETTABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012885i32 as _ ) ; pub const WININET_E_OUT_OF_HANDLES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012895i32 as _ ) ; pub const WININET_E_POST_IS_NON_SECURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012853i32 as _ ) ; pub const WININET_E_PROTOCOL_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012888i32 as _ ) ; pub const WININET_E_PROXY_SERVER_UNREACHABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012731i32 as _ ) ; pub const WININET_E_REDIRECT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012740i32 as _ ) ; pub const WININET_E_REDIRECT_NEEDS_CONFIRMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012728i32 as _ ) ; pub const WININET_E_REDIRECT_SCHEME_CHANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012848i32 as _ ) ; pub const WININET_E_REGISTRY_VALUE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012875i32 as _ ) ; pub const WININET_E_REQUEST_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012870i32 as _ ) ; pub const WININET_E_RETRY_DIALOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012846i32 as _ ) ; pub const WININET_E_SECURITY_CHANNEL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012739i32 as _ ) ; pub const WININET_E_SEC_CERT_CN_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012858i32 as _ ) ; pub const WININET_E_SEC_CERT_DATE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012859i32 as _ ) ; pub const WININET_E_SEC_CERT_ERRORS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012841i32 as _ ) ; pub const WININET_E_SEC_CERT_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012726i32 as _ ) ; pub const WININET_E_SEC_CERT_REV_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012839i32 as _ ) ; pub const WININET_E_SEC_INVALID_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012727i32 as _ ) ; pub const WININET_E_SERVER_UNREACHABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012732i32 as _ ) ; pub const WININET_E_SHUTDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012884i32 as _ ) ; pub const WININET_E_TCPIP_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012737i32 as _ ) ; pub const WININET_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012894i32 as _ ) ; pub const WININET_E_UNABLE_TO_CACHE_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012738i32 as _ ) ; pub const WININET_E_UNABLE_TO_DOWNLOAD_SCRIPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012729i32 as _ ) ; pub const WININET_E_UNRECOGNIZED_SCHEME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012890i32 as _ ) ; pub const WINML_ERR_INVALID_BINDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2003828734i32 as _ ) ; pub const WINML_ERR_INVALID_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003828735i32 as _ ) ; pub const WINML_ERR_SIZE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003828732i32 as _ ) ; pub const WINML_ERR_VALUE_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003828733i32 as _ ) ; pub const WINVER : u32 = 1280u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct WPARAM ( pub usize ) ; impl :: std :: default :: Default for WPARAM { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for WPARAM { } unsafe impl :: windows :: Abi for WPARAM { type Abi = Self ; type DefaultType = Self ; } pub const WPN_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420137i32 as _ ) ; pub const WPN_E_ALL_URL_NOT_COMPLETED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419901i32 as _ ) ; pub const WPN_E_CALLBACK_ALREADY_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419898i32 as _ ) ; pub const WPN_E_CHANNEL_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420160i32 as _ ) ; pub const WPN_E_CHANNEL_REQUEST_NOT_COMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420159i32 as _ ) ; pub const WPN_E_CLOUD_AUTH_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420134i32 as _ ) ; pub const WPN_E_CLOUD_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420151i32 as _ ) ; pub const WPN_E_CLOUD_DISABLED_FOR_APP : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419893i32 as _ ) ; pub const WPN_E_CLOUD_INCAPABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420144i32 as _ ) ; pub const WPN_E_CLOUD_SERVICE_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420133i32 as _ ) ; pub const WPN_E_DEV_ID_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420128i32 as _ ) ; pub const WPN_E_DUPLICATE_CHANNEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420156i32 as _ ) ; pub const WPN_E_DUPLICATE_REGISTRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420136i32 as _ ) ; pub const WPN_E_FAILED_LOCK_SCREEN_UPDATE_INTIALIZATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420132i32 as _ ) ; pub const WPN_E_GROUP_ALPHANUMERIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419894i32 as _ ) ; pub const WPN_E_GROUP_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419895i32 as _ ) ; pub const WPN_E_IMAGE_NOT_FOUND_IN_CACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419902i32 as _ ) ; pub const WPN_E_INTERNET_INCAPABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420141i32 as _ ) ; pub const WPN_E_INVALID_APP : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420158i32 as _ ) ; pub const WPN_E_INVALID_CLOUD_IMAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419900i32 as _ ) ; pub const WPN_E_INVALID_HTTP_STATUS_CODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420117i32 as _ ) ; pub const WPN_E_NOTIFICATION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420143i32 as _ ) ; pub const WPN_E_NOTIFICATION_HIDDEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420153i32 as _ ) ; pub const WPN_E_NOTIFICATION_ID_MATCHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419899i32 as _ ) ; pub const WPN_E_NOTIFICATION_INCAPABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420142i32 as _ ) ; pub const WPN_E_NOTIFICATION_NOT_POSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420152i32 as _ ) ; pub const WPN_E_NOTIFICATION_POSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420154i32 as _ ) ; pub const WPN_E_NOTIFICATION_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420139i32 as _ ) ; pub const WPN_E_NOTIFICATION_TYPE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420140i32 as _ ) ; pub const WPN_E_OUTSTANDING_CHANNEL_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420157i32 as _ ) ; pub const WPN_E_OUT_OF_SESSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419904i32 as _ ) ; pub const WPN_E_PLATFORM_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420155i32 as _ ) ; pub const WPN_E_POWER_SAVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419903i32 as _ ) ; pub const WPN_E_PUSH_NOTIFICATION_INCAPABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420135i32 as _ ) ; pub const WPN_E_STORAGE_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419896i32 as _ ) ; pub const WPN_E_TAG_ALPHANUMERIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420118i32 as _ ) ; pub const WPN_E_TAG_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420138i32 as _ ) ; pub const WPN_E_TOAST_NOTIFICATION_DROPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419897i32 as _ ) ; pub const WS_E_ADDRESS_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485941i32 as _ ) ; pub const WS_E_ADDRESS_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485940i32 as _ ) ; pub const WS_E_ENDPOINT_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485947i32 as _ ) ; pub const WS_E_ENDPOINT_ACTION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485935i32 as _ ) ; pub const WS_E_ENDPOINT_DISCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485932i32 as _ ) ; pub const WS_E_ENDPOINT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485937i32 as _ ) ; pub const WS_E_ENDPOINT_FAULT_RECEIVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485933i32 as _ ) ; pub const WS_E_ENDPOINT_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485938i32 as _ ) ; pub const WS_E_ENDPOINT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485939i32 as _ ) ; pub const WS_E_ENDPOINT_TOO_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485934i32 as _ ) ; pub const WS_E_ENDPOINT_UNREACHABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485936i32 as _ ) ; pub const WS_E_INVALID_ENDPOINT_URL : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485920i32 as _ ) ; pub const WS_E_INVALID_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485952i32 as _ ) ; pub const WS_E_INVALID_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485949i32 as _ ) ; pub const WS_E_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485929i32 as _ ) ; pub const WS_E_NO_TRANSLATION_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485943i32 as _ ) ; pub const WS_E_NUMERIC_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485950i32 as _ ) ; pub const WS_E_OBJECT_FAULTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485951i32 as _ ) ; pub const WS_E_OPERATION_ABANDONED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485945i32 as _ ) ; pub const WS_E_OPERATION_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485948i32 as _ ) ; pub const WS_E_OPERATION_TIMED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485946i32 as _ ) ; pub const WS_E_OTHER : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485919i32 as _ ) ; pub const WS_E_PROXY_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485930i32 as _ ) ; pub const WS_E_PROXY_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485931i32 as _ ) ; pub const WS_E_PROXY_REQUIRES_BASIC_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485928i32 as _ ) ; pub const WS_E_PROXY_REQUIRES_DIGEST_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485927i32 as _ ) ; pub const WS_E_PROXY_REQUIRES_NEGOTIATE_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485925i32 as _ ) ; pub const WS_E_PROXY_REQUIRES_NTLM_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485926i32 as _ ) ; pub const WS_E_QUOTA_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485944i32 as _ ) ; pub const WS_E_SECURITY_SYSTEM_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485917i32 as _ ) ; pub const WS_E_SECURITY_TOKEN_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485918i32 as _ ) ; pub const WS_E_SECURITY_VERIFICATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485942i32 as _ ) ; pub const WS_E_SERVER_REQUIRES_BASIC_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485924i32 as _ ) ; pub const WS_E_SERVER_REQUIRES_DIGEST_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485923i32 as _ ) ; pub const WS_E_SERVER_REQUIRES_NEGOTIATE_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485921i32 as _ ) ; pub const WS_E_SERVER_REQUIRES_NTLM_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485922i32 as _ ) ; pub const WS_S_ASYNC : :: windows :: HRESULT = :: windows :: HRESULT ( 3997696i32 as _ ) ; pub const WS_S_END : :: windows :: HRESULT = :: windows :: HRESULT ( 3997697i32 as _ ) ; pub const XACT_E_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168231i32 as _ ) ; pub const XACT_E_ABORTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168215i32 as _ ) ; pub const XACT_E_ALREADYINPROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168232i32 as _ ) ; pub const XACT_E_ALREADYOTHERSINGLEPHASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168256i32 as _ ) ; pub const XACT_E_CANTRETAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168255i32 as _ ) ; pub const XACT_E_CLERKEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168127i32 as _ ) ; pub const XACT_E_CLERKNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168128i32 as _ ) ; pub const XACT_E_COMMITFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168254i32 as _ ) ; pub const XACT_E_COMMITPREVENTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168253i32 as _ ) ; pub const XACT_E_CONNECTION_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168227i32 as _ ) ; pub const XACT_E_CONNECTION_DOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168228i32 as _ ) ; pub const XACT_E_DEST_TMNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168222i32 as _ ) ; pub const XACT_E_FIRST : u32 = 2147799040u32 ; pub const XACT_E_HEURISTICABORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168252i32 as _ ) ; pub const XACT_E_HEURISTICCOMMIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168251i32 as _ ) ; pub const XACT_E_HEURISTICDAMAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168250i32 as _ ) ; pub const XACT_E_HEURISTICDANGER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168249i32 as _ ) ; pub const XACT_E_INDOUBT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168234i32 as _ ) ; pub const XACT_E_INVALIDCOOKIE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168235i32 as _ ) ; pub const XACT_E_INVALIDLSN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168124i32 as _ ) ; pub const XACT_E_ISOLATIONLEVEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168248i32 as _ ) ; pub const XACT_E_LAST : u32 = 2147799083u32 ; pub const XACT_E_LOGFULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168230i32 as _ ) ; pub const XACT_E_LU_TX_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168212i32 as _ ) ; pub const XACT_E_NETWORK_TX_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168220i32 as _ ) ; pub const XACT_E_NOASYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168247i32 as _ ) ; pub const XACT_E_NOENLIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168246i32 as _ ) ; pub const XACT_E_NOIMPORTOBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168236i32 as _ ) ; pub const XACT_E_NOISORETAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168245i32 as _ ) ; pub const XACT_E_NORESOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168244i32 as _ ) ; pub const XACT_E_NOTCURRENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168243i32 as _ ) ; pub const XACT_E_NOTIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168233i32 as _ ) ; pub const XACT_E_NOTRANSACTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168242i32 as _ ) ; pub const XACT_E_NOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168241i32 as _ ) ; pub const XACT_E_PARTNER_NETWORK_TX_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168219i32 as _ ) ; pub const XACT_E_PULL_COMM_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168213i32 as _ ) ; pub const XACT_E_PUSH_COMM_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168214i32 as _ ) ; pub const XACT_E_RECOVERYINPROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168126i32 as _ ) ; pub const XACT_E_REENLISTTIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168226i32 as _ ) ; pub const XACT_E_REPLAYREQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168123i32 as _ ) ; pub const XACT_E_TIP_CONNECT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168225i32 as _ ) ; pub const XACT_E_TIP_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168221i32 as _ ) ; pub const XACT_E_TIP_PROTOCOL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168224i32 as _ ) ; pub const XACT_E_TIP_PULL_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168223i32 as _ ) ; pub const XACT_E_TMNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168229i32 as _ ) ; pub const XACT_E_TRANSACTIONCLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168125i32 as _ ) ; pub const XACT_E_UNABLE_TO_LOAD_DTC_PROXY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168216i32 as _ ) ; pub const XACT_E_UNABLE_TO_READ_DTC_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168217i32 as _ ) ; pub const XACT_E_UNKNOWNRMGRID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168240i32 as _ ) ; pub const XACT_E_WRONGSTATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168239i32 as _ ) ; pub const XACT_E_WRONGUOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168238i32 as _ ) ; pub const XACT_E_XA_TX_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168218i32 as _ ) ; pub const XACT_E_XTIONEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168237i32 as _ ) ; pub const XACT_S_ABORTING : :: windows :: HRESULT = :: windows :: HRESULT ( 315400i32 as _ ) ; pub const XACT_S_ALLNORETAIN : :: windows :: HRESULT = :: windows :: HRESULT ( 315399i32 as _ ) ; pub const XACT_S_ASYNC : :: windows :: HRESULT = :: windows :: HRESULT ( 315392i32 as _ ) ; pub const XACT_S_DEFECT : :: windows :: HRESULT = :: windows :: HRESULT ( 315393i32 as _ ) ; pub const XACT_S_FIRST : u32 = 315392u32 ; pub const XACT_S_LAST : u32 = 315408u32 ; pub const XACT_S_LASTRESOURCEMANAGER : :: windows :: HRESULT = :: windows :: HRESULT ( 315408i32 as _ ) ; pub const XACT_S_LOCALLY_OK : :: windows :: HRESULT = :: windows :: HRESULT ( 315402i32 as _ ) ; pub const XACT_S_MADECHANGESCONTENT : :: windows :: HRESULT = :: windows :: HRESULT ( 315397i32 as _ ) ; pub const XACT_S_MADECHANGESINFORM : :: windows :: HRESULT = :: windows :: HRESULT ( 315398i32 as _ ) ; pub const XACT_S_OKINFORM : :: windows :: HRESULT = :: windows :: HRESULT ( 315396i32 as _ ) ; pub const XACT_S_READONLY : :: windows :: HRESULT = :: windows :: HRESULT ( 315394i32 as _ ) ; pub const XACT_S_SINGLEPHASE : :: windows :: HRESULT = :: windows :: HRESULT ( 315401i32 as _ ) ; pub const XACT_S_SOMENORETAIN : :: windows :: HRESULT = :: windows :: HRESULT ( 315395i32 as _ ) ; pub const XENROLL_E_CANNOT_ADD_ROOT_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873343i32 as _ ) ; pub const XENROLL_E_KEYSPEC_SMIME_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873339i32 as _ ) ; pub const XENROLL_E_KEY_NOT_EXPORTABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873344i32 as _ ) ; pub const XENROLL_E_RESPONSE_KA_HASH_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873340i32 as _ ) ; pub const XENROLL_E_RESPONSE_KA_HASH_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873342i32 as _ ) ; pub const XENROLL_E_RESPONSE_UNEXPECTED_KA_HASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873341i32 as _ ) ; } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Globalization { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FONTSIGNATURE { pub fsUsb : [ u32 ;4 ] , pub fsCsb : [ u32 ;2 ] } impl FONTSIGNATURE { } impl :: std :: default :: Default for FONTSIGNATURE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for FONTSIGNATURE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FONTSIGNATURE" ) . field ( "fsUsb" , & self . fsUsb ) . field ( "fsCsb" , & self . fsCsb ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FONTSIGNATURE { fn eq ( & self , other : & Self ) -> bool { self . fsUsb == other . fsUsb && self . fsCsb == other . fsCsb } } impl :: std :: cmp :: Eq for FONTSIGNATURE { } unsafe impl :: windows :: Abi for FONTSIGNATURE { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Graphics { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Gdi { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ABC { pub abcA : i32 , pub abcB : u32 , pub abcC : i32 } impl ABC { } impl :: std :: default :: Default for ABC { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ABC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ABC" ) . field ( "abcA" , & self . abcA ) . field ( "abcB" , & self . abcB ) . field ( "abcC" , & self . abcC ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ABC { fn eq ( & self , other : & Self ) -> bool { self . abcA == other . abcA && self . abcB == other . abcB && self . abcC == other . abcC } } impl :: std :: cmp :: Eq for ABC { } unsafe impl :: windows :: Abi for ABC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ABCFLOAT { pub abcfA : f32 , pub abcfB : f32 , pub abcfC : f32 } impl ABCFLOAT { } impl :: std :: default :: Default for ABCFLOAT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ABCFLOAT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ABCFLOAT" ) . field ( "abcfA" , & self . abcfA ) . field ( "abcfB" , & self . abcfB ) . field ( "abcfC" , & self . abcfC ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ABCFLOAT { fn eq ( & self , other : & Self ) -> bool { self . abcfA == other . abcfA && self . abcfB == other . abcfB && self . abcfC == other . abcfC } } impl :: std :: cmp :: Eq for ABCFLOAT { } unsafe impl :: windows :: Abi for ABCFLOAT { type Abi = Self ; type DefaultType = Self ; } pub const ABORTDOC : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ABORTPATH { pub emr : EMR } impl ABORTPATH { } impl :: std :: default :: Default for ABORTPATH { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ABORTPATH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ABORTPATH" ) . field ( "emr" , & self . emr ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ABORTPATH { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr } } impl :: std :: cmp :: Eq for ABORTPATH { } unsafe impl :: windows :: Abi for ABORTPATH { type Abi = Self ; type DefaultType = Self ; } pub const ABSOLUTE : u32 = 1u32 ; pub const AC_SRC_ALPHA : u32 = 1u32 ; pub const AC_SRC_OVER : u32 = 0u32 ; pub const ANSI_CHARSET : u32 = 0u32 ; pub const ARABIC_CHARSET : u32 = 178u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ARC_DIRECTION ( pub u32 ) ; pub const AD_COUNTERCLOCKWISE : ARC_DIRECTION = ARC_DIRECTION ( 1u32 ) ; pub const AD_CLOCKWISE : ARC_DIRECTION = ARC_DIRECTION ( 2u32 ) ; impl :: std :: convert :: From < u32 > for ARC_DIRECTION { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ARC_DIRECTION { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for ARC_DIRECTION { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ARC_DIRECTION { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ARC_DIRECTION { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ARC_DIRECTION { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for ARC_DIRECTION { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const ASPECTX : u32 = 40u32 ; pub const ASPECTXY : u32 = 44u32 ; pub const ASPECTY : u32 = 42u32 ; pub const ASPECT_FILTERING : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AXESLISTA { pub axlReserved : u32 , pub axlNumAxes : u32 , pub axlAxisInfo : [ AXISINFOA ;16 ] } impl AXESLISTA { } impl :: std :: default :: Default for AXESLISTA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for AXESLISTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AXESLISTA" ) . field ( "axlReserved" , & self . axlReserved ) . field ( "axlNumAxes" , & self . axlNumAxes ) . field ( "axlAxisInfo" , & self . axlAxisInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AXESLISTA { fn eq ( & self , other : & Self ) -> bool { self . axlReserved == other . axlReserved && self . axlNumAxes == other . axlNumAxes && self . axlAxisInfo == other . axlAxisInfo } } impl :: std :: cmp :: Eq for AXESLISTA { } unsafe impl :: windows :: Abi for AXESLISTA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AXESLISTW { pub axlReserved : u32 , pub axlNumAxes : u32 , pub axlAxisInfo : [ AXISINFOW ;16 ] } impl AXESLISTW { } impl :: std :: default :: Default for AXESLISTW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for AXESLISTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AXESLISTW" ) . field ( "axlReserved" , & self . axlReserved ) . field ( "axlNumAxes" , & self . axlNumAxes ) . field ( "axlAxisInfo" , & self . axlAxisInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AXESLISTW { fn eq ( & self , other : & Self ) -> bool { self . axlReserved == other . axlReserved && self . axlNumAxes == other . axlNumAxes && self . axlAxisInfo == other . axlAxisInfo } } impl :: std :: cmp :: Eq for AXESLISTW { } unsafe impl :: windows :: Abi for AXESLISTW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AXISINFOA { pub axMinValue : i32 , pub axMaxValue : i32 , pub axAxisName : [ u8 ;16 ] } impl AXISINFOA { } impl :: std :: default :: Default for AXISINFOA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for AXISINFOA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AXISINFOA" ) . field ( "axMinValue" , & self . axMinValue ) . field ( "axMaxValue" , & self . axMaxValue ) . field ( "axAxisName" , & self . axAxisName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AXISINFOA { fn eq ( & self , other : & Self ) -> bool { self . axMinValue == other . axMinValue && self . axMaxValue == other . axMaxValue && self . axAxisName == other . axAxisName } } impl :: std :: cmp :: Eq for AXISINFOA { } unsafe impl :: windows :: Abi for AXISINFOA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AXISINFOW { pub axMinValue : i32 , pub axMaxValue : i32 , pub axAxisName : [ u16 ;16 ] } impl AXISINFOW { } impl :: std :: default :: Default for AXISINFOW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for AXISINFOW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AXISINFOW" ) . field ( "axMinValue" , & self . axMinValue ) . field ( "axMaxValue" , & self . axMaxValue ) . field ( "axAxisName" , & self . axAxisName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AXISINFOW { fn eq ( & self , other : & Self ) -> bool { self . axMinValue == other . axMinValue && self . axMaxValue == other . axMaxValue && self . axAxisName == other . axAxisName } } impl :: std :: cmp :: Eq for AXISINFOW { } unsafe impl :: windows :: Abi for AXISINFOW { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn AbortPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AbortPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( AbortPath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddFontMemResourceEx < > ( pfileview : * const :: std :: ffi :: c_void , cjsize : u32 , pvresrved : * mut :: std :: ffi :: c_void , pnumfonts : * const u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AddFontMemResourceEx ( pfileview : * const :: std :: ffi :: c_void , cjsize : u32 , pvresrved : * mut :: std :: ffi :: c_void , pnumfonts : * const u32 ) -> super::super::Foundation:: HANDLE ; } :: std :: mem :: transmute ( AddFontMemResourceEx ( :: std :: mem :: transmute ( pfileview ) , :: std :: mem :: transmute ( cjsize ) , :: std :: mem :: transmute ( pvresrved ) , :: std :: mem :: transmute ( pnumfonts ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddFontResourceA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( param0 : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AddFontResourceA ( param0 : super::super::Foundation:: PSTR ) -> i32 ; } :: std :: mem :: transmute ( AddFontResourceA ( param0 . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddFontResourceExA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( name : Param0 , fl : FONT_RESOURCE_CHARACTERISTICS , res : * mut :: std :: ffi :: c_void , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AddFontResourceExA ( name : super::super::Foundation:: PSTR , fl : FONT_RESOURCE_CHARACTERISTICS , res : * mut :: std :: ffi :: c_void ) -> i32 ; } :: std :: mem :: transmute ( AddFontResourceExA ( name . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fl ) , :: std :: mem :: transmute ( res ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddFontResourceExW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( name : Param0 , fl : FONT_RESOURCE_CHARACTERISTICS , res : * mut :: std :: ffi :: c_void , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AddFontResourceExW ( name : super::super::Foundation:: PWSTR , fl : FONT_RESOURCE_CHARACTERISTICS , res : * mut :: std :: ffi :: c_void ) -> i32 ; } :: std :: mem :: transmute ( AddFontResourceExW ( name . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fl ) , :: std :: mem :: transmute ( res ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddFontResourceW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( param0 : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AddFontResourceW ( param0 : super::super::Foundation:: PWSTR ) -> i32 ; } :: std :: mem :: transmute ( AddFontResourceW ( param0 . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AlphaBlend < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , HDC > , Param10 : :: windows :: IntoParam < 'a , BLENDFUNCTION > , > ( hdcdest : Param0 , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : Param5 , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , ftn : Param10 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="msimg32" ) ] extern "system" { fn AlphaBlend ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , ftn : BLENDFUNCTION ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( AlphaBlend ( hdcdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xorigindest ) , :: std :: mem :: transmute ( yorigindest ) , :: std :: mem :: transmute ( wdest ) , :: std :: mem :: transmute ( hdest ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xoriginsrc ) , :: std :: mem :: transmute ( yoriginsrc ) , :: std :: mem :: transmute ( wsrc ) , :: std :: mem :: transmute ( hsrc ) , ftn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AngleArc < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , r : u32 , startangle : f32 , sweepangle : f32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AngleArc ( hdc : HDC , x : i32 , y : i32 , r : u32 , startangle : f32 , sweepangle : f32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( AngleArc ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( r ) , :: std :: mem :: transmute ( startangle ) , :: std :: mem :: transmute ( sweepangle ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AnimatePalette < 'a , Param0 : :: windows :: IntoParam < 'a , HPALETTE > , > ( hpal : Param0 , istartindex : u32 , centries : u32 , ppe : * const PALETTEENTRY , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AnimatePalette ( hpal : HPALETTE , istartindex : u32 , centries : u32 , ppe : * const PALETTEENTRY ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( AnimatePalette ( hpal . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( istartindex ) , :: std :: mem :: transmute ( centries ) , :: std :: mem :: transmute ( ppe ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Arc < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , x3 : i32 , y3 : i32 , x4 : i32 , y4 : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn Arc ( hdc : HDC , x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , x3 : i32 , y3 : i32 , x4 : i32 , y4 : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( Arc ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x1 ) , :: std :: mem :: transmute ( y1 ) , :: std :: mem :: transmute ( x2 ) , :: std :: mem :: transmute ( y2 ) , :: std :: mem :: transmute ( x3 ) , :: std :: mem :: transmute ( y3 ) , :: std :: mem :: transmute ( x4 ) , :: std :: mem :: transmute ( y4 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ArcTo < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , xr1 : i32 , yr1 : i32 , xr2 : i32 , yr2 : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ArcTo ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 , xr1 : i32 , yr1 : i32 , xr2 : i32 , yr2 : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ArcTo ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) , :: std :: mem :: transmute ( xr1 ) , :: std :: mem :: transmute ( yr1 ) , :: std :: mem :: transmute ( xr2 ) , :: std :: mem :: transmute ( yr2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct BACKGROUND_MODE ( pub u32 ) ; pub const OPAQUE : BACKGROUND_MODE = BACKGROUND_MODE ( 2u32 ) ; pub const TRANSPARENT : BACKGROUND_MODE = BACKGROUND_MODE ( 1u32 ) ; impl :: std :: convert :: From < u32 > for BACKGROUND_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BACKGROUND_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for BACKGROUND_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for BACKGROUND_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for BACKGROUND_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for BACKGROUND_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for BACKGROUND_MODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const BALTIC_CHARSET : u32 = 186u32 ; pub const BANDINFO : u32 = 24u32 ; pub const BEGIN_PATH : u32 = 4096u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BITMAP { pub bmType : i32 , pub bmWidth : i32 , pub bmHeight : i32 , pub bmWidthBytes : i32 , pub bmPlanes : u16 , pub bmBitsPixel : u16 , pub bmBits : * mut :: std :: ffi :: c_void } impl BITMAP { } impl :: std :: default :: Default for BITMAP { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BITMAP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BITMAP" ) . field ( "bmType" , & self . bmType ) . field ( "bmWidth" , & self . bmWidth ) . field ( "bmHeight" , & self . bmHeight ) . field ( "bmWidthBytes" , & self . bmWidthBytes ) . field ( "bmPlanes" , & self . bmPlanes ) . field ( "bmBitsPixel" , & self . bmBitsPixel ) . field ( "bmBits" , & self . bmBits ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BITMAP { fn eq ( & self , other : & Self ) -> bool { self . bmType == other . bmType && self . bmWidth == other . bmWidth && self . bmHeight == other . bmHeight && self . bmWidthBytes == other . bmWidthBytes && self . bmPlanes == other . bmPlanes && self . bmBitsPixel == other . bmBitsPixel && self . bmBits == other . bmBits } } impl :: std :: cmp :: Eq for BITMAP { } unsafe impl :: windows :: Abi for BITMAP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BITMAPCOREHEADER { pub bcSize : u32 , pub bcWidth : u16 , pub bcHeight : u16 , pub bcPlanes : u16 , pub bcBitCount : u16 } impl BITMAPCOREHEADER { } impl :: std :: default :: Default for BITMAPCOREHEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BITMAPCOREHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BITMAPCOREHEADER" ) . field ( "bcSize" , & self . bcSize ) . field ( "bcWidth" , & self . bcWidth ) . field ( "bcHeight" , & self . bcHeight ) . field ( "bcPlanes" , & self . bcPlanes ) . field ( "bcBitCount" , & self . bcBitCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BITMAPCOREHEADER { fn eq ( & self , other : & Self ) -> bool { self . bcSize == other . bcSize && self . bcWidth == other . bcWidth && self . bcHeight == other . bcHeight && self . bcPlanes == other . bcPlanes && self . bcBitCount == other . bcBitCount } } impl :: std :: cmp :: Eq for BITMAPCOREHEADER { } unsafe impl :: windows :: Abi for BITMAPCOREHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BITMAPCOREINFO { pub bmciHeader : BITMAPCOREHEADER , pub bmciColors : [ RGBTRIPLE ;1 ] } impl BITMAPCOREINFO { } impl :: std :: default :: Default for BITMAPCOREINFO { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BITMAPCOREINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BITMAPCOREINFO" ) . field ( "bmciHeader" , & self . bmciHeader ) . field ( "bmciColors" , & self . bmciColors ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BITMAPCOREINFO { fn eq ( & self , other : & Self ) -> bool { self . bmciHeader == other . bmciHeader && self . bmciColors == other . bmciColors } } impl :: std :: cmp :: Eq for BITMAPCOREINFO { } unsafe impl :: windows :: Abi for BITMAPCOREINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct BITMAPFILEHEADER { pub bfType : u16 , pub bfSize : u32 , pub bfReserved1 : u16 , pub bfReserved2 : u16 , pub bfOffBits : u32 } impl BITMAPFILEHEADER { } impl :: std :: default :: Default for BITMAPFILEHEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for BITMAPFILEHEADER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for BITMAPFILEHEADER { } unsafe impl :: windows :: Abi for BITMAPFILEHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BITMAPINFO { pub bmiHeader : BITMAPINFOHEADER , pub bmiColors : [ RGBQUAD ;1 ] } impl BITMAPINFO { } impl :: std :: default :: Default for BITMAPINFO { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BITMAPINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BITMAPINFO" ) . field ( "bmiHeader" , & self . bmiHeader ) . field ( "bmiColors" , & self . bmiColors ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BITMAPINFO { fn eq ( & self , other : & Self ) -> bool { self . bmiHeader == other . bmiHeader && self . bmiColors == other . bmiColors } } impl :: std :: cmp :: Eq for BITMAPINFO { } unsafe impl :: windows :: Abi for BITMAPINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BITMAPINFOHEADER { pub biSize : u32 , pub biWidth : i32 , pub biHeight : i32 , pub biPlanes : u16 , pub biBitCount : u16 , pub biCompression : u32 , pub biSizeImage : u32 , pub biXPelsPerMeter : i32 , pub biYPelsPerMeter : i32 , pub biClrUsed : u32 , pub biClrImportant : u32 } impl BITMAPINFOHEADER { } impl :: std :: default :: Default for BITMAPINFOHEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BITMAPINFOHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BITMAPINFOHEADER" ) . field ( "biSize" , & self . biSize ) . field ( "biWidth" , & self . biWidth ) . field ( "biHeight" , & self . biHeight ) . field ( "biPlanes" , & self . biPlanes ) . field ( "biBitCount" , & self . biBitCount ) . field ( "biCompression" , & self . biCompression ) . field ( "biSizeImage" , & self . biSizeImage ) . field ( "biXPelsPerMeter" , & self . biXPelsPerMeter ) . field ( "biYPelsPerMeter" , & self . biYPelsPerMeter ) . field ( "biClrUsed" , & self . biClrUsed ) . field ( "biClrImportant" , & self . biClrImportant ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BITMAPINFOHEADER { fn eq ( & self , other : & Self ) -> bool { self . biSize == other . biSize && self . biWidth == other . biWidth && self . biHeight == other . biHeight && self . biPlanes == other . biPlanes && self . biBitCount == other . biBitCount && self . biCompression == other . biCompression && self . biSizeImage == other . biSizeImage && self . biXPelsPerMeter == other . biXPelsPerMeter && self . biYPelsPerMeter == other . biYPelsPerMeter && self . biClrUsed == other . biClrUsed && self . biClrImportant == other . biClrImportant } } impl :: std :: cmp :: Eq for BITMAPINFOHEADER { } unsafe impl :: windows :: Abi for BITMAPINFOHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BITMAPV4HEADER { pub bV4Size : u32 , pub bV4Width : i32 , pub bV4Height : i32 , pub bV4Planes : u16 , pub bV4BitCount : u16 , pub bV4V4Compression : u32 , pub bV4SizeImage : u32 , pub bV4XPelsPerMeter : i32 , pub bV4YPelsPerMeter : i32 , pub bV4ClrUsed : u32 , pub bV4ClrImportant : u32 , pub bV4RedMask : u32 , pub bV4GreenMask : u32 , pub bV4BlueMask : u32 , pub bV4AlphaMask : u32 , pub bV4CSType : u32 , pub bV4Endpoints : super::super::UI::ColorSystem:: CIEXYZTRIPLE , pub bV4GammaRed : u32 , pub bV4GammaGreen : u32 , pub bV4GammaBlue : u32 } impl BITMAPV4HEADER { } impl :: std :: default :: Default for BITMAPV4HEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BITMAPV4HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BITMAPV4HEADER" ) . field ( "bV4Size" , & self . bV4Size ) . field ( "bV4Width" , & self . bV4Width ) . field ( "bV4Height" , & self . bV4Height ) . field ( "bV4Planes" , & self . bV4Planes ) . field ( "bV4BitCount" , & self . bV4BitCount ) . field ( "bV4V4Compression" , & self . bV4V4Compression ) . field ( "bV4SizeImage" , & self . bV4SizeImage ) . field ( "bV4XPelsPerMeter" , & self . bV4XPelsPerMeter ) . field ( "bV4YPelsPerMeter" , & self . bV4YPelsPerMeter ) . field ( "bV4ClrUsed" , & self . bV4ClrUsed ) . field ( "bV4ClrImportant" , & self . bV4ClrImportant ) . field ( "bV4RedMask" , & self . bV4RedMask ) . field ( "bV4GreenMask" , & self . bV4GreenMask ) . field ( "bV4BlueMask" , & self . bV4BlueMask ) . field ( "bV4AlphaMask" , & self . bV4AlphaMask ) . field ( "bV4CSType" , & self . bV4CSType ) . field ( "bV4Endpoints" , & self . bV4Endpoints ) . field ( "bV4GammaRed" , & self . bV4GammaRed ) . field ( "bV4GammaGreen" , & self . bV4GammaGreen ) . field ( "bV4GammaBlue" , & self . bV4GammaBlue ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BITMAPV4HEADER { fn eq ( & self , other : & Self ) -> bool { self . bV4Size == other . bV4Size && self . bV4Width == other . bV4Width && self . bV4Height == other . bV4Height && self . bV4Planes == other . bV4Planes && self . bV4BitCount == other . bV4BitCount && self . bV4V4Compression == other . bV4V4Compression && self . bV4SizeImage == other . bV4SizeImage && self . bV4XPelsPerMeter == other . bV4XPelsPerMeter && self . bV4YPelsPerMeter == other . bV4YPelsPerMeter && self . bV4ClrUsed == other . bV4ClrUsed && self . bV4ClrImportant == other . bV4ClrImportant && self . bV4RedMask == other . bV4RedMask && self . bV4GreenMask == other . bV4GreenMask && self . bV4BlueMask == other . bV4BlueMask && self . bV4AlphaMask == other . bV4AlphaMask && self . bV4CSType == other . bV4CSType && self . bV4Endpoints == other . bV4Endpoints && self . bV4GammaRed == other . bV4GammaRed && self . bV4GammaGreen == other . bV4GammaGreen && self . bV4GammaBlue == other . bV4GammaBlue } } impl :: std :: cmp :: Eq for BITMAPV4HEADER { } unsafe impl :: windows :: Abi for BITMAPV4HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BITMAPV5HEADER { pub bV5Size : u32 , pub bV5Width : i32 , pub bV5Height : i32 , pub bV5Planes : u16 , pub bV5BitCount : u16 , pub bV5Compression : u32 , pub bV5SizeImage : u32 , pub bV5XPelsPerMeter : i32 , pub bV5YPelsPerMeter : i32 , pub bV5ClrUsed : u32 , pub bV5ClrImportant : u32 , pub bV5RedMask : u32 , pub bV5GreenMask : u32 , pub bV5BlueMask : u32 , pub bV5AlphaMask : u32 , pub bV5CSType : u32 , pub bV5Endpoints : super::super::UI::ColorSystem:: CIEXYZTRIPLE , pub bV5GammaRed : u32 , pub bV5GammaGreen : u32 , pub bV5GammaBlue : u32 , pub bV5Intent : u32 , pub bV5ProfileData : u32 , pub bV5ProfileSize : u32 , pub bV5Reserved : u32 } impl BITMAPV5HEADER { } impl :: std :: default :: Default for BITMAPV5HEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BITMAPV5HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BITMAPV5HEADER" ) . field ( "bV5Size" , & self . bV5Size ) . field ( "bV5Width" , & self . bV5Width ) . field ( "bV5Height" , & self . bV5Height ) . field ( "bV5Planes" , & self . bV5Planes ) . field ( "bV5BitCount" , & self . bV5BitCount ) . field ( "bV5Compression" , & self . bV5Compression ) . field ( "bV5SizeImage" , & self . bV5SizeImage ) . field ( "bV5XPelsPerMeter" , & self . bV5XPelsPerMeter ) . field ( "bV5YPelsPerMeter" , & self . bV5YPelsPerMeter ) . field ( "bV5ClrUsed" , & self . bV5ClrUsed ) . field ( "bV5ClrImportant" , & self . bV5ClrImportant ) . field ( "bV5RedMask" , & self . bV5RedMask ) . field ( "bV5GreenMask" , & self . bV5GreenMask ) . field ( "bV5BlueMask" , & self . bV5BlueMask ) . field ( "bV5AlphaMask" , & self . bV5AlphaMask ) . field ( "bV5CSType" , & self . bV5CSType ) . field ( "bV5Endpoints" , & self . bV5Endpoints ) . field ( "bV5GammaRed" , & self . bV5GammaRed ) . field ( "bV5GammaGreen" , & self . bV5GammaGreen ) . field ( "bV5GammaBlue" , & self . bV5GammaBlue ) . field ( "bV5Intent" , & self . bV5Intent ) . field ( "bV5ProfileData" , & self . bV5ProfileData ) . field ( "bV5ProfileSize" , & self . bV5ProfileSize ) . field ( "bV5Reserved" , & self . bV5Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BITMAPV5HEADER { fn eq ( & self , other : & Self ) -> bool { self . bV5Size == other . bV5Size && self . bV5Width == other . bV5Width && self . bV5Height == other . bV5Height && self . bV5Planes == other . bV5Planes && self . bV5BitCount == other . bV5BitCount && self . bV5Compression == other . bV5Compression && self . bV5SizeImage == other . bV5SizeImage && self . bV5XPelsPerMeter == other . bV5XPelsPerMeter && self . bV5YPelsPerMeter == other . bV5YPelsPerMeter && self . bV5ClrUsed == other . bV5ClrUsed && self . bV5ClrImportant == other . bV5ClrImportant && self . bV5RedMask == other . bV5RedMask && self . bV5GreenMask == other . bV5GreenMask && self . bV5BlueMask == other . bV5BlueMask && self . bV5AlphaMask == other . bV5AlphaMask && self . bV5CSType == other . bV5CSType && self . bV5Endpoints == other . bV5Endpoints && self . bV5GammaRed == other . bV5GammaRed && self . bV5GammaGreen == other . bV5GammaGreen && self . bV5GammaBlue == other . bV5GammaBlue && self . bV5Intent == other . bV5Intent && self . bV5ProfileData == other . bV5ProfileData && self . bV5ProfileSize == other . bV5ProfileSize && self . bV5Reserved == other . bV5Reserved } } impl :: std :: cmp :: Eq for BITMAPV5HEADER { } unsafe impl :: windows :: Abi for BITMAPV5HEADER { type Abi = Self ; type DefaultType = Self ; } pub const BITSPIXEL : u32 = 12u32 ; pub const BI_BITFIELDS : i32 = 3i32 ; pub const BI_JPEG : i32 = 4i32 ; pub const BI_PNG : i32 = 5i32 ; pub const BI_RGB : i32 = 0i32 ; pub const BI_RLE4 : i32 = 2i32 ; pub const BI_RLE8 : i32 = 1i32 ; pub const BKMODE_LAST : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BLENDFUNCTION { pub BlendOp : u8 , pub BlendFlags : u8 , pub SourceConstantAlpha : u8 , pub AlphaFormat : u8 } impl BLENDFUNCTION { } impl :: std :: default :: Default for BLENDFUNCTION { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BLENDFUNCTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BLENDFUNCTION" ) . field ( "BlendOp" , & self . BlendOp ) . field ( "BlendFlags" , & self . BlendFlags ) . field ( "SourceConstantAlpha" , & self . SourceConstantAlpha ) . field ( "AlphaFormat" , & self . AlphaFormat ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BLENDFUNCTION { fn eq ( & self , other : & Self ) -> bool { self . BlendOp == other . BlendOp && self . BlendFlags == other . BlendFlags && self . SourceConstantAlpha == other . SourceConstantAlpha && self . AlphaFormat == other . AlphaFormat } } impl :: std :: cmp :: Eq for BLENDFUNCTION { } unsafe impl :: windows :: Abi for BLENDFUNCTION { type Abi = Self ; type DefaultType = Self ; } pub const BLTALIGNMENT : u32 = 119u32 ; pub const BS_DIBPATTERN : u32 = 5u32 ; pub const BS_DIBPATTERN8X8 : u32 = 8u32 ; pub const BS_DIBPATTERNPT : u32 = 6u32 ; pub const BS_HATCHED : u32 = 2u32 ; pub const BS_INDEXED : u32 = 4u32 ; pub const BS_MONOPATTERN : u32 = 9u32 ; pub const BS_NULL : u32 = 1u32 ; pub const BS_PATTERN : u32 = 3u32 ; pub const BS_PATTERN8X8 : u32 = 7u32 ; pub const BS_SOLID : u32 = 0u32 ; pub unsafe fn BeginPaint < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , lppaint : * mut PAINTSTRUCT , ) -> HDC { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn BeginPaint ( hwnd : super::super::Foundation:: HWND , lppaint : * mut PAINTSTRUCT ) -> HDC ; } :: std :: mem :: transmute ( BeginPaint ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppaint ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn BeginPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn BeginPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( BeginPath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn BitBlt < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , cx : i32 , cy : i32 , hdcsrc : Param5 , x1 : i32 , y1 : i32 , rop : ROP_CODE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn BitBlt ( hdc : HDC , x : i32 , y : i32 , cx : i32 , cy : i32 , hdcsrc : HDC , x1 : i32 , y1 : i32 , rop : ROP_CODE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( BitBlt ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( cx ) , :: std :: mem :: transmute ( cy ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x1 ) , :: std :: mem :: transmute ( y1 ) , :: std :: mem :: transmute ( rop ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const CA_LOG_FILTER : u32 = 2u32 ; pub const CA_NEGATIVE : u32 = 1u32 ; pub const CBM_INIT : i32 = 4i32 ; pub const CCHFORMNAME : u32 = 32u32 ; pub const CC_CHORD : u32 = 4u32 ; pub const CC_CIRCLES : u32 = 1u32 ; pub const CC_ELLIPSES : u32 = 8u32 ; pub const CC_INTERIORS : u32 = 128u32 ; pub const CC_NONE : u32 = 0u32 ; pub const CC_PIE : u32 = 2u32 ; pub const CC_ROUNDRECT : u32 = 256u32 ; pub const CC_STYLED : u32 = 32u32 ; pub const CC_WIDE : u32 = 16u32 ; pub const CC_WIDESTYLED : u32 = 64u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CDS_TYPE ( pub u32 ) ; pub const CDS_FULLSCREEN : CDS_TYPE = CDS_TYPE ( 4u32 ) ; pub const CDS_GLOBAL : CDS_TYPE = CDS_TYPE ( 8u32 ) ; pub const CDS_NORESET : CDS_TYPE = CDS_TYPE ( 268435456u32 ) ; pub const CDS_RESET : CDS_TYPE = CDS_TYPE ( 1073741824u32 ) ; pub const CDS_SET_PRIMARY : CDS_TYPE = CDS_TYPE ( 16u32 ) ; pub const CDS_TEST : CDS_TYPE = CDS_TYPE ( 2u32 ) ; pub const CDS_UPDATEREGISTRY : CDS_TYPE = CDS_TYPE ( 1u32 ) ; pub const CDS_VIDEOPARAMETERS : CDS_TYPE = CDS_TYPE ( 32u32 ) ; pub const CDS_ENABLE_UNSAFE_MODES : CDS_TYPE = CDS_TYPE ( 256u32 ) ; pub const CDS_DISABLE_UNSAFE_MODES : CDS_TYPE = CDS_TYPE ( 512u32 ) ; pub const CDS_RESET_EX : CDS_TYPE = CDS_TYPE ( 536870912u32 ) ; impl :: std :: convert :: From < u32 > for CDS_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CDS_TYPE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CDS_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CDS_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CDS_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CDS_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for CDS_TYPE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub type CFP_ALLOCPROC = unsafe extern "system" fn ( param0 : usize ) -> * mut :: std :: ffi :: c_void ; pub type CFP_FREEPROC = unsafe extern "system" fn ( param0 : * mut :: std :: ffi :: c_void ) ; pub type CFP_REALLOCPROC = unsafe extern "system" fn ( param0 : * mut :: std :: ffi :: c_void , param1 : usize ) -> * mut :: std :: ffi :: c_void ; pub const CHARSET_DEFAULT : u32 = 1u32 ; pub const CHARSET_GLYPHIDX : u32 = 3u32 ; pub const CHECKJPEGFORMAT : u32 = 4119u32 ; pub const CHECKPNGFORMAT : u32 = 4120u32 ; pub const CHINESEBIG5_CHARSET : u32 = 136u32 ; pub const CLEARTYPE_NATURAL_QUALITY : u32 = 6u32 ; pub const CLIPCAPS : u32 = 36u32 ; pub const CLIP_TO_PATH : u32 = 4097u32 ; pub const CLOSECHANNEL : u32 = 4112u32 ; pub const CLR_INVALID : u32 = 4294967295u32 ; pub const CM_CMYK_COLOR : u32 = 4u32 ; pub const CM_DEVICE_ICM : u32 = 1u32 ; pub const CM_GAMMA_RAMP : u32 = 2u32 ; pub const CM_IN_GAMUT : u32 = 0u32 ; pub const CM_NONE : u32 = 0u32 ; pub const CM_OUT_OF_GAMUT : u32 = 255u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COLORADJUSTMENT { pub caSize : u16 , pub caFlags : u16 , pub caIlluminantIndex : u16 , pub caRedGamma : u16 , pub caGreenGamma : u16 , pub caBlueGamma : u16 , pub caReferenceBlack : u16 , pub caReferenceWhite : u16 , pub caContrast : i16 , pub caBrightness : i16 , pub caColorfulness : i16 , pub caRedGreenTint : i16 } impl COLORADJUSTMENT { } impl :: std :: default :: Default for COLORADJUSTMENT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for COLORADJUSTMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "COLORADJUSTMENT" ) . field ( "caSize" , & self . caSize ) . field ( "caFlags" , & self . caFlags ) . field ( "caIlluminantIndex" , & self . caIlluminantIndex ) . field ( "caRedGamma" , & self . caRedGamma ) . field ( "caGreenGamma" , & self . caGreenGamma ) . field ( "caBlueGamma" , & self . caBlueGamma ) . field ( "caReferenceBlack" , & self . caReferenceBlack ) . field ( "caReferenceWhite" , & self . caReferenceWhite ) . field ( "caContrast" , & self . caContrast ) . field ( "caBrightness" , & self . caBrightness ) . field ( "caColorfulness" , & self . caColorfulness ) . field ( "caRedGreenTint" , & self . caRedGreenTint ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COLORADJUSTMENT { fn eq ( & self , other : & Self ) -> bool { self . caSize == other . caSize && self . caFlags == other . caFlags && self . caIlluminantIndex == other . caIlluminantIndex && self . caRedGamma == other . caRedGamma && self . caGreenGamma == other . caGreenGamma && self . caBlueGamma == other . caBlueGamma && self . caReferenceBlack == other . caReferenceBlack && self . caReferenceWhite == other . caReferenceWhite && self . caContrast == other . caContrast && self . caBrightness == other . caBrightness && self . caColorfulness == other . caColorfulness && self . caRedGreenTint == other . caRedGreenTint } } impl :: std :: cmp :: Eq for COLORADJUSTMENT { } unsafe impl :: windows :: Abi for COLORADJUSTMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COLORCORRECTPALETTE { pub emr : EMR , pub ihPalette : u32 , pub nFirstEntry : u32 , pub nPalEntries : u32 , pub nReserved : u32 } impl COLORCORRECTPALETTE { } impl :: std :: default :: Default for COLORCORRECTPALETTE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for COLORCORRECTPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "COLORCORRECTPALETTE" ) . field ( "emr" , & self . emr ) . field ( "ihPalette" , & self . ihPalette ) . field ( "nFirstEntry" , & self . nFirstEntry ) . field ( "nPalEntries" , & self . nPalEntries ) . field ( "nReserved" , & self . nReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COLORCORRECTPALETTE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihPalette == other . ihPalette && self . nFirstEntry == other . nFirstEntry && self . nPalEntries == other . nPalEntries && self . nReserved == other . nReserved } } impl :: std :: cmp :: Eq for COLORCORRECTPALETTE { } unsafe impl :: windows :: Abi for COLORCORRECTPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COLORMATCHTOTARGET { pub emr : EMR , pub dwAction : u32 , pub dwFlags : u32 , pub cbName : u32 , pub cbData : u32 , pub Data : [ u8 ;1 ] } impl COLORMATCHTOTARGET { } impl :: std :: default :: Default for COLORMATCHTOTARGET { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for COLORMATCHTOTARGET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "COLORMATCHTOTARGET" ) . field ( "emr" , & self . emr ) . field ( "dwAction" , & self . dwAction ) . field ( "dwFlags" , & self . dwFlags ) . field ( "cbName" , & self . cbName ) . field ( "cbData" , & self . cbData ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COLORMATCHTOTARGET { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . dwAction == other . dwAction && self . dwFlags == other . dwFlags && self . cbName == other . cbName && self . cbData == other . cbData && self . Data == other . Data } } impl :: std :: cmp :: Eq for COLORMATCHTOTARGET { } unsafe impl :: windows :: Abi for COLORMATCHTOTARGET { type Abi = Self ; type DefaultType = Self ; } pub const COLORMATCHTOTARGET_EMBEDED : u32 = 1u32 ; pub const COLORMGMTCAPS : u32 = 121u32 ; pub const COLORRES : u32 = 108u32 ; pub const COMPLEXREGION : u32 = 3u32 ; pub const CP_NONE : u32 = 0u32 ; pub const CP_RECTANGLE : u32 = 1u32 ; pub const CP_REGION : u32 = 2u32 ; pub const CREATECOLORSPACE_EMBEDED : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CREATE_FONT_PACKAGE_SUBSET_ENCODING ( pub u32 ) ; pub const TTFCFP_STD_MAC_CHAR_SET : CREATE_FONT_PACKAGE_SUBSET_ENCODING = CREATE_FONT_PACKAGE_SUBSET_ENCODING ( 0u32 ) ; pub const TTFCFP_SYMBOL_CHAR_SET : CREATE_FONT_PACKAGE_SUBSET_ENCODING = CREATE_FONT_PACKAGE_SUBSET_ENCODING ( 0u32 ) ; pub const TTFCFP_UNICODE_CHAR_SET : CREATE_FONT_PACKAGE_SUBSET_ENCODING = CREATE_FONT_PACKAGE_SUBSET_ENCODING ( 1u32 ) ; impl :: std :: convert :: From < u32 > for CREATE_FONT_PACKAGE_SUBSET_ENCODING { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CREATE_FONT_PACKAGE_SUBSET_ENCODING { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CREATE_FONT_PACKAGE_SUBSET_ENCODING { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CREATE_FONT_PACKAGE_SUBSET_ENCODING { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CREATE_FONT_PACKAGE_SUBSET_ENCODING { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CREATE_FONT_PACKAGE_SUBSET_ENCODING { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for CREATE_FONT_PACKAGE_SUBSET_ENCODING { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CREATE_FONT_PACKAGE_SUBSET_PLATFORM ( pub u32 ) ; pub const TTFCFP_UNICODE_PLATFORMID : CREATE_FONT_PACKAGE_SUBSET_PLATFORM = CREATE_FONT_PACKAGE_SUBSET_PLATFORM ( 0u32 ) ; pub const TTFCFP_ISO_PLATFORMID : CREATE_FONT_PACKAGE_SUBSET_PLATFORM = CREATE_FONT_PACKAGE_SUBSET_PLATFORM ( 2u32 ) ; impl :: std :: convert :: From < u32 > for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CREATE_POLYGON_RGN_MODE ( pub u32 ) ; pub const ALTERNATE : CREATE_POLYGON_RGN_MODE = CREATE_POLYGON_RGN_MODE ( 1u32 ) ; pub const WINDING : CREATE_POLYGON_RGN_MODE = CREATE_POLYGON_RGN_MODE ( 2u32 ) ; impl :: std :: convert :: From < u32 > for CREATE_POLYGON_RGN_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CREATE_POLYGON_RGN_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CREATE_POLYGON_RGN_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CREATE_POLYGON_RGN_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CREATE_POLYGON_RGN_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CREATE_POLYGON_RGN_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for CREATE_POLYGON_RGN_MODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const CURVECAPS : u32 = 28u32 ; pub unsafe fn CancelDC < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CancelDC ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( CancelDC ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeDisplaySettingsA < > ( lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEA , dwflags : CDS_TYPE , ) -> DISP_CHANGE { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ChangeDisplaySettingsA ( lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEA , dwflags : CDS_TYPE ) -> DISP_CHANGE ; } :: std :: mem :: transmute ( ChangeDisplaySettingsA ( :: std :: mem :: transmute ( lpdevmode ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeDisplaySettingsExA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( lpszdevicename : Param0 , lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEA , hwnd : Param2 , dwflags : CDS_TYPE , lparam : * const :: std :: ffi :: c_void , ) -> DISP_CHANGE { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ChangeDisplaySettingsExA ( lpszdevicename : super::super::Foundation:: PSTR , lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEA , hwnd : super::super::Foundation:: HWND , dwflags : CDS_TYPE , lparam : * const :: std :: ffi :: c_void ) -> DISP_CHANGE ; } :: std :: mem :: transmute ( ChangeDisplaySettingsExA ( lpszdevicename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdevmode ) , hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( lparam ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeDisplaySettingsExW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( lpszdevicename : Param0 , lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEW , hwnd : Param2 , dwflags : CDS_TYPE , lparam : * const :: std :: ffi :: c_void , ) -> DISP_CHANGE { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ChangeDisplaySettingsExW ( lpszdevicename : super::super::Foundation:: PWSTR , lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEW , hwnd : super::super::Foundation:: HWND , dwflags : CDS_TYPE , lparam : * const :: std :: ffi :: c_void ) -> DISP_CHANGE ; } :: std :: mem :: transmute ( ChangeDisplaySettingsExW ( lpszdevicename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdevmode ) , hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( lparam ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeDisplaySettingsW < > ( lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEW , dwflags : CDS_TYPE , ) -> DISP_CHANGE { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ChangeDisplaySettingsW ( lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEW , dwflags : CDS_TYPE ) -> DISP_CHANGE ; } :: std :: mem :: transmute ( ChangeDisplaySettingsW ( :: std :: mem :: transmute ( lpdevmode ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Chord < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , x3 : i32 , y3 : i32 , x4 : i32 , y4 : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn Chord ( hdc : HDC , x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , x3 : i32 , y3 : i32 , x4 : i32 , y4 : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( Chord ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x1 ) , :: std :: mem :: transmute ( y1 ) , :: std :: mem :: transmute ( x2 ) , :: std :: mem :: transmute ( y2 ) , :: std :: mem :: transmute ( x3 ) , :: std :: mem :: transmute ( y3 ) , :: std :: mem :: transmute ( x4 ) , :: std :: mem :: transmute ( y4 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ClientToScreen < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , lppoint : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ClientToScreen ( hwnd : super::super::Foundation:: HWND , lppoint : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ClientToScreen ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppoint ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseEnhMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> HENHMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CloseEnhMetaFile ( hdc : HDC ) -> HENHMETAFILE ; } :: std :: mem :: transmute ( CloseEnhMetaFile ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseFigure < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CloseFigure ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( CloseFigure ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> HMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CloseMetaFile ( hdc : HDC ) -> HMETAFILE ; } :: std :: mem :: transmute ( CloseMetaFile ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CombineRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , Param1 : :: windows :: IntoParam < 'a , HRGN > , Param2 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgndst : Param0 , hrgnsrc1 : Param1 , hrgnsrc2 : Param2 , imode : RGN_COMBINE_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CombineRgn ( hrgndst : HRGN , hrgnsrc1 : HRGN , hrgnsrc2 : HRGN , imode : RGN_COMBINE_MODE ) -> i32 ; } :: std :: mem :: transmute ( CombineRgn ( hrgndst . into_param ( ) . abi ( ) , hrgnsrc1 . into_param ( ) . abi ( ) , hrgnsrc2 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( imode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CombineTransform < > ( lpxfout : * mut XFORM , lpxf1 : * const XFORM , lpxf2 : * const XFORM , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CombineTransform ( lpxfout : * mut XFORM , lpxf1 : * const XFORM , lpxf2 : * const XFORM ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( CombineTransform ( :: std :: mem :: transmute ( lpxfout ) , :: std :: mem :: transmute ( lpxf1 ) , :: std :: mem :: transmute ( lpxf2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyEnhMetaFileA < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( henh : Param0 , lpfilename : Param1 , ) -> HENHMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CopyEnhMetaFileA ( henh : HENHMETAFILE , lpfilename : super::super::Foundation:: PSTR ) -> HENHMETAFILE ; } :: std :: mem :: transmute ( CopyEnhMetaFileA ( henh . into_param ( ) . abi ( ) , lpfilename . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyEnhMetaFileW < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( henh : Param0 , lpfilename : Param1 , ) -> HENHMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CopyEnhMetaFileW ( henh : HENHMETAFILE , lpfilename : super::super::Foundation:: PWSTR ) -> HENHMETAFILE ; } :: std :: mem :: transmute ( CopyEnhMetaFileW ( henh . into_param ( ) . abi ( ) , lpfilename . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyMetaFileA < 'a , Param0 : :: windows :: IntoParam < 'a , HMETAFILE > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( param0 : Param0 , param1 : Param1 , ) -> HMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CopyMetaFileA ( param0 : HMETAFILE , param1 : super::super::Foundation:: PSTR ) -> HMETAFILE ; } :: std :: mem :: transmute ( CopyMetaFileA ( param0 . into_param ( ) . abi ( ) , param1 . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyMetaFileW < 'a , Param0 : :: windows :: IntoParam < 'a , HMETAFILE > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( param0 : Param0 , param1 : Param1 , ) -> HMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CopyMetaFileW ( param0 : HMETAFILE , param1 : super::super::Foundation:: PWSTR ) -> HMETAFILE ; } :: std :: mem :: transmute ( CopyMetaFileW ( param0 . into_param ( ) . abi ( ) , param1 . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyRect < > ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn CopyRect ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( CopyRect ( :: std :: mem :: transmute ( lprcdst ) , :: std :: mem :: transmute ( lprcsrc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateBitmap < > ( nwidth : i32 , nheight : i32 , nplanes : u32 , nbitcount : u32 , lpbits : * const :: std :: ffi :: c_void , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateBitmap ( nwidth : i32 , nheight : i32 , nplanes : u32 , nbitcount : u32 , lpbits : * const :: std :: ffi :: c_void ) -> HBITMAP ; } :: std :: mem :: transmute ( CreateBitmap ( :: std :: mem :: transmute ( nwidth ) , :: std :: mem :: transmute ( nheight ) , :: std :: mem :: transmute ( nplanes ) , :: std :: mem :: transmute ( nbitcount ) , :: std :: mem :: transmute ( lpbits ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateBitmapIndirect < > ( pbm : * const BITMAP , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateBitmapIndirect ( pbm : * const BITMAP ) -> HBITMAP ; } :: std :: mem :: transmute ( CreateBitmapIndirect ( :: std :: mem :: transmute ( pbm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateBrushIndirect < > ( plbrush : * const LOGBRUSH , ) -> HBRUSH { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateBrushIndirect ( plbrush : * const LOGBRUSH ) -> HBRUSH ; } :: std :: mem :: transmute ( CreateBrushIndirect ( :: std :: mem :: transmute ( plbrush ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateCompatibleBitmap < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , cx : i32 , cy : i32 , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateCompatibleBitmap ( hdc : HDC , cx : i32 , cy : i32 ) -> HBITMAP ; } :: std :: mem :: transmute ( CreateCompatibleBitmap ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cx ) , :: std :: mem :: transmute ( cy ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateCompatibleDC < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> CreatedHDC { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateCompatibleDC ( hdc : HDC ) -> CreatedHDC ; } :: std :: mem :: transmute ( CreateCompatibleDC ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDCA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( pwszdriver : Param0 , pwszdevice : Param1 , pszport : Param2 , pdm : * const super::super::UI::DisplayDevices:: DEVMODEA , ) -> CreatedHDC { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateDCA ( pwszdriver : super::super::Foundation:: PSTR , pwszdevice : super::super::Foundation:: PSTR , pszport : super::super::Foundation:: PSTR , pdm : * const super::super::UI::DisplayDevices:: DEVMODEA ) -> CreatedHDC ; } :: std :: mem :: transmute ( CreateDCA ( pwszdriver . into_param ( ) . abi ( ) , pwszdevice . into_param ( ) . abi ( ) , pszport . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDCW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( pwszdriver : Param0 , pwszdevice : Param1 , pszport : Param2 , pdm : * const super::super::UI::DisplayDevices:: DEVMODEW , ) -> CreatedHDC { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateDCW ( pwszdriver : super::super::Foundation:: PWSTR , pwszdevice : super::super::Foundation:: PWSTR , pszport : super::super::Foundation:: PWSTR , pdm : * const super::super::UI::DisplayDevices:: DEVMODEW ) -> CreatedHDC ; } :: std :: mem :: transmute ( CreateDCW ( pwszdriver . into_param ( ) . abi ( ) , pwszdevice . into_param ( ) . abi ( ) , pszport . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDIBPatternBrush < > ( h : isize , iusage : DIB_USAGE , ) -> HBRUSH { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateDIBPatternBrush ( h : isize , iusage : DIB_USAGE ) -> HBRUSH ; } :: std :: mem :: transmute ( CreateDIBPatternBrush ( :: std :: mem :: transmute ( h ) , :: std :: mem :: transmute ( iusage ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDIBPatternBrushPt < > ( lppackeddib : * const :: std :: ffi :: c_void , iusage : DIB_USAGE , ) -> HBRUSH { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateDIBPatternBrushPt ( lppackeddib : * const :: std :: ffi :: c_void , iusage : DIB_USAGE ) -> HBRUSH ; } :: std :: mem :: transmute ( CreateDIBPatternBrushPt ( :: std :: mem :: transmute ( lppackeddib ) , :: std :: mem :: transmute ( iusage ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDIBSection < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param4 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( hdc : Param0 , pbmi : * const BITMAPINFO , usage : DIB_USAGE , ppvbits : * mut * mut :: std :: ffi :: c_void , hsection : Param4 , offset : u32 , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateDIBSection ( hdc : HDC , pbmi : * const BITMAPINFO , usage : DIB_USAGE , ppvbits : * mut * mut :: std :: ffi :: c_void , hsection : super::super::Foundation:: HANDLE , offset : u32 ) -> HBITMAP ; } :: std :: mem :: transmute ( CreateDIBSection ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbmi ) , :: std :: mem :: transmute ( usage ) , :: std :: mem :: transmute ( ppvbits ) , hsection . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( offset ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDIBitmap < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , pbmih : * const BITMAPINFOHEADER , flinit : u32 , pjbits : * const :: std :: ffi :: c_void , pbmi : * const BITMAPINFO , iusage : DIB_USAGE , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateDIBitmap ( hdc : HDC , pbmih : * const BITMAPINFOHEADER , flinit : u32 , pjbits : * const :: std :: ffi :: c_void , pbmi : * const BITMAPINFO , iusage : DIB_USAGE ) -> HBITMAP ; } :: std :: mem :: transmute ( CreateDIBitmap ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbmih ) , :: std :: mem :: transmute ( flinit ) , :: std :: mem :: transmute ( pjbits ) , :: std :: mem :: transmute ( pbmi ) , :: std :: mem :: transmute ( iusage ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDiscardableBitmap < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , cx : i32 , cy : i32 , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateDiscardableBitmap ( hdc : HDC , cx : i32 , cy : i32 ) -> HBITMAP ; } :: std :: mem :: transmute ( CreateDiscardableBitmap ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cx ) , :: std :: mem :: transmute ( cy ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateEllipticRgn < > ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateEllipticRgn ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 ) -> HRGN ; } :: std :: mem :: transmute ( CreateEllipticRgn ( :: std :: mem :: transmute ( x1 ) , :: std :: mem :: transmute ( y1 ) , :: std :: mem :: transmute ( x2 ) , :: std :: mem :: transmute ( y2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateEllipticRgnIndirect < > ( lprect : * const super::super::Foundation:: RECT , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateEllipticRgnIndirect ( lprect : * const super::super::Foundation:: RECT ) -> HRGN ; } :: std :: mem :: transmute ( CreateEllipticRgnIndirect ( :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateEnhMetaFileA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpfilename : Param1 , lprc : * const super::super::Foundation:: RECT , lpdesc : Param3 , ) -> HdcMetdataEnhFileHandle { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateEnhMetaFileA ( hdc : HDC , lpfilename : super::super::Foundation:: PSTR , lprc : * const super::super::Foundation:: RECT , lpdesc : super::super::Foundation:: PSTR ) -> HdcMetdataEnhFileHandle ; } :: std :: mem :: transmute ( CreateEnhMetaFileA ( hdc . into_param ( ) . abi ( ) , lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) , lpdesc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateEnhMetaFileW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpfilename : Param1 , lprc : * const super::super::Foundation:: RECT , lpdesc : Param3 , ) -> HdcMetdataEnhFileHandle { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateEnhMetaFileW ( hdc : HDC , lpfilename : super::super::Foundation:: PWSTR , lprc : * const super::super::Foundation:: RECT , lpdesc : super::super::Foundation:: PWSTR ) -> HdcMetdataEnhFileHandle ; } :: std :: mem :: transmute ( CreateEnhMetaFileW ( hdc . into_param ( ) . abi ( ) , lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) , lpdesc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFontA < 'a , Param13 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( cheight : i32 , cwidth : i32 , cescapement : i32 , corientation : i32 , cweight : i32 , bitalic : u32 , bunderline : u32 , bstrikeout : u32 , icharset : u32 , ioutprecision : FONT_OUTPUT_PRECISION , iclipprecision : FONT_CLIP_PRECISION , iquality : FONT_QUALITY , ipitchandfamily : FONT_PITCH_AND_FAMILY , pszfacename : Param13 , ) -> HFONT { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateFontA ( cheight : i32 , cwidth : i32 , cescapement : i32 , corientation : i32 , cweight : i32 , bitalic : u32 , bunderline : u32 , bstrikeout : u32 , icharset : u32 , ioutprecision : FONT_OUTPUT_PRECISION , iclipprecision : FONT_CLIP_PRECISION , iquality : FONT_QUALITY , ipitchandfamily : FONT_PITCH_AND_FAMILY , pszfacename : super::super::Foundation:: PSTR ) -> HFONT ; } :: std :: mem :: transmute ( CreateFontA ( :: std :: mem :: transmute ( cheight ) , :: std :: mem :: transmute ( cwidth ) , :: std :: mem :: transmute ( cescapement ) , :: std :: mem :: transmute ( corientation ) , :: std :: mem :: transmute ( cweight ) , :: std :: mem :: transmute ( bitalic ) , :: std :: mem :: transmute ( bunderline ) , :: std :: mem :: transmute ( bstrikeout ) , :: std :: mem :: transmute ( icharset ) , :: std :: mem :: transmute ( ioutprecision ) , :: std :: mem :: transmute ( iclipprecision ) , :: std :: mem :: transmute ( iquality ) , :: std :: mem :: transmute ( ipitchandfamily ) , pszfacename . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFontIndirectA < > ( lplf : * const LOGFONTA , ) -> HFONT { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateFontIndirectA ( lplf : * const LOGFONTA ) -> HFONT ; } :: std :: mem :: transmute ( CreateFontIndirectA ( :: std :: mem :: transmute ( lplf ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFontIndirectExA < > ( param0 : * const ENUMLOGFONTEXDVA , ) -> HFONT { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateFontIndirectExA ( param0 : * const ENUMLOGFONTEXDVA ) -> HFONT ; } :: std :: mem :: transmute ( CreateFontIndirectExA ( :: std :: mem :: transmute ( param0 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFontIndirectExW < > ( param0 : * const ENUMLOGFONTEXDVW , ) -> HFONT { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateFontIndirectExW ( param0 : * const ENUMLOGFONTEXDVW ) -> HFONT ; } :: std :: mem :: transmute ( CreateFontIndirectExW ( :: std :: mem :: transmute ( param0 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFontIndirectW < > ( lplf : * const LOGFONTW , ) -> HFONT { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateFontIndirectW ( lplf : * const LOGFONTW ) -> HFONT ; } :: std :: mem :: transmute ( CreateFontIndirectW ( :: std :: mem :: transmute ( lplf ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFontPackage < > ( puchsrcbuffer : * const u8 , ulsrcbuffersize : u32 , ppuchfontpackagebuffer : * mut * mut u8 , pulfontpackagebuffersize : * mut u32 , pulbyteswritten : * mut u32 , usflag : u16 , usttcindex : u16 , ussubsetformat : u16 , ussubsetlanguage : u16 , ussubsetplatform : CREATE_FONT_PACKAGE_SUBSET_PLATFORM , ussubsetencoding : CREATE_FONT_PACKAGE_SUBSET_ENCODING , pussubsetkeeplist : * const u16 , ussubsetlistcount : u16 , lpfnallocate : :: std :: option :: Option < CFP_ALLOCPROC > , lpfnreallocate : :: std :: option :: Option < CFP_REALLOCPROC > , lpfnfree : :: std :: option :: Option < CFP_FREEPROC > , lpvreserved : * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="fontsub" ) ] extern "system" { fn CreateFontPackage ( puchsrcbuffer : * const u8 , ulsrcbuffersize : u32 , ppuchfontpackagebuffer : * mut * mut u8 , pulfontpackagebuffersize : * mut u32 , pulbyteswritten : * mut u32 , usflag : u16 , usttcindex : u16 , ussubsetformat : u16 , ussubsetlanguage : u16 , ussubsetplatform : CREATE_FONT_PACKAGE_SUBSET_PLATFORM , ussubsetencoding : CREATE_FONT_PACKAGE_SUBSET_ENCODING , pussubsetkeeplist : * const u16 , ussubsetlistcount : u16 , lpfnallocate : :: windows :: RawPtr , lpfnreallocate : :: windows :: RawPtr , lpfnfree : :: windows :: RawPtr , lpvreserved : * mut :: std :: ffi :: c_void ) -> u32 ; } :: std :: mem :: transmute ( CreateFontPackage ( :: std :: mem :: transmute ( puchsrcbuffer ) , :: std :: mem :: transmute ( ulsrcbuffersize ) , :: std :: mem :: transmute ( ppuchfontpackagebuffer ) , :: std :: mem :: transmute ( pulfontpackagebuffersize ) , :: std :: mem :: transmute ( pulbyteswritten ) , :: std :: mem :: transmute ( usflag ) , :: std :: mem :: transmute ( usttcindex ) , :: std :: mem :: transmute ( ussubsetformat ) , :: std :: mem :: transmute ( ussubsetlanguage ) , :: std :: mem :: transmute ( ussubsetplatform ) , :: std :: mem :: transmute ( ussubsetencoding ) , :: std :: mem :: transmute ( pussubsetkeeplist ) , :: std :: mem :: transmute ( ussubsetlistcount ) , :: std :: mem :: transmute ( lpfnallocate ) , :: std :: mem :: transmute ( lpfnreallocate ) , :: std :: mem :: transmute ( lpfnfree ) , :: std :: mem :: transmute ( lpvreserved ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFontW < 'a , Param13 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( cheight : i32 , cwidth : i32 , cescapement : i32 , corientation : i32 , cweight : i32 , bitalic : u32 , bunderline : u32 , bstrikeout : u32 , icharset : u32 , ioutprecision : FONT_OUTPUT_PRECISION , iclipprecision : FONT_CLIP_PRECISION , iquality : FONT_QUALITY , ipitchandfamily : FONT_PITCH_AND_FAMILY , pszfacename : Param13 , ) -> HFONT { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateFontW ( cheight : i32 , cwidth : i32 , cescapement : i32 , corientation : i32 , cweight : i32 , bitalic : u32 , bunderline : u32 , bstrikeout : u32 , icharset : u32 , ioutprecision : FONT_OUTPUT_PRECISION , iclipprecision : FONT_CLIP_PRECISION , iquality : FONT_QUALITY , ipitchandfamily : FONT_PITCH_AND_FAMILY , pszfacename : super::super::Foundation:: PWSTR ) -> HFONT ; } :: std :: mem :: transmute ( CreateFontW ( :: std :: mem :: transmute ( cheight ) , :: std :: mem :: transmute ( cwidth ) , :: std :: mem :: transmute ( cescapement ) , :: std :: mem :: transmute ( corientation ) , :: std :: mem :: transmute ( cweight ) , :: std :: mem :: transmute ( bitalic ) , :: std :: mem :: transmute ( bunderline ) , :: std :: mem :: transmute ( bstrikeout ) , :: std :: mem :: transmute ( icharset ) , :: std :: mem :: transmute ( ioutprecision ) , :: std :: mem :: transmute ( iclipprecision ) , :: std :: mem :: transmute ( iquality ) , :: std :: mem :: transmute ( ipitchandfamily ) , pszfacename . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateHalftonePalette < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> HPALETTE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateHalftonePalette ( hdc : HDC ) -> HPALETTE ; } :: std :: mem :: transmute ( CreateHalftonePalette ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateHatchBrush < > ( ihatch : HATCH_BRUSH_STYLE , color : u32 , ) -> HBRUSH { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateHatchBrush ( ihatch : HATCH_BRUSH_STYLE , color : u32 ) -> HBRUSH ; } :: std :: mem :: transmute ( CreateHatchBrush ( :: std :: mem :: transmute ( ihatch ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateICA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( pszdriver : Param0 , pszdevice : Param1 , pszport : Param2 , pdm : * const super::super::UI::DisplayDevices:: DEVMODEA , ) -> CreatedHDC { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateICA ( pszdriver : super::super::Foundation:: PSTR , pszdevice : super::super::Foundation:: PSTR , pszport : super::super::Foundation:: PSTR , pdm : * const super::super::UI::DisplayDevices:: DEVMODEA ) -> CreatedHDC ; } :: std :: mem :: transmute ( CreateICA ( pszdriver . into_param ( ) . abi ( ) , pszdevice . into_param ( ) . abi ( ) , pszport . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateICW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( pszdriver : Param0 , pszdevice : Param1 , pszport : Param2 , pdm : * const super::super::UI::DisplayDevices:: DEVMODEW , ) -> CreatedHDC { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateICW ( pszdriver : super::super::Foundation:: PWSTR , pszdevice : super::super::Foundation:: PWSTR , pszport : super::super::Foundation:: PWSTR , pdm : * const super::super::UI::DisplayDevices:: DEVMODEW ) -> CreatedHDC ; } :: std :: mem :: transmute ( CreateICW ( pszdriver . into_param ( ) . abi ( ) , pszdevice . into_param ( ) . abi ( ) , pszport . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateMetaFileA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( pszfile : Param0 , ) -> HdcMetdataFileHandle { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateMetaFileA ( pszfile : super::super::Foundation:: PSTR ) -> HdcMetdataFileHandle ; } :: std :: mem :: transmute ( CreateMetaFileA ( pszfile . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateMetaFileW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( pszfile : Param0 , ) -> HdcMetdataFileHandle { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateMetaFileW ( pszfile : super::super::Foundation:: PWSTR ) -> HdcMetdataFileHandle ; } :: std :: mem :: transmute ( CreateMetaFileW ( pszfile . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePalette < > ( plpal : * const LOGPALETTE , ) -> HPALETTE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreatePalette ( plpal : * const LOGPALETTE ) -> HPALETTE ; } :: std :: mem :: transmute ( CreatePalette ( :: std :: mem :: transmute ( plpal ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePatternBrush < 'a , Param0 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hbm : Param0 , ) -> HBRUSH { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreatePatternBrush ( hbm : HBITMAP ) -> HBRUSH ; } :: std :: mem :: transmute ( CreatePatternBrush ( hbm . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePen < > ( istyle : PEN_STYLE , cwidth : i32 , color : u32 , ) -> HPEN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreatePen ( istyle : PEN_STYLE , cwidth : i32 , color : u32 ) -> HPEN ; } :: std :: mem :: transmute ( CreatePen ( :: std :: mem :: transmute ( istyle ) , :: std :: mem :: transmute ( cwidth ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePenIndirect < > ( plpen : * const LOGPEN , ) -> HPEN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreatePenIndirect ( plpen : * const LOGPEN ) -> HPEN ; } :: std :: mem :: transmute ( CreatePenIndirect ( :: std :: mem :: transmute ( plpen ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePolyPolygonRgn < > ( pptl : * const super::super::Foundation:: POINT , pc : * const i32 , cpoly : i32 , imode : CREATE_POLYGON_RGN_MODE , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreatePolyPolygonRgn ( pptl : * const super::super::Foundation:: POINT , pc : * const i32 , cpoly : i32 , imode : CREATE_POLYGON_RGN_MODE ) -> HRGN ; } :: std :: mem :: transmute ( CreatePolyPolygonRgn ( :: std :: mem :: transmute ( pptl ) , :: std :: mem :: transmute ( pc ) , :: std :: mem :: transmute ( cpoly ) , :: std :: mem :: transmute ( imode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePolygonRgn < > ( pptl : * const super::super::Foundation:: POINT , cpoint : i32 , imode : CREATE_POLYGON_RGN_MODE , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreatePolygonRgn ( pptl : * const super::super::Foundation:: POINT , cpoint : i32 , imode : CREATE_POLYGON_RGN_MODE ) -> HRGN ; } :: std :: mem :: transmute ( CreatePolygonRgn ( :: std :: mem :: transmute ( pptl ) , :: std :: mem :: transmute ( cpoint ) , :: std :: mem :: transmute ( imode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateRectRgn < > ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateRectRgn ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 ) -> HRGN ; } :: std :: mem :: transmute ( CreateRectRgn ( :: std :: mem :: transmute ( x1 ) , :: std :: mem :: transmute ( y1 ) , :: std :: mem :: transmute ( x2 ) , :: std :: mem :: transmute ( y2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateRectRgnIndirect < > ( lprect : * const super::super::Foundation:: RECT , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateRectRgnIndirect ( lprect : * const super::super::Foundation:: RECT ) -> HRGN ; } :: std :: mem :: transmute ( CreateRectRgnIndirect ( :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateRoundRectRgn < > ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , w : i32 , h : i32 , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateRoundRectRgn ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , w : i32 , h : i32 ) -> HRGN ; } :: std :: mem :: transmute ( CreateRoundRectRgn ( :: std :: mem :: transmute ( x1 ) , :: std :: mem :: transmute ( y1 ) , :: std :: mem :: transmute ( x2 ) , :: std :: mem :: transmute ( y2 ) , :: std :: mem :: transmute ( w ) , :: std :: mem :: transmute ( h ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateScalableFontResourceA < 'a , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( fdwhidden : u32 , lpszfont : Param1 , lpszfile : Param2 , lpszpath : Param3 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateScalableFontResourceA ( fdwhidden : u32 , lpszfont : super::super::Foundation:: PSTR , lpszfile : super::super::Foundation:: PSTR , lpszpath : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( CreateScalableFontResourceA ( :: std :: mem :: transmute ( fdwhidden ) , lpszfont . into_param ( ) . abi ( ) , lpszfile . into_param ( ) . abi ( ) , lpszpath . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateScalableFontResourceW < 'a , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( fdwhidden : u32 , lpszfont : Param1 , lpszfile : Param2 , lpszpath : Param3 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateScalableFontResourceW ( fdwhidden : u32 , lpszfont : super::super::Foundation:: PWSTR , lpszfile : super::super::Foundation:: PWSTR , lpszpath : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( CreateScalableFontResourceW ( :: std :: mem :: transmute ( fdwhidden ) , lpszfont . into_param ( ) . abi ( ) , lpszfile . into_param ( ) . abi ( ) , lpszpath . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateSolidBrush < > ( color : u32 , ) -> HBRUSH { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateSolidBrush ( color : u32 ) -> HBRUSH ; } :: std :: mem :: transmute ( CreateSolidBrush ( :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct CreatedHDC ( pub isize ) ; impl :: std :: default :: Default for CreatedHDC { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for CreatedHDC { } unsafe impl :: windows :: Abi for CreatedHDC { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HDC > for CreatedHDC { fn into_param ( self ) -> :: windows :: Param < 'a , HDC > { :: windows :: Param :: Owned ( HDC ( self . 0 ) ) } } pub const DCBA_FACEDOWNCENTER : u32 = 257u32 ; pub const DCBA_FACEDOWNLEFT : u32 = 258u32 ; pub const DCBA_FACEDOWNNONE : u32 = 256u32 ; pub const DCBA_FACEDOWNRIGHT : u32 = 259u32 ; pub const DCBA_FACEUPCENTER : u32 = 1u32 ; pub const DCBA_FACEUPLEFT : u32 = 2u32 ; pub const DCBA_FACEUPNONE : u32 = 0u32 ; pub const DCBA_FACEUPRIGHT : u32 = 3u32 ; pub const DCTT_BITMAP : i32 = 1i32 ; pub const DCTT_DOWNLOAD : i32 = 2i32 ; pub const DCTT_DOWNLOAD_OUTLINE : i32 = 8i32 ; pub const DCTT_SUBDEV : i32 = 4i32 ; pub const DC_BINADJUST : u32 = 19u32 ; pub const DC_DATATYPE_PRODUCED : u32 = 21u32 ; pub const DC_EMF_COMPLIANT : u32 = 20u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DC_LAYOUT ( pub u32 ) ; pub const LAYOUT_BITMAPORIENTATIONPRESERVED : DC_LAYOUT = DC_LAYOUT ( 8u32 ) ; pub const LAYOUT_RTL : DC_LAYOUT = DC_LAYOUT ( 1u32 ) ; impl :: std :: convert :: From < u32 > for DC_LAYOUT { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DC_LAYOUT { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DC_LAYOUT { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DC_LAYOUT { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DC_LAYOUT { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DC_LAYOUT { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DC_LAYOUT { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const DC_MANUFACTURER : u32 = 23u32 ; pub const DC_MODEL : u32 = 24u32 ; pub const DEFAULT_CHARSET : u32 = 1u32 ; pub const DEFAULT_PITCH : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DESIGNVECTOR { pub dvReserved : u32 , pub dvNumAxes : u32 , pub dvValues : [ i32 ;16 ] } impl DESIGNVECTOR { } impl :: std :: default :: Default for DESIGNVECTOR { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DESIGNVECTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DESIGNVECTOR" ) . field ( "dvReserved" , & self . dvReserved ) . field ( "dvNumAxes" , & self . dvNumAxes ) . field ( "dvValues" , & self . dvValues ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DESIGNVECTOR { fn eq ( & self , other : & Self ) -> bool { self . dvReserved == other . dvReserved && self . dvNumAxes == other . dvNumAxes && self . dvValues == other . dvValues } } impl :: std :: cmp :: Eq for DESIGNVECTOR { } unsafe impl :: windows :: Abi for DESIGNVECTOR { type Abi = Self ; type DefaultType = Self ; } pub const DESKTOPHORZRES : u32 = 118u32 ; pub const DESKTOPVERTRES : u32 = 117u32 ; pub const DEVICEDATA : u32 = 19u32 ; pub const DEVICE_FONTTYPE : u32 = 2u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DFCS_STATE ( pub u32 ) ; pub const DFCS_CAPTIONCLOSE : DFCS_STATE = DFCS_STATE ( 0u32 ) ; pub const DFCS_CAPTIONMIN : DFCS_STATE = DFCS_STATE ( 1u32 ) ; pub const DFCS_CAPTIONMAX : DFCS_STATE = DFCS_STATE ( 2u32 ) ; pub const DFCS_CAPTIONRESTORE : DFCS_STATE = DFCS_STATE ( 3u32 ) ; pub const DFCS_CAPTIONHELP : DFCS_STATE = DFCS_STATE ( 4u32 ) ; pub const DFCS_MENUARROW : DFCS_STATE = DFCS_STATE ( 0u32 ) ; pub const DFCS_MENUCHECK : DFCS_STATE = DFCS_STATE ( 1u32 ) ; pub const DFCS_MENUBULLET : DFCS_STATE = DFCS_STATE ( 2u32 ) ; pub const DFCS_MENUARROWRIGHT : DFCS_STATE = DFCS_STATE ( 4u32 ) ; pub const DFCS_SCROLLUP : DFCS_STATE = DFCS_STATE ( 0u32 ) ; pub const DFCS_SCROLLDOWN : DFCS_STATE = DFCS_STATE ( 1u32 ) ; pub const DFCS_SCROLLLEFT : DFCS_STATE = DFCS_STATE ( 2u32 ) ; pub const DFCS_SCROLLRIGHT : DFCS_STATE = DFCS_STATE ( 3u32 ) ; pub const DFCS_SCROLLCOMBOBOX : DFCS_STATE = DFCS_STATE ( 5u32 ) ; pub const DFCS_SCROLLSIZEGRIP : DFCS_STATE = DFCS_STATE ( 8u32 ) ; pub const DFCS_SCROLLSIZEGRIPRIGHT : DFCS_STATE = DFCS_STATE ( 16u32 ) ; pub const DFCS_BUTTONCHECK : DFCS_STATE = DFCS_STATE ( 0u32 ) ; pub const DFCS_BUTTONRADIOIMAGE : DFCS_STATE = DFCS_STATE ( 1u32 ) ; pub const DFCS_BUTTONRADIOMASK : DFCS_STATE = DFCS_STATE ( 2u32 ) ; pub const DFCS_BUTTONRADIO : DFCS_STATE = DFCS_STATE ( 4u32 ) ; pub const DFCS_BUTTON3STATE : DFCS_STATE = DFCS_STATE ( 8u32 ) ; pub const DFCS_BUTTONPUSH : DFCS_STATE = DFCS_STATE ( 16u32 ) ; pub const DFCS_INACTIVE : DFCS_STATE = DFCS_STATE ( 256u32 ) ; pub const DFCS_PUSHED : DFCS_STATE = DFCS_STATE ( 512u32 ) ; pub const DFCS_CHECKED : DFCS_STATE = DFCS_STATE ( 1024u32 ) ; pub const DFCS_TRANSPARENT : DFCS_STATE = DFCS_STATE ( 2048u32 ) ; pub const DFCS_HOT : DFCS_STATE = DFCS_STATE ( 4096u32 ) ; pub const DFCS_ADJUSTRECT : DFCS_STATE = DFCS_STATE ( 8192u32 ) ; pub const DFCS_FLAT : DFCS_STATE = DFCS_STATE ( 16384u32 ) ; pub const DFCS_MONO : DFCS_STATE = DFCS_STATE ( 32768u32 ) ; impl :: std :: convert :: From < u32 > for DFCS_STATE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DFCS_STATE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DFCS_STATE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DFCS_STATE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DFCS_STATE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DFCS_STATE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DFCS_STATE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DFC_TYPE ( pub u32 ) ; pub const DFC_CAPTION : DFC_TYPE = DFC_TYPE ( 1u32 ) ; pub const DFC_MENU : DFC_TYPE = DFC_TYPE ( 2u32 ) ; pub const DFC_SCROLL : DFC_TYPE = DFC_TYPE ( 3u32 ) ; pub const DFC_BUTTON : DFC_TYPE = DFC_TYPE ( 4u32 ) ; pub const DFC_POPUPMENU : DFC_TYPE = DFC_TYPE ( 5u32 ) ; impl :: std :: convert :: From < u32 > for DFC_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DFC_TYPE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DFC_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DFC_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DFC_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DFC_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DFC_TYPE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DIBSECTION { pub dsBm : BITMAP , pub dsBmih : BITMAPINFOHEADER , pub dsBitfields : [ u32 ;3 ] , pub dshSection : super::super::Foundation:: HANDLE , pub dsOffset : u32 } impl DIBSECTION { } impl :: std :: default :: Default for DIBSECTION { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DIBSECTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DIBSECTION" ) . field ( "dsBm" , & self . dsBm ) . field ( "dsBmih" , & self . dsBmih ) . field ( "dsBitfields" , & self . dsBitfields ) . field ( "dshSection" , & self . dshSection ) . field ( "dsOffset" , & self . dsOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DIBSECTION { fn eq ( & self , other : & Self ) -> bool { self . dsBm == other . dsBm && self . dsBmih == other . dsBmih && self . dsBitfields == other . dsBitfields && self . dshSection == other . dshSection && self . dsOffset == other . dsOffset } } impl :: std :: cmp :: Eq for DIBSECTION { } unsafe impl :: windows :: Abi for DIBSECTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DIB_USAGE ( pub u32 ) ; pub const DIB_RGB_COLORS : DIB_USAGE = DIB_USAGE ( 0u32 ) ; pub const DIB_PAL_COLORS : DIB_USAGE = DIB_USAGE ( 1u32 ) ; impl :: std :: convert :: From < u32 > for DIB_USAGE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DIB_USAGE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DIB_USAGE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DIB_USAGE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DIB_USAGE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DIB_USAGE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DIB_USAGE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DISPLAYCONFIG_COLOR_ENCODING ( pub i32 ) ; pub const DISPLAYCONFIG_COLOR_ENCODING_RGB : DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING ( 0i32 ) ; pub const DISPLAYCONFIG_COLOR_ENCODING_YCBCR444 : DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING ( 1i32 ) ; pub const DISPLAYCONFIG_COLOR_ENCODING_YCBCR422 : DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING ( 2i32 ) ; pub const DISPLAYCONFIG_COLOR_ENCODING_YCBCR420 : DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING ( 3i32 ) ; pub const DISPLAYCONFIG_COLOR_ENCODING_INTENSITY : DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING ( 4i32 ) ; pub const DISPLAYCONFIG_COLOR_ENCODING_FORCE_UINT32 : DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING ( -1i32 ) ; impl :: std :: convert :: From < i32 > for DISPLAYCONFIG_COLOR_ENCODING { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DISPLAYCONFIG_COLOR_ENCODING { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO { pub header : super::super::UI::DisplayDevices:: DISPLAYCONFIG_DEVICE_INFO_HEADER , pub Anonymous : DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 , pub colorEncoding : DISPLAYCONFIG_COLOR_ENCODING , pub bitsPerColorChannel : u32 } impl DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO { } impl :: std :: default :: Default for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 { pub Anonymous : DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 , pub value : u32 } impl DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 { } impl :: std :: default :: Default for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { pub _bitfield : u32 } impl DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { } impl :: std :: default :: Default for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const DISPLAYCONFIG_MAXPATH : u32 = 1024u32 ; pub const DISPLAYCONFIG_PATH_ACTIVE : u32 = 1u32 ; pub const DISPLAYCONFIG_PATH_CLONE_GROUP_INVALID : u32 = 65535u32 ; pub const DISPLAYCONFIG_PATH_DESKTOP_IMAGE_IDX_INVALID : u32 = 65535u32 ; pub const DISPLAYCONFIG_PATH_MODE_IDX_INVALID : u32 = 4294967295u32 ; pub const DISPLAYCONFIG_PATH_PREFERRED_UNSCALED : u32 = 4u32 ; pub const DISPLAYCONFIG_PATH_SOURCE_MODE_IDX_INVALID : u32 = 65535u32 ; pub const DISPLAYCONFIG_PATH_SUPPORT_VIRTUAL_MODE : u32 = 8u32 ; pub const DISPLAYCONFIG_PATH_TARGET_MODE_IDX_INVALID : u32 = 65535u32 ; pub const DISPLAYCONFIG_PATH_VALID_FLAGS : u32 = 13u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAYCONFIG_SDR_WHITE_LEVEL { pub header : super::super::UI::DisplayDevices:: DISPLAYCONFIG_DEVICE_INFO_HEADER , pub SDRWhiteLevel : u32 } impl DISPLAYCONFIG_SDR_WHITE_LEVEL { } impl :: std :: default :: Default for DISPLAYCONFIG_SDR_WHITE_LEVEL { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DISPLAYCONFIG_SDR_WHITE_LEVEL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISPLAYCONFIG_SDR_WHITE_LEVEL" ) . field ( "header" , & self . header ) . field ( "SDRWhiteLevel" , & self . SDRWhiteLevel ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_SDR_WHITE_LEVEL { fn eq ( & self , other : & Self ) -> bool { self . header == other . header && self . SDRWhiteLevel == other . SDRWhiteLevel } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_SDR_WHITE_LEVEL { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_SDR_WHITE_LEVEL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE { pub header : super::super::UI::DisplayDevices:: DISPLAYCONFIG_DEVICE_INFO_HEADER , pub Anonymous : DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 } impl DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE { } impl :: std :: default :: Default for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 { pub Anonymous : DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 , pub value : u32 } impl DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 { } impl :: std :: default :: Default for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { pub _bitfield : u32 } impl DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { } impl :: std :: default :: Default for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const DISPLAYCONFIG_SOURCE_IN_USE : u32 = 1u32 ; pub const DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_BOOT : u32 = 4u32 ; pub const DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_PATH : u32 = 8u32 ; pub const DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_SYSTEM : u32 = 16u32 ; pub const DISPLAYCONFIG_TARGET_FORCIBLE : u32 = 2u32 ; pub const DISPLAYCONFIG_TARGET_IN_USE : u32 = 1u32 ; pub const DISPLAYCONFIG_TARGET_IS_HMD : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAY_DEVICEA { pub cb : u32 , pub DeviceName : [ super::super::System::SystemServices:: CHAR ;32 ] , pub DeviceString : [ super::super::System::SystemServices:: CHAR ;128 ] , pub StateFlags : u32 , pub DeviceID : [ super::super::System::SystemServices:: CHAR ;128 ] , pub DeviceKey : [ super::super::System::SystemServices:: CHAR ;128 ] } impl DISPLAY_DEVICEA { } impl :: std :: default :: Default for DISPLAY_DEVICEA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DISPLAY_DEVICEA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISPLAY_DEVICEA" ) . field ( "cb" , & self . cb ) . field ( "DeviceName" , & self . DeviceName ) . field ( "DeviceString" , & self . DeviceString ) . field ( "StateFlags" , & self . StateFlags ) . field ( "DeviceID" , & self . DeviceID ) . field ( "DeviceKey" , & self . DeviceKey ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISPLAY_DEVICEA { fn eq ( & self , other : & Self ) -> bool { self . cb == other . cb && self . DeviceName == other . DeviceName && self . DeviceString == other . DeviceString && self . StateFlags == other . StateFlags && self . DeviceID == other . DeviceID && self . DeviceKey == other . DeviceKey } } impl :: std :: cmp :: Eq for DISPLAY_DEVICEA { } unsafe impl :: windows :: Abi for DISPLAY_DEVICEA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAY_DEVICEW { pub cb : u32 , pub DeviceName : [ u16 ;32 ] , pub DeviceString : [ u16 ;128 ] , pub StateFlags : u32 , pub DeviceID : [ u16 ;128 ] , pub DeviceKey : [ u16 ;128 ] } impl DISPLAY_DEVICEW { } impl :: std :: default :: Default for DISPLAY_DEVICEW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DISPLAY_DEVICEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISPLAY_DEVICEW" ) . field ( "cb" , & self . cb ) . field ( "DeviceName" , & self . DeviceName ) . field ( "DeviceString" , & self . DeviceString ) . field ( "StateFlags" , & self . StateFlags ) . field ( "DeviceID" , & self . DeviceID ) . field ( "DeviceKey" , & self . DeviceKey ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISPLAY_DEVICEW { fn eq ( & self , other : & Self ) -> bool { self . cb == other . cb && self . DeviceName == other . DeviceName && self . DeviceString == other . DeviceString && self . StateFlags == other . StateFlags && self . DeviceID == other . DeviceID && self . DeviceKey == other . DeviceKey } } impl :: std :: cmp :: Eq for DISPLAY_DEVICEW { } unsafe impl :: windows :: Abi for DISPLAY_DEVICEW { type Abi = Self ; type DefaultType = Self ; } pub const DISPLAY_DEVICE_ACC_DRIVER : u32 = 64u32 ; pub const DISPLAY_DEVICE_ACTIVE : u32 = 1u32 ; pub const DISPLAY_DEVICE_ATTACHED : u32 = 2u32 ; pub const DISPLAY_DEVICE_ATTACHED_TO_DESKTOP : u32 = 1u32 ; pub const DISPLAY_DEVICE_DISCONNECT : u32 = 33554432u32 ; pub const DISPLAY_DEVICE_MIRRORING_DRIVER : u32 = 8u32 ; pub const DISPLAY_DEVICE_MODESPRUNED : u32 = 134217728u32 ; pub const DISPLAY_DEVICE_MULTI_DRIVER : u32 = 2u32 ; pub const DISPLAY_DEVICE_PRIMARY_DEVICE : u32 = 4u32 ; pub const DISPLAY_DEVICE_RDPUDD : u32 = 16777216u32 ; pub const DISPLAY_DEVICE_REMOTE : u32 = 67108864u32 ; pub const DISPLAY_DEVICE_REMOVABLE : u32 = 32u32 ; pub const DISPLAY_DEVICE_TS_COMPATIBLE : u32 = 2097152u32 ; pub const DISPLAY_DEVICE_UNSAFE_MODES_ON : u32 = 524288u32 ; pub const DISPLAY_DEVICE_VGA_COMPATIBLE : u32 = 16u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DISP_CHANGE ( pub i32 ) ; pub const DISP_CHANGE_SUCCESSFUL : DISP_CHANGE = DISP_CHANGE ( 0i32 ) ; pub const DISP_CHANGE_RESTART : DISP_CHANGE = DISP_CHANGE ( 1i32 ) ; pub const DISP_CHANGE_FAILED : DISP_CHANGE = DISP_CHANGE ( -1i32 ) ; pub const DISP_CHANGE_BADMODE : DISP_CHANGE = DISP_CHANGE ( -2i32 ) ; pub const DISP_CHANGE_NOTUPDATED : DISP_CHANGE = DISP_CHANGE ( -3i32 ) ; pub const DISP_CHANGE_BADFLAGS : DISP_CHANGE = DISP_CHANGE ( -4i32 ) ; pub const DISP_CHANGE_BADPARAM : DISP_CHANGE = DISP_CHANGE ( -5i32 ) ; pub const DISP_CHANGE_BADDUALVIEW : DISP_CHANGE = DISP_CHANGE ( -6i32 ) ; impl :: std :: convert :: From < i32 > for DISP_CHANGE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DISP_CHANGE { type Abi = Self ; type DefaultType = Self ; } pub const DI_APPBANDING : u32 = 1u32 ; pub const DI_ROPS_READ_DESTINATION : u32 = 2u32 ; pub const DMBIN_AUTO : u32 = 7u32 ; pub const DMBIN_CASSETTE : u32 = 14u32 ; pub const DMBIN_ENVELOPE : u32 = 5u32 ; pub const DMBIN_ENVMANUAL : u32 = 6u32 ; pub const DMBIN_FORMSOURCE : u32 = 15u32 ; pub const DMBIN_LARGECAPACITY : u32 = 11u32 ; pub const DMBIN_LARGEFMT : u32 = 10u32 ; pub const DMBIN_LOWER : u32 = 2u32 ; pub const DMBIN_MANUAL : u32 = 4u32 ; pub const DMBIN_MIDDLE : u32 = 3u32 ; pub const DMBIN_ONLYONE : u32 = 1u32 ; pub const DMBIN_SMALLFMT : u32 = 9u32 ; pub const DMBIN_TRACTOR : u32 = 8u32 ; pub const DMBIN_UPPER : u32 = 1u32 ; pub const DMBIN_USER : u32 = 256u32 ; pub const DMCOLLATE_FALSE : u32 = 0u32 ; pub const DMCOLLATE_TRUE : u32 = 1u32 ; pub const DMCOLOR_COLOR : u32 = 2u32 ; pub const DMCOLOR_MONOCHROME : u32 = 1u32 ; pub const DMDFO_CENTER : u32 = 2u32 ; pub const DMDFO_DEFAULT : u32 = 0u32 ; pub const DMDFO_STRETCH : u32 = 1u32 ; pub const DMDISPLAYFLAGS_TEXTMODE : u32 = 4u32 ; pub const DMDITHER_COARSE : u32 = 2u32 ; pub const DMDITHER_ERRORDIFFUSION : u32 = 5u32 ; pub const DMDITHER_FINE : u32 = 3u32 ; pub const DMDITHER_GRAYSCALE : u32 = 10u32 ; pub const DMDITHER_LINEART : u32 = 4u32 ; pub const DMDITHER_NONE : u32 = 1u32 ; pub const DMDITHER_RESERVED6 : u32 = 6u32 ; pub const DMDITHER_RESERVED7 : u32 = 7u32 ; pub const DMDITHER_RESERVED8 : u32 = 8u32 ; pub const DMDITHER_RESERVED9 : u32 = 9u32 ; pub const DMDITHER_USER : u32 = 256u32 ; pub const DMDO_180 : u32 = 2u32 ; pub const DMDO_270 : u32 = 3u32 ; pub const DMDO_90 : u32 = 1u32 ; pub const DMDO_DEFAULT : u32 = 0u32 ; pub const DMDUP_HORIZONTAL : u32 = 3u32 ; pub const DMDUP_SIMPLEX : u32 = 1u32 ; pub const DMDUP_VERTICAL : u32 = 2u32 ; pub const DMICMMETHOD_DEVICE : u32 = 4u32 ; pub const DMICMMETHOD_DRIVER : u32 = 3u32 ; pub const DMICMMETHOD_NONE : u32 = 1u32 ; pub const DMICMMETHOD_SYSTEM : u32 = 2u32 ; pub const DMICMMETHOD_USER : u32 = 256u32 ; pub const DMICM_ABS_COLORIMETRIC : u32 = 4u32 ; pub const DMICM_COLORIMETRIC : u32 = 3u32 ; pub const DMICM_CONTRAST : u32 = 2u32 ; pub const DMICM_SATURATE : u32 = 1u32 ; pub const DMICM_USER : u32 = 256u32 ; pub const DMMEDIA_GLOSSY : u32 = 3u32 ; pub const DMMEDIA_STANDARD : u32 = 1u32 ; pub const DMMEDIA_TRANSPARENCY : u32 = 2u32 ; pub const DMMEDIA_USER : u32 = 256u32 ; pub const DMNUP_ONEUP : u32 = 2u32 ; pub const DMNUP_SYSTEM : u32 = 1u32 ; pub const DMORIENT_LANDSCAPE : u32 = 2u32 ; pub const DMORIENT_PORTRAIT : u32 = 1u32 ; pub const DMPAPER_10X11 : u32 = 45u32 ; pub const DMPAPER_10X14 : u32 = 16u32 ; pub const DMPAPER_11X17 : u32 = 17u32 ; pub const DMPAPER_12X11 : u32 = 90u32 ; pub const DMPAPER_15X11 : u32 = 46u32 ; pub const DMPAPER_9X11 : u32 = 44u32 ; pub const DMPAPER_A2 : u32 = 66u32 ; pub const DMPAPER_A3 : u32 = 8u32 ; pub const DMPAPER_A3_EXTRA : u32 = 63u32 ; pub const DMPAPER_A3_EXTRA_TRANSVERSE : u32 = 68u32 ; pub const DMPAPER_A3_ROTATED : u32 = 76u32 ; pub const DMPAPER_A3_TRANSVERSE : u32 = 67u32 ; pub const DMPAPER_A4 : u32 = 9u32 ; pub const DMPAPER_A4SMALL : u32 = 10u32 ; pub const DMPAPER_A4_EXTRA : u32 = 53u32 ; pub const DMPAPER_A4_PLUS : u32 = 60u32 ; pub const DMPAPER_A4_ROTATED : u32 = 77u32 ; pub const DMPAPER_A4_TRANSVERSE : u32 = 55u32 ; pub const DMPAPER_A5 : u32 = 11u32 ; pub const DMPAPER_A5_EXTRA : u32 = 64u32 ; pub const DMPAPER_A5_ROTATED : u32 = 78u32 ; pub const DMPAPER_A5_TRANSVERSE : u32 = 61u32 ; pub const DMPAPER_A6 : u32 = 70u32 ; pub const DMPAPER_A6_ROTATED : u32 = 83u32 ; pub const DMPAPER_A_PLUS : u32 = 57u32 ; pub const DMPAPER_B4 : u32 = 12u32 ; pub const DMPAPER_B4_JIS_ROTATED : u32 = 79u32 ; pub const DMPAPER_B5 : u32 = 13u32 ; pub const DMPAPER_B5_EXTRA : u32 = 65u32 ; pub const DMPAPER_B5_JIS_ROTATED : u32 = 80u32 ; pub const DMPAPER_B5_TRANSVERSE : u32 = 62u32 ; pub const DMPAPER_B6_JIS : u32 = 88u32 ; pub const DMPAPER_B6_JIS_ROTATED : u32 = 89u32 ; pub const DMPAPER_B_PLUS : u32 = 58u32 ; pub const DMPAPER_CSHEET : u32 = 24u32 ; pub const DMPAPER_DBL_JAPANESE_POSTCARD : u32 = 69u32 ; pub const DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED : u32 = 82u32 ; pub const DMPAPER_DSHEET : u32 = 25u32 ; pub const DMPAPER_ENV_10 : u32 = 20u32 ; pub const DMPAPER_ENV_11 : u32 = 21u32 ; pub const DMPAPER_ENV_12 : u32 = 22u32 ; pub const DMPAPER_ENV_14 : u32 = 23u32 ; pub const DMPAPER_ENV_9 : u32 = 19u32 ; pub const DMPAPER_ENV_B4 : u32 = 33u32 ; pub const DMPAPER_ENV_B5 : u32 = 34u32 ; pub const DMPAPER_ENV_B6 : u32 = 35u32 ; pub const DMPAPER_ENV_C3 : u32 = 29u32 ; pub const DMPAPER_ENV_C4 : u32 = 30u32 ; pub const DMPAPER_ENV_C5 : u32 = 28u32 ; pub const DMPAPER_ENV_C6 : u32 = 31u32 ; pub const DMPAPER_ENV_C65 : u32 = 32u32 ; pub const DMPAPER_ENV_DL : u32 = 27u32 ; pub const DMPAPER_ENV_INVITE : u32 = 47u32 ; pub const DMPAPER_ENV_ITALY : u32 = 36u32 ; pub const DMPAPER_ENV_MONARCH : u32 = 37u32 ; pub const DMPAPER_ENV_PERSONAL : u32 = 38u32 ; pub const DMPAPER_ESHEET : u32 = 26u32 ; pub const DMPAPER_EXECUTIVE : u32 = 7u32 ; pub const DMPAPER_FANFOLD_LGL_GERMAN : u32 = 41u32 ; pub const DMPAPER_FANFOLD_STD_GERMAN : u32 = 40u32 ; pub const DMPAPER_FANFOLD_US : u32 = 39u32 ; pub const DMPAPER_FOLIO : u32 = 14u32 ; pub const DMPAPER_ISO_B4 : u32 = 42u32 ; pub const DMPAPER_JAPANESE_POSTCARD : u32 = 43u32 ; pub const DMPAPER_JAPANESE_POSTCARD_ROTATED : u32 = 81u32 ; pub const DMPAPER_JENV_CHOU3 : u32 = 73u32 ; pub const DMPAPER_JENV_CHOU3_ROTATED : u32 = 86u32 ; pub const DMPAPER_JENV_CHOU4 : u32 = 74u32 ; pub const DMPAPER_JENV_CHOU4_ROTATED : u32 = 87u32 ; pub const DMPAPER_JENV_KAKU2 : u32 = 71u32 ; pub const DMPAPER_JENV_KAKU2_ROTATED : u32 = 84u32 ; pub const DMPAPER_JENV_KAKU3 : u32 = 72u32 ; pub const DMPAPER_JENV_KAKU3_ROTATED : u32 = 85u32 ; pub const DMPAPER_JENV_YOU4 : u32 = 91u32 ; pub const DMPAPER_JENV_YOU4_ROTATED : u32 = 92u32 ; pub const DMPAPER_LEDGER : u32 = 4u32 ; pub const DMPAPER_LEGAL : u32 = 5u32 ; pub const DMPAPER_LEGAL_EXTRA : u32 = 51u32 ; pub const DMPAPER_LETTER : u32 = 1u32 ; pub const DMPAPER_LETTERSMALL : u32 = 2u32 ; pub const DMPAPER_LETTER_EXTRA : u32 = 50u32 ; pub const DMPAPER_LETTER_EXTRA_TRANSVERSE : u32 = 56u32 ; pub const DMPAPER_LETTER_PLUS : u32 = 59u32 ; pub const DMPAPER_LETTER_ROTATED : u32 = 75u32 ; pub const DMPAPER_LETTER_TRANSVERSE : u32 = 54u32 ; pub const DMPAPER_NOTE : u32 = 18u32 ; pub const DMPAPER_P16K : u32 = 93u32 ; pub const DMPAPER_P16K_ROTATED : u32 = 106u32 ; pub const DMPAPER_P32K : u32 = 94u32 ; pub const DMPAPER_P32KBIG : u32 = 95u32 ; pub const DMPAPER_P32KBIG_ROTATED : u32 = 108u32 ; pub const DMPAPER_P32K_ROTATED : u32 = 107u32 ; pub const DMPAPER_PENV_1 : u32 = 96u32 ; pub const DMPAPER_PENV_10 : u32 = 105u32 ; pub const DMPAPER_PENV_10_ROTATED : u32 = 118u32 ; pub const DMPAPER_PENV_1_ROTATED : u32 = 109u32 ; pub const DMPAPER_PENV_2 : u32 = 97u32 ; pub const DMPAPER_PENV_2_ROTATED : u32 = 110u32 ; pub const DMPAPER_PENV_3 : u32 = 98u32 ; pub const DMPAPER_PENV_3_ROTATED : u32 = 111u32 ; pub const DMPAPER_PENV_4 : u32 = 99u32 ; pub const DMPAPER_PENV_4_ROTATED : u32 = 112u32 ; pub const DMPAPER_PENV_5 : u32 = 100u32 ; pub const DMPAPER_PENV_5_ROTATED : u32 = 113u32 ; pub const DMPAPER_PENV_6 : u32 = 101u32 ; pub const DMPAPER_PENV_6_ROTATED : u32 = 114u32 ; pub const DMPAPER_PENV_7 : u32 = 102u32 ; pub const DMPAPER_PENV_7_ROTATED : u32 = 115u32 ; pub const DMPAPER_PENV_8 : u32 = 103u32 ; pub const DMPAPER_PENV_8_ROTATED : u32 = 116u32 ; pub const DMPAPER_PENV_9 : u32 = 104u32 ; pub const DMPAPER_PENV_9_ROTATED : u32 = 117u32 ; pub const DMPAPER_QUARTO : u32 = 15u32 ; pub const DMPAPER_RESERVED_48 : u32 = 48u32 ; pub const DMPAPER_RESERVED_49 : u32 = 49u32 ; pub const DMPAPER_STATEMENT : u32 = 6u32 ; pub const DMPAPER_TABLOID : u32 = 3u32 ; pub const DMPAPER_TABLOID_EXTRA : u32 = 52u32 ; pub const DMPAPER_USER : u32 = 256u32 ; pub const DMRES_DRAFT : i32 = -1i32 ; pub const DMRES_HIGH : i32 = -4i32 ; pub const DMRES_LOW : i32 = -2i32 ; pub const DMRES_MEDIUM : i32 = -3i32 ; pub const DMTT_BITMAP : u32 = 1u32 ; pub const DMTT_DOWNLOAD : u32 = 2u32 ; pub const DMTT_DOWNLOAD_OUTLINE : u32 = 4u32 ; pub const DMTT_SUBDEV : u32 = 3u32 ; pub const DM_BITSPERPEL : i32 = 262144i32 ; pub const DM_COLLATE : i32 = 32768i32 ; pub const DM_COLOR : i32 = 2048i32 ; pub const DM_COPIES : i32 = 256i32 ; pub const DM_DEFAULTSOURCE : i32 = 512i32 ; pub const DM_DISPLAYFIXEDOUTPUT : i32 = 536870912i32 ; pub const DM_DISPLAYFLAGS : i32 = 2097152i32 ; pub const DM_DISPLAYFREQUENCY : i32 = 4194304i32 ; pub const DM_DISPLAYORIENTATION : i32 = 128i32 ; pub const DM_DITHERTYPE : i32 = 67108864i32 ; pub const DM_DUPLEX : i32 = 4096i32 ; pub const DM_FORMNAME : i32 = 65536i32 ; pub const DM_ICMINTENT : i32 = 16777216i32 ; pub const DM_ICMMETHOD : i32 = 8388608i32 ; pub const DM_INTERLACED : u32 = 2u32 ; pub const DM_LOGPIXELS : i32 = 131072i32 ; pub const DM_MEDIATYPE : i32 = 33554432i32 ; pub const DM_NUP : i32 = 64i32 ; pub const DM_ORIENTATION : i32 = 1i32 ; pub const DM_PANNINGHEIGHT : i32 = 268435456i32 ; pub const DM_PANNINGWIDTH : i32 = 134217728i32 ; pub const DM_PAPERLENGTH : i32 = 4i32 ; pub const DM_PAPERSIZE : i32 = 2i32 ; pub const DM_PAPERWIDTH : i32 = 8i32 ; pub const DM_PELSHEIGHT : i32 = 1048576i32 ; pub const DM_PELSWIDTH : i32 = 524288i32 ; pub const DM_POSITION : i32 = 32i32 ; pub const DM_PRINTQUALITY : i32 = 1024i32 ; pub const DM_SCALE : i32 = 16i32 ; pub const DM_SPECVERSION : u32 = 1025u32 ; pub const DM_TTOPTION : i32 = 16384i32 ; pub const DM_YRESOLUTION : i32 = 8192i32 ; pub const DOWNLOADFACE : u32 = 514u32 ; pub const DOWNLOADHEADER : u32 = 4111u32 ; pub unsafe fn DPtoLP < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lppt : * mut super::super::Foundation:: POINT , c : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn DPtoLP ( hdc : HDC , lppt : * mut super::super::Foundation:: POINT , c : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DPtoLP ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppt ) , :: std :: mem :: transmute ( c ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const DRAFTMODE : u32 = 7u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DRAWEDGE_FLAGS ( pub u32 ) ; pub const BDR_RAISEDOUTER : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 1u32 ) ; pub const BDR_SUNKENOUTER : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 2u32 ) ; pub const BDR_RAISEDINNER : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 4u32 ) ; pub const BDR_SUNKENINNER : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 8u32 ) ; pub const BDR_OUTER : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 3u32 ) ; pub const BDR_INNER : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 12u32 ) ; pub const BDR_RAISED : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 5u32 ) ; pub const BDR_SUNKEN : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 10u32 ) ; pub const EDGE_RAISED : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 5u32 ) ; pub const EDGE_SUNKEN : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 10u32 ) ; pub const EDGE_ETCHED : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 6u32 ) ; pub const EDGE_BUMP : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 9u32 ) ; impl :: std :: convert :: From < u32 > for DRAWEDGE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DRAWEDGE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DRAWEDGE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DRAWEDGE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DRAWEDGE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DRAWEDGE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DRAWEDGE_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const DRAWPATTERNRECT : u32 = 25u32 ; pub type DRAWSTATEPROC = unsafe extern "system" fn ( hdc : HDC , ldata : super::super::Foundation:: LPARAM , wdata : super::super::Foundation:: WPARAM , cx : i32 , cy : i32 ) -> super::super::Foundation:: BOOL ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DRAWSTATE_FLAGS ( pub u32 ) ; pub const DST_COMPLEX : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 0u32 ) ; pub const DST_TEXT : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 1u32 ) ; pub const DST_PREFIXTEXT : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 2u32 ) ; pub const DST_ICON : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 3u32 ) ; pub const DST_BITMAP : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 4u32 ) ; pub const DSS_NORMAL : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 0u32 ) ; pub const DSS_UNION : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 16u32 ) ; pub const DSS_DISABLED : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 32u32 ) ; pub const DSS_MONO : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 128u32 ) ; pub const DSS_HIDEPREFIX : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 512u32 ) ; pub const DSS_PREFIXONLY : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 1024u32 ) ; pub const DSS_RIGHT : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 32768u32 ) ; impl :: std :: convert :: From < u32 > for DRAWSTATE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DRAWSTATE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DRAWSTATE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DRAWSTATE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DRAWSTATE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DRAWSTATE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DRAWSTATE_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DRAWTEXTPARAMS { pub cbSize : u32 , pub iTabLength : i32 , pub iLeftMargin : i32 , pub iRightMargin : i32 , pub uiLengthDrawn : u32 } impl DRAWTEXTPARAMS { } impl :: std :: default :: Default for DRAWTEXTPARAMS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DRAWTEXTPARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DRAWTEXTPARAMS" ) . field ( "cbSize" , & self . cbSize ) . field ( "iTabLength" , & self . iTabLength ) . field ( "iLeftMargin" , & self . iLeftMargin ) . field ( "iRightMargin" , & self . iRightMargin ) . field ( "uiLengthDrawn" , & self . uiLengthDrawn ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DRAWTEXTPARAMS { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iTabLength == other . iTabLength && self . iLeftMargin == other . iLeftMargin && self . iRightMargin == other . iRightMargin && self . uiLengthDrawn == other . uiLengthDrawn } } impl :: std :: cmp :: Eq for DRAWTEXTPARAMS { } unsafe impl :: windows :: Abi for DRAWTEXTPARAMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DRAW_CAPTION_FLAGS ( pub u32 ) ; pub const DC_ACTIVE : DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS ( 1u32 ) ; pub const DC_BUTTONS : DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS ( 4096u32 ) ; pub const DC_GRADIENT : DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS ( 32u32 ) ; pub const DC_ICON : DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS ( 4u32 ) ; pub const DC_INBUTTON : DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS ( 16u32 ) ; pub const DC_SMALLCAP : DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS ( 2u32 ) ; pub const DC_TEXT : DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS ( 8u32 ) ; impl :: std :: convert :: From < u32 > for DRAW_CAPTION_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DRAW_CAPTION_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DRAW_CAPTION_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DRAW_CAPTION_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DRAW_CAPTION_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DRAW_CAPTION_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DRAW_CAPTION_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DRAW_EDGE_FLAGS ( pub u32 ) ; pub const BF_ADJUST : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 8192u32 ) ; pub const BF_BOTTOM : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 8u32 ) ; pub const BF_BOTTOMLEFT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 9u32 ) ; pub const BF_BOTTOMRIGHT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 12u32 ) ; pub const BF_DIAGONAL : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 16u32 ) ; pub const BF_DIAGONAL_ENDBOTTOMLEFT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 25u32 ) ; pub const BF_DIAGONAL_ENDBOTTOMRIGHT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 28u32 ) ; pub const BF_DIAGONAL_ENDTOPLEFT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 19u32 ) ; pub const BF_DIAGONAL_ENDTOPRIGHT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 22u32 ) ; pub const BF_FLAT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 16384u32 ) ; pub const BF_LEFT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 1u32 ) ; pub const BF_MIDDLE : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 2048u32 ) ; pub const BF_MONO : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 32768u32 ) ; pub const BF_RECT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 15u32 ) ; pub const BF_RIGHT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 4u32 ) ; pub const BF_SOFT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 4096u32 ) ; pub const BF_TOP : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 2u32 ) ; pub const BF_TOPLEFT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 3u32 ) ; pub const BF_TOPRIGHT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 6u32 ) ; impl :: std :: convert :: From < u32 > for DRAW_EDGE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DRAW_EDGE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DRAW_EDGE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DRAW_EDGE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DRAW_EDGE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DRAW_EDGE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DRAW_EDGE_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DRAW_TEXT_FORMAT ( pub u32 ) ; pub const DT_BOTTOM : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 8u32 ) ; pub const DT_CALCRECT : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 1024u32 ) ; pub const DT_CENTER : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 1u32 ) ; pub const DT_EDITCONTROL : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 8192u32 ) ; pub const DT_END_ELLIPSIS : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 32768u32 ) ; pub const DT_EXPANDTABS : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 64u32 ) ; pub const DT_EXTERNALLEADING : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 512u32 ) ; pub const DT_HIDEPREFIX : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 1048576u32 ) ; pub const DT_INTERNAL : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 4096u32 ) ; pub const DT_LEFT : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 0u32 ) ; pub const DT_MODIFYSTRING : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 65536u32 ) ; pub const DT_NOCLIP : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 256u32 ) ; pub const DT_NOFULLWIDTHCHARBREAK : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 524288u32 ) ; pub const DT_NOPREFIX : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 2048u32 ) ; pub const DT_PATH_ELLIPSIS : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 16384u32 ) ; pub const DT_PREFIXONLY : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 2097152u32 ) ; pub const DT_RIGHT : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 2u32 ) ; pub const DT_RTLREADING : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 131072u32 ) ; pub const DT_SINGLELINE : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 32u32 ) ; pub const DT_TABSTOP : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 128u32 ) ; pub const DT_TOP : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 0u32 ) ; pub const DT_VCENTER : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 4u32 ) ; pub const DT_WORDBREAK : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 16u32 ) ; pub const DT_WORD_ELLIPSIS : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 262144u32 ) ; impl :: std :: convert :: From < u32 > for DRAW_TEXT_FORMAT { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DRAW_TEXT_FORMAT { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DRAW_TEXT_FORMAT { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DRAW_TEXT_FORMAT { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DRAW_TEXT_FORMAT { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DRAW_TEXT_FORMAT { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DRAW_TEXT_FORMAT { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const DT_CHARSTREAM : u32 = 4u32 ; pub const DT_DISPFILE : u32 = 6u32 ; pub const DT_METAFILE : u32 = 5u32 ; pub const DT_PLOTTER : u32 = 0u32 ; pub const DT_RASCAMERA : u32 = 3u32 ; pub const DT_RASDISPLAY : u32 = 1u32 ; pub const DT_RASPRINTER : u32 = 2u32 ; pub unsafe fn DeleteDC < 'a , Param0 : :: windows :: IntoParam < 'a , CreatedHDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn DeleteDC ( hdc : CreatedHDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DeleteDC ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteEnhMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hmf : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn DeleteEnhMetaFile ( hmf : HENHMETAFILE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DeleteEnhMetaFile ( hmf . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HMETAFILE > , > ( hmf : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn DeleteMetaFile ( hmf : HMETAFILE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DeleteMetaFile ( hmf . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteObject < 'a , Param0 : :: windows :: IntoParam < 'a , HGDIOBJ > , > ( ho : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn DeleteObject ( ho : HGDIOBJ ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DeleteObject ( ho . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawAnimatedRects < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , idani : i32 , lprcfrom : * const super::super::Foundation:: RECT , lprcto : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawAnimatedRects ( hwnd : super::super::Foundation:: HWND , idani : i32 , lprcfrom : * const super::super::Foundation:: RECT , lprcto : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DrawAnimatedRects ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( idani ) , :: std :: mem :: transmute ( lprcfrom ) , :: std :: mem :: transmute ( lprcto ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawCaption < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HDC > , > ( hwnd : Param0 , hdc : Param1 , lprect : * const super::super::Foundation:: RECT , flags : DRAW_CAPTION_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawCaption ( hwnd : super::super::Foundation:: HWND , hdc : HDC , lprect : * const super::super::Foundation:: RECT , flags : DRAW_CAPTION_FLAGS ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DrawCaption ( hwnd . into_param ( ) . abi ( ) , hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) , :: std :: mem :: transmute ( flags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawEdge < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , qrc : * mut super::super::Foundation:: RECT , edge : DRAWEDGE_FLAGS , grfflags : DRAW_EDGE_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawEdge ( hdc : HDC , qrc : * mut super::super::Foundation:: RECT , edge : DRAWEDGE_FLAGS , grfflags : DRAW_EDGE_FLAGS ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DrawEdge ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( qrc ) , :: std :: mem :: transmute ( edge ) , :: std :: mem :: transmute ( grfflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawEscape < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , iescape : i32 , cjin : i32 , lpin : Param3 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn DrawEscape ( hdc : HDC , iescape : i32 , cjin : i32 , lpin : super::super::Foundation:: PSTR ) -> i32 ; } :: std :: mem :: transmute ( DrawEscape ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( iescape ) , :: std :: mem :: transmute ( cjin ) , lpin . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawFocusRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lprc : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawFocusRect ( hdc : HDC , lprc : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DrawFocusRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawFrameControl < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( param0 : Param0 , param1 : * mut super::super::Foundation:: RECT , param2 : DFC_TYPE , param3 : DFCS_STATE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawFrameControl ( param0 : HDC , param1 : * mut super::super::Foundation:: RECT , param2 : DFC_TYPE , param3 : DFCS_STATE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DrawFrameControl ( param0 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) , :: std :: mem :: transmute ( param3 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawStateA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HBRUSH > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , Param4 : :: windows :: IntoParam < 'a , super::super::Foundation:: WPARAM > , > ( hdc : Param0 , hbrfore : Param1 , qfncallback : :: std :: option :: Option < DRAWSTATEPROC > , ldata : Param3 , wdata : Param4 , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : DRAWSTATE_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawStateA ( hdc : HDC , hbrfore : HBRUSH , qfncallback : :: windows :: RawPtr , ldata : super::super::Foundation:: LPARAM , wdata : super::super::Foundation:: WPARAM , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : DRAWSTATE_FLAGS ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DrawStateA ( hdc . into_param ( ) . abi ( ) , hbrfore . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( qfncallback ) , ldata . into_param ( ) . abi ( ) , wdata . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( cx ) , :: std :: mem :: transmute ( cy ) , :: std :: mem :: transmute ( uflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawStateW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HBRUSH > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , Param4 : :: windows :: IntoParam < 'a , super::super::Foundation:: WPARAM > , > ( hdc : Param0 , hbrfore : Param1 , qfncallback : :: std :: option :: Option < DRAWSTATEPROC > , ldata : Param3 , wdata : Param4 , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : DRAWSTATE_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawStateW ( hdc : HDC , hbrfore : HBRUSH , qfncallback : :: windows :: RawPtr , ldata : super::super::Foundation:: LPARAM , wdata : super::super::Foundation:: WPARAM , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : DRAWSTATE_FLAGS ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DrawStateW ( hdc . into_param ( ) . abi ( ) , hbrfore . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( qfncallback ) , ldata . into_param ( ) . abi ( ) , wdata . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( cx ) , :: std :: mem :: transmute ( cy ) , :: std :: mem :: transmute ( uflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawTextA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpchtext : Param1 , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawTextA ( hdc : HDC , lpchtext : super::super::Foundation:: PSTR , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT ) -> i32 ; } :: std :: mem :: transmute ( DrawTextA ( hdc . into_param ( ) . abi ( ) , lpchtext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchtext ) , :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( format ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawTextExA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpchtext : Param1 , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , lpdtp : * const DRAWTEXTPARAMS , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawTextExA ( hdc : HDC , lpchtext : super::super::Foundation:: PSTR , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , lpdtp : * const DRAWTEXTPARAMS ) -> i32 ; } :: std :: mem :: transmute ( DrawTextExA ( hdc . into_param ( ) . abi ( ) , lpchtext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchtext ) , :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( format ) , :: std :: mem :: transmute ( lpdtp ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawTextExW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpchtext : Param1 , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , lpdtp : * const DRAWTEXTPARAMS , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawTextExW ( hdc : HDC , lpchtext : super::super::Foundation:: PWSTR , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , lpdtp : * const DRAWTEXTPARAMS ) -> i32 ; } :: std :: mem :: transmute ( DrawTextExW ( hdc . into_param ( ) . abi ( ) , lpchtext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchtext ) , :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( format ) , :: std :: mem :: transmute ( lpdtp ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawTextW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpchtext : Param1 , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawTextW ( hdc : HDC , lpchtext : super::super::Foundation:: PWSTR , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT ) -> i32 ; } :: std :: mem :: transmute ( DrawTextW ( hdc . into_param ( ) . abi ( ) , lpchtext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchtext ) , :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( format ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const EASTEUROPE_CHARSET : u32 = 238u32 ; pub const ELF_CULTURE_LATIN : u32 = 0u32 ; pub const ELF_VENDOR_SIZE : u32 = 4u32 ; pub const ELF_VERSION : u32 = 0u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct EMBEDDED_FONT_PRIV_STATUS ( pub u32 ) ; pub const EMBED_PREVIEWPRINT : EMBEDDED_FONT_PRIV_STATUS = EMBEDDED_FONT_PRIV_STATUS ( 1u32 ) ; pub const EMBED_EDITABLE : EMBEDDED_FONT_PRIV_STATUS = EMBEDDED_FONT_PRIV_STATUS ( 2u32 ) ; pub const EMBED_INSTALLABLE : EMBEDDED_FONT_PRIV_STATUS = EMBEDDED_FONT_PRIV_STATUS ( 3u32 ) ; pub const EMBED_NOEMBEDDING : EMBEDDED_FONT_PRIV_STATUS = EMBEDDED_FONT_PRIV_STATUS ( 4u32 ) ; impl :: std :: convert :: From < u32 > for EMBEDDED_FONT_PRIV_STATUS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EMBEDDED_FONT_PRIV_STATUS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for EMBEDDED_FONT_PRIV_STATUS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for EMBEDDED_FONT_PRIV_STATUS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for EMBEDDED_FONT_PRIV_STATUS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for EMBEDDED_FONT_PRIV_STATUS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for EMBEDDED_FONT_PRIV_STATUS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct EMBED_FONT_CHARSET ( pub u32 ) ; pub const CHARSET_UNICODE : EMBED_FONT_CHARSET = EMBED_FONT_CHARSET ( 1u32 ) ; pub const CHARSET_SYMBOL : EMBED_FONT_CHARSET = EMBED_FONT_CHARSET ( 2u32 ) ; impl :: std :: convert :: From < u32 > for EMBED_FONT_CHARSET { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EMBED_FONT_CHARSET { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for EMBED_FONT_CHARSET { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for EMBED_FONT_CHARSET { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for EMBED_FONT_CHARSET { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for EMBED_FONT_CHARSET { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for EMBED_FONT_CHARSET { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMR { pub iType : u32 , pub nSize : u32 } impl EMR { } impl :: std :: default :: Default for EMR { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMR" ) . field ( "iType" , & self . iType ) . field ( "nSize" , & self . nSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMR { fn eq ( & self , other : & Self ) -> bool { self . iType == other . iType && self . nSize == other . nSize } } impl :: std :: cmp :: Eq for EMR { } unsafe impl :: windows :: Abi for EMR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRALPHABLEND { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub xDest : i32 , pub yDest : i32 , pub cxDest : i32 , pub cyDest : i32 , pub dwRop : u32 , pub xSrc : i32 , pub ySrc : i32 , pub xformSrc : XFORM , pub crBkColorSrc : u32 , pub iUsageSrc : u32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 , pub cxSrc : i32 , pub cySrc : i32 } impl EMRALPHABLEND { } impl :: std :: default :: Default for EMRALPHABLEND { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRALPHABLEND { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRALPHABLEND" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "xDest" , & self . xDest ) . field ( "yDest" , & self . yDest ) . field ( "cxDest" , & self . cxDest ) . field ( "cyDest" , & self . cyDest ) . field ( "dwRop" , & self . dwRop ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "xformSrc" , & self . xformSrc ) . field ( "crBkColorSrc" , & self . crBkColorSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . field ( "cxSrc" , & self . cxSrc ) . field ( "cySrc" , & self . cySrc ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRALPHABLEND { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . xDest == other . xDest && self . yDest == other . yDest && self . cxDest == other . cxDest && self . cyDest == other . cyDest && self . dwRop == other . dwRop && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . xformSrc == other . xformSrc && self . crBkColorSrc == other . crBkColorSrc && self . iUsageSrc == other . iUsageSrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc && self . cxSrc == other . cxSrc && self . cySrc == other . cySrc } } impl :: std :: cmp :: Eq for EMRALPHABLEND { } unsafe impl :: windows :: Abi for EMRALPHABLEND { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRANGLEARC { pub emr : EMR , pub ptlCenter : super::super::Foundation:: POINTL , pub nRadius : u32 , pub eStartAngle : f32 , pub eSweepAngle : f32 } impl EMRANGLEARC { } impl :: std :: default :: Default for EMRANGLEARC { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRANGLEARC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRANGLEARC" ) . field ( "emr" , & self . emr ) . field ( "ptlCenter" , & self . ptlCenter ) . field ( "nRadius" , & self . nRadius ) . field ( "eStartAngle" , & self . eStartAngle ) . field ( "eSweepAngle" , & self . eSweepAngle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRANGLEARC { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ptlCenter == other . ptlCenter && self . nRadius == other . nRadius && self . eStartAngle == other . eStartAngle && self . eSweepAngle == other . eSweepAngle } } impl :: std :: cmp :: Eq for EMRANGLEARC { } unsafe impl :: windows :: Abi for EMRANGLEARC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRARC { pub emr : EMR , pub rclBox : super::super::Foundation:: RECTL , pub ptlStart : super::super::Foundation:: POINTL , pub ptlEnd : super::super::Foundation:: POINTL } impl EMRARC { } impl :: std :: default :: Default for EMRARC { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRARC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRARC" ) . field ( "emr" , & self . emr ) . field ( "rclBox" , & self . rclBox ) . field ( "ptlStart" , & self . ptlStart ) . field ( "ptlEnd" , & self . ptlEnd ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRARC { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBox == other . rclBox && self . ptlStart == other . ptlStart && self . ptlEnd == other . ptlEnd } } impl :: std :: cmp :: Eq for EMRARC { } unsafe impl :: windows :: Abi for EMRARC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRBITBLT { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub xDest : i32 , pub yDest : i32 , pub cxDest : i32 , pub cyDest : i32 , pub dwRop : u32 , pub xSrc : i32 , pub ySrc : i32 , pub xformSrc : XFORM , pub crBkColorSrc : u32 , pub iUsageSrc : u32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 } impl EMRBITBLT { } impl :: std :: default :: Default for EMRBITBLT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRBITBLT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRBITBLT" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "xDest" , & self . xDest ) . field ( "yDest" , & self . yDest ) . field ( "cxDest" , & self . cxDest ) . field ( "cyDest" , & self . cyDest ) . field ( "dwRop" , & self . dwRop ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "xformSrc" , & self . xformSrc ) . field ( "crBkColorSrc" , & self . crBkColorSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRBITBLT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . xDest == other . xDest && self . yDest == other . yDest && self . cxDest == other . cxDest && self . cyDest == other . cyDest && self . dwRop == other . dwRop && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . xformSrc == other . xformSrc && self . crBkColorSrc == other . crBkColorSrc && self . iUsageSrc == other . iUsageSrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc } } impl :: std :: cmp :: Eq for EMRBITBLT { } unsafe impl :: windows :: Abi for EMRBITBLT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRCREATEBRUSHINDIRECT { pub emr : EMR , pub ihBrush : u32 , pub lb : LOGBRUSH32 } impl EMRCREATEBRUSHINDIRECT { } impl :: std :: default :: Default for EMRCREATEBRUSHINDIRECT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRCREATEBRUSHINDIRECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRCREATEBRUSHINDIRECT" ) . field ( "emr" , & self . emr ) . field ( "ihBrush" , & self . ihBrush ) . field ( "lb" , & self . lb ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRCREATEBRUSHINDIRECT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihBrush == other . ihBrush && self . lb == other . lb } } impl :: std :: cmp :: Eq for EMRCREATEBRUSHINDIRECT { } unsafe impl :: windows :: Abi for EMRCREATEBRUSHINDIRECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRCREATECOLORSPACE { pub emr : EMR , pub ihCS : u32 , pub lcs : super::super::UI::ColorSystem:: LOGCOLORSPACEA } impl EMRCREATECOLORSPACE { } impl :: std :: default :: Default for EMRCREATECOLORSPACE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRCREATECOLORSPACE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRCREATECOLORSPACE" ) . field ( "emr" , & self . emr ) . field ( "ihCS" , & self . ihCS ) . field ( "lcs" , & self . lcs ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRCREATECOLORSPACE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihCS == other . ihCS && self . lcs == other . lcs } } impl :: std :: cmp :: Eq for EMRCREATECOLORSPACE { } unsafe impl :: windows :: Abi for EMRCREATECOLORSPACE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRCREATECOLORSPACEW { pub emr : EMR , pub ihCS : u32 , pub lcs : super::super::UI::ColorSystem:: LOGCOLORSPACEW , pub dwFlags : u32 , pub cbData : u32 , pub Data : [ u8 ;1 ] } impl EMRCREATECOLORSPACEW { } impl :: std :: default :: Default for EMRCREATECOLORSPACEW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRCREATECOLORSPACEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRCREATECOLORSPACEW" ) . field ( "emr" , & self . emr ) . field ( "ihCS" , & self . ihCS ) . field ( "lcs" , & self . lcs ) . field ( "dwFlags" , & self . dwFlags ) . field ( "cbData" , & self . cbData ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRCREATECOLORSPACEW { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihCS == other . ihCS && self . lcs == other . lcs && self . dwFlags == other . dwFlags && self . cbData == other . cbData && self . Data == other . Data } } impl :: std :: cmp :: Eq for EMRCREATECOLORSPACEW { } unsafe impl :: windows :: Abi for EMRCREATECOLORSPACEW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRCREATEDIBPATTERNBRUSHPT { pub emr : EMR , pub ihBrush : u32 , pub iUsage : u32 , pub offBmi : u32 , pub cbBmi : u32 , pub offBits : u32 , pub cbBits : u32 } impl EMRCREATEDIBPATTERNBRUSHPT { } impl :: std :: default :: Default for EMRCREATEDIBPATTERNBRUSHPT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRCREATEDIBPATTERNBRUSHPT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRCREATEDIBPATTERNBRUSHPT" ) . field ( "emr" , & self . emr ) . field ( "ihBrush" , & self . ihBrush ) . field ( "iUsage" , & self . iUsage ) . field ( "offBmi" , & self . offBmi ) . field ( "cbBmi" , & self . cbBmi ) . field ( "offBits" , & self . offBits ) . field ( "cbBits" , & self . cbBits ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRCREATEDIBPATTERNBRUSHPT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihBrush == other . ihBrush && self . iUsage == other . iUsage && self . offBmi == other . offBmi && self . cbBmi == other . cbBmi && self . offBits == other . offBits && self . cbBits == other . cbBits } } impl :: std :: cmp :: Eq for EMRCREATEDIBPATTERNBRUSHPT { } unsafe impl :: windows :: Abi for EMRCREATEDIBPATTERNBRUSHPT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRCREATEMONOBRUSH { pub emr : EMR , pub ihBrush : u32 , pub iUsage : u32 , pub offBmi : u32 , pub cbBmi : u32 , pub offBits : u32 , pub cbBits : u32 } impl EMRCREATEMONOBRUSH { } impl :: std :: default :: Default for EMRCREATEMONOBRUSH { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRCREATEMONOBRUSH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRCREATEMONOBRUSH" ) . field ( "emr" , & self . emr ) . field ( "ihBrush" , & self . ihBrush ) . field ( "iUsage" , & self . iUsage ) . field ( "offBmi" , & self . offBmi ) . field ( "cbBmi" , & self . cbBmi ) . field ( "offBits" , & self . offBits ) . field ( "cbBits" , & self . cbBits ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRCREATEMONOBRUSH { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihBrush == other . ihBrush && self . iUsage == other . iUsage && self . offBmi == other . offBmi && self . cbBmi == other . cbBmi && self . offBits == other . offBits && self . cbBits == other . cbBits } } impl :: std :: cmp :: Eq for EMRCREATEMONOBRUSH { } unsafe impl :: windows :: Abi for EMRCREATEMONOBRUSH { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRCREATEPALETTE { pub emr : EMR , pub ihPal : u32 , pub lgpl : LOGPALETTE } impl EMRCREATEPALETTE { } impl :: std :: default :: Default for EMRCREATEPALETTE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRCREATEPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRCREATEPALETTE" ) . field ( "emr" , & self . emr ) . field ( "ihPal" , & self . ihPal ) . field ( "lgpl" , & self . lgpl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRCREATEPALETTE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihPal == other . ihPal && self . lgpl == other . lgpl } } impl :: std :: cmp :: Eq for EMRCREATEPALETTE { } unsafe impl :: windows :: Abi for EMRCREATEPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRCREATEPEN { pub emr : EMR , pub ihPen : u32 , pub lopn : LOGPEN } impl EMRCREATEPEN { } impl :: std :: default :: Default for EMRCREATEPEN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRCREATEPEN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRCREATEPEN" ) . field ( "emr" , & self . emr ) . field ( "ihPen" , & self . ihPen ) . field ( "lopn" , & self . lopn ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRCREATEPEN { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihPen == other . ihPen && self . lopn == other . lopn } } impl :: std :: cmp :: Eq for EMRCREATEPEN { } unsafe impl :: windows :: Abi for EMRCREATEPEN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRELLIPSE { pub emr : EMR , pub rclBox : super::super::Foundation:: RECTL } impl EMRELLIPSE { } impl :: std :: default :: Default for EMRELLIPSE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRELLIPSE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRELLIPSE" ) . field ( "emr" , & self . emr ) . field ( "rclBox" , & self . rclBox ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRELLIPSE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBox == other . rclBox } } impl :: std :: cmp :: Eq for EMRELLIPSE { } unsafe impl :: windows :: Abi for EMRELLIPSE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREOF { pub emr : EMR , pub nPalEntries : u32 , pub offPalEntries : u32 , pub nSizeLast : u32 } impl EMREOF { } impl :: std :: default :: Default for EMREOF { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREOF { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREOF" ) . field ( "emr" , & self . emr ) . field ( "nPalEntries" , & self . nPalEntries ) . field ( "offPalEntries" , & self . offPalEntries ) . field ( "nSizeLast" , & self . nSizeLast ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREOF { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . nPalEntries == other . nPalEntries && self . offPalEntries == other . offPalEntries && self . nSizeLast == other . nSizeLast } } impl :: std :: cmp :: Eq for EMREOF { } unsafe impl :: windows :: Abi for EMREOF { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREXCLUDECLIPRECT { pub emr : EMR , pub rclClip : super::super::Foundation:: RECTL } impl EMREXCLUDECLIPRECT { } impl :: std :: default :: Default for EMREXCLUDECLIPRECT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREXCLUDECLIPRECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREXCLUDECLIPRECT" ) . field ( "emr" , & self . emr ) . field ( "rclClip" , & self . rclClip ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREXCLUDECLIPRECT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclClip == other . rclClip } } impl :: std :: cmp :: Eq for EMREXCLUDECLIPRECT { } unsafe impl :: windows :: Abi for EMREXCLUDECLIPRECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREXTCREATEFONTINDIRECTW { pub emr : EMR , pub ihFont : u32 , pub elfw : EXTLOGFONTW } impl EMREXTCREATEFONTINDIRECTW { } impl :: std :: default :: Default for EMREXTCREATEFONTINDIRECTW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREXTCREATEFONTINDIRECTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREXTCREATEFONTINDIRECTW" ) . field ( "emr" , & self . emr ) . field ( "ihFont" , & self . ihFont ) . field ( "elfw" , & self . elfw ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREXTCREATEFONTINDIRECTW { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihFont == other . ihFont && self . elfw == other . elfw } } impl :: std :: cmp :: Eq for EMREXTCREATEFONTINDIRECTW { } unsafe impl :: windows :: Abi for EMREXTCREATEFONTINDIRECTW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREXTCREATEPEN { pub emr : EMR , pub ihPen : u32 , pub offBmi : u32 , pub cbBmi : u32 , pub offBits : u32 , pub cbBits : u32 , pub elp : EXTLOGPEN32 } impl EMREXTCREATEPEN { } impl :: std :: default :: Default for EMREXTCREATEPEN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREXTCREATEPEN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREXTCREATEPEN" ) . field ( "emr" , & self . emr ) . field ( "ihPen" , & self . ihPen ) . field ( "offBmi" , & self . offBmi ) . field ( "cbBmi" , & self . cbBmi ) . field ( "offBits" , & self . offBits ) . field ( "cbBits" , & self . cbBits ) . field ( "elp" , & self . elp ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREXTCREATEPEN { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihPen == other . ihPen && self . offBmi == other . offBmi && self . cbBmi == other . cbBmi && self . offBits == other . offBits && self . cbBits == other . cbBits && self . elp == other . elp } } impl :: std :: cmp :: Eq for EMREXTCREATEPEN { } unsafe impl :: windows :: Abi for EMREXTCREATEPEN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREXTESCAPE { pub emr : EMR , pub iEscape : i32 , pub cbEscData : i32 , pub EscData : [ u8 ;1 ] } impl EMREXTESCAPE { } impl :: std :: default :: Default for EMREXTESCAPE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREXTESCAPE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREXTESCAPE" ) . field ( "emr" , & self . emr ) . field ( "iEscape" , & self . iEscape ) . field ( "cbEscData" , & self . cbEscData ) . field ( "EscData" , & self . EscData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREXTESCAPE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . iEscape == other . iEscape && self . cbEscData == other . cbEscData && self . EscData == other . EscData } } impl :: std :: cmp :: Eq for EMREXTESCAPE { } unsafe impl :: windows :: Abi for EMREXTESCAPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREXTFLOODFILL { pub emr : EMR , pub ptlStart : super::super::Foundation:: POINTL , pub crColor : u32 , pub iMode : u32 } impl EMREXTFLOODFILL { } impl :: std :: default :: Default for EMREXTFLOODFILL { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREXTFLOODFILL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREXTFLOODFILL" ) . field ( "emr" , & self . emr ) . field ( "ptlStart" , & self . ptlStart ) . field ( "crColor" , & self . crColor ) . field ( "iMode" , & self . iMode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREXTFLOODFILL { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ptlStart == other . ptlStart && self . crColor == other . crColor && self . iMode == other . iMode } } impl :: std :: cmp :: Eq for EMREXTFLOODFILL { } unsafe impl :: windows :: Abi for EMREXTFLOODFILL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREXTSELECTCLIPRGN { pub emr : EMR , pub cbRgnData : u32 , pub iMode : u32 , pub RgnData : [ u8 ;1 ] } impl EMREXTSELECTCLIPRGN { } impl :: std :: default :: Default for EMREXTSELECTCLIPRGN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREXTSELECTCLIPRGN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREXTSELECTCLIPRGN" ) . field ( "emr" , & self . emr ) . field ( "cbRgnData" , & self . cbRgnData ) . field ( "iMode" , & self . iMode ) . field ( "RgnData" , & self . RgnData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREXTSELECTCLIPRGN { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . cbRgnData == other . cbRgnData && self . iMode == other . iMode && self . RgnData == other . RgnData } } impl :: std :: cmp :: Eq for EMREXTSELECTCLIPRGN { } unsafe impl :: windows :: Abi for EMREXTSELECTCLIPRGN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREXTTEXTOUTA { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub iGraphicsMode : u32 , pub exScale : f32 , pub eyScale : f32 , pub emrtext : EMRTEXT } impl EMREXTTEXTOUTA { } impl :: std :: default :: Default for EMREXTTEXTOUTA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREXTTEXTOUTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREXTTEXTOUTA" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "iGraphicsMode" , & self . iGraphicsMode ) . field ( "exScale" , & self . exScale ) . field ( "eyScale" , & self . eyScale ) . field ( "emrtext" , & self . emrtext ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREXTTEXTOUTA { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . iGraphicsMode == other . iGraphicsMode && self . exScale == other . exScale && self . eyScale == other . eyScale && self . emrtext == other . emrtext } } impl :: std :: cmp :: Eq for EMREXTTEXTOUTA { } unsafe impl :: windows :: Abi for EMREXTTEXTOUTA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRFILLPATH { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL } impl EMRFILLPATH { } impl :: std :: default :: Default for EMRFILLPATH { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRFILLPATH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRFILLPATH" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRFILLPATH { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds } } impl :: std :: cmp :: Eq for EMRFILLPATH { } unsafe impl :: windows :: Abi for EMRFILLPATH { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRFILLRGN { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cbRgnData : u32 , pub ihBrush : u32 , pub RgnData : [ u8 ;1 ] } impl EMRFILLRGN { } impl :: std :: default :: Default for EMRFILLRGN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRFILLRGN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRFILLRGN" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cbRgnData" , & self . cbRgnData ) . field ( "ihBrush" , & self . ihBrush ) . field ( "RgnData" , & self . RgnData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRFILLRGN { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cbRgnData == other . cbRgnData && self . ihBrush == other . ihBrush && self . RgnData == other . RgnData } } impl :: std :: cmp :: Eq for EMRFILLRGN { } unsafe impl :: windows :: Abi for EMRFILLRGN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRFORMAT { pub dSignature : u32 , pub nVersion : u32 , pub cbData : u32 , pub offData : u32 } impl EMRFORMAT { } impl :: std :: default :: Default for EMRFORMAT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRFORMAT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRFORMAT" ) . field ( "dSignature" , & self . dSignature ) . field ( "nVersion" , & self . nVersion ) . field ( "cbData" , & self . cbData ) . field ( "offData" , & self . offData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRFORMAT { fn eq ( & self , other : & Self ) -> bool { self . dSignature == other . dSignature && self . nVersion == other . nVersion && self . cbData == other . cbData && self . offData == other . offData } } impl :: std :: cmp :: Eq for EMRFORMAT { } unsafe impl :: windows :: Abi for EMRFORMAT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRFRAMERGN { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cbRgnData : u32 , pub ihBrush : u32 , pub szlStroke : super::super::Foundation:: SIZE , pub RgnData : [ u8 ;1 ] } impl EMRFRAMERGN { } impl :: std :: default :: Default for EMRFRAMERGN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRFRAMERGN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRFRAMERGN" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cbRgnData" , & self . cbRgnData ) . field ( "ihBrush" , & self . ihBrush ) . field ( "szlStroke" , & self . szlStroke ) . field ( "RgnData" , & self . RgnData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRFRAMERGN { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cbRgnData == other . cbRgnData && self . ihBrush == other . ihBrush && self . szlStroke == other . szlStroke && self . RgnData == other . RgnData } } impl :: std :: cmp :: Eq for EMRFRAMERGN { } unsafe impl :: windows :: Abi for EMRFRAMERGN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRGDICOMMENT { pub emr : EMR , pub cbData : u32 , pub Data : [ u8 ;1 ] } impl EMRGDICOMMENT { } impl :: std :: default :: Default for EMRGDICOMMENT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRGDICOMMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRGDICOMMENT" ) . field ( "emr" , & self . emr ) . field ( "cbData" , & self . cbData ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRGDICOMMENT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . cbData == other . cbData && self . Data == other . Data } } impl :: std :: cmp :: Eq for EMRGDICOMMENT { } unsafe impl :: windows :: Abi for EMRGDICOMMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRGLSBOUNDEDRECORD { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cbData : u32 , pub Data : [ u8 ;1 ] } impl EMRGLSBOUNDEDRECORD { } impl :: std :: default :: Default for EMRGLSBOUNDEDRECORD { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRGLSBOUNDEDRECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRGLSBOUNDEDRECORD" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cbData" , & self . cbData ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRGLSBOUNDEDRECORD { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cbData == other . cbData && self . Data == other . Data } } impl :: std :: cmp :: Eq for EMRGLSBOUNDEDRECORD { } unsafe impl :: windows :: Abi for EMRGLSBOUNDEDRECORD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRGLSRECORD { pub emr : EMR , pub cbData : u32 , pub Data : [ u8 ;1 ] } impl EMRGLSRECORD { } impl :: std :: default :: Default for EMRGLSRECORD { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRGLSRECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRGLSRECORD" ) . field ( "emr" , & self . emr ) . field ( "cbData" , & self . cbData ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRGLSRECORD { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . cbData == other . cbData && self . Data == other . Data } } impl :: std :: cmp :: Eq for EMRGLSRECORD { } unsafe impl :: windows :: Abi for EMRGLSRECORD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRGRADIENTFILL { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub nVer : u32 , pub nTri : u32 , pub ulMode : GRADIENT_FILL , pub Ver : [ TRIVERTEX ;1 ] } impl EMRGRADIENTFILL { } impl :: std :: default :: Default for EMRGRADIENTFILL { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRGRADIENTFILL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRGRADIENTFILL" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "nVer" , & self . nVer ) . field ( "nTri" , & self . nTri ) . field ( "ulMode" , & self . ulMode ) . field ( "Ver" , & self . Ver ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRGRADIENTFILL { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . nVer == other . nVer && self . nTri == other . nTri && self . ulMode == other . ulMode && self . Ver == other . Ver } } impl :: std :: cmp :: Eq for EMRGRADIENTFILL { } unsafe impl :: windows :: Abi for EMRGRADIENTFILL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRINVERTRGN { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cbRgnData : u32 , pub RgnData : [ u8 ;1 ] } impl EMRINVERTRGN { } impl :: std :: default :: Default for EMRINVERTRGN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRINVERTRGN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRINVERTRGN" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cbRgnData" , & self . cbRgnData ) . field ( "RgnData" , & self . RgnData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRINVERTRGN { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cbRgnData == other . cbRgnData && self . RgnData == other . RgnData } } impl :: std :: cmp :: Eq for EMRINVERTRGN { } unsafe impl :: windows :: Abi for EMRINVERTRGN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRLINETO { pub emr : EMR , pub ptl : super::super::Foundation:: POINTL } impl EMRLINETO { } impl :: std :: default :: Default for EMRLINETO { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRLINETO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRLINETO" ) . field ( "emr" , & self . emr ) . field ( "ptl" , & self . ptl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRLINETO { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ptl == other . ptl } } impl :: std :: cmp :: Eq for EMRLINETO { } unsafe impl :: windows :: Abi for EMRLINETO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRMASKBLT { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub xDest : i32 , pub yDest : i32 , pub cxDest : i32 , pub cyDest : i32 , pub dwRop : u32 , pub xSrc : i32 , pub ySrc : i32 , pub xformSrc : XFORM , pub crBkColorSrc : u32 , pub iUsageSrc : u32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 , pub xMask : i32 , pub yMask : i32 , pub iUsageMask : u32 , pub offBmiMask : u32 , pub cbBmiMask : u32 , pub offBitsMask : u32 , pub cbBitsMask : u32 } impl EMRMASKBLT { } impl :: std :: default :: Default for EMRMASKBLT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRMASKBLT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRMASKBLT" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "xDest" , & self . xDest ) . field ( "yDest" , & self . yDest ) . field ( "cxDest" , & self . cxDest ) . field ( "cyDest" , & self . cyDest ) . field ( "dwRop" , & self . dwRop ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "xformSrc" , & self . xformSrc ) . field ( "crBkColorSrc" , & self . crBkColorSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . field ( "xMask" , & self . xMask ) . field ( "yMask" , & self . yMask ) . field ( "iUsageMask" , & self . iUsageMask ) . field ( "offBmiMask" , & self . offBmiMask ) . field ( "cbBmiMask" , & self . cbBmiMask ) . field ( "offBitsMask" , & self . offBitsMask ) . field ( "cbBitsMask" , & self . cbBitsMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRMASKBLT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . xDest == other . xDest && self . yDest == other . yDest && self . cxDest == other . cxDest && self . cyDest == other . cyDest && self . dwRop == other . dwRop && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . xformSrc == other . xformSrc && self . crBkColorSrc == other . crBkColorSrc && self . iUsageSrc == other . iUsageSrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc && self . xMask == other . xMask && self . yMask == other . yMask && self . iUsageMask == other . iUsageMask && self . offBmiMask == other . offBmiMask && self . cbBmiMask == other . cbBmiMask && self . offBitsMask == other . offBitsMask && self . cbBitsMask == other . cbBitsMask } } impl :: std :: cmp :: Eq for EMRMASKBLT { } unsafe impl :: windows :: Abi for EMRMASKBLT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRMODIFYWORLDTRANSFORM { pub emr : EMR , pub xform : XFORM , pub iMode : u32 } impl EMRMODIFYWORLDTRANSFORM { } impl :: std :: default :: Default for EMRMODIFYWORLDTRANSFORM { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRMODIFYWORLDTRANSFORM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRMODIFYWORLDTRANSFORM" ) . field ( "emr" , & self . emr ) . field ( "xform" , & self . xform ) . field ( "iMode" , & self . iMode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRMODIFYWORLDTRANSFORM { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . xform == other . xform && self . iMode == other . iMode } } impl :: std :: cmp :: Eq for EMRMODIFYWORLDTRANSFORM { } unsafe impl :: windows :: Abi for EMRMODIFYWORLDTRANSFORM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRNAMEDESCAPE { pub emr : EMR , pub iEscape : i32 , pub cbDriver : i32 , pub cbEscData : i32 , pub EscData : [ u8 ;1 ] } impl EMRNAMEDESCAPE { } impl :: std :: default :: Default for EMRNAMEDESCAPE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRNAMEDESCAPE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRNAMEDESCAPE" ) . field ( "emr" , & self . emr ) . field ( "iEscape" , & self . iEscape ) . field ( "cbDriver" , & self . cbDriver ) . field ( "cbEscData" , & self . cbEscData ) . field ( "EscData" , & self . EscData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRNAMEDESCAPE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . iEscape == other . iEscape && self . cbDriver == other . cbDriver && self . cbEscData == other . cbEscData && self . EscData == other . EscData } } impl :: std :: cmp :: Eq for EMRNAMEDESCAPE { } unsafe impl :: windows :: Abi for EMRNAMEDESCAPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMROFFSETCLIPRGN { pub emr : EMR , pub ptlOffset : super::super::Foundation:: POINTL } impl EMROFFSETCLIPRGN { } impl :: std :: default :: Default for EMROFFSETCLIPRGN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMROFFSETCLIPRGN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMROFFSETCLIPRGN" ) . field ( "emr" , & self . emr ) . field ( "ptlOffset" , & self . ptlOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMROFFSETCLIPRGN { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ptlOffset == other . ptlOffset } } impl :: std :: cmp :: Eq for EMROFFSETCLIPRGN { } unsafe impl :: windows :: Abi for EMROFFSETCLIPRGN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPIXELFORMAT { pub emr : EMR , pub pfd : super::OpenGL:: PIXELFORMATDESCRIPTOR } impl EMRPIXELFORMAT { } impl :: std :: default :: Default for EMRPIXELFORMAT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPIXELFORMAT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPIXELFORMAT" ) . field ( "emr" , & self . emr ) . field ( "pfd" , & self . pfd ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPIXELFORMAT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . pfd == other . pfd } } impl :: std :: cmp :: Eq for EMRPIXELFORMAT { } unsafe impl :: windows :: Abi for EMRPIXELFORMAT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPLGBLT { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub aptlDest : [ super::super::Foundation:: POINTL ;3 ] , pub xSrc : i32 , pub ySrc : i32 , pub cxSrc : i32 , pub cySrc : i32 , pub xformSrc : XFORM , pub crBkColorSrc : u32 , pub iUsageSrc : u32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 , pub xMask : i32 , pub yMask : i32 , pub iUsageMask : u32 , pub offBmiMask : u32 , pub cbBmiMask : u32 , pub offBitsMask : u32 , pub cbBitsMask : u32 } impl EMRPLGBLT { } impl :: std :: default :: Default for EMRPLGBLT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPLGBLT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPLGBLT" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "aptlDest" , & self . aptlDest ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "cxSrc" , & self . cxSrc ) . field ( "cySrc" , & self . cySrc ) . field ( "xformSrc" , & self . xformSrc ) . field ( "crBkColorSrc" , & self . crBkColorSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . field ( "xMask" , & self . xMask ) . field ( "yMask" , & self . yMask ) . field ( "iUsageMask" , & self . iUsageMask ) . field ( "offBmiMask" , & self . offBmiMask ) . field ( "cbBmiMask" , & self . cbBmiMask ) . field ( "offBitsMask" , & self . offBitsMask ) . field ( "cbBitsMask" , & self . cbBitsMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPLGBLT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . aptlDest == other . aptlDest && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . cxSrc == other . cxSrc && self . cySrc == other . cySrc && self . xformSrc == other . xformSrc && self . crBkColorSrc == other . crBkColorSrc && self . iUsageSrc == other . iUsageSrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc && self . xMask == other . xMask && self . yMask == other . yMask && self . iUsageMask == other . iUsageMask && self . offBmiMask == other . offBmiMask && self . cbBmiMask == other . cbBmiMask && self . offBitsMask == other . offBitsMask && self . cbBitsMask == other . cbBitsMask } } impl :: std :: cmp :: Eq for EMRPLGBLT { } unsafe impl :: windows :: Abi for EMRPLGBLT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPOLYDRAW { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cptl : u32 , pub aptl : [ super::super::Foundation:: POINTL ;1 ] , pub abTypes : [ u8 ;1 ] } impl EMRPOLYDRAW { } impl :: std :: default :: Default for EMRPOLYDRAW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPOLYDRAW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPOLYDRAW" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cptl" , & self . cptl ) . field ( "aptl" , & self . aptl ) . field ( "abTypes" , & self . abTypes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPOLYDRAW { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cptl == other . cptl && self . aptl == other . aptl && self . abTypes == other . abTypes } } impl :: std :: cmp :: Eq for EMRPOLYDRAW { } unsafe impl :: windows :: Abi for EMRPOLYDRAW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPOLYDRAW16 { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cpts : u32 , pub apts : [ super::super::Foundation:: POINTS ;1 ] , pub abTypes : [ u8 ;1 ] } impl EMRPOLYDRAW16 { } impl :: std :: default :: Default for EMRPOLYDRAW16 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPOLYDRAW16 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPOLYDRAW16" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cpts" , & self . cpts ) . field ( "apts" , & self . apts ) . field ( "abTypes" , & self . abTypes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPOLYDRAW16 { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cpts == other . cpts && self . apts == other . apts && self . abTypes == other . abTypes } } impl :: std :: cmp :: Eq for EMRPOLYDRAW16 { } unsafe impl :: windows :: Abi for EMRPOLYDRAW16 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPOLYLINE { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cptl : u32 , pub aptl : [ super::super::Foundation:: POINTL ;1 ] } impl EMRPOLYLINE { } impl :: std :: default :: Default for EMRPOLYLINE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPOLYLINE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPOLYLINE" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cptl" , & self . cptl ) . field ( "aptl" , & self . aptl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPOLYLINE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cptl == other . cptl && self . aptl == other . aptl } } impl :: std :: cmp :: Eq for EMRPOLYLINE { } unsafe impl :: windows :: Abi for EMRPOLYLINE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPOLYLINE16 { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cpts : u32 , pub apts : [ super::super::Foundation:: POINTS ;1 ] } impl EMRPOLYLINE16 { } impl :: std :: default :: Default for EMRPOLYLINE16 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPOLYLINE16 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPOLYLINE16" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cpts" , & self . cpts ) . field ( "apts" , & self . apts ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPOLYLINE16 { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cpts == other . cpts && self . apts == other . apts } } impl :: std :: cmp :: Eq for EMRPOLYLINE16 { } unsafe impl :: windows :: Abi for EMRPOLYLINE16 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPOLYPOLYLINE { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub nPolys : u32 , pub cptl : u32 , pub aPolyCounts : [ u32 ;1 ] , pub aptl : [ super::super::Foundation:: POINTL ;1 ] } impl EMRPOLYPOLYLINE { } impl :: std :: default :: Default for EMRPOLYPOLYLINE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPOLYPOLYLINE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPOLYPOLYLINE" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "nPolys" , & self . nPolys ) . field ( "cptl" , & self . cptl ) . field ( "aPolyCounts" , & self . aPolyCounts ) . field ( "aptl" , & self . aptl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPOLYPOLYLINE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . nPolys == other . nPolys && self . cptl == other . cptl && self . aPolyCounts == other . aPolyCounts && self . aptl == other . aptl } } impl :: std :: cmp :: Eq for EMRPOLYPOLYLINE { } unsafe impl :: windows :: Abi for EMRPOLYPOLYLINE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPOLYPOLYLINE16 { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub nPolys : u32 , pub cpts : u32 , pub aPolyCounts : [ u32 ;1 ] , pub apts : [ super::super::Foundation:: POINTS ;1 ] } impl EMRPOLYPOLYLINE16 { } impl :: std :: default :: Default for EMRPOLYPOLYLINE16 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPOLYPOLYLINE16 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPOLYPOLYLINE16" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "nPolys" , & self . nPolys ) . field ( "cpts" , & self . cpts ) . field ( "aPolyCounts" , & self . aPolyCounts ) . field ( "apts" , & self . apts ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPOLYPOLYLINE16 { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . nPolys == other . nPolys && self . cpts == other . cpts && self . aPolyCounts == other . aPolyCounts && self . apts == other . apts } } impl :: std :: cmp :: Eq for EMRPOLYPOLYLINE16 { } unsafe impl :: windows :: Abi for EMRPOLYPOLYLINE16 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPOLYTEXTOUTA { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub iGraphicsMode : u32 , pub exScale : f32 , pub eyScale : f32 , pub cStrings : i32 , pub aemrtext : [ EMRTEXT ;1 ] } impl EMRPOLYTEXTOUTA { } impl :: std :: default :: Default for EMRPOLYTEXTOUTA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPOLYTEXTOUTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPOLYTEXTOUTA" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "iGraphicsMode" , & self . iGraphicsMode ) . field ( "exScale" , & self . exScale ) . field ( "eyScale" , & self . eyScale ) . field ( "cStrings" , & self . cStrings ) . field ( "aemrtext" , & self . aemrtext ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPOLYTEXTOUTA { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . iGraphicsMode == other . iGraphicsMode && self . exScale == other . exScale && self . eyScale == other . eyScale && self . cStrings == other . cStrings && self . aemrtext == other . aemrtext } } impl :: std :: cmp :: Eq for EMRPOLYTEXTOUTA { } unsafe impl :: windows :: Abi for EMRPOLYTEXTOUTA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRRESIZEPALETTE { pub emr : EMR , pub ihPal : u32 , pub cEntries : u32 } impl EMRRESIZEPALETTE { } impl :: std :: default :: Default for EMRRESIZEPALETTE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRRESIZEPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRRESIZEPALETTE" ) . field ( "emr" , & self . emr ) . field ( "ihPal" , & self . ihPal ) . field ( "cEntries" , & self . cEntries ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRRESIZEPALETTE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihPal == other . ihPal && self . cEntries == other . cEntries } } impl :: std :: cmp :: Eq for EMRRESIZEPALETTE { } unsafe impl :: windows :: Abi for EMRRESIZEPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRRESTOREDC { pub emr : EMR , pub iRelative : i32 } impl EMRRESTOREDC { } impl :: std :: default :: Default for EMRRESTOREDC { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRRESTOREDC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRRESTOREDC" ) . field ( "emr" , & self . emr ) . field ( "iRelative" , & self . iRelative ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRRESTOREDC { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . iRelative == other . iRelative } } impl :: std :: cmp :: Eq for EMRRESTOREDC { } unsafe impl :: windows :: Abi for EMRRESTOREDC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRROUNDRECT { pub emr : EMR , pub rclBox : super::super::Foundation:: RECTL , pub szlCorner : super::super::Foundation:: SIZE } impl EMRROUNDRECT { } impl :: std :: default :: Default for EMRROUNDRECT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRROUNDRECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRROUNDRECT" ) . field ( "emr" , & self . emr ) . field ( "rclBox" , & self . rclBox ) . field ( "szlCorner" , & self . szlCorner ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRROUNDRECT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBox == other . rclBox && self . szlCorner == other . szlCorner } } impl :: std :: cmp :: Eq for EMRROUNDRECT { } unsafe impl :: windows :: Abi for EMRROUNDRECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSCALEVIEWPORTEXTEX { pub emr : EMR , pub xNum : i32 , pub xDenom : i32 , pub yNum : i32 , pub yDenom : i32 } impl EMRSCALEVIEWPORTEXTEX { } impl :: std :: default :: Default for EMRSCALEVIEWPORTEXTEX { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSCALEVIEWPORTEXTEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSCALEVIEWPORTEXTEX" ) . field ( "emr" , & self . emr ) . field ( "xNum" , & self . xNum ) . field ( "xDenom" , & self . xDenom ) . field ( "yNum" , & self . yNum ) . field ( "yDenom" , & self . yDenom ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSCALEVIEWPORTEXTEX { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . xNum == other . xNum && self . xDenom == other . xDenom && self . yNum == other . yNum && self . yDenom == other . yDenom } } impl :: std :: cmp :: Eq for EMRSCALEVIEWPORTEXTEX { } unsafe impl :: windows :: Abi for EMRSCALEVIEWPORTEXTEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSELECTCLIPPATH { pub emr : EMR , pub iMode : u32 } impl EMRSELECTCLIPPATH { } impl :: std :: default :: Default for EMRSELECTCLIPPATH { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSELECTCLIPPATH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSELECTCLIPPATH" ) . field ( "emr" , & self . emr ) . field ( "iMode" , & self . iMode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSELECTCLIPPATH { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . iMode == other . iMode } } impl :: std :: cmp :: Eq for EMRSELECTCLIPPATH { } unsafe impl :: windows :: Abi for EMRSELECTCLIPPATH { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSELECTOBJECT { pub emr : EMR , pub ihObject : u32 } impl EMRSELECTOBJECT { } impl :: std :: default :: Default for EMRSELECTOBJECT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSELECTOBJECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSELECTOBJECT" ) . field ( "emr" , & self . emr ) . field ( "ihObject" , & self . ihObject ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSELECTOBJECT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihObject == other . ihObject } } impl :: std :: cmp :: Eq for EMRSELECTOBJECT { } unsafe impl :: windows :: Abi for EMRSELECTOBJECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSELECTPALETTE { pub emr : EMR , pub ihPal : u32 } impl EMRSELECTPALETTE { } impl :: std :: default :: Default for EMRSELECTPALETTE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSELECTPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSELECTPALETTE" ) . field ( "emr" , & self . emr ) . field ( "ihPal" , & self . ihPal ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSELECTPALETTE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihPal == other . ihPal } } impl :: std :: cmp :: Eq for EMRSELECTPALETTE { } unsafe impl :: windows :: Abi for EMRSELECTPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETARCDIRECTION { pub emr : EMR , pub iArcDirection : u32 } impl EMRSETARCDIRECTION { } impl :: std :: default :: Default for EMRSETARCDIRECTION { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETARCDIRECTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETARCDIRECTION" ) . field ( "emr" , & self . emr ) . field ( "iArcDirection" , & self . iArcDirection ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETARCDIRECTION { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . iArcDirection == other . iArcDirection } } impl :: std :: cmp :: Eq for EMRSETARCDIRECTION { } unsafe impl :: windows :: Abi for EMRSETARCDIRECTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETCOLORADJUSTMENT { pub emr : EMR , pub ColorAdjustment : COLORADJUSTMENT } impl EMRSETCOLORADJUSTMENT { } impl :: std :: default :: Default for EMRSETCOLORADJUSTMENT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETCOLORADJUSTMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETCOLORADJUSTMENT" ) . field ( "emr" , & self . emr ) . field ( "ColorAdjustment" , & self . ColorAdjustment ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETCOLORADJUSTMENT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ColorAdjustment == other . ColorAdjustment } } impl :: std :: cmp :: Eq for EMRSETCOLORADJUSTMENT { } unsafe impl :: windows :: Abi for EMRSETCOLORADJUSTMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETCOLORSPACE { pub emr : EMR , pub ihCS : u32 } impl EMRSETCOLORSPACE { } impl :: std :: default :: Default for EMRSETCOLORSPACE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETCOLORSPACE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETCOLORSPACE" ) . field ( "emr" , & self . emr ) . field ( "ihCS" , & self . ihCS ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETCOLORSPACE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihCS == other . ihCS } } impl :: std :: cmp :: Eq for EMRSETCOLORSPACE { } unsafe impl :: windows :: Abi for EMRSETCOLORSPACE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETDIBITSTODEVICE { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub xDest : i32 , pub yDest : i32 , pub xSrc : i32 , pub ySrc : i32 , pub cxSrc : i32 , pub cySrc : i32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 , pub iUsageSrc : u32 , pub iStartScan : u32 , pub cScans : u32 } impl EMRSETDIBITSTODEVICE { } impl :: std :: default :: Default for EMRSETDIBITSTODEVICE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETDIBITSTODEVICE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETDIBITSTODEVICE" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "xDest" , & self . xDest ) . field ( "yDest" , & self . yDest ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "cxSrc" , & self . cxSrc ) . field ( "cySrc" , & self . cySrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "iStartScan" , & self . iStartScan ) . field ( "cScans" , & self . cScans ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETDIBITSTODEVICE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . xDest == other . xDest && self . yDest == other . yDest && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . cxSrc == other . cxSrc && self . cySrc == other . cySrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc && self . iUsageSrc == other . iUsageSrc && self . iStartScan == other . iStartScan && self . cScans == other . cScans } } impl :: std :: cmp :: Eq for EMRSETDIBITSTODEVICE { } unsafe impl :: windows :: Abi for EMRSETDIBITSTODEVICE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETICMPROFILE { pub emr : EMR , pub dwFlags : u32 , pub cbName : u32 , pub cbData : u32 , pub Data : [ u8 ;1 ] } impl EMRSETICMPROFILE { } impl :: std :: default :: Default for EMRSETICMPROFILE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETICMPROFILE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETICMPROFILE" ) . field ( "emr" , & self . emr ) . field ( "dwFlags" , & self . dwFlags ) . field ( "cbName" , & self . cbName ) . field ( "cbData" , & self . cbData ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETICMPROFILE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . dwFlags == other . dwFlags && self . cbName == other . cbName && self . cbData == other . cbData && self . Data == other . Data } } impl :: std :: cmp :: Eq for EMRSETICMPROFILE { } unsafe impl :: windows :: Abi for EMRSETICMPROFILE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETMAPPERFLAGS { pub emr : EMR , pub dwFlags : u32 } impl EMRSETMAPPERFLAGS { } impl :: std :: default :: Default for EMRSETMAPPERFLAGS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETMAPPERFLAGS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETMAPPERFLAGS" ) . field ( "emr" , & self . emr ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETMAPPERFLAGS { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . dwFlags == other . dwFlags } } impl :: std :: cmp :: Eq for EMRSETMAPPERFLAGS { } unsafe impl :: windows :: Abi for EMRSETMAPPERFLAGS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETMITERLIMIT { pub emr : EMR , pub eMiterLimit : f32 } impl EMRSETMITERLIMIT { } impl :: std :: default :: Default for EMRSETMITERLIMIT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETMITERLIMIT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETMITERLIMIT" ) . field ( "emr" , & self . emr ) . field ( "eMiterLimit" , & self . eMiterLimit ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETMITERLIMIT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . eMiterLimit == other . eMiterLimit } } impl :: std :: cmp :: Eq for EMRSETMITERLIMIT { } unsafe impl :: windows :: Abi for EMRSETMITERLIMIT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETPALETTEENTRIES { pub emr : EMR , pub ihPal : u32 , pub iStart : u32 , pub cEntries : u32 , pub aPalEntries : [ PALETTEENTRY ;1 ] } impl EMRSETPALETTEENTRIES { } impl :: std :: default :: Default for EMRSETPALETTEENTRIES { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETPALETTEENTRIES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETPALETTEENTRIES" ) . field ( "emr" , & self . emr ) . field ( "ihPal" , & self . ihPal ) . field ( "iStart" , & self . iStart ) . field ( "cEntries" , & self . cEntries ) . field ( "aPalEntries" , & self . aPalEntries ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETPALETTEENTRIES { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihPal == other . ihPal && self . iStart == other . iStart && self . cEntries == other . cEntries && self . aPalEntries == other . aPalEntries } } impl :: std :: cmp :: Eq for EMRSETPALETTEENTRIES { } unsafe impl :: windows :: Abi for EMRSETPALETTEENTRIES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETPIXELV { pub emr : EMR , pub ptlPixel : super::super::Foundation:: POINTL , pub crColor : u32 } impl EMRSETPIXELV { } impl :: std :: default :: Default for EMRSETPIXELV { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETPIXELV { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETPIXELV" ) . field ( "emr" , & self . emr ) . field ( "ptlPixel" , & self . ptlPixel ) . field ( "crColor" , & self . crColor ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETPIXELV { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ptlPixel == other . ptlPixel && self . crColor == other . crColor } } impl :: std :: cmp :: Eq for EMRSETPIXELV { } unsafe impl :: windows :: Abi for EMRSETPIXELV { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETTEXTCOLOR { pub emr : EMR , pub crColor : u32 } impl EMRSETTEXTCOLOR { } impl :: std :: default :: Default for EMRSETTEXTCOLOR { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETTEXTCOLOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETTEXTCOLOR" ) . field ( "emr" , & self . emr ) . field ( "crColor" , & self . crColor ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETTEXTCOLOR { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . crColor == other . crColor } } impl :: std :: cmp :: Eq for EMRSETTEXTCOLOR { } unsafe impl :: windows :: Abi for EMRSETTEXTCOLOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETVIEWPORTEXTEX { pub emr : EMR , pub szlExtent : super::super::Foundation:: SIZE } impl EMRSETVIEWPORTEXTEX { } impl :: std :: default :: Default for EMRSETVIEWPORTEXTEX { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETVIEWPORTEXTEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETVIEWPORTEXTEX" ) . field ( "emr" , & self . emr ) . field ( "szlExtent" , & self . szlExtent ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETVIEWPORTEXTEX { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . szlExtent == other . szlExtent } } impl :: std :: cmp :: Eq for EMRSETVIEWPORTEXTEX { } unsafe impl :: windows :: Abi for EMRSETVIEWPORTEXTEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETVIEWPORTORGEX { pub emr : EMR , pub ptlOrigin : super::super::Foundation:: POINTL } impl EMRSETVIEWPORTORGEX { } impl :: std :: default :: Default for EMRSETVIEWPORTORGEX { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETVIEWPORTORGEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETVIEWPORTORGEX" ) . field ( "emr" , & self . emr ) . field ( "ptlOrigin" , & self . ptlOrigin ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETVIEWPORTORGEX { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ptlOrigin == other . ptlOrigin } } impl :: std :: cmp :: Eq for EMRSETVIEWPORTORGEX { } unsafe impl :: windows :: Abi for EMRSETVIEWPORTORGEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETWORLDTRANSFORM { pub emr : EMR , pub xform : XFORM } impl EMRSETWORLDTRANSFORM { } impl :: std :: default :: Default for EMRSETWORLDTRANSFORM { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETWORLDTRANSFORM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETWORLDTRANSFORM" ) . field ( "emr" , & self . emr ) . field ( "xform" , & self . xform ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETWORLDTRANSFORM { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . xform == other . xform } } impl :: std :: cmp :: Eq for EMRSETWORLDTRANSFORM { } unsafe impl :: windows :: Abi for EMRSETWORLDTRANSFORM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSTRETCHBLT { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub xDest : i32 , pub yDest : i32 , pub cxDest : i32 , pub cyDest : i32 , pub dwRop : u32 , pub xSrc : i32 , pub ySrc : i32 , pub xformSrc : XFORM , pub crBkColorSrc : u32 , pub iUsageSrc : u32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 , pub cxSrc : i32 , pub cySrc : i32 } impl EMRSTRETCHBLT { } impl :: std :: default :: Default for EMRSTRETCHBLT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSTRETCHBLT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSTRETCHBLT" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "xDest" , & self . xDest ) . field ( "yDest" , & self . yDest ) . field ( "cxDest" , & self . cxDest ) . field ( "cyDest" , & self . cyDest ) . field ( "dwRop" , & self . dwRop ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "xformSrc" , & self . xformSrc ) . field ( "crBkColorSrc" , & self . crBkColorSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . field ( "cxSrc" , & self . cxSrc ) . field ( "cySrc" , & self . cySrc ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSTRETCHBLT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . xDest == other . xDest && self . yDest == other . yDest && self . cxDest == other . cxDest && self . cyDest == other . cyDest && self . dwRop == other . dwRop && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . xformSrc == other . xformSrc && self . crBkColorSrc == other . crBkColorSrc && self . iUsageSrc == other . iUsageSrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc && self . cxSrc == other . cxSrc && self . cySrc == other . cySrc } } impl :: std :: cmp :: Eq for EMRSTRETCHBLT { } unsafe impl :: windows :: Abi for EMRSTRETCHBLT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSTRETCHDIBITS { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub xDest : i32 , pub yDest : i32 , pub xSrc : i32 , pub ySrc : i32 , pub cxSrc : i32 , pub cySrc : i32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 , pub iUsageSrc : u32 , pub dwRop : u32 , pub cxDest : i32 , pub cyDest : i32 } impl EMRSTRETCHDIBITS { } impl :: std :: default :: Default for EMRSTRETCHDIBITS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSTRETCHDIBITS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSTRETCHDIBITS" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "xDest" , & self . xDest ) . field ( "yDest" , & self . yDest ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "cxSrc" , & self . cxSrc ) . field ( "cySrc" , & self . cySrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "dwRop" , & self . dwRop ) . field ( "cxDest" , & self . cxDest ) . field ( "cyDest" , & self . cyDest ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSTRETCHDIBITS { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . xDest == other . xDest && self . yDest == other . yDest && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . cxSrc == other . cxSrc && self . cySrc == other . cySrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc && self . iUsageSrc == other . iUsageSrc && self . dwRop == other . dwRop && self . cxDest == other . cxDest && self . cyDest == other . cyDest } } impl :: std :: cmp :: Eq for EMRSTRETCHDIBITS { } unsafe impl :: windows :: Abi for EMRSTRETCHDIBITS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRTEXT { pub ptlReference : super::super::Foundation:: POINTL , pub nChars : u32 , pub offString : u32 , pub fOptions : u32 , pub rcl : super::super::Foundation:: RECTL , pub offDx : u32 } impl EMRTEXT { } impl :: std :: default :: Default for EMRTEXT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRTEXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRTEXT" ) . field ( "ptlReference" , & self . ptlReference ) . field ( "nChars" , & self . nChars ) . field ( "offString" , & self . offString ) . field ( "fOptions" , & self . fOptions ) . field ( "rcl" , & self . rcl ) . field ( "offDx" , & self . offDx ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRTEXT { fn eq ( & self , other : & Self ) -> bool { self . ptlReference == other . ptlReference && self . nChars == other . nChars && self . offString == other . offString && self . fOptions == other . fOptions && self . rcl == other . rcl && self . offDx == other . offDx } } impl :: std :: cmp :: Eq for EMRTEXT { } unsafe impl :: windows :: Abi for EMRTEXT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRTRANSPARENTBLT { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub xDest : i32 , pub yDest : i32 , pub cxDest : i32 , pub cyDest : i32 , pub dwRop : u32 , pub xSrc : i32 , pub ySrc : i32 , pub xformSrc : XFORM , pub crBkColorSrc : u32 , pub iUsageSrc : u32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 , pub cxSrc : i32 , pub cySrc : i32 } impl EMRTRANSPARENTBLT { } impl :: std :: default :: Default for EMRTRANSPARENTBLT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRTRANSPARENTBLT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRTRANSPARENTBLT" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "xDest" , & self . xDest ) . field ( "yDest" , & self . yDest ) . field ( "cxDest" , & self . cxDest ) . field ( "cyDest" , & self . cyDest ) . field ( "dwRop" , & self . dwRop ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "xformSrc" , & self . xformSrc ) . field ( "crBkColorSrc" , & self . crBkColorSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . field ( "cxSrc" , & self . cxSrc ) . field ( "cySrc" , & self . cySrc ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRTRANSPARENTBLT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . xDest == other . xDest && self . yDest == other . yDest && self . cxDest == other . cxDest && self . cyDest == other . cyDest && self . dwRop == other . dwRop && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . xformSrc == other . xformSrc && self . crBkColorSrc == other . crBkColorSrc && self . iUsageSrc == other . iUsageSrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc && self . cxSrc == other . cxSrc && self . cySrc == other . cySrc } } impl :: std :: cmp :: Eq for EMRTRANSPARENTBLT { } unsafe impl :: windows :: Abi for EMRTRANSPARENTBLT { type Abi = Self ; type DefaultType = Self ; } pub const EMR_ABORTPATH : u32 = 68u32 ; pub const EMR_ALPHABLEND : u32 = 114u32 ; pub const EMR_ANGLEARC : u32 = 41u32 ; pub const EMR_ARC : u32 = 45u32 ; pub const EMR_ARCTO : u32 = 55u32 ; pub const EMR_BEGINPATH : u32 = 59u32 ; pub const EMR_BITBLT : u32 = 76u32 ; pub const EMR_CHORD : u32 = 46u32 ; pub const EMR_CLOSEFIGURE : u32 = 61u32 ; pub const EMR_COLORCORRECTPALETTE : u32 = 111u32 ; pub const EMR_COLORMATCHTOTARGETW : u32 = 121u32 ; pub const EMR_CREATEBRUSHINDIRECT : u32 = 39u32 ; pub const EMR_CREATECOLORSPACE : u32 = 99u32 ; pub const EMR_CREATECOLORSPACEW : u32 = 122u32 ; pub const EMR_CREATEDIBPATTERNBRUSHPT : u32 = 94u32 ; pub const EMR_CREATEMONOBRUSH : u32 = 93u32 ; pub const EMR_CREATEPALETTE : u32 = 49u32 ; pub const EMR_CREATEPEN : u32 = 38u32 ; pub const EMR_DELETECOLORSPACE : u32 = 101u32 ; pub const EMR_DELETEOBJECT : u32 = 40u32 ; pub const EMR_ELLIPSE : u32 = 42u32 ; pub const EMR_ENDPATH : u32 = 60u32 ; pub const EMR_EOF : u32 = 14u32 ; pub const EMR_EXCLUDECLIPRECT : u32 = 29u32 ; pub const EMR_EXTCREATEFONTINDIRECTW : u32 = 82u32 ; pub const EMR_EXTCREATEPEN : u32 = 95u32 ; pub const EMR_EXTFLOODFILL : u32 = 53u32 ; pub const EMR_EXTSELECTCLIPRGN : u32 = 75u32 ; pub const EMR_EXTTEXTOUTA : u32 = 83u32 ; pub const EMR_EXTTEXTOUTW : u32 = 84u32 ; pub const EMR_FILLPATH : u32 = 62u32 ; pub const EMR_FILLRGN : u32 = 71u32 ; pub const EMR_FLATTENPATH : u32 = 65u32 ; pub const EMR_FRAMERGN : u32 = 72u32 ; pub const EMR_GDICOMMENT : u32 = 70u32 ; pub const EMR_GLSBOUNDEDRECORD : u32 = 103u32 ; pub const EMR_GLSRECORD : u32 = 102u32 ; pub const EMR_GRADIENTFILL : u32 = 118u32 ; pub const EMR_HEADER : u32 = 1u32 ; pub const EMR_INTERSECTCLIPRECT : u32 = 30u32 ; pub const EMR_INVERTRGN : u32 = 73u32 ; pub const EMR_LINETO : u32 = 54u32 ; pub const EMR_MASKBLT : u32 = 78u32 ; pub const EMR_MAX : u32 = 122u32 ; pub const EMR_MIN : u32 = 1u32 ; pub const EMR_MODIFYWORLDTRANSFORM : u32 = 36u32 ; pub const EMR_MOVETOEX : u32 = 27u32 ; pub const EMR_OFFSETCLIPRGN : u32 = 26u32 ; pub const EMR_PAINTRGN : u32 = 74u32 ; pub const EMR_PIE : u32 = 47u32 ; pub const EMR_PIXELFORMAT : u32 = 104u32 ; pub const EMR_PLGBLT : u32 = 79u32 ; pub const EMR_POLYBEZIER : u32 = 2u32 ; pub const EMR_POLYBEZIER16 : u32 = 85u32 ; pub const EMR_POLYBEZIERTO : u32 = 5u32 ; pub const EMR_POLYBEZIERTO16 : u32 = 88u32 ; pub const EMR_POLYDRAW : u32 = 56u32 ; pub const EMR_POLYDRAW16 : u32 = 92u32 ; pub const EMR_POLYGON : u32 = 3u32 ; pub const EMR_POLYGON16 : u32 = 86u32 ; pub const EMR_POLYLINE : u32 = 4u32 ; pub const EMR_POLYLINE16 : u32 = 87u32 ; pub const EMR_POLYLINETO : u32 = 6u32 ; pub const EMR_POLYLINETO16 : u32 = 89u32 ; pub const EMR_POLYPOLYGON : u32 = 8u32 ; pub const EMR_POLYPOLYGON16 : u32 = 91u32 ; pub const EMR_POLYPOLYLINE : u32 = 7u32 ; pub const EMR_POLYPOLYLINE16 : u32 = 90u32 ; pub const EMR_POLYTEXTOUTA : u32 = 96u32 ; pub const EMR_POLYTEXTOUTW : u32 = 97u32 ; pub const EMR_REALIZEPALETTE : u32 = 52u32 ; pub const EMR_RECTANGLE : u32 = 43u32 ; pub const EMR_RESERVED_105 : u32 = 105u32 ; pub const EMR_RESERVED_106 : u32 = 106u32 ; pub const EMR_RESERVED_107 : u32 = 107u32 ; pub const EMR_RESERVED_108 : u32 = 108u32 ; pub const EMR_RESERVED_109 : u32 = 109u32 ; pub const EMR_RESERVED_110 : u32 = 110u32 ; pub const EMR_RESERVED_117 : u32 = 117u32 ; pub const EMR_RESERVED_119 : u32 = 119u32 ; pub const EMR_RESERVED_120 : u32 = 120u32 ; pub const EMR_RESIZEPALETTE : u32 = 51u32 ; pub const EMR_RESTOREDC : u32 = 34u32 ; pub const EMR_ROUNDRECT : u32 = 44u32 ; pub const EMR_SAVEDC : u32 = 33u32 ; pub const EMR_SCALEVIEWPORTEXTEX : u32 = 31u32 ; pub const EMR_SCALEWINDOWEXTEX : u32 = 32u32 ; pub const EMR_SELECTCLIPPATH : u32 = 67u32 ; pub const EMR_SELECTOBJECT : u32 = 37u32 ; pub const EMR_SELECTPALETTE : u32 = 48u32 ; pub const EMR_SETARCDIRECTION : u32 = 57u32 ; pub const EMR_SETBKCOLOR : u32 = 25u32 ; pub const EMR_SETBKMODE : u32 = 18u32 ; pub const EMR_SETBRUSHORGEX : u32 = 13u32 ; pub const EMR_SETCOLORADJUSTMENT : u32 = 23u32 ; pub const EMR_SETCOLORSPACE : u32 = 100u32 ; pub const EMR_SETDIBITSTODEVICE : u32 = 80u32 ; pub const EMR_SETICMMODE : u32 = 98u32 ; pub const EMR_SETICMPROFILEA : u32 = 112u32 ; pub const EMR_SETICMPROFILEW : u32 = 113u32 ; pub const EMR_SETLAYOUT : u32 = 115u32 ; pub const EMR_SETMAPMODE : u32 = 17u32 ; pub const EMR_SETMAPPERFLAGS : u32 = 16u32 ; pub const EMR_SETMETARGN : u32 = 28u32 ; pub const EMR_SETMITERLIMIT : u32 = 58u32 ; pub const EMR_SETPALETTEENTRIES : u32 = 50u32 ; pub const EMR_SETPIXELV : u32 = 15u32 ; pub const EMR_SETPOLYFILLMODE : u32 = 19u32 ; pub const EMR_SETROP2 : u32 = 20u32 ; pub const EMR_SETSTRETCHBLTMODE : u32 = 21u32 ; pub const EMR_SETTEXTALIGN : u32 = 22u32 ; pub const EMR_SETTEXTCOLOR : u32 = 24u32 ; pub const EMR_SETVIEWPORTEXTEX : u32 = 11u32 ; pub const EMR_SETVIEWPORTORGEX : u32 = 12u32 ; pub const EMR_SETWINDOWEXTEX : u32 = 9u32 ; pub const EMR_SETWINDOWORGEX : u32 = 10u32 ; pub const EMR_SETWORLDTRANSFORM : u32 = 35u32 ; pub const EMR_STRETCHBLT : u32 = 77u32 ; pub const EMR_STRETCHDIBITS : u32 = 81u32 ; pub const EMR_STROKEANDFILLPATH : u32 = 63u32 ; pub const EMR_STROKEPATH : u32 = 64u32 ; pub const EMR_TRANSPARENTBLT : u32 = 116u32 ; pub const EMR_WIDENPATH : u32 = 66u32 ; pub const ENABLEDUPLEX : u32 = 28u32 ; pub const ENABLEPAIRKERNING : u32 = 769u32 ; pub const ENABLERELATIVEWIDTHS : u32 = 768u32 ; pub const ENCAPSULATED_POSTSCRIPT : u32 = 4116u32 ; pub const ENDDOC : u32 = 11u32 ; pub const END_PATH : u32 = 4098u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENHMETAHEADER { pub iType : u32 , pub nSize : u32 , pub rclBounds : super::super::Foundation:: RECTL , pub rclFrame : super::super::Foundation:: RECTL , pub dSignature : u32 , pub nVersion : u32 , pub nBytes : u32 , pub nRecords : u32 , pub nHandles : u16 , pub sReserved : u16 , pub nDescription : u32 , pub offDescription : u32 , pub nPalEntries : u32 , pub szlDevice : super::super::Foundation:: SIZE , pub szlMillimeters : super::super::Foundation:: SIZE , pub cbPixelFormat : u32 , pub offPixelFormat : u32 , pub bOpenGL : u32 , pub szlMicrometers : super::super::Foundation:: SIZE } impl ENHMETAHEADER { } impl :: std :: default :: Default for ENHMETAHEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENHMETAHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENHMETAHEADER" ) . field ( "iType" , & self . iType ) . field ( "nSize" , & self . nSize ) . field ( "rclBounds" , & self . rclBounds ) . field ( "rclFrame" , & self . rclFrame ) . field ( "dSignature" , & self . dSignature ) . field ( "nVersion" , & self . nVersion ) . field ( "nBytes" , & self . nBytes ) . field ( "nRecords" , & self . nRecords ) . field ( "nHandles" , & self . nHandles ) . field ( "sReserved" , & self . sReserved ) . field ( "nDescription" , & self . nDescription ) . field ( "offDescription" , & self . offDescription ) . field ( "nPalEntries" , & self . nPalEntries ) . field ( "szlDevice" , & self . szlDevice ) . field ( "szlMillimeters" , & self . szlMillimeters ) . field ( "cbPixelFormat" , & self . cbPixelFormat ) . field ( "offPixelFormat" , & self . offPixelFormat ) . field ( "bOpenGL" , & self . bOpenGL ) . field ( "szlMicrometers" , & self . szlMicrometers ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENHMETAHEADER { fn eq ( & self , other : & Self ) -> bool { self . iType == other . iType && self . nSize == other . nSize && self . rclBounds == other . rclBounds && self . rclFrame == other . rclFrame && self . dSignature == other . dSignature && self . nVersion == other . nVersion && self . nBytes == other . nBytes && self . nRecords == other . nRecords && self . nHandles == other . nHandles && self . sReserved == other . sReserved && self . nDescription == other . nDescription && self . offDescription == other . offDescription && self . nPalEntries == other . nPalEntries && self . szlDevice == other . szlDevice && self . szlMillimeters == other . szlMillimeters && self . cbPixelFormat == other . cbPixelFormat && self . offPixelFormat == other . offPixelFormat && self . bOpenGL == other . bOpenGL && self . szlMicrometers == other . szlMicrometers } } impl :: std :: cmp :: Eq for ENHMETAHEADER { } unsafe impl :: windows :: Abi for ENHMETAHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENHMETARECORD { pub iType : u32 , pub nSize : u32 , pub dParm : [ u32 ;1 ] } impl ENHMETARECORD { } impl :: std :: default :: Default for ENHMETARECORD { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENHMETARECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENHMETARECORD" ) . field ( "iType" , & self . iType ) . field ( "nSize" , & self . nSize ) . field ( "dParm" , & self . dParm ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENHMETARECORD { fn eq ( & self , other : & Self ) -> bool { self . iType == other . iType && self . nSize == other . nSize && self . dParm == other . dParm } } impl :: std :: cmp :: Eq for ENHMETARECORD { } unsafe impl :: windows :: Abi for ENHMETARECORD { type Abi = Self ; type DefaultType = Self ; } pub const ENHMETA_SIGNATURE : u32 = 1179469088u32 ; pub const ENHMETA_STOCK_OBJECT : u32 = 2147483648u32 ; pub type ENHMFENUMPROC = unsafe extern "system" fn ( hdc : HDC , lpht : * const HANDLETABLE , lpmr : * const ENHMETARECORD , nhandles : i32 , data : super::super::Foundation:: LPARAM ) -> i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMLOGFONTA { pub elfLogFont : LOGFONTA , pub elfFullName : [ u8 ;64 ] , pub elfStyle : [ u8 ;32 ] } impl ENUMLOGFONTA { } impl :: std :: default :: Default for ENUMLOGFONTA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMLOGFONTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMLOGFONTA" ) . field ( "elfLogFont" , & self . elfLogFont ) . field ( "elfFullName" , & self . elfFullName ) . field ( "elfStyle" , & self . elfStyle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMLOGFONTA { fn eq ( & self , other : & Self ) -> bool { self . elfLogFont == other . elfLogFont && self . elfFullName == other . elfFullName && self . elfStyle == other . elfStyle } } impl :: std :: cmp :: Eq for ENUMLOGFONTA { } unsafe impl :: windows :: Abi for ENUMLOGFONTA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMLOGFONTEXA { pub elfLogFont : LOGFONTA , pub elfFullName : [ u8 ;64 ] , pub elfStyle : [ u8 ;32 ] , pub elfScript : [ u8 ;32 ] } impl ENUMLOGFONTEXA { } impl :: std :: default :: Default for ENUMLOGFONTEXA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMLOGFONTEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMLOGFONTEXA" ) . field ( "elfLogFont" , & self . elfLogFont ) . field ( "elfFullName" , & self . elfFullName ) . field ( "elfStyle" , & self . elfStyle ) . field ( "elfScript" , & self . elfScript ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMLOGFONTEXA { fn eq ( & self , other : & Self ) -> bool { self . elfLogFont == other . elfLogFont && self . elfFullName == other . elfFullName && self . elfStyle == other . elfStyle && self . elfScript == other . elfScript } } impl :: std :: cmp :: Eq for ENUMLOGFONTEXA { } unsafe impl :: windows :: Abi for ENUMLOGFONTEXA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMLOGFONTEXDVA { pub elfEnumLogfontEx : ENUMLOGFONTEXA , pub elfDesignVector : DESIGNVECTOR } impl ENUMLOGFONTEXDVA { } impl :: std :: default :: Default for ENUMLOGFONTEXDVA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMLOGFONTEXDVA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMLOGFONTEXDVA" ) . field ( "elfEnumLogfontEx" , & self . elfEnumLogfontEx ) . field ( "elfDesignVector" , & self . elfDesignVector ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMLOGFONTEXDVA { fn eq ( & self , other : & Self ) -> bool { self . elfEnumLogfontEx == other . elfEnumLogfontEx && self . elfDesignVector == other . elfDesignVector } } impl :: std :: cmp :: Eq for ENUMLOGFONTEXDVA { } unsafe impl :: windows :: Abi for ENUMLOGFONTEXDVA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMLOGFONTEXDVW { pub elfEnumLogfontEx : ENUMLOGFONTEXW , pub elfDesignVector : DESIGNVECTOR } impl ENUMLOGFONTEXDVW { } impl :: std :: default :: Default for ENUMLOGFONTEXDVW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMLOGFONTEXDVW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMLOGFONTEXDVW" ) . field ( "elfEnumLogfontEx" , & self . elfEnumLogfontEx ) . field ( "elfDesignVector" , & self . elfDesignVector ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMLOGFONTEXDVW { fn eq ( & self , other : & Self ) -> bool { self . elfEnumLogfontEx == other . elfEnumLogfontEx && self . elfDesignVector == other . elfDesignVector } } impl :: std :: cmp :: Eq for ENUMLOGFONTEXDVW { } unsafe impl :: windows :: Abi for ENUMLOGFONTEXDVW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMLOGFONTEXW { pub elfLogFont : LOGFONTW , pub elfFullName : [ u16 ;64 ] , pub elfStyle : [ u16 ;32 ] , pub elfScript : [ u16 ;32 ] } impl ENUMLOGFONTEXW { } impl :: std :: default :: Default for ENUMLOGFONTEXW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMLOGFONTEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMLOGFONTEXW" ) . field ( "elfLogFont" , & self . elfLogFont ) . field ( "elfFullName" , & self . elfFullName ) . field ( "elfStyle" , & self . elfStyle ) . field ( "elfScript" , & self . elfScript ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMLOGFONTEXW { fn eq ( & self , other : & Self ) -> bool { self . elfLogFont == other . elfLogFont && self . elfFullName == other . elfFullName && self . elfStyle == other . elfStyle && self . elfScript == other . elfScript } } impl :: std :: cmp :: Eq for ENUMLOGFONTEXW { } unsafe impl :: windows :: Abi for ENUMLOGFONTEXW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMLOGFONTW { pub elfLogFont : LOGFONTW , pub elfFullName : [ u16 ;64 ] , pub elfStyle : [ u16 ;32 ] } impl ENUMLOGFONTW { } impl :: std :: default :: Default for ENUMLOGFONTW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMLOGFONTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMLOGFONTW" ) . field ( "elfLogFont" , & self . elfLogFont ) . field ( "elfFullName" , & self . elfFullName ) . field ( "elfStyle" , & self . elfStyle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMLOGFONTW { fn eq ( & self , other : & Self ) -> bool { self . elfLogFont == other . elfLogFont && self . elfFullName == other . elfFullName && self . elfStyle == other . elfStyle } } impl :: std :: cmp :: Eq for ENUMLOGFONTW { } unsafe impl :: windows :: Abi for ENUMLOGFONTW { type Abi = Self ; type DefaultType = Self ; } pub const ENUMPAPERBINS : u32 = 31u32 ; pub const ENUMPAPERMETRICS : u32 = 34u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMTEXTMETRICA { pub etmNewTextMetricEx : NEWTEXTMETRICEXA , pub etmAxesList : AXESLISTA } impl ENUMTEXTMETRICA { } impl :: std :: default :: Default for ENUMTEXTMETRICA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMTEXTMETRICA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMTEXTMETRICA" ) . field ( "etmNewTextMetricEx" , & self . etmNewTextMetricEx ) . field ( "etmAxesList" , & self . etmAxesList ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMTEXTMETRICA { fn eq ( & self , other : & Self ) -> bool { self . etmNewTextMetricEx == other . etmNewTextMetricEx && self . etmAxesList == other . etmAxesList } } impl :: std :: cmp :: Eq for ENUMTEXTMETRICA { } unsafe impl :: windows :: Abi for ENUMTEXTMETRICA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMTEXTMETRICW { pub etmNewTextMetricEx : NEWTEXTMETRICEXW , pub etmAxesList : AXESLISTW } impl ENUMTEXTMETRICW { } impl :: std :: default :: Default for ENUMTEXTMETRICW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMTEXTMETRICW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMTEXTMETRICW" ) . field ( "etmNewTextMetricEx" , & self . etmNewTextMetricEx ) . field ( "etmAxesList" , & self . etmAxesList ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMTEXTMETRICW { fn eq ( & self , other : & Self ) -> bool { self . etmNewTextMetricEx == other . etmNewTextMetricEx && self . etmAxesList == other . etmAxesList } } impl :: std :: cmp :: Eq for ENUMTEXTMETRICW { } unsafe impl :: windows :: Abi for ENUMTEXTMETRICW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ENUM_DISPLAY_SETTINGS_MODE ( pub u32 ) ; pub const ENUM_CURRENT_SETTINGS : ENUM_DISPLAY_SETTINGS_MODE = ENUM_DISPLAY_SETTINGS_MODE ( 4294967295u32 ) ; pub const ENUM_REGISTRY_SETTINGS : ENUM_DISPLAY_SETTINGS_MODE = ENUM_DISPLAY_SETTINGS_MODE ( 4294967294u32 ) ; impl :: std :: convert :: From < u32 > for ENUM_DISPLAY_SETTINGS_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ENUM_DISPLAY_SETTINGS_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for ENUM_DISPLAY_SETTINGS_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ENUM_DISPLAY_SETTINGS_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ENUM_DISPLAY_SETTINGS_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ENUM_DISPLAY_SETTINGS_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for ENUM_DISPLAY_SETTINGS_MODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const EPSPRINTING : u32 = 33u32 ; pub const EPS_SIGNATURE : u32 = 1179865157u32 ; pub const ERROR : u32 = 0u32 ; pub const ERR_FORMAT : u32 = 1006u32 ; pub const ERR_GENERIC : u32 = 1000u32 ; pub const ERR_INVALID_BASE : u32 = 1085u32 ; pub const ERR_INVALID_CMAP : u32 = 1060u32 ; pub const ERR_INVALID_DELTA_FORMAT : u32 = 1013u32 ; pub const ERR_INVALID_EBLC : u32 = 1086u32 ; pub const ERR_INVALID_GDEF : u32 = 1083u32 ; pub const ERR_INVALID_GLYF : u32 = 1061u32 ; pub const ERR_INVALID_GPOS : u32 = 1082u32 ; pub const ERR_INVALID_GSUB : u32 = 1081u32 ; pub const ERR_INVALID_HDMX : u32 = 1089u32 ; pub const ERR_INVALID_HEAD : u32 = 1062u32 ; pub const ERR_INVALID_HHEA : u32 = 1063u32 ; pub const ERR_INVALID_HHEA_OR_VHEA : u32 = 1072u32 ; pub const ERR_INVALID_HMTX : u32 = 1064u32 ; pub const ERR_INVALID_HMTX_OR_VMTX : u32 = 1073u32 ; pub const ERR_INVALID_JSTF : u32 = 1084u32 ; pub const ERR_INVALID_LOCA : u32 = 1065u32 ; pub const ERR_INVALID_LTSH : u32 = 1087u32 ; pub const ERR_INVALID_MAXP : u32 = 1066u32 ; pub const ERR_INVALID_MERGE_CHECKSUMS : u32 = 1011u32 ; pub const ERR_INVALID_MERGE_FORMATS : u32 = 1010u32 ; pub const ERR_INVALID_MERGE_NUMGLYPHS : u32 = 1012u32 ; pub const ERR_INVALID_NAME : u32 = 1067u32 ; pub const ERR_INVALID_OS2 : u32 = 1069u32 ; pub const ERR_INVALID_POST : u32 = 1068u32 ; pub const ERR_INVALID_TTC_INDEX : u32 = 1015u32 ; pub const ERR_INVALID_TTO : u32 = 1080u32 ; pub const ERR_INVALID_VDMX : u32 = 1088u32 ; pub const ERR_INVALID_VHEA : u32 = 1070u32 ; pub const ERR_INVALID_VMTX : u32 = 1071u32 ; pub const ERR_MEM : u32 = 1005u32 ; pub const ERR_MISSING_CMAP : u32 = 1030u32 ; pub const ERR_MISSING_EBDT : u32 = 1044u32 ; pub const ERR_MISSING_GLYF : u32 = 1031u32 ; pub const ERR_MISSING_HEAD : u32 = 1032u32 ; pub const ERR_MISSING_HHEA : u32 = 1033u32 ; pub const ERR_MISSING_HHEA_OR_VHEA : u32 = 1042u32 ; pub const ERR_MISSING_HMTX : u32 = 1034u32 ; pub const ERR_MISSING_HMTX_OR_VMTX : u32 = 1043u32 ; pub const ERR_MISSING_LOCA : u32 = 1035u32 ; pub const ERR_MISSING_MAXP : u32 = 1036u32 ; pub const ERR_MISSING_NAME : u32 = 1037u32 ; pub const ERR_MISSING_OS2 : u32 = 1039u32 ; pub const ERR_MISSING_POST : u32 = 1038u32 ; pub const ERR_MISSING_VHEA : u32 = 1040u32 ; pub const ERR_MISSING_VMTX : u32 = 1041u32 ; pub const ERR_NOT_TTC : u32 = 1014u32 ; pub const ERR_NO_GLYPHS : u32 = 1009u32 ; pub const ERR_PARAMETER0 : u32 = 1100u32 ; pub const ERR_PARAMETER1 : u32 = 1101u32 ; pub const ERR_PARAMETER10 : u32 = 1110u32 ; pub const ERR_PARAMETER11 : u32 = 1111u32 ; pub const ERR_PARAMETER12 : u32 = 1112u32 ; pub const ERR_PARAMETER13 : u32 = 1113u32 ; pub const ERR_PARAMETER14 : u32 = 1114u32 ; pub const ERR_PARAMETER15 : u32 = 1115u32 ; pub const ERR_PARAMETER16 : u32 = 1116u32 ; pub const ERR_PARAMETER2 : u32 = 1102u32 ; pub const ERR_PARAMETER3 : u32 = 1103u32 ; pub const ERR_PARAMETER4 : u32 = 1104u32 ; pub const ERR_PARAMETER5 : u32 = 1105u32 ; pub const ERR_PARAMETER6 : u32 = 1106u32 ; pub const ERR_PARAMETER7 : u32 = 1107u32 ; pub const ERR_PARAMETER8 : u32 = 1108u32 ; pub const ERR_PARAMETER9 : u32 = 1109u32 ; pub const ERR_READCONTROL : u32 = 1003u32 ; pub const ERR_READOUTOFBOUNDS : u32 = 1001u32 ; pub const ERR_VERSION : u32 = 1008u32 ; pub const ERR_WOULD_GROW : u32 = 1007u32 ; pub const ERR_WRITECONTROL : u32 = 1004u32 ; pub const ERR_WRITEOUTOFBOUNDS : u32 = 1002u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ETO_OPTIONS ( pub u32 ) ; pub const ETO_OPAQUE : ETO_OPTIONS = ETO_OPTIONS ( 2u32 ) ; pub const ETO_CLIPPED : ETO_OPTIONS = ETO_OPTIONS ( 4u32 ) ; pub const ETO_GLYPH_INDEX : ETO_OPTIONS = ETO_OPTIONS ( 16u32 ) ; pub const ETO_RTLREADING : ETO_OPTIONS = ETO_OPTIONS ( 128u32 ) ; pub const ETO_NUMERICSLOCAL : ETO_OPTIONS = ETO_OPTIONS ( 1024u32 ) ; pub const ETO_NUMERICSLATIN : ETO_OPTIONS = ETO_OPTIONS ( 2048u32 ) ; pub const ETO_IGNORELANGUAGE : ETO_OPTIONS = ETO_OPTIONS ( 4096u32 ) ; pub const ETO_PDY : ETO_OPTIONS = ETO_OPTIONS ( 8192u32 ) ; pub const ETO_REVERSE_INDEX_MAP : ETO_OPTIONS = ETO_OPTIONS ( 65536u32 ) ; impl :: std :: convert :: From < u32 > for ETO_OPTIONS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ETO_OPTIONS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for ETO_OPTIONS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ETO_OPTIONS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ETO_OPTIONS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ETO_OPTIONS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for ETO_OPTIONS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EXTLOGFONTA { pub elfLogFont : LOGFONTA , pub elfFullName : [ u8 ;64 ] , pub elfStyle : [ u8 ;32 ] , pub elfVersion : u32 , pub elfStyleSize : u32 , pub elfMatch : u32 , pub elfReserved : u32 , pub elfVendorId : [ u8 ;4 ] , pub elfCulture : u32 , pub elfPanose : PANOSE } impl EXTLOGFONTA { } impl :: std :: default :: Default for EXTLOGFONTA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EXTLOGFONTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXTLOGFONTA" ) . field ( "elfLogFont" , & self . elfLogFont ) . field ( "elfFullName" , & self . elfFullName ) . field ( "elfStyle" , & self . elfStyle ) . field ( "elfVersion" , & self . elfVersion ) . field ( "elfStyleSize" , & self . elfStyleSize ) . field ( "elfMatch" , & self . elfMatch ) . field ( "elfReserved" , & self . elfReserved ) . field ( "elfVendorId" , & self . elfVendorId ) . field ( "elfCulture" , & self . elfCulture ) . field ( "elfPanose" , & self . elfPanose ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXTLOGFONTA { fn eq ( & self , other : & Self ) -> bool { self . elfLogFont == other . elfLogFont && self . elfFullName == other . elfFullName && self . elfStyle == other . elfStyle && self . elfVersion == other . elfVersion && self . elfStyleSize == other . elfStyleSize && self . elfMatch == other . elfMatch && self . elfReserved == other . elfReserved && self . elfVendorId == other . elfVendorId && self . elfCulture == other . elfCulture && self . elfPanose == other . elfPanose } } impl :: std :: cmp :: Eq for EXTLOGFONTA { } unsafe impl :: windows :: Abi for EXTLOGFONTA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EXTLOGFONTW { pub elfLogFont : LOGFONTW , pub elfFullName : [ u16 ;64 ] , pub elfStyle : [ u16 ;32 ] , pub elfVersion : u32 , pub elfStyleSize : u32 , pub elfMatch : u32 , pub elfReserved : u32 , pub elfVendorId : [ u8 ;4 ] , pub elfCulture : u32 , pub elfPanose : PANOSE } impl EXTLOGFONTW { } impl :: std :: default :: Default for EXTLOGFONTW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EXTLOGFONTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXTLOGFONTW" ) . field ( "elfLogFont" , & self . elfLogFont ) . field ( "elfFullName" , & self . elfFullName ) . field ( "elfStyle" , & self . elfStyle ) . field ( "elfVersion" , & self . elfVersion ) . field ( "elfStyleSize" , & self . elfStyleSize ) . field ( "elfMatch" , & self . elfMatch ) . field ( "elfReserved" , & self . elfReserved ) . field ( "elfVendorId" , & self . elfVendorId ) . field ( "elfCulture" , & self . elfCulture ) . field ( "elfPanose" , & self . elfPanose ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXTLOGFONTW { fn eq ( & self , other : & Self ) -> bool { self . elfLogFont == other . elfLogFont && self . elfFullName == other . elfFullName && self . elfStyle == other . elfStyle && self . elfVersion == other . elfVersion && self . elfStyleSize == other . elfStyleSize && self . elfMatch == other . elfMatch && self . elfReserved == other . elfReserved && self . elfVendorId == other . elfVendorId && self . elfCulture == other . elfCulture && self . elfPanose == other . elfPanose } } impl :: std :: cmp :: Eq for EXTLOGFONTW { } unsafe impl :: windows :: Abi for EXTLOGFONTW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EXTLOGPEN { pub elpPenStyle : u32 , pub elpWidth : u32 , pub elpBrushStyle : u32 , pub elpColor : u32 , pub elpHatch : usize , pub elpNumEntries : u32 , pub elpStyleEntry : [ u32 ;1 ] } impl EXTLOGPEN { } impl :: std :: default :: Default for EXTLOGPEN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EXTLOGPEN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXTLOGPEN" ) . field ( "elpPenStyle" , & self . elpPenStyle ) . field ( "elpWidth" , & self . elpWidth ) . field ( "elpBrushStyle" , & self . elpBrushStyle ) . field ( "elpColor" , & self . elpColor ) . field ( "elpHatch" , & self . elpHatch ) . field ( "elpNumEntries" , & self . elpNumEntries ) . field ( "elpStyleEntry" , & self . elpStyleEntry ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXTLOGPEN { fn eq ( & self , other : & Self ) -> bool { self . elpPenStyle == other . elpPenStyle && self . elpWidth == other . elpWidth && self . elpBrushStyle == other . elpBrushStyle && self . elpColor == other . elpColor && self . elpHatch == other . elpHatch && self . elpNumEntries == other . elpNumEntries && self . elpStyleEntry == other . elpStyleEntry } } impl :: std :: cmp :: Eq for EXTLOGPEN { } unsafe impl :: windows :: Abi for EXTLOGPEN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EXTLOGPEN32 { pub elpPenStyle : u32 , pub elpWidth : u32 , pub elpBrushStyle : u32 , pub elpColor : u32 , pub elpHatch : u32 , pub elpNumEntries : u32 , pub elpStyleEntry : [ u32 ;1 ] } impl EXTLOGPEN32 { } impl :: std :: default :: Default for EXTLOGPEN32 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EXTLOGPEN32 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXTLOGPEN32" ) . field ( "elpPenStyle" , & self . elpPenStyle ) . field ( "elpWidth" , & self . elpWidth ) . field ( "elpBrushStyle" , & self . elpBrushStyle ) . field ( "elpColor" , & self . elpColor ) . field ( "elpHatch" , & self . elpHatch ) . field ( "elpNumEntries" , & self . elpNumEntries ) . field ( "elpStyleEntry" , & self . elpStyleEntry ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXTLOGPEN32 { fn eq ( & self , other : & Self ) -> bool { self . elpPenStyle == other . elpPenStyle && self . elpWidth == other . elpWidth && self . elpBrushStyle == other . elpBrushStyle && self . elpColor == other . elpColor && self . elpHatch == other . elpHatch && self . elpNumEntries == other . elpNumEntries && self . elpStyleEntry == other . elpStyleEntry } } impl :: std :: cmp :: Eq for EXTLOGPEN32 { } unsafe impl :: windows :: Abi for EXTLOGPEN32 { type Abi = Self ; type DefaultType = Self ; } pub const EXTTEXTOUT : u32 = 512u32 ; pub const EXT_DEVICE_CAPS : u32 = 4099u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct EXT_FLOOD_FILL_TYPE ( pub u32 ) ; pub const FLOODFILLBORDER : EXT_FLOOD_FILL_TYPE = EXT_FLOOD_FILL_TYPE ( 0u32 ) ; pub const FLOODFILLSURFACE : EXT_FLOOD_FILL_TYPE = EXT_FLOOD_FILL_TYPE ( 1u32 ) ; impl :: std :: convert :: From < u32 > for EXT_FLOOD_FILL_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EXT_FLOOD_FILL_TYPE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for EXT_FLOOD_FILL_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for EXT_FLOOD_FILL_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for EXT_FLOOD_FILL_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for EXT_FLOOD_FILL_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for EXT_FLOOD_FILL_TYPE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const E_ADDFONTFAILED : i32 = 512i32 ; pub const E_API_NOTIMPL : i32 = 1i32 ; pub const E_CHARCODECOUNTINVALID : i32 = 2i32 ; pub const E_CHARCODESETINVALID : i32 = 3i32 ; pub const E_CHARSETINVALID : i32 = 21i32 ; pub const E_COULDNTCREATETEMPFILE : i32 = 513i32 ; pub const E_DEVICETRUETYPEFONT : i32 = 4i32 ; pub const E_ERRORACCESSINGEXCLUDELIST : i32 = 274i32 ; pub const E_ERRORACCESSINGFACENAME : i32 = 13i32 ; pub const E_ERRORACCESSINGFONTDATA : i32 = 12i32 ; pub const E_ERRORCOMPRESSINGFONTDATA : i32 = 256i32 ; pub const E_ERRORCONVERTINGCHARS : i32 = 18i32 ; pub const E_ERRORCREATINGFONTFILE : i32 = 269i32 ; pub const E_ERRORDECOMPRESSINGFONTDATA : i32 = 273i32 ; pub const E_ERROREXPANDINGFONTDATA : i32 = 519i32 ; pub const E_ERRORGETTINGDC : i32 = 520i32 ; pub const E_ERRORREADINGFONTDATA : i32 = 267i32 ; pub const E_ERRORUNICODECONVERSION : i32 = 17i32 ; pub const E_EXCEPTION : i32 = 19i32 ; pub const E_EXCEPTIONINCOMPRESSION : i32 = 522i32 ; pub const E_EXCEPTIONINDECOMPRESSION : i32 = 521i32 ; pub const E_FACENAMEINVALID : i32 = 275i32 ; pub const E_FILE_NOT_FOUND : i32 = 23i32 ; pub const E_FLAGSINVALID : i32 = 268i32 ; pub const E_FONTALREADYEXISTS : i32 = 270i32 ; pub const E_FONTDATAINVALID : i32 = 258i32 ; pub const E_FONTFAMILYNAMENOTINFULL : i32 = 285i32 ; pub const E_FONTFILECREATEFAILED : i32 = 515i32 ; pub const E_FONTFILENOTFOUND : i32 = 517i32 ; pub const E_FONTINSTALLFAILED : i32 = 272i32 ; pub const E_FONTNAMEALREADYEXISTS : i32 = 271i32 ; pub const E_FONTNOTEMBEDDABLE : i32 = 260i32 ; pub const E_FONTREFERENCEINVALID : i32 = 8i32 ; pub const E_FONTVARIATIONSIMULATED : i32 = 283i32 ; pub const E_HDCINVALID : i32 = 6i32 ; pub const E_INPUTPARAMINVALID : i32 = 25i32 ; pub const E_NAMECHANGEFAILED : i32 = 259i32 ; pub const E_NOFREEMEMORY : i32 = 7i32 ; pub const E_NONE : i32 = 0i32 ; pub const E_NOOS2 : i32 = 265i32 ; pub const E_NOTATRUETYPEFONT : i32 = 10i32 ; pub const E_PBENABLEDINVALID : i32 = 280i32 ; pub const E_PERMISSIONSINVALID : i32 = 279i32 ; pub const E_PRIVSINVALID : i32 = 261i32 ; pub const E_PRIVSTATUSINVALID : i32 = 278i32 ; pub const E_READFROMSTREAMFAILED : i32 = 263i32 ; pub const E_RESERVEDPARAMNOTNULL : i32 = 20i32 ; pub const E_RESOURCEFILECREATEFAILED : i32 = 518i32 ; pub const E_SAVETOSTREAMFAILED : i32 = 264i32 ; pub const E_STATUSINVALID : i32 = 277i32 ; pub const E_STREAMINVALID : i32 = 276i32 ; pub const E_SUBSETTINGEXCEPTION : i32 = 281i32 ; pub const E_SUBSETTINGFAILED : i32 = 262i32 ; pub const E_SUBSTRING_TEST_FAIL : i32 = 282i32 ; pub const E_T2NOFREEMEMORY : i32 = 266i32 ; pub const E_TTC_INDEX_OUT_OF_RANGE : i32 = 24i32 ; pub const E_WINDOWSAPI : i32 = 516i32 ; pub unsafe fn Ellipse < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn Ellipse ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( Ellipse ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EndPaint < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , lppaint : * const PAINTSTRUCT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EndPaint ( hwnd : super::super::Foundation:: HWND , lppaint : * const PAINTSTRUCT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EndPaint ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppaint ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EndPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EndPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EndPath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumDisplayDevicesA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( lpdevice : Param0 , idevnum : u32 , lpdisplaydevice : * mut DISPLAY_DEVICEA , dwflags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EnumDisplayDevicesA ( lpdevice : super::super::Foundation:: PSTR , idevnum : u32 , lpdisplaydevice : * mut DISPLAY_DEVICEA , dwflags : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumDisplayDevicesA ( lpdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( idevnum ) , :: std :: mem :: transmute ( lpdisplaydevice ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumDisplayDevicesW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( lpdevice : Param0 , idevnum : u32 , lpdisplaydevice : * mut DISPLAY_DEVICEW , dwflags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EnumDisplayDevicesW ( lpdevice : super::super::Foundation:: PWSTR , idevnum : u32 , lpdisplaydevice : * mut DISPLAY_DEVICEW , dwflags : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumDisplayDevicesW ( lpdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( idevnum ) , :: std :: mem :: transmute ( lpdisplaydevice ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumDisplayMonitors < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , lprcclip : * const super::super::Foundation:: RECT , lpfnenum : :: std :: option :: Option < MONITORENUMPROC > , dwdata : Param3 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EnumDisplayMonitors ( hdc : HDC , lprcclip : * const super::super::Foundation:: RECT , lpfnenum : :: windows :: RawPtr , dwdata : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumDisplayMonitors ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprcclip ) , :: std :: mem :: transmute ( lpfnenum ) , dwdata . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumDisplaySettingsA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( lpszdevicename : Param0 , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEA , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EnumDisplaySettingsA ( lpszdevicename : super::super::Foundation:: PSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEA ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumDisplaySettingsA ( lpszdevicename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( imodenum ) , :: std :: mem :: transmute ( lpdevmode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumDisplaySettingsExA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( lpszdevicename : Param0 , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEA , dwflags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EnumDisplaySettingsExA ( lpszdevicename : super::super::Foundation:: PSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEA , dwflags : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumDisplaySettingsExA ( lpszdevicename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( imodenum ) , :: std :: mem :: transmute ( lpdevmode ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumDisplaySettingsExW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( lpszdevicename : Param0 , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEW , dwflags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EnumDisplaySettingsExW ( lpszdevicename : super::super::Foundation:: PWSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEW , dwflags : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumDisplaySettingsExW ( lpszdevicename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( imodenum ) , :: std :: mem :: transmute ( lpdevmode ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumDisplaySettingsW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( lpszdevicename : Param0 , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEW , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EnumDisplaySettingsW ( lpszdevicename : super::super::Foundation:: PWSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEW ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumDisplaySettingsW ( lpszdevicename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( imodenum ) , :: std :: mem :: transmute ( lpdevmode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumEnhMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hdc : Param0 , hmf : Param1 , proc : :: std :: option :: Option < ENHMFENUMPROC > , param3 : * const :: std :: ffi :: c_void , lprect : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumEnhMetaFile ( hdc : HDC , hmf : HENHMETAFILE , proc : :: windows :: RawPtr , param3 : * const :: std :: ffi :: c_void , lprect : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumEnhMetaFile ( hdc . into_param ( ) . abi ( ) , hmf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( proc ) , :: std :: mem :: transmute ( param3 ) , :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumFontFamiliesA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , lplogfont : Param1 , lpproc : :: std :: option :: Option < FONTENUMPROCA > , lparam : Param3 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumFontFamiliesA ( hdc : HDC , lplogfont : super::super::Foundation:: PSTR , lpproc : :: windows :: RawPtr , lparam : super::super::Foundation:: LPARAM ) -> i32 ; } :: std :: mem :: transmute ( EnumFontFamiliesA ( hdc . into_param ( ) . abi ( ) , lplogfont . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpproc ) , lparam . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumFontFamiliesExA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , lplogfont : * const LOGFONTA , lpproc : :: std :: option :: Option < FONTENUMPROCA > , lparam : Param3 , dwflags : u32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumFontFamiliesExA ( hdc : HDC , lplogfont : * const LOGFONTA , lpproc : :: windows :: RawPtr , lparam : super::super::Foundation:: LPARAM , dwflags : u32 ) -> i32 ; } :: std :: mem :: transmute ( EnumFontFamiliesExA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lplogfont ) , :: std :: mem :: transmute ( lpproc ) , lparam . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumFontFamiliesExW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , lplogfont : * const LOGFONTW , lpproc : :: std :: option :: Option < FONTENUMPROCW > , lparam : Param3 , dwflags : u32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumFontFamiliesExW ( hdc : HDC , lplogfont : * const LOGFONTW , lpproc : :: windows :: RawPtr , lparam : super::super::Foundation:: LPARAM , dwflags : u32 ) -> i32 ; } :: std :: mem :: transmute ( EnumFontFamiliesExW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lplogfont ) , :: std :: mem :: transmute ( lpproc ) , lparam . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumFontFamiliesW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , lplogfont : Param1 , lpproc : :: std :: option :: Option < FONTENUMPROCW > , lparam : Param3 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumFontFamiliesW ( hdc : HDC , lplogfont : super::super::Foundation:: PWSTR , lpproc : :: windows :: RawPtr , lparam : super::super::Foundation:: LPARAM ) -> i32 ; } :: std :: mem :: transmute ( EnumFontFamiliesW ( hdc . into_param ( ) . abi ( ) , lplogfont . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpproc ) , lparam . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumFontsA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , lplogfont : Param1 , lpproc : :: std :: option :: Option < FONTENUMPROCA > , lparam : Param3 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumFontsA ( hdc : HDC , lplogfont : super::super::Foundation:: PSTR , lpproc : :: windows :: RawPtr , lparam : super::super::Foundation:: LPARAM ) -> i32 ; } :: std :: mem :: transmute ( EnumFontsA ( hdc . into_param ( ) . abi ( ) , lplogfont . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpproc ) , lparam . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumFontsW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , lplogfont : Param1 , lpproc : :: std :: option :: Option < FONTENUMPROCW > , lparam : Param3 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumFontsW ( hdc : HDC , lplogfont : super::super::Foundation:: PWSTR , lpproc : :: windows :: RawPtr , lparam : super::super::Foundation:: LPARAM ) -> i32 ; } :: std :: mem :: transmute ( EnumFontsW ( hdc . into_param ( ) . abi ( ) , lplogfont . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpproc ) , lparam . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HMETAFILE > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , hmf : Param1 , proc : :: std :: option :: Option < MFENUMPROC > , param3 : Param3 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumMetaFile ( hdc : HDC , hmf : HMETAFILE , proc : :: windows :: RawPtr , param3 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumMetaFile ( hdc . into_param ( ) . abi ( ) , hmf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( proc ) , param3 . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumObjects < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , ntype : OBJ_TYPE , lpfunc : :: std :: option :: Option < GOBJENUMPROC > , lparam : Param3 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumObjects ( hdc : HDC , ntype : OBJ_TYPE , lpfunc : :: windows :: RawPtr , lparam : super::super::Foundation:: LPARAM ) -> i32 ; } :: std :: mem :: transmute ( EnumObjects ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ntype ) , :: std :: mem :: transmute ( lpfunc ) , lparam . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EqualRect < > ( lprc1 : * const super::super::Foundation:: RECT , lprc2 : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EqualRect ( lprc1 : * const super::super::Foundation:: RECT , lprc2 : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EqualRect ( :: std :: mem :: transmute ( lprc1 ) , :: std :: mem :: transmute ( lprc2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EqualRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgn1 : Param0 , hrgn2 : Param1 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EqualRgn ( hrgn1 : HRGN , hrgn2 : HRGN ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EqualRgn ( hrgn1 . into_param ( ) . abi ( ) , hrgn2 . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExcludeClipRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ExcludeClipRect ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> i32 ; } :: std :: mem :: transmute ( ExcludeClipRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExcludeUpdateRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hdc : Param0 , hwnd : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ExcludeUpdateRgn ( hdc : HDC , hwnd : super::super::Foundation:: HWND ) -> i32 ; } :: std :: mem :: transmute ( ExcludeUpdateRgn ( hdc . into_param ( ) . abi ( ) , hwnd . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExtCreatePen < > ( ipenstyle : PEN_STYLE , cwidth : u32 , plbrush : * const LOGBRUSH , cstyle : u32 , pstyle : * const u32 , ) -> HPEN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ExtCreatePen ( ipenstyle : PEN_STYLE , cwidth : u32 , plbrush : * const LOGBRUSH , cstyle : u32 , pstyle : * const u32 ) -> HPEN ; } :: std :: mem :: transmute ( ExtCreatePen ( :: std :: mem :: transmute ( ipenstyle ) , :: std :: mem :: transmute ( cwidth ) , :: std :: mem :: transmute ( plbrush ) , :: std :: mem :: transmute ( cstyle ) , :: std :: mem :: transmute ( pstyle ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExtCreateRegion < > ( lpx : * const XFORM , ncount : u32 , lpdata : * const RGNDATA , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ExtCreateRegion ( lpx : * const XFORM , ncount : u32 , lpdata : * const RGNDATA ) -> HRGN ; } :: std :: mem :: transmute ( ExtCreateRegion ( :: std :: mem :: transmute ( lpx ) , :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( lpdata ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExtFloodFill < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , color : u32 , r#type : EXT_FLOOD_FILL_TYPE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ExtFloodFill ( hdc : HDC , x : i32 , y : i32 , color : u32 , r#type : EXT_FLOOD_FILL_TYPE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ExtFloodFill ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( color ) , :: std :: mem :: transmute ( r#type ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExtSelectClipRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hdc : Param0 , hrgn : Param1 , mode : RGN_COMBINE_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ExtSelectClipRgn ( hdc : HDC , hrgn : HRGN , mode : RGN_COMBINE_MODE ) -> i32 ; } :: std :: mem :: transmute ( ExtSelectClipRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( mode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExtTextOutA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , x : i32 , y : i32 , options : ETO_OPTIONS , lprect : * const super::super::Foundation:: RECT , lpstring : Param5 , c : u32 , lpdx : * const i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ExtTextOutA ( hdc : HDC , x : i32 , y : i32 , options : ETO_OPTIONS , lprect : * const super::super::Foundation:: RECT , lpstring : super::super::Foundation:: PSTR , c : u32 , lpdx : * const i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ExtTextOutA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( options ) , :: std :: mem :: transmute ( lprect ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( lpdx ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExtTextOutW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , x : i32 , y : i32 , options : ETO_OPTIONS , lprect : * const super::super::Foundation:: RECT , lpstring : Param5 , c : u32 , lpdx : * const i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ExtTextOutW ( hdc : HDC , x : i32 , y : i32 , options : ETO_OPTIONS , lprect : * const super::super::Foundation:: RECT , lpstring : super::super::Foundation:: PWSTR , c : u32 , lpdx : * const i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ExtTextOutW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( options ) , :: std :: mem :: transmute ( lprect ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( lpdx ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const FEATURESETTING_CUSTPAPER : u32 = 3u32 ; pub const FEATURESETTING_MIRROR : u32 = 4u32 ; pub const FEATURESETTING_NEGATIVE : u32 = 5u32 ; pub const FEATURESETTING_NUP : u32 = 0u32 ; pub const FEATURESETTING_OUTPUT : u32 = 1u32 ; pub const FEATURESETTING_PRIVATE_BEGIN : u32 = 4096u32 ; pub const FEATURESETTING_PRIVATE_END : u32 = 8191u32 ; pub const FEATURESETTING_PROTOCOL : u32 = 6u32 ; pub const FEATURESETTING_PSLEVEL : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FIXED { pub fract : u16 , pub value : i16 } impl FIXED { } impl :: std :: default :: Default for FIXED { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for FIXED { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FIXED" ) . field ( "fract" , & self . fract ) . field ( "value" , & self . value ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FIXED { fn eq ( & self , other : & Self ) -> bool { self . fract == other . fract && self . value == other . value } } impl :: std :: cmp :: Eq for FIXED { } unsafe impl :: windows :: Abi for FIXED { type Abi = Self ; type DefaultType = Self ; } pub const FIXED_PITCH : u32 = 1u32 ; pub const FLI_GLYPHS : i32 = 262144i32 ; pub const FLI_MASK : u32 = 4155u32 ; pub const FLUSHOUTPUT : u32 = 6u32 ; pub type FONTENUMPROCA = unsafe extern "system" fn ( param0 : * const LOGFONTA , param1 : * const TEXTMETRICA , param2 : u32 , param3 : super::super::Foundation:: LPARAM ) -> i32 ; pub type FONTENUMPROCW = unsafe extern "system" fn ( param0 : * const LOGFONTW , param1 : * const TEXTMETRICW , param2 : u32 , param3 : super::super::Foundation:: LPARAM ) -> i32 ; pub const FONTMAPPER_MAX : u32 = 10u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FONT_CLIP_PRECISION ( pub u32 ) ; pub const CLIP_CHARACTER_PRECIS : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 1u32 ) ; pub const CLIP_DEFAULT_PRECIS : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 0u32 ) ; pub const CLIP_DFA_DISABLE : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 64u32 ) ; pub const CLIP_EMBEDDED : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 128u32 ) ; pub const CLIP_LH_ANGLES : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 16u32 ) ; pub const CLIP_MASK : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 15u32 ) ; pub const CLIP_STROKE_PRECIS : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 2u32 ) ; pub const CLIP_TT_ALWAYS : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 32u32 ) ; impl :: std :: convert :: From < u32 > for FONT_CLIP_PRECISION { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FONT_CLIP_PRECISION { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FONT_CLIP_PRECISION { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FONT_CLIP_PRECISION { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FONT_CLIP_PRECISION { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FONT_CLIP_PRECISION { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for FONT_CLIP_PRECISION { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FONT_LICENSE_PRIVS ( pub u32 ) ; pub const LICENSE_PREVIEWPRINT : FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS ( 4u32 ) ; pub const LICENSE_EDITABLE : FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS ( 8u32 ) ; pub const LICENSE_INSTALLABLE : FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS ( 0u32 ) ; pub const LICENSE_NOEMBEDDING : FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS ( 2u32 ) ; pub const LICENSE_DEFAULT : FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS ( 0u32 ) ; impl :: std :: convert :: From < u32 > for FONT_LICENSE_PRIVS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FONT_LICENSE_PRIVS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FONT_LICENSE_PRIVS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FONT_LICENSE_PRIVS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FONT_LICENSE_PRIVS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FONT_LICENSE_PRIVS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for FONT_LICENSE_PRIVS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FONT_OUTPUT_PRECISION ( pub u32 ) ; pub const OUT_CHARACTER_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 2u32 ) ; pub const OUT_DEFAULT_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 0u32 ) ; pub const OUT_DEVICE_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 5u32 ) ; pub const OUT_OUTLINE_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 8u32 ) ; pub const OUT_PS_ONLY_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 10u32 ) ; pub const OUT_RASTER_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 6u32 ) ; pub const OUT_STRING_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 1u32 ) ; pub const OUT_STROKE_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 3u32 ) ; pub const OUT_TT_ONLY_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 7u32 ) ; pub const OUT_TT_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 4u32 ) ; impl :: std :: convert :: From < u32 > for FONT_OUTPUT_PRECISION { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FONT_OUTPUT_PRECISION { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FONT_OUTPUT_PRECISION { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FONT_OUTPUT_PRECISION { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FONT_OUTPUT_PRECISION { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FONT_OUTPUT_PRECISION { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for FONT_OUTPUT_PRECISION { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FONT_PITCH_AND_FAMILY ( pub u32 ) ; pub const FF_DECORATIVE : FONT_PITCH_AND_FAMILY = FONT_PITCH_AND_FAMILY ( 80u32 ) ; pub const FF_DONTCARE : FONT_PITCH_AND_FAMILY = FONT_PITCH_AND_FAMILY ( 0u32 ) ; pub const FF_MODERN : FONT_PITCH_AND_FAMILY = FONT_PITCH_AND_FAMILY ( 48u32 ) ; pub const FF_ROMAN : FONT_PITCH_AND_FAMILY = FONT_PITCH_AND_FAMILY ( 16u32 ) ; pub const FF_SCRIPT : FONT_PITCH_AND_FAMILY = FONT_PITCH_AND_FAMILY ( 64u32 ) ; pub const FF_SWISS : FONT_PITCH_AND_FAMILY = FONT_PITCH_AND_FAMILY ( 32u32 ) ; impl :: std :: convert :: From < u32 > for FONT_PITCH_AND_FAMILY { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FONT_PITCH_AND_FAMILY { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FONT_PITCH_AND_FAMILY { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FONT_PITCH_AND_FAMILY { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FONT_PITCH_AND_FAMILY { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FONT_PITCH_AND_FAMILY { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for FONT_PITCH_AND_FAMILY { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FONT_QUALITY ( pub u32 ) ; pub const ANTIALIASED_QUALITY : FONT_QUALITY = FONT_QUALITY ( 4u32 ) ; pub const CLEARTYPE_QUALITY : FONT_QUALITY = FONT_QUALITY ( 5u32 ) ; pub const DEFAULT_QUALITY : FONT_QUALITY = FONT_QUALITY ( 0u32 ) ; pub const DRAFT_QUALITY : FONT_QUALITY = FONT_QUALITY ( 1u32 ) ; pub const NONANTIALIASED_QUALITY : FONT_QUALITY = FONT_QUALITY ( 3u32 ) ; pub const PROOF_QUALITY : FONT_QUALITY = FONT_QUALITY ( 2u32 ) ; impl :: std :: convert :: From < u32 > for FONT_QUALITY { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FONT_QUALITY { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FONT_QUALITY { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FONT_QUALITY { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FONT_QUALITY { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FONT_QUALITY { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for FONT_QUALITY { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FONT_RESOURCE_CHARACTERISTICS ( pub u32 ) ; pub const FR_PRIVATE : FONT_RESOURCE_CHARACTERISTICS = FONT_RESOURCE_CHARACTERISTICS ( 16u32 ) ; pub const FR_NOT_ENUM : FONT_RESOURCE_CHARACTERISTICS = FONT_RESOURCE_CHARACTERISTICS ( 32u32 ) ; impl :: std :: convert :: From < u32 > for FONT_RESOURCE_CHARACTERISTICS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FONT_RESOURCE_CHARACTERISTICS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FONT_RESOURCE_CHARACTERISTICS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FONT_RESOURCE_CHARACTERISTICS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FONT_RESOURCE_CHARACTERISTICS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FONT_RESOURCE_CHARACTERISTICS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for FONT_RESOURCE_CHARACTERISTICS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const FS_ARABIC : i32 = 64i32 ; pub const FS_BALTIC : i32 = 128i32 ; pub const FS_CHINESESIMP : i32 = 262144i32 ; pub const FS_CHINESETRAD : i32 = 1048576i32 ; pub const FS_CYRILLIC : i32 = 4i32 ; pub const FS_GREEK : i32 = 8i32 ; pub const FS_HEBREW : i32 = 32i32 ; pub const FS_JISJAPAN : i32 = 131072i32 ; pub const FS_JOHAB : i32 = 2097152i32 ; pub const FS_LATIN1 : i32 = 1i32 ; pub const FS_LATIN2 : i32 = 2i32 ; pub const FS_SYMBOL : i32 = -2147483648i32 ; pub const FS_THAI : i32 = 65536i32 ; pub const FS_TURKISH : i32 = 16i32 ; pub const FS_VIETNAMESE : i32 = 256i32 ; pub const FS_WANSUNG : i32 = 524288i32 ; pub const FW_BOLD : u32 = 700u32 ; pub const FW_DONTCARE : u32 = 0u32 ; pub const FW_EXTRABOLD : u32 = 800u32 ; pub const FW_EXTRALIGHT : u32 = 200u32 ; pub const FW_HEAVY : u32 = 900u32 ; pub const FW_LIGHT : u32 = 300u32 ; pub const FW_MEDIUM : u32 = 500u32 ; pub const FW_NORMAL : u32 = 400u32 ; pub const FW_SEMIBOLD : u32 = 600u32 ; pub const FW_THIN : u32 = 100u32 ; pub unsafe fn FillPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn FillPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( FillPath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FillRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param2 : :: windows :: IntoParam < 'a , HBRUSH > , > ( hdc : Param0 , lprc : * const super::super::Foundation:: RECT , hbr : Param2 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn FillRect ( hdc : HDC , lprc : * const super::super::Foundation:: RECT , hbr : HBRUSH ) -> i32 ; } :: std :: mem :: transmute ( FillRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) , hbr . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FillRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , Param2 : :: windows :: IntoParam < 'a , HBRUSH > , > ( hdc : Param0 , hrgn : Param1 , hbr : Param2 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn FillRgn ( hdc : HDC , hrgn : HRGN , hbr : HBRUSH ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( FillRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) , hbr . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FixBrushOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , ptl : * const super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn FixBrushOrgEx ( hdc : HDC , x : i32 , y : i32 , ptl : * const super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( FixBrushOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( ptl ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FlattenPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn FlattenPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( FlattenPath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FloodFill < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , color : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn FloodFill ( hdc : HDC , x : i32 , y : i32 , color : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( FloodFill ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FrameRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param2 : :: windows :: IntoParam < 'a , HBRUSH > , > ( hdc : Param0 , lprc : * const super::super::Foundation:: RECT , hbr : Param2 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn FrameRect ( hdc : HDC , lprc : * const super::super::Foundation:: RECT , hbr : HBRUSH ) -> i32 ; } :: std :: mem :: transmute ( FrameRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) , hbr . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FrameRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , Param2 : :: windows :: IntoParam < 'a , HBRUSH > , > ( hdc : Param0 , hrgn : Param1 , hbr : Param2 , w : i32 , h : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn FrameRgn ( hdc : HDC , hrgn : HRGN , hbr : HBRUSH , w : i32 , h : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( FrameRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) , hbr . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( w ) , :: std :: mem :: transmute ( h ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const GB2312_CHARSET : u32 = 134u32 ; pub const GCPCLASS_ARABIC : u32 = 2u32 ; pub const GCPCLASS_HEBREW : u32 = 2u32 ; pub const GCPCLASS_LATIN : u32 = 1u32 ; pub const GCPCLASS_LATINNUMBER : u32 = 5u32 ; pub const GCPCLASS_LATINNUMERICSEPARATOR : u32 = 7u32 ; pub const GCPCLASS_LATINNUMERICTERMINATOR : u32 = 6u32 ; pub const GCPCLASS_LOCALNUMBER : u32 = 4u32 ; pub const GCPCLASS_NEUTRAL : u32 = 3u32 ; pub const GCPCLASS_NUMERICSEPARATOR : u32 = 8u32 ; pub const GCPCLASS_POSTBOUNDLTR : u32 = 32u32 ; pub const GCPCLASS_POSTBOUNDRTL : u32 = 16u32 ; pub const GCPCLASS_PREBOUNDLTR : u32 = 128u32 ; pub const GCPCLASS_PREBOUNDRTL : u32 = 64u32 ; pub const GCPGLYPH_LINKAFTER : u32 = 16384u32 ; pub const GCPGLYPH_LINKBEFORE : u32 = 32768u32 ; pub const GCP_DBCS : u32 = 1u32 ; pub const GCP_ERROR : u32 = 32768u32 ; pub const GCP_JUSTIFYIN : i32 = 2097152i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GCP_RESULTSA { pub lStructSize : u32 , pub lpOutString : super::super::Foundation:: PSTR , pub lpOrder : * mut u32 , pub lpDx : * mut i32 , pub lpCaretPos : * mut i32 , pub lpClass : super::super::Foundation:: PSTR , pub lpGlyphs : super::super::Foundation:: PWSTR , pub nGlyphs : u32 , pub nMaxFit : i32 } impl GCP_RESULTSA { } impl :: std :: default :: Default for GCP_RESULTSA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for GCP_RESULTSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GCP_RESULTSA" ) . field ( "lStructSize" , & self . lStructSize ) . field ( "lpOutString" , & self . lpOutString ) . field ( "lpOrder" , & self . lpOrder ) . field ( "lpDx" , & self . lpDx ) . field ( "lpCaretPos" , & self . lpCaretPos ) . field ( "lpClass" , & self . lpClass ) . field ( "lpGlyphs" , & self . lpGlyphs ) . field ( "nGlyphs" , & self . nGlyphs ) . field ( "nMaxFit" , & self . nMaxFit ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GCP_RESULTSA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . lpOutString == other . lpOutString && self . lpOrder == other . lpOrder && self . lpDx == other . lpDx && self . lpCaretPos == other . lpCaretPos && self . lpClass == other . lpClass && self . lpGlyphs == other . lpGlyphs && self . nGlyphs == other . nGlyphs && self . nMaxFit == other . nMaxFit } } impl :: std :: cmp :: Eq for GCP_RESULTSA { } unsafe impl :: windows :: Abi for GCP_RESULTSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GCP_RESULTSW { pub lStructSize : u32 , pub lpOutString : super::super::Foundation:: PWSTR , pub lpOrder : * mut u32 , pub lpDx : * mut i32 , pub lpCaretPos : * mut i32 , pub lpClass : super::super::Foundation:: PSTR , pub lpGlyphs : super::super::Foundation:: PWSTR , pub nGlyphs : u32 , pub nMaxFit : i32 } impl GCP_RESULTSW { } impl :: std :: default :: Default for GCP_RESULTSW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for GCP_RESULTSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GCP_RESULTSW" ) . field ( "lStructSize" , & self . lStructSize ) . field ( "lpOutString" , & self . lpOutString ) . field ( "lpOrder" , & self . lpOrder ) . field ( "lpDx" , & self . lpDx ) . field ( "lpCaretPos" , & self . lpCaretPos ) . field ( "lpClass" , & self . lpClass ) . field ( "lpGlyphs" , & self . lpGlyphs ) . field ( "nGlyphs" , & self . nGlyphs ) . field ( "nMaxFit" , & self . nMaxFit ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GCP_RESULTSW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . lpOutString == other . lpOutString && self . lpOrder == other . lpOrder && self . lpDx == other . lpDx && self . lpCaretPos == other . lpCaretPos && self . lpClass == other . lpClass && self . lpGlyphs == other . lpGlyphs && self . nGlyphs == other . nGlyphs && self . nMaxFit == other . nMaxFit } } impl :: std :: cmp :: Eq for GCP_RESULTSW { } unsafe impl :: windows :: Abi for GCP_RESULTSW { type Abi = Self ; type DefaultType = Self ; } pub const GDICOMMENT_BEGINGROUP : u32 = 2u32 ; pub const GDICOMMENT_ENDGROUP : u32 = 3u32 ; pub const GDICOMMENT_IDENTIFIER : u32 = 1128875079u32 ; pub const GDICOMMENT_MULTIFORMATS : u32 = 1073741828u32 ; pub const GDICOMMENT_UNICODE_END : u32 = 128u32 ; pub const GDICOMMENT_UNICODE_STRING : u32 = 64u32 ; pub const GDICOMMENT_WINDOWS_METAFILE : u32 = 2147483649u32 ; pub const GDIPLUS_TS_QUERYVER : u32 = 4122u32 ; pub const GDIPLUS_TS_RECORD : u32 = 4123u32 ; pub const GDIREGISTERDDRAWPACKETVERSION : u32 = 1u32 ; pub const GDI_ERROR : i32 = -1i32 ; pub const GETCOLORTABLE : u32 = 5u32 ; pub const GETDEVICEUNITS : u32 = 42u32 ; pub const GETEXTENDEDTEXTMETRICS : u32 = 256u32 ; pub const GETEXTENTTABLE : u32 = 257u32 ; pub const GETFACENAME : u32 = 513u32 ; pub const GETPAIRKERNTABLE : u32 = 258u32 ; pub const GETPENWIDTH : u32 = 16u32 ; pub const GETPHYSPAGESIZE : u32 = 12u32 ; pub const GETPRINTINGOFFSET : u32 = 13u32 ; pub const GETSCALINGFACTOR : u32 = 14u32 ; pub const GETSETPAPERBINS : u32 = 29u32 ; pub const GETSETPAPERMETRICS : u32 = 35u32 ; pub const GETSETPRINTORIENT : u32 = 30u32 ; pub const GETSETSCREENPARAMS : u32 = 3072u32 ; pub const GETTECHNOLGY : u32 = 20u32 ; pub const GETTECHNOLOGY : u32 = 20u32 ; pub const GETTRACKKERNTABLE : u32 = 259u32 ; pub const GETVECTORBRUSHSIZE : u32 = 27u32 ; pub const GETVECTORPENSIZE : u32 = 26u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_CHARACTER_PLACEMENT_FLAGS ( pub u32 ) ; pub const GCP_CLASSIN : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 524288u32 ) ; pub const GCP_DIACRITIC : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 256u32 ) ; pub const GCP_DISPLAYZWG : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 4194304u32 ) ; pub const GCP_GLYPHSHAPE : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 16u32 ) ; pub const GCP_JUSTIFY : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 65536u32 ) ; pub const GCP_KASHIDA : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 1024u32 ) ; pub const GCP_LIGATE : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 32u32 ) ; pub const GCP_MAXEXTENT : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 1048576u32 ) ; pub const GCP_NEUTRALOVERRIDE : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 33554432u32 ) ; pub const GCP_NUMERICOVERRIDE : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 16777216u32 ) ; pub const GCP_NUMERICSLATIN : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 67108864u32 ) ; pub const GCP_NUMERICSLOCAL : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 134217728u32 ) ; pub const GCP_REORDER : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 2u32 ) ; pub const GCP_SYMSWAPOFF : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 8388608u32 ) ; pub const GCP_USEKERNING : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 8u32 ) ; impl :: std :: convert :: From < u32 > for GET_CHARACTER_PLACEMENT_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_CHARACTER_PLACEMENT_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GET_CHARACTER_PLACEMENT_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GET_CHARACTER_PLACEMENT_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GET_CHARACTER_PLACEMENT_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GET_CHARACTER_PLACEMENT_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for GET_CHARACTER_PLACEMENT_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_DCX_FLAGS ( pub u32 ) ; pub const DCX_WINDOW : GET_DCX_FLAGS = GET_DCX_FLAGS ( 1u32 ) ; pub const DCX_CACHE : GET_DCX_FLAGS = GET_DCX_FLAGS ( 2u32 ) ; pub const DCX_PARENTCLIP : GET_DCX_FLAGS = GET_DCX_FLAGS ( 32u32 ) ; pub const DCX_CLIPSIBLINGS : GET_DCX_FLAGS = GET_DCX_FLAGS ( 16u32 ) ; pub const DCX_CLIPCHILDREN : GET_DCX_FLAGS = GET_DCX_FLAGS ( 8u32 ) ; pub const DCX_NORESETATTRS : GET_DCX_FLAGS = GET_DCX_FLAGS ( 4u32 ) ; pub const DCX_LOCKWINDOWUPDATE : GET_DCX_FLAGS = GET_DCX_FLAGS ( 1024u32 ) ; pub const DCX_EXCLUDERGN : GET_DCX_FLAGS = GET_DCX_FLAGS ( 64u32 ) ; pub const DCX_INTERSECTRGN : GET_DCX_FLAGS = GET_DCX_FLAGS ( 128u32 ) ; pub const DCX_INTERSECTUPDATE : GET_DCX_FLAGS = GET_DCX_FLAGS ( 512u32 ) ; pub const DCX_VALIDATE : GET_DCX_FLAGS = GET_DCX_FLAGS ( 2097152u32 ) ; impl :: std :: convert :: From < u32 > for GET_DCX_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_DCX_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GET_DCX_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GET_DCX_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GET_DCX_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GET_DCX_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for GET_DCX_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_DEVICE_CAPS_INDEX ( pub u32 ) ; pub const DRIVERVERSION : GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX ( 0u32 ) ; impl :: std :: convert :: From < u32 > for GET_DEVICE_CAPS_INDEX { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_DEVICE_CAPS_INDEX { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GET_DEVICE_CAPS_INDEX { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GET_DEVICE_CAPS_INDEX { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GET_DEVICE_CAPS_INDEX { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GET_DEVICE_CAPS_INDEX { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for GET_DEVICE_CAPS_INDEX { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_GLYPH_OUTLINE_FORMAT ( pub u32 ) ; pub const GGO_BEZIER : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 3u32 ) ; pub const GGO_BITMAP : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 1u32 ) ; pub const GGO_GLYPH_INDEX : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 128u32 ) ; pub const GGO_GRAY2_BITMAP : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 4u32 ) ; pub const GGO_GRAY4_BITMAP : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 5u32 ) ; pub const GGO_GRAY8_BITMAP : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 6u32 ) ; pub const GGO_METRICS : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 0u32 ) ; pub const GGO_NATIVE : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 2u32 ) ; pub const GGO_UNHINTED : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 256u32 ) ; impl :: std :: convert :: From < u32 > for GET_GLYPH_OUTLINE_FORMAT { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_GLYPH_OUTLINE_FORMAT { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GET_GLYPH_OUTLINE_FORMAT { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GET_GLYPH_OUTLINE_FORMAT { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GET_GLYPH_OUTLINE_FORMAT { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GET_GLYPH_OUTLINE_FORMAT { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for GET_GLYPH_OUTLINE_FORMAT { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const GET_PS_FEATURESETTING : u32 = 4121u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_STOCK_OBJECT_FLAGS ( pub u32 ) ; pub const BLACK_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 4u32 ) ; pub const DKGRAY_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 3u32 ) ; pub const DC_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 18u32 ) ; pub const GRAY_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 2u32 ) ; pub const HOLLOW_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 5u32 ) ; pub const LTGRAY_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 1u32 ) ; pub const NULL_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 5u32 ) ; pub const WHITE_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 0u32 ) ; pub const BLACK_PEN : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 7u32 ) ; pub const DC_PEN : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 19u32 ) ; pub const NULL_PEN : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 8u32 ) ; pub const WHITE_PEN : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 6u32 ) ; pub const ANSI_FIXED_FONT : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 11u32 ) ; pub const ANSI_VAR_FONT : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 12u32 ) ; pub const DEVICE_DEFAULT_FONT : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 14u32 ) ; pub const DEFAULT_GUI_FONT : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 17u32 ) ; pub const OEM_FIXED_FONT : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 10u32 ) ; pub const SYSTEM_FONT : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 13u32 ) ; pub const SYSTEM_FIXED_FONT : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 16u32 ) ; pub const DEFAULT_PALETTE : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 15u32 ) ; impl :: std :: convert :: From < u32 > for GET_STOCK_OBJECT_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_STOCK_OBJECT_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GET_STOCK_OBJECT_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GET_STOCK_OBJECT_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GET_STOCK_OBJECT_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GET_STOCK_OBJECT_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for GET_STOCK_OBJECT_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const GGI_MARK_NONEXISTING_GLYPHS : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GLYPHMETRICS { pub gmBlackBoxX : u32 , pub gmBlackBoxY : u32 , pub gmptGlyphOrigin : super::super::Foundation:: POINT , pub gmCellIncX : i16 , pub gmCellIncY : i16 } impl GLYPHMETRICS { } impl :: std :: default :: Default for GLYPHMETRICS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for GLYPHMETRICS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GLYPHMETRICS" ) . field ( "gmBlackBoxX" , & self . gmBlackBoxX ) . field ( "gmBlackBoxY" , & self . gmBlackBoxY ) . field ( "gmptGlyphOrigin" , & self . gmptGlyphOrigin ) . field ( "gmCellIncX" , & self . gmCellIncX ) . field ( "gmCellIncY" , & self . gmCellIncY ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GLYPHMETRICS { fn eq ( & self , other : & Self ) -> bool { self . gmBlackBoxX == other . gmBlackBoxX && self . gmBlackBoxY == other . gmBlackBoxY && self . gmptGlyphOrigin == other . gmptGlyphOrigin && self . gmCellIncX == other . gmCellIncX && self . gmCellIncY == other . gmCellIncY } } impl :: std :: cmp :: Eq for GLYPHMETRICS { } unsafe impl :: windows :: Abi for GLYPHMETRICS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GLYPHSET { pub cbThis : u32 , pub flAccel : u32 , pub cGlyphsSupported : u32 , pub cRanges : u32 , pub ranges : [ WCRANGE ;1 ] } impl GLYPHSET { } impl :: std :: default :: Default for GLYPHSET { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for GLYPHSET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GLYPHSET" ) . field ( "cbThis" , & self . cbThis ) . field ( "flAccel" , & self . flAccel ) . field ( "cGlyphsSupported" , & self . cGlyphsSupported ) . field ( "cRanges" , & self . cRanges ) . field ( "ranges" , & self . ranges ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GLYPHSET { fn eq ( & self , other : & Self ) -> bool { self . cbThis == other . cbThis && self . flAccel == other . flAccel && self . cGlyphsSupported == other . cGlyphsSupported && self . cRanges == other . cRanges && self . ranges == other . ranges } } impl :: std :: cmp :: Eq for GLYPHSET { } unsafe impl :: windows :: Abi for GLYPHSET { type Abi = Self ; type DefaultType = Self ; } pub const GM_LAST : u32 = 2u32 ; pub type GOBJENUMPROC = unsafe extern "system" fn ( param0 : * mut :: std :: ffi :: c_void , param1 : super::super::Foundation:: LPARAM ) -> i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GRADIENT_FILL ( pub u32 ) ; pub const GRADIENT_FILL_RECT_H : GRADIENT_FILL = GRADIENT_FILL ( 0u32 ) ; pub const GRADIENT_FILL_RECT_V : GRADIENT_FILL = GRADIENT_FILL ( 1u32 ) ; pub const GRADIENT_FILL_TRIANGLE : GRADIENT_FILL = GRADIENT_FILL ( 2u32 ) ; impl :: std :: convert :: From < u32 > for GRADIENT_FILL { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GRADIENT_FILL { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GRADIENT_FILL { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GRADIENT_FILL { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GRADIENT_FILL { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GRADIENT_FILL { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for GRADIENT_FILL { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const GRADIENT_FILL_OP_FLAG : u32 = 255u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GRADIENT_RECT { pub UpperLeft : u32 , pub LowerRight : u32 } impl GRADIENT_RECT { } impl :: std :: default :: Default for GRADIENT_RECT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for GRADIENT_RECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GRADIENT_RECT" ) . field ( "UpperLeft" , & self . UpperLeft ) . field ( "LowerRight" , & self . LowerRight ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GRADIENT_RECT { fn eq ( & self , other : & Self ) -> bool { self . UpperLeft == other . UpperLeft && self . LowerRight == other . LowerRight } } impl :: std :: cmp :: Eq for GRADIENT_RECT { } unsafe impl :: windows :: Abi for GRADIENT_RECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GRADIENT_TRIANGLE { pub Vertex1 : u32 , pub Vertex2 : u32 , pub Vertex3 : u32 } impl GRADIENT_TRIANGLE { } impl :: std :: default :: Default for GRADIENT_TRIANGLE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for GRADIENT_TRIANGLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GRADIENT_TRIANGLE" ) . field ( "Vertex1" , & self . Vertex1 ) . field ( "Vertex2" , & self . Vertex2 ) . field ( "Vertex3" , & self . Vertex3 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GRADIENT_TRIANGLE { fn eq ( & self , other : & Self ) -> bool { self . Vertex1 == other . Vertex1 && self . Vertex2 == other . Vertex2 && self . Vertex3 == other . Vertex3 } } impl :: std :: cmp :: Eq for GRADIENT_TRIANGLE { } unsafe impl :: windows :: Abi for GRADIENT_TRIANGLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GRAPHICS_MODE ( pub u32 ) ; pub const GM_COMPATIBLE : GRAPHICS_MODE = GRAPHICS_MODE ( 1u32 ) ; pub const GM_ADVANCED : GRAPHICS_MODE = GRAPHICS_MODE ( 2u32 ) ; impl :: std :: convert :: From < u32 > for GRAPHICS_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GRAPHICS_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GRAPHICS_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GRAPHICS_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GRAPHICS_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GRAPHICS_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for GRAPHICS_MODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub type GRAYSTRINGPROC = unsafe extern "system" fn ( param0 : HDC , param1 : super::super::Foundation:: LPARAM , param2 : i32 ) -> super::super::Foundation:: BOOL ; pub const GREEK_CHARSET : u32 = 161u32 ; pub const GS_8BIT_INDICES : u32 = 1u32 ; pub unsafe fn GdiAlphaBlend < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , HDC > , Param10 : :: windows :: IntoParam < 'a , BLENDFUNCTION > , > ( hdcdest : Param0 , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : Param5 , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , ftn : Param10 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GdiAlphaBlend ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , ftn : BLENDFUNCTION ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GdiAlphaBlend ( hdcdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xorigindest ) , :: std :: mem :: transmute ( yorigindest ) , :: std :: mem :: transmute ( wdest ) , :: std :: mem :: transmute ( hdest ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xoriginsrc ) , :: std :: mem :: transmute ( yoriginsrc ) , :: std :: mem :: transmute ( wsrc ) , :: std :: mem :: transmute ( hsrc ) , ftn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GdiComment < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , nsize : u32 , lpdata : * const u8 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GdiComment ( hdc : HDC , nsize : u32 , lpdata : * const u8 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GdiComment ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nsize ) , :: std :: mem :: transmute ( lpdata ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GdiFlush < > ( ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GdiFlush ( ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GdiFlush ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GdiGetBatchLimit < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GdiGetBatchLimit ( ) -> u32 ; } :: std :: mem :: transmute ( GdiGetBatchLimit ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GdiGradientFill < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , pvertex : * const TRIVERTEX , nvertex : u32 , pmesh : * const :: std :: ffi :: c_void , ncount : u32 , ulmode : GRADIENT_FILL , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GdiGradientFill ( hdc : HDC , pvertex : * const TRIVERTEX , nvertex : u32 , pmesh : * const :: std :: ffi :: c_void , ncount : u32 , ulmode : GRADIENT_FILL ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GdiGradientFill ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pvertex ) , :: std :: mem :: transmute ( nvertex ) , :: std :: mem :: transmute ( pmesh ) , :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( ulmode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GdiSetBatchLimit < > ( dw : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GdiSetBatchLimit ( dw : u32 ) -> u32 ; } :: std :: mem :: transmute ( GdiSetBatchLimit ( :: std :: mem :: transmute ( dw ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GdiTransparentBlt < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , HDC > , > ( hdcdest : Param0 , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : Param5 , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , crtransparent : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GdiTransparentBlt ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , crtransparent : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GdiTransparentBlt ( hdcdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xorigindest ) , :: std :: mem :: transmute ( yorigindest ) , :: std :: mem :: transmute ( wdest ) , :: std :: mem :: transmute ( hdest ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xoriginsrc ) , :: std :: mem :: transmute ( yoriginsrc ) , :: std :: mem :: transmute ( wsrc ) , :: std :: mem :: transmute ( hsrc ) , :: std :: mem :: transmute ( crtransparent ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetArcDirection < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetArcDirection ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetArcDirection ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetAspectRatioFilterEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpsize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetAspectRatioFilterEx ( hdc : HDC , lpsize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetAspectRatioFilterEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetBitmapBits < 'a , Param0 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hbit : Param0 , cb : i32 , lpvbits : * mut :: std :: ffi :: c_void , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetBitmapBits ( hbit : HBITMAP , cb : i32 , lpvbits : * mut :: std :: ffi :: c_void ) -> i32 ; } :: std :: mem :: transmute ( GetBitmapBits ( hbit . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( lpvbits ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetBitmapDimensionEx < 'a , Param0 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hbit : Param0 , lpsize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetBitmapDimensionEx ( hbit : HBITMAP , lpsize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetBitmapDimensionEx ( hbit . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetBkColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetBkColor ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetBkColor ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetBkMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetBkMode ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetBkMode ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetBoundsRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lprect : * mut super::super::Foundation:: RECT , flags : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetBoundsRect ( hdc : HDC , lprect : * mut super::super::Foundation:: RECT , flags : u32 ) -> u32 ; } :: std :: mem :: transmute ( GetBoundsRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) , :: std :: mem :: transmute ( flags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetBrushOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetBrushOrgEx ( hdc : HDC , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetBrushOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharABCWidthsA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , wfirst : u32 , wlast : u32 , lpabc : * mut ABC , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharABCWidthsA ( hdc : HDC , wfirst : u32 , wlast : u32 , lpabc : * mut ABC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharABCWidthsA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( wfirst ) , :: std :: mem :: transmute ( wlast ) , :: std :: mem :: transmute ( lpabc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharABCWidthsFloatA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpabc : * mut ABCFLOAT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharABCWidthsFloatA ( hdc : HDC , ifirst : u32 , ilast : u32 , lpabc : * mut ABCFLOAT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharABCWidthsFloatA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpabc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharABCWidthsFloatW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpabc : * mut ABCFLOAT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharABCWidthsFloatW ( hdc : HDC , ifirst : u32 , ilast : u32 , lpabc : * mut ABCFLOAT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharABCWidthsFloatW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpabc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharABCWidthsI < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , gifirst : u32 , cgi : u32 , pgi : * const u16 , pabc : * mut ABC , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharABCWidthsI ( hdc : HDC , gifirst : u32 , cgi : u32 , pgi : * const u16 , pabc : * mut ABC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharABCWidthsI ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( gifirst ) , :: std :: mem :: transmute ( cgi ) , :: std :: mem :: transmute ( pgi ) , :: std :: mem :: transmute ( pabc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharABCWidthsW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , wfirst : u32 , wlast : u32 , lpabc : * mut ABC , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharABCWidthsW ( hdc : HDC , wfirst : u32 , wlast : u32 , lpabc : * mut ABC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharABCWidthsW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( wfirst ) , :: std :: mem :: transmute ( wlast ) , :: std :: mem :: transmute ( lpabc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharWidth32A < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharWidth32A ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharWidth32A ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharWidth32W < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharWidth32W ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharWidth32W ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharWidthA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharWidthA ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharWidthA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharWidthFloatA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpbuffer : * mut f32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharWidthFloatA ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : * mut f32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharWidthFloatA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharWidthFloatW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpbuffer : * mut f32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharWidthFloatW ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : * mut f32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharWidthFloatW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharWidthI < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , gifirst : u32 , cgi : u32 , pgi : * const u16 , piwidths : * mut i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharWidthI ( hdc : HDC , gifirst : u32 , cgi : u32 , pgi : * const u16 , piwidths : * mut i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharWidthI ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( gifirst ) , :: std :: mem :: transmute ( cgi ) , :: std :: mem :: transmute ( pgi ) , :: std :: mem :: transmute ( piwidths ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharWidthW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharWidthW ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharWidthW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharacterPlacementA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpstring : Param1 , ncount : i32 , nmexextent : i32 , lpresults : * mut GCP_RESULTSA , dwflags : GET_CHARACTER_PLACEMENT_FLAGS , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharacterPlacementA ( hdc : HDC , lpstring : super::super::Foundation:: PSTR , ncount : i32 , nmexextent : i32 , lpresults : * mut GCP_RESULTSA , dwflags : GET_CHARACTER_PLACEMENT_FLAGS ) -> u32 ; } :: std :: mem :: transmute ( GetCharacterPlacementA ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( nmexextent ) , :: std :: mem :: transmute ( lpresults ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharacterPlacementW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpstring : Param1 , ncount : i32 , nmexextent : i32 , lpresults : * mut GCP_RESULTSW , dwflags : GET_CHARACTER_PLACEMENT_FLAGS , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharacterPlacementW ( hdc : HDC , lpstring : super::super::Foundation:: PWSTR , ncount : i32 , nmexextent : i32 , lpresults : * mut GCP_RESULTSW , dwflags : GET_CHARACTER_PLACEMENT_FLAGS ) -> u32 ; } :: std :: mem :: transmute ( GetCharacterPlacementW ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( nmexextent ) , :: std :: mem :: transmute ( lpresults ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClipBox < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lprect : * mut super::super::Foundation:: RECT , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetClipBox ( hdc : HDC , lprect : * mut super::super::Foundation:: RECT ) -> i32 ; } :: std :: mem :: transmute ( GetClipBox ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClipRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hdc : Param0 , hrgn : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetClipRgn ( hdc : HDC , hrgn : HRGN ) -> i32 ; } :: std :: mem :: transmute ( GetClipRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetColorAdjustment < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpca : * mut COLORADJUSTMENT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetColorAdjustment ( hdc : HDC , lpca : * mut COLORADJUSTMENT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetColorAdjustment ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpca ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentObject < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , r#type : OBJ_TYPE , ) -> HGDIOBJ { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCurrentObject ( hdc : HDC , r#type : OBJ_TYPE ) -> HGDIOBJ ; } :: std :: mem :: transmute ( GetCurrentObject ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( r#type ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentPositionEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCurrentPositionEx ( hdc : HDC , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCurrentPositionEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDC < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , ) -> HDC { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetDC ( hwnd : super::super::Foundation:: HWND ) -> HDC ; } :: std :: mem :: transmute ( GetDC ( hwnd . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDCBrushColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetDCBrushColor ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetDCBrushColor ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDCEx < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hwnd : Param0 , hrgnclip : Param1 , flags : GET_DCX_FLAGS , ) -> HDC { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetDCEx ( hwnd : super::super::Foundation:: HWND , hrgnclip : HRGN , flags : GET_DCX_FLAGS ) -> HDC ; } :: std :: mem :: transmute ( GetDCEx ( hwnd . into_param ( ) . abi ( ) , hrgnclip . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( flags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDCOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetDCOrgEx ( hdc : HDC , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetDCOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDCPenColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetDCPenColor ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetDCPenColor ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDIBColorTable < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , istart : u32 , centries : u32 , prgbq : * mut RGBQUAD , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetDIBColorTable ( hdc : HDC , istart : u32 , centries : u32 , prgbq : * mut RGBQUAD ) -> u32 ; } :: std :: mem :: transmute ( GetDIBColorTable ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( istart ) , :: std :: mem :: transmute ( centries ) , :: std :: mem :: transmute ( prgbq ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDIBits < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hdc : Param0 , hbm : Param1 , start : u32 , clines : u32 , lpvbits : * mut :: std :: ffi :: c_void , lpbmi : * mut BITMAPINFO , usage : DIB_USAGE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetDIBits ( hdc : HDC , hbm : HBITMAP , start : u32 , clines : u32 , lpvbits : * mut :: std :: ffi :: c_void , lpbmi : * mut BITMAPINFO , usage : DIB_USAGE ) -> i32 ; } :: std :: mem :: transmute ( GetDIBits ( hdc . into_param ( ) . abi ( ) , hbm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( start ) , :: std :: mem :: transmute ( clines ) , :: std :: mem :: transmute ( lpvbits ) , :: std :: mem :: transmute ( lpbmi ) , :: std :: mem :: transmute ( usage ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDeviceCaps < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , index : GET_DEVICE_CAPS_INDEX , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetDeviceCaps ( hdc : HDC , index : GET_DEVICE_CAPS_INDEX ) -> i32 ; } :: std :: mem :: transmute ( GetDeviceCaps ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( index ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnhMetaFileA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( lpname : Param0 , ) -> HENHMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetEnhMetaFileA ( lpname : super::super::Foundation:: PSTR ) -> HENHMETAFILE ; } :: std :: mem :: transmute ( GetEnhMetaFileA ( lpname . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnhMetaFileBits < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hemf : Param0 , nsize : u32 , lpdata : * mut u8 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetEnhMetaFileBits ( hemf : HENHMETAFILE , nsize : u32 , lpdata : * mut u8 ) -> u32 ; } :: std :: mem :: transmute ( GetEnhMetaFileBits ( hemf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nsize ) , :: std :: mem :: transmute ( lpdata ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnhMetaFileDescriptionA < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hemf : Param0 , cchbuffer : u32 , lpdescription : super::super::Foundation:: PSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetEnhMetaFileDescriptionA ( hemf : HENHMETAFILE , cchbuffer : u32 , lpdescription : super::super::Foundation:: PSTR ) -> u32 ; } :: std :: mem :: transmute ( GetEnhMetaFileDescriptionA ( hemf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchbuffer ) , :: std :: mem :: transmute ( lpdescription ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnhMetaFileDescriptionW < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hemf : Param0 , cchbuffer : u32 , lpdescription : super::super::Foundation:: PWSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetEnhMetaFileDescriptionW ( hemf : HENHMETAFILE , cchbuffer : u32 , lpdescription : super::super::Foundation:: PWSTR ) -> u32 ; } :: std :: mem :: transmute ( GetEnhMetaFileDescriptionW ( hemf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchbuffer ) , :: std :: mem :: transmute ( lpdescription ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnhMetaFileHeader < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hemf : Param0 , nsize : u32 , lpenhmetaheader : * mut ENHMETAHEADER , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetEnhMetaFileHeader ( hemf : HENHMETAFILE , nsize : u32 , lpenhmetaheader : * mut ENHMETAHEADER ) -> u32 ; } :: std :: mem :: transmute ( GetEnhMetaFileHeader ( hemf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nsize ) , :: std :: mem :: transmute ( lpenhmetaheader ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnhMetaFilePaletteEntries < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hemf : Param0 , nnumentries : u32 , lppaletteentries : * mut PALETTEENTRY , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetEnhMetaFilePaletteEntries ( hemf : HENHMETAFILE , nnumentries : u32 , lppaletteentries : * mut PALETTEENTRY ) -> u32 ; } :: std :: mem :: transmute ( GetEnhMetaFilePaletteEntries ( hemf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nnumentries ) , :: std :: mem :: transmute ( lppaletteentries ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnhMetaFileW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( lpname : Param0 , ) -> HENHMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetEnhMetaFileW ( lpname : super::super::Foundation:: PWSTR ) -> HENHMETAFILE ; } :: std :: mem :: transmute ( GetEnhMetaFileW ( lpname . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFontData < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , dwtable : u32 , dwoffset : u32 , pvbuffer : * mut :: std :: ffi :: c_void , cjbuffer : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetFontData ( hdc : HDC , dwtable : u32 , dwoffset : u32 , pvbuffer : * mut :: std :: ffi :: c_void , cjbuffer : u32 ) -> u32 ; } :: std :: mem :: transmute ( GetFontData ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwtable ) , :: std :: mem :: transmute ( dwoffset ) , :: std :: mem :: transmute ( pvbuffer ) , :: std :: mem :: transmute ( cjbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFontLanguageInfo < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetFontLanguageInfo ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetFontLanguageInfo ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFontUnicodeRanges < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpgs : * mut GLYPHSET , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetFontUnicodeRanges ( hdc : HDC , lpgs : * mut GLYPHSET ) -> u32 ; } :: std :: mem :: transmute ( GetFontUnicodeRanges ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpgs ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetGlyphIndicesA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpstr : Param1 , c : i32 , pgi : * mut u16 , fl : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetGlyphIndicesA ( hdc : HDC , lpstr : super::super::Foundation:: PSTR , c : i32 , pgi : * mut u16 , fl : u32 ) -> u32 ; } :: std :: mem :: transmute ( GetGlyphIndicesA ( hdc . into_param ( ) . abi ( ) , lpstr . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( pgi ) , :: std :: mem :: transmute ( fl ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetGlyphIndicesW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpstr : Param1 , c : i32 , pgi : * mut u16 , fl : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetGlyphIndicesW ( hdc : HDC , lpstr : super::super::Foundation:: PWSTR , c : i32 , pgi : * mut u16 , fl : u32 ) -> u32 ; } :: std :: mem :: transmute ( GetGlyphIndicesW ( hdc . into_param ( ) . abi ( ) , lpstr . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( pgi ) , :: std :: mem :: transmute ( fl ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetGlyphOutlineA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , uchar : u32 , fuformat : GET_GLYPH_OUTLINE_FORMAT , lpgm : * mut GLYPHMETRICS , cjbuffer : u32 , pvbuffer : * mut :: std :: ffi :: c_void , lpmat2 : * const MAT2 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetGlyphOutlineA ( hdc : HDC , uchar : u32 , fuformat : GET_GLYPH_OUTLINE_FORMAT , lpgm : * mut GLYPHMETRICS , cjbuffer : u32 , pvbuffer : * mut :: std :: ffi :: c_void , lpmat2 : * const MAT2 ) -> u32 ; } :: std :: mem :: transmute ( GetGlyphOutlineA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( uchar ) , :: std :: mem :: transmute ( fuformat ) , :: std :: mem :: transmute ( lpgm ) , :: std :: mem :: transmute ( cjbuffer ) , :: std :: mem :: transmute ( pvbuffer ) , :: std :: mem :: transmute ( lpmat2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetGlyphOutlineW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , uchar : u32 , fuformat : GET_GLYPH_OUTLINE_FORMAT , lpgm : * mut GLYPHMETRICS , cjbuffer : u32 , pvbuffer : * mut :: std :: ffi :: c_void , lpmat2 : * const MAT2 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetGlyphOutlineW ( hdc : HDC , uchar : u32 , fuformat : GET_GLYPH_OUTLINE_FORMAT , lpgm : * mut GLYPHMETRICS , cjbuffer : u32 , pvbuffer : * mut :: std :: ffi :: c_void , lpmat2 : * const MAT2 ) -> u32 ; } :: std :: mem :: transmute ( GetGlyphOutlineW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( uchar ) , :: std :: mem :: transmute ( fuformat ) , :: std :: mem :: transmute ( lpgm ) , :: std :: mem :: transmute ( cjbuffer ) , :: std :: mem :: transmute ( pvbuffer ) , :: std :: mem :: transmute ( lpmat2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetGraphicsMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetGraphicsMode ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetGraphicsMode ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetKerningPairsA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , npairs : u32 , lpkernpair : * mut KERNINGPAIR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetKerningPairsA ( hdc : HDC , npairs : u32 , lpkernpair : * mut KERNINGPAIR ) -> u32 ; } :: std :: mem :: transmute ( GetKerningPairsA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( npairs ) , :: std :: mem :: transmute ( lpkernpair ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetKerningPairsW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , npairs : u32 , lpkernpair : * mut KERNINGPAIR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetKerningPairsW ( hdc : HDC , npairs : u32 , lpkernpair : * mut KERNINGPAIR ) -> u32 ; } :: std :: mem :: transmute ( GetKerningPairsW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( npairs ) , :: std :: mem :: transmute ( lpkernpair ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLayout < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetLayout ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetLayout ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMapMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetMapMode ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetMapMode ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMetaFileA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( lpname : Param0 , ) -> HMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetMetaFileA ( lpname : super::super::Foundation:: PSTR ) -> HMETAFILE ; } :: std :: mem :: transmute ( GetMetaFileA ( lpname . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMetaFileBitsEx < 'a , Param0 : :: windows :: IntoParam < 'a , HMETAFILE > , > ( hmf : Param0 , cbbuffer : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetMetaFileBitsEx ( hmf : HMETAFILE , cbbuffer : u32 , lpdata : * mut :: std :: ffi :: c_void ) -> u32 ; } :: std :: mem :: transmute ( GetMetaFileBitsEx ( hmf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cbbuffer ) , :: std :: mem :: transmute ( lpdata ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMetaFileW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( lpname : Param0 , ) -> HMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetMetaFileW ( lpname : super::super::Foundation:: PWSTR ) -> HMETAFILE ; } :: std :: mem :: transmute ( GetMetaFileW ( lpname . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMetaRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hdc : Param0 , hrgn : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetMetaRgn ( hdc : HDC , hrgn : HRGN ) -> i32 ; } :: std :: mem :: transmute ( GetMetaRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMiterLimit < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , plimit : * mut f32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetMiterLimit ( hdc : HDC , plimit : * mut f32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetMiterLimit ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( plimit ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMonitorInfoA < 'a , Param0 : :: windows :: IntoParam < 'a , HMONITOR > , > ( hmonitor : Param0 , lpmi : * mut MONITORINFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetMonitorInfoA ( hmonitor : HMONITOR , lpmi : * mut MONITORINFO ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetMonitorInfoA ( hmonitor . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpmi ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMonitorInfoW < 'a , Param0 : :: windows :: IntoParam < 'a , HMONITOR > , > ( hmonitor : Param0 , lpmi : * mut MONITORINFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetMonitorInfoW ( hmonitor : HMONITOR , lpmi : * mut MONITORINFO ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetMonitorInfoW ( hmonitor . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpmi ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNearestColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , color : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetNearestColor ( hdc : HDC , color : u32 ) -> u32 ; } :: std :: mem :: transmute ( GetNearestColor ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNearestPaletteIndex < 'a , Param0 : :: windows :: IntoParam < 'a , HPALETTE > , > ( h : Param0 , color : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetNearestPaletteIndex ( h : HPALETTE , color : u32 ) -> u32 ; } :: std :: mem :: transmute ( GetNearestPaletteIndex ( h . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetObjectA < 'a , Param0 : :: windows :: IntoParam < 'a , HGDIOBJ > , > ( h : Param0 , c : i32 , pv : * mut :: std :: ffi :: c_void , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetObjectA ( h : HGDIOBJ , c : i32 , pv : * mut :: std :: ffi :: c_void ) -> i32 ; } :: std :: mem :: transmute ( GetObjectA ( h . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( pv ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetObjectType < 'a , Param0 : :: windows :: IntoParam < 'a , HGDIOBJ > , > ( h : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetObjectType ( h : HGDIOBJ ) -> u32 ; } :: std :: mem :: transmute ( GetObjectType ( h . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetObjectW < 'a , Param0 : :: windows :: IntoParam < 'a , HGDIOBJ > , > ( h : Param0 , c : i32 , pv : * mut :: std :: ffi :: c_void , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetObjectW ( h : HGDIOBJ , c : i32 , pv : * mut :: std :: ffi :: c_void ) -> i32 ; } :: std :: mem :: transmute ( GetObjectW ( h . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( pv ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetOutlineTextMetricsA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , cjcopy : u32 , potm : * mut OUTLINETEXTMETRICA , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetOutlineTextMetricsA ( hdc : HDC , cjcopy : u32 , potm : * mut OUTLINETEXTMETRICA ) -> u32 ; } :: std :: mem :: transmute ( GetOutlineTextMetricsA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cjcopy ) , :: std :: mem :: transmute ( potm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetOutlineTextMetricsW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , cjcopy : u32 , potm : * mut OUTLINETEXTMETRICW , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetOutlineTextMetricsW ( hdc : HDC , cjcopy : u32 , potm : * mut OUTLINETEXTMETRICW ) -> u32 ; } :: std :: mem :: transmute ( GetOutlineTextMetricsW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cjcopy ) , :: std :: mem :: transmute ( potm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPaletteEntries < 'a , Param0 : :: windows :: IntoParam < 'a , HPALETTE > , > ( hpal : Param0 , istart : u32 , centries : u32 , ppalentries : * mut PALETTEENTRY , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetPaletteEntries ( hpal : HPALETTE , istart : u32 , centries : u32 , ppalentries : * mut PALETTEENTRY ) -> u32 ; } :: std :: mem :: transmute ( GetPaletteEntries ( hpal . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( istart ) , :: std :: mem :: transmute ( centries ) , :: std :: mem :: transmute ( ppalentries ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * mut super::super::Foundation:: POINT , aj : * mut u8 , cpt : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetPath ( hdc : HDC , apt : * mut super::super::Foundation:: POINT , aj : * mut u8 , cpt : i32 ) -> i32 ; } :: std :: mem :: transmute ( GetPath ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( aj ) , :: std :: mem :: transmute ( cpt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPixel < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetPixel ( hdc : HDC , x : i32 , y : i32 ) -> u32 ; } :: std :: mem :: transmute ( GetPixel ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPolyFillMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetPolyFillMode ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetPolyFillMode ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetROP2 < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetROP2 ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetROP2 ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetRandomRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hdc : Param0 , hrgn : Param1 , i : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetRandomRgn ( hdc : HDC , hrgn : HRGN , i : i32 ) -> i32 ; } :: std :: mem :: transmute ( GetRandomRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( i ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetRasterizerCaps < > ( lpraststat : * mut RASTERIZER_STATUS , cjbytes : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetRasterizerCaps ( lpraststat : * mut RASTERIZER_STATUS , cjbytes : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetRasterizerCaps ( :: std :: mem :: transmute ( lpraststat ) , :: std :: mem :: transmute ( cjbytes ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetRegionData < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgn : Param0 , ncount : u32 , lprgndata : * mut RGNDATA , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetRegionData ( hrgn : HRGN , ncount : u32 , lprgndata : * mut RGNDATA ) -> u32 ; } :: std :: mem :: transmute ( GetRegionData ( hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( lprgndata ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetRgnBox < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgn : Param0 , lprc : * mut super::super::Foundation:: RECT , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetRgnBox ( hrgn : HRGN , lprc : * mut super::super::Foundation:: RECT ) -> i32 ; } :: std :: mem :: transmute ( GetRgnBox ( hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetStockObject < > ( i : GET_STOCK_OBJECT_FLAGS , ) -> HGDIOBJ { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetStockObject ( i : GET_STOCK_OBJECT_FLAGS ) -> HGDIOBJ ; } :: std :: mem :: transmute ( GetStockObject ( :: std :: mem :: transmute ( i ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetStretchBltMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetStretchBltMode ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetStretchBltMode ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSysColorBrush < > ( nindex : i32 , ) -> HBRUSH { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetSysColorBrush ( nindex : i32 ) -> HBRUSH ; } :: std :: mem :: transmute ( GetSysColorBrush ( :: std :: mem :: transmute ( nindex ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSystemPaletteEntries < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , istart : u32 , centries : u32 , ppalentries : * mut PALETTEENTRY , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetSystemPaletteEntries ( hdc : HDC , istart : u32 , centries : u32 , ppalentries : * mut PALETTEENTRY ) -> u32 ; } :: std :: mem :: transmute ( GetSystemPaletteEntries ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( istart ) , :: std :: mem :: transmute ( centries ) , :: std :: mem :: transmute ( ppalentries ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSystemPaletteUse < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetSystemPaletteUse ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetSystemPaletteUse ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTabbedTextExtentA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpstring : Param1 , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetTabbedTextExtentA ( hdc : HDC , lpstring : super::super::Foundation:: PSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 ) -> u32 ; } :: std :: mem :: transmute ( GetTabbedTextExtentA ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( chcount ) , :: std :: mem :: transmute ( ntabpositions ) , :: std :: mem :: transmute ( lpntabstoppositions ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTabbedTextExtentW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpstring : Param1 , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetTabbedTextExtentW ( hdc : HDC , lpstring : super::super::Foundation:: PWSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 ) -> u32 ; } :: std :: mem :: transmute ( GetTabbedTextExtentW ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( chcount ) , :: std :: mem :: transmute ( ntabpositions ) , :: std :: mem :: transmute ( lpntabstoppositions ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextAlign < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextAlign ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetTextAlign ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextCharacterExtra < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextCharacterExtra ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetTextCharacterExtra ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextColor ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetTextColor ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentExPointA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpszstring : Param1 , cchstring : i32 , nmaxextent : i32 , lpnfit : * mut i32 , lpndx : * mut i32 , lpsize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentExPointA ( hdc : HDC , lpszstring : super::super::Foundation:: PSTR , cchstring : i32 , nmaxextent : i32 , lpnfit : * mut i32 , lpndx : * mut i32 , lpsize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentExPointA ( hdc . into_param ( ) . abi ( ) , lpszstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchstring ) , :: std :: mem :: transmute ( nmaxextent ) , :: std :: mem :: transmute ( lpnfit ) , :: std :: mem :: transmute ( lpndx ) , :: std :: mem :: transmute ( lpsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentExPointI < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpwszstring : * const u16 , cwchstring : i32 , nmaxextent : i32 , lpnfit : * mut i32 , lpndx : * mut i32 , lpsize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentExPointI ( hdc : HDC , lpwszstring : * const u16 , cwchstring : i32 , nmaxextent : i32 , lpnfit : * mut i32 , lpndx : * mut i32 , lpsize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentExPointI ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpwszstring ) , :: std :: mem :: transmute ( cwchstring ) , :: std :: mem :: transmute ( nmaxextent ) , :: std :: mem :: transmute ( lpnfit ) , :: std :: mem :: transmute ( lpndx ) , :: std :: mem :: transmute ( lpsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentExPointW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpszstring : Param1 , cchstring : i32 , nmaxextent : i32 , lpnfit : * mut i32 , lpndx : * mut i32 , lpsize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentExPointW ( hdc : HDC , lpszstring : super::super::Foundation:: PWSTR , cchstring : i32 , nmaxextent : i32 , lpnfit : * mut i32 , lpndx : * mut i32 , lpsize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentExPointW ( hdc . into_param ( ) . abi ( ) , lpszstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchstring ) , :: std :: mem :: transmute ( nmaxextent ) , :: std :: mem :: transmute ( lpnfit ) , :: std :: mem :: transmute ( lpndx ) , :: std :: mem :: transmute ( lpsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentPoint32A < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpstring : Param1 , c : i32 , psizl : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentPoint32A ( hdc : HDC , lpstring : super::super::Foundation:: PSTR , c : i32 , psizl : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentPoint32A ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( psizl ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentPoint32W < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpstring : Param1 , c : i32 , psizl : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentPoint32W ( hdc : HDC , lpstring : super::super::Foundation:: PWSTR , c : i32 , psizl : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentPoint32W ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( psizl ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentPointA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpstring : Param1 , c : i32 , lpsz : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentPointA ( hdc : HDC , lpstring : super::super::Foundation:: PSTR , c : i32 , lpsz : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentPointA ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( lpsz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentPointI < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , pgiin : * const u16 , cgi : i32 , psize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentPointI ( hdc : HDC , pgiin : * const u16 , cgi : i32 , psize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentPointI ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pgiin ) , :: std :: mem :: transmute ( cgi ) , :: std :: mem :: transmute ( psize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentPointW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpstring : Param1 , c : i32 , lpsz : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentPointW ( hdc : HDC , lpstring : super::super::Foundation:: PWSTR , c : i32 , lpsz : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentPointW ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( lpsz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextFaceA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , c : i32 , lpname : super::super::Foundation:: PSTR , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextFaceA ( hdc : HDC , c : i32 , lpname : super::super::Foundation:: PSTR ) -> i32 ; } :: std :: mem :: transmute ( GetTextFaceA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( lpname ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextFaceW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , c : i32 , lpname : super::super::Foundation:: PWSTR , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextFaceW ( hdc : HDC , c : i32 , lpname : super::super::Foundation:: PWSTR ) -> i32 ; } :: std :: mem :: transmute ( GetTextFaceW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( lpname ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextMetricsA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lptm : * mut TEXTMETRICA , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextMetricsA ( hdc : HDC , lptm : * mut TEXTMETRICA ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextMetricsA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lptm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextMetricsW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lptm : * mut TEXTMETRICW , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextMetricsW ( hdc : HDC , lptm : * mut TEXTMETRICW ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextMetricsW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lptm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetUpdateRect < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , > ( hwnd : Param0 , lprect : * mut super::super::Foundation:: RECT , berase : Param2 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetUpdateRect ( hwnd : super::super::Foundation:: HWND , lprect : * mut super::super::Foundation:: RECT , berase : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetUpdateRect ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) , berase . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetUpdateRgn < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HRGN > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , > ( hwnd : Param0 , hrgn : Param1 , berase : Param2 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetUpdateRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN , berase : super::super::Foundation:: BOOL ) -> i32 ; } :: std :: mem :: transmute ( GetUpdateRgn ( hwnd . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) , berase . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetViewportExtEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpsize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetViewportExtEx ( hdc : HDC , lpsize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetViewportExtEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetViewportOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lppoint : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetViewportOrgEx ( hdc : HDC , lppoint : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetViewportOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppoint ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWinMetaFileBits < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , Param4 : :: windows :: IntoParam < 'a , HDC > , > ( hemf : Param0 , cbdata16 : u32 , pdata16 : * mut u8 , imapmode : i32 , hdcref : Param4 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetWinMetaFileBits ( hemf : HENHMETAFILE , cbdata16 : u32 , pdata16 : * mut u8 , imapmode : i32 , hdcref : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetWinMetaFileBits ( hemf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cbdata16 ) , :: std :: mem :: transmute ( pdata16 ) , :: std :: mem :: transmute ( imapmode ) , hdcref . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowDC < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , ) -> HDC { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetWindowDC ( hwnd : super::super::Foundation:: HWND ) -> HDC ; } :: std :: mem :: transmute ( GetWindowDC ( hwnd . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowExtEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpsize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetWindowExtEx ( hdc : HDC , lpsize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetWindowExtEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lppoint : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetWindowOrgEx ( hdc : HDC , lppoint : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetWindowOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppoint ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowRgn < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hwnd : Param0 , hrgn : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetWindowRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN ) -> i32 ; } :: std :: mem :: transmute ( GetWindowRgn ( hwnd . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowRgnBox < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , lprc : * mut super::super::Foundation:: RECT , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetWindowRgnBox ( hwnd : super::super::Foundation:: HWND , lprc : * mut super::super::Foundation:: RECT ) -> i32 ; } :: std :: mem :: transmute ( GetWindowRgnBox ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWorldTransform < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpxf : * mut XFORM , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetWorldTransform ( hdc : HDC , lpxf : * mut XFORM ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetWorldTransform ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpxf ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GradientFill < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , pvertex : * const TRIVERTEX , nvertex : u32 , pmesh : * const :: std :: ffi :: c_void , nmesh : u32 , ulmode : GRADIENT_FILL , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="msimg32" ) ] extern "system" { fn GradientFill ( hdc : HDC , pvertex : * const TRIVERTEX , nvertex : u32 , pmesh : * const :: std :: ffi :: c_void , nmesh : u32 , ulmode : GRADIENT_FILL ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GradientFill ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pvertex ) , :: std :: mem :: transmute ( nvertex ) , :: std :: mem :: transmute ( pmesh ) , :: std :: mem :: transmute ( nmesh ) , :: std :: mem :: transmute ( ulmode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GrayStringA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HBRUSH > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , hbrush : Param1 , lpoutputfunc : :: std :: option :: Option < GRAYSTRINGPROC > , lpdata : Param3 , ncount : i32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GrayStringA ( hdc : HDC , hbrush : HBRUSH , lpoutputfunc : :: windows :: RawPtr , lpdata : super::super::Foundation:: LPARAM , ncount : i32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GrayStringA ( hdc . into_param ( ) . abi ( ) , hbrush . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpoutputfunc ) , lpdata . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( nwidth ) , :: std :: mem :: transmute ( nheight ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GrayStringW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HBRUSH > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , hbrush : Param1 , lpoutputfunc : :: std :: option :: Option < GRAYSTRINGPROC > , lpdata : Param3 , ncount : i32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GrayStringW ( hdc : HDC , hbrush : HBRUSH , lpoutputfunc : :: windows :: RawPtr , lpdata : super::super::Foundation:: LPARAM , ncount : i32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GrayStringW ( hdc . into_param ( ) . abi ( ) , hbrush . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpoutputfunc ) , lpdata . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( nwidth ) , :: std :: mem :: transmute ( nheight ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct HANDLETABLE { pub objectHandle : [ HGDIOBJ ;1 ] } impl HANDLETABLE { } impl :: std :: default :: Default for HANDLETABLE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for HANDLETABLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HANDLETABLE" ) . field ( "objectHandle" , & self . objectHandle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HANDLETABLE { fn eq ( & self , other : & Self ) -> bool { self . objectHandle == other . objectHandle } } impl :: std :: cmp :: Eq for HANDLETABLE { } unsafe impl :: windows :: Abi for HANDLETABLE { type Abi = Self ; type DefaultType = Self ; } pub const HANGEUL_CHARSET : u32 = 129u32 ; pub const HANGUL_CHARSET : u32 = 129u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct HATCH_BRUSH_STYLE ( pub u32 ) ; pub const HS_BDIAGONAL : HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE ( 3u32 ) ; pub const HS_CROSS : HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE ( 4u32 ) ; pub const HS_DIAGCROSS : HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE ( 5u32 ) ; pub const HS_FDIAGONAL : HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE ( 2u32 ) ; pub const HS_HORIZONTAL : HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE ( 0u32 ) ; pub const HS_VERTICAL : HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE ( 1u32 ) ; impl :: std :: convert :: From < u32 > for HATCH_BRUSH_STYLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for HATCH_BRUSH_STYLE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for HATCH_BRUSH_STYLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for HATCH_BRUSH_STYLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for HATCH_BRUSH_STYLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for HATCH_BRUSH_STYLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for HATCH_BRUSH_STYLE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HBITMAP ( pub isize ) ; impl :: std :: default :: Default for HBITMAP { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HBITMAP { } unsafe impl :: windows :: Abi for HBITMAP { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HBITMAP { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HBRUSH ( pub isize ) ; impl :: std :: default :: Default for HBRUSH { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HBRUSH { } unsafe impl :: windows :: Abi for HBRUSH { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HBRUSH { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HDC ( pub isize ) ; impl :: std :: default :: Default for HDC { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HDC { } unsafe impl :: windows :: Abi for HDC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct HDC_MAP_MODE ( pub u32 ) ; pub const MM_ANISOTROPIC : HDC_MAP_MODE = HDC_MAP_MODE ( 8u32 ) ; pub const MM_HIENGLISH : HDC_MAP_MODE = HDC_MAP_MODE ( 5u32 ) ; pub const MM_HIMETRIC : HDC_MAP_MODE = HDC_MAP_MODE ( 3u32 ) ; pub const MM_ISOTROPIC : HDC_MAP_MODE = HDC_MAP_MODE ( 7u32 ) ; pub const MM_LOENGLISH : HDC_MAP_MODE = HDC_MAP_MODE ( 4u32 ) ; pub const MM_LOMETRIC : HDC_MAP_MODE = HDC_MAP_MODE ( 2u32 ) ; pub const MM_TEXT : HDC_MAP_MODE = HDC_MAP_MODE ( 1u32 ) ; pub const MM_TWIPS : HDC_MAP_MODE = HDC_MAP_MODE ( 6u32 ) ; impl :: std :: convert :: From < u32 > for HDC_MAP_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for HDC_MAP_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for HDC_MAP_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for HDC_MAP_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for HDC_MAP_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for HDC_MAP_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for HDC_MAP_MODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const HEBREW_CHARSET : u32 = 177u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HENHMETAFILE ( pub isize ) ; impl :: std :: default :: Default for HENHMETAFILE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HENHMETAFILE { } unsafe impl :: windows :: Abi for HENHMETAFILE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HFONT ( pub isize ) ; impl :: std :: default :: Default for HFONT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HFONT { } unsafe impl :: windows :: Abi for HFONT { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HFONT { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HGDIOBJ ( pub isize ) ; impl :: std :: default :: Default for HGDIOBJ { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HGDIOBJ { } unsafe impl :: windows :: Abi for HGDIOBJ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HMETAFILE ( pub isize ) ; impl :: std :: default :: Default for HMETAFILE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HMETAFILE { } unsafe impl :: windows :: Abi for HMETAFILE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HMONITOR ( pub isize ) ; impl :: std :: default :: Default for HMONITOR { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HMONITOR { } unsafe impl :: windows :: Abi for HMONITOR { type Abi = Self ; type DefaultType = Self ; } pub const HORZRES : u32 = 8u32 ; pub const HORZSIZE : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HPALETTE ( pub isize ) ; impl :: std :: default :: Default for HPALETTE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HPALETTE { } unsafe impl :: windows :: Abi for HPALETTE { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HPALETTE { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HPEN ( pub isize ) ; impl :: std :: default :: Default for HPEN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HPEN { } unsafe impl :: windows :: Abi for HPEN { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HPEN { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HRGN ( pub isize ) ; impl :: std :: default :: Default for HRGN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HRGN { } unsafe impl :: windows :: Abi for HRGN { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HRGN { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } pub const HS_API_MAX : u32 = 12u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HdcMetdataEnhFileHandle ( pub isize ) ; impl :: std :: default :: Default for HdcMetdataEnhFileHandle { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HdcMetdataEnhFileHandle { } unsafe impl :: windows :: Abi for HdcMetdataEnhFileHandle { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HdcMetdataFileHandle ( pub isize ) ; impl :: std :: default :: Default for HdcMetdataFileHandle { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HdcMetdataFileHandle { } unsafe impl :: windows :: Abi for HdcMetdataFileHandle { type Abi = Self ; type DefaultType = Self ; } pub const ICM_DONE_OUTSIDEDC : u32 = 4u32 ; pub const ICM_OFF : u32 = 1u32 ; pub const ICM_ON : u32 = 2u32 ; pub const ICM_QUERY : u32 = 3u32 ; pub const ILLUMINANT_A : u32 = 1u32 ; pub const ILLUMINANT_B : u32 = 2u32 ; pub const ILLUMINANT_C : u32 = 3u32 ; pub const ILLUMINANT_D50 : u32 = 4u32 ; pub const ILLUMINANT_D55 : u32 = 5u32 ; pub const ILLUMINANT_D65 : u32 = 6u32 ; pub const ILLUMINANT_D75 : u32 = 7u32 ; pub const ILLUMINANT_DEVICE_DEFAULT : u32 = 0u32 ; pub const ILLUMINANT_F2 : u32 = 8u32 ; pub unsafe fn InflateRect < > ( lprc : * mut super::super::Foundation:: RECT , dx : i32 , dy : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn InflateRect ( lprc : * mut super::super::Foundation:: RECT , dx : i32 , dy : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( InflateRect ( :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( dx ) , :: std :: mem :: transmute ( dy ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IntersectClipRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn IntersectClipRect ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> i32 ; } :: std :: mem :: transmute ( IntersectClipRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IntersectRect < > ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc1 : * const super::super::Foundation:: RECT , lprcsrc2 : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn IntersectRect ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc1 : * const super::super::Foundation:: RECT , lprcsrc2 : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( IntersectRect ( :: std :: mem :: transmute ( lprcdst ) , :: std :: mem :: transmute ( lprcsrc1 ) , :: std :: mem :: transmute ( lprcsrc2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InvalidateRect < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , > ( hwnd : Param0 , lprect : * const super::super::Foundation:: RECT , berase : Param2 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn InvalidateRect ( hwnd : super::super::Foundation:: HWND , lprect : * const super::super::Foundation:: RECT , berase : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( InvalidateRect ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) , berase . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InvalidateRgn < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HRGN > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , > ( hwnd : Param0 , hrgn : Param1 , berase : Param2 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn InvalidateRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN , berase : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( InvalidateRgn ( hwnd . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) , berase . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InvertRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lprc : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn InvertRect ( hdc : HDC , lprc : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( InvertRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InvertRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hdc : Param0 , hrgn : Param1 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn InvertRgn ( hdc : HDC , hrgn : HRGN ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( InvertRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IsRectEmpty < > ( lprc : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn IsRectEmpty ( lprc : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( IsRectEmpty ( :: std :: mem :: transmute ( lprc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const JOHAB_CHARSET : u32 = 130u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KERNINGPAIR { pub wFirst : u16 , pub wSecond : u16 , pub iKernAmount : i32 } impl KERNINGPAIR { } impl :: std :: default :: Default for KERNINGPAIR { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for KERNINGPAIR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KERNINGPAIR" ) . field ( "wFirst" , & self . wFirst ) . field ( "wSecond" , & self . wSecond ) . field ( "iKernAmount" , & self . iKernAmount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KERNINGPAIR { fn eq ( & self , other : & Self ) -> bool { self . wFirst == other . wFirst && self . wSecond == other . wSecond && self . iKernAmount == other . iKernAmount } } impl :: std :: cmp :: Eq for KERNINGPAIR { } unsafe impl :: windows :: Abi for KERNINGPAIR { type Abi = Self ; type DefaultType = Self ; } pub const LAYOUT_BTT : u32 = 2u32 ; pub const LAYOUT_VBH : u32 = 4u32 ; pub const LCS_CALIBRATED_RGB : i32 = 0i32 ; pub const LCS_GM_ABS_COLORIMETRIC : i32 = 8i32 ; pub const LCS_GM_BUSINESS : i32 = 1i32 ; pub const LCS_GM_GRAPHICS : i32 = 2i32 ; pub const LCS_GM_IMAGES : i32 = 4i32 ; pub const LC_INTERIORS : u32 = 128u32 ; pub const LC_MARKER : u32 = 4u32 ; pub const LC_NONE : u32 = 0u32 ; pub const LC_POLYLINE : u32 = 2u32 ; pub const LC_POLYMARKER : u32 = 8u32 ; pub const LC_STYLED : u32 = 32u32 ; pub const LC_WIDE : u32 = 16u32 ; pub const LC_WIDESTYLED : u32 = 64u32 ; pub const LF_FACESIZE : u32 = 32u32 ; pub const LF_FULLFACESIZE : u32 = 64u32 ; pub const LINECAPS : u32 = 30u32 ; pub type LINEDDAPROC = unsafe extern "system" fn ( param0 : i32 , param1 : i32 , param2 : super::super::Foundation:: LPARAM ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGBRUSH { pub lbStyle : u32 , pub lbColor : u32 , pub lbHatch : usize } impl LOGBRUSH { } impl :: std :: default :: Default for LOGBRUSH { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGBRUSH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGBRUSH" ) . field ( "lbStyle" , & self . lbStyle ) . field ( "lbColor" , & self . lbColor ) . field ( "lbHatch" , & self . lbHatch ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGBRUSH { fn eq ( & self , other : & Self ) -> bool { self . lbStyle == other . lbStyle && self . lbColor == other . lbColor && self . lbHatch == other . lbHatch } } impl :: std :: cmp :: Eq for LOGBRUSH { } unsafe impl :: windows :: Abi for LOGBRUSH { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGBRUSH32 { pub lbStyle : u32 , pub lbColor : u32 , pub lbHatch : u32 } impl LOGBRUSH32 { } impl :: std :: default :: Default for LOGBRUSH32 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGBRUSH32 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGBRUSH32" ) . field ( "lbStyle" , & self . lbStyle ) . field ( "lbColor" , & self . lbColor ) . field ( "lbHatch" , & self . lbHatch ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGBRUSH32 { fn eq ( & self , other : & Self ) -> bool { self . lbStyle == other . lbStyle && self . lbColor == other . lbColor && self . lbHatch == other . lbHatch } } impl :: std :: cmp :: Eq for LOGBRUSH32 { } unsafe impl :: windows :: Abi for LOGBRUSH32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGFONTA { pub lfHeight : i32 , pub lfWidth : i32 , pub lfEscapement : i32 , pub lfOrientation : i32 , pub lfWeight : i32 , pub lfItalic : u8 , pub lfUnderline : u8 , pub lfStrikeOut : u8 , pub lfCharSet : u8 , pub lfOutPrecision : u8 , pub lfClipPrecision : u8 , pub lfQuality : u8 , pub lfPitchAndFamily : u8 , pub lfFaceName : [ super::super::System::SystemServices:: CHAR ;32 ] } impl LOGFONTA { } impl :: std :: default :: Default for LOGFONTA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGFONTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGFONTA" ) . field ( "lfHeight" , & self . lfHeight ) . field ( "lfWidth" , & self . lfWidth ) . field ( "lfEscapement" , & self . lfEscapement ) . field ( "lfOrientation" , & self . lfOrientation ) . field ( "lfWeight" , & self . lfWeight ) . field ( "lfItalic" , & self . lfItalic ) . field ( "lfUnderline" , & self . lfUnderline ) . field ( "lfStrikeOut" , & self . lfStrikeOut ) . field ( "lfCharSet" , & self . lfCharSet ) . field ( "lfOutPrecision" , & self . lfOutPrecision ) . field ( "lfClipPrecision" , & self . lfClipPrecision ) . field ( "lfQuality" , & self . lfQuality ) . field ( "lfPitchAndFamily" , & self . lfPitchAndFamily ) . field ( "lfFaceName" , & self . lfFaceName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGFONTA { fn eq ( & self , other : & Self ) -> bool { self . lfHeight == other . lfHeight && self . lfWidth == other . lfWidth && self . lfEscapement == other . lfEscapement && self . lfOrientation == other . lfOrientation && self . lfWeight == other . lfWeight && self . lfItalic == other . lfItalic && self . lfUnderline == other . lfUnderline && self . lfStrikeOut == other . lfStrikeOut && self . lfCharSet == other . lfCharSet && self . lfOutPrecision == other . lfOutPrecision && self . lfClipPrecision == other . lfClipPrecision && self . lfQuality == other . lfQuality && self . lfPitchAndFamily == other . lfPitchAndFamily && self . lfFaceName == other . lfFaceName } } impl :: std :: cmp :: Eq for LOGFONTA { } unsafe impl :: windows :: Abi for LOGFONTA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGFONTW { pub lfHeight : i32 , pub lfWidth : i32 , pub lfEscapement : i32 , pub lfOrientation : i32 , pub lfWeight : i32 , pub lfItalic : u8 , pub lfUnderline : u8 , pub lfStrikeOut : u8 , pub lfCharSet : u8 , pub lfOutPrecision : u8 , pub lfClipPrecision : u8 , pub lfQuality : u8 , pub lfPitchAndFamily : u8 , pub lfFaceName : [ u16 ;32 ] } impl LOGFONTW { } impl :: std :: default :: Default for LOGFONTW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGFONTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGFONTW" ) . field ( "lfHeight" , & self . lfHeight ) . field ( "lfWidth" , & self . lfWidth ) . field ( "lfEscapement" , & self . lfEscapement ) . field ( "lfOrientation" , & self . lfOrientation ) . field ( "lfWeight" , & self . lfWeight ) . field ( "lfItalic" , & self . lfItalic ) . field ( "lfUnderline" , & self . lfUnderline ) . field ( "lfStrikeOut" , & self . lfStrikeOut ) . field ( "lfCharSet" , & self . lfCharSet ) . field ( "lfOutPrecision" , & self . lfOutPrecision ) . field ( "lfClipPrecision" , & self . lfClipPrecision ) . field ( "lfQuality" , & self . lfQuality ) . field ( "lfPitchAndFamily" , & self . lfPitchAndFamily ) . field ( "lfFaceName" , & self . lfFaceName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGFONTW { fn eq ( & self , other : & Self ) -> bool { self . lfHeight == other . lfHeight && self . lfWidth == other . lfWidth && self . lfEscapement == other . lfEscapement && self . lfOrientation == other . lfOrientation && self . lfWeight == other . lfWeight && self . lfItalic == other . lfItalic && self . lfUnderline == other . lfUnderline && self . lfStrikeOut == other . lfStrikeOut && self . lfCharSet == other . lfCharSet && self . lfOutPrecision == other . lfOutPrecision && self . lfClipPrecision == other . lfClipPrecision && self . lfQuality == other . lfQuality && self . lfPitchAndFamily == other . lfPitchAndFamily && self . lfFaceName == other . lfFaceName } } impl :: std :: cmp :: Eq for LOGFONTW { } unsafe impl :: windows :: Abi for LOGFONTW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGPALETTE { pub palVersion : u16 , pub palNumEntries : u16 , pub palPalEntry : [ PALETTEENTRY ;1 ] } impl LOGPALETTE { } impl :: std :: default :: Default for LOGPALETTE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGPALETTE" ) . field ( "palVersion" , & self . palVersion ) . field ( "palNumEntries" , & self . palNumEntries ) . field ( "palPalEntry" , & self . palPalEntry ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGPALETTE { fn eq ( & self , other : & Self ) -> bool { self . palVersion == other . palVersion && self . palNumEntries == other . palNumEntries && self . palPalEntry == other . palPalEntry } } impl :: std :: cmp :: Eq for LOGPALETTE { } unsafe impl :: windows :: Abi for LOGPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGPEN { pub lopnStyle : u32 , pub lopnWidth : super::super::Foundation:: POINT , pub lopnColor : u32 } impl LOGPEN { } impl :: std :: default :: Default for LOGPEN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGPEN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGPEN" ) . field ( "lopnStyle" , & self . lopnStyle ) . field ( "lopnWidth" , & self . lopnWidth ) . field ( "lopnColor" , & self . lopnColor ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGPEN { fn eq ( & self , other : & Self ) -> bool { self . lopnStyle == other . lopnStyle && self . lopnWidth == other . lopnWidth && self . lopnColor == other . lopnColor } } impl :: std :: cmp :: Eq for LOGPEN { } unsafe impl :: windows :: Abi for LOGPEN { type Abi = Self ; type DefaultType = Self ; } pub const LOGPIXELSX : u32 = 88u32 ; pub const LOGPIXELSY : u32 = 90u32 ; pub const LPD_DOUBLEBUFFER : u32 = 1u32 ; pub const LPD_SHARE_ACCUM : u32 = 256u32 ; pub const LPD_SHARE_DEPTH : u32 = 64u32 ; pub const LPD_SHARE_STENCIL : u32 = 128u32 ; pub const LPD_STEREO : u32 = 2u32 ; pub const LPD_SUPPORT_GDI : u32 = 16u32 ; pub const LPD_SUPPORT_OPENGL : u32 = 32u32 ; pub const LPD_SWAP_COPY : u32 = 1024u32 ; pub const LPD_SWAP_EXCHANGE : u32 = 512u32 ; pub const LPD_TRANSPARENT : u32 = 4096u32 ; pub const LPD_TYPE_COLORINDEX : u32 = 1u32 ; pub const LPD_TYPE_RGBA : u32 = 0u32 ; pub type LPFNDEVCAPS = unsafe extern "system" fn ( param0 : super::super::Foundation:: PSTR , param1 : super::super::Foundation:: PSTR , param2 : u32 , param3 : super::super::Foundation:: PSTR , param4 : * mut super::super::UI::DisplayDevices:: DEVMODEA ) -> u32 ; pub type LPFNDEVMODE = unsafe extern "system" fn ( param0 : super::super::Foundation:: HWND , param1 : super::super::Foundation:: HINSTANCE , param2 : * mut super::super::UI::DisplayDevices:: DEVMODEA , param3 : super::super::Foundation:: PSTR , param4 : super::super::Foundation:: PSTR , param5 : * mut super::super::UI::DisplayDevices:: DEVMODEA , param6 : super::super::Foundation:: PSTR , param7 : u32 ) -> u32 ; pub unsafe fn LPtoDP < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lppt : * mut super::super::Foundation:: POINT , c : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn LPtoDP ( hdc : HDC , lppt : * mut super::super::Foundation:: POINT , c : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( LPtoDP ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppt ) , :: std :: mem :: transmute ( c ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LineDDA < 'a , Param5 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( xstart : i32 , ystart : i32 , xend : i32 , yend : i32 , lpproc : :: std :: option :: Option < LINEDDAPROC > , data : Param5 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn LineDDA ( xstart : i32 , ystart : i32 , xend : i32 , yend : i32 , lpproc : :: windows :: RawPtr , data : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( LineDDA ( :: std :: mem :: transmute ( xstart ) , :: std :: mem :: transmute ( ystart ) , :: std :: mem :: transmute ( xend ) , :: std :: mem :: transmute ( yend ) , :: std :: mem :: transmute ( lpproc ) , data . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LineTo < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn LineTo ( hdc : HDC , x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( LineTo ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadBitmapA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HINSTANCE > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hinstance : Param0 , lpbitmapname : Param1 , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn LoadBitmapA ( hinstance : super::super::Foundation:: HINSTANCE , lpbitmapname : super::super::Foundation:: PSTR ) -> HBITMAP ; } :: std :: mem :: transmute ( LoadBitmapA ( hinstance . into_param ( ) . abi ( ) , lpbitmapname . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadBitmapW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HINSTANCE > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hinstance : Param0 , lpbitmapname : Param1 , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn LoadBitmapW ( hinstance : super::super::Foundation:: HINSTANCE , lpbitmapname : super::super::Foundation:: PWSTR ) -> HBITMAP ; } :: std :: mem :: transmute ( LoadBitmapW ( hinstance . into_param ( ) . abi ( ) , lpbitmapname . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LockWindowUpdate < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwndlock : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn LockWindowUpdate ( hwndlock : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( LockWindowUpdate ( hwndlock . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const MAC_CHARSET : u32 = 77u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MAT2 { pub eM11 : FIXED , pub eM12 : FIXED , pub eM21 : FIXED , pub eM22 : FIXED } impl MAT2 { } impl :: std :: default :: Default for MAT2 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for MAT2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MAT2" ) . field ( "eM11" , & self . eM11 ) . field ( "eM12" , & self . eM12 ) . field ( "eM21" , & self . eM21 ) . field ( "eM22" , & self . eM22 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MAT2 { fn eq ( & self , other : & Self ) -> bool { self . eM11 == other . eM11 && self . eM12 == other . eM12 && self . eM21 == other . eM21 && self . eM22 == other . eM22 } } impl :: std :: cmp :: Eq for MAT2 { } unsafe impl :: windows :: Abi for MAT2 { type Abi = Self ; type DefaultType = Self ; } pub const MAXSTRETCHBLTMODE : u32 = 4u32 ; pub const METAFILE_DRIVER : u32 = 2049u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct METAHEADER { pub mtType : u16 , pub mtHeaderSize : u16 , pub mtVersion : u16 , pub mtSize : u32 , pub mtNoObjects : u16 , pub mtMaxRecord : u32 , pub mtNoParameters : u16 } impl METAHEADER { } impl :: std :: default :: Default for METAHEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for METAHEADER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for METAHEADER { } unsafe impl :: windows :: Abi for METAHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct METARECORD { pub rdSize : u32 , pub rdFunction : u16 , pub rdParm : [ u16 ;1 ] } impl METARECORD { } impl :: std :: default :: Default for METARECORD { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for METARECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "METARECORD" ) . field ( "rdSize" , & self . rdSize ) . field ( "rdFunction" , & self . rdFunction ) . field ( "rdParm" , & self . rdParm ) . finish ( ) } } impl :: std :: cmp :: PartialEq for METARECORD { fn eq ( & self , other : & Self ) -> bool { self . rdSize == other . rdSize && self . rdFunction == other . rdFunction && self . rdParm == other . rdParm } } impl :: std :: cmp :: Eq for METARECORD { } unsafe impl :: windows :: Abi for METARECORD { type Abi = Self ; type DefaultType = Self ; } pub const META_ANIMATEPALETTE : u32 = 1078u32 ; pub const META_ARC : u32 = 2071u32 ; pub const META_BITBLT : u32 = 2338u32 ; pub const META_CHORD : u32 = 2096u32 ; pub const META_CREATEBRUSHINDIRECT : u32 = 764u32 ; pub const META_CREATEFONTINDIRECT : u32 = 763u32 ; pub const META_CREATEPALETTE : u32 = 247u32 ; pub const META_CREATEPATTERNBRUSH : u32 = 505u32 ; pub const META_CREATEPENINDIRECT : u32 = 762u32 ; pub const META_CREATEREGION : u32 = 1791u32 ; pub const META_DELETEOBJECT : u32 = 496u32 ; pub const META_DIBBITBLT : u32 = 2368u32 ; pub const META_DIBCREATEPATTERNBRUSH : u32 = 322u32 ; pub const META_DIBSTRETCHBLT : u32 = 2881u32 ; pub const META_ELLIPSE : u32 = 1048u32 ; pub const META_ESCAPE : u32 = 1574u32 ; pub const META_EXCLUDECLIPRECT : u32 = 1045u32 ; pub const META_EXTFLOODFILL : u32 = 1352u32 ; pub const META_EXTTEXTOUT : u32 = 2610u32 ; pub const META_FILLREGION : u32 = 552u32 ; pub const META_FLOODFILL : u32 = 1049u32 ; pub const META_FRAMEREGION : u32 = 1065u32 ; pub const META_INTERSECTCLIPRECT : u32 = 1046u32 ; pub const META_INVERTREGION : u32 = 298u32 ; pub const META_LINETO : u32 = 531u32 ; pub const META_MOVETO : u32 = 532u32 ; pub const META_OFFSETCLIPRGN : u32 = 544u32 ; pub const META_OFFSETVIEWPORTORG : u32 = 529u32 ; pub const META_OFFSETWINDOWORG : u32 = 527u32 ; pub const META_PAINTREGION : u32 = 299u32 ; pub const META_PATBLT : u32 = 1565u32 ; pub const META_PIE : u32 = 2074u32 ; pub const META_POLYGON : u32 = 804u32 ; pub const META_POLYLINE : u32 = 805u32 ; pub const META_POLYPOLYGON : u32 = 1336u32 ; pub const META_REALIZEPALETTE : u32 = 53u32 ; pub const META_RECTANGLE : u32 = 1051u32 ; pub const META_RESIZEPALETTE : u32 = 313u32 ; pub const META_RESTOREDC : u32 = 295u32 ; pub const META_ROUNDRECT : u32 = 1564u32 ; pub const META_SAVEDC : u32 = 30u32 ; pub const META_SCALEVIEWPORTEXT : u32 = 1042u32 ; pub const META_SCALEWINDOWEXT : u32 = 1040u32 ; pub const META_SELECTCLIPREGION : u32 = 300u32 ; pub const META_SELECTOBJECT : u32 = 301u32 ; pub const META_SELECTPALETTE : u32 = 564u32 ; pub const META_SETBKCOLOR : u32 = 513u32 ; pub const META_SETBKMODE : u32 = 258u32 ; pub const META_SETDIBTODEV : u32 = 3379u32 ; pub const META_SETLAYOUT : u32 = 329u32 ; pub const META_SETMAPMODE : u32 = 259u32 ; pub const META_SETMAPPERFLAGS : u32 = 561u32 ; pub const META_SETPALENTRIES : u32 = 55u32 ; pub const META_SETPIXEL : u32 = 1055u32 ; pub const META_SETPOLYFILLMODE : u32 = 262u32 ; pub const META_SETRELABS : u32 = 261u32 ; pub const META_SETROP2 : u32 = 260u32 ; pub const META_SETSTRETCHBLTMODE : u32 = 263u32 ; pub const META_SETTEXTALIGN : u32 = 302u32 ; pub const META_SETTEXTCHAREXTRA : u32 = 264u32 ; pub const META_SETTEXTCOLOR : u32 = 521u32 ; pub const META_SETTEXTJUSTIFICATION : u32 = 522u32 ; pub const META_SETVIEWPORTEXT : u32 = 526u32 ; pub const META_SETVIEWPORTORG : u32 = 525u32 ; pub const META_SETWINDOWEXT : u32 = 524u32 ; pub const META_SETWINDOWORG : u32 = 523u32 ; pub const META_STRETCHBLT : u32 = 2851u32 ; pub const META_STRETCHDIB : u32 = 3907u32 ; pub const META_TEXTOUT : u32 = 1313u32 ; pub const MFCOMMENT : u32 = 15u32 ; pub type MFENUMPROC = unsafe extern "system" fn ( hdc : HDC , lpht : * const HANDLETABLE , lpmr : * const METARECORD , nobj : i32 , param4 : super::super::Foundation:: LPARAM ) -> i32 ; pub const MILCORE_TS_QUERYVER_RESULT_FALSE : u32 = 0u32 ; pub const MILCORE_TS_QUERYVER_RESULT_TRUE : u32 = 2147483647u32 ; pub const MM_MAX_AXES_NAMELEN : u32 = 16u32 ; pub const MM_MAX_NUMAXES : u32 = 16u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MODIFY_WORLD_TRANSFORM_MODE ( pub u32 ) ; pub const MWT_IDENTITY : MODIFY_WORLD_TRANSFORM_MODE = MODIFY_WORLD_TRANSFORM_MODE ( 1u32 ) ; pub const MWT_LEFTMULTIPLY : MODIFY_WORLD_TRANSFORM_MODE = MODIFY_WORLD_TRANSFORM_MODE ( 2u32 ) ; pub const MWT_RIGHTMULTIPLY : MODIFY_WORLD_TRANSFORM_MODE = MODIFY_WORLD_TRANSFORM_MODE ( 3u32 ) ; impl :: std :: convert :: From < u32 > for MODIFY_WORLD_TRANSFORM_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MODIFY_WORLD_TRANSFORM_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for MODIFY_WORLD_TRANSFORM_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MODIFY_WORLD_TRANSFORM_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MODIFY_WORLD_TRANSFORM_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MODIFY_WORLD_TRANSFORM_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for MODIFY_WORLD_TRANSFORM_MODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub type MONITORENUMPROC = unsafe extern "system" fn ( param0 : HMONITOR , param1 : HDC , param2 : * mut super::super::Foundation:: RECT , param3 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MONITORINFO { pub cbSize : u32 , pub rcMonitor : super::super::Foundation:: RECT , pub rcWork : super::super::Foundation:: RECT , pub dwFlags : u32 } impl MONITORINFO { } impl :: std :: default :: Default for MONITORINFO { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for MONITORINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MONITORINFO" ) . field ( "cbSize" , & self . cbSize ) . field ( "rcMonitor" , & self . rcMonitor ) . field ( "rcWork" , & self . rcWork ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MONITORINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcMonitor == other . rcMonitor && self . rcWork == other . rcWork && self . dwFlags == other . dwFlags } } impl :: std :: cmp :: Eq for MONITORINFO { } unsafe impl :: windows :: Abi for MONITORINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MONITORINFOEXA { pub __AnonymousBase_winuser_L13554_C43 : MONITORINFO , pub szDevice : [ super::super::System::SystemServices:: CHAR ;32 ] } impl MONITORINFOEXA { } impl :: std :: default :: Default for MONITORINFOEXA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for MONITORINFOEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MONITORINFOEXA" ) . field ( "__AnonymousBase_winuser_L13554_C43" , & self . __AnonymousBase_winuser_L13554_C43 ) . field ( "szDevice" , & self . szDevice ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MONITORINFOEXA { fn eq ( & self , other : & Self ) -> bool { self . __AnonymousBase_winuser_L13554_C43 == other . __AnonymousBase_winuser_L13554_C43 && self . szDevice == other . szDevice } } impl :: std :: cmp :: Eq for MONITORINFOEXA { } unsafe impl :: windows :: Abi for MONITORINFOEXA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MONITORINFOEXW { pub __AnonymousBase_winuser_L13558_C43 : MONITORINFO , pub szDevice : [ u16 ;32 ] } impl MONITORINFOEXW { } impl :: std :: default :: Default for MONITORINFOEXW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for MONITORINFOEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MONITORINFOEXW" ) . field ( "__AnonymousBase_winuser_L13558_C43" , & self . __AnonymousBase_winuser_L13558_C43 ) . field ( "szDevice" , & self . szDevice ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MONITORINFOEXW { fn eq ( & self , other : & Self ) -> bool { self . __AnonymousBase_winuser_L13558_C43 == other . __AnonymousBase_winuser_L13558_C43 && self . szDevice == other . szDevice } } impl :: std :: cmp :: Eq for MONITORINFOEXW { } unsafe impl :: windows :: Abi for MONITORINFOEXW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MONITOR_FROM_FLAGS ( pub u32 ) ; pub const MONITOR_DEFAULTTONEAREST : MONITOR_FROM_FLAGS = MONITOR_FROM_FLAGS ( 2u32 ) ; pub const MONITOR_DEFAULTTONULL : MONITOR_FROM_FLAGS = MONITOR_FROM_FLAGS ( 0u32 ) ; pub const MONITOR_DEFAULTTOPRIMARY : MONITOR_FROM_FLAGS = MONITOR_FROM_FLAGS ( 1u32 ) ; impl :: std :: convert :: From < u32 > for MONITOR_FROM_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MONITOR_FROM_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for MONITOR_FROM_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MONITOR_FROM_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MONITOR_FROM_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MONITOR_FROM_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for MONITOR_FROM_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const MONO_FONT : u32 = 8u32 ; pub const MOUSETRAILS : u32 = 39u32 ; pub unsafe fn MapWindowPoints < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwndfrom : Param0 , hwndto : Param1 , lppoints : * mut super::super::Foundation:: POINT , cpoints : u32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn MapWindowPoints ( hwndfrom : super::super::Foundation:: HWND , hwndto : super::super::Foundation:: HWND , lppoints : * mut super::super::Foundation:: POINT , cpoints : u32 ) -> i32 ; } :: std :: mem :: transmute ( MapWindowPoints ( hwndfrom . into_param ( ) . abi ( ) , hwndto . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppoints ) , :: std :: mem :: transmute ( cpoints ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MaskBlt < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , HDC > , Param8 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hdcdest : Param0 , xdest : i32 , ydest : i32 , width : i32 , height : i32 , hdcsrc : Param5 , xsrc : i32 , ysrc : i32 , hbmmask : Param8 , xmask : i32 , ymask : i32 , rop : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn MaskBlt ( hdcdest : HDC , xdest : i32 , ydest : i32 , width : i32 , height : i32 , hdcsrc : HDC , xsrc : i32 , ysrc : i32 , hbmmask : HBITMAP , xmask : i32 , ymask : i32 , rop : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( MaskBlt ( hdcdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xdest ) , :: std :: mem :: transmute ( ydest ) , :: std :: mem :: transmute ( width ) , :: std :: mem :: transmute ( height ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xsrc ) , :: std :: mem :: transmute ( ysrc ) , hbmmask . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xmask ) , :: std :: mem :: transmute ( ymask ) , :: std :: mem :: transmute ( rop ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MergeFontPackage < > ( puchmergefontbuffer : * const u8 , ulmergefontbuffersize : u32 , puchfontpackagebuffer : * const u8 , ulfontpackagebuffersize : u32 , ppuchdestbuffer : * mut * mut u8 , puldestbuffersize : * mut u32 , pulbyteswritten : * mut u32 , usmode : u16 , lpfnallocate : :: std :: option :: Option < CFP_ALLOCPROC > , lpfnreallocate : :: std :: option :: Option < CFP_REALLOCPROC > , lpfnfree : :: std :: option :: Option < CFP_FREEPROC > , lpvreserved : * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="fontsub" ) ] extern "system" { fn MergeFontPackage ( puchmergefontbuffer : * const u8 , ulmergefontbuffersize : u32 , puchfontpackagebuffer : * const u8 , ulfontpackagebuffersize : u32 , ppuchdestbuffer : * mut * mut u8 , puldestbuffersize : * mut u32 , pulbyteswritten : * mut u32 , usmode : u16 , lpfnallocate : :: windows :: RawPtr , lpfnreallocate : :: windows :: RawPtr , lpfnfree : :: windows :: RawPtr , lpvreserved : * mut :: std :: ffi :: c_void ) -> u32 ; } :: std :: mem :: transmute ( MergeFontPackage ( :: std :: mem :: transmute ( puchmergefontbuffer ) , :: std :: mem :: transmute ( ulmergefontbuffersize ) , :: std :: mem :: transmute ( puchfontpackagebuffer ) , :: std :: mem :: transmute ( ulfontpackagebuffersize ) , :: std :: mem :: transmute ( ppuchdestbuffer ) , :: std :: mem :: transmute ( puldestbuffersize ) , :: std :: mem :: transmute ( pulbyteswritten ) , :: std :: mem :: transmute ( usmode ) , :: std :: mem :: transmute ( lpfnallocate ) , :: std :: mem :: transmute ( lpfnreallocate ) , :: std :: mem :: transmute ( lpfnfree ) , :: std :: mem :: transmute ( lpvreserved ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ModifyWorldTransform < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpxf : * const XFORM , mode : MODIFY_WORLD_TRANSFORM_MODE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ModifyWorldTransform ( hdc : HDC , lpxf : * const XFORM , mode : MODIFY_WORLD_TRANSFORM_MODE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ModifyWorldTransform ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpxf ) , :: std :: mem :: transmute ( mode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MonitorFromPoint < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: POINT > , > ( pt : Param0 , dwflags : MONITOR_FROM_FLAGS , ) -> HMONITOR { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn MonitorFromPoint ( pt : super::super::Foundation:: POINT , dwflags : MONITOR_FROM_FLAGS ) -> HMONITOR ; } :: std :: mem :: transmute ( MonitorFromPoint ( pt . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MonitorFromRect < > ( lprc : * const super::super::Foundation:: RECT , dwflags : MONITOR_FROM_FLAGS , ) -> HMONITOR { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn MonitorFromRect ( lprc : * const super::super::Foundation:: RECT , dwflags : MONITOR_FROM_FLAGS ) -> HMONITOR ; } :: std :: mem :: transmute ( MonitorFromRect ( :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MonitorFromWindow < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , dwflags : MONITOR_FROM_FLAGS , ) -> HMONITOR { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn MonitorFromWindow ( hwnd : super::super::Foundation:: HWND , dwflags : MONITOR_FROM_FLAGS ) -> HMONITOR ; } :: std :: mem :: transmute ( MonitorFromWindow ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MoveToEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn MoveToEx ( hdc : HDC , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( MoveToEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const NEWFRAME : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NEWTEXTMETRICA { pub tmHeight : i32 , pub tmAscent : i32 , pub tmDescent : i32 , pub tmInternalLeading : i32 , pub tmExternalLeading : i32 , pub tmAveCharWidth : i32 , pub tmMaxCharWidth : i32 , pub tmWeight : i32 , pub tmOverhang : i32 , pub tmDigitizedAspectX : i32 , pub tmDigitizedAspectY : i32 , pub tmFirstChar : u8 , pub tmLastChar : u8 , pub tmDefaultChar : u8 , pub tmBreakChar : u8 , pub tmItalic : u8 , pub tmUnderlined : u8 , pub tmStruckOut : u8 , pub tmPitchAndFamily : u8 , pub tmCharSet : u8 , pub ntmFlags : u32 , pub ntmSizeEM : u32 , pub ntmCellHeight : u32 , pub ntmAvgWidth : u32 } impl NEWTEXTMETRICA { } impl :: std :: default :: Default for NEWTEXTMETRICA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for NEWTEXTMETRICA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NEWTEXTMETRICA" ) . field ( "tmHeight" , & self . tmHeight ) . field ( "tmAscent" , & self . tmAscent ) . field ( "tmDescent" , & self . tmDescent ) . field ( "tmInternalLeading" , & self . tmInternalLeading ) . field ( "tmExternalLeading" , & self . tmExternalLeading ) . field ( "tmAveCharWidth" , & self . tmAveCharWidth ) . field ( "tmMaxCharWidth" , & self . tmMaxCharWidth ) . field ( "tmWeight" , & self . tmWeight ) . field ( "tmOverhang" , & self . tmOverhang ) . field ( "tmDigitizedAspectX" , & self . tmDigitizedAspectX ) . field ( "tmDigitizedAspectY" , & self . tmDigitizedAspectY ) . field ( "tmFirstChar" , & self . tmFirstChar ) . field ( "tmLastChar" , & self . tmLastChar ) . field ( "tmDefaultChar" , & self . tmDefaultChar ) . field ( "tmBreakChar" , & self . tmBreakChar ) . field ( "tmItalic" , & self . tmItalic ) . field ( "tmUnderlined" , & self . tmUnderlined ) . field ( "tmStruckOut" , & self . tmStruckOut ) . field ( "tmPitchAndFamily" , & self . tmPitchAndFamily ) . field ( "tmCharSet" , & self . tmCharSet ) . field ( "ntmFlags" , & self . ntmFlags ) . field ( "ntmSizeEM" , & self . ntmSizeEM ) . field ( "ntmCellHeight" , & self . ntmCellHeight ) . field ( "ntmAvgWidth" , & self . ntmAvgWidth ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NEWTEXTMETRICA { fn eq ( & self , other : & Self ) -> bool { self . tmHeight == other . tmHeight && self . tmAscent == other . tmAscent && self . tmDescent == other . tmDescent && self . tmInternalLeading == other . tmInternalLeading && self . tmExternalLeading == other . tmExternalLeading && self . tmAveCharWidth == other . tmAveCharWidth && self . tmMaxCharWidth == other . tmMaxCharWidth && self . tmWeight == other . tmWeight && self . tmOverhang == other . tmOverhang && self . tmDigitizedAspectX == other . tmDigitizedAspectX && self . tmDigitizedAspectY == other . tmDigitizedAspectY && self . tmFirstChar == other . tmFirstChar && self . tmLastChar == other . tmLastChar && self . tmDefaultChar == other . tmDefaultChar && self . tmBreakChar == other . tmBreakChar && self . tmItalic == other . tmItalic && self . tmUnderlined == other . tmUnderlined && self . tmStruckOut == other . tmStruckOut && self . tmPitchAndFamily == other . tmPitchAndFamily && self . tmCharSet == other . tmCharSet && self . ntmFlags == other . ntmFlags && self . ntmSizeEM == other . ntmSizeEM && self . ntmCellHeight == other . ntmCellHeight && self . ntmAvgWidth == other . ntmAvgWidth } } impl :: std :: cmp :: Eq for NEWTEXTMETRICA { } unsafe impl :: windows :: Abi for NEWTEXTMETRICA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NEWTEXTMETRICEXA { pub ntmTm : NEWTEXTMETRICA , pub ntmFontSig : super::super::Globalization:: FONTSIGNATURE } impl NEWTEXTMETRICEXA { } impl :: std :: default :: Default for NEWTEXTMETRICEXA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for NEWTEXTMETRICEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NEWTEXTMETRICEXA" ) . field ( "ntmTm" , & self . ntmTm ) . field ( "ntmFontSig" , & self . ntmFontSig ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NEWTEXTMETRICEXA { fn eq ( & self , other : & Self ) -> bool { self . ntmTm == other . ntmTm && self . ntmFontSig == other . ntmFontSig } } impl :: std :: cmp :: Eq for NEWTEXTMETRICEXA { } unsafe impl :: windows :: Abi for NEWTEXTMETRICEXA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NEWTEXTMETRICEXW { pub ntmTm : NEWTEXTMETRICW , pub ntmFontSig : super::super::Globalization:: FONTSIGNATURE } impl NEWTEXTMETRICEXW { } impl :: std :: default :: Default for NEWTEXTMETRICEXW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for NEWTEXTMETRICEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NEWTEXTMETRICEXW" ) . field ( "ntmTm" , & self . ntmTm ) . field ( "ntmFontSig" , & self . ntmFontSig ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NEWTEXTMETRICEXW { fn eq ( & self , other : & Self ) -> bool { self . ntmTm == other . ntmTm && self . ntmFontSig == other . ntmFontSig } } impl :: std :: cmp :: Eq for NEWTEXTMETRICEXW { } unsafe impl :: windows :: Abi for NEWTEXTMETRICEXW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NEWTEXTMETRICW { pub tmHeight : i32 , pub tmAscent : i32 , pub tmDescent : i32 , pub tmInternalLeading : i32 , pub tmExternalLeading : i32 , pub tmAveCharWidth : i32 , pub tmMaxCharWidth : i32 , pub tmWeight : i32 , pub tmOverhang : i32 , pub tmDigitizedAspectX : i32 , pub tmDigitizedAspectY : i32 , pub tmFirstChar : u16 , pub tmLastChar : u16 , pub tmDefaultChar : u16 , pub tmBreakChar : u16 , pub tmItalic : u8 , pub tmUnderlined : u8 , pub tmStruckOut : u8 , pub tmPitchAndFamily : u8 , pub tmCharSet : u8 , pub ntmFlags : u32 , pub ntmSizeEM : u32 , pub ntmCellHeight : u32 , pub ntmAvgWidth : u32 } impl NEWTEXTMETRICW { } impl :: std :: default :: Default for NEWTEXTMETRICW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for NEWTEXTMETRICW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NEWTEXTMETRICW" ) . field ( "tmHeight" , & self . tmHeight ) . field ( "tmAscent" , & self . tmAscent ) . field ( "tmDescent" , & self . tmDescent ) . field ( "tmInternalLeading" , & self . tmInternalLeading ) . field ( "tmExternalLeading" , & self . tmExternalLeading ) . field ( "tmAveCharWidth" , & self . tmAveCharWidth ) . field ( "tmMaxCharWidth" , & self . tmMaxCharWidth ) . field ( "tmWeight" , & self . tmWeight ) . field ( "tmOverhang" , & self . tmOverhang ) . field ( "tmDigitizedAspectX" , & self . tmDigitizedAspectX ) . field ( "tmDigitizedAspectY" , & self . tmDigitizedAspectY ) . field ( "tmFirstChar" , & self . tmFirstChar ) . field ( "tmLastChar" , & self . tmLastChar ) . field ( "tmDefaultChar" , & self . tmDefaultChar ) . field ( "tmBreakChar" , & self . tmBreakChar ) . field ( "tmItalic" , & self . tmItalic ) . field ( "tmUnderlined" , & self . tmUnderlined ) . field ( "tmStruckOut" , & self . tmStruckOut ) . field ( "tmPitchAndFamily" , & self . tmPitchAndFamily ) . field ( "tmCharSet" , & self . tmCharSet ) . field ( "ntmFlags" , & self . ntmFlags ) . field ( "ntmSizeEM" , & self . ntmSizeEM ) . field ( "ntmCellHeight" , & self . ntmCellHeight ) . field ( "ntmAvgWidth" , & self . ntmAvgWidth ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NEWTEXTMETRICW { fn eq ( & self , other : & Self ) -> bool { self . tmHeight == other . tmHeight && self . tmAscent == other . tmAscent && self . tmDescent == other . tmDescent && self . tmInternalLeading == other . tmInternalLeading && self . tmExternalLeading == other . tmExternalLeading && self . tmAveCharWidth == other . tmAveCharWidth && self . tmMaxCharWidth == other . tmMaxCharWidth && self . tmWeight == other . tmWeight && self . tmOverhang == other . tmOverhang && self . tmDigitizedAspectX == other . tmDigitizedAspectX && self . tmDigitizedAspectY == other . tmDigitizedAspectY && self . tmFirstChar == other . tmFirstChar && self . tmLastChar == other . tmLastChar && self . tmDefaultChar == other . tmDefaultChar && self . tmBreakChar == other . tmBreakChar && self . tmItalic == other . tmItalic && self . tmUnderlined == other . tmUnderlined && self . tmStruckOut == other . tmStruckOut && self . tmPitchAndFamily == other . tmPitchAndFamily && self . tmCharSet == other . tmCharSet && self . ntmFlags == other . ntmFlags && self . ntmSizeEM == other . ntmSizeEM && self . ntmCellHeight == other . ntmCellHeight && self . ntmAvgWidth == other . ntmAvgWidth } } impl :: std :: cmp :: Eq for NEWTEXTMETRICW { } unsafe impl :: windows :: Abi for NEWTEXTMETRICW { type Abi = Self ; type DefaultType = Self ; } pub const NEXTBAND : u32 = 3u32 ; pub const NTM_BOLD : i32 = 32i32 ; pub const NTM_DSIG : u32 = 2097152u32 ; pub const NTM_ITALIC : i32 = 1i32 ; pub const NTM_MULTIPLEMASTER : u32 = 524288u32 ; pub const NTM_NONNEGATIVE_AC : u32 = 65536u32 ; pub const NTM_PS_OPENTYPE : u32 = 131072u32 ; pub const NTM_REGULAR : i32 = 64i32 ; pub const NTM_TT_OPENTYPE : u32 = 262144u32 ; pub const NTM_TYPE1 : u32 = 1048576u32 ; pub const NULLREGION : u32 = 1u32 ; pub const NUMBRUSHES : u32 = 16u32 ; pub const NUMCOLORS : u32 = 24u32 ; pub const NUMFONTS : u32 = 22u32 ; pub const NUMMARKERS : u32 = 20u32 ; pub const NUMPENS : u32 = 18u32 ; pub const NUMRESERVED : u32 = 106u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct OBJ_TYPE ( pub i32 ) ; pub const OBJ_PEN : OBJ_TYPE = OBJ_TYPE ( 1i32 ) ; pub const OBJ_BRUSH : OBJ_TYPE = OBJ_TYPE ( 2i32 ) ; pub const OBJ_DC : OBJ_TYPE = OBJ_TYPE ( 3i32 ) ; pub const OBJ_METADC : OBJ_TYPE = OBJ_TYPE ( 4i32 ) ; pub const OBJ_PAL : OBJ_TYPE = OBJ_TYPE ( 5i32 ) ; pub const OBJ_FONT : OBJ_TYPE = OBJ_TYPE ( 6i32 ) ; pub const OBJ_BITMAP : OBJ_TYPE = OBJ_TYPE ( 7i32 ) ; pub const OBJ_REGION : OBJ_TYPE = OBJ_TYPE ( 8i32 ) ; pub const OBJ_METAFILE : OBJ_TYPE = OBJ_TYPE ( 9i32 ) ; pub const OBJ_MEMDC : OBJ_TYPE = OBJ_TYPE ( 10i32 ) ; pub const OBJ_EXTPEN : OBJ_TYPE = OBJ_TYPE ( 11i32 ) ; pub const OBJ_ENHMETADC : OBJ_TYPE = OBJ_TYPE ( 12i32 ) ; pub const OBJ_ENHMETAFILE : OBJ_TYPE = OBJ_TYPE ( 13i32 ) ; pub const OBJ_COLORSPACE : OBJ_TYPE = OBJ_TYPE ( 14i32 ) ; impl :: std :: convert :: From < i32 > for OBJ_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OBJ_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const OEM_CHARSET : u32 = 255u32 ; pub const OPENCHANNEL : u32 = 4110u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OUTLINETEXTMETRICA { pub otmSize : u32 , pub otmTextMetrics : TEXTMETRICA , pub otmFiller : u8 , pub otmPanoseNumber : PANOSE , pub otmfsSelection : u32 , pub otmfsType : u32 , pub otmsCharSlopeRise : i32 , pub otmsCharSlopeRun : i32 , pub otmItalicAngle : i32 , pub otmEMSquare : u32 , pub otmAscent : i32 , pub otmDescent : i32 , pub otmLineGap : u32 , pub otmsCapEmHeight : u32 , pub otmsXHeight : u32 , pub otmrcFontBox : super::super::Foundation:: RECT , pub otmMacAscent : i32 , pub otmMacDescent : i32 , pub otmMacLineGap : u32 , pub otmusMinimumPPEM : u32 , pub otmptSubscriptSize : super::super::Foundation:: POINT , pub otmptSubscriptOffset : super::super::Foundation:: POINT , pub otmptSuperscriptSize : super::super::Foundation:: POINT , pub otmptSuperscriptOffset : super::super::Foundation:: POINT , pub otmsStrikeoutSize : u32 , pub otmsStrikeoutPosition : i32 , pub otmsUnderscoreSize : i32 , pub otmsUnderscorePosition : i32 , pub otmpFamilyName : super::super::Foundation:: PSTR , pub otmpFaceName : super::super::Foundation:: PSTR , pub otmpStyleName : super::super::Foundation:: PSTR , pub otmpFullName : super::super::Foundation:: PSTR } impl OUTLINETEXTMETRICA { } impl :: std :: default :: Default for OUTLINETEXTMETRICA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for OUTLINETEXTMETRICA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OUTLINETEXTMETRICA" ) . field ( "otmSize" , & self . otmSize ) . field ( "otmTextMetrics" , & self . otmTextMetrics ) . field ( "otmFiller" , & self . otmFiller ) . field ( "otmPanoseNumber" , & self . otmPanoseNumber ) . field ( "otmfsSelection" , & self . otmfsSelection ) . field ( "otmfsType" , & self . otmfsType ) . field ( "otmsCharSlopeRise" , & self . otmsCharSlopeRise ) . field ( "otmsCharSlopeRun" , & self . otmsCharSlopeRun ) . field ( "otmItalicAngle" , & self . otmItalicAngle ) . field ( "otmEMSquare" , & self . otmEMSquare ) . field ( "otmAscent" , & self . otmAscent ) . field ( "otmDescent" , & self . otmDescent ) . field ( "otmLineGap" , & self . otmLineGap ) . field ( "otmsCapEmHeight" , & self . otmsCapEmHeight ) . field ( "otmsXHeight" , & self . otmsXHeight ) . field ( "otmrcFontBox" , & self . otmrcFontBox ) . field ( "otmMacAscent" , & self . otmMacAscent ) . field ( "otmMacDescent" , & self . otmMacDescent ) . field ( "otmMacLineGap" , & self . otmMacLineGap ) . field ( "otmusMinimumPPEM" , & self . otmusMinimumPPEM ) . field ( "otmptSubscriptSize" , & self . otmptSubscriptSize ) . field ( "otmptSubscriptOffset" , & self . otmptSubscriptOffset ) . field ( "otmptSuperscriptSize" , & self . otmptSuperscriptSize ) . field ( "otmptSuperscriptOffset" , & self . otmptSuperscriptOffset ) . field ( "otmsStrikeoutSize" , & self . otmsStrikeoutSize ) . field ( "otmsStrikeoutPosition" , & self . otmsStrikeoutPosition ) . field ( "otmsUnderscoreSize" , & self . otmsUnderscoreSize ) . field ( "otmsUnderscorePosition" , & self . otmsUnderscorePosition ) . field ( "otmpFamilyName" , & self . otmpFamilyName ) . field ( "otmpFaceName" , & self . otmpFaceName ) . field ( "otmpStyleName" , & self . otmpStyleName ) . field ( "otmpFullName" , & self . otmpFullName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OUTLINETEXTMETRICA { fn eq ( & self , other : & Self ) -> bool { self . otmSize == other . otmSize && self . otmTextMetrics == other . otmTextMetrics && self . otmFiller == other . otmFiller && self . otmPanoseNumber == other . otmPanoseNumber && self . otmfsSelection == other . otmfsSelection && self . otmfsType == other . otmfsType && self . otmsCharSlopeRise == other . otmsCharSlopeRise && self . otmsCharSlopeRun == other . otmsCharSlopeRun && self . otmItalicAngle == other . otmItalicAngle && self . otmEMSquare == other . otmEMSquare && self . otmAscent == other . otmAscent && self . otmDescent == other . otmDescent && self . otmLineGap == other . otmLineGap && self . otmsCapEmHeight == other . otmsCapEmHeight && self . otmsXHeight == other . otmsXHeight && self . otmrcFontBox == other . otmrcFontBox && self . otmMacAscent == other . otmMacAscent && self . otmMacDescent == other . otmMacDescent && self . otmMacLineGap == other . otmMacLineGap && self . otmusMinimumPPEM == other . otmusMinimumPPEM && self . otmptSubscriptSize == other . otmptSubscriptSize && self . otmptSubscriptOffset == other . otmptSubscriptOffset && self . otmptSuperscriptSize == other . otmptSuperscriptSize && self . otmptSuperscriptOffset == other . otmptSuperscriptOffset && self . otmsStrikeoutSize == other . otmsStrikeoutSize && self . otmsStrikeoutPosition == other . otmsStrikeoutPosition && self . otmsUnderscoreSize == other . otmsUnderscoreSize && self . otmsUnderscorePosition == other . otmsUnderscorePosition && self . otmpFamilyName == other . otmpFamilyName && self . otmpFaceName == other . otmpFaceName && self . otmpStyleName == other . otmpStyleName && self . otmpFullName == other . otmpFullName } } impl :: std :: cmp :: Eq for OUTLINETEXTMETRICA { } unsafe impl :: windows :: Abi for OUTLINETEXTMETRICA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OUTLINETEXTMETRICW { pub otmSize : u32 , pub otmTextMetrics : TEXTMETRICW , pub otmFiller : u8 , pub otmPanoseNumber : PANOSE , pub otmfsSelection : u32 , pub otmfsType : u32 , pub otmsCharSlopeRise : i32 , pub otmsCharSlopeRun : i32 , pub otmItalicAngle : i32 , pub otmEMSquare : u32 , pub otmAscent : i32 , pub otmDescent : i32 , pub otmLineGap : u32 , pub otmsCapEmHeight : u32 , pub otmsXHeight : u32 , pub otmrcFontBox : super::super::Foundation:: RECT , pub otmMacAscent : i32 , pub otmMacDescent : i32 , pub otmMacLineGap : u32 , pub otmusMinimumPPEM : u32 , pub otmptSubscriptSize : super::super::Foundation:: POINT , pub otmptSubscriptOffset : super::super::Foundation:: POINT , pub otmptSuperscriptSize : super::super::Foundation:: POINT , pub otmptSuperscriptOffset : super::super::Foundation:: POINT , pub otmsStrikeoutSize : u32 , pub otmsStrikeoutPosition : i32 , pub otmsUnderscoreSize : i32 , pub otmsUnderscorePosition : i32 , pub otmpFamilyName : super::super::Foundation:: PSTR , pub otmpFaceName : super::super::Foundation:: PSTR , pub otmpStyleName : super::super::Foundation:: PSTR , pub otmpFullName : super::super::Foundation:: PSTR } impl OUTLINETEXTMETRICW { } impl :: std :: default :: Default for OUTLINETEXTMETRICW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for OUTLINETEXTMETRICW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OUTLINETEXTMETRICW" ) . field ( "otmSize" , & self . otmSize ) . field ( "otmTextMetrics" , & self . otmTextMetrics ) . field ( "otmFiller" , & self . otmFiller ) . field ( "otmPanoseNumber" , & self . otmPanoseNumber ) . field ( "otmfsSelection" , & self . otmfsSelection ) . field ( "otmfsType" , & self . otmfsType ) . field ( "otmsCharSlopeRise" , & self . otmsCharSlopeRise ) . field ( "otmsCharSlopeRun" , & self . otmsCharSlopeRun ) . field ( "otmItalicAngle" , & self . otmItalicAngle ) . field ( "otmEMSquare" , & self . otmEMSquare ) . field ( "otmAscent" , & self . otmAscent ) . field ( "otmDescent" , & self . otmDescent ) . field ( "otmLineGap" , & self . otmLineGap ) . field ( "otmsCapEmHeight" , & self . otmsCapEmHeight ) . field ( "otmsXHeight" , & self . otmsXHeight ) . field ( "otmrcFontBox" , & self . otmrcFontBox ) . field ( "otmMacAscent" , & self . otmMacAscent ) . field ( "otmMacDescent" , & self . otmMacDescent ) . field ( "otmMacLineGap" , & self . otmMacLineGap ) . field ( "otmusMinimumPPEM" , & self . otmusMinimumPPEM ) . field ( "otmptSubscriptSize" , & self . otmptSubscriptSize ) . field ( "otmptSubscriptOffset" , & self . otmptSubscriptOffset ) . field ( "otmptSuperscriptSize" , & self . otmptSuperscriptSize ) . field ( "otmptSuperscriptOffset" , & self . otmptSuperscriptOffset ) . field ( "otmsStrikeoutSize" , & self . otmsStrikeoutSize ) . field ( "otmsStrikeoutPosition" , & self . otmsStrikeoutPosition ) . field ( "otmsUnderscoreSize" , & self . otmsUnderscoreSize ) . field ( "otmsUnderscorePosition" , & self . otmsUnderscorePosition ) . field ( "otmpFamilyName" , & self . otmpFamilyName ) . field ( "otmpFaceName" , & self . otmpFaceName ) . field ( "otmpStyleName" , & self . otmpStyleName ) . field ( "otmpFullName" , & self . otmpFullName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OUTLINETEXTMETRICW { fn eq ( & self , other : & Self ) -> bool { self . otmSize == other . otmSize && self . otmTextMetrics == other . otmTextMetrics && self . otmFiller == other . otmFiller && self . otmPanoseNumber == other . otmPanoseNumber && self . otmfsSelection == other . otmfsSelection && self . otmfsType == other . otmfsType && self . otmsCharSlopeRise == other . otmsCharSlopeRise && self . otmsCharSlopeRun == other . otmsCharSlopeRun && self . otmItalicAngle == other . otmItalicAngle && self . otmEMSquare == other . otmEMSquare && self . otmAscent == other . otmAscent && self . otmDescent == other . otmDescent && self . otmLineGap == other . otmLineGap && self . otmsCapEmHeight == other . otmsCapEmHeight && self . otmsXHeight == other . otmsXHeight && self . otmrcFontBox == other . otmrcFontBox && self . otmMacAscent == other . otmMacAscent && self . otmMacDescent == other . otmMacDescent && self . otmMacLineGap == other . otmMacLineGap && self . otmusMinimumPPEM == other . otmusMinimumPPEM && self . otmptSubscriptSize == other . otmptSubscriptSize && self . otmptSubscriptOffset == other . otmptSubscriptOffset && self . otmptSuperscriptSize == other . otmptSuperscriptSize && self . otmptSuperscriptOffset == other . otmptSuperscriptOffset && self . otmsStrikeoutSize == other . otmsStrikeoutSize && self . otmsStrikeoutPosition == other . otmsStrikeoutPosition && self . otmsUnderscoreSize == other . otmsUnderscoreSize && self . otmsUnderscorePosition == other . otmsUnderscorePosition && self . otmpFamilyName == other . otmpFamilyName && self . otmpFaceName == other . otmpFaceName && self . otmpStyleName == other . otmpStyleName && self . otmpFullName == other . otmpFullName } } impl :: std :: cmp :: Eq for OUTLINETEXTMETRICW { } unsafe impl :: windows :: Abi for OUTLINETEXTMETRICW { type Abi = Self ; type DefaultType = Self ; } pub const OUT_SCREEN_OUTLINE_PRECIS : u32 = 9u32 ; pub unsafe fn OffsetClipRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn OffsetClipRgn ( hdc : HDC , x : i32 , y : i32 ) -> i32 ; } :: std :: mem :: transmute ( OffsetClipRgn ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OffsetRect < > ( lprc : * mut super::super::Foundation:: RECT , dx : i32 , dy : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn OffsetRect ( lprc : * mut super::super::Foundation:: RECT , dx : i32 , dy : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( OffsetRect ( :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( dx ) , :: std :: mem :: transmute ( dy ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OffsetRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgn : Param0 , x : i32 , y : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn OffsetRgn ( hrgn : HRGN , x : i32 , y : i32 ) -> i32 ; } :: std :: mem :: transmute ( OffsetRgn ( hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OffsetViewportOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn OffsetViewportOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( OffsetViewportOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OffsetWindowOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn OffsetWindowOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( OffsetWindowOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PAINTSTRUCT { pub hdc : HDC , pub fErase : super::super::Foundation:: BOOL , pub rcPaint : super::super::Foundation:: RECT , pub fRestore : super::super::Foundation:: BOOL , pub fIncUpdate : super::super::Foundation:: BOOL , pub rgbReserved : [ u8 ;32 ] } impl PAINTSTRUCT { } impl :: std :: default :: Default for PAINTSTRUCT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for PAINTSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PAINTSTRUCT" ) . field ( "hdc" , & self . hdc ) . field ( "fErase" , & self . fErase ) . field ( "rcPaint" , & self . rcPaint ) . field ( "fRestore" , & self . fRestore ) . field ( "fIncUpdate" , & self . fIncUpdate ) . field ( "rgbReserved" , & self . rgbReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PAINTSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . hdc == other . hdc && self . fErase == other . fErase && self . rcPaint == other . rcPaint && self . fRestore == other . fRestore && self . fIncUpdate == other . fIncUpdate && self . rgbReserved == other . rgbReserved } } impl :: std :: cmp :: Eq for PAINTSTRUCT { } unsafe impl :: windows :: Abi for PAINTSTRUCT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PALETTEENTRY { pub peRed : u8 , pub peGreen : u8 , pub peBlue : u8 , pub peFlags : u8 } impl PALETTEENTRY { } impl :: std :: default :: Default for PALETTEENTRY { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for PALETTEENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PALETTEENTRY" ) . field ( "peRed" , & self . peRed ) . field ( "peGreen" , & self . peGreen ) . field ( "peBlue" , & self . peBlue ) . field ( "peFlags" , & self . peFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PALETTEENTRY { fn eq ( & self , other : & Self ) -> bool { self . peRed == other . peRed && self . peGreen == other . peGreen && self . peBlue == other . peBlue && self . peFlags == other . peFlags } } impl :: std :: cmp :: Eq for PALETTEENTRY { } unsafe impl :: windows :: Abi for PALETTEENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PANOSE { pub bFamilyType : u8 , pub bSerifStyle : u8 , pub bWeight : u8 , pub bProportion : u8 , pub bContrast : u8 , pub bStrokeVariation : u8 , pub bArmStyle : u8 , pub bLetterform : u8 , pub bMidline : u8 , pub bXHeight : u8 } impl PANOSE { } impl :: std :: default :: Default for PANOSE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for PANOSE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PANOSE" ) . field ( "bFamilyType" , & self . bFamilyType ) . field ( "bSerifStyle" , & self . bSerifStyle ) . field ( "bWeight" , & self . bWeight ) . field ( "bProportion" , & self . bProportion ) . field ( "bContrast" , & self . bContrast ) . field ( "bStrokeVariation" , & self . bStrokeVariation ) . field ( "bArmStyle" , & self . bArmStyle ) . field ( "bLetterform" , & self . bLetterform ) . field ( "bMidline" , & self . bMidline ) . field ( "bXHeight" , & self . bXHeight ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PANOSE { fn eq ( & self , other : & Self ) -> bool { self . bFamilyType == other . bFamilyType && self . bSerifStyle == other . bSerifStyle && self . bWeight == other . bWeight && self . bProportion == other . bProportion && self . bContrast == other . bContrast && self . bStrokeVariation == other . bStrokeVariation && self . bArmStyle == other . bArmStyle && self . bLetterform == other . bLetterform && self . bMidline == other . bMidline && self . bXHeight == other . bXHeight } } impl :: std :: cmp :: Eq for PANOSE { } unsafe impl :: windows :: Abi for PANOSE { type Abi = Self ; type DefaultType = Self ; } pub const PANOSE_COUNT : u32 = 10u32 ; pub const PAN_ANY : u32 = 0u32 ; pub const PAN_ARMSTYLE_INDEX : u32 = 6u32 ; pub const PAN_BENT_ARMS_DOUBLE_SERIF : u32 = 11u32 ; pub const PAN_BENT_ARMS_HORZ : u32 = 7u32 ; pub const PAN_BENT_ARMS_SINGLE_SERIF : u32 = 10u32 ; pub const PAN_BENT_ARMS_VERT : u32 = 9u32 ; pub const PAN_BENT_ARMS_WEDGE : u32 = 8u32 ; pub const PAN_CONTRAST_HIGH : u32 = 8u32 ; pub const PAN_CONTRAST_INDEX : u32 = 4u32 ; pub const PAN_CONTRAST_LOW : u32 = 4u32 ; pub const PAN_CONTRAST_MEDIUM : u32 = 6u32 ; pub const PAN_CONTRAST_MEDIUM_HIGH : u32 = 7u32 ; pub const PAN_CONTRAST_MEDIUM_LOW : u32 = 5u32 ; pub const PAN_CONTRAST_NONE : u32 = 2u32 ; pub const PAN_CONTRAST_VERY_HIGH : u32 = 9u32 ; pub const PAN_CONTRAST_VERY_LOW : u32 = 3u32 ; pub const PAN_CULTURE_LATIN : u32 = 0u32 ; pub const PAN_FAMILYTYPE_INDEX : u32 = 0u32 ; pub const PAN_FAMILY_DECORATIVE : u32 = 4u32 ; pub const PAN_FAMILY_PICTORIAL : u32 = 5u32 ; pub const PAN_FAMILY_SCRIPT : u32 = 3u32 ; pub const PAN_FAMILY_TEXT_DISPLAY : u32 = 2u32 ; pub const PAN_LETTERFORM_INDEX : u32 = 7u32 ; pub const PAN_LETT_NORMAL_BOXED : u32 = 4u32 ; pub const PAN_LETT_NORMAL_CONTACT : u32 = 2u32 ; pub const PAN_LETT_NORMAL_FLATTENED : u32 = 5u32 ; pub const PAN_LETT_NORMAL_OFF_CENTER : u32 = 7u32 ; pub const PAN_LETT_NORMAL_ROUNDED : u32 = 6u32 ; pub const PAN_LETT_NORMAL_SQUARE : u32 = 8u32 ; pub const PAN_LETT_NORMAL_WEIGHTED : u32 = 3u32 ; pub const PAN_LETT_OBLIQUE_BOXED : u32 = 11u32 ; pub const PAN_LETT_OBLIQUE_CONTACT : u32 = 9u32 ; pub const PAN_LETT_OBLIQUE_FLATTENED : u32 = 12u32 ; pub const PAN_LETT_OBLIQUE_OFF_CENTER : u32 = 14u32 ; pub const PAN_LETT_OBLIQUE_ROUNDED : u32 = 13u32 ; pub const PAN_LETT_OBLIQUE_SQUARE : u32 = 15u32 ; pub const PAN_LETT_OBLIQUE_WEIGHTED : u32 = 10u32 ; pub const PAN_MIDLINE_CONSTANT_POINTED : u32 = 9u32 ; pub const PAN_MIDLINE_CONSTANT_SERIFED : u32 = 10u32 ; pub const PAN_MIDLINE_CONSTANT_TRIMMED : u32 = 8u32 ; pub const PAN_MIDLINE_HIGH_POINTED : u32 = 6u32 ; pub const PAN_MIDLINE_HIGH_SERIFED : u32 = 7u32 ; pub const PAN_MIDLINE_HIGH_TRIMMED : u32 = 5u32 ; pub const PAN_MIDLINE_INDEX : u32 = 8u32 ; pub const PAN_MIDLINE_LOW_POINTED : u32 = 12u32 ; pub const PAN_MIDLINE_LOW_SERIFED : u32 = 13u32 ; pub const PAN_MIDLINE_LOW_TRIMMED : u32 = 11u32 ; pub const PAN_MIDLINE_STANDARD_POINTED : u32 = 3u32 ; pub const PAN_MIDLINE_STANDARD_SERIFED : u32 = 4u32 ; pub const PAN_MIDLINE_STANDARD_TRIMMED : u32 = 2u32 ; pub const PAN_NO_FIT : u32 = 1u32 ; pub const PAN_PROPORTION_INDEX : u32 = 3u32 ; pub const PAN_PROP_CONDENSED : u32 = 6u32 ; pub const PAN_PROP_EVEN_WIDTH : u32 = 4u32 ; pub const PAN_PROP_EXPANDED : u32 = 5u32 ; pub const PAN_PROP_MODERN : u32 = 3u32 ; pub const PAN_PROP_MONOSPACED : u32 = 9u32 ; pub const PAN_PROP_OLD_STYLE : u32 = 2u32 ; pub const PAN_PROP_VERY_CONDENSED : u32 = 8u32 ; pub const PAN_PROP_VERY_EXPANDED : u32 = 7u32 ; pub const PAN_SERIFSTYLE_INDEX : u32 = 1u32 ; pub const PAN_SERIF_BONE : u32 = 8u32 ; pub const PAN_SERIF_COVE : u32 = 2u32 ; pub const PAN_SERIF_EXAGGERATED : u32 = 9u32 ; pub const PAN_SERIF_FLARED : u32 = 14u32 ; pub const PAN_SERIF_NORMAL_SANS : u32 = 11u32 ; pub const PAN_SERIF_OBTUSE_COVE : u32 = 3u32 ; pub const PAN_SERIF_OBTUSE_SANS : u32 = 12u32 ; pub const PAN_SERIF_OBTUSE_SQUARE_COVE : u32 = 5u32 ; pub const PAN_SERIF_PERP_SANS : u32 = 13u32 ; pub const PAN_SERIF_ROUNDED : u32 = 15u32 ; pub const PAN_SERIF_SQUARE : u32 = 6u32 ; pub const PAN_SERIF_SQUARE_COVE : u32 = 4u32 ; pub const PAN_SERIF_THIN : u32 = 7u32 ; pub const PAN_SERIF_TRIANGLE : u32 = 10u32 ; pub const PAN_STRAIGHT_ARMS_DOUBLE_SERIF : u32 = 6u32 ; pub const PAN_STRAIGHT_ARMS_HORZ : u32 = 2u32 ; pub const PAN_STRAIGHT_ARMS_SINGLE_SERIF : u32 = 5u32 ; pub const PAN_STRAIGHT_ARMS_VERT : u32 = 4u32 ; pub const PAN_STRAIGHT_ARMS_WEDGE : u32 = 3u32 ; pub const PAN_STROKEVARIATION_INDEX : u32 = 5u32 ; pub const PAN_STROKE_GRADUAL_DIAG : u32 = 2u32 ; pub const PAN_STROKE_GRADUAL_HORZ : u32 = 5u32 ; pub const PAN_STROKE_GRADUAL_TRAN : u32 = 3u32 ; pub const PAN_STROKE_GRADUAL_VERT : u32 = 4u32 ; pub const PAN_STROKE_INSTANT_VERT : u32 = 8u32 ; pub const PAN_STROKE_RAPID_HORZ : u32 = 7u32 ; pub const PAN_STROKE_RAPID_VERT : u32 = 6u32 ; pub const PAN_WEIGHT_BLACK : u32 = 10u32 ; pub const PAN_WEIGHT_BOLD : u32 = 8u32 ; pub const PAN_WEIGHT_BOOK : u32 = 5u32 ; pub const PAN_WEIGHT_DEMI : u32 = 7u32 ; pub const PAN_WEIGHT_HEAVY : u32 = 9u32 ; pub const PAN_WEIGHT_INDEX : u32 = 2u32 ; pub const PAN_WEIGHT_LIGHT : u32 = 3u32 ; pub const PAN_WEIGHT_MEDIUM : u32 = 6u32 ; pub const PAN_WEIGHT_NORD : u32 = 11u32 ; pub const PAN_WEIGHT_THIN : u32 = 4u32 ; pub const PAN_WEIGHT_VERY_LIGHT : u32 = 2u32 ; pub const PAN_XHEIGHT_CONSTANT_LARGE : u32 = 4u32 ; pub const PAN_XHEIGHT_CONSTANT_SMALL : u32 = 2u32 ; pub const PAN_XHEIGHT_CONSTANT_STD : u32 = 3u32 ; pub const PAN_XHEIGHT_DUCKING_LARGE : u32 = 7u32 ; pub const PAN_XHEIGHT_DUCKING_SMALL : u32 = 5u32 ; pub const PAN_XHEIGHT_DUCKING_STD : u32 = 6u32 ; pub const PAN_XHEIGHT_INDEX : u32 = 9u32 ; pub const PASSTHROUGH : u32 = 19u32 ; pub const PC_EXPLICIT : u32 = 2u32 ; pub const PC_INTERIORS : u32 = 128u32 ; pub const PC_NOCOLLAPSE : u32 = 4u32 ; pub const PC_NONE : u32 = 0u32 ; pub const PC_PATHS : u32 = 512u32 ; pub const PC_POLYGON : u32 = 1u32 ; pub const PC_POLYPOLYGON : u32 = 256u32 ; pub const PC_RECTANGLE : u32 = 2u32 ; pub const PC_RESERVED : u32 = 1u32 ; pub const PC_SCANLINE : u32 = 8u32 ; pub const PC_STYLED : u32 = 32u32 ; pub const PC_TRAPEZOID : u32 = 4u32 ; pub const PC_WIDE : u32 = 16u32 ; pub const PC_WIDESTYLED : u32 = 64u32 ; pub const PC_WINDPOLYGON : u32 = 4u32 ; pub const PDEVICESIZE : u32 = 26u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PELARRAY { pub paXCount : i32 , pub paYCount : i32 , pub paXExt : i32 , pub paYExt : i32 , pub paRGBs : u8 } impl PELARRAY { } impl :: std :: default :: Default for PELARRAY { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for PELARRAY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PELARRAY" ) . field ( "paXCount" , & self . paXCount ) . field ( "paYCount" , & self . paYCount ) . field ( "paXExt" , & self . paXExt ) . field ( "paYExt" , & self . paYExt ) . field ( "paRGBs" , & self . paRGBs ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PELARRAY { fn eq ( & self , other : & Self ) -> bool { self . paXCount == other . paXCount && self . paYCount == other . paYCount && self . paXExt == other . paXExt && self . paYExt == other . paYExt && self . paRGBs == other . paRGBs } } impl :: std :: cmp :: Eq for PELARRAY { } unsafe impl :: windows :: Abi for PELARRAY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PEN_STYLE ( pub u32 ) ; pub const PS_GEOMETRIC : PEN_STYLE = PEN_STYLE ( 65536u32 ) ; pub const PS_COSMETIC : PEN_STYLE = PEN_STYLE ( 0u32 ) ; pub const PS_SOLID : PEN_STYLE = PEN_STYLE ( 0u32 ) ; pub const PS_DASH : PEN_STYLE = PEN_STYLE ( 1u32 ) ; pub const PS_DOT : PEN_STYLE = PEN_STYLE ( 2u32 ) ; pub const PS_DASHDOT : PEN_STYLE = PEN_STYLE ( 3u32 ) ; pub const PS_DASHDOTDOT : PEN_STYLE = PEN_STYLE ( 4u32 ) ; pub const PS_NULL : PEN_STYLE = PEN_STYLE ( 5u32 ) ; pub const PS_INSIDEFRAME : PEN_STYLE = PEN_STYLE ( 6u32 ) ; pub const PS_USERSTYLE : PEN_STYLE = PEN_STYLE ( 7u32 ) ; pub const PS_ALTERNATE : PEN_STYLE = PEN_STYLE ( 8u32 ) ; pub const PS_STYLE_MASK : PEN_STYLE = PEN_STYLE ( 15u32 ) ; pub const PS_ENDCAP_ROUND : PEN_STYLE = PEN_STYLE ( 0u32 ) ; pub const PS_ENDCAP_SQUARE : PEN_STYLE = PEN_STYLE ( 256u32 ) ; pub const PS_ENDCAP_FLAT : PEN_STYLE = PEN_STYLE ( 512u32 ) ; pub const PS_ENDCAP_MASK : PEN_STYLE = PEN_STYLE ( 3840u32 ) ; pub const PS_JOIN_ROUND : PEN_STYLE = PEN_STYLE ( 0u32 ) ; pub const PS_JOIN_BEVEL : PEN_STYLE = PEN_STYLE ( 4096u32 ) ; pub const PS_JOIN_MITER : PEN_STYLE = PEN_STYLE ( 8192u32 ) ; pub const PS_JOIN_MASK : PEN_STYLE = PEN_STYLE ( 61440u32 ) ; pub const PS_TYPE_MASK : PEN_STYLE = PEN_STYLE ( 983040u32 ) ; impl :: std :: convert :: From < u32 > for PEN_STYLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PEN_STYLE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for PEN_STYLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PEN_STYLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PEN_STYLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PEN_STYLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for PEN_STYLE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const PFD_DEPTH_DONTCARE : u32 = 536870912u32 ; pub const PFD_DIRECT3D_ACCELERATED : u32 = 16384u32 ; pub const PFD_DOUBLEBUFFER : u32 = 1u32 ; pub const PFD_DOUBLEBUFFER_DONTCARE : u32 = 1073741824u32 ; pub const PFD_DRAW_TO_BITMAP : u32 = 8u32 ; pub const PFD_DRAW_TO_WINDOW : u32 = 4u32 ; pub const PFD_GENERIC_ACCELERATED : u32 = 4096u32 ; pub const PFD_GENERIC_FORMAT : u32 = 64u32 ; pub const PFD_MAIN_PLANE : u32 = 0u32 ; pub const PFD_NEED_PALETTE : u32 = 128u32 ; pub const PFD_NEED_SYSTEM_PALETTE : u32 = 256u32 ; pub const PFD_OVERLAY_PLANE : u32 = 1u32 ; pub const PFD_STEREO : u32 = 2u32 ; pub const PFD_STEREO_DONTCARE : u32 = 2147483648u32 ; pub const PFD_SUPPORT_COMPOSITION : u32 = 32768u32 ; pub const PFD_SUPPORT_DIRECTDRAW : u32 = 8192u32 ; pub const PFD_SUPPORT_GDI : u32 = 16u32 ; pub const PFD_SUPPORT_OPENGL : u32 = 32u32 ; pub const PFD_SWAP_COPY : u32 = 1024u32 ; pub const PFD_SWAP_EXCHANGE : u32 = 512u32 ; pub const PFD_SWAP_LAYER_BUFFERS : u32 = 2048u32 ; pub const PFD_TYPE_COLORINDEX : u32 = 1u32 ; pub const PFD_TYPE_RGBA : u32 = 0u32 ; pub const PFD_UNDERLAY_PLANE : i32 = -1i32 ; pub const PHYSICALHEIGHT : u32 = 111u32 ; pub const PHYSICALOFFSETX : u32 = 112u32 ; pub const PHYSICALOFFSETY : u32 = 113u32 ; pub const PHYSICALWIDTH : u32 = 110u32 ; pub const PLANES : u32 = 14u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINTFX { pub x : FIXED , pub y : FIXED } impl POINTFX { } impl :: std :: default :: Default for POINTFX { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for POINTFX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINTFX" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINTFX { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINTFX { } unsafe impl :: windows :: Abi for POINTFX { type Abi = Self ; type DefaultType = Self ; } pub const POLYFILL_LAST : u32 = 2u32 ; pub const POLYGONALCAPS : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POLYTEXTA { pub x : i32 , pub y : i32 , pub n : u32 , pub lpstr : super::super::Foundation:: PSTR , pub uiFlags : u32 , pub rcl : super::super::Foundation:: RECT , pub pdx : * mut i32 } impl POLYTEXTA { } impl :: std :: default :: Default for POLYTEXTA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for POLYTEXTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POLYTEXTA" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . field ( "n" , & self . n ) . field ( "lpstr" , & self . lpstr ) . field ( "uiFlags" , & self . uiFlags ) . field ( "rcl" , & self . rcl ) . field ( "pdx" , & self . pdx ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POLYTEXTA { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y && self . n == other . n && self . lpstr == other . lpstr && self . uiFlags == other . uiFlags && self . rcl == other . rcl && self . pdx == other . pdx } } impl :: std :: cmp :: Eq for POLYTEXTA { } unsafe impl :: windows :: Abi for POLYTEXTA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POLYTEXTW { pub x : i32 , pub y : i32 , pub n : u32 , pub lpstr : super::super::Foundation:: PWSTR , pub uiFlags : u32 , pub rcl : super::super::Foundation:: RECT , pub pdx : * mut i32 } impl POLYTEXTW { } impl :: std :: default :: Default for POLYTEXTW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for POLYTEXTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POLYTEXTW" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . field ( "n" , & self . n ) . field ( "lpstr" , & self . lpstr ) . field ( "uiFlags" , & self . uiFlags ) . field ( "rcl" , & self . rcl ) . field ( "pdx" , & self . pdx ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POLYTEXTW { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y && self . n == other . n && self . lpstr == other . lpstr && self . uiFlags == other . uiFlags && self . rcl == other . rcl && self . pdx == other . pdx } } impl :: std :: cmp :: Eq for POLYTEXTW { } unsafe impl :: windows :: Abi for POLYTEXTW { type Abi = Self ; type DefaultType = Self ; } pub const POSTSCRIPT_DATA : u32 = 37u32 ; pub const POSTSCRIPT_IDENTIFY : u32 = 4117u32 ; pub const POSTSCRIPT_IGNORE : u32 = 38u32 ; pub const POSTSCRIPT_INJECTION : u32 = 4118u32 ; pub const POSTSCRIPT_PASSTHROUGH : u32 = 4115u32 ; pub const PRINTRATEUNIT_CPS : u32 = 2u32 ; pub const PRINTRATEUNIT_IPM : u32 = 4u32 ; pub const PRINTRATEUNIT_LPM : u32 = 3u32 ; pub const PRINTRATEUNIT_PPM : u32 = 1u32 ; pub const PR_JOBSTATUS : u32 = 0u32 ; pub const PSIDENT_GDICENTRIC : u32 = 0u32 ; pub const PSIDENT_PSCENTRIC : u32 = 1u32 ; pub const PSINJECT_DLFONT : u32 = 3722304989u32 ; pub const PSPROTOCOL_ASCII : u32 = 0u32 ; pub const PSPROTOCOL_BCP : u32 = 1u32 ; pub const PSPROTOCOL_BINARY : u32 = 3u32 ; pub const PSPROTOCOL_TBCP : u32 = 2u32 ; pub const PT_BEZIERTO : u32 = 4u32 ; pub const PT_CLOSEFIGURE : u32 = 1u32 ; pub const PT_LINETO : u32 = 2u32 ; pub const PT_MOVETO : u32 = 6u32 ; pub unsafe fn PaintDesktop < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn PaintDesktop ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PaintDesktop ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PaintRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hdc : Param0 , hrgn : Param1 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PaintRgn ( hdc : HDC , hrgn : HRGN ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PaintRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PatBlt < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , w : i32 , h : i32 , rop : ROP_CODE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PatBlt ( hdc : HDC , x : i32 , y : i32 , w : i32 , h : i32 , rop : ROP_CODE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PatBlt ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( w ) , :: std :: mem :: transmute ( h ) , :: std :: mem :: transmute ( rop ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PathToRegion < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PathToRegion ( hdc : HDC ) -> HRGN ; } :: std :: mem :: transmute ( PathToRegion ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Pie < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , xr1 : i32 , yr1 : i32 , xr2 : i32 , yr2 : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn Pie ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 , xr1 : i32 , yr1 : i32 , xr2 : i32 , yr2 : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( Pie ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) , :: std :: mem :: transmute ( xr1 ) , :: std :: mem :: transmute ( yr1 ) , :: std :: mem :: transmute ( xr2 ) , :: std :: mem :: transmute ( yr2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PlayEnhMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hdc : Param0 , hmf : Param1 , lprect : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PlayEnhMetaFile ( hdc : HDC , hmf : HENHMETAFILE , lprect : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PlayEnhMetaFile ( hdc . into_param ( ) . abi ( ) , hmf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PlayEnhMetaFileRecord < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , pht : * const HANDLETABLE , pmr : * const ENHMETARECORD , cht : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PlayEnhMetaFileRecord ( hdc : HDC , pht : * const HANDLETABLE , pmr : * const ENHMETARECORD , cht : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PlayEnhMetaFileRecord ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pht ) , :: std :: mem :: transmute ( pmr ) , :: std :: mem :: transmute ( cht ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PlayMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HMETAFILE > , > ( hdc : Param0 , hmf : Param1 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PlayMetaFile ( hdc : HDC , hmf : HMETAFILE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PlayMetaFile ( hdc . into_param ( ) . abi ( ) , hmf . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PlayMetaFileRecord < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lphandletable : * const HANDLETABLE , lpmr : * const METARECORD , noobjs : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PlayMetaFileRecord ( hdc : HDC , lphandletable : * const HANDLETABLE , lpmr : * const METARECORD , noobjs : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PlayMetaFileRecord ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lphandletable ) , :: std :: mem :: transmute ( lpmr ) , :: std :: mem :: transmute ( noobjs ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PlgBlt < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param2 : :: windows :: IntoParam < 'a , HDC > , Param7 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hdcdest : Param0 , lppoint : * const super::super::Foundation:: POINT , hdcsrc : Param2 , xsrc : i32 , ysrc : i32 , width : i32 , height : i32 , hbmmask : Param7 , xmask : i32 , ymask : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PlgBlt ( hdcdest : HDC , lppoint : * const super::super::Foundation:: POINT , hdcsrc : HDC , xsrc : i32 , ysrc : i32 , width : i32 , height : i32 , hbmmask : HBITMAP , xmask : i32 , ymask : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PlgBlt ( hdcdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppoint ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xsrc ) , :: std :: mem :: transmute ( ysrc ) , :: std :: mem :: transmute ( width ) , :: std :: mem :: transmute ( height ) , hbmmask . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xmask ) , :: std :: mem :: transmute ( ymask ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolyBezier < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , cpt : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolyBezier ( hdc : HDC , apt : * const super::super::Foundation:: POINT , cpt : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolyBezier ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( cpt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolyBezierTo < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , cpt : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolyBezierTo ( hdc : HDC , apt : * const super::super::Foundation:: POINT , cpt : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolyBezierTo ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( cpt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolyDraw < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , aj : * const u8 , cpt : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolyDraw ( hdc : HDC , apt : * const super::super::Foundation:: POINT , aj : * const u8 , cpt : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolyDraw ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( aj ) , :: std :: mem :: transmute ( cpt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolyPolygon < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , asz : * const i32 , csz : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolyPolygon ( hdc : HDC , apt : * const super::super::Foundation:: POINT , asz : * const i32 , csz : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolyPolygon ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( asz ) , :: std :: mem :: transmute ( csz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolyPolyline < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , asz : * const u32 , csz : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolyPolyline ( hdc : HDC , apt : * const super::super::Foundation:: POINT , asz : * const u32 , csz : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolyPolyline ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( asz ) , :: std :: mem :: transmute ( csz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolyTextOutA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ppt : * const POLYTEXTA , nstrings : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolyTextOutA ( hdc : HDC , ppt : * const POLYTEXTA , nstrings : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolyTextOutA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppt ) , :: std :: mem :: transmute ( nstrings ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolyTextOutW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ppt : * const POLYTEXTW , nstrings : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolyTextOutW ( hdc : HDC , ppt : * const POLYTEXTW , nstrings : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolyTextOutW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppt ) , :: std :: mem :: transmute ( nstrings ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Polygon < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , cpt : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn Polygon ( hdc : HDC , apt : * const super::super::Foundation:: POINT , cpt : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( Polygon ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( cpt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Polyline < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , cpt : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn Polyline ( hdc : HDC , apt : * const super::super::Foundation:: POINT , cpt : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( Polyline ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( cpt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolylineTo < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , cpt : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolylineTo ( hdc : HDC , apt : * const super::super::Foundation:: POINT , cpt : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolylineTo ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( cpt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PtInRect < 'a , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: POINT > , > ( lprc : * const super::super::Foundation:: RECT , pt : Param1 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn PtInRect ( lprc : * const super::super::Foundation:: RECT , pt : super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PtInRect ( :: std :: mem :: transmute ( lprc ) , pt . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PtInRegion < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgn : Param0 , x : i32 , y : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PtInRegion ( hrgn : HRGN , x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PtInRegion ( hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PtVisible < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PtVisible ( hdc : HDC , x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PtVisible ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const QDC_ALL_PATHS : u32 = 1u32 ; pub const QDC_DATABASE_CURRENT : u32 = 4u32 ; pub const QDC_INCLUDE_HMD : u32 = 32u32 ; pub const QDC_ONLY_ACTIVE_PATHS : u32 = 2u32 ; pub const QDC_VIRTUAL_MODE_AWARE : u32 = 16u32 ; pub const QDI_DIBTOSCREEN : u32 = 4u32 ; pub const QDI_GETDIBITS : u32 = 2u32 ; pub const QDI_SETDIBITS : u32 = 1u32 ; pub const QDI_STRETCHDIB : u32 = 8u32 ; pub const QUERYDIBSUPPORT : u32 = 3073u32 ; pub const QUERYESCSUPPORT : u32 = 8u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct R2_MODE ( pub i32 ) ; pub const R2_BLACK : R2_MODE = R2_MODE ( 1i32 ) ; pub const R2_NOTMERGEPEN : R2_MODE = R2_MODE ( 2i32 ) ; pub const R2_MASKNOTPEN : R2_MODE = R2_MODE ( 3i32 ) ; pub const R2_NOTCOPYPEN : R2_MODE = R2_MODE ( 4i32 ) ; pub const R2_MASKPENNOT : R2_MODE = R2_MODE ( 5i32 ) ; pub const R2_NOT : R2_MODE = R2_MODE ( 6i32 ) ; pub const R2_XORPEN : R2_MODE = R2_MODE ( 7i32 ) ; pub const R2_NOTMASKPEN : R2_MODE = R2_MODE ( 8i32 ) ; pub const R2_MASKPEN : R2_MODE = R2_MODE ( 9i32 ) ; pub const R2_NOTXORPEN : R2_MODE = R2_MODE ( 10i32 ) ; pub const R2_NOP : R2_MODE = R2_MODE ( 11i32 ) ; pub const R2_MERGENOTPEN : R2_MODE = R2_MODE ( 12i32 ) ; pub const R2_COPYPEN : R2_MODE = R2_MODE ( 13i32 ) ; pub const R2_MERGEPENNOT : R2_MODE = R2_MODE ( 14i32 ) ; pub const R2_MERGEPEN : R2_MODE = R2_MODE ( 15i32 ) ; pub const R2_WHITE : R2_MODE = R2_MODE ( 16i32 ) ; pub const R2_LAST : R2_MODE = R2_MODE ( 16i32 ) ; impl :: std :: convert :: From < i32 > for R2_MODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for R2_MODE { type Abi = Self ; type DefaultType = Self ; } pub const RASTERCAPS : u32 = 38u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RASTERIZER_STATUS { pub nSize : i16 , pub wFlags : i16 , pub nLanguageID : i16 } impl RASTERIZER_STATUS { } impl :: std :: default :: Default for RASTERIZER_STATUS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for RASTERIZER_STATUS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RASTERIZER_STATUS" ) . field ( "nSize" , & self . nSize ) . field ( "wFlags" , & self . wFlags ) . field ( "nLanguageID" , & self . nLanguageID ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RASTERIZER_STATUS { fn eq ( & self , other : & Self ) -> bool { self . nSize == other . nSize && self . wFlags == other . wFlags && self . nLanguageID == other . nLanguageID } } impl :: std :: cmp :: Eq for RASTERIZER_STATUS { } unsafe impl :: windows :: Abi for RASTERIZER_STATUS { type Abi = Self ; type DefaultType = Self ; } pub const RASTER_FONTTYPE : u32 = 1u32 ; pub const RC_BANDING : u32 = 2u32 ; pub const RC_BIGFONT : u32 = 1024u32 ; pub const RC_BITBLT : u32 = 1u32 ; pub const RC_BITMAP64 : u32 = 8u32 ; pub const RC_DEVBITS : u32 = 32768u32 ; pub const RC_DIBTODEV : u32 = 512u32 ; pub const RC_DI_BITMAP : u32 = 128u32 ; pub const RC_FLOODFILL : u32 = 4096u32 ; pub const RC_GDI20_OUTPUT : u32 = 16u32 ; pub const RC_GDI20_STATE : u32 = 32u32 ; pub const RC_OP_DX_OUTPUT : u32 = 16384u32 ; pub const RC_PALETTE : u32 = 256u32 ; pub const RC_SAVEBITMAP : u32 = 64u32 ; pub const RC_SCALING : u32 = 4u32 ; pub const RC_STRETCHBLT : u32 = 2048u32 ; pub const RC_STRETCHDIB : u32 = 8192u32 ; pub const RDH_RECTANGLES : u32 = 1u32 ; pub type READEMBEDPROC = unsafe extern "system" fn ( param0 : * mut :: std :: ffi :: c_void , param1 : * mut :: std :: ffi :: c_void , param2 : u32 ) -> u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct REDRAW_WINDOW_FLAGS ( pub u32 ) ; pub const RDW_INVALIDATE : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 1u32 ) ; pub const RDW_INTERNALPAINT : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 2u32 ) ; pub const RDW_ERASE : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 4u32 ) ; pub const RDW_VALIDATE : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 8u32 ) ; pub const RDW_NOINTERNALPAINT : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 16u32 ) ; pub const RDW_NOERASE : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 32u32 ) ; pub const RDW_NOCHILDREN : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 64u32 ) ; pub const RDW_ALLCHILDREN : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 128u32 ) ; pub const RDW_UPDATENOW : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 256u32 ) ; pub const RDW_ERASENOW : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 512u32 ) ; pub const RDW_FRAME : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 1024u32 ) ; pub const RDW_NOFRAME : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 2048u32 ) ; impl :: std :: convert :: From < u32 > for REDRAW_WINDOW_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for REDRAW_WINDOW_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for REDRAW_WINDOW_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for REDRAW_WINDOW_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for REDRAW_WINDOW_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for REDRAW_WINDOW_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for REDRAW_WINDOW_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const RELATIVE : u32 = 2u32 ; pub const RESTORE_CTM : u32 = 4100u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RGBQUAD { pub rgbBlue : u8 , pub rgbGreen : u8 , pub rgbRed : u8 , pub rgbReserved : u8 } impl RGBQUAD { } impl :: std :: default :: Default for RGBQUAD { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for RGBQUAD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RGBQUAD" ) . field ( "rgbBlue" , & self . rgbBlue ) . field ( "rgbGreen" , & self . rgbGreen ) . field ( "rgbRed" , & self . rgbRed ) . field ( "rgbReserved" , & self . rgbReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RGBQUAD { fn eq ( & self , other : & Self ) -> bool { self . rgbBlue == other . rgbBlue && self . rgbGreen == other . rgbGreen && self . rgbRed == other . rgbRed && self . rgbReserved == other . rgbReserved } } impl :: std :: cmp :: Eq for RGBQUAD { } unsafe impl :: windows :: Abi for RGBQUAD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RGBTRIPLE { pub rgbtBlue : u8 , pub rgbtGreen : u8 , pub rgbtRed : u8 } impl RGBTRIPLE { } impl :: std :: default :: Default for RGBTRIPLE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for RGBTRIPLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RGBTRIPLE" ) . field ( "rgbtBlue" , & self . rgbtBlue ) . field ( "rgbtGreen" , & self . rgbtGreen ) . field ( "rgbtRed" , & self . rgbtRed ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RGBTRIPLE { fn eq ( & self , other : & Self ) -> bool { self . rgbtBlue == other . rgbtBlue && self . rgbtGreen == other . rgbtGreen && self . rgbtRed == other . rgbtRed } } impl :: std :: cmp :: Eq for RGBTRIPLE { } unsafe impl :: windows :: Abi for RGBTRIPLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RGNDATA { pub rdh : RGNDATAHEADER , pub Buffer : [ super::super::System::SystemServices:: CHAR ;1 ] } impl RGNDATA { } impl :: std :: default :: Default for RGNDATA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for RGNDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RGNDATA" ) . field ( "rdh" , & self . rdh ) . field ( "Buffer" , & self . Buffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RGNDATA { fn eq ( & self , other : & Self ) -> bool { self . rdh == other . rdh && self . Buffer == other . Buffer } } impl :: std :: cmp :: Eq for RGNDATA { } unsafe impl :: windows :: Abi for RGNDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RGNDATAHEADER { pub dwSize : u32 , pub iType : u32 , pub nCount : u32 , pub nRgnSize : u32 , pub rcBound : super::super::Foundation:: RECT } impl RGNDATAHEADER { } impl :: std :: default :: Default for RGNDATAHEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for RGNDATAHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RGNDATAHEADER" ) . field ( "dwSize" , & self . dwSize ) . field ( "iType" , & self . iType ) . field ( "nCount" , & self . nCount ) . field ( "nRgnSize" , & self . nRgnSize ) . field ( "rcBound" , & self . rcBound ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RGNDATAHEADER { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . iType == other . iType && self . nCount == other . nCount && self . nRgnSize == other . nRgnSize && self . rcBound == other . rcBound } } impl :: std :: cmp :: Eq for RGNDATAHEADER { } unsafe impl :: windows :: Abi for RGNDATAHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct RGN_COMBINE_MODE ( pub i32 ) ; pub const RGN_AND : RGN_COMBINE_MODE = RGN_COMBINE_MODE ( 1i32 ) ; pub const RGN_OR : RGN_COMBINE_MODE = RGN_COMBINE_MODE ( 2i32 ) ; pub const RGN_XOR : RGN_COMBINE_MODE = RGN_COMBINE_MODE ( 3i32 ) ; pub const RGN_DIFF : RGN_COMBINE_MODE = RGN_COMBINE_MODE ( 4i32 ) ; pub const RGN_COPY : RGN_COMBINE_MODE = RGN_COMBINE_MODE ( 5i32 ) ; pub const RGN_MIN : RGN_COMBINE_MODE = RGN_COMBINE_MODE ( 1i32 ) ; pub const RGN_MAX : RGN_COMBINE_MODE = RGN_COMBINE_MODE ( 5i32 ) ; impl :: std :: convert :: From < i32 > for RGN_COMBINE_MODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for RGN_COMBINE_MODE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ROP_CODE ( pub u32 ) ; pub const SRCCOPY : ROP_CODE = ROP_CODE ( 13369376u32 ) ; pub const SRCPAINT : ROP_CODE = ROP_CODE ( 15597702u32 ) ; pub const SRCAND : ROP_CODE = ROP_CODE ( 8913094u32 ) ; pub const SRCINVERT : ROP_CODE = ROP_CODE ( 6684742u32 ) ; pub const SRCERASE : ROP_CODE = ROP_CODE ( 4457256u32 ) ; pub const NOTSRCCOPY : ROP_CODE = ROP_CODE ( 3342344u32 ) ; pub const NOTSRCERASE : ROP_CODE = ROP_CODE ( 1114278u32 ) ; pub const MERGECOPY : ROP_CODE = ROP_CODE ( 12583114u32 ) ; pub const MERGEPAINT : ROP_CODE = ROP_CODE ( 12255782u32 ) ; pub const PATCOPY : ROP_CODE = ROP_CODE ( 15728673u32 ) ; pub const PATPAINT : ROP_CODE = ROP_CODE ( 16452105u32 ) ; pub const PATINVERT : ROP_CODE = ROP_CODE ( 5898313u32 ) ; pub const DSTINVERT : ROP_CODE = ROP_CODE ( 5570569u32 ) ; pub const BLACKNESS : ROP_CODE = ROP_CODE ( 66u32 ) ; pub const WHITENESS : ROP_CODE = ROP_CODE ( 16711778u32 ) ; pub const NOMIRRORBITMAP : ROP_CODE = ROP_CODE ( 2147483648u32 ) ; pub const CAPTUREBLT : ROP_CODE = ROP_CODE ( 1073741824u32 ) ; impl :: std :: convert :: From < u32 > for ROP_CODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ROP_CODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for ROP_CODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ROP_CODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ROP_CODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ROP_CODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for ROP_CODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const RUSSIAN_CHARSET : u32 = 204u32 ; pub unsafe fn RealizePalette < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RealizePalette ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( RealizePalette ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RectInRegion < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgn : Param0 , lprect : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RectInRegion ( hrgn : HRGN , lprect : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RectInRegion ( hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RectVisible < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lprect : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RectVisible ( hdc : HDC , lprect : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RectVisible ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Rectangle < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn Rectangle ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( Rectangle ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RedrawWindow < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param2 : :: windows :: IntoParam < 'a , HRGN > , > ( hwnd : Param0 , lprcupdate : * const super::super::Foundation:: RECT , hrgnupdate : Param2 , flags : REDRAW_WINDOW_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn RedrawWindow ( hwnd : super::super::Foundation:: HWND , lprcupdate : * const super::super::Foundation:: RECT , hrgnupdate : HRGN , flags : REDRAW_WINDOW_FLAGS ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RedrawWindow ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprcupdate ) , hrgnupdate . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( flags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReleaseDC < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HDC > , > ( hwnd : Param0 , hdc : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ReleaseDC ( hwnd : super::super::Foundation:: HWND , hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( ReleaseDC ( hwnd . into_param ( ) . abi ( ) , hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveFontMemResourceEx < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( h : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RemoveFontMemResourceEx ( h : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RemoveFontMemResourceEx ( h . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveFontResourceA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( lpfilename : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RemoveFontResourceA ( lpfilename : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RemoveFontResourceA ( lpfilename . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveFontResourceExA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( name : Param0 , fl : u32 , pdv : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RemoveFontResourceExA ( name : super::super::Foundation:: PSTR , fl : u32 , pdv : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RemoveFontResourceExA ( name . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fl ) , :: std :: mem :: transmute ( pdv ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveFontResourceExW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( name : Param0 , fl : u32 , pdv : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RemoveFontResourceExW ( name : super::super::Foundation:: PWSTR , fl : u32 , pdv : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RemoveFontResourceExW ( name . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fl ) , :: std :: mem :: transmute ( pdv ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveFontResourceW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( lpfilename : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RemoveFontResourceW ( lpfilename : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RemoveFontResourceW ( lpfilename . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ResetDCA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpdm : * const super::super::UI::DisplayDevices:: DEVMODEA , ) -> HDC { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ResetDCA ( hdc : HDC , lpdm : * const super::super::UI::DisplayDevices:: DEVMODEA ) -> HDC ; } :: std :: mem :: transmute ( ResetDCA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ResetDCW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpdm : * const super::super::UI::DisplayDevices:: DEVMODEW , ) -> HDC { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ResetDCW ( hdc : HDC , lpdm : * const super::super::UI::DisplayDevices:: DEVMODEW ) -> HDC ; } :: std :: mem :: transmute ( ResetDCW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ResizePalette < 'a , Param0 : :: windows :: IntoParam < 'a , HPALETTE > , > ( hpal : Param0 , n : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ResizePalette ( hpal : HPALETTE , n : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ResizePalette ( hpal . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( n ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RestoreDC < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , nsaveddc : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RestoreDC ( hdc : HDC , nsaveddc : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RestoreDC ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nsaveddc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RoundRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , width : i32 , height : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RoundRect ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 , width : i32 , height : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RoundRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) , :: std :: mem :: transmute ( width ) , :: std :: mem :: transmute ( height ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const SAVE_CTM : u32 = 4101u32 ; pub const SB_CONST_ALPHA : u32 = 1u32 ; pub const SB_GRAD_RECT : u32 = 16u32 ; pub const SB_GRAD_TRI : u32 = 32u32 ; pub const SB_NONE : u32 = 0u32 ; pub const SB_PIXEL_ALPHA : u32 = 2u32 ; pub const SB_PREMULT_ALPHA : u32 = 4u32 ; pub const SCALINGFACTORX : u32 = 114u32 ; pub const SCALINGFACTORY : u32 = 115u32 ; pub const SDC_ALLOW_CHANGES : u32 = 1024u32 ; pub const SDC_ALLOW_PATH_ORDER_CHANGES : u32 = 8192u32 ; pub const SDC_APPLY : u32 = 128u32 ; pub const SDC_FORCE_MODE_ENUMERATION : u32 = 4096u32 ; pub const SDC_NO_OPTIMIZATION : u32 = 256u32 ; pub const SDC_PATH_PERSIST_IF_REQUIRED : u32 = 2048u32 ; pub const SDC_SAVE_TO_DATABASE : u32 = 512u32 ; pub const SDC_TOPOLOGY_CLONE : u32 = 2u32 ; pub const SDC_TOPOLOGY_EXTEND : u32 = 4u32 ; pub const SDC_TOPOLOGY_EXTERNAL : u32 = 8u32 ; pub const SDC_TOPOLOGY_INTERNAL : u32 = 1u32 ; pub const SDC_TOPOLOGY_SUPPLIED : u32 = 16u32 ; pub const SDC_USE_SUPPLIED_DISPLAY_CONFIG : u32 = 32u32 ; pub const SDC_VALIDATE : u32 = 64u32 ; pub const SDC_VIRTUAL_MODE_AWARE : u32 = 32768u32 ; pub const SELECTDIB : u32 = 41u32 ; pub const SELECTPAPERSOURCE : u32 = 18u32 ; pub const SETABORTPROC : u32 = 9u32 ; pub const SETALLJUSTVALUES : u32 = 771u32 ; pub const SETCHARSET : u32 = 772u32 ; pub const SETCOLORTABLE : u32 = 4u32 ; pub const SETCOPYCOUNT : u32 = 17u32 ; pub const SETDIBSCALING : u32 = 32u32 ; pub const SETICMPROFILE_EMBEDED : u32 = 1u32 ; pub const SETKERNTRACK : u32 = 770u32 ; pub const SETLINECAP : u32 = 21u32 ; pub const SETLINEJOIN : u32 = 22u32 ; pub const SETMITERLIMIT : u32 = 23u32 ; pub const SET_ARC_DIRECTION : u32 = 4102u32 ; pub const SET_BACKGROUND_COLOR : u32 = 4103u32 ; pub const SET_BOUNDS : u32 = 4109u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SET_BOUNDS_RECT_FLAGS ( pub u32 ) ; pub const DCB_ACCUMULATE : SET_BOUNDS_RECT_FLAGS = SET_BOUNDS_RECT_FLAGS ( 2u32 ) ; pub const DCB_DISABLE : SET_BOUNDS_RECT_FLAGS = SET_BOUNDS_RECT_FLAGS ( 8u32 ) ; pub const DCB_ENABLE : SET_BOUNDS_RECT_FLAGS = SET_BOUNDS_RECT_FLAGS ( 4u32 ) ; pub const DCB_RESET : SET_BOUNDS_RECT_FLAGS = SET_BOUNDS_RECT_FLAGS ( 1u32 ) ; impl :: std :: convert :: From < u32 > for SET_BOUNDS_RECT_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SET_BOUNDS_RECT_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for SET_BOUNDS_RECT_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SET_BOUNDS_RECT_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SET_BOUNDS_RECT_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SET_BOUNDS_RECT_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for SET_BOUNDS_RECT_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const SET_CLIP_BOX : u32 = 4108u32 ; pub const SET_MIRROR_MODE : u32 = 4110u32 ; pub const SET_POLY_MODE : u32 = 4104u32 ; pub const SET_SCREEN_ANGLE : u32 = 4105u32 ; pub const SET_SPREAD : u32 = 4106u32 ; pub const SHADEBLENDCAPS : u32 = 120u32 ; pub const SHIFTJIS_CHARSET : u32 = 128u32 ; pub const SIMPLEREGION : u32 = 2u32 ; pub const SIZEPALETTE : u32 = 104u32 ; pub const SPCLPASSTHROUGH2 : u32 = 4568u32 ; pub const SP_APPABORT : i32 = -2i32 ; pub const SP_ERROR : i32 = -1i32 ; pub const SP_NOTREPORTED : u32 = 16384u32 ; pub const SP_OUTOFDISK : i32 = -4i32 ; pub const SP_OUTOFMEMORY : i32 = -5i32 ; pub const SP_USERABORT : i32 = -3i32 ; pub const STARTDOC : u32 = 10u32 ; pub const STOCK_LAST : u32 = 19u32 ; pub const STRETCHBLT : u32 = 2048u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STRETCH_BLT_MODE ( pub u32 ) ; pub const BLACKONWHITE : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 1u32 ) ; pub const COLORONCOLOR : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 3u32 ) ; pub const HALFTONE : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 4u32 ) ; pub const STRETCH_ANDSCANS : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 1u32 ) ; pub const STRETCH_DELETESCANS : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 3u32 ) ; pub const STRETCH_HALFTONE : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 4u32 ) ; pub const STRETCH_ORSCANS : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 2u32 ) ; pub const WHITEONBLACK : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 2u32 ) ; impl :: std :: convert :: From < u32 > for STRETCH_BLT_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STRETCH_BLT_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for STRETCH_BLT_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for STRETCH_BLT_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for STRETCH_BLT_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for STRETCH_BLT_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for STRETCH_BLT_MODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const SYMBOL_CHARSET : u32 = 2u32 ; pub const SYSPAL_ERROR : u32 = 0u32 ; pub const SYSRGN : u32 = 4u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SYSTEM_PALETTE_USE ( pub u32 ) ; pub const SYSPAL_NOSTATIC : SYSTEM_PALETTE_USE = SYSTEM_PALETTE_USE ( 2u32 ) ; pub const SYSPAL_NOSTATIC256 : SYSTEM_PALETTE_USE = SYSTEM_PALETTE_USE ( 3u32 ) ; pub const SYSPAL_STATIC : SYSTEM_PALETTE_USE = SYSTEM_PALETTE_USE ( 1u32 ) ; impl :: std :: convert :: From < u32 > for SYSTEM_PALETTE_USE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SYSTEM_PALETTE_USE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for SYSTEM_PALETTE_USE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SYSTEM_PALETTE_USE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SYSTEM_PALETTE_USE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SYSTEM_PALETTE_USE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for SYSTEM_PALETTE_USE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub unsafe fn SaveDC < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SaveDC ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( SaveDC ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ScaleViewportExtEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , xn : i32 , dx : i32 , yn : i32 , yd : i32 , lpsz : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ScaleViewportExtEx ( hdc : HDC , xn : i32 , dx : i32 , yn : i32 , yd : i32 , lpsz : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ScaleViewportExtEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xn ) , :: std :: mem :: transmute ( dx ) , :: std :: mem :: transmute ( yn ) , :: std :: mem :: transmute ( yd ) , :: std :: mem :: transmute ( lpsz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ScaleWindowExtEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , xn : i32 , xd : i32 , yn : i32 , yd : i32 , lpsz : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ScaleWindowExtEx ( hdc : HDC , xn : i32 , xd : i32 , yn : i32 , yd : i32 , lpsz : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ScaleWindowExtEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xn ) , :: std :: mem :: transmute ( xd ) , :: std :: mem :: transmute ( yn ) , :: std :: mem :: transmute ( yd ) , :: std :: mem :: transmute ( lpsz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ScreenToClient < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , lppoint : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ScreenToClient ( hwnd : super::super::Foundation:: HWND , lppoint : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ScreenToClient ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppoint ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SelectClipPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , mode : RGN_COMBINE_MODE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SelectClipPath ( hdc : HDC , mode : RGN_COMBINE_MODE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SelectClipPath ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( mode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SelectClipRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hdc : Param0 , hrgn : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SelectClipRgn ( hdc : HDC , hrgn : HRGN ) -> i32 ; } :: std :: mem :: transmute ( SelectClipRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SelectObject < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HGDIOBJ > , > ( hdc : Param0 , h : Param1 , ) -> HGDIOBJ { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SelectObject ( hdc : HDC , h : HGDIOBJ ) -> HGDIOBJ ; } :: std :: mem :: transmute ( SelectObject ( hdc . into_param ( ) . abi ( ) , h . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SelectPalette < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HPALETTE > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , > ( hdc : Param0 , hpal : Param1 , bforcebkgd : Param2 , ) -> HPALETTE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SelectPalette ( hdc : HDC , hpal : HPALETTE , bforcebkgd : super::super::Foundation:: BOOL ) -> HPALETTE ; } :: std :: mem :: transmute ( SelectPalette ( hdc . into_param ( ) . abi ( ) , hpal . into_param ( ) . abi ( ) , bforcebkgd . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetArcDirection < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , dir : ARC_DIRECTION , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetArcDirection ( hdc : HDC , dir : ARC_DIRECTION ) -> i32 ; } :: std :: mem :: transmute ( SetArcDirection ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dir ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetBitmapBits < 'a , Param0 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hbm : Param0 , cb : u32 , pvbits : * const :: std :: ffi :: c_void , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetBitmapBits ( hbm : HBITMAP , cb : u32 , pvbits : * const :: std :: ffi :: c_void ) -> i32 ; } :: std :: mem :: transmute ( SetBitmapBits ( hbm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pvbits ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetBitmapDimensionEx < 'a , Param0 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hbm : Param0 , w : i32 , h : i32 , lpsz : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetBitmapDimensionEx ( hbm : HBITMAP , w : i32 , h : i32 , lpsz : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetBitmapDimensionEx ( hbm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( w ) , :: std :: mem :: transmute ( h ) , :: std :: mem :: transmute ( lpsz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetBkColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , color : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetBkColor ( hdc : HDC , color : u32 ) -> u32 ; } :: std :: mem :: transmute ( SetBkColor ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetBkMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , mode : BACKGROUND_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetBkMode ( hdc : HDC , mode : BACKGROUND_MODE ) -> i32 ; } :: std :: mem :: transmute ( SetBkMode ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( mode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetBoundsRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lprect : * const super::super::Foundation:: RECT , flags : SET_BOUNDS_RECT_FLAGS , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetBoundsRect ( hdc : HDC , lprect : * const super::super::Foundation:: RECT , flags : SET_BOUNDS_RECT_FLAGS ) -> u32 ; } :: std :: mem :: transmute ( SetBoundsRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) , :: std :: mem :: transmute ( flags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetBrushOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetBrushOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetBrushOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetColorAdjustment < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpca : * const COLORADJUSTMENT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetColorAdjustment ( hdc : HDC , lpca : * const COLORADJUSTMENT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetColorAdjustment ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpca ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDCBrushColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , color : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetDCBrushColor ( hdc : HDC , color : u32 ) -> u32 ; } :: std :: mem :: transmute ( SetDCBrushColor ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDCPenColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , color : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetDCPenColor ( hdc : HDC , color : u32 ) -> u32 ; } :: std :: mem :: transmute ( SetDCPenColor ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDIBColorTable < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , istart : u32 , centries : u32 , prgbq : * const RGBQUAD , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetDIBColorTable ( hdc : HDC , istart : u32 , centries : u32 , prgbq : * const RGBQUAD ) -> u32 ; } :: std :: mem :: transmute ( SetDIBColorTable ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( istart ) , :: std :: mem :: transmute ( centries ) , :: std :: mem :: transmute ( prgbq ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDIBits < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hdc : Param0 , hbm : Param1 , start : u32 , clines : u32 , lpbits : * const :: std :: ffi :: c_void , lpbmi : * const BITMAPINFO , coloruse : DIB_USAGE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetDIBits ( hdc : HDC , hbm : HBITMAP , start : u32 , clines : u32 , lpbits : * const :: std :: ffi :: c_void , lpbmi : * const BITMAPINFO , coloruse : DIB_USAGE ) -> i32 ; } :: std :: mem :: transmute ( SetDIBits ( hdc . into_param ( ) . abi ( ) , hbm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( start ) , :: std :: mem :: transmute ( clines ) , :: std :: mem :: transmute ( lpbits ) , :: std :: mem :: transmute ( lpbmi ) , :: std :: mem :: transmute ( coloruse ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDIBitsToDevice < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , xdest : i32 , ydest : i32 , w : u32 , h : u32 , xsrc : i32 , ysrc : i32 , startscan : u32 , clines : u32 , lpvbits : * const :: std :: ffi :: c_void , lpbmi : * const BITMAPINFO , coloruse : DIB_USAGE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetDIBitsToDevice ( hdc : HDC , xdest : i32 , ydest : i32 , w : u32 , h : u32 , xsrc : i32 , ysrc : i32 , startscan : u32 , clines : u32 , lpvbits : * const :: std :: ffi :: c_void , lpbmi : * const BITMAPINFO , coloruse : DIB_USAGE ) -> i32 ; } :: std :: mem :: transmute ( SetDIBitsToDevice ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xdest ) , :: std :: mem :: transmute ( ydest ) , :: std :: mem :: transmute ( w ) , :: std :: mem :: transmute ( h ) , :: std :: mem :: transmute ( xsrc ) , :: std :: mem :: transmute ( ysrc ) , :: std :: mem :: transmute ( startscan ) , :: std :: mem :: transmute ( clines ) , :: std :: mem :: transmute ( lpvbits ) , :: std :: mem :: transmute ( lpbmi ) , :: std :: mem :: transmute ( coloruse ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetEnhMetaFileBits < > ( nsize : u32 , pb : * const u8 , ) -> HENHMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetEnhMetaFileBits ( nsize : u32 , pb : * const u8 ) -> HENHMETAFILE ; } :: std :: mem :: transmute ( SetEnhMetaFileBits ( :: std :: mem :: transmute ( nsize ) , :: std :: mem :: transmute ( pb ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetGraphicsMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , imode : GRAPHICS_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetGraphicsMode ( hdc : HDC , imode : GRAPHICS_MODE ) -> i32 ; } :: std :: mem :: transmute ( SetGraphicsMode ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( imode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetLayout < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , l : DC_LAYOUT , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetLayout ( hdc : HDC , l : DC_LAYOUT ) -> u32 ; } :: std :: mem :: transmute ( SetLayout ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( l ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMapMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , imode : HDC_MAP_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetMapMode ( hdc : HDC , imode : HDC_MAP_MODE ) -> i32 ; } :: std :: mem :: transmute ( SetMapMode ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( imode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMapperFlags < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , flags : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetMapperFlags ( hdc : HDC , flags : u32 ) -> u32 ; } :: std :: mem :: transmute ( SetMapperFlags ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( flags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMetaFileBitsEx < > ( cbbuffer : u32 , lpdata : * const u8 , ) -> HMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetMetaFileBitsEx ( cbbuffer : u32 , lpdata : * const u8 ) -> HMETAFILE ; } :: std :: mem :: transmute ( SetMetaFileBitsEx ( :: std :: mem :: transmute ( cbbuffer ) , :: std :: mem :: transmute ( lpdata ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMetaRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetMetaRgn ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( SetMetaRgn ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMiterLimit < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , limit : f32 , old : * mut f32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetMiterLimit ( hdc : HDC , limit : f32 , old : * mut f32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetMiterLimit ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( limit ) , :: std :: mem :: transmute ( old ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPaletteEntries < 'a , Param0 : :: windows :: IntoParam < 'a , HPALETTE > , > ( hpal : Param0 , istart : u32 , centries : u32 , ppalentries : * const PALETTEENTRY , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetPaletteEntries ( hpal : HPALETTE , istart : u32 , centries : u32 , ppalentries : * const PALETTEENTRY ) -> u32 ; } :: std :: mem :: transmute ( SetPaletteEntries ( hpal . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( istart ) , :: std :: mem :: transmute ( centries ) , :: std :: mem :: transmute ( ppalentries ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPixel < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , color : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetPixel ( hdc : HDC , x : i32 , y : i32 , color : u32 ) -> u32 ; } :: std :: mem :: transmute ( SetPixel ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPixelV < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , color : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetPixelV ( hdc : HDC , x : i32 , y : i32 , color : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetPixelV ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPolyFillMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , mode : CREATE_POLYGON_RGN_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetPolyFillMode ( hdc : HDC , mode : CREATE_POLYGON_RGN_MODE ) -> i32 ; } :: std :: mem :: transmute ( SetPolyFillMode ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( mode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetROP2 < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , rop2 : R2_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetROP2 ( hdc : HDC , rop2 : R2_MODE ) -> i32 ; } :: std :: mem :: transmute ( SetROP2 ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( rop2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetRect < > ( lprc : * mut super::super::Foundation:: RECT , xleft : i32 , ytop : i32 , xright : i32 , ybottom : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn SetRect ( lprc : * mut super::super::Foundation:: RECT , xleft : i32 , ytop : i32 , xright : i32 , ybottom : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetRect ( :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( xleft ) , :: std :: mem :: transmute ( ytop ) , :: std :: mem :: transmute ( xright ) , :: std :: mem :: transmute ( ybottom ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetRectEmpty < > ( lprc : * mut super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn SetRectEmpty ( lprc : * mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetRectEmpty ( :: std :: mem :: transmute ( lprc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetRectRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgn : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetRectRgn ( hrgn : HRGN , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetRectRgn ( hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetStretchBltMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , mode : STRETCH_BLT_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetStretchBltMode ( hdc : HDC , mode : STRETCH_BLT_MODE ) -> i32 ; } :: std :: mem :: transmute ( SetStretchBltMode ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( mode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetSystemPaletteUse < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , r#use : SYSTEM_PALETTE_USE , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetSystemPaletteUse ( hdc : HDC , r#use : SYSTEM_PALETTE_USE ) -> u32 ; } :: std :: mem :: transmute ( SetSystemPaletteUse ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( r#use ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetTextAlign < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , align : super::super::UI::Controls:: TEXT_ALIGN_OPTIONS , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetTextAlign ( hdc : HDC , align : super::super::UI::Controls:: TEXT_ALIGN_OPTIONS ) -> u32 ; } :: std :: mem :: transmute ( SetTextAlign ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( align ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetTextCharacterExtra < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , extra : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetTextCharacterExtra ( hdc : HDC , extra : i32 ) -> i32 ; } :: std :: mem :: transmute ( SetTextCharacterExtra ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( extra ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetTextColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , color : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetTextColor ( hdc : HDC , color : u32 ) -> u32 ; } :: std :: mem :: transmute ( SetTextColor ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetTextJustification < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , extra : i32 , count : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetTextJustification ( hdc : HDC , extra : i32 , count : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetTextJustification ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( extra ) , :: std :: mem :: transmute ( count ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetViewportExtEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lpsz : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetViewportExtEx ( hdc : HDC , x : i32 , y : i32 , lpsz : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetViewportExtEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lpsz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetViewportOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetViewportOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetViewportOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWinMetaFileBits < 'a , Param2 : :: windows :: IntoParam < 'a , HDC > , > ( nsize : u32 , lpmeta16data : * const u8 , hdcref : Param2 , lpmfp : * const super::super::System::DataExchange:: METAFILEPICT , ) -> HENHMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetWinMetaFileBits ( nsize : u32 , lpmeta16data : * const u8 , hdcref : HDC , lpmfp : * const super::super::System::DataExchange:: METAFILEPICT ) -> HENHMETAFILE ; } :: std :: mem :: transmute ( SetWinMetaFileBits ( :: std :: mem :: transmute ( nsize ) , :: std :: mem :: transmute ( lpmeta16data ) , hdcref . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpmfp ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowExtEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lpsz : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetWindowExtEx ( hdc : HDC , x : i32 , y : i32 , lpsz : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetWindowExtEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lpsz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetWindowOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetWindowOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowRgn < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HRGN > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , > ( hwnd : Param0 , hrgn : Param1 , bredraw : Param2 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn SetWindowRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN , bredraw : super::super::Foundation:: BOOL ) -> i32 ; } :: std :: mem :: transmute ( SetWindowRgn ( hwnd . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) , bredraw . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWorldTransform < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpxf : * const XFORM , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetWorldTransform ( hdc : HDC , lpxf : * const XFORM ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetWorldTransform ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpxf ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn StretchBlt < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , HDC > , > ( hdcdest : Param0 , xdest : i32 , ydest : i32 , wdest : i32 , hdest : i32 , hdcsrc : Param5 , xsrc : i32 , ysrc : i32 , wsrc : i32 , hsrc : i32 , rop : ROP_CODE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn StretchBlt ( hdcdest : HDC , xdest : i32 , ydest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xsrc : i32 , ysrc : i32 , wsrc : i32 , hsrc : i32 , rop : ROP_CODE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( StretchBlt ( hdcdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xdest ) , :: std :: mem :: transmute ( ydest ) , :: std :: mem :: transmute ( wdest ) , :: std :: mem :: transmute ( hdest ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xsrc ) , :: std :: mem :: transmute ( ysrc ) , :: std :: mem :: transmute ( wsrc ) , :: std :: mem :: transmute ( hsrc ) , :: std :: mem :: transmute ( rop ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn StretchDIBits < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , xdest : i32 , ydest : i32 , destwidth : i32 , destheight : i32 , xsrc : i32 , ysrc : i32 , srcwidth : i32 , srcheight : i32 , lpbits : * const :: std :: ffi :: c_void , lpbmi : * const BITMAPINFO , iusage : DIB_USAGE , rop : ROP_CODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn StretchDIBits ( hdc : HDC , xdest : i32 , ydest : i32 , destwidth : i32 , destheight : i32 , xsrc : i32 , ysrc : i32 , srcwidth : i32 , srcheight : i32 , lpbits : * const :: std :: ffi :: c_void , lpbmi : * const BITMAPINFO , iusage : DIB_USAGE , rop : ROP_CODE ) -> i32 ; } :: std :: mem :: transmute ( StretchDIBits ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xdest ) , :: std :: mem :: transmute ( ydest ) , :: std :: mem :: transmute ( destwidth ) , :: std :: mem :: transmute ( destheight ) , :: std :: mem :: transmute ( xsrc ) , :: std :: mem :: transmute ( ysrc ) , :: std :: mem :: transmute ( srcwidth ) , :: std :: mem :: transmute ( srcheight ) , :: std :: mem :: transmute ( lpbits ) , :: std :: mem :: transmute ( lpbmi ) , :: std :: mem :: transmute ( iusage ) , :: std :: mem :: transmute ( rop ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn StrokeAndFillPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn StrokeAndFillPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( StrokeAndFillPath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn StrokePath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn StrokePath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( StrokePath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SubtractRect < > ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc1 : * const super::super::Foundation:: RECT , lprcsrc2 : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn SubtractRect ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc1 : * const super::super::Foundation:: RECT , lprcsrc2 : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SubtractRect ( :: std :: mem :: transmute ( lprcdst ) , :: std :: mem :: transmute ( lprcsrc1 ) , :: std :: mem :: transmute ( lprcsrc2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const TC_CP_STROKE : u32 = 4u32 ; pub const TC_CR_90 : u32 = 8u32 ; pub const TC_CR_ANY : u32 = 16u32 ; pub const TC_EA_DOUBLE : u32 = 512u32 ; pub const TC_IA_ABLE : u32 = 1024u32 ; pub const TC_OP_CHARACTER : u32 = 1u32 ; pub const TC_OP_STROKE : u32 = 2u32 ; pub const TC_RA_ABLE : u32 = 8192u32 ; pub const TC_RESERVED : u32 = 32768u32 ; pub const TC_SA_CONTIN : u32 = 256u32 ; pub const TC_SA_DOUBLE : u32 = 64u32 ; pub const TC_SA_INTEGER : u32 = 128u32 ; pub const TC_SCROLLBLT : u32 = 65536u32 ; pub const TC_SF_X_YINDEP : u32 = 32u32 ; pub const TC_SO_ABLE : u32 = 4096u32 ; pub const TC_UA_ABLE : u32 = 2048u32 ; pub const TC_VA_ABLE : u32 = 16384u32 ; pub const TECHNOLOGY : u32 = 2u32 ; pub const TEXTCAPS : u32 = 34u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TEXTMETRICA { pub tmHeight : i32 , pub tmAscent : i32 , pub tmDescent : i32 , pub tmInternalLeading : i32 , pub tmExternalLeading : i32 , pub tmAveCharWidth : i32 , pub tmMaxCharWidth : i32 , pub tmWeight : i32 , pub tmOverhang : i32 , pub tmDigitizedAspectX : i32 , pub tmDigitizedAspectY : i32 , pub tmFirstChar : u8 , pub tmLastChar : u8 , pub tmDefaultChar : u8 , pub tmBreakChar : u8 , pub tmItalic : u8 , pub tmUnderlined : u8 , pub tmStruckOut : u8 , pub tmPitchAndFamily : u8 , pub tmCharSet : u8 } impl TEXTMETRICA { } impl :: std :: default :: Default for TEXTMETRICA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TEXTMETRICA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TEXTMETRICA" ) . field ( "tmHeight" , & self . tmHeight ) . field ( "tmAscent" , & self . tmAscent ) . field ( "tmDescent" , & self . tmDescent ) . field ( "tmInternalLeading" , & self . tmInternalLeading ) . field ( "tmExternalLeading" , & self . tmExternalLeading ) . field ( "tmAveCharWidth" , & self . tmAveCharWidth ) . field ( "tmMaxCharWidth" , & self . tmMaxCharWidth ) . field ( "tmWeight" , & self . tmWeight ) . field ( "tmOverhang" , & self . tmOverhang ) . field ( "tmDigitizedAspectX" , & self . tmDigitizedAspectX ) . field ( "tmDigitizedAspectY" , & self . tmDigitizedAspectY ) . field ( "tmFirstChar" , & self . tmFirstChar ) . field ( "tmLastChar" , & self . tmLastChar ) . field ( "tmDefaultChar" , & self . tmDefaultChar ) . field ( "tmBreakChar" , & self . tmBreakChar ) . field ( "tmItalic" , & self . tmItalic ) . field ( "tmUnderlined" , & self . tmUnderlined ) . field ( "tmStruckOut" , & self . tmStruckOut ) . field ( "tmPitchAndFamily" , & self . tmPitchAndFamily ) . field ( "tmCharSet" , & self . tmCharSet ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TEXTMETRICA { fn eq ( & self , other : & Self ) -> bool { self . tmHeight == other . tmHeight && self . tmAscent == other . tmAscent && self . tmDescent == other . tmDescent && self . tmInternalLeading == other . tmInternalLeading && self . tmExternalLeading == other . tmExternalLeading && self . tmAveCharWidth == other . tmAveCharWidth && self . tmMaxCharWidth == other . tmMaxCharWidth && self . tmWeight == other . tmWeight && self . tmOverhang == other . tmOverhang && self . tmDigitizedAspectX == other . tmDigitizedAspectX && self . tmDigitizedAspectY == other . tmDigitizedAspectY && self . tmFirstChar == other . tmFirstChar && self . tmLastChar == other . tmLastChar && self . tmDefaultChar == other . tmDefaultChar && self . tmBreakChar == other . tmBreakChar && self . tmItalic == other . tmItalic && self . tmUnderlined == other . tmUnderlined && self . tmStruckOut == other . tmStruckOut && self . tmPitchAndFamily == other . tmPitchAndFamily && self . tmCharSet == other . tmCharSet } } impl :: std :: cmp :: Eq for TEXTMETRICA { } unsafe impl :: windows :: Abi for TEXTMETRICA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TEXTMETRICW { pub tmHeight : i32 , pub tmAscent : i32 , pub tmDescent : i32 , pub tmInternalLeading : i32 , pub tmExternalLeading : i32 , pub tmAveCharWidth : i32 , pub tmMaxCharWidth : i32 , pub tmWeight : i32 , pub tmOverhang : i32 , pub tmDigitizedAspectX : i32 , pub tmDigitizedAspectY : i32 , pub tmFirstChar : u16 , pub tmLastChar : u16 , pub tmDefaultChar : u16 , pub tmBreakChar : u16 , pub tmItalic : u8 , pub tmUnderlined : u8 , pub tmStruckOut : u8 , pub tmPitchAndFamily : u8 , pub tmCharSet : u8 } impl TEXTMETRICW { } impl :: std :: default :: Default for TEXTMETRICW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TEXTMETRICW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TEXTMETRICW" ) . field ( "tmHeight" , & self . tmHeight ) . field ( "tmAscent" , & self . tmAscent ) . field ( "tmDescent" , & self . tmDescent ) . field ( "tmInternalLeading" , & self . tmInternalLeading ) . field ( "tmExternalLeading" , & self . tmExternalLeading ) . field ( "tmAveCharWidth" , & self . tmAveCharWidth ) . field ( "tmMaxCharWidth" , & self . tmMaxCharWidth ) . field ( "tmWeight" , & self . tmWeight ) . field ( "tmOverhang" , & self . tmOverhang ) . field ( "tmDigitizedAspectX" , & self . tmDigitizedAspectX ) . field ( "tmDigitizedAspectY" , & self . tmDigitizedAspectY ) . field ( "tmFirstChar" , & self . tmFirstChar ) . field ( "tmLastChar" , & self . tmLastChar ) . field ( "tmDefaultChar" , & self . tmDefaultChar ) . field ( "tmBreakChar" , & self . tmBreakChar ) . field ( "tmItalic" , & self . tmItalic ) . field ( "tmUnderlined" , & self . tmUnderlined ) . field ( "tmStruckOut" , & self . tmStruckOut ) . field ( "tmPitchAndFamily" , & self . tmPitchAndFamily ) . field ( "tmCharSet" , & self . tmCharSet ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TEXTMETRICW { fn eq ( & self , other : & Self ) -> bool { self . tmHeight == other . tmHeight && self . tmAscent == other . tmAscent && self . tmDescent == other . tmDescent && self . tmInternalLeading == other . tmInternalLeading && self . tmExternalLeading == other . tmExternalLeading && self . tmAveCharWidth == other . tmAveCharWidth && self . tmMaxCharWidth == other . tmMaxCharWidth && self . tmWeight == other . tmWeight && self . tmOverhang == other . tmOverhang && self . tmDigitizedAspectX == other . tmDigitizedAspectX && self . tmDigitizedAspectY == other . tmDigitizedAspectY && self . tmFirstChar == other . tmFirstChar && self . tmLastChar == other . tmLastChar && self . tmDefaultChar == other . tmDefaultChar && self . tmBreakChar == other . tmBreakChar && self . tmItalic == other . tmItalic && self . tmUnderlined == other . tmUnderlined && self . tmStruckOut == other . tmStruckOut && self . tmPitchAndFamily == other . tmPitchAndFamily && self . tmCharSet == other . tmCharSet } } impl :: std :: cmp :: Eq for TEXTMETRICW { } unsafe impl :: windows :: Abi for TEXTMETRICW { type Abi = Self ; type DefaultType = Self ; } pub const THAI_CHARSET : u32 = 222u32 ; pub const TMPF_DEVICE : u32 = 8u32 ; pub const TMPF_FIXED_PITCH : u32 = 1u32 ; pub const TMPF_TRUETYPE : u32 = 4u32 ; pub const TMPF_VECTOR : u32 = 2u32 ; pub const TRANSFORM_CTM : u32 = 4107u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRIVERTEX { pub x : i32 , pub y : i32 , pub Red : u16 , pub Green : u16 , pub Blue : u16 , pub Alpha : u16 } impl TRIVERTEX { } impl :: std :: default :: Default for TRIVERTEX { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TRIVERTEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRIVERTEX" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . field ( "Red" , & self . Red ) . field ( "Green" , & self . Green ) . field ( "Blue" , & self . Blue ) . field ( "Alpha" , & self . Alpha ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRIVERTEX { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y && self . Red == other . Red && self . Green == other . Green && self . Blue == other . Blue && self . Alpha == other . Alpha } } impl :: std :: cmp :: Eq for TRIVERTEX { } unsafe impl :: windows :: Abi for TRIVERTEX { type Abi = Self ; type DefaultType = Self ; } pub const TRUETYPE_FONTTYPE : u32 = 4u32 ; pub unsafe fn TTCharToUnicode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , puccharcodes : * const u8 , ulcharcodesize : u32 , pusshortcodes : * mut u16 , ulshortcodesize : u32 , ulflags : u32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTCharToUnicode ( hdc : HDC , puccharcodes : * const u8 , ulcharcodesize : u32 , pusshortcodes : * mut u16 , ulshortcodesize : u32 , ulflags : u32 ) -> i32 ; } :: std :: mem :: transmute ( TTCharToUnicode ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( puccharcodes ) , :: std :: mem :: transmute ( ulcharcodesize ) , :: std :: mem :: transmute ( pusshortcodes ) , :: std :: mem :: transmute ( ulshortcodesize ) , :: std :: mem :: transmute ( ulflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const TTDELETE_DONTREMOVEFONT : u32 = 1u32 ; pub unsafe fn TTDeleteEmbeddedFont < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( hfontreference : Param0 , ulflags : u32 , pulstatus : * mut u32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTDeleteEmbeddedFont ( hfontreference : super::super::Foundation:: HANDLE , ulflags : u32 , pulstatus : * mut u32 ) -> i32 ; } :: std :: mem :: transmute ( TTDeleteEmbeddedFont ( hfontreference . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ulflags ) , :: std :: mem :: transmute ( pulstatus ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TTEMBEDINFO { pub usStructSize : u16 , pub usRootStrSize : u16 , pub pusRootStr : * mut u16 } impl TTEMBEDINFO { } impl :: std :: default :: Default for TTEMBEDINFO { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TTEMBEDINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TTEMBEDINFO" ) . field ( "usStructSize" , & self . usStructSize ) . field ( "usRootStrSize" , & self . usRootStrSize ) . field ( "pusRootStr" , & self . pusRootStr ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TTEMBEDINFO { fn eq ( & self , other : & Self ) -> bool { self . usStructSize == other . usStructSize && self . usRootStrSize == other . usRootStrSize && self . pusRootStr == other . pusRootStr } } impl :: std :: cmp :: Eq for TTEMBEDINFO { } unsafe impl :: windows :: Abi for TTEMBEDINFO { type Abi = Self ; type DefaultType = Self ; } pub const TTEMBED_EUDCEMBEDDED : u32 = 2u32 ; pub const TTEMBED_FAILIFVARIATIONSIMULATED : u32 = 16u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TTEMBED_FLAGS ( pub u32 ) ; pub const TTEMBED_EMBEDEUDC : TTEMBED_FLAGS = TTEMBED_FLAGS ( 32u32 ) ; pub const TTEMBED_RAW : TTEMBED_FLAGS = TTEMBED_FLAGS ( 0u32 ) ; pub const TTEMBED_SUBSET : TTEMBED_FLAGS = TTEMBED_FLAGS ( 1u32 ) ; pub const TTEMBED_TTCOMPRESSED : TTEMBED_FLAGS = TTEMBED_FLAGS ( 4u32 ) ; impl :: std :: convert :: From < u32 > for TTEMBED_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TTEMBED_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for TTEMBED_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TTEMBED_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TTEMBED_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TTEMBED_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for TTEMBED_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const TTEMBED_SUBSETCANCEL : u32 = 4u32 ; pub const TTEMBED_VARIATIONSIMULATED : u32 = 1u32 ; pub const TTEMBED_WEBOBJECT : u32 = 128u32 ; pub const TTEMBED_XORENCRYPTDATA : u32 = 268435456u32 ; pub unsafe fn TTEmbedFont < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : * mut u32 , lpfnwritetostream : :: std :: option :: Option < WRITEEMBEDPROC > , lpvwritestream : * const :: std :: ffi :: c_void , puscharcodeset : * const u16 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : * const TTEMBEDINFO , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTEmbedFont ( hdc : HDC , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : * mut u32 , lpfnwritetostream : :: windows :: RawPtr , lpvwritestream : * const :: std :: ffi :: c_void , puscharcodeset : * const u16 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : * const TTEMBEDINFO ) -> i32 ; } :: std :: mem :: transmute ( TTEmbedFont ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ulflags ) , :: std :: mem :: transmute ( ulcharset ) , :: std :: mem :: transmute ( pulprivstatus ) , :: std :: mem :: transmute ( pulstatus ) , :: std :: mem :: transmute ( lpfnwritetostream ) , :: std :: mem :: transmute ( lpvwritestream ) , :: std :: mem :: transmute ( puscharcodeset ) , :: std :: mem :: transmute ( uscharcodecount ) , :: std :: mem :: transmute ( uslanguage ) , :: std :: mem :: transmute ( pttembedinfo ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTEmbedFontEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : * mut u32 , lpfnwritetostream : :: std :: option :: Option < WRITEEMBEDPROC > , lpvwritestream : * const :: std :: ffi :: c_void , pulcharcodeset : * const u32 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : * const TTEMBEDINFO , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTEmbedFontEx ( hdc : HDC , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : * mut u32 , lpfnwritetostream : :: windows :: RawPtr , lpvwritestream : * const :: std :: ffi :: c_void , pulcharcodeset : * const u32 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : * const TTEMBEDINFO ) -> i32 ; } :: std :: mem :: transmute ( TTEmbedFontEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ulflags ) , :: std :: mem :: transmute ( ulcharset ) , :: std :: mem :: transmute ( pulprivstatus ) , :: std :: mem :: transmute ( pulstatus ) , :: std :: mem :: transmute ( lpfnwritetostream ) , :: std :: mem :: transmute ( lpvwritestream ) , :: std :: mem :: transmute ( pulcharcodeset ) , :: std :: mem :: transmute ( uscharcodecount ) , :: std :: mem :: transmute ( uslanguage ) , :: std :: mem :: transmute ( pttembedinfo ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTEmbedFontFromFileA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , szfontfilename : Param1 , usttcindex : u16 , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : * mut u32 , lpfnwritetostream : :: std :: option :: Option < WRITEEMBEDPROC > , lpvwritestream : * const :: std :: ffi :: c_void , puscharcodeset : * const u16 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : * const TTEMBEDINFO , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTEmbedFontFromFileA ( hdc : HDC , szfontfilename : super::super::Foundation:: PSTR , usttcindex : u16 , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : * mut u32 , lpfnwritetostream : :: windows :: RawPtr , lpvwritestream : * const :: std :: ffi :: c_void , puscharcodeset : * const u16 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : * const TTEMBEDINFO ) -> i32 ; } :: std :: mem :: transmute ( TTEmbedFontFromFileA ( hdc . into_param ( ) . abi ( ) , szfontfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( usttcindex ) , :: std :: mem :: transmute ( ulflags ) , :: std :: mem :: transmute ( ulcharset ) , :: std :: mem :: transmute ( pulprivstatus ) , :: std :: mem :: transmute ( pulstatus ) , :: std :: mem :: transmute ( lpfnwritetostream ) , :: std :: mem :: transmute ( lpvwritestream ) , :: std :: mem :: transmute ( puscharcodeset ) , :: std :: mem :: transmute ( uscharcodecount ) , :: std :: mem :: transmute ( uslanguage ) , :: std :: mem :: transmute ( pttembedinfo ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTEnableEmbeddingForFacename < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , > ( lpszfacename : Param0 , benable : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTEnableEmbeddingForFacename ( lpszfacename : super::super::Foundation:: PSTR , benable : super::super::Foundation:: BOOL ) -> i32 ; } :: std :: mem :: transmute ( TTEnableEmbeddingForFacename ( lpszfacename . into_param ( ) . abi ( ) , benable . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const TTFCFP_APPLE_PLATFORMID : u32 = 1u32 ; pub const TTFCFP_DELTA : u32 = 2u32 ; pub const TTFCFP_DONT_CARE : u32 = 65535u32 ; pub const TTFCFP_FLAGS_COMPRESS : u32 = 2u32 ; pub const TTFCFP_FLAGS_GLYPHLIST : u32 = 8u32 ; pub const TTFCFP_FLAGS_SUBSET : u32 = 1u32 ; pub const TTFCFP_FLAGS_TTC : u32 = 4u32 ; pub const TTFCFP_LANG_KEEP_ALL : u32 = 0u32 ; pub const TTFCFP_MS_PLATFORMID : u32 = 3u32 ; pub const TTFCFP_SUBSET : u32 = 0u32 ; pub const TTFCFP_SUBSET1 : u32 = 1u32 ; pub const TTFMFP_DELTA : u32 = 2u32 ; pub const TTFMFP_SUBSET : u32 = 0u32 ; pub const TTFMFP_SUBSET1 : u32 = 1u32 ; pub unsafe fn TTGetEmbeddedFontInfo < > ( ulflags : TTEMBED_FLAGS , pulprivstatus : * mut u32 , ulprivs : FONT_LICENSE_PRIVS , pulstatus : * mut u32 , lpfnreadfromstream : :: std :: option :: Option < READEMBEDPROC > , lpvreadstream : * const :: std :: ffi :: c_void , pttloadinfo : * const TTLOADINFO , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTGetEmbeddedFontInfo ( ulflags : TTEMBED_FLAGS , pulprivstatus : * mut u32 , ulprivs : FONT_LICENSE_PRIVS , pulstatus : * mut u32 , lpfnreadfromstream : :: windows :: RawPtr , lpvreadstream : * const :: std :: ffi :: c_void , pttloadinfo : * const TTLOADINFO ) -> i32 ; } :: std :: mem :: transmute ( TTGetEmbeddedFontInfo ( :: std :: mem :: transmute ( ulflags ) , :: std :: mem :: transmute ( pulprivstatus ) , :: std :: mem :: transmute ( ulprivs ) , :: std :: mem :: transmute ( pulstatus ) , :: std :: mem :: transmute ( lpfnreadfromstream ) , :: std :: mem :: transmute ( lpvreadstream ) , :: std :: mem :: transmute ( pttloadinfo ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTGetEmbeddingType < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , pulembedtype : * mut EMBEDDED_FONT_PRIV_STATUS , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTGetEmbeddingType ( hdc : HDC , pulembedtype : * mut EMBEDDED_FONT_PRIV_STATUS ) -> i32 ; } :: std :: mem :: transmute ( TTGetEmbeddingType ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pulembedtype ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTGetNewFontName < > ( phfontreference : * const super::super::Foundation:: HANDLE , wzwinfamilyname : super::super::Foundation:: PWSTR , cchmaxwinname : i32 , szmacfamilyname : super::super::Foundation:: PSTR , cchmaxmacname : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTGetNewFontName ( phfontreference : * const super::super::Foundation:: HANDLE , wzwinfamilyname : super::super::Foundation:: PWSTR , cchmaxwinname : i32 , szmacfamilyname : super::super::Foundation:: PSTR , cchmaxmacname : i32 ) -> i32 ; } :: std :: mem :: transmute ( TTGetNewFontName ( :: std :: mem :: transmute ( phfontreference ) , :: std :: mem :: transmute ( wzwinfamilyname ) , :: std :: mem :: transmute ( cchmaxwinname ) , :: std :: mem :: transmute ( szmacfamilyname ) , :: std :: mem :: transmute ( cchmaxmacname ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTIsEmbeddingEnabled < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , pbenabled : * mut super::super::Foundation:: BOOL , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTIsEmbeddingEnabled ( hdc : HDC , pbenabled : * mut super::super::Foundation:: BOOL ) -> i32 ; } :: std :: mem :: transmute ( TTIsEmbeddingEnabled ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbenabled ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTIsEmbeddingEnabledForFacename < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( lpszfacename : Param0 , pbenabled : * mut super::super::Foundation:: BOOL , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTIsEmbeddingEnabledForFacename ( lpszfacename : super::super::Foundation:: PSTR , pbenabled : * mut super::super::Foundation:: BOOL ) -> i32 ; } :: std :: mem :: transmute ( TTIsEmbeddingEnabledForFacename ( lpszfacename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbenabled ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TTLOADINFO { pub usStructSize : u16 , pub usRefStrSize : u16 , pub pusRefStr : * mut u16 } impl TTLOADINFO { } impl :: std :: default :: Default for TTLOADINFO { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TTLOADINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TTLOADINFO" ) . field ( "usStructSize" , & self . usStructSize ) . field ( "usRefStrSize" , & self . usRefStrSize ) . field ( "pusRefStr" , & self . pusRefStr ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TTLOADINFO { fn eq ( & self , other : & Self ) -> bool { self . usStructSize == other . usStructSize && self . usRefStrSize == other . usRefStrSize && self . pusRefStr == other . pusRefStr } } impl :: std :: cmp :: Eq for TTLOADINFO { } unsafe impl :: windows :: Abi for TTLOADINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TTLOAD_EMBEDDED_FONT_STATUS ( pub u32 ) ; pub const TTLOAD_FONT_SUBSETTED : TTLOAD_EMBEDDED_FONT_STATUS = TTLOAD_EMBEDDED_FONT_STATUS ( 1u32 ) ; pub const TTLOAD_FONT_IN_SYSSTARTUP : TTLOAD_EMBEDDED_FONT_STATUS = TTLOAD_EMBEDDED_FONT_STATUS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for TTLOAD_EMBEDDED_FONT_STATUS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TTLOAD_EMBEDDED_FONT_STATUS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for TTLOAD_EMBEDDED_FONT_STATUS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TTLOAD_EMBEDDED_FONT_STATUS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TTLOAD_EMBEDDED_FONT_STATUS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TTLOAD_EMBEDDED_FONT_STATUS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for TTLOAD_EMBEDDED_FONT_STATUS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const TTLOAD_EUDC_OVERWRITE : u32 = 2u32 ; pub const TTLOAD_EUDC_SET : u32 = 4u32 ; pub const TTLOAD_PRIVATE : u32 = 1u32 ; pub unsafe fn TTLoadEmbeddedFont < 'a , Param7 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param8 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( phfontreference : * mut super::super::Foundation:: HANDLE , ulflags : u32 , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , ulprivs : FONT_LICENSE_PRIVS , pulstatus : * mut TTLOAD_EMBEDDED_FONT_STATUS , lpfnreadfromstream : :: std :: option :: Option < READEMBEDPROC > , lpvreadstream : * const :: std :: ffi :: c_void , szwinfamilyname : Param7 , szmacfamilyname : Param8 , pttloadinfo : * const TTLOADINFO , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTLoadEmbeddedFont ( phfontreference : * mut super::super::Foundation:: HANDLE , ulflags : u32 , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , ulprivs : FONT_LICENSE_PRIVS , pulstatus : * mut TTLOAD_EMBEDDED_FONT_STATUS , lpfnreadfromstream : :: windows :: RawPtr , lpvreadstream : * const :: std :: ffi :: c_void , szwinfamilyname : super::super::Foundation:: PWSTR , szmacfamilyname : super::super::Foundation:: PSTR , pttloadinfo : * const TTLOADINFO ) -> i32 ; } :: std :: mem :: transmute ( TTLoadEmbeddedFont ( :: std :: mem :: transmute ( phfontreference ) , :: std :: mem :: transmute ( ulflags ) , :: std :: mem :: transmute ( pulprivstatus ) , :: std :: mem :: transmute ( ulprivs ) , :: std :: mem :: transmute ( pulstatus ) , :: std :: mem :: transmute ( lpfnreadfromstream ) , :: std :: mem :: transmute ( lpvreadstream ) , szwinfamilyname . into_param ( ) . abi ( ) , szmacfamilyname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pttloadinfo ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TTPOLYCURVE { pub wType : u16 , pub cpfx : u16 , pub apfx : [ POINTFX ;1 ] } impl TTPOLYCURVE { } impl :: std :: default :: Default for TTPOLYCURVE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TTPOLYCURVE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TTPOLYCURVE" ) . field ( "wType" , & self . wType ) . field ( "cpfx" , & self . cpfx ) . field ( "apfx" , & self . apfx ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TTPOLYCURVE { fn eq ( & self , other : & Self ) -> bool { self . wType == other . wType && self . cpfx == other . cpfx && self . apfx == other . apfx } } impl :: std :: cmp :: Eq for TTPOLYCURVE { } unsafe impl :: windows :: Abi for TTPOLYCURVE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TTPOLYGONHEADER { pub cb : u32 , pub dwType : u32 , pub pfxStart : POINTFX } impl TTPOLYGONHEADER { } impl :: std :: default :: Default for TTPOLYGONHEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TTPOLYGONHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TTPOLYGONHEADER" ) . field ( "cb" , & self . cb ) . field ( "dwType" , & self . dwType ) . field ( "pfxStart" , & self . pfxStart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TTPOLYGONHEADER { fn eq ( & self , other : & Self ) -> bool { self . cb == other . cb && self . dwType == other . dwType && self . pfxStart == other . pfxStart } } impl :: std :: cmp :: Eq for TTPOLYGONHEADER { } unsafe impl :: windows :: Abi for TTPOLYGONHEADER { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn TTRunValidationTests < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ptestparam : * const TTVALIDATIONTESTSPARAMS , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTRunValidationTests ( hdc : HDC , ptestparam : * const TTVALIDATIONTESTSPARAMS ) -> i32 ; } :: std :: mem :: transmute ( TTRunValidationTests ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ptestparam ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTRunValidationTestsEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ptestparam : * const TTVALIDATIONTESTSPARAMSEX , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTRunValidationTestsEx ( hdc : HDC , ptestparam : * const TTVALIDATIONTESTSPARAMSEX ) -> i32 ; } :: std :: mem :: transmute ( TTRunValidationTestsEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ptestparam ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TTVALIDATIONTESTSPARAMS { pub ulStructSize : u32 , pub lTestFromSize : i32 , pub lTestToSize : i32 , pub ulCharSet : u32 , pub usReserved1 : u16 , pub usCharCodeCount : u16 , pub pusCharCodeSet : * mut u16 } impl TTVALIDATIONTESTSPARAMS { } impl :: std :: default :: Default for TTVALIDATIONTESTSPARAMS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TTVALIDATIONTESTSPARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TTVALIDATIONTESTSPARAMS" ) . field ( "ulStructSize" , & self . ulStructSize ) . field ( "lTestFromSize" , & self . lTestFromSize ) . field ( "lTestToSize" , & self . lTestToSize ) . field ( "ulCharSet" , & self . ulCharSet ) . field ( "usReserved1" , & self . usReserved1 ) . field ( "usCharCodeCount" , & self . usCharCodeCount ) . field ( "pusCharCodeSet" , & self . pusCharCodeSet ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TTVALIDATIONTESTSPARAMS { fn eq ( & self , other : & Self ) -> bool { self . ulStructSize == other . ulStructSize && self . lTestFromSize == other . lTestFromSize && self . lTestToSize == other . lTestToSize && self . ulCharSet == other . ulCharSet && self . usReserved1 == other . usReserved1 && self . usCharCodeCount == other . usCharCodeCount && self . pusCharCodeSet == other . pusCharCodeSet } } impl :: std :: cmp :: Eq for TTVALIDATIONTESTSPARAMS { } unsafe impl :: windows :: Abi for TTVALIDATIONTESTSPARAMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TTVALIDATIONTESTSPARAMSEX { pub ulStructSize : u32 , pub lTestFromSize : i32 , pub lTestToSize : i32 , pub ulCharSet : u32 , pub usReserved1 : u16 , pub usCharCodeCount : u16 , pub pulCharCodeSet : * mut u32 } impl TTVALIDATIONTESTSPARAMSEX { } impl :: std :: default :: Default for TTVALIDATIONTESTSPARAMSEX { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TTVALIDATIONTESTSPARAMSEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TTVALIDATIONTESTSPARAMSEX" ) . field ( "ulStructSize" , & self . ulStructSize ) . field ( "lTestFromSize" , & self . lTestFromSize ) . field ( "lTestToSize" , & self . lTestToSize ) . field ( "ulCharSet" , & self . ulCharSet ) . field ( "usReserved1" , & self . usReserved1 ) . field ( "usCharCodeCount" , & self . usCharCodeCount ) . field ( "pulCharCodeSet" , & self . pulCharCodeSet ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TTVALIDATIONTESTSPARAMSEX { fn eq ( & self , other : & Self ) -> bool { self . ulStructSize == other . ulStructSize && self . lTestFromSize == other . lTestFromSize && self . lTestToSize == other . lTestToSize && self . ulCharSet == other . ulCharSet && self . usReserved1 == other . usReserved1 && self . usCharCodeCount == other . usCharCodeCount && self . pulCharCodeSet == other . pulCharCodeSet } } impl :: std :: cmp :: Eq for TTVALIDATIONTESTSPARAMSEX { } unsafe impl :: windows :: Abi for TTVALIDATIONTESTSPARAMSEX { type Abi = Self ; type DefaultType = Self ; } pub const TT_AVAILABLE : u32 = 1u32 ; pub const TT_ENABLED : u32 = 2u32 ; pub const TT_POLYGON_TYPE : u32 = 24u32 ; pub const TT_PRIM_CSPLINE : u32 = 3u32 ; pub const TT_PRIM_LINE : u32 = 1u32 ; pub const TT_PRIM_QSPLINE : u32 = 2u32 ; pub const TURKISH_CHARSET : u32 = 162u32 ; pub unsafe fn TabbedTextOutA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , x : i32 , y : i32 , lpstring : Param3 , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 , ntaborigin : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn TabbedTextOutA ( hdc : HDC , x : i32 , y : i32 , lpstring : super::super::Foundation:: PSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 , ntaborigin : i32 ) -> i32 ; } :: std :: mem :: transmute ( TabbedTextOutA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( chcount ) , :: std :: mem :: transmute ( ntabpositions ) , :: std :: mem :: transmute ( lpntabstoppositions ) , :: std :: mem :: transmute ( ntaborigin ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TabbedTextOutW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , x : i32 , y : i32 , lpstring : Param3 , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 , ntaborigin : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn TabbedTextOutW ( hdc : HDC , x : i32 , y : i32 , lpstring : super::super::Foundation:: PWSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 , ntaborigin : i32 ) -> i32 ; } :: std :: mem :: transmute ( TabbedTextOutW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( chcount ) , :: std :: mem :: transmute ( ntabpositions ) , :: std :: mem :: transmute ( lpntabstoppositions ) , :: std :: mem :: transmute ( ntaborigin ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TextOutA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , x : i32 , y : i32 , lpstring : Param3 , c : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn TextOutA ( hdc : HDC , x : i32 , y : i32 , lpstring : super::super::Foundation:: PSTR , c : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( TextOutA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TextOutW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , x : i32 , y : i32 , lpstring : Param3 , c : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn TextOutW ( hdc : HDC , x : i32 , y : i32 , lpstring : super::super::Foundation:: PWSTR , c : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( TextOutW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TransparentBlt < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , HDC > , > ( hdcdest : Param0 , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : Param5 , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , crtransparent : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="msimg32" ) ] extern "system" { fn TransparentBlt ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , crtransparent : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( TransparentBlt ( hdcdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xorigindest ) , :: std :: mem :: transmute ( yorigindest ) , :: std :: mem :: transmute ( wdest ) , :: std :: mem :: transmute ( hdest ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xoriginsrc ) , :: std :: mem :: transmute ( yoriginsrc ) , :: std :: mem :: transmute ( wsrc ) , :: std :: mem :: transmute ( hsrc ) , :: std :: mem :: transmute ( crtransparent ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn UnionRect < > ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc1 : * const super::super::Foundation:: RECT , lprcsrc2 : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn UnionRect ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc1 : * const super::super::Foundation:: RECT , lprcsrc2 : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( UnionRect ( :: std :: mem :: transmute ( lprcdst ) , :: std :: mem :: transmute ( lprcsrc1 ) , :: std :: mem :: transmute ( lprcsrc2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn UnrealizeObject < 'a , Param0 : :: windows :: IntoParam < 'a , HGDIOBJ > , > ( h : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn UnrealizeObject ( h : HGDIOBJ ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( UnrealizeObject ( h . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateColors < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn UpdateColors ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( UpdateColors ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateWindow < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn UpdateWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( UpdateWindow ( hwnd . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const VARIABLE_PITCH : u32 = 2u32 ; pub const VERTRES : u32 = 10u32 ; pub const VERTSIZE : u32 = 6u32 ; pub const VIETNAMESE_CHARSET : u32 = 163u32 ; pub const VREFRESH : u32 = 116u32 ; pub unsafe fn ValidateRect < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , lprect : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ValidateRect ( hwnd : super::super::Foundation:: HWND , lprect : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ValidateRect ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ValidateRgn < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hwnd : Param0 , hrgn : Param1 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ValidateRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ValidateRgn ( hwnd . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WCRANGE { pub wcLow : u16 , pub cGlyphs : u16 } impl WCRANGE { } impl :: std :: default :: Default for WCRANGE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for WCRANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WCRANGE" ) . field ( "wcLow" , & self . wcLow ) . field ( "cGlyphs" , & self . cGlyphs ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WCRANGE { fn eq ( & self , other : & Self ) -> bool { self . wcLow == other . wcLow && self . cGlyphs == other . cGlyphs } } impl :: std :: cmp :: Eq for WCRANGE { } unsafe impl :: windows :: Abi for WCRANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WGLSWAP { pub hdc : HDC , pub uiFlags : u32 } impl WGLSWAP { } impl :: std :: default :: Default for WGLSWAP { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for WGLSWAP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WGLSWAP" ) . field ( "hdc" , & self . hdc ) . field ( "uiFlags" , & self . uiFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WGLSWAP { fn eq ( & self , other : & Self ) -> bool { self . hdc == other . hdc && self . uiFlags == other . uiFlags } } impl :: std :: cmp :: Eq for WGLSWAP { } unsafe impl :: windows :: Abi for WGLSWAP { type Abi = Self ; type DefaultType = Self ; } pub const WGL_FONT_LINES : u32 = 0u32 ; pub const WGL_FONT_POLYGONS : u32 = 1u32 ; pub const WGL_SWAPMULTIPLE_MAX : u32 = 16u32 ; pub const WGL_SWAP_MAIN_PLANE : u32 = 1u32 ; pub const WGL_SWAP_OVERLAY1 : u32 = 2u32 ; pub const WGL_SWAP_OVERLAY10 : u32 = 1024u32 ; pub const WGL_SWAP_OVERLAY11 : u32 = 2048u32 ; pub const WGL_SWAP_OVERLAY12 : u32 = 4096u32 ; pub const WGL_SWAP_OVERLAY13 : u32 = 8192u32 ; pub const WGL_SWAP_OVERLAY14 : u32 = 16384u32 ; pub const WGL_SWAP_OVERLAY15 : u32 = 32768u32 ; pub const WGL_SWAP_OVERLAY2 : u32 = 4u32 ; pub const WGL_SWAP_OVERLAY3 : u32 = 8u32 ; pub const WGL_SWAP_OVERLAY4 : u32 = 16u32 ; pub const WGL_SWAP_OVERLAY5 : u32 = 32u32 ; pub const WGL_SWAP_OVERLAY6 : u32 = 64u32 ; pub const WGL_SWAP_OVERLAY7 : u32 = 128u32 ; pub const WGL_SWAP_OVERLAY8 : u32 = 256u32 ; pub const WGL_SWAP_OVERLAY9 : u32 = 512u32 ; pub const WGL_SWAP_UNDERLAY1 : u32 = 65536u32 ; pub const WGL_SWAP_UNDERLAY10 : u32 = 33554432u32 ; pub const WGL_SWAP_UNDERLAY11 : u32 = 67108864u32 ; pub const WGL_SWAP_UNDERLAY12 : u32 = 134217728u32 ; pub const WGL_SWAP_UNDERLAY13 : u32 = 268435456u32 ; pub const WGL_SWAP_UNDERLAY14 : u32 = 536870912u32 ; pub const WGL_SWAP_UNDERLAY15 : u32 = 1073741824u32 ; pub const WGL_SWAP_UNDERLAY2 : u32 = 131072u32 ; pub const WGL_SWAP_UNDERLAY3 : u32 = 262144u32 ; pub const WGL_SWAP_UNDERLAY4 : u32 = 524288u32 ; pub const WGL_SWAP_UNDERLAY5 : u32 = 1048576u32 ; pub const WGL_SWAP_UNDERLAY6 : u32 = 2097152u32 ; pub const WGL_SWAP_UNDERLAY7 : u32 = 4194304u32 ; pub const WGL_SWAP_UNDERLAY8 : u32 = 8388608u32 ; pub const WGL_SWAP_UNDERLAY9 : u32 = 16777216u32 ; pub type WRITEEMBEDPROC = unsafe extern "system" fn ( param0 : * mut :: std :: ffi :: c_void , param1 : * const :: std :: ffi :: c_void , param2 : u32 ) -> u32 ; pub unsafe fn WidenPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn WidenPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( WidenPath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WindowFromDC < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: HWND { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn WindowFromDC ( hdc : HDC ) -> super::super::Foundation:: HWND ; } :: std :: mem :: transmute ( WindowFromDC ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct XFORM { pub eM11 : f32 , pub eM12 : f32 , pub eM21 : f32 , pub eM22 : f32 , pub eDx : f32 , pub eDy : f32 } impl XFORM { } impl :: std :: default :: Default for XFORM { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for XFORM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "XFORM" ) . field ( "eM11" , & self . eM11 ) . field ( "eM12" , & self . eM12 ) . field ( "eM21" , & self . eM21 ) . field ( "eM22" , & self . eM22 ) . field ( "eDx" , & self . eDx ) . field ( "eDy" , & self . eDy ) . finish ( ) } } impl :: std :: cmp :: PartialEq for XFORM { fn eq ( & self , other : & Self ) -> bool { self . eM11 == other . eM11 && self . eM12 == other . eM12 && self . eM21 == other . eM21 && self . eM22 == other . eM22 && self . eDx == other . eDx && self . eDy == other . eDy } } impl :: std :: cmp :: Eq for XFORM { } unsafe impl :: windows :: Abi for XFORM { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn wglSwapMultipleBuffers < > ( param0 : u32 , param1 : * const WGLSWAP , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="opengl32" ) ] extern "system" { fn wglSwapMultipleBuffers ( param0 : u32 , param1 : * const WGLSWAP ) -> u32 ; } :: std :: mem :: transmute ( wglSwapMultipleBuffers ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod OpenGL { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PIXELFORMATDESCRIPTOR { pub nSize : u16 , pub nVersion : u16 , pub dwFlags : u32 , pub iPixelType : u8 , pub cColorBits : u8 , pub cRedBits : u8 , pub cRedShift : u8 , pub cGreenBits : u8 , pub cGreenShift : u8 , pub cBlueBits : u8 , pub cBlueShift : u8 , pub cAlphaBits : u8 , pub cAlphaShift : u8 , pub cAccumBits : u8 , pub cAccumRedBits : u8 , pub cAccumGreenBits : u8 , pub cAccumBlueBits : u8 , pub cAccumAlphaBits : u8 , pub cDepthBits : u8 , pub cStencilBits : u8 , pub cAuxBuffers : u8 , pub iLayerType : u8 , pub bReserved : u8 , pub dwLayerMask : u32 , pub dwVisibleMask : u32 , pub dwDamageMask : u32 } impl PIXELFORMATDESCRIPTOR { } impl :: std :: default :: Default for PIXELFORMATDESCRIPTOR { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for PIXELFORMATDESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PIXELFORMATDESCRIPTOR" ) . field ( "nSize" , & self . nSize ) . field ( "nVersion" , & self . nVersion ) . field ( "dwFlags" , & self . dwFlags ) . field ( "iPixelType" , & self . iPixelType ) . field ( "cColorBits" , & self . cColorBits ) . field ( "cRedBits" , & self . cRedBits ) . field ( "cRedShift" , & self . cRedShift ) . field ( "cGreenBits" , & self . cGreenBits ) . field ( "cGreenShift" , & self . cGreenShift ) . field ( "cBlueBits" , & self . cBlueBits ) . field ( "cBlueShift" , & self . cBlueShift ) . field ( "cAlphaBits" , & self . cAlphaBits ) . field ( "cAlphaShift" , & self . cAlphaShift ) . field ( "cAccumBits" , & self . cAccumBits ) . field ( "cAccumRedBits" , & self . cAccumRedBits ) . field ( "cAccumGreenBits" , & self . cAccumGreenBits ) . field ( "cAccumBlueBits" , & self . cAccumBlueBits ) . field ( "cAccumAlphaBits" , & self . cAccumAlphaBits ) . field ( "cDepthBits" , & self . cDepthBits ) . field ( "cStencilBits" , & self . cStencilBits ) . field ( "cAuxBuffers" , & self . cAuxBuffers ) . field ( "iLayerType" , & self . iLayerType ) . field ( "bReserved" , & self . bReserved ) . field ( "dwLayerMask" , & self . dwLayerMask ) . field ( "dwVisibleMask" , & self . dwVisibleMask ) . field ( "dwDamageMask" , & self . dwDamageMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PIXELFORMATDESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . nSize == other . nSize && self . nVersion == other . nVersion && self . dwFlags == other . dwFlags && self . iPixelType == other . iPixelType && self . cColorBits == other . cColorBits && self . cRedBits == other . cRedBits && self . cRedShift == other . cRedShift && self . cGreenBits == other . cGreenBits && self . cGreenShift == other . cGreenShift && self . cBlueBits == other . cBlueBits && self . cBlueShift == other . cBlueShift && self . cAlphaBits == other . cAlphaBits && self . cAlphaShift == other . cAlphaShift && self . cAccumBits == other . cAccumBits && self . cAccumRedBits == other . cAccumRedBits && self . cAccumGreenBits == other . cAccumGreenBits && self . cAccumBlueBits == other . cAccumBlueBits && self . cAccumAlphaBits == other . cAccumAlphaBits && self . cDepthBits == other . cDepthBits && self . cStencilBits == other . cStencilBits && self . cAuxBuffers == other . cAuxBuffers && self . iLayerType == other . iLayerType && self . bReserved == other . bReserved && self . dwLayerMask == other . dwLayerMask && self . dwVisibleMask == other . dwVisibleMask && self . dwDamageMask == other . dwDamageMask } } impl :: std :: cmp :: Eq for PIXELFORMATDESCRIPTOR { } unsafe impl :: windows :: Abi for PIXELFORMATDESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Storage { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod FileSystem { pub unsafe fn GetLogicalDrives < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="kernel32" ) ] extern "system" { fn GetLogicalDrives ( ) -> u32 ; } :: std :: mem :: transmute ( GetLogicalDrives ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod System { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod DataExchange { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct METAFILEPICT { pub mm : i32 , pub xExt : i32 , pub yExt : i32 , pub hMF : super::super::Graphics::Gdi:: HMETAFILE } impl METAFILEPICT { } impl :: std :: default :: Default for METAFILEPICT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for METAFILEPICT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "METAFILEPICT" ) . field ( "mm" , & self . mm ) . field ( "xExt" , & self . xExt ) . field ( "yExt" , & self . yExt ) . field ( "hMF" , & self . hMF ) . finish ( ) } } impl :: std :: cmp :: PartialEq for METAFILEPICT { fn eq ( & self , other : & Self ) -> bool { self . mm == other . mm && self . xExt == other . xExt && self . yExt == other . yExt && self . hMF == other . hMF } } impl :: std :: cmp :: Eq for METAFILEPICT { } unsafe impl :: windows :: Abi for METAFILEPICT { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod SystemServices { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct CHAR ( pub u8 ) ; impl :: std :: default :: Default for CHAR { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for CHAR { } unsafe impl :: windows :: Abi for CHAR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LUID { pub LowPart : u32 , pub HighPart : i32 } impl LUID { } impl :: std :: default :: Default for LUID { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LUID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LUID" ) . field ( "LowPart" , & self . LowPart ) . field ( "HighPart" , & self . HighPart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LUID { fn eq ( & self , other : & Self ) -> bool { self . LowPart == other . LowPart && self . HighPart == other . HighPart } } impl :: std :: cmp :: Eq for LUID { } unsafe impl :: windows :: Abi for LUID { type Abi = Self ; type DefaultType = Self ; } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod UI { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod ColorSystem { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CIEXYZ { pub ciexyzX : i32 , pub ciexyzY : i32 , pub ciexyzZ : i32 } impl CIEXYZ { } impl :: std :: default :: Default for CIEXYZ { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for CIEXYZ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CIEXYZ" ) . field ( "ciexyzX" , & self . ciexyzX ) . field ( "ciexyzY" , & self . ciexyzY ) . field ( "ciexyzZ" , & self . ciexyzZ ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CIEXYZ { fn eq ( & self , other : & Self ) -> bool { self . ciexyzX == other . ciexyzX && self . ciexyzY == other . ciexyzY && self . ciexyzZ == other . ciexyzZ } } impl :: std :: cmp :: Eq for CIEXYZ { } unsafe impl :: windows :: Abi for CIEXYZ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CIEXYZTRIPLE { pub ciexyzRed : CIEXYZ , pub ciexyzGreen : CIEXYZ , pub ciexyzBlue : CIEXYZ } impl CIEXYZTRIPLE { } impl :: std :: default :: Default for CIEXYZTRIPLE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for CIEXYZTRIPLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CIEXYZTRIPLE" ) . field ( "ciexyzRed" , & self . ciexyzRed ) . field ( "ciexyzGreen" , & self . ciexyzGreen ) . field ( "ciexyzBlue" , & self . ciexyzBlue ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CIEXYZTRIPLE { fn eq ( & self , other : & Self ) -> bool { self . ciexyzRed == other . ciexyzRed && self . ciexyzGreen == other . ciexyzGreen && self . ciexyzBlue == other . ciexyzBlue } } impl :: std :: cmp :: Eq for CIEXYZTRIPLE { } unsafe impl :: windows :: Abi for CIEXYZTRIPLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGCOLORSPACEA { pub lcsSignature : u32 , pub lcsVersion : u32 , pub lcsSize : u32 , pub lcsCSType : i32 , pub lcsIntent : i32 , pub lcsEndpoints : CIEXYZTRIPLE , pub lcsGammaRed : u32 , pub lcsGammaGreen : u32 , pub lcsGammaBlue : u32 , pub lcsFilename : [ super::super::System::SystemServices:: CHAR ;260 ] } impl LOGCOLORSPACEA { } impl :: std :: default :: Default for LOGCOLORSPACEA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGCOLORSPACEA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGCOLORSPACEA" ) . field ( "lcsSignature" , & self . lcsSignature ) . field ( "lcsVersion" , & self . lcsVersion ) . field ( "lcsSize" , & self . lcsSize ) . field ( "lcsCSType" , & self . lcsCSType ) . field ( "lcsIntent" , & self . lcsIntent ) . field ( "lcsEndpoints" , & self . lcsEndpoints ) . field ( "lcsGammaRed" , & self . lcsGammaRed ) . field ( "lcsGammaGreen" , & self . lcsGammaGreen ) . field ( "lcsGammaBlue" , & self . lcsGammaBlue ) . field ( "lcsFilename" , & self . lcsFilename ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGCOLORSPACEA { fn eq ( & self , other : & Self ) -> bool { self . lcsSignature == other . lcsSignature && self . lcsVersion == other . lcsVersion && self . lcsSize == other . lcsSize && self . lcsCSType == other . lcsCSType && self . lcsIntent == other . lcsIntent && self . lcsEndpoints == other . lcsEndpoints && self . lcsGammaRed == other . lcsGammaRed && self . lcsGammaGreen == other . lcsGammaGreen && self . lcsGammaBlue == other . lcsGammaBlue && self . lcsFilename == other . lcsFilename } } impl :: std :: cmp :: Eq for LOGCOLORSPACEA { } unsafe impl :: windows :: Abi for LOGCOLORSPACEA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGCOLORSPACEW { pub lcsSignature : u32 , pub lcsVersion : u32 , pub lcsSize : u32 , pub lcsCSType : i32 , pub lcsIntent : i32 , pub lcsEndpoints : CIEXYZTRIPLE , pub lcsGammaRed : u32 , pub lcsGammaGreen : u32 , pub lcsGammaBlue : u32 , pub lcsFilename : [ u16 ;260 ] } impl LOGCOLORSPACEW { } impl :: std :: default :: Default for LOGCOLORSPACEW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGCOLORSPACEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGCOLORSPACEW" ) . field ( "lcsSignature" , & self . lcsSignature ) . field ( "lcsVersion" , & self . lcsVersion ) . field ( "lcsSize" , & self . lcsSize ) . field ( "lcsCSType" , & self . lcsCSType ) . field ( "lcsIntent" , & self . lcsIntent ) . field ( "lcsEndpoints" , & self . lcsEndpoints ) . field ( "lcsGammaRed" , & self . lcsGammaRed ) . field ( "lcsGammaGreen" , & self . lcsGammaGreen ) . field ( "lcsGammaBlue" , & self . lcsGammaBlue ) . field ( "lcsFilename" , & self . lcsFilename ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGCOLORSPACEW { fn eq ( & self , other : & Self ) -> bool { self . lcsSignature == other . lcsSignature && self . lcsVersion == other . lcsVersion && self . lcsSize == other . lcsSize && self . lcsCSType == other . lcsCSType && self . lcsIntent == other . lcsIntent && self . lcsEndpoints == other . lcsEndpoints && self . lcsGammaRed == other . lcsGammaRed && self . lcsGammaGreen == other . lcsGammaGreen && self . lcsGammaBlue == other . lcsGammaBlue && self . lcsFilename == other . lcsFilename } } impl :: std :: cmp :: Eq for LOGCOLORSPACEW { } unsafe impl :: windows :: Abi for LOGCOLORSPACEW { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Controls { # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TEXT_ALIGN_OPTIONS ( pub u32 ) ; pub const TA_NOUPDATECP : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 0u32 ) ; pub const TA_UPDATECP : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 1u32 ) ; pub const TA_LEFT : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 0u32 ) ; pub const TA_RIGHT : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 2u32 ) ; pub const TA_CENTER : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 6u32 ) ; pub const TA_TOP : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 0u32 ) ; pub const TA_BOTTOM : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 8u32 ) ; pub const TA_BASELINE : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 24u32 ) ; pub const TA_RTLREADING : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 256u32 ) ; pub const TA_MASK : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 287u32 ) ; pub const VTA_BASELINE : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 24u32 ) ; pub const VTA_LEFT : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 8u32 ) ; pub const VTA_RIGHT : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 0u32 ) ; pub const VTA_CENTER : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 6u32 ) ; pub const VTA_BOTTOM : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 2u32 ) ; pub const VTA_TOP : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 0u32 ) ; impl :: std :: convert :: From < u32 > for TEXT_ALIGN_OPTIONS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TEXT_ALIGN_OPTIONS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for TEXT_ALIGN_OPTIONS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TEXT_ALIGN_OPTIONS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TEXT_ALIGN_OPTIONS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TEXT_ALIGN_OPTIONS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for TEXT_ALIGN_OPTIONS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod DisplayDevices { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEA { pub dmDeviceName : [ u8 ;32 ] , pub dmSpecVersion : u16 , pub dmDriverVersion : u16 , pub dmSize : u16 , pub dmDriverExtra : u16 , pub dmFields : u32 , pub Anonymous1 : DEVMODEA_0 , pub dmColor : i16 , pub dmDuplex : i16 , pub dmYResolution : i16 , pub dmTTOption : i16 , pub dmCollate : i16 , pub dmFormName : [ u8 ;32 ] , pub dmLogPixels : u16 , pub dmBitsPerPel : u32 , pub dmPelsWidth : u32 , pub dmPelsHeight : u32 , pub Anonymous2 : DEVMODEA_1 , pub dmDisplayFrequency : u32 , pub dmICMMethod : u32 , pub dmICMIntent : u32 , pub dmMediaType : u32 , pub dmDitherType : u32 , pub dmReserved1 : u32 , pub dmReserved2 : u32 , pub dmPanningWidth : u32 , pub dmPanningHeight : u32 } impl DEVMODEA { } impl :: std :: default :: Default for DEVMODEA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DEVMODEA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEA { } unsafe impl :: windows :: Abi for DEVMODEA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVMODEA_0 { pub Anonymous1 : DEVMODEA_0_0 , pub Anonymous2 : DEVMODEA_0_1 } impl DEVMODEA_0 { } impl :: std :: default :: Default for DEVMODEA_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DEVMODEA_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEA_0 { } unsafe impl :: windows :: Abi for DEVMODEA_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEA_0_0 { pub dmOrientation : i16 , pub dmPaperSize : i16 , pub dmPaperLength : i16 , pub dmPaperWidth : i16 , pub dmScale : i16 , pub dmCopies : i16 , pub dmDefaultSource : i16 , pub dmPrintQuality : i16 } impl DEVMODEA_0_0 { } impl :: std :: default :: Default for DEVMODEA_0_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DEVMODEA_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous1_e__Struct" ) . field ( "dmOrientation" , & self . dmOrientation ) . field ( "dmPaperSize" , & self . dmPaperSize ) . field ( "dmPaperLength" , & self . dmPaperLength ) . field ( "dmPaperWidth" , & self . dmPaperWidth ) . field ( "dmScale" , & self . dmScale ) . field ( "dmCopies" , & self . dmCopies ) . field ( "dmDefaultSource" , & self . dmDefaultSource ) . field ( "dmPrintQuality" , & self . dmPrintQuality ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVMODEA_0_0 { fn eq ( & self , other : & Self ) -> bool { self . dmOrientation == other . dmOrientation && self . dmPaperSize == other . dmPaperSize && self . dmPaperLength == other . dmPaperLength && self . dmPaperWidth == other . dmPaperWidth && self . dmScale == other . dmScale && self . dmCopies == other . dmCopies && self . dmDefaultSource == other . dmDefaultSource && self . dmPrintQuality == other . dmPrintQuality } } impl :: std :: cmp :: Eq for DEVMODEA_0_0 { } unsafe impl :: windows :: Abi for DEVMODEA_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEA_0_1 { pub dmPosition : super::super::Foundation:: POINTL , pub dmDisplayOrientation : u32 , pub dmDisplayFixedOutput : u32 } impl DEVMODEA_0_1 { } impl :: std :: default :: Default for DEVMODEA_0_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DEVMODEA_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous2_e__Struct" ) . field ( "dmPosition" , & self . dmPosition ) . field ( "dmDisplayOrientation" , & self . dmDisplayOrientation ) . field ( "dmDisplayFixedOutput" , & self . dmDisplayFixedOutput ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVMODEA_0_1 { fn eq ( & self , other : & Self ) -> bool { self . dmPosition == other . dmPosition && self . dmDisplayOrientation == other . dmDisplayOrientation && self . dmDisplayFixedOutput == other . dmDisplayFixedOutput } } impl :: std :: cmp :: Eq for DEVMODEA_0_1 { } unsafe impl :: windows :: Abi for DEVMODEA_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVMODEA_1 { pub dmDisplayFlags : u32 , pub dmNup : u32 } impl DEVMODEA_1 { } impl :: std :: default :: Default for DEVMODEA_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DEVMODEA_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEA_1 { } unsafe impl :: windows :: Abi for DEVMODEA_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEW { pub dmDeviceName : [ u16 ;32 ] , pub dmSpecVersion : u16 , pub dmDriverVersion : u16 , pub dmSize : u16 , pub dmDriverExtra : u16 , pub dmFields : u32 , pub Anonymous1 : DEVMODEW_0 , pub dmColor : i16 , pub dmDuplex : i16 , pub dmYResolution : i16 , pub dmTTOption : i16 , pub dmCollate : i16 , pub dmFormName : [ u16 ;32 ] , pub dmLogPixels : u16 , pub dmBitsPerPel : u32 , pub dmPelsWidth : u32 , pub dmPelsHeight : u32 , pub Anonymous2 : DEVMODEW_1 , pub dmDisplayFrequency : u32 , pub dmICMMethod : u32 , pub dmICMIntent : u32 , pub dmMediaType : u32 , pub dmDitherType : u32 , pub dmReserved1 : u32 , pub dmReserved2 : u32 , pub dmPanningWidth : u32 , pub dmPanningHeight : u32 } impl DEVMODEW { } impl :: std :: default :: Default for DEVMODEW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DEVMODEW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEW { } unsafe impl :: windows :: Abi for DEVMODEW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVMODEW_0 { pub Anonymous1 : DEVMODEW_0_0 , pub Anonymous2 : DEVMODEW_0_1 } impl DEVMODEW_0 { } impl :: std :: default :: Default for DEVMODEW_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DEVMODEW_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEW_0 { } unsafe impl :: windows :: Abi for DEVMODEW_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEW_0_0 { pub dmOrientation : i16 , pub dmPaperSize : i16 , pub dmPaperLength : i16 , pub dmPaperWidth : i16 , pub dmScale : i16 , pub dmCopies : i16 , pub dmDefaultSource : i16 , pub dmPrintQuality : i16 } impl DEVMODEW_0_0 { } impl :: std :: default :: Default for DEVMODEW_0_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DEVMODEW_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous1_e__Struct" ) . field ( "dmOrientation" , & self . dmOrientation ) . field ( "dmPaperSize" , & self . dmPaperSize ) . field ( "dmPaperLength" , & self . dmPaperLength ) . field ( "dmPaperWidth" , & self . dmPaperWidth ) . field ( "dmScale" , & self . dmScale ) . field ( "dmCopies" , & self . dmCopies ) . field ( "dmDefaultSource" , & self . dmDefaultSource ) . field ( "dmPrintQuality" , & self . dmPrintQuality ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVMODEW_0_0 { fn eq ( & self , other : & Self ) -> bool { self . dmOrientation == other . dmOrientation && self . dmPaperSize == other . dmPaperSize && self . dmPaperLength == other . dmPaperLength && self . dmPaperWidth == other . dmPaperWidth && self . dmScale == other . dmScale && self . dmCopies == other . dmCopies && self . dmDefaultSource == other . dmDefaultSource && self . dmPrintQuality == other . dmPrintQuality } } impl :: std :: cmp :: Eq for DEVMODEW_0_0 { } unsafe impl :: windows :: Abi for DEVMODEW_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEW_0_1 { pub dmPosition : super::super::Foundation:: POINTL , pub dmDisplayOrientation : u32 , pub dmDisplayFixedOutput : u32 } impl DEVMODEW_0_1 { } impl :: std :: default :: Default for DEVMODEW_0_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DEVMODEW_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous2_e__Struct" ) . field ( "dmPosition" , & self . dmPosition ) . field ( "dmDisplayOrientation" , & self . dmDisplayOrientation ) . field ( "dmDisplayFixedOutput" , & self . dmDisplayFixedOutput ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVMODEW_0_1 { fn eq ( & self , other : & Self ) -> bool { self . dmPosition == other . dmPosition && self . dmDisplayOrientation == other . dmDisplayOrientation && self . dmDisplayFixedOutput == other . dmDisplayFixedOutput } } impl :: std :: cmp :: Eq for DEVMODEW_0_1 { } unsafe impl :: windows :: Abi for DEVMODEW_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVMODEW_1 { pub dmDisplayFlags : u32 , pub dmNup : u32 } impl DEVMODEW_1 { } impl :: std :: default :: Default for DEVMODEW_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DEVMODEW_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEW_1 { } unsafe impl :: windows :: Abi for DEVMODEW_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAYCONFIG_DEVICE_INFO_HEADER { pub r#type : DISPLAYCONFIG_DEVICE_INFO_TYPE , pub size : u32 , pub adapterId : super::super::System::SystemServices:: LUID , pub id : u32 } impl DISPLAYCONFIG_DEVICE_INFO_HEADER { } impl :: std :: default :: Default for DISPLAYCONFIG_DEVICE_INFO_HEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DISPLAYCONFIG_DEVICE_INFO_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISPLAYCONFIG_DEVICE_INFO_HEADER" ) . field ( "r#type" , & self . r#type ) . field ( "size" , & self . size ) . field ( "adapterId" , & self . adapterId ) . field ( "id" , & self . id ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_DEVICE_INFO_HEADER { fn eq ( & self , other : & Self ) -> bool { self . r#type == other . r#type && self . size == other . size && self . adapterId == other . adapterId && self . id == other . id } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_DEVICE_INFO_HEADER { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_DEVICE_INFO_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DISPLAYCONFIG_DEVICE_INFO_TYPE ( pub i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_SOURCE_NAME : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 1i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 2i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_PREFERRED_MODE : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 3i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_ADAPTER_NAME : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 4i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_SET_TARGET_PERSISTENCE : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 5i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_BASE_TYPE : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 6i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_SUPPORT_VIRTUAL_RESOLUTION : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 7i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_SET_SUPPORT_VIRTUAL_RESOLUTION : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 8i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_ADVANCED_COLOR_INFO : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 9i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_SET_ADVANCED_COLOR_STATE : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 10i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_SDR_WHITE_LEVEL : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 11i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_FORCE_UINT32 : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( -1i32 ) ; impl :: std :: convert :: From < i32 > for DISPLAYCONFIG_DEVICE_INFO_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DISPLAYCONFIG_DEVICE_INFO_TYPE { type Abi = Self ; type DefaultType = Self ; } } } } }
[INFO] [stdout]   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/bindings-fc13a12ed27d7dee/out/windows.rs:1:245834
[INFO] [stdout]   |
[INFO] [stdout] 1 | ...aram { if ! value . is_null ( ) { unsafe { :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: Into...
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]   |
[INFO] [stdout] 1 | # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Windows { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Win32 { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Foundation { pub const APPMODEL_ERROR_DYNAMIC_PROPERTY_INVALID : i32 = 15705i32 ; pub const APPMODEL_ERROR_DYNAMIC_PROPERTY_READ_FAILED : i32 = 15704i32 ; pub const APPMODEL_ERROR_NO_APPLICATION : i32 = 15703i32 ; pub const APPMODEL_ERROR_NO_MUTABLE_DIRECTORY : i32 = 15707i32 ; pub const APPMODEL_ERROR_NO_PACKAGE : i32 = 15700i32 ; pub const APPMODEL_ERROR_PACKAGE_IDENTITY_CORRUPT : i32 = 15702i32 ; pub const APPMODEL_ERROR_PACKAGE_NOT_AVAILABLE : i32 = 15706i32 ; pub const APPMODEL_ERROR_PACKAGE_RUNTIME_CORRUPT : i32 = 15701i32 ; pub const APPX_E_BLOCK_HASH_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958841i32 as _ ) ; pub const APPX_E_CORRUPT_CONTENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958842i32 as _ ) ; pub const APPX_E_DELTA_APPENDED_PACKAGE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958832i32 as _ ) ; pub const APPX_E_DELTA_BASELINE_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958835i32 as _ ) ; pub const APPX_E_DELTA_PACKAGE_MISSING_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958834i32 as _ ) ; pub const APPX_E_FILE_COMPRESSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958828i32 as _ ) ; pub const APPX_E_INTERLEAVING_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958847i32 as _ ) ; pub const APPX_E_INVALID_APPINSTALLER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958836i32 as _ ) ; pub const APPX_E_INVALID_BLOCKMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958843i32 as _ ) ; pub const APPX_E_INVALID_CONTENTGROUPMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958837i32 as _ ) ; pub const APPX_E_INVALID_DELTA_PACKAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958833i32 as _ ) ; pub const APPX_E_INVALID_ENCRYPTION_EXCLUSION_FILE_LIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958826i32 as _ ) ; pub const APPX_E_INVALID_KEY_INFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958838i32 as _ ) ; pub const APPX_E_INVALID_MANIFEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958844i32 as _ ) ; pub const APPX_E_INVALID_PACKAGESIGNCONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958830i32 as _ ) ; pub const APPX_E_INVALID_PACKAGING_LAYOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958831i32 as _ ) ; pub const APPX_E_INVALID_PAYLOAD_PACKAGE_EXTENSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958827i32 as _ ) ; pub const APPX_E_INVALID_SIP_CLIENT_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958839i32 as _ ) ; pub const APPX_E_MISSING_REQUIRED_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958845i32 as _ ) ; pub const APPX_E_PACKAGING_INTERNAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958848i32 as _ ) ; pub const APPX_E_RELATIONSHIPS_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958846i32 as _ ) ; pub const APPX_E_REQUESTED_RANGE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958840i32 as _ ) ; pub const APPX_E_RESOURCESPRI_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958829i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct APP_LOCAL_DEVICE_ID { pub value : [ u8 ;32 ] } impl APP_LOCAL_DEVICE_ID { } impl :: std :: default :: Default for APP_LOCAL_DEVICE_ID { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for APP_LOCAL_DEVICE_ID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "APP_LOCAL_DEVICE_ID" ) . field ( "value" , & self . value ) . finish ( ) } } impl :: std :: cmp :: PartialEq for APP_LOCAL_DEVICE_ID { fn eq ( & self , other : & Self ) -> bool { self . value == other . value } } impl :: std :: cmp :: Eq for APP_LOCAL_DEVICE_ID { } unsafe impl :: windows :: Abi for APP_LOCAL_DEVICE_ID { type Abi = Self ; type DefaultType = Self ; } pub const APP_LOCAL_DEVICE_ID_SIZE : u32 = 32u32 ; # [ repr ( transparent ) ] # [ derive ( :: std :: default :: Default , :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct BOOL ( pub i32 ) ; unsafe impl :: windows :: Abi for BOOL { type Abi = Self ; type DefaultType = Self ; } impl BOOL { # [ inline ] pub fn as_bool ( self ) -> bool { ! ( self . 0 == 0 ) } # [ inline ] pub fn ok ( self ) -> :: windows :: Result < ( ) > { if self . as_bool ( ) { Ok ( ( ) ) } else { Err ( :: windows :: Error :: from_win32 ( ) ) } } # [ inline ] # [ track_caller ] pub fn unwrap ( self ) { self . ok ( ) . unwrap ( ) ; } # [ inline ] # [ track_caller ] pub fn expect ( self , msg : & str ) { self . ok ( ) . expect ( msg ) ; } } impl :: std :: convert :: From < BOOL > for bool { fn from ( value : BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < & BOOL > for bool { fn from ( value : & BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < bool > for BOOL { fn from ( value : bool ) -> Self { if value { BOOL ( 1 ) } else { BOOL ( 0 ) } } } impl :: std :: convert :: From < & bool > for BOOL { fn from ( value : & bool ) -> Self { ( * value ) . into ( ) } } impl :: std :: cmp :: PartialEq < bool > for BOOL { fn eq ( & self , other : & bool ) -> bool { self . as_bool ( ) == * other } } impl :: std :: cmp :: PartialEq < BOOL > for bool { fn eq ( & self , other : & BOOL ) -> bool { * self == other . as_bool ( ) } } impl std :: ops :: Not for BOOL { type Output = Self ; fn not ( self ) -> Self :: Output { if self . as_bool ( ) { BOOL ( 0 ) } else { BOOL ( 1 ) } } } impl < 'a > :: windows :: IntoParam < 'a , BOOL > for bool { fn into_param ( self ) -> :: windows :: Param < 'a , BOOL > { :: windows :: Param :: Owned ( self . into ( ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct BOOLEAN ( pub u8 ) ; impl :: std :: default :: Default for BOOLEAN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for BOOLEAN { } unsafe impl :: windows :: Abi for BOOLEAN { type Abi = Self ; type DefaultType = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: Eq ) ] pub struct BSTR ( pub * mut u16 ) ; impl BSTR { # [ doc = r" Create an empty `BSTR`." ] # [ doc = r"" ] # [ doc = r" This function does not allocate memory." ] pub fn new ( ) -> Self { Self ( std :: ptr :: null_mut ( ) ) } # [ doc = r" Returns `true` if the string is empty." ] pub fn is_empty ( & self ) -> bool { self . 0 . is_null ( ) } # [ doc = r" Returns the length of the string." ] pub fn len ( & self ) -> usize { if self . is_empty ( ) { return 0 ; } unsafe { SysStringLen ( self ) as usize } } # [ doc = r" Create a `BSTR` from a slice of 16-bit characters." ] pub fn from_wide ( value : & [ u16 ] ) -> Self { if value . len ( ) == 0 { return Self ( :: std :: ptr :: null_mut ( ) ) ; } unsafe { SysAllocStringLen ( PWSTR ( value . as_ptr ( ) as _ ) , value . len ( ) as u32 , ) } } # [ doc = r" Get the string as 16-bit characters." ] pub fn as_wide ( & self ) -> & [ u16 ] { if self . 0 . is_null ( ) { return & [ ] ; } unsafe { :: std :: slice :: from_raw_parts ( self . 0 as * const u16 , self . len ( ) ) } } } impl :: std :: clone :: Clone for BSTR { fn clone ( & self ) -> Self { Self :: from_wide ( self . as_wide ( ) ) } } impl :: std :: convert :: From < & str > for BSTR { fn from ( value : & str ) -> Self { let value : :: std :: vec :: Vec < u16 > = value . encode_utf16 ( ) . collect ( ) ; Self :: from_wide ( & value ) } } impl :: std :: convert :: From < :: std :: string :: String > for BSTR { fn from ( value : :: std :: string :: String ) -> Self { value . as_str ( ) . into ( ) } } impl :: std :: convert :: From < & :: std :: string :: String > for BSTR { fn from ( value : & :: std :: string :: String ) -> Self { value . as_str ( ) . into ( ) } } impl < 'a > :: std :: convert :: TryFrom < & 'a BSTR > for :: std :: string :: String { type Error = :: std :: string :: FromUtf16Error ; fn try_from ( value : & BSTR ) -> :: std :: result :: Result < Self , Self :: Error > { :: std :: string :: String :: from_utf16 ( value . as_wide ( ) ) } } impl :: std :: convert :: TryFrom < BSTR > for :: std :: string :: String { type Error = :: std :: string :: FromUtf16Error ; fn try_from ( value : BSTR ) -> :: std :: result :: Result < Self , Self :: Error > { :: std :: string :: String :: try_from ( & value ) } } impl :: std :: default :: Default for BSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } impl :: std :: fmt :: Display for BSTR { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { use :: std :: fmt :: Write ; for c in :: std :: char :: decode_utf16 ( self . as_wide ( ) . iter ( ) . cloned ( ) ) { f . write_char ( c . map_err ( | _ | :: std :: fmt :: Error ) ? ) ? } Ok ( ( ) ) } } impl :: std :: fmt :: Debug for BSTR { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { :: std :: write ! ( f , "{}" , self ) } } impl :: std :: cmp :: PartialEq for BSTR { fn eq ( & self , other : & Self ) -> bool { self . as_wide ( ) == other . as_wide ( ) } } impl :: std :: cmp :: PartialEq < :: std :: string :: String > for BSTR { fn eq ( & self , other : & :: std :: string :: String ) -> bool { self == other . as_str ( ) } } impl :: std :: cmp :: PartialEq < str > for BSTR { fn eq ( & self , other : & str ) -> bool { self == other } } impl :: std :: cmp :: PartialEq < & str > for BSTR { fn eq ( & self , other : && str ) -> bool { self . as_wide ( ) . iter ( ) . copied ( ) . eq ( other . encode_utf16 ( ) ) } } impl :: std :: cmp :: PartialEq < BSTR > for & str { fn eq ( & self , other : & BSTR ) -> bool { other == self } } impl :: std :: ops :: Drop for BSTR { fn drop ( & mut self ) { if ! self . 0 . is_null ( ) { unsafe { SysFreeString ( self as & Self ) } } } } unsafe impl :: windows :: Abi for BSTR { type Abi = :: std :: mem :: ManuallyDrop < Self > ; type DefaultType = Self ; } pub type BSTR_abi = * mut u16 ; pub const BT_E_SPURIOUS_ACTIVATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958592i32 as _ ) ; pub const CACHE_E_FIRST : i32 = -2147221136i32 ; pub const CACHE_E_LAST : i32 = -2147221121i32 ; pub const CACHE_E_NOCACHE_UPDATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221136i32 as _ ) ; pub const CACHE_S_FIRST : i32 = 262512i32 ; pub const CACHE_S_FORMATETC_NOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( 262512i32 as _ ) ; pub const CACHE_S_LAST : i32 = 262527i32 ; pub const CACHE_S_SAMECACHE : :: windows :: HRESULT = :: windows :: HRESULT ( 262513i32 as _ ) ; pub const CACHE_S_SOMECACHES_NOTUPDATED : :: windows :: HRESULT = :: windows :: HRESULT ( 262514i32 as _ ) ; pub const CAT_E_CATIDNOEXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221152i32 as _ ) ; pub const CAT_E_FIRST : i32 = -2147221152i32 ; pub const CAT_E_LAST : i32 = -2147221151i32 ; pub const CAT_E_NODESCRIPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221151i32 as _ ) ; pub const CERTSRV_E_ADMIN_DENIED_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877420i32 as _ ) ; pub const CERTSRV_E_ALIGNMENT_FAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877424i32 as _ ) ; pub const CERTSRV_E_ARCHIVED_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875388i32 as _ ) ; pub const CERTSRV_E_ARCHIVED_KEY_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875376i32 as _ ) ; pub const CERTSRV_E_BAD_RENEWAL_CERT_ATTRIBUTE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877426i32 as _ ) ; pub const CERTSRV_E_BAD_RENEWAL_SUBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875386i32 as _ ) ; pub const CERTSRV_E_BAD_REQUESTSTATUS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877437i32 as _ ) ; pub const CERTSRV_E_BAD_REQUESTSUBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877439i32 as _ ) ; pub const CERTSRV_E_BAD_REQUEST_KEY_ARCHIVAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877428i32 as _ ) ; pub const CERTSRV_E_BAD_TEMPLATE_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875385i32 as _ ) ; pub const CERTSRV_E_CERT_TYPE_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875372i32 as _ ) ; pub const CERTSRV_E_CORRUPT_KEY_ATTESTATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875365i32 as _ ) ; pub const CERTSRV_E_DOWNLEVEL_DC_SSL_OR_UPGRADE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877421i32 as _ ) ; pub const CERTSRV_E_ENCODING_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877433i32 as _ ) ; pub const CERTSRV_E_ENCRYPTION_CERT_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877416i32 as _ ) ; pub const CERTSRV_E_ENROLL_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877423i32 as _ ) ; pub const CERTSRV_E_EXPIRED_CHALLENGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875364i32 as _ ) ; pub const CERTSRV_E_INVALID_ATTESTATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875367i32 as _ ) ; pub const CERTSRV_E_INVALID_CA_CERTIFICATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877435i32 as _ ) ; pub const CERTSRV_E_INVALID_EK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875369i32 as _ ) ; pub const CERTSRV_E_INVALID_IDBINDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875368i32 as _ ) ; pub const CERTSRV_E_INVALID_REQUESTID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875362i32 as _ ) ; pub const CERTSRV_E_INVALID_RESPONSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875363i32 as _ ) ; pub const CERTSRV_E_ISSUANCE_POLICY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875380i32 as _ ) ; pub const CERTSRV_E_KEY_ARCHIVAL_NOT_CONFIGURED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877430i32 as _ ) ; pub const CERTSRV_E_KEY_ATTESTATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875366i32 as _ ) ; pub const CERTSRV_E_KEY_ATTESTATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877417i32 as _ ) ; pub const CERTSRV_E_KEY_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875375i32 as _ ) ; pub const CERTSRV_E_NO_CAADMIN_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877427i32 as _ ) ; pub const CERTSRV_E_NO_CERT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875391i32 as _ ) ; pub const CERTSRV_E_NO_DB_SESSIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877425i32 as _ ) ; pub const CERTSRV_E_NO_POLICY_SERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877419i32 as _ ) ; pub const CERTSRV_E_NO_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877438i32 as _ ) ; pub const CERTSRV_E_NO_VALID_KRA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877429i32 as _ ) ; pub const CERTSRV_E_PENDING_CLIENT_RESPONSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875360i32 as _ ) ; pub const CERTSRV_E_PROPERTY_EMPTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877436i32 as _ ) ; pub const CERTSRV_E_RENEWAL_BAD_PUBLIC_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875370i32 as _ ) ; pub const CERTSRV_E_REQUEST_PRECERTIFICATE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875361i32 as _ ) ; pub const CERTSRV_E_RESTRICTEDOFFICER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877431i32 as _ ) ; pub const CERTSRV_E_ROLECONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877432i32 as _ ) ; pub const CERTSRV_E_SERVER_SUSPENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877434i32 as _ ) ; pub const CERTSRV_E_SIGNATURE_COUNT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875382i32 as _ ) ; pub const CERTSRV_E_SIGNATURE_POLICY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875383i32 as _ ) ; pub const CERTSRV_E_SIGNATURE_REJECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875381i32 as _ ) ; pub const CERTSRV_E_SMIME_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875387i32 as _ ) ; pub const CERTSRV_E_SUBJECT_ALT_NAME_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875389i32 as _ ) ; pub const CERTSRV_E_SUBJECT_DIRECTORY_GUID_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875378i32 as _ ) ; pub const CERTSRV_E_SUBJECT_DNS_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875377i32 as _ ) ; pub const CERTSRV_E_SUBJECT_EMAIL_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875374i32 as _ ) ; pub const CERTSRV_E_SUBJECT_UPN_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875379i32 as _ ) ; pub const CERTSRV_E_TEMPLATE_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875390i32 as _ ) ; pub const CERTSRV_E_TEMPLATE_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877422i32 as _ ) ; pub const CERTSRV_E_TEMPLATE_POLICY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875384i32 as _ ) ; pub const CERTSRV_E_TOO_MANY_SIGNATURES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875371i32 as _ ) ; pub const CERTSRV_E_UNKNOWN_CERT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875373i32 as _ ) ; pub const CERTSRV_E_UNSUPPORTED_CERT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875392i32 as _ ) ; pub const CERTSRV_E_WEAK_SIGNATURE_OR_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877418i32 as _ ) ; pub const CERT_E_CHAINING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762486i32 as _ ) ; pub const CERT_E_CN_NO_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762481i32 as _ ) ; pub const CERT_E_CRITICAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762491i32 as _ ) ; pub const CERT_E_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762495i32 as _ ) ; pub const CERT_E_INVALID_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762476i32 as _ ) ; pub const CERT_E_INVALID_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762477i32 as _ ) ; pub const CERT_E_ISSUERCHAINING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762489i32 as _ ) ; pub const CERT_E_MALFORMED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762488i32 as _ ) ; pub const CERT_E_PATHLENCONST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762492i32 as _ ) ; pub const CERT_E_PURPOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762490i32 as _ ) ; pub const CERT_E_REVOCATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762482i32 as _ ) ; pub const CERT_E_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762484i32 as _ ) ; pub const CERT_E_ROLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762493i32 as _ ) ; pub const CERT_E_UNTRUSTEDCA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762478i32 as _ ) ; pub const CERT_E_UNTRUSTEDROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762487i32 as _ ) ; pub const CERT_E_UNTRUSTEDTESTROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762483i32 as _ ) ; pub const CERT_E_VALIDITYPERIODNESTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762494i32 as _ ) ; pub const CERT_E_WRONG_USAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762480i32 as _ ) ; pub const CLASSFACTORY_E_FIRST : i32 = -2147221232i32 ; pub const CLASSFACTORY_E_LAST : i32 = -2147221217i32 ; pub const CLASSFACTORY_S_FIRST : i32 = 262416i32 ; pub const CLASSFACTORY_S_LAST : i32 = 262431i32 ; pub const CLASS_E_CLASSNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221231i32 as _ ) ; pub const CLASS_E_NOAGGREGATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221232i32 as _ ) ; pub const CLASS_E_NOTLICENSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221230i32 as _ ) ; pub const CLIENTSITE_E_FIRST : i32 = -2147221104i32 ; pub const CLIENTSITE_E_LAST : i32 = -2147221089i32 ; pub const CLIENTSITE_S_FIRST : i32 = 262544i32 ; pub const CLIENTSITE_S_LAST : i32 = 262559i32 ; pub const CLIPBRD_E_BAD_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221037i32 as _ ) ; pub const CLIPBRD_E_CANT_CLOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221036i32 as _ ) ; pub const CLIPBRD_E_CANT_EMPTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221039i32 as _ ) ; pub const CLIPBRD_E_CANT_OPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221040i32 as _ ) ; pub const CLIPBRD_E_CANT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221038i32 as _ ) ; pub const CLIPBRD_E_FIRST : i32 = -2147221040i32 ; pub const CLIPBRD_E_LAST : i32 = -2147221025i32 ; pub const CLIPBRD_S_FIRST : i32 = 262608i32 ; pub const CLIPBRD_S_LAST : i32 = 262623i32 ; pub const COMADMIN_E_ALREADYINSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368508i32 as _ ) ; pub const COMADMIN_E_AMBIGUOUS_APPLICATION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368420i32 as _ ) ; pub const COMADMIN_E_AMBIGUOUS_PARTITION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368419i32 as _ ) ; pub const COMADMIN_E_APPDIRNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368481i32 as _ ) ; pub const COMADMIN_E_APPLICATIONEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368501i32 as _ ) ; pub const COMADMIN_E_APPLID_MATCHES_CLSID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368442i32 as _ ) ; pub const COMADMIN_E_APP_FILE_READFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368504i32 as _ ) ; pub const COMADMIN_E_APP_FILE_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368503i32 as _ ) ; pub const COMADMIN_E_APP_FILE_WRITEFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368505i32 as _ ) ; pub const COMADMIN_E_APP_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367478i32 as _ ) ; pub const COMADMIN_E_AUTHENTICATIONLEVEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368493i32 as _ ) ; pub const COMADMIN_E_BADPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368502i32 as _ ) ; pub const COMADMIN_E_BADREGISTRYLIBID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368482i32 as _ ) ; pub const COMADMIN_E_BADREGISTRYPROGID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368494i32 as _ ) ; pub const COMADMIN_E_BASEPARTITION_REQUIRED_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367457i32 as _ ) ; pub const COMADMIN_E_BASE_PARTITION_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368432i32 as _ ) ; pub const COMADMIN_E_CANNOT_ALIAS_EVENTCLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367456i32 as _ ) ; pub const COMADMIN_E_CANTCOPYFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368499i32 as _ ) ; pub const COMADMIN_E_CANTMAKEINPROCSERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367468i32 as _ ) ; pub const COMADMIN_E_CANTRECYCLELIBRARYAPPS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367473i32 as _ ) ; pub const COMADMIN_E_CANTRECYCLESERVICEAPPS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367471i32 as _ ) ; pub const COMADMIN_E_CANT_SUBSCRIBE_TO_COMPONENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368435i32 as _ ) ; pub const COMADMIN_E_CAN_NOT_EXPORT_APP_PROXY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368438i32 as _ ) ; pub const COMADMIN_E_CAN_NOT_EXPORT_SYS_APP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368436i32 as _ ) ; pub const COMADMIN_E_CAN_NOT_START_APP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368437i32 as _ ) ; pub const COMADMIN_E_CAT_BITNESSMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368382i32 as _ ) ; pub const COMADMIN_E_CAT_DUPLICATE_PARTITION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368425i32 as _ ) ; pub const COMADMIN_E_CAT_IMPORTED_COMPONENTS_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368421i32 as _ ) ; pub const COMADMIN_E_CAT_INVALID_PARTITION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368424i32 as _ ) ; pub const COMADMIN_E_CAT_PARTITION_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368423i32 as _ ) ; pub const COMADMIN_E_CAT_PAUSE_RESUME_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368379i32 as _ ) ; pub const COMADMIN_E_CAT_SERVERFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368378i32 as _ ) ; pub const COMADMIN_E_CAT_UNACCEPTABLEBITNESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368381i32 as _ ) ; pub const COMADMIN_E_CAT_WRONGAPPBITNESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368380i32 as _ ) ; pub const COMADMIN_E_CLSIDORIIDMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368488i32 as _ ) ; pub const COMADMIN_E_COMPFILE_BADTLB : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368472i32 as _ ) ; pub const COMADMIN_E_COMPFILE_CLASSNOTAVAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368473i32 as _ ) ; pub const COMADMIN_E_COMPFILE_DOESNOTEXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368476i32 as _ ) ; pub const COMADMIN_E_COMPFILE_GETCLASSOBJ : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368474i32 as _ ) ; pub const COMADMIN_E_COMPFILE_LOADDLLFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368475i32 as _ ) ; pub const COMADMIN_E_COMPFILE_NOREGISTRAR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368460i32 as _ ) ; pub const COMADMIN_E_COMPFILE_NOTINSTALLABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368471i32 as _ ) ; pub const COMADMIN_E_COMPONENTEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368455i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_BAD_DEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368466i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_DEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367459i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368467i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_PRIVATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367458i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367460i32 as _ ) ; pub const COMADMIN_E_COREQCOMPINSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368459i32 as _ ) ; pub const COMADMIN_E_DEFAULT_PARTITION_NOT_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367466i32 as _ ) ; pub const COMADMIN_E_DLLLOADFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368483i32 as _ ) ; pub const COMADMIN_E_DLLREGISTERSERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368486i32 as _ ) ; pub const COMADMIN_E_EVENTCLASS_CANT_BE_SUBSCRIBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368434i32 as _ ) ; pub const COMADMIN_E_FILE_PARTITION_DUPLICATE_FILES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368422i32 as _ ) ; pub const COMADMIN_E_INVALIDUSERIDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368496i32 as _ ) ; pub const COMADMIN_E_INVALID_PARTITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367477i32 as _ ) ; pub const COMADMIN_E_KEYMISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368509i32 as _ ) ; pub const COMADMIN_E_LEGACYCOMPS_NOT_ALLOWED_IN_1_0_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367462i32 as _ ) ; pub const COMADMIN_E_LEGACYCOMPS_NOT_ALLOWED_IN_NONBASE_PARTITIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367461i32 as _ ) ; pub const COMADMIN_E_LIB_APP_PROXY_INCOMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368433i32 as _ ) ; pub const COMADMIN_E_MIG_SCHEMANOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368383i32 as _ ) ; pub const COMADMIN_E_MIG_VERSIONNOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368384i32 as _ ) ; pub const COMADMIN_E_NOREGISTRYCLSID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368495i32 as _ ) ; pub const COMADMIN_E_NOSERVERSHARE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368485i32 as _ ) ; pub const COMADMIN_E_NOTCHANGEABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368470i32 as _ ) ; pub const COMADMIN_E_NOTDELETEABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368469i32 as _ ) ; pub const COMADMIN_E_NOTINREGISTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368450i32 as _ ) ; pub const COMADMIN_E_NOUSER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368497i32 as _ ) ; pub const COMADMIN_E_OBJECTERRORS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368511i32 as _ ) ; pub const COMADMIN_E_OBJECTEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368456i32 as _ ) ; pub const COMADMIN_E_OBJECTINVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368510i32 as _ ) ; pub const COMADMIN_E_OBJECTNOTPOOLABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368449i32 as _ ) ; pub const COMADMIN_E_OBJECT_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367479i32 as _ ) ; pub const COMADMIN_E_OBJECT_PARENT_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367480i32 as _ ) ; pub const COMADMIN_E_PARTITIONS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367452i32 as _ ) ; pub const COMADMIN_E_PARTITION_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367464i32 as _ ) ; pub const COMADMIN_E_PARTITION_MSI_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367463i32 as _ ) ; pub const COMADMIN_E_PAUSEDPROCESSMAYNOTBERECYCLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367469i32 as _ ) ; pub const COMADMIN_E_PRIVATE_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367455i32 as _ ) ; pub const COMADMIN_E_PROCESSALREADYRECYCLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367470i32 as _ ) ; pub const COMADMIN_E_PROGIDINUSEBYCLSID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367467i32 as _ ) ; pub const COMADMIN_E_PROPERTYSAVEFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368457i32 as _ ) ; pub const COMADMIN_E_PROPERTY_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368452i32 as _ ) ; pub const COMADMIN_E_RECYCLEDPROCESSMAYNOTBEPAUSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367465i32 as _ ) ; pub const COMADMIN_E_REGDB_ALREADYRUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368395i32 as _ ) ; pub const COMADMIN_E_REGDB_NOTINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368398i32 as _ ) ; pub const COMADMIN_E_REGDB_NOTOPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368397i32 as _ ) ; pub const COMADMIN_E_REGDB_SYSTEMERR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368396i32 as _ ) ; pub const COMADMIN_E_REGFILE_CORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368453i32 as _ ) ; pub const COMADMIN_E_REGISTERTLB : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368464i32 as _ ) ; pub const COMADMIN_E_REGISTRARFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368477i32 as _ ) ; pub const COMADMIN_E_REGISTRY_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367453i32 as _ ) ; pub const COMADMIN_E_REMOTEINTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368487i32 as _ ) ; pub const COMADMIN_E_REQUIRES_DIFFERENT_PLATFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368439i32 as _ ) ; pub const COMADMIN_E_ROLEEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368500i32 as _ ) ; pub const COMADMIN_E_ROLE_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368441i32 as _ ) ; pub const COMADMIN_E_SAFERINVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367454i32 as _ ) ; pub const COMADMIN_E_SERVICENOTINSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368458i32 as _ ) ; pub const COMADMIN_E_SESSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368468i32 as _ ) ; pub const COMADMIN_E_START_APP_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368431i32 as _ ) ; pub const COMADMIN_E_START_APP_NEEDS_COMPONENTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368440i32 as _ ) ; pub const COMADMIN_E_SVCAPP_NOT_POOLABLE_OR_RECYCLABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367475i32 as _ ) ; pub const COMADMIN_E_SYSTEMAPP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368461i32 as _ ) ; pub const COMADMIN_E_USERPASSWDNOTVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368492i32 as _ ) ; pub const COMADMIN_E_USER_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367474i32 as _ ) ; pub const COMQC_E_APPLICATION_NOT_QUEUED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368000i32 as _ ) ; pub const COMQC_E_BAD_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367996i32 as _ ) ; pub const COMQC_E_NO_IPERSISTSTREAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367997i32 as _ ) ; pub const COMQC_E_NO_QUEUEABLE_INTERFACES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367999i32 as _ ) ; pub const COMQC_E_QUEUING_SERVICE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367998i32 as _ ) ; pub const COMQC_E_UNAUTHENTICATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367995i32 as _ ) ; pub const COMQC_E_UNTRUSTED_ENQUEUER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367994i32 as _ ) ; pub const CONTEXT_E_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164158i32 as _ ) ; pub const CONTEXT_E_ABORTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164157i32 as _ ) ; pub const CONTEXT_E_FIRST : i32 = -2147164160i32 ; pub const CONTEXT_E_LAST : i32 = -2147164113i32 ; pub const CONTEXT_E_NOCONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164156i32 as _ ) ; pub const CONTEXT_E_NOJIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164122i32 as _ ) ; pub const CONTEXT_E_NOTRANSACTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164121i32 as _ ) ; pub const CONTEXT_E_OLDREF : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164153i32 as _ ) ; pub const CONTEXT_E_ROLENOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164148i32 as _ ) ; pub const CONTEXT_E_SYNCH_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164154i32 as _ ) ; pub const CONTEXT_E_TMNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164145i32 as _ ) ; pub const CONTEXT_E_WOULD_DEADLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164155i32 as _ ) ; pub const CONTEXT_S_FIRST : i32 = 319488i32 ; pub const CONTEXT_S_LAST : i32 = 319535i32 ; pub const CONVERT10_E_FIRST : i32 = -2147221056i32 ; pub const CONVERT10_E_LAST : i32 = -2147221041i32 ; pub const CONVERT10_E_OLESTREAM_BITMAP_TO_DIB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221053i32 as _ ) ; pub const CONVERT10_E_OLESTREAM_FMT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221054i32 as _ ) ; pub const CONVERT10_E_OLESTREAM_GET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221056i32 as _ ) ; pub const CONVERT10_E_OLESTREAM_PUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221055i32 as _ ) ; pub const CONVERT10_E_STG_DIB_TO_BITMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221050i32 as _ ) ; pub const CONVERT10_E_STG_FMT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221052i32 as _ ) ; pub const CONVERT10_E_STG_NO_STD_STREAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221051i32 as _ ) ; pub const CONVERT10_S_FIRST : i32 = 262592i32 ; pub const CONVERT10_S_LAST : i32 = 262607i32 ; pub const CONVERT10_S_NO_PRESENTATION : :: windows :: HRESULT = :: windows :: HRESULT ( 262592i32 as _ ) ; pub const CO_E_ACCESSCHECKFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417814i32 as _ ) ; pub const CO_E_ACESINWRONGORDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417798i32 as _ ) ; pub const CO_E_ACNOTINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417793i32 as _ ) ; pub const CO_E_ACTIVATIONFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164127i32 as _ ) ; pub const CO_E_ACTIVATIONFAILED_CATALOGERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164125i32 as _ ) ; pub const CO_E_ACTIVATIONFAILED_EVENTLOGGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164126i32 as _ ) ; pub const CO_E_ACTIVATIONFAILED_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164124i32 as _ ) ; pub const CO_E_ALREADYINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221007i32 as _ ) ; pub const CO_E_APPDIDNTREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220994i32 as _ ) ; pub const CO_E_APPNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221003i32 as _ ) ; pub const CO_E_APPSINGLEUSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221002i32 as _ ) ; pub const CO_E_ASYNC_WORK_REJECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467223i32 as _ ) ; pub const CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467228i32 as _ ) ; pub const CO_E_BAD_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959356i32 as _ ) ; pub const CO_E_BAD_SERVER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467244i32 as _ ) ; pub const CO_E_CALL_OUT_OF_TX_SCOPE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164112i32 as _ ) ; pub const CO_E_CANCEL_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417792i32 as _ ) ; pub const CO_E_CANTDETERMINECLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221006i32 as _ ) ; pub const CO_E_CANT_REMOTE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467245i32 as _ ) ; pub const CO_E_CLASSSTRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221005i32 as _ ) ; pub const CO_E_CLASS_CREATE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959359i32 as _ ) ; pub const CO_E_CLASS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467225i32 as _ ) ; pub const CO_E_CLRNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467224i32 as _ ) ; pub const CO_E_CLSREG_INCONSISTENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467233i32 as _ ) ; pub const CO_E_CONVERSIONFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417810i32 as _ ) ; pub const CO_E_CREATEPROCESS_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467240i32 as _ ) ; pub const CO_E_DBERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164117i32 as _ ) ; pub const CO_E_DECODEFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417795i32 as _ ) ; pub const CO_E_DLLNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221000i32 as _ ) ; pub const CO_E_ELEVATION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959337i32 as _ ) ; pub const CO_E_ERRORINAPP : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221001i32 as _ ) ; pub const CO_E_ERRORINDLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220999i32 as _ ) ; pub const CO_E_EXCEEDSYSACLLIMIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417799i32 as _ ) ; pub const CO_E_EXIT_TRANSACTION_SCOPE_NOT_CALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164111i32 as _ ) ; pub const CO_E_FAILEDTOCLOSEHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417800i32 as _ ) ; pub const CO_E_FAILEDTOCREATEFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417801i32 as _ ) ; pub const CO_E_FAILEDTOGENUUID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417802i32 as _ ) ; pub const CO_E_FAILEDTOGETSECCTX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417820i32 as _ ) ; pub const CO_E_FAILEDTOGETTOKENINFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417818i32 as _ ) ; pub const CO_E_FAILEDTOGETWINDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417804i32 as _ ) ; pub const CO_E_FAILEDTOIMPERSONATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417821i32 as _ ) ; pub const CO_E_FAILEDTOOPENPROCESSTOKEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417796i32 as _ ) ; pub const CO_E_FAILEDTOOPENTHREADTOKEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417819i32 as _ ) ; pub const CO_E_FAILEDTOQUERYCLIENTBLANKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417816i32 as _ ) ; pub const CO_E_FAILEDTOSETDACL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417815i32 as _ ) ; pub const CO_E_FIRST : i32 = -2147221008i32 ; pub const CO_E_IIDREG_INCONSISTENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467232i32 as _ ) ; pub const CO_E_IIDSTRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221004i32 as _ ) ; pub const CO_E_INCOMPATIBLESTREAMVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417797i32 as _ ) ; pub const CO_E_INITIALIZATIONFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164123i32 as _ ) ; pub const CO_E_INIT_CLASS_CACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467255i32 as _ ) ; pub const CO_E_INIT_MEMORY_ALLOCATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467256i32 as _ ) ; pub const CO_E_INIT_ONLY_SINGLE_THREADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467246i32 as _ ) ; pub const CO_E_INIT_RPC_CHANNEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467254i32 as _ ) ; pub const CO_E_INIT_SCM_EXEC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467247i32 as _ ) ; pub const CO_E_INIT_SCM_FILE_MAPPING_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467249i32 as _ ) ; pub const CO_E_INIT_SCM_MAP_VIEW_OF_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467248i32 as _ ) ; pub const CO_E_INIT_SCM_MUTEX_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467250i32 as _ ) ; pub const CO_E_INIT_SHARED_ALLOCATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467257i32 as _ ) ; pub const CO_E_INIT_TLS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467258i32 as _ ) ; pub const CO_E_INIT_TLS_CHANNEL_CONTROL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467252i32 as _ ) ; pub const CO_E_INIT_TLS_SET_CHANNEL_CONTROL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467253i32 as _ ) ; pub const CO_E_INIT_UNACCEPTED_USER_ALLOCATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467251i32 as _ ) ; pub const CO_E_INVALIDSID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417811i32 as _ ) ; pub const CO_E_ISOLEVELMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164113i32 as _ ) ; pub const CO_E_LAST : i32 = -2147220993i32 ; pub const CO_E_LAUNCH_PERMSSION_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467237i32 as _ ) ; pub const CO_E_LOOKUPACCNAMEFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417806i32 as _ ) ; pub const CO_E_LOOKUPACCSIDFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417808i32 as _ ) ; pub const CO_E_MALFORMED_SPN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467213i32 as _ ) ; pub const CO_E_MISSING_DISPLAYNAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959339i32 as _ ) ; pub const CO_E_MSI_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467229i32 as _ ) ; pub const CO_E_NETACCESSAPIFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417813i32 as _ ) ; pub const CO_E_NOCOOKIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164118i32 as _ ) ; pub const CO_E_NOIISINTRINSICS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164119i32 as _ ) ; pub const CO_E_NOMATCHINGNAMEFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417807i32 as _ ) ; pub const CO_E_NOMATCHINGSIDFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417809i32 as _ ) ; pub const CO_E_NOSYNCHRONIZATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164114i32 as _ ) ; pub const CO_E_NOTCONSTRUCTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164115i32 as _ ) ; pub const CO_E_NOTINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221008i32 as _ ) ; pub const CO_E_NOTPOOLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164116i32 as _ ) ; pub const CO_E_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467231i32 as _ ) ; pub const CO_E_NO_SECCTX_IN_ACTIVATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467221i32 as _ ) ; pub const CO_E_OBJISREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220996i32 as _ ) ; pub const CO_E_OBJNOTCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220995i32 as _ ) ; pub const CO_E_OBJNOTREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220997i32 as _ ) ; pub const CO_E_OBJSRV_RPC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959354i32 as _ ) ; pub const CO_E_OLE1DDE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467242i32 as _ ) ; pub const CO_E_PATHTOOLONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417803i32 as _ ) ; pub const CO_E_PREMATURE_STUB_RUNDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467211i32 as _ ) ; pub const CO_E_RELEASED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220993i32 as _ ) ; pub const CO_E_RELOAD_DLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467230i32 as _ ) ; pub const CO_E_REMOTE_COMMUNICATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467235i32 as _ ) ; pub const CO_E_RUNAS_CREATEPROCESS_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467239i32 as _ ) ; pub const CO_E_RUNAS_LOGON_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467238i32 as _ ) ; pub const CO_E_RUNAS_SYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467241i32 as _ ) ; pub const CO_E_RUNAS_VALUE_MUST_BE_AAA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959338i32 as _ ) ; pub const CO_E_SCM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959358i32 as _ ) ; pub const CO_E_SCM_RPC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959357i32 as _ ) ; pub const CO_E_SERVER_EXEC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959355i32 as _ ) ; pub const CO_E_SERVER_INIT_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467222i32 as _ ) ; pub const CO_E_SERVER_NOT_PAUSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467226i32 as _ ) ; pub const CO_E_SERVER_PAUSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467227i32 as _ ) ; pub const CO_E_SERVER_START_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467234i32 as _ ) ; pub const CO_E_SERVER_STOPPING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959352i32 as _ ) ; pub const CO_E_SETSERLHNDLFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417805i32 as _ ) ; pub const CO_E_START_SERVICE_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467236i32 as _ ) ; pub const CO_E_SXS_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467214i32 as _ ) ; pub const CO_E_THREADINGMODEL_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164120i32 as _ ) ; pub const CO_E_THREADPOOL_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467215i32 as _ ) ; pub const CO_E_TRACKER_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467216i32 as _ ) ; pub const CO_E_TRUSTEEDOESNTMATCHCLIENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417817i32 as _ ) ; pub const CO_E_UNREVOKED_REGISTRATION_ON_APARTMENT_SHUTDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467212i32 as _ ) ; pub const CO_E_WRONGOSFORAPP : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220998i32 as _ ) ; pub const CO_E_WRONGTRUSTEENAMESYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417812i32 as _ ) ; pub const CO_E_WRONG_SERVER_IDENTITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467243i32 as _ ) ; pub const CO_S_FIRST : i32 = 262640i32 ; pub const CO_S_LAST : i32 = 262655i32 ; pub const CO_S_MACHINENAMENOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( 524307i32 as _ ) ; pub const CO_S_NOTALLINTERFACES : :: windows :: HRESULT = :: windows :: HRESULT ( 524306i32 as _ ) ; pub const CRYPT_E_ALREADY_DECRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889719i32 as _ ) ; pub const CRYPT_E_ASN1_BADARGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881271i32 as _ ) ; pub const CRYPT_E_ASN1_BADPDU : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881272i32 as _ ) ; pub const CRYPT_E_ASN1_BADREAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881270i32 as _ ) ; pub const CRYPT_E_ASN1_BADTAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881269i32 as _ ) ; pub const CRYPT_E_ASN1_CHOICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881268i32 as _ ) ; pub const CRYPT_E_ASN1_CONSTRAINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881275i32 as _ ) ; pub const CRYPT_E_ASN1_CORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881277i32 as _ ) ; pub const CRYPT_E_ASN1_EOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881278i32 as _ ) ; pub const CRYPT_E_ASN1_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881280i32 as _ ) ; pub const CRYPT_E_ASN1_EXTENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881023i32 as _ ) ; pub const CRYPT_E_ASN1_INTERNAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881279i32 as _ ) ; pub const CRYPT_E_ASN1_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881276i32 as _ ) ; pub const CRYPT_E_ASN1_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881274i32 as _ ) ; pub const CRYPT_E_ASN1_NOEOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881022i32 as _ ) ; pub const CRYPT_E_ASN1_NYI : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881228i32 as _ ) ; pub const CRYPT_E_ASN1_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881273i32 as _ ) ; pub const CRYPT_E_ASN1_PDU_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881229i32 as _ ) ; pub const CRYPT_E_ASN1_RULE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881267i32 as _ ) ; pub const CRYPT_E_ASN1_UTF8 : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881266i32 as _ ) ; pub const CRYPT_E_ATTRIBUTES_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889713i32 as _ ) ; pub const CRYPT_E_AUTH_ATTR_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889722i32 as _ ) ; pub const CRYPT_E_BAD_ENCODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885630i32 as _ ) ; pub const CRYPT_E_BAD_LEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885631i32 as _ ) ; pub const CRYPT_E_BAD_MSG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885619i32 as _ ) ; pub const CRYPT_E_CONTROL_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889716i32 as _ ) ; pub const CRYPT_E_DELETED_PREV : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885624i32 as _ ) ; pub const CRYPT_E_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885627i32 as _ ) ; pub const CRYPT_E_FILERESIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885595i32 as _ ) ; pub const CRYPT_E_FILE_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885629i32 as _ ) ; pub const CRYPT_E_HASH_VALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889721i32 as _ ) ; pub const CRYPT_E_INVALID_IA5_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885598i32 as _ ) ; pub const CRYPT_E_INVALID_INDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889720i32 as _ ) ; pub const CRYPT_E_INVALID_MSG_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889724i32 as _ ) ; pub const CRYPT_E_INVALID_NUMERIC_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885600i32 as _ ) ; pub const CRYPT_E_INVALID_PRINTABLE_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885599i32 as _ ) ; pub const CRYPT_E_INVALID_X500_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885597i32 as _ ) ; pub const CRYPT_E_ISSUER_SERIALNUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889715i32 as _ ) ; pub const CRYPT_E_MISSING_PUBKEY_PARA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885588i32 as _ ) ; pub const CRYPT_E_MSG_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889727i32 as _ ) ; pub const CRYPT_E_NOT_CHAR_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885596i32 as _ ) ; pub const CRYPT_E_NOT_DECRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889718i32 as _ ) ; pub const CRYPT_E_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885628i32 as _ ) ; pub const CRYPT_E_NOT_IN_CTL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885590i32 as _ ) ; pub const CRYPT_E_NOT_IN_REVOCATION_DATABASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885612i32 as _ ) ; pub const CRYPT_E_NO_DECRYPT_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885620i32 as _ ) ; pub const CRYPT_E_NO_KEY_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885621i32 as _ ) ; pub const CRYPT_E_NO_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885623i32 as _ ) ; pub const CRYPT_E_NO_PROVIDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885626i32 as _ ) ; pub const CRYPT_E_NO_REVOCATION_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885614i32 as _ ) ; pub const CRYPT_E_NO_REVOCATION_DLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885615i32 as _ ) ; pub const CRYPT_E_NO_SIGNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885618i32 as _ ) ; pub const CRYPT_E_NO_TRUSTED_SIGNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885589i32 as _ ) ; pub const CRYPT_E_NO_VERIFY_USAGE_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885592i32 as _ ) ; pub const CRYPT_E_NO_VERIFY_USAGE_DLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885593i32 as _ ) ; pub const CRYPT_E_OBJECT_LOCATOR_OBJECT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885587i32 as _ ) ; pub const CRYPT_E_OID_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889725i32 as _ ) ; pub const CRYPT_E_OSS_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881536i32 as _ ) ; pub const CRYPT_E_PENDING_CLOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885617i32 as _ ) ; pub const CRYPT_E_RECIPIENT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889717i32 as _ ) ; pub const CRYPT_E_REVOCATION_OFFLINE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885613i32 as _ ) ; pub const CRYPT_E_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885616i32 as _ ) ; pub const CRYPT_E_SECURITY_SETTINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885594i32 as _ ) ; pub const CRYPT_E_SELF_SIGNED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885625i32 as _ ) ; pub const CRYPT_E_SIGNER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889714i32 as _ ) ; pub const CRYPT_E_STREAM_INSUFFICIENT_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889711i32 as _ ) ; pub const CRYPT_E_STREAM_MSG_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889712i32 as _ ) ; pub const CRYPT_E_UNEXPECTED_ENCODING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889723i32 as _ ) ; pub const CRYPT_E_UNEXPECTED_MSG_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885622i32 as _ ) ; pub const CRYPT_E_UNKNOWN_ALGO : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889726i32 as _ ) ; pub const CRYPT_E_VERIFY_USAGE_OFFLINE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885591i32 as _ ) ; pub const CRYPT_I_NEW_PROTECTION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( 593938i32 as _ ) ; pub const CS_E_ADMIN_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221139i32 as _ ) ; pub const CS_E_CLASS_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221146i32 as _ ) ; pub const CS_E_FIRST : i32 = -2147221148i32 ; pub const CS_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221137i32 as _ ) ; pub const CS_E_INVALID_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221141i32 as _ ) ; pub const CS_E_INVALID_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221145i32 as _ ) ; pub const CS_E_LAST : i32 = -2147221137i32 ; pub const CS_E_NETWORK_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221140i32 as _ ) ; pub const CS_E_NOT_DELETABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221147i32 as _ ) ; pub const CS_E_NO_CLASSSTORE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221144i32 as _ ) ; pub const CS_E_OBJECT_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221142i32 as _ ) ; pub const CS_E_OBJECT_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221143i32 as _ ) ; pub const CS_E_PACKAGE_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221148i32 as _ ) ; pub const CS_E_SCHEMA_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221138i32 as _ ) ; pub unsafe fn CloseHandle < 'a , Param0 : :: windows :: IntoParam < 'a , HANDLE > , > ( hobject : Param0 , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="kernel32" ) ] extern "system" { fn CloseHandle ( hobject : HANDLE ) -> BOOL ; } :: std :: mem :: transmute ( CloseHandle ( hobject . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CompareObjectHandles < 'a , Param0 : :: windows :: IntoParam < 'a , HANDLE > , Param1 : :: windows :: IntoParam < 'a , HANDLE > , > ( hfirstobjecthandle : Param0 , hsecondobjecthandle : Param1 , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn CompareObjectHandles ( hfirstobjecthandle : HANDLE , hsecondobjecthandle : HANDLE ) -> BOOL ; } :: std :: mem :: transmute ( CompareObjectHandles ( hfirstobjecthandle . into_param ( ) . abi ( ) , hsecondobjecthandle . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const D2DERR_BAD_NUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238895i32 as _ ) ; pub const D2DERR_BITMAP_BOUND_AS_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238875i32 as _ ) ; pub const D2DERR_BITMAP_CANNOT_DRAW : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238879i32 as _ ) ; pub const D2DERR_CYCLIC_GRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238880i32 as _ ) ; pub const D2DERR_DISPLAY_FORMAT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238903i32 as _ ) ; pub const D2DERR_DISPLAY_STATE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238906i32 as _ ) ; pub const D2DERR_EFFECT_IS_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238872i32 as _ ) ; pub const D2DERR_EXCEEDS_MAX_BITMAP_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238883i32 as _ ) ; pub const D2DERR_INCOMPATIBLE_BRUSH_TYPES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238888i32 as _ ) ; pub const D2DERR_INSUFFICIENT_DEVICE_CAPABILITIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238874i32 as _ ) ; pub const D2DERR_INTERMEDIATE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238873i32 as _ ) ; pub const D2DERR_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238904i32 as _ ) ; pub const D2DERR_INVALID_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238902i32 as _ ) ; pub const D2DERR_INVALID_GLYPH_IMAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238866i32 as _ ) ; pub const D2DERR_INVALID_GRAPH_CONFIGURATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238882i32 as _ ) ; pub const D2DERR_INVALID_INTERNAL_GRAPH_CONFIGURATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238881i32 as _ ) ; pub const D2DERR_INVALID_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238871i32 as _ ) ; pub const D2DERR_INVALID_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238876i32 as _ ) ; pub const D2DERR_LAYER_ALREADY_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238893i32 as _ ) ; pub const D2DERR_MAX_TEXTURE_SIZE_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238897i32 as _ ) ; pub const D2DERR_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238910i32 as _ ) ; pub const D2DERR_NO_HARDWARE_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238901i32 as _ ) ; pub const D2DERR_NO_SUBPROPERTIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238870i32 as _ ) ; pub const D2DERR_ORIGINAL_TARGET_NOT_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238877i32 as _ ) ; pub const D2DERR_OUTSTANDING_BITMAP_REFERENCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238878i32 as _ ) ; pub const D2DERR_POP_CALL_DID_NOT_MATCH_PUSH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238892i32 as _ ) ; pub const D2DERR_PRINT_FORMAT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238868i32 as _ ) ; pub const D2DERR_PRINT_JOB_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238869i32 as _ ) ; pub const D2DERR_PUSH_POP_UNBALANCED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238890i32 as _ ) ; pub const D2DERR_RECREATE_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238900i32 as _ ) ; pub const D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238889i32 as _ ) ; pub const D2DERR_SCANNER_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238908i32 as _ ) ; pub const D2DERR_SCREEN_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238907i32 as _ ) ; pub const D2DERR_SHADER_COMPILE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238898i32 as _ ) ; pub const D2DERR_TARGET_NOT_GDI_COMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238886i32 as _ ) ; pub const D2DERR_TEXT_EFFECT_IS_WRONG_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238885i32 as _ ) ; pub const D2DERR_TEXT_RENDERER_NOT_RELEASED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238884i32 as _ ) ; pub const D2DERR_TOO_MANY_SHADER_ELEMENTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238899i32 as _ ) ; pub const D2DERR_TOO_MANY_TRANSFORM_INPUTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238867i32 as _ ) ; pub const D2DERR_UNSUPPORTED_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238909i32 as _ ) ; pub const D2DERR_UNSUPPORTED_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238896i32 as _ ) ; pub const D2DERR_WIN32_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238887i32 as _ ) ; pub const D2DERR_WRONG_FACTORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238894i32 as _ ) ; pub const D2DERR_WRONG_RESOURCE_DOMAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238891i32 as _ ) ; pub const D2DERR_WRONG_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238911i32 as _ ) ; pub const D2DERR_ZERO_VECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238905i32 as _ ) ; pub const D3D10_ERROR_FILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2005336062i32 as _ ) ; pub const D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2005336063i32 as _ ) ; pub const D3D11_ERROR_DEFERRED_CONTEXT_MAP_WITHOUT_INITIAL_DISCARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2005139452i32 as _ ) ; pub const D3D11_ERROR_FILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2005139454i32 as _ ) ; pub const D3D11_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2005139455i32 as _ ) ; pub const D3D11_ERROR_TOO_MANY_UNIQUE_VIEW_OBJECTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2005139453i32 as _ ) ; pub const D3D12_ERROR_ADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2005008383i32 as _ ) ; pub const D3D12_ERROR_DRIVER_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2005008382i32 as _ ) ; pub const DATA_E_FIRST : i32 = -2147221200i32 ; pub const DATA_E_LAST : i32 = -2147221185i32 ; pub const DATA_S_FIRST : i32 = 262448i32 ; pub const DATA_S_LAST : i32 = 262463i32 ; pub const DATA_S_SAMEFORMATETC : :: windows :: HRESULT = :: windows :: HRESULT ( 262448i32 as _ ) ; pub const DBG_APP_NOT_IDLE : NTSTATUS = NTSTATUS ( -1073676286i32 as _ ) ; pub const DBG_COMMAND_EXCEPTION : NTSTATUS = NTSTATUS ( 1073807369i32 as _ ) ; pub const DBG_CONTINUE : NTSTATUS = NTSTATUS ( 65538i32 as _ ) ; pub const DBG_CONTROL_BREAK : NTSTATUS = NTSTATUS ( 1073807368i32 as _ ) ; pub const DBG_CONTROL_C : NTSTATUS = NTSTATUS ( 1073807365i32 as _ ) ; pub const DBG_EXCEPTION_HANDLED : NTSTATUS = NTSTATUS ( 65537i32 as _ ) ; pub const DBG_EXCEPTION_NOT_HANDLED : NTSTATUS = NTSTATUS ( -2147418111i32 as _ ) ; pub const DBG_NO_STATE_CHANGE : NTSTATUS = NTSTATUS ( -1073676287i32 as _ ) ; pub const DBG_PRINTEXCEPTION_C : NTSTATUS = NTSTATUS ( 1073807366i32 as _ ) ; pub const DBG_PRINTEXCEPTION_WIDE_C : NTSTATUS = NTSTATUS ( 1073807370i32 as _ ) ; pub const DBG_REPLY_LATER : NTSTATUS = NTSTATUS ( 1073807361i32 as _ ) ; pub const DBG_RIPEXCEPTION : NTSTATUS = NTSTATUS ( 1073807367i32 as _ ) ; pub const DBG_TERMINATE_PROCESS : NTSTATUS = NTSTATUS ( 1073807364i32 as _ ) ; pub const DBG_TERMINATE_THREAD : NTSTATUS = NTSTATUS ( 1073807363i32 as _ ) ; pub const DBG_UNABLE_TO_PROVIDE_HANDLE : NTSTATUS = NTSTATUS ( 1073807362i32 as _ ) ; pub const DCOMPOSITION_ERROR_SURFACE_BEING_RENDERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302399i32 as _ ) ; pub const DCOMPOSITION_ERROR_SURFACE_NOT_BEING_RENDERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302398i32 as _ ) ; pub const DCOMPOSITION_ERROR_WINDOW_ALREADY_COMPOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302400i32 as _ ) ; pub const DIGSIG_E_CRYPTO : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762744i32 as _ ) ; pub const DIGSIG_E_DECODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762746i32 as _ ) ; pub const DIGSIG_E_ENCODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762747i32 as _ ) ; pub const DIGSIG_E_EXTENSIBILITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762745i32 as _ ) ; pub const DISP_E_ARRAYISLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352563i32 as _ ) ; pub const DISP_E_BADCALLEE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352560i32 as _ ) ; pub const DISP_E_BADINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352565i32 as _ ) ; pub const DISP_E_BADPARAMCOUNT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352562i32 as _ ) ; pub const DISP_E_BADVARTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352568i32 as _ ) ; pub const DISP_E_BUFFERTOOSMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352557i32 as _ ) ; pub const DISP_E_DIVBYZERO : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352558i32 as _ ) ; pub const DISP_E_EXCEPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352567i32 as _ ) ; pub const DISP_E_MEMBERNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352573i32 as _ ) ; pub const DISP_E_NONAMEDARGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352569i32 as _ ) ; pub const DISP_E_NOTACOLLECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352559i32 as _ ) ; pub const DISP_E_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352566i32 as _ ) ; pub const DISP_E_PARAMNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352572i32 as _ ) ; pub const DISP_E_PARAMNOTOPTIONAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352561i32 as _ ) ; pub const DISP_E_TYPEMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352571i32 as _ ) ; pub const DISP_E_UNKNOWNINTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352575i32 as _ ) ; pub const DISP_E_UNKNOWNLCID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352564i32 as _ ) ; pub const DISP_E_UNKNOWNNAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352570i32 as _ ) ; pub const DM_COPY : u32 = 2u32 ; pub const DM_MODIFY : u32 = 8u32 ; pub const DM_PROMPT : u32 = 4u32 ; pub const DM_UPDATE : u32 = 1u32 ; pub const DNS_INFO_ADDED_LOCAL_WINS : i32 = 9753i32 ; pub const DNS_INFO_AXFR_COMPLETE : i32 = 9751i32 ; pub const DNS_INFO_NO_RECORDS : i32 = 9501i32 ; pub const DNS_REQUEST_PENDING : i32 = 9506i32 ; pub const DNS_STATUS_CONTINUE_NEEDED : i32 = 9801i32 ; pub const DNS_STATUS_DOTTED_NAME : i32 = 9558i32 ; pub const DNS_STATUS_FQDN : i32 = 9557i32 ; pub const DNS_STATUS_SINGLE_PART_NAME : i32 = 9559i32 ; pub const DNS_WARNING_DOMAIN_UNDELETED : i32 = 9716i32 ; pub const DNS_WARNING_PTR_CREATE_FAILED : i32 = 9715i32 ; pub const DRAGDROP_E_ALREADYREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221247i32 as _ ) ; pub const DRAGDROP_E_CONCURRENT_DRAG_ATTEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221245i32 as _ ) ; pub const DRAGDROP_E_FIRST : i32 = -2147221248i32 ; pub const DRAGDROP_E_INVALIDHWND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221246i32 as _ ) ; pub const DRAGDROP_E_LAST : i32 = -2147221233i32 ; pub const DRAGDROP_E_NOTREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221248i32 as _ ) ; pub const DRAGDROP_S_CANCEL : :: windows :: HRESULT = :: windows :: HRESULT ( 262401i32 as _ ) ; pub const DRAGDROP_S_DROP : :: windows :: HRESULT = :: windows :: HRESULT ( 262400i32 as _ ) ; pub const DRAGDROP_S_FIRST : i32 = 262400i32 ; pub const DRAGDROP_S_LAST : i32 = 262415i32 ; pub const DRAGDROP_S_USEDEFAULTCURSORS : :: windows :: HRESULT = :: windows :: HRESULT ( 262402i32 as _ ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DUPLICATE_HANDLE_OPTIONS ( pub u32 ) ; pub const DUPLICATE_CLOSE_SOURCE : DUPLICATE_HANDLE_OPTIONS = DUPLICATE_HANDLE_OPTIONS ( 1u32 ) ; pub const DUPLICATE_SAME_ACCESS : DUPLICATE_HANDLE_OPTIONS = DUPLICATE_HANDLE_OPTIONS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for DUPLICATE_HANDLE_OPTIONS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DUPLICATE_HANDLE_OPTIONS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DUPLICATE_HANDLE_OPTIONS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DUPLICATE_HANDLE_OPTIONS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DUPLICATE_HANDLE_OPTIONS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DUPLICATE_HANDLE_OPTIONS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DUPLICATE_HANDLE_OPTIONS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const DV_E_CLIPFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221398i32 as _ ) ; pub const DV_E_DVASPECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221397i32 as _ ) ; pub const DV_E_DVTARGETDEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221403i32 as _ ) ; pub const DV_E_DVTARGETDEVICE_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221396i32 as _ ) ; pub const DV_E_FORMATETC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221404i32 as _ ) ; pub const DV_E_LINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221400i32 as _ ) ; pub const DV_E_NOIVIEWOBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221395i32 as _ ) ; pub const DV_E_STATDATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221401i32 as _ ) ; pub const DV_E_STGMEDIUM : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221402i32 as _ ) ; pub const DV_E_TYMED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221399i32 as _ ) ; pub const DWMERR_CATASTROPHIC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302654i32 as _ ) ; pub const DWMERR_STATE_TRANSITION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302656i32 as _ ) ; pub const DWMERR_THEME_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302655i32 as _ ) ; pub const DWM_E_ADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980987i32 as _ ) ; pub const DWM_E_COMPOSITIONDISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980991i32 as _ ) ; pub const DWM_E_NOT_QUEUING_PRESENTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980988i32 as _ ) ; pub const DWM_E_NO_REDIRECTION_SURFACE_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980989i32 as _ ) ; pub const DWM_E_REMOTING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980990i32 as _ ) ; pub const DWM_E_TEXTURE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980985i32 as _ ) ; pub const DWM_S_GDI_REDIRECTION_SURFACE : :: windows :: HRESULT = :: windows :: HRESULT ( 2502661i32 as _ ) ; pub const DWM_S_GDI_REDIRECTION_SURFACE_BLT_VIA_GDI : :: windows :: HRESULT = :: windows :: HRESULT ( 2502664i32 as _ ) ; pub const DWRITE_E_ALREADYREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283962i32 as _ ) ; pub const DWRITE_E_CACHEFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283961i32 as _ ) ; pub const DWRITE_E_CACHEVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283960i32 as _ ) ; pub const DWRITE_E_FILEACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283964i32 as _ ) ; pub const DWRITE_E_FILEFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283968i32 as _ ) ; pub const DWRITE_E_FILENOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283965i32 as _ ) ; pub const DWRITE_E_FLOWDIRECTIONCONFLICTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283957i32 as _ ) ; pub const DWRITE_E_FONTCOLLECTIONOBSOLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283963i32 as _ ) ; pub const DWRITE_E_NOCOLOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283956i32 as _ ) ; pub const DWRITE_E_NOFONT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283966i32 as _ ) ; pub const DWRITE_E_TEXTRENDERERINCOMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283958i32 as _ ) ; pub const DWRITE_E_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283967i32 as _ ) ; pub const DWRITE_E_UNSUPPORTEDOPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283959i32 as _ ) ; pub const DXCORE_ERROR_EVENT_NOT_UNREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004877311i32 as _ ) ; pub const DXGI_DDI_ERR_NONEXCLUSIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2005204989i32 as _ ) ; pub const DXGI_DDI_ERR_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2005204990i32 as _ ) ; pub const DXGI_DDI_ERR_WASSTILLDRAWING : :: windows :: HRESULT = :: windows :: HRESULT ( -2005204991i32 as _ ) ; pub const DXGI_STATUS_CLIPPED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213122i32 as _ ) ; pub const DXGI_STATUS_DDA_WAS_STILL_DRAWING : :: windows :: HRESULT = :: windows :: HRESULT ( 142213130i32 as _ ) ; pub const DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( 142213126i32 as _ ) ; pub const DXGI_STATUS_MODE_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213127i32 as _ ) ; pub const DXGI_STATUS_MODE_CHANGE_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( 142213128i32 as _ ) ; pub const DXGI_STATUS_NO_DESKTOP_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( 142213125i32 as _ ) ; pub const DXGI_STATUS_NO_REDIRECTION : :: windows :: HRESULT = :: windows :: HRESULT ( 142213124i32 as _ ) ; pub const DXGI_STATUS_OCCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213121i32 as _ ) ; pub const DXGI_STATUS_PRESENT_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213167i32 as _ ) ; pub const DXGI_STATUS_UNOCCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213129i32 as _ ) ; pub unsafe fn DuplicateHandle < 'a , Param0 : :: windows :: IntoParam < 'a , HANDLE > , Param1 : :: windows :: IntoParam < 'a , HANDLE > , Param2 : :: windows :: IntoParam < 'a , HANDLE > , Param5 : :: windows :: IntoParam < 'a , BOOL > , > ( hsourceprocesshandle : Param0 , hsourcehandle : Param1 , htargetprocesshandle : Param2 , lptargethandle : * mut HANDLE , dwdesiredaccess : u32 , binherithandle : Param5 , dwoptions : DUPLICATE_HANDLE_OPTIONS , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="kernel32" ) ] extern "system" { fn DuplicateHandle ( hsourceprocesshandle : HANDLE , hsourcehandle : HANDLE , htargetprocesshandle : HANDLE , lptargethandle : * mut HANDLE , dwdesiredaccess : u32 , binherithandle : BOOL , dwoptions : DUPLICATE_HANDLE_OPTIONS ) -> BOOL ; } :: std :: mem :: transmute ( DuplicateHandle ( hsourceprocesshandle . into_param ( ) . abi ( ) , hsourcehandle . into_param ( ) . abi ( ) , htargetprocesshandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lptargethandle ) , :: std :: mem :: transmute ( dwdesiredaccess ) , binherithandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwoptions ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const EAS_E_ADMINS_CANNOT_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913080i32 as _ ) ; pub const EAS_E_ADMINS_HAVE_BLANK_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913081i32 as _ ) ; pub const EAS_E_CONNECTED_ADMINS_NEED_TO_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913077i32 as _ ) ; pub const EAS_E_CURRENT_CONNECTED_USER_NEED_TO_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913075i32 as _ ) ; pub const EAS_E_CURRENT_USER_HAS_BLANK_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913084i32 as _ ) ; pub const EAS_E_LOCAL_CONTROLLED_USERS_CANNOT_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913079i32 as _ ) ; pub const EAS_E_PASSWORD_POLICY_NOT_ENFORCEABLE_FOR_CONNECTED_ADMINS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913078i32 as _ ) ; pub const EAS_E_PASSWORD_POLICY_NOT_ENFORCEABLE_FOR_CURRENT_CONNECTED_USER : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913076i32 as _ ) ; pub const EAS_E_POLICY_COMPLIANT_WITH_ACTIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913086i32 as _ ) ; pub const EAS_E_POLICY_NOT_MANAGED_BY_OS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913087i32 as _ ) ; pub const EAS_E_REQUESTED_POLICY_NOT_ENFORCEABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913085i32 as _ ) ; pub const EAS_E_REQUESTED_POLICY_PASSWORD_EXPIRATION_INCOMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913083i32 as _ ) ; pub const EAS_E_USER_CANNOT_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913082i32 as _ ) ; pub const ENUM_E_FIRST : i32 = -2147221072i32 ; pub const ENUM_E_LAST : i32 = -2147221057i32 ; pub const ENUM_S_FIRST : i32 = 262576i32 ; pub const ENUM_S_LAST : i32 = 262591i32 ; pub const EPT_NT_CANT_CREATE : NTSTATUS = NTSTATUS ( -1073610676i32 as _ ) ; pub const EPT_NT_CANT_PERFORM_OP : NTSTATUS = NTSTATUS ( -1073610699i32 as _ ) ; pub const EPT_NT_INVALID_ENTRY : NTSTATUS = NTSTATUS ( -1073610700i32 as _ ) ; pub const EPT_NT_NOT_REGISTERED : NTSTATUS = NTSTATUS ( -1073610698i32 as _ ) ; pub const ERROR_ALL_SIDS_FILTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -1073151998i32 as _ ) ; pub const ERROR_ATTRIBUTE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898422i32 as _ ) ; pub const ERROR_AUDITING_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1073151999i32 as _ ) ; pub const ERROR_BIZRULES_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1073151997i32 as _ ) ; pub const ERROR_CLIP_DEVICE_LICENSE_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406397i32 as _ ) ; pub const ERROR_CLIP_KEYHOLDER_LICENSE_MISSING_OR_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406395i32 as _ ) ; pub const ERROR_CLIP_LICENSE_DEVICE_ID_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406390i32 as _ ) ; pub const ERROR_CLIP_LICENSE_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406394i32 as _ ) ; pub const ERROR_CLIP_LICENSE_HARDWARE_ID_OUT_OF_TOLERANCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406391i32 as _ ) ; pub const ERROR_CLIP_LICENSE_INVALID_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406396i32 as _ ) ; pub const ERROR_CLIP_LICENSE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406398i32 as _ ) ; pub const ERROR_CLIP_LICENSE_NOT_SIGNED : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406392i32 as _ ) ; pub const ERROR_CLIP_LICENSE_SIGNED_BY_UNKNOWN_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406393i32 as _ ) ; pub const ERROR_CRED_REQUIRES_CONFIRMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865127i32 as _ ) ; pub const ERROR_DBG_ATTACH_PROCESS_FAILURE_LOCKDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2135949310i32 as _ ) ; pub const ERROR_DBG_CONNECT_SERVER_FAILURE_LOCKDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2135949309i32 as _ ) ; pub const ERROR_DBG_CREATE_PROCESS_FAILURE_LOCKDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2135949311i32 as _ ) ; pub const ERROR_DBG_START_SERVER_FAILURE_LOCKDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2135949308i32 as _ ) ; pub const ERROR_FLT_ALREADY_ENLISTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452005i32 as _ ) ; pub const ERROR_FLT_CBDQ_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452018i32 as _ ) ; pub const ERROR_FLT_CONTEXT_ALLOCATION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452010i32 as _ ) ; pub const ERROR_FLT_CONTEXT_ALREADY_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452030i32 as _ ) ; pub const ERROR_FLT_CONTEXT_ALREADY_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452004i32 as _ ) ; pub const ERROR_FLT_DELETING_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452021i32 as _ ) ; pub const ERROR_FLT_DISALLOW_FAST_IO : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452028i32 as _ ) ; pub const ERROR_FLT_DO_NOT_ATTACH : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452017i32 as _ ) ; pub const ERROR_FLT_DO_NOT_DETACH : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452016i32 as _ ) ; pub const ERROR_FLT_DUPLICATE_ENTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452019i32 as _ ) ; pub const ERROR_FLT_FILTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452013i32 as _ ) ; pub const ERROR_FLT_FILTER_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452024i32 as _ ) ; pub const ERROR_FLT_INSTANCE_ALTITUDE_COLLISION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452015i32 as _ ) ; pub const ERROR_FLT_INSTANCE_NAME_COLLISION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452014i32 as _ ) ; pub const ERROR_FLT_INSTANCE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452011i32 as _ ) ; pub const ERROR_FLT_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452022i32 as _ ) ; pub const ERROR_FLT_INVALID_ASYNCHRONOUS_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452029i32 as _ ) ; pub const ERROR_FLT_INVALID_CONTEXT_REGISTRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452009i32 as _ ) ; pub const ERROR_FLT_INVALID_NAME_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452027i32 as _ ) ; pub const ERROR_FLT_IO_COMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( 2031617i32 as _ ) ; pub const ERROR_FLT_MUST_BE_NONPAGED_POOL : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452020i32 as _ ) ; pub const ERROR_FLT_NAME_CACHE_MISS : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452008i32 as _ ) ; pub const ERROR_FLT_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452025i32 as _ ) ; pub const ERROR_FLT_NOT_SAFE_TO_POST_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452026i32 as _ ) ; pub const ERROR_FLT_NO_DEVICE_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452007i32 as _ ) ; pub const ERROR_FLT_NO_HANDLER_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452031i32 as _ ) ; pub const ERROR_FLT_NO_WAITER_FOR_REPLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452000i32 as _ ) ; pub const ERROR_FLT_POST_OPERATION_CLEANUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452023i32 as _ ) ; pub const ERROR_FLT_REGISTRATION_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145451997i32 as _ ) ; pub const ERROR_FLT_VOLUME_ALREADY_MOUNTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452006i32 as _ ) ; pub const ERROR_FLT_VOLUME_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452012i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_ACCESS_NOT_EXCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242181i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_CHAIN_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242189i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242456i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242455i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_WAS_RESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243261i32 as _ ) ; pub const ERROR_GRAPHICS_ALLOCATION_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243006i32 as _ ) ; pub const ERROR_GRAPHICS_ALLOCATION_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242990i32 as _ ) ; pub const ERROR_GRAPHICS_ALLOCATION_CONTENT_LOST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242986i32 as _ ) ; pub const ERROR_GRAPHICS_ALLOCATION_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243002i32 as _ ) ; pub const ERROR_GRAPHICS_CANCEL_VIDPN_TOPOLOGY_AUGMENTATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242406i32 as _ ) ; pub const ERROR_GRAPHICS_CANNOTCOLORCONVERT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243256i32 as _ ) ; pub const ERROR_GRAPHICS_CANT_ACCESS_ACTIVE_VIDPN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242429i32 as _ ) ; pub const ERROR_GRAPHICS_CANT_EVICT_PINNED_ALLOCATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242999i32 as _ ) ; pub const ERROR_GRAPHICS_CANT_LOCK_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243007i32 as _ ) ; pub const ERROR_GRAPHICS_CANT_RENDER_LOCKED_ALLOCATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242991i32 as _ ) ; pub const ERROR_GRAPHICS_CHAINLINKS_NOT_ENUMERATED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242190i32 as _ ) ; pub const ERROR_GRAPHICS_CHAINLINKS_NOT_POWERED_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242187i32 as _ ) ; pub const ERROR_GRAPHICS_CHAINLINKS_NOT_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242188i32 as _ ) ; pub const ERROR_GRAPHICS_CHILD_DESCRIPTOR_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242239i32 as _ ) ; pub const ERROR_GRAPHICS_CLIENTVIDPN_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242404i32 as _ ) ; pub const ERROR_GRAPHICS_COPP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241983i32 as _ ) ; pub const ERROR_GRAPHICS_DATASET_IS_EMPTY : :: windows :: HRESULT = :: windows :: HRESULT ( 2499403i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_CURRENT_CURRENT_VALUE_GREATER_THAN_MAXIMUM_VALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241768i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_INVALID_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241851i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_INVALID_MESSAGE_CHECKSUM : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241845i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_INVALID_MESSAGE_COMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241847i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_INVALID_MESSAGE_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241846i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_MONITOR_RETURNED_INVALID_TIMING_STATUS_BYTE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241850i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_VCP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241852i32 as _ ) ; pub const ERROR_GRAPHICS_DEPENDABLE_CHILD_STATUS : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241468i32 as _ ) ; pub const ERROR_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241758i32 as _ ) ; pub const ERROR_GRAPHICS_DRIVER_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243255i32 as _ ) ; pub const ERROR_GRAPHICS_EMPTY_ADAPTER_MONITOR_MODE_SUPPORT_INTERSECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242459i32 as _ ) ; pub const ERROR_GRAPHICS_FREQUENCYRANGE_ALREADY_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242465i32 as _ ) ; pub const ERROR_GRAPHICS_FREQUENCYRANGE_NOT_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242467i32 as _ ) ; pub const ERROR_GRAPHICS_GAMMA_RAMP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242424i32 as _ ) ; pub const ERROR_GRAPHICS_GPU_EXCEPTION_ON_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242752i32 as _ ) ; pub const ERROR_GRAPHICS_I2C_DEVICE_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241855i32 as _ ) ; pub const ERROR_GRAPHICS_I2C_ERROR_RECEIVING_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241853i32 as _ ) ; pub const ERROR_GRAPHICS_I2C_ERROR_TRANSMITTING_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241854i32 as _ ) ; pub const ERROR_GRAPHICS_I2C_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241856i32 as _ ) ; pub const ERROR_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242411i32 as _ ) ; pub const ERROR_GRAPHICS_INCONSISTENT_DEVICE_LINK_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242186i32 as _ ) ; pub const ERROR_GRAPHICS_INDIRECT_DISPLAY_ABANDON_SWAPCHAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243246i32 as _ ) ; pub const ERROR_GRAPHICS_INDIRECT_DISPLAY_DEVICE_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243245i32 as _ ) ; pub const ERROR_GRAPHICS_INSUFFICIENT_DMA_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243263i32 as _ ) ; pub const ERROR_GRAPHICS_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241753i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_ACTIVE_REGION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242485i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_ALLOCATION_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242988i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_ALLOCATION_INSTANCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242989i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_ALLOCATION_USAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242992i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_CLIENT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242405i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_COLORBASIS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242434i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_COPYPROTECTION_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242417i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_DISPLAY_ADAPTER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243262i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_DRIVER_MODEL : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243260i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_FREQUENCY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242486i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_GAMMA_RAMP : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242425i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MODE_PRUNING_ALGORITHM : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242410i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITORDESCRIPTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242453i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITORDESCRIPTORSET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242454i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_CAPABILITY_ORIGIN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242409i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242468i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242469i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE_CONSTRAINT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242408i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_SOURCEMODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242463i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_SOURCE_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242462i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PATH_CONTENT_GEOMETRY_TRANSFORMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242427i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PATH_CONTENT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242418i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PATH_IMPORTANCE_ORDINAL : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242428i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PHYSICAL_MONITOR_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241844i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PIXELFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242435i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PIXELVALUEACCESSMODE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242433i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241756i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242438i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_SCANLINE_ORDERING : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242414i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_STRIDE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242436i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_TOTAL_REGION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242484i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEOPRESENTSOURCESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242475i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEOPRESENTTARGETSET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242474i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242492i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242480i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242491i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242479i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242493i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_PRESENT_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242471i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_SOURCEMODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242488i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_TARGETMODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242487i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242449i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242496i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_TOPOLOGY_RECOMMENDATION_REASON : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242419i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VISIBLEREGION_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242437i32 as _ ) ; pub const ERROR_GRAPHICS_LEADLINK_NOT_ENUMERATED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242191i32 as _ ) ; pub const ERROR_GRAPHICS_LEADLINK_START_DEFERRED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241463i32 as _ ) ; pub const ERROR_GRAPHICS_MAX_NUM_PATHS_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242407i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241848i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_INVALID_CAPABILITIES_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241849i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_INVALID_TECHNOLOGY_TYPE_RETURNED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241762i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_INVALID_VCP_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241767i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_MCCS_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241765i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_MONITOR_VIOLATES_MCCS_SPECIFICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241766i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_UNSUPPORTED_COLOR_TEMPERATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241761i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_UNSUPPORTED_MCCS_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241764i32 as _ ) ; pub const ERROR_GRAPHICS_MIRRORING_DEVICES_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241757i32 as _ ) ; pub const ERROR_GRAPHICS_MODE_ALREADY_IN_MODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242476i32 as _ ) ; pub const ERROR_GRAPHICS_MODE_ID_MUST_BE_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242460i32 as _ ) ; pub const ERROR_GRAPHICS_MODE_NOT_IN_MODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242422i32 as _ ) ; pub const ERROR_GRAPHICS_MODE_NOT_PINNED : :: windows :: HRESULT = :: windows :: HRESULT ( 2499335i32 as _ ) ; pub const ERROR_GRAPHICS_MONITORDESCRIPTOR_ALREADY_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242451i32 as _ ) ; pub const ERROR_GRAPHICS_MONITORDESCRIPTOR_ID_MUST_BE_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242450i32 as _ ) ; pub const ERROR_GRAPHICS_MONITORDESCRIPTOR_NOT_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242452i32 as _ ) ; pub const ERROR_GRAPHICS_MONITOR_COULD_NOT_BE_ASSOCIATED_WITH_ADAPTER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242444i32 as _ ) ; pub const ERROR_GRAPHICS_MONITOR_NOT_CONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242440i32 as _ ) ; pub const ERROR_GRAPHICS_MONITOR_NO_LONGER_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241843i32 as _ ) ; pub const ERROR_GRAPHICS_MULTISAMPLING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242423i32 as _ ) ; pub const ERROR_GRAPHICS_NOT_A_LINKED_ADAPTER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242192i32 as _ ) ; pub const ERROR_GRAPHICS_NOT_EXCLUSIVE_MODE_OWNER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243264i32 as _ ) ; pub const ERROR_GRAPHICS_NOT_POST_DEVICE_DRIVER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242184i32 as _ ) ; pub const ERROR_GRAPHICS_NO_ACTIVE_VIDPN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242442i32 as _ ) ; pub const ERROR_GRAPHICS_NO_AVAILABLE_IMPORTANCE_ORDINALS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242412i32 as _ ) ; pub const ERROR_GRAPHICS_NO_AVAILABLE_VIDPN_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242445i32 as _ ) ; pub const ERROR_GRAPHICS_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241759i32 as _ ) ; pub const ERROR_GRAPHICS_NO_DISPLAY_MODE_MANAGEMENT_SUPPORT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242431i32 as _ ) ; pub const ERROR_GRAPHICS_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241755i32 as _ ) ; pub const ERROR_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET : :: windows :: HRESULT = :: windows :: HRESULT ( 2499404i32 as _ ) ; pub const ERROR_GRAPHICS_NO_PREFERRED_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( 2499358i32 as _ ) ; pub const ERROR_GRAPHICS_NO_RECOMMENDED_FUNCTIONAL_VIDPN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242461i32 as _ ) ; pub const ERROR_GRAPHICS_NO_RECOMMENDED_VIDPN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242470i32 as _ ) ; pub const ERROR_GRAPHICS_NO_VIDEO_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243008i32 as _ ) ; pub const ERROR_GRAPHICS_NO_VIDPNMGR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242443i32 as _ ) ; pub const ERROR_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241760i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_ALL_HDCP_HARDWARE_ALREADY_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241960i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_DRIVER_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241954i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_HDCP_SRM_NEVER_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241962i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241973i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_CONFIGURATION_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241951i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_ENCRYPTED_PARAMETERS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241981i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241972i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_INFORMATION_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241955i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_SRM : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241966i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241984i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_NO_VIDEO_OUTPUTS_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241979i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_ACP : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241964i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_CGMSA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241963i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_HDCP : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241965i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_RESOLUTION_TOO_HIGH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241961i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_SESSION_TYPE_CHANGE_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241957i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_SIGNALING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241952i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_SPANNING_MODE_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241969i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_THEATER_MODE_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241968i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_VIDEO_OUTPUT_DOES_NOT_HAVE_COPP_SEMANTICS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241956i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_VIDEO_OUTPUT_DOES_NOT_HAVE_OPM_SEMANTICS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241953i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_VIDEO_OUTPUT_NO_LONGER_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241958i32 as _ ) ; pub const ERROR_GRAPHICS_PARAMETER_ARRAY_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241754i32 as _ ) ; pub const ERROR_GRAPHICS_PARTIAL_DATA_POPULATED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076240394i32 as _ ) ; pub const ERROR_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242477i32 as _ ) ; pub const ERROR_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED : :: windows :: HRESULT = :: windows :: HRESULT ( 2499409i32 as _ ) ; pub const ERROR_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242426i32 as _ ) ; pub const ERROR_GRAPHICS_PATH_NOT_IN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242457i32 as _ ) ; pub const ERROR_GRAPHICS_PINNED_MODE_MUST_REMAIN_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242478i32 as _ ) ; pub const ERROR_GRAPHICS_POLLING_TOO_FREQUENTLY : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241465i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_BUFFER_NOT_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243248i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243257i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_INVALID_WINDOW : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243249i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_MODE_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243259i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_OCCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243258i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_REDIRECTION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243253i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_UNOCCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243252i32 as _ ) ; pub const ERROR_GRAPHICS_PVP_HFS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241967i32 as _ ) ; pub const ERROR_GRAPHICS_PVP_INVALID_CERTIFICATE_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241970i32 as _ ) ; pub const ERROR_GRAPHICS_RESOURCES_NOT_RELATED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242448i32 as _ ) ; pub const ERROR_GRAPHICS_SESSION_TYPE_CHANGE_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071249944i32 as _ ) ; pub const ERROR_GRAPHICS_SKIP_ALLOCATION_PREPARATION : :: windows :: HRESULT = :: windows :: HRESULT ( 1076240897i32 as _ ) ; pub const ERROR_GRAPHICS_SOURCE_ALREADY_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242473i32 as _ ) ; pub const ERROR_GRAPHICS_SOURCE_ID_MUST_BE_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242447i32 as _ ) ; pub const ERROR_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242439i32 as _ ) ; pub const ERROR_GRAPHICS_SPECIFIED_CHILD_ALREADY_CONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242240i32 as _ ) ; pub const ERROR_GRAPHICS_STALE_MODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242464i32 as _ ) ; pub const ERROR_GRAPHICS_STALE_VIDPN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242441i32 as _ ) ; pub const ERROR_GRAPHICS_START_DEFERRED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241466i32 as _ ) ; pub const ERROR_GRAPHICS_TARGET_ALREADY_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242472i32 as _ ) ; pub const ERROR_GRAPHICS_TARGET_ID_MUST_BE_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242446i32 as _ ) ; pub const ERROR_GRAPHICS_TARGET_NOT_IN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242432i32 as _ ) ; pub const ERROR_GRAPHICS_TOO_MANY_REFERENCES : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243005i32 as _ ) ; pub const ERROR_GRAPHICS_TOPOLOGY_CHANGES_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242413i32 as _ ) ; pub const ERROR_GRAPHICS_TRY_AGAIN_LATER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243004i32 as _ ) ; pub const ERROR_GRAPHICS_TRY_AGAIN_NOW : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243003i32 as _ ) ; pub const ERROR_GRAPHICS_UAB_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241982i32 as _ ) ; pub const ERROR_GRAPHICS_UNASSIGNED_MODESET_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242416i32 as _ ) ; pub const ERROR_GRAPHICS_UNKNOWN_CHILD_STATUS : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241455i32 as _ ) ; pub const ERROR_GRAPHICS_UNSWIZZLING_APERTURE_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243001i32 as _ ) ; pub const ERROR_GRAPHICS_UNSWIZZLING_APERTURE_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243000i32 as _ ) ; pub const ERROR_GRAPHICS_VAIL_FAILED_TO_SEND_CREATE_SUPERWETINK_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243244i32 as _ ) ; pub const ERROR_GRAPHICS_VAIL_FAILED_TO_SEND_DESTROY_SUPERWETINK_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243243i32 as _ ) ; pub const ERROR_GRAPHICS_VAIL_STATE_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243247i32 as _ ) ; pub const ERROR_GRAPHICS_VIDEO_PRESENT_TARGETS_LESS_THAN_SOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242458i32 as _ ) ; pub const ERROR_GRAPHICS_VIDPN_MODALITY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242490i32 as _ ) ; pub const ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242430i32 as _ ) ; pub const ERROR_GRAPHICS_VIDPN_TOPOLOGY_CURRENTLY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242494i32 as _ ) ; pub const ERROR_GRAPHICS_VIDPN_TOPOLOGY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242495i32 as _ ) ; pub const ERROR_GRAPHICS_WINDOWDC_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243251i32 as _ ) ; pub const ERROR_GRAPHICS_WINDOWLESS_PRESENT_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243250i32 as _ ) ; pub const ERROR_GRAPHICS_WRONG_ALLOCATION_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242987i32 as _ ) ; pub const ERROR_HUNG_DISPLAY_DRIVER_THREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144993279i32 as _ ) ; pub const ERROR_IO_PREEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1996423167i32 as _ ) ; pub const ERROR_MONITOR_INVALID_DESCRIPTOR_CHECKSUM : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247357i32 as _ ) ; pub const ERROR_MONITOR_INVALID_DETAILED_TIMING_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247351i32 as _ ) ; pub const ERROR_MONITOR_INVALID_MANUFACTURE_DATE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247350i32 as _ ) ; pub const ERROR_MONITOR_INVALID_SERIAL_NUMBER_MONDSC_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247354i32 as _ ) ; pub const ERROR_MONITOR_INVALID_STANDARD_TIMING_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247356i32 as _ ) ; pub const ERROR_MONITOR_INVALID_USER_FRIENDLY_MONDSC_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247353i32 as _ ) ; pub const ERROR_MONITOR_NO_DESCRIPTOR : :: windows :: HRESULT = :: windows :: HRESULT ( 2494465i32 as _ ) ; pub const ERROR_MONITOR_NO_MORE_DESCRIPTOR_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247352i32 as _ ) ; pub const ERROR_MONITOR_UNKNOWN_DESCRIPTOR_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( 2494466i32 as _ ) ; pub const ERROR_MONITOR_WMI_DATABLOCK_REGISTRATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247355i32 as _ ) ; pub const ERROR_NOT_A_TIERED_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898423i32 as _ ) ; pub const ERROR_NO_APPLICABLE_APP_LICENSES_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406399i32 as _ ) ; pub const ERROR_QUIC_HANDSHAKE_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143223808i32 as _ ) ; pub const ERROR_QUIC_VER_NEG_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143223807i32 as _ ) ; pub const ERROR_SECCORE_INVALID_COMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -1058537472i32 as _ ) ; pub const ERROR_SMB_BAD_CLUSTER_DIALECT : :: windows :: HRESULT = :: windows :: HRESULT ( -1067646975i32 as _ ) ; pub const ERROR_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -1067646976i32 as _ ) ; pub const ERROR_SPACES_ALLOCATION_SIZE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344818i32 as _ ) ; pub const ERROR_SPACES_DRIVE_OPERATIONAL_STATE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344814i32 as _ ) ; pub const ERROR_SPACES_DRIVE_REDUNDANCY_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344826i32 as _ ) ; pub const ERROR_SPACES_DRIVE_SECTOR_SIZE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344828i32 as _ ) ; pub const ERROR_SPACES_ENCLOSURE_AWARE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344817i32 as _ ) ; pub const ERROR_SPACES_ENTRY_INCOMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344813i32 as _ ) ; pub const ERROR_SPACES_ENTRY_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344812i32 as _ ) ; pub const ERROR_SPACES_EXTENDED_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344820i32 as _ ) ; pub const ERROR_SPACES_FAULT_DOMAIN_TYPE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344831i32 as _ ) ; pub const ERROR_SPACES_INTERLEAVE_LENGTH_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344823i32 as _ ) ; pub const ERROR_SPACES_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344830i32 as _ ) ; pub const ERROR_SPACES_NOT_ENOUGH_DRIVES : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344821i32 as _ ) ; pub const ERROR_SPACES_NUMBER_OF_COLUMNS_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344822i32 as _ ) ; pub const ERROR_SPACES_NUMBER_OF_DATA_COPIES_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344825i32 as _ ) ; pub const ERROR_SPACES_NUMBER_OF_GROUPS_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344815i32 as _ ) ; pub const ERROR_SPACES_PARITY_LAYOUT_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344824i32 as _ ) ; pub const ERROR_SPACES_POOL_WAS_DELETED : :: windows :: HRESULT = :: windows :: HRESULT ( 15138817i32 as _ ) ; pub const ERROR_SPACES_PROVISIONING_TYPE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344819i32 as _ ) ; pub const ERROR_SPACES_RESILIENCY_TYPE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344829i32 as _ ) ; pub const ERROR_SPACES_WRITE_CACHE_SIZE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344816i32 as _ ) ; pub const ERROR_SVHDX_ERROR_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647232i32 as _ ) ; pub const ERROR_SVHDX_ERROR_STORED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067712512i32 as _ ) ; pub const ERROR_SVHDX_NO_INITIATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647221i32 as _ ) ; pub const ERROR_SVHDX_RESERVATION_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647225i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647231i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_CAPACITY_DATA_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647230i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_OPERATING_DEFINITION_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647226i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_REGISTRATIONS_PREEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647227i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_RESERVATIONS_PREEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647229i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_RESERVATIONS_RELEASED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647228i32 as _ ) ; pub const ERROR_SVHDX_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647223i32 as _ ) ; pub const ERROR_SVHDX_WRONG_FILE_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647224i32 as _ ) ; pub const ERROR_TIERING_ALREADY_PROCESSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898426i32 as _ ) ; pub const ERROR_TIERING_CANNOT_PIN_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898425i32 as _ ) ; pub const ERROR_TIERING_FILE_IS_NOT_PINNED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898424i32 as _ ) ; pub const ERROR_TIERING_INVALID_FILE_ID : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898428i32 as _ ) ; pub const ERROR_TIERING_NOT_SUPPORTED_ON_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898431i32 as _ ) ; pub const ERROR_TIERING_STORAGE_TIER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898429i32 as _ ) ; pub const ERROR_TIERING_VOLUME_DISMOUNT_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898430i32 as _ ) ; pub const ERROR_TIERING_WRONG_CLUSTER_NODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898427i32 as _ ) ; pub const ERROR_VHDSET_BACKING_STORAGE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647220i32 as _ ) ; pub const ERROR_VHD_SHARED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647222i32 as _ ) ; pub const ERROR_VOLSNAP_ACTIVATION_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138963966i32 as _ ) ; pub const ERROR_VOLSNAP_BOOTFILE_NOT_VALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2138963967i32 as _ ) ; pub const EVENT_E_ALL_SUBSCRIBERS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220991i32 as _ ) ; pub const EVENT_E_CANT_MODIFY_OR_DELETE_CONFIGURED_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220978i32 as _ ) ; pub const EVENT_E_CANT_MODIFY_OR_DELETE_UNCONFIGURED_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220979i32 as _ ) ; pub const EVENT_E_COMPLUS_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220980i32 as _ ) ; pub const EVENT_E_FIRST : i32 = -2147220992i32 ; pub const EVENT_E_INTERNALERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220986i32 as _ ) ; pub const EVENT_E_INTERNALEXCEPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220987i32 as _ ) ; pub const EVENT_E_INVALID_EVENT_CLASS_PARTITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220977i32 as _ ) ; pub const EVENT_E_INVALID_PER_USER_SID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220985i32 as _ ) ; pub const EVENT_E_LAST : i32 = -2147220961i32 ; pub const EVENT_E_MISSING_EVENTCLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220982i32 as _ ) ; pub const EVENT_E_NOT_ALL_REMOVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220981i32 as _ ) ; pub const EVENT_E_PER_USER_SID_NOT_LOGGED_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220976i32 as _ ) ; pub const EVENT_E_QUERYFIELD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220988i32 as _ ) ; pub const EVENT_E_QUERYSYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220989i32 as _ ) ; pub const EVENT_E_TOO_MANY_METHODS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220983i32 as _ ) ; pub const EVENT_E_USER_EXCEPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220984i32 as _ ) ; pub const EVENT_S_FIRST : i32 = 262656i32 ; pub const EVENT_S_LAST : i32 = 262687i32 ; pub const EVENT_S_NOSUBSCRIBERS : :: windows :: HRESULT = :: windows :: HRESULT ( 262658i32 as _ ) ; pub const EVENT_S_SOME_SUBSCRIBERS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( 262656i32 as _ ) ; pub const E_ABORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467260i32 as _ ) ; pub const E_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147024891i32 as _ ) ; pub const E_APPLICATION_ACTIVATION_EXEC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927141i32 as _ ) ; pub const E_APPLICATION_ACTIVATION_TIMED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927142i32 as _ ) ; pub const E_APPLICATION_EXITING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483622i32 as _ ) ; pub const E_APPLICATION_MANAGER_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927145i32 as _ ) ; pub const E_APPLICATION_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927148i32 as _ ) ; pub const E_APPLICATION_TEMPORARY_LICENSE_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927140i32 as _ ) ; pub const E_APPLICATION_TRIAL_LICENSE_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927139i32 as _ ) ; pub const E_APPLICATION_VIEW_EXITING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483621i32 as _ ) ; pub const E_ASYNC_OPERATION_NOT_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483623i32 as _ ) ; pub const E_AUDIO_ENGINE_NODE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798975i32 as _ ) ; pub const E_BLUETOOTH_ATT_ATTRIBUTE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864502i32 as _ ) ; pub const E_BLUETOOTH_ATT_ATTRIBUTE_NOT_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864501i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_AUTHENTICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864507i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_AUTHORIZATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864504i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_ENCRYPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864497i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_ENCRYPTION_KEY_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864500i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864495i32 as _ ) ; pub const E_BLUETOOTH_ATT_INVALID_ATTRIBUTE_VALUE_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864499i32 as _ ) ; pub const E_BLUETOOTH_ATT_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864511i32 as _ ) ; pub const E_BLUETOOTH_ATT_INVALID_OFFSET : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864505i32 as _ ) ; pub const E_BLUETOOTH_ATT_INVALID_PDU : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864508i32 as _ ) ; pub const E_BLUETOOTH_ATT_PREPARE_QUEUE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864503i32 as _ ) ; pub const E_BLUETOOTH_ATT_READ_NOT_PERMITTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864510i32 as _ ) ; pub const E_BLUETOOTH_ATT_REQUEST_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864506i32 as _ ) ; pub const E_BLUETOOTH_ATT_UNKNOWN_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2140860416i32 as _ ) ; pub const E_BLUETOOTH_ATT_UNLIKELY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864498i32 as _ ) ; pub const E_BLUETOOTH_ATT_UNSUPPORTED_GROUP_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864496i32 as _ ) ; pub const E_BLUETOOTH_ATT_WRITE_NOT_PERMITTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864509i32 as _ ) ; pub const E_BOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483637i32 as _ ) ; pub const E_CHANGED_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483636i32 as _ ) ; pub const E_ELEVATED_ACTIVATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927151i32 as _ ) ; pub const E_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467259i32 as _ ) ; pub const E_FULL_ADMIN_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927149i32 as _ ) ; pub const E_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147024890i32 as _ ) ; pub const E_HDAUDIO_CONNECTION_LIST_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798973i32 as _ ) ; pub const E_HDAUDIO_EMPTY_CONNECTION_LIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798974i32 as _ ) ; pub const E_HDAUDIO_NO_LOGICAL_DEVICES_CREATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798972i32 as _ ) ; pub const E_HDAUDIO_NULL_LINKED_LIST_ENTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798971i32 as _ ) ; pub const E_ILLEGAL_DELEGATE_ASSIGNMENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483624i32 as _ ) ; pub const E_ILLEGAL_METHOD_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483634i32 as _ ) ; pub const E_ILLEGAL_STATE_CHANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483635i32 as _ ) ; pub const E_INVALIDARG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147024809i32 as _ ) ; pub const E_INVALID_PROTOCOL_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418750i32 as _ ) ; pub const E_INVALID_PROTOCOL_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418751i32 as _ ) ; pub const E_MBN_BAD_SIM : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945342i32 as _ ) ; pub const E_MBN_CONTEXT_NOT_ACTIVATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945343i32 as _ ) ; pub const E_MBN_DATA_CLASS_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945341i32 as _ ) ; pub const E_MBN_DEFAULT_PROFILE_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945319i32 as _ ) ; pub const E_MBN_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945326i32 as _ ) ; pub const E_MBN_INVALID_ACCESS_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945340i32 as _ ) ; pub const E_MBN_INVALID_CACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945332i32 as _ ) ; pub const E_MBN_INVALID_PROFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945320i32 as _ ) ; pub const E_MBN_MAX_ACTIVATED_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945339i32 as _ ) ; pub const E_MBN_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945331i32 as _ ) ; pub const E_MBN_PACKET_SVC_DETACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945338i32 as _ ) ; pub const E_MBN_PIN_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945327i32 as _ ) ; pub const E_MBN_PIN_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945329i32 as _ ) ; pub const E_MBN_PIN_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945328i32 as _ ) ; pub const E_MBN_PROVIDERS_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945330i32 as _ ) ; pub const E_MBN_PROVIDER_NOT_VISIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945337i32 as _ ) ; pub const E_MBN_RADIO_POWER_OFF : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945336i32 as _ ) ; pub const E_MBN_SERVICE_NOT_ACTIVATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945335i32 as _ ) ; pub const E_MBN_SIM_NOT_INSERTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945334i32 as _ ) ; pub const E_MBN_SMS_ENCODING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945312i32 as _ ) ; pub const E_MBN_SMS_FILTER_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945311i32 as _ ) ; pub const E_MBN_SMS_FORMAT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945305i32 as _ ) ; pub const E_MBN_SMS_INVALID_MEMORY_INDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945310i32 as _ ) ; pub const E_MBN_SMS_LANG_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945309i32 as _ ) ; pub const E_MBN_SMS_MEMORY_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945308i32 as _ ) ; pub const E_MBN_SMS_MEMORY_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945303i32 as _ ) ; pub const E_MBN_SMS_NETWORK_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945307i32 as _ ) ; pub const E_MBN_SMS_OPERATION_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945304i32 as _ ) ; pub const E_MBN_SMS_UNKNOWN_SMSC_ADDRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945306i32 as _ ) ; pub const E_MBN_VOICE_CALL_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945333i32 as _ ) ; pub const E_MONITOR_RESOLUTION_TOO_LOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927152i32 as _ ) ; pub const E_MULTIPLE_EXTENSIONS_FOR_APPLICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927147i32 as _ ) ; pub const E_MULTIPLE_PACKAGES_FOR_FAMILY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927146i32 as _ ) ; pub const E_NOINTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467262i32 as _ ) ; pub const E_NOTIMPL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467263i32 as _ ) ; pub const E_OUTOFMEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147024882i32 as _ ) ; pub const E_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467261i32 as _ ) ; pub const E_PROTOCOL_EXTENSIONS_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418749i32 as _ ) ; pub const E_PROTOCOL_VERSION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418747i32 as _ ) ; pub const E_SKYDRIVE_FILE_NOT_UPLOADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927133i32 as _ ) ; pub const E_SKYDRIVE_ROOT_TARGET_CANNOT_INDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927134i32 as _ ) ; pub const E_SKYDRIVE_ROOT_TARGET_FILE_SYSTEM_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927136i32 as _ ) ; pub const E_SKYDRIVE_ROOT_TARGET_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927135i32 as _ ) ; pub const E_SKYDRIVE_ROOT_TARGET_VOLUME_ROOT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927131i32 as _ ) ; pub const E_SKYDRIVE_UPDATE_AVAILABILITY_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927132i32 as _ ) ; pub const E_STRING_NOT_NULL_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483625i32 as _ ) ; pub const E_SUBPROTOCOL_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418748i32 as _ ) ; pub const E_SYNCENGINE_CLIENT_UPDATE_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081594i32 as _ ) ; pub const E_SYNCENGINE_FILE_IDENTIFIER_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085694i32 as _ ) ; pub const E_SYNCENGINE_FILE_SIZE_EXCEEDS_REMAINING_QUOTA : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089790i32 as _ ) ; pub const E_SYNCENGINE_FILE_SIZE_OVER_LIMIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089791i32 as _ ) ; pub const E_SYNCENGINE_FILE_SYNC_PARTNER_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089787i32 as _ ) ; pub const E_SYNCENGINE_FOLDER_INACCESSIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081599i32 as _ ) ; pub const E_SYNCENGINE_FOLDER_IN_REDIRECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081589i32 as _ ) ; pub const E_SYNCENGINE_FOLDER_ITEM_COUNT_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089788i32 as _ ) ; pub const E_SYNCENGINE_PATH_LENGTH_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081596i32 as _ ) ; pub const E_SYNCENGINE_PROXY_AUTHENTICATION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081593i32 as _ ) ; pub const E_SYNCENGINE_REMOTE_PATH_LENGTH_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081595i32 as _ ) ; pub const E_SYNCENGINE_REQUEST_BLOCKED_BY_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085690i32 as _ ) ; pub const E_SYNCENGINE_REQUEST_BLOCKED_DUE_TO_CLIENT_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085689i32 as _ ) ; pub const E_SYNCENGINE_SERVICE_AUTHENTICATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085693i32 as _ ) ; pub const E_SYNCENGINE_SERVICE_RETURNED_UNEXPECTED_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085691i32 as _ ) ; pub const E_SYNCENGINE_STORAGE_SERVICE_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081590i32 as _ ) ; pub const E_SYNCENGINE_STORAGE_SERVICE_PROVISIONING_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081592i32 as _ ) ; pub const E_SYNCENGINE_SYNC_PAUSED_BY_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089786i32 as _ ) ; pub const E_SYNCENGINE_UNKNOWN_SERVICE_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085692i32 as _ ) ; pub const E_SYNCENGINE_UNSUPPORTED_FILE_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089789i32 as _ ) ; pub const E_SYNCENGINE_UNSUPPORTED_FOLDER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081598i32 as _ ) ; pub const E_SYNCENGINE_UNSUPPORTED_MARKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081597i32 as _ ) ; pub const E_SYNCENGINE_UNSUPPORTED_REPARSE_POINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081591i32 as _ ) ; pub const E_UAC_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927150i32 as _ ) ; pub const E_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418113i32 as _ ) ; pub const FACILTIY_MUI_ERROR_CODE : u32 = 11u32 ; pub type FARPROC = unsafe extern "system" fn ( ) -> isize ; pub const FA_E_HOMEGROUP_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927198i32 as _ ) ; pub const FA_E_MAX_PERSISTED_ITEMS_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927200i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILETIME { pub dwLowDateTime : u32 , pub dwHighDateTime : u32 } impl FILETIME { } impl :: std :: default :: Default for FILETIME { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for FILETIME { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILETIME" ) . field ( "dwLowDateTime" , & self . dwLowDateTime ) . field ( "dwHighDateTime" , & self . dwHighDateTime ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILETIME { fn eq ( & self , other : & Self ) -> bool { self . dwLowDateTime == other . dwLowDateTime && self . dwHighDateTime == other . dwHighDateTime } } impl :: std :: cmp :: Eq for FILETIME { } unsafe impl :: windows :: Abi for FILETIME { type Abi = Self ; type DefaultType = Self ; } pub const FRS_ERR_AUTHENTICATION : i32 = 8008i32 ; pub const FRS_ERR_CHILD_TO_PARENT_COMM : i32 = 8011i32 ; pub const FRS_ERR_INSUFFICIENT_PRIV : i32 = 8007i32 ; pub const FRS_ERR_INTERNAL : i32 = 8005i32 ; pub const FRS_ERR_INTERNAL_API : i32 = 8004i32 ; pub const FRS_ERR_INVALID_API_SEQUENCE : i32 = 8001i32 ; pub const FRS_ERR_INVALID_SERVICE_PARAMETER : i32 = 8017i32 ; pub const FRS_ERR_PARENT_AUTHENTICATION : i32 = 8010i32 ; pub const FRS_ERR_PARENT_INSUFFICIENT_PRIV : i32 = 8009i32 ; pub const FRS_ERR_PARENT_TO_CHILD_COMM : i32 = 8012i32 ; pub const FRS_ERR_SERVICE_COMM : i32 = 8006i32 ; pub const FRS_ERR_STARTING_SERVICE : i32 = 8002i32 ; pub const FRS_ERR_STOPPING_SERVICE : i32 = 8003i32 ; pub const FRS_ERR_SYSVOL_DEMOTE : i32 = 8016i32 ; pub const FRS_ERR_SYSVOL_IS_BUSY : i32 = 8015i32 ; pub const FRS_ERR_SYSVOL_POPULATE : i32 = 8013i32 ; pub const FRS_ERR_SYSVOL_POPULATE_TIMEOUT : i32 = 8014i32 ; pub const FVE_E_AAD_ENDPOINT_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272159i32 as _ ) ; pub const FVE_E_ACTION_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272375i32 as _ ) ; pub const FVE_E_ADBACKUP_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272171i32 as _ ) ; pub const FVE_E_AD_ATTR_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272370i32 as _ ) ; pub const FVE_E_AD_BACKUP_REQUIRED_POLICY_NOT_SET_FIXED_DRIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272165i32 as _ ) ; pub const FVE_E_AD_BACKUP_REQUIRED_POLICY_NOT_SET_OS_DRIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272166i32 as _ ) ; pub const FVE_E_AD_BACKUP_REQUIRED_POLICY_NOT_SET_REMOVABLE_DRIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272164i32 as _ ) ; pub const FVE_E_AD_GUID_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272369i32 as _ ) ; pub const FVE_E_AD_INSUFFICIENT_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272358i32 as _ ) ; pub const FVE_E_AD_INVALID_DATASIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272372i32 as _ ) ; pub const FVE_E_AD_INVALID_DATATYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272373i32 as _ ) ; pub const FVE_E_AD_NO_VALUES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272371i32 as _ ) ; pub const FVE_E_AD_SCHEMA_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272374i32 as _ ) ; pub const FVE_E_AUTH_INVALID_APPLICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272316i32 as _ ) ; pub const FVE_E_AUTH_INVALID_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272315i32 as _ ) ; pub const FVE_E_AUTOUNLOCK_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272343i32 as _ ) ; pub const FVE_E_BAD_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272362i32 as _ ) ; pub const FVE_E_BAD_INFORMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272368i32 as _ ) ; pub const FVE_E_BAD_PARTITION_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272364i32 as _ ) ; pub const FVE_E_BCD_APPLICATIONS_PATH_INCORRECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272302i32 as _ ) ; pub const FVE_E_BOOTABLE_CDDVD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272336i32 as _ ) ; pub const FVE_E_BUFFER_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272177i32 as _ ) ; pub const FVE_E_CANNOT_ENCRYPT_NO_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272338i32 as _ ) ; pub const FVE_E_CANNOT_SET_FVEK_ENCRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272339i32 as _ ) ; pub const FVE_E_CANT_LOCK_AUTOUNLOCK_ENABLED_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272233i32 as _ ) ; pub const FVE_E_CLUSTERING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272354i32 as _ ) ; pub const FVE_E_CONV_READ : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272357i32 as _ ) ; pub const FVE_E_CONV_RECOVERY_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272248i32 as _ ) ; pub const FVE_E_CONV_WRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272356i32 as _ ) ; pub const FVE_E_DEBUGGER_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272305i32 as _ ) ; pub const FVE_E_DEVICELOCKOUT_COUNTER_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272178i32 as _ ) ; pub const FVE_E_DEVICE_LOCKOUT_COUNTER_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272179i32 as _ ) ; pub const FVE_E_DEVICE_NOT_JOINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272160i32 as _ ) ; pub const FVE_E_DE_DEVICE_LOCKEDOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272182i32 as _ ) ; pub const FVE_E_DE_FIXED_DATA_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272187i32 as _ ) ; pub const FVE_E_DE_HARDWARE_NOT_COMPLIANT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272186i32 as _ ) ; pub const FVE_E_DE_OS_VOLUME_NOT_PROTECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272183i32 as _ ) ; pub const FVE_E_DE_PREVENTED_FOR_OS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272175i32 as _ ) ; pub const FVE_E_DE_PROTECTION_NOT_YET_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272181i32 as _ ) ; pub const FVE_E_DE_PROTECTION_SUSPENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272184i32 as _ ) ; pub const FVE_E_DE_VOLUME_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272173i32 as _ ) ; pub const FVE_E_DE_VOLUME_OPTED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272174i32 as _ ) ; pub const FVE_E_DE_WINRE_NOT_CONFIGURED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272185i32 as _ ) ; pub const FVE_E_DRY_RUN_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272307i32 as _ ) ; pub const FVE_E_DV_NOT_ALLOWED_BY_GP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272271i32 as _ ) ; pub const FVE_E_DV_NOT_SUPPORTED_ON_FS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272272i32 as _ ) ; pub const FVE_E_EDRIVE_BAND_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272208i32 as _ ) ; pub const FVE_E_EDRIVE_DISALLOWED_BY_GP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272207i32 as _ ) ; pub const FVE_E_EDRIVE_DRY_RUN_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272196i32 as _ ) ; pub const FVE_E_EDRIVE_DV_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272204i32 as _ ) ; pub const FVE_E_EDRIVE_INCOMPATIBLE_FIRMWARE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272193i32 as _ ) ; pub const FVE_E_EDRIVE_INCOMPATIBLE_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272206i32 as _ ) ; pub const FVE_E_EDRIVE_NO_FAILOVER_TO_SW : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272209i32 as _ ) ; pub const FVE_E_EFI_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272228i32 as _ ) ; pub const FVE_E_ENH_PIN_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272231i32 as _ ) ; pub const FVE_E_EOW_NOT_SUPPORTED_IN_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272172i32 as _ ) ; pub const FVE_E_EXECUTE_REQUEST_SENT_TOO_SOON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272162i32 as _ ) ; pub const FVE_E_FAILED_AUTHENTICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272345i32 as _ ) ; pub const FVE_E_FAILED_SECTOR_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272346i32 as _ ) ; pub const FVE_E_FAILED_WRONG_FS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272365i32 as _ ) ; pub const FVE_E_FIPS_DISABLE_PROTECTION_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272314i32 as _ ) ; pub const FVE_E_FIPS_HASH_KDF_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272232i32 as _ ) ; pub const FVE_E_FIPS_PREVENTS_EXTERNAL_KEY_EXPORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272328i32 as _ ) ; pub const FVE_E_FIPS_PREVENTS_PASSPHRASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272276i32 as _ ) ; pub const FVE_E_FIPS_PREVENTS_RECOVERY_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272329i32 as _ ) ; pub const FVE_E_FIPS_RNG_CHECK_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272330i32 as _ ) ; pub const FVE_E_FIRMWARE_TYPE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272312i32 as _ ) ; pub const FVE_E_FOREIGN_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272349i32 as _ ) ; pub const FVE_E_FS_MOUNTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272309i32 as _ ) ; pub const FVE_E_FS_NOT_EXTENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272313i32 as _ ) ; pub const FVE_E_FULL_ENCRYPTION_NOT_ALLOWED_ON_TP_STORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272219i32 as _ ) ; pub const FVE_E_HIDDEN_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272298i32 as _ ) ; pub const FVE_E_INVALID_BITLOCKER_OID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272274i32 as _ ) ; pub const FVE_E_INVALID_DATUM_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272229i32 as _ ) ; pub const FVE_E_INVALID_KEY_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272332i32 as _ ) ; pub const FVE_E_INVALID_NKP_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272225i32 as _ ) ; pub const FVE_E_INVALID_PASSWORD_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272331i32 as _ ) ; pub const FVE_E_INVALID_PIN_CHARS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272230i32 as _ ) ; pub const FVE_E_INVALID_PIN_CHARS_DETAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272180i32 as _ ) ; pub const FVE_E_INVALID_PROTECTOR_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272326i32 as _ ) ; pub const FVE_E_INVALID_STARTUP_OPTIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272293i32 as _ ) ; pub const FVE_E_KEYFILE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272323i32 as _ ) ; pub const FVE_E_KEYFILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272324i32 as _ ) ; pub const FVE_E_KEYFILE_NO_VMK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272322i32 as _ ) ; pub const FVE_E_KEY_LENGTH_NOT_SUPPORTED_BY_EDRIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272217i32 as _ ) ; pub const FVE_E_KEY_PROTECTOR_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272279i32 as _ ) ; pub const FVE_E_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272355i32 as _ ) ; pub const FVE_E_KEY_ROTATION_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272161i32 as _ ) ; pub const FVE_E_KEY_ROTATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272163i32 as _ ) ; pub const FVE_E_LIVEID_ACCOUNT_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272189i32 as _ ) ; pub const FVE_E_LIVEID_ACCOUNT_SUSPENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272190i32 as _ ) ; pub const FVE_E_LOCKED_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272384i32 as _ ) ; pub const FVE_E_MOR_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272299i32 as _ ) ; pub const FVE_E_MULTIPLE_NKP_CERTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272227i32 as _ ) ; pub const FVE_E_NON_BITLOCKER_KU : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272237i32 as _ ) ; pub const FVE_E_NON_BITLOCKER_OID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272251i32 as _ ) ; pub const FVE_E_NOT_ACTIVATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272376i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_IN_SAFE_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272320i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_IN_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272301i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_ON_CLUSTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272210i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_ON_CSV_STACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272211i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_TO_UPGRADE_WHILE_CONVERTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272205i32 as _ ) ; pub const FVE_E_NOT_DATA_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272359i32 as _ ) ; pub const FVE_E_NOT_DECRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272327i32 as _ ) ; pub const FVE_E_NOT_DE_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272169i32 as _ ) ; pub const FVE_E_NOT_ENCRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272383i32 as _ ) ; pub const FVE_E_NOT_ON_STACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272310i32 as _ ) ; pub const FVE_E_NOT_OS_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272344i32 as _ ) ; pub const FVE_E_NOT_PROVISIONED_ON_ALL_VOLUMES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272188i32 as _ ) ; pub const FVE_E_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272363i32 as _ ) ; pub const FVE_E_NO_AUTOUNLOCK_MASTER_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272300i32 as _ ) ; pub const FVE_E_NO_BOOTMGR_METRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272379i32 as _ ) ; pub const FVE_E_NO_BOOTSECTOR_METRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272380i32 as _ ) ; pub const FVE_E_NO_EXISTING_PASSPHRASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272216i32 as _ ) ; pub const FVE_E_NO_EXISTING_PIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272224i32 as _ ) ; pub const FVE_E_NO_FEATURE_LICENSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272294i32 as _ ) ; pub const FVE_E_NO_LICENSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272311i32 as _ ) ; pub const FVE_E_NO_MBR_METRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272381i32 as _ ) ; pub const FVE_E_NO_PASSPHRASE_WITH_TPM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272213i32 as _ ) ; pub const FVE_E_NO_PREBOOT_KEYBOARD_DETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272203i32 as _ ) ; pub const FVE_E_NO_PREBOOT_KEYBOARD_OR_WINRE_DETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272202i32 as _ ) ; pub const FVE_E_NO_PROTECTORS_TO_TEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272325i32 as _ ) ; pub const FVE_E_NO_SUCH_CAPABILITY_ON_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272176i32 as _ ) ; pub const FVE_E_NO_TPM_BIOS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272382i32 as _ ) ; pub const FVE_E_NO_TPM_WITH_PASSPHRASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272212i32 as _ ) ; pub const FVE_E_OPERATION_NOT_SUPPORTED_ON_VISTA_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272234i32 as _ ) ; pub const FVE_E_OSV_KSR_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272167i32 as _ ) ; pub const FVE_E_OS_NOT_PROTECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272352i32 as _ ) ; pub const FVE_E_OS_VOLUME_PASSPHRASE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272275i32 as _ ) ; pub const FVE_E_OVERLAPPED_UPDATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272348i32 as _ ) ; pub const FVE_E_PASSPHRASE_PROTECTOR_CHANGE_BY_STD_USER_DISALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272191i32 as _ ) ; pub const FVE_E_PASSPHRASE_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272214i32 as _ ) ; pub const FVE_E_PIN_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272317i32 as _ ) ; pub const FVE_E_PIN_PROTECTOR_CHANGE_BY_STD_USER_DISALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272222i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_FDV_RK_OFF_AUK_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272253i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_FDV_RP_OFF_ADB_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272239i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_OSV_RP_OFF_ADB_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272240i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_RDV_RK_OFF_AUK_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272252i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_RDV_RP_OFF_ADB_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272238i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_RO_AND_STARTUP_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272249i32 as _ ) ; pub const FVE_E_POLICY_INVALID_ENHANCED_BCD_SETTINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272194i32 as _ ) ; pub const FVE_E_POLICY_INVALID_PASSPHRASE_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272256i32 as _ ) ; pub const FVE_E_POLICY_INVALID_PIN_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272280i32 as _ ) ; pub const FVE_E_POLICY_PASSPHRASE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272278i32 as _ ) ; pub const FVE_E_POLICY_PASSPHRASE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272277i32 as _ ) ; pub const FVE_E_POLICY_PASSPHRASE_REQUIRES_ASCII : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272220i32 as _ ) ; pub const FVE_E_POLICY_PASSPHRASE_TOO_SIMPLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272255i32 as _ ) ; pub const FVE_E_POLICY_PASSWORD_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272340i32 as _ ) ; pub const FVE_E_POLICY_PROHIBITS_SELFSIGNED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272250i32 as _ ) ; pub const FVE_E_POLICY_RECOVERY_KEY_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272290i32 as _ ) ; pub const FVE_E_POLICY_RECOVERY_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272289i32 as _ ) ; pub const FVE_E_POLICY_RECOVERY_PASSWORD_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272292i32 as _ ) ; pub const FVE_E_POLICY_RECOVERY_PASSWORD_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272291i32 as _ ) ; pub const FVE_E_POLICY_REQUIRES_RECOVERY_PASSWORD_ON_TOUCH_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272200i32 as _ ) ; pub const FVE_E_POLICY_REQUIRES_STARTUP_PIN_ON_TOUCH_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272201i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_KEY_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272286i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272285i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_PIN_KEY_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272284i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_PIN_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272283i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_PIN_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272288i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_PIN_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272287i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_TPM_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272282i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_TPM_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272281i32 as _ ) ; pub const FVE_E_POLICY_USER_CERTIFICATE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272270i32 as _ ) ; pub const FVE_E_POLICY_USER_CERTIFICATE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272269i32 as _ ) ; pub const FVE_E_POLICY_USER_CERT_MUST_BE_HW : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272268i32 as _ ) ; pub const FVE_E_POLICY_USER_CONFIGURE_FDV_AUTOUNLOCK_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272267i32 as _ ) ; pub const FVE_E_POLICY_USER_CONFIGURE_RDV_AUTOUNLOCK_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272266i32 as _ ) ; pub const FVE_E_POLICY_USER_CONFIGURE_RDV_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272265i32 as _ ) ; pub const FVE_E_POLICY_USER_DISABLE_RDV_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272263i32 as _ ) ; pub const FVE_E_POLICY_USER_ENABLE_RDV_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272264i32 as _ ) ; pub const FVE_E_PRIVATEKEY_AUTH_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272236i32 as _ ) ; pub const FVE_E_PROTECTION_CANNOT_BE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272168i32 as _ ) ; pub const FVE_E_PROTECTION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272351i32 as _ ) ; pub const FVE_E_PROTECTOR_CHANGE_MAX_PASSPHRASE_CHANGE_ATTEMPTS_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272192i32 as _ ) ; pub const FVE_E_PROTECTOR_CHANGE_MAX_PIN_CHANGE_ATTEMPTS_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272221i32 as _ ) ; pub const FVE_E_PROTECTOR_CHANGE_PASSPHRASE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272215i32 as _ ) ; pub const FVE_E_PROTECTOR_CHANGE_PIN_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272223i32 as _ ) ; pub const FVE_E_PROTECTOR_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272335i32 as _ ) ; pub const FVE_E_PROTECTOR_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272333i32 as _ ) ; pub const FVE_E_PUBKEY_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272296i32 as _ ) ; pub const FVE_E_RAW_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272304i32 as _ ) ; pub const FVE_E_RAW_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272303i32 as _ ) ; pub const FVE_E_REBOOT_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272306i32 as _ ) ; pub const FVE_E_RECOVERY_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272350i32 as _ ) ; pub const FVE_E_RECOVERY_PARTITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272254i32 as _ ) ; pub const FVE_E_RELATIVE_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272334i32 as _ ) ; pub const FVE_E_REMOVAL_OF_DRA_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272235i32 as _ ) ; pub const FVE_E_REMOVAL_OF_NKP_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272226i32 as _ ) ; pub const FVE_E_SECUREBOOT_CONFIGURATION_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272197i32 as _ ) ; pub const FVE_E_SECUREBOOT_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272198i32 as _ ) ; pub const FVE_E_SECURE_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272377i32 as _ ) ; pub const FVE_E_SHADOW_COPY_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272195i32 as _ ) ; pub const FVE_E_SYSTEM_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272366i32 as _ ) ; pub const FVE_E_TOKEN_NOT_IMPERSONATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272308i32 as _ ) ; pub const FVE_E_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272367i32 as _ ) ; pub const FVE_E_TPM_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272321i32 as _ ) ; pub const FVE_E_TPM_INVALID_PCR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272319i32 as _ ) ; pub const FVE_E_TPM_NOT_OWNED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272360i32 as _ ) ; pub const FVE_E_TPM_NO_VMK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272318i32 as _ ) ; pub const FVE_E_TPM_SRK_AUTH_NOT_ZERO : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272347i32 as _ ) ; pub const FVE_E_TRANSIENT_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272297i32 as _ ) ; pub const FVE_E_VIRTUALIZED_SPACE_TOO_BIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272247i32 as _ ) ; pub const FVE_E_VOLUME_BOUND_ALREADY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272353i32 as _ ) ; pub const FVE_E_VOLUME_EXTEND_PREVENTS_EOW_DECRYPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272170i32 as _ ) ; pub const FVE_E_VOLUME_HANDLE_OPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272295i32 as _ ) ; pub const FVE_E_VOLUME_NOT_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272361i32 as _ ) ; pub const FVE_E_VOLUME_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272273i32 as _ ) ; pub const FVE_E_WIPE_CANCEL_NOT_APPLICABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272199i32 as _ ) ; pub const FVE_E_WIPE_NOT_ALLOWED_ON_TP_STORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272218i32 as _ ) ; pub const FVE_E_WRONG_BOOTMGR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272378i32 as _ ) ; pub const FVE_E_WRONG_BOOTSECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272342i32 as _ ) ; pub const FVE_E_WRONG_SYSTEM_FS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272341i32 as _ ) ; pub const FWP_E_ACTION_INCOMPATIBLE_WITH_LAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206804i32 as _ ) ; pub const FWP_E_ACTION_INCOMPATIBLE_WITH_SUBLAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206803i32 as _ ) ; pub const FWP_E_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206839i32 as _ ) ; pub const FWP_E_BUILTIN_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206825i32 as _ ) ; pub const FWP_E_CALLOUT_NOTIFICATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206793i32 as _ ) ; pub const FWP_E_CALLOUT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206847i32 as _ ) ; pub const FWP_E_CONDITION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206846i32 as _ ) ; pub const FWP_E_CONNECTIONS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206783i32 as _ ) ; pub const FWP_E_CONTEXT_INCOMPATIBLE_WITH_CALLOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206801i32 as _ ) ; pub const FWP_E_CONTEXT_INCOMPATIBLE_WITH_LAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206802i32 as _ ) ; pub const FWP_E_DROP_NOICMP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206588i32 as _ ) ; pub const FWP_E_DUPLICATE_AUTH_METHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206788i32 as _ ) ; pub const FWP_E_DUPLICATE_CONDITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206806i32 as _ ) ; pub const FWP_E_DUPLICATE_KEYMOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206805i32 as _ ) ; pub const FWP_E_DYNAMIC_SESSION_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206837i32 as _ ) ; pub const FWP_E_EM_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206798i32 as _ ) ; pub const FWP_E_FILTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206845i32 as _ ) ; pub const FWP_E_IKEEXT_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206780i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_AUTH_METHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206800i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_CIPHER_TRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206790i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_DH_GROUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206799i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_LAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206828i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_SA_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206821i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_TXN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206831i32 as _ ) ; pub const FWP_E_INVALID_ACTION_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206812i32 as _ ) ; pub const FWP_E_INVALID_AUTH_TRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206792i32 as _ ) ; pub const FWP_E_INVALID_CIPHER_TRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206791i32 as _ ) ; pub const FWP_E_INVALID_DNS_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206782i32 as _ ) ; pub const FWP_E_INVALID_ENUMERATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206819i32 as _ ) ; pub const FWP_E_INVALID_FLAGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206818i32 as _ ) ; pub const FWP_E_INVALID_INTERVAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206815i32 as _ ) ; pub const FWP_E_INVALID_NET_MASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206817i32 as _ ) ; pub const FWP_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206795i32 as _ ) ; pub const FWP_E_INVALID_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206816i32 as _ ) ; pub const FWP_E_INVALID_TRANSFORM_COMBINATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206789i32 as _ ) ; pub const FWP_E_INVALID_TUNNEL_ENDPOINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206787i32 as _ ) ; pub const FWP_E_INVALID_WEIGHT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206811i32 as _ ) ; pub const FWP_E_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206838i32 as _ ) ; pub const FWP_E_KEY_DICTATION_INVALID_KEYING_MATERIAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206784i32 as _ ) ; pub const FWP_E_KEY_DICTATOR_ALREADY_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206785i32 as _ ) ; pub const FWP_E_KM_CLIENTS_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206827i32 as _ ) ; pub const FWP_E_L2_DRIVER_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206786i32 as _ ) ; pub const FWP_E_LAYER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206844i32 as _ ) ; pub const FWP_E_LIFETIME_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206826i32 as _ ) ; pub const FWP_E_MATCH_TYPE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206810i32 as _ ) ; pub const FWP_E_NET_EVENTS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206829i32 as _ ) ; pub const FWP_E_NEVER_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206797i32 as _ ) ; pub const FWP_E_NOTIFICATION_DROPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206823i32 as _ ) ; pub const FWP_E_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206840i32 as _ ) ; pub const FWP_E_NO_TXN_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206835i32 as _ ) ; pub const FWP_E_NULL_DISPLAY_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206813i32 as _ ) ; pub const FWP_E_NULL_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206820i32 as _ ) ; pub const FWP_E_OUT_OF_BOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206808i32 as _ ) ; pub const FWP_E_PROVIDER_CONTEXT_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206796i32 as _ ) ; pub const FWP_E_PROVIDER_CONTEXT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206842i32 as _ ) ; pub const FWP_E_PROVIDER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206843i32 as _ ) ; pub const FWP_E_RESERVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206807i32 as _ ) ; pub const FWP_E_SESSION_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206832i32 as _ ) ; pub const FWP_E_STILL_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206781i32 as _ ) ; pub const FWP_E_SUBLAYER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206841i32 as _ ) ; pub const FWP_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206830i32 as _ ) ; pub const FWP_E_TOO_MANY_CALLOUTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206824i32 as _ ) ; pub const FWP_E_TOO_MANY_SUBLAYERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206794i32 as _ ) ; pub const FWP_E_TRAFFIC_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206822i32 as _ ) ; pub const FWP_E_TXN_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206833i32 as _ ) ; pub const FWP_E_TXN_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206834i32 as _ ) ; pub const FWP_E_TYPE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206809i32 as _ ) ; pub const FWP_E_WRONG_SESSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206836i32 as _ ) ; pub const FWP_E_ZERO_LENGTH_ARRAY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206814i32 as _ ) ; pub const GCN_E_DEFAULTNAMESPACE_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616983i32 as _ ) ; pub const GCN_E_MODULE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616991i32 as _ ) ; pub const GCN_E_NETADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616986i32 as _ ) ; pub const GCN_E_NETADAPTER_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616987i32 as _ ) ; pub const GCN_E_NETCOMPARTMENT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616985i32 as _ ) ; pub const GCN_E_NETINTERFACE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616984i32 as _ ) ; pub const GCN_E_NO_REQUEST_HANDLERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616990i32 as _ ) ; pub const GCN_E_REQUEST_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616989i32 as _ ) ; pub const GCN_E_RUNTIMEKEYS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616988i32 as _ ) ; pub unsafe fn GetHandleInformation < 'a , Param0 : :: windows :: IntoParam < 'a , HANDLE > , > ( hobject : Param0 , lpdwflags : * mut u32 , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="kernel32" ) ] extern "system" { fn GetHandleInformation ( hobject : HANDLE , lpdwflags : * mut u32 ) -> BOOL ; } :: std :: mem :: transmute ( GetHandleInformation ( hobject . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HANDLE ( pub isize ) ; unsafe impl :: windows :: Handle for HANDLE { fn is_invalid ( & self ) -> bool { self . 0 == 0 || self . 0 == - 1 } fn ok ( self ) -> :: windows :: Result < Self > { if self . is_invalid ( ) { Err ( :: windows :: Error :: from_win32 ( ) ) } else { Ok ( self ) } } } unsafe impl :: windows :: Abi for HANDLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct HANDLE_FLAGS ( pub u32 ) ; pub const HANDLE_FLAG_INHERIT : HANDLE_FLAGS = HANDLE_FLAGS ( 1u32 ) ; pub const HANDLE_FLAG_PROTECT_FROM_CLOSE : HANDLE_FLAGS = HANDLE_FLAGS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for HANDLE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for HANDLE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for HANDLE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for HANDLE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for HANDLE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for HANDLE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for HANDLE_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const HCN_E_ADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617018i32 as _ ) ; pub const HCN_E_ADDR_INVALID_OR_RESERVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616977i32 as _ ) ; pub const HCN_E_DEGRADED_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617001i32 as _ ) ; pub const HCN_E_ENDPOINT_ALREADY_ATTACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617004i32 as _ ) ; pub const HCN_E_ENDPOINT_NAMESPACE_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616981i32 as _ ) ; pub const HCN_E_ENDPOINT_NOT_ATTACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616972i32 as _ ) ; pub const HCN_E_ENDPOINT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617022i32 as _ ) ; pub const HCN_E_ENDPOINT_NOT_LOCAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616971i32 as _ ) ; pub const HCN_E_ENDPOINT_SHARING_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616995i32 as _ ) ; pub const HCN_E_ENTITY_HAS_REFERENCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616980i32 as _ ) ; pub const HCN_E_GUID_CONVERSION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616999i32 as _ ) ; pub const HCN_E_ICS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616982i32 as _ ) ; pub const HCN_E_INVALID_ENDPOINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617012i32 as _ ) ; pub const HCN_E_INVALID_INTERNAL_PORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616979i32 as _ ) ; pub const HCN_E_INVALID_IP : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616994i32 as _ ) ; pub const HCN_E_INVALID_IP_SUBNET : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616973i32 as _ ) ; pub const HCN_E_INVALID_JSON : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616997i32 as _ ) ; pub const HCN_E_INVALID_JSON_REFERENCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616996i32 as _ ) ; pub const HCN_E_INVALID_NETWORK : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617014i32 as _ ) ; pub const HCN_E_INVALID_NETWORK_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617013i32 as _ ) ; pub const HCN_E_INVALID_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617011i32 as _ ) ; pub const HCN_E_INVALID_POLICY_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617010i32 as _ ) ; pub const HCN_E_INVALID_PREFIX : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616976i32 as _ ) ; pub const HCN_E_INVALID_REMOTE_ENDPOINT_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617009i32 as _ ) ; pub const HCN_E_INVALID_SUBNET : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616974i32 as _ ) ; pub const HCN_E_LAYER_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617007i32 as _ ) ; pub const HCN_E_LAYER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617021i32 as _ ) ; pub const HCN_E_MANAGER_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616992i32 as _ ) ; pub const HCN_E_MAPPING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617002i32 as _ ) ; pub const HCN_E_NAMESPACE_ATTACH_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616978i32 as _ ) ; pub const HCN_E_NETWORK_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617008i32 as _ ) ; pub const HCN_E_NETWORK_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617023i32 as _ ) ; pub const HCN_E_OBJECT_USED_AFTER_UNLOAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616975i32 as _ ) ; pub const HCN_E_POLICY_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617006i32 as _ ) ; pub const HCN_E_POLICY_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617016i32 as _ ) ; pub const HCN_E_PORT_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617005i32 as _ ) ; pub const HCN_E_PORT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617017i32 as _ ) ; pub const HCN_E_REGKEY_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616998i32 as _ ) ; pub const HCN_E_REQUEST_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617003i32 as _ ) ; pub const HCN_E_SHARED_SWITCH_MODIFICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617000i32 as _ ) ; pub const HCN_E_SUBNET_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617019i32 as _ ) ; pub const HCN_E_SWITCH_EXTENSION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616993i32 as _ ) ; pub const HCN_E_SWITCH_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617020i32 as _ ) ; pub const HCN_E_VFP_PORTSETTING_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617015i32 as _ ) ; pub const HCN_INTERFACEPARAMETERS_ALREADY_APPLIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616970i32 as _ ) ; pub const HCS_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878885i32 as _ ) ; pub const HCS_E_CONNECTION_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878902i32 as _ ) ; pub const HCS_E_CONNECTION_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878903i32 as _ ) ; pub const HCS_E_CONNECT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878904i32 as _ ) ; pub const HCS_E_GUEST_CRITICAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878884i32 as _ ) ; pub const HCS_E_HYPERV_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878910i32 as _ ) ; pub const HCS_E_IMAGE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878911i32 as _ ) ; pub const HCS_E_INVALID_JSON : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878899i32 as _ ) ; pub const HCS_E_INVALID_LAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878894i32 as _ ) ; pub const HCS_E_INVALID_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878907i32 as _ ) ; pub const HCS_E_OPERATION_ALREADY_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878890i32 as _ ) ; pub const HCS_E_OPERATION_NOT_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878891i32 as _ ) ; pub const HCS_E_OPERATION_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878889i32 as _ ) ; pub const HCS_E_OPERATION_RESULT_ALLOCATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878886i32 as _ ) ; pub const HCS_E_OPERATION_SYSTEM_CALLBACK_ALREADY_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878887i32 as _ ) ; pub const HCS_E_OPERATION_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878888i32 as _ ) ; pub const HCS_E_PROCESS_ALREADY_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878881i32 as _ ) ; pub const HCS_E_PROCESS_INFO_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878883i32 as _ ) ; pub const HCS_E_PROTOCOL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878895i32 as _ ) ; pub const HCS_E_SERVICE_DISCONNECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878882i32 as _ ) ; pub const HCS_E_SERVICE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878892i32 as _ ) ; pub const HCS_E_SYSTEM_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878897i32 as _ ) ; pub const HCS_E_SYSTEM_ALREADY_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878896i32 as _ ) ; pub const HCS_E_SYSTEM_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878898i32 as _ ) ; pub const HCS_E_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878905i32 as _ ) ; pub const HCS_E_TERMINATED_DURING_START : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878912i32 as _ ) ; pub const HCS_E_UNEXPECTED_EXIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878906i32 as _ ) ; pub const HCS_E_UNKNOWN_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878901i32 as _ ) ; pub const HCS_E_UNSUPPORTED_PROTOCOL_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878900i32 as _ ) ; pub const HCS_E_WINDOWS_INSIDER_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878893i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HINSTANCE ( pub isize ) ; impl :: std :: default :: Default for HINSTANCE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HINSTANCE { } unsafe impl :: windows :: Abi for HINSTANCE { type Abi = Self ; type DefaultType = Self ; } pub const HTTP_E_STATUS_AMBIGUOUS : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844948i32 as _ ) ; pub const HTTP_E_STATUS_BAD_GATEWAY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844746i32 as _ ) ; pub const HTTP_E_STATUS_BAD_METHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844843i32 as _ ) ; pub const HTTP_E_STATUS_BAD_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844848i32 as _ ) ; pub const HTTP_E_STATUS_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844839i32 as _ ) ; pub const HTTP_E_STATUS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844847i32 as _ ) ; pub const HTTP_E_STATUS_EXPECTATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844831i32 as _ ) ; pub const HTTP_E_STATUS_FORBIDDEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844845i32 as _ ) ; pub const HTTP_E_STATUS_GATEWAY_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844744i32 as _ ) ; pub const HTTP_E_STATUS_GONE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844838i32 as _ ) ; pub const HTTP_E_STATUS_LENGTH_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844837i32 as _ ) ; pub const HTTP_E_STATUS_MOVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844947i32 as _ ) ; pub const HTTP_E_STATUS_NONE_ACCEPTABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844842i32 as _ ) ; pub const HTTP_E_STATUS_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844844i32 as _ ) ; pub const HTTP_E_STATUS_NOT_MODIFIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844944i32 as _ ) ; pub const HTTP_E_STATUS_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844747i32 as _ ) ; pub const HTTP_E_STATUS_PAYMENT_REQ : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844846i32 as _ ) ; pub const HTTP_E_STATUS_PRECOND_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844836i32 as _ ) ; pub const HTTP_E_STATUS_PROXY_AUTH_REQ : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844841i32 as _ ) ; pub const HTTP_E_STATUS_RANGE_NOT_SATISFIABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844832i32 as _ ) ; pub const HTTP_E_STATUS_REDIRECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844946i32 as _ ) ; pub const HTTP_E_STATUS_REDIRECT_KEEP_VERB : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844941i32 as _ ) ; pub const HTTP_E_STATUS_REDIRECT_METHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844945i32 as _ ) ; pub const HTTP_E_STATUS_REQUEST_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844840i32 as _ ) ; pub const HTTP_E_STATUS_REQUEST_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844835i32 as _ ) ; pub const HTTP_E_STATUS_SERVER_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844748i32 as _ ) ; pub const HTTP_E_STATUS_SERVICE_UNAVAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844745i32 as _ ) ; pub const HTTP_E_STATUS_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145845247i32 as _ ) ; pub const HTTP_E_STATUS_UNEXPECTED_CLIENT_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2145845244i32 as _ ) ; pub const HTTP_E_STATUS_UNEXPECTED_REDIRECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145845245i32 as _ ) ; pub const HTTP_E_STATUS_UNEXPECTED_SERVER_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2145845243i32 as _ ) ; pub const HTTP_E_STATUS_UNSUPPORTED_MEDIA : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844833i32 as _ ) ; pub const HTTP_E_STATUS_URI_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844834i32 as _ ) ; pub const HTTP_E_STATUS_USE_PROXY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844943i32 as _ ) ; pub const HTTP_E_STATUS_VERSION_NOT_SUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844743i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HWND ( pub isize ) ; impl :: std :: default :: Default for HWND { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HWND { } unsafe impl :: windows :: Abi for HWND { type Abi = Self ; type DefaultType = Self ; } pub const INPLACE_E_FIRST : i32 = -2147221088i32 ; pub const INPLACE_E_LAST : i32 = -2147221073i32 ; pub const INPLACE_E_NOTOOLSPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221087i32 as _ ) ; pub const INPLACE_E_NOTUNDOABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221088i32 as _ ) ; pub const INPLACE_S_FIRST : i32 = 262560i32 ; pub const INPLACE_S_LAST : i32 = 262575i32 ; pub const INPLACE_S_TRUNCATED : :: windows :: HRESULT = :: windows :: HRESULT ( 262560i32 as _ ) ; pub const INPUT_E_DEVICE_INFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289338i32 as _ ) ; pub const INPUT_E_DEVICE_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289336i32 as _ ) ; pub const INPUT_E_FRAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289340i32 as _ ) ; pub const INPUT_E_HISTORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289339i32 as _ ) ; pub const INPUT_E_MULTIMODAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289342i32 as _ ) ; pub const INPUT_E_OUT_OF_ORDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289344i32 as _ ) ; pub const INPUT_E_PACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289341i32 as _ ) ; pub const INPUT_E_REENTRANCY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289343i32 as _ ) ; pub const INPUT_E_TRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289337i32 as _ ) ; pub const INVALID_HANDLE_VALUE : HANDLE = HANDLE ( -1i32 as _ ) ; pub const JSCRIPT_E_CANTEXECUTE : :: windows :: HRESULT = :: windows :: HRESULT ( -1996357631i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct LPARAM ( pub isize ) ; impl :: std :: default :: Default for LPARAM { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for LPARAM { } unsafe impl :: windows :: Abi for LPARAM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct LRESULT ( pub i32 ) ; impl :: std :: default :: Default for LRESULT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for LRESULT { } unsafe impl :: windows :: Abi for LRESULT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct LSTATUS ( pub i32 ) ; impl :: std :: default :: Default for LSTATUS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for LSTATUS { } unsafe impl :: windows :: Abi for LSTATUS { type Abi = Self ; type DefaultType = Self ; } pub const MARSHAL_E_FIRST : i32 = -2147221216i32 ; pub const MARSHAL_E_LAST : i32 = -2147221201i32 ; pub const MARSHAL_S_FIRST : i32 = 262432i32 ; pub const MARSHAL_S_LAST : i32 = 262447i32 ; pub const MAX_PATH : u32 = 260u32 ; pub const MEM_E_INVALID_LINK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959344i32 as _ ) ; pub const MEM_E_INVALID_ROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959351i32 as _ ) ; pub const MEM_E_INVALID_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959343i32 as _ ) ; pub const MILAVERR_INSUFFICIENTVIDEORESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303160i32 as _ ) ; pub const MILAVERR_INVALIDWMPVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303161i32 as _ ) ; pub const MILAVERR_MEDIAPLAYERCLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303155i32 as _ ) ; pub const MILAVERR_MODULENOTLOADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303163i32 as _ ) ; pub const MILAVERR_NOCLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303168i32 as _ ) ; pub const MILAVERR_NOMEDIATYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303167i32 as _ ) ; pub const MILAVERR_NOREADYFRAMES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303164i32 as _ ) ; pub const MILAVERR_NOVIDEOMIXER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303166i32 as _ ) ; pub const MILAVERR_NOVIDEOPRESENTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303165i32 as _ ) ; pub const MILAVERR_REQUESTEDTEXTURETOOBIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303158i32 as _ ) ; pub const MILAVERR_SEEKFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303157i32 as _ ) ; pub const MILAVERR_UNEXPECTEDWMPFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303156i32 as _ ) ; pub const MILAVERR_UNKNOWNHARDWAREERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303154i32 as _ ) ; pub const MILAVERR_VIDEOACCELERATIONNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303159i32 as _ ) ; pub const MILAVERR_WMPFACTORYNOTREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303162i32 as _ ) ; pub const MILEFFECTSERR_ALREADYATTACHEDTOLISTENER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302888i32 as _ ) ; pub const MILEFFECTSERR_CONNECTORNOTASSOCIATEDWITHEFFECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302894i32 as _ ) ; pub const MILEFFECTSERR_CONNECTORNOTCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302895i32 as _ ) ; pub const MILEFFECTSERR_CYCLEDETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302892i32 as _ ) ; pub const MILEFFECTSERR_EFFECTALREADYINAGRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302890i32 as _ ) ; pub const MILEFFECTSERR_EFFECTHASNOCHILDREN : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302889i32 as _ ) ; pub const MILEFFECTSERR_EFFECTINMORETHANONEGRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302891i32 as _ ) ; pub const MILEFFECTSERR_EFFECTNOTPARTOFGROUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302897i32 as _ ) ; pub const MILEFFECTSERR_EMPTYBOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302886i32 as _ ) ; pub const MILEFFECTSERR_NOINPUTSOURCEATTACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302896i32 as _ ) ; pub const MILEFFECTSERR_NOTAFFINETRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302887i32 as _ ) ; pub const MILEFFECTSERR_OUTPUTSIZETOOLARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302885i32 as _ ) ; pub const MILEFFECTSERR_RESERVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302893i32 as _ ) ; pub const MILEFFECTSERR_UNKNOWNPROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302898i32 as _ ) ; pub const MILERR_ADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304290i32 as _ ) ; pub const MILERR_ALREADYLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304314i32 as _ ) ; pub const MILERR_ALREADY_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304305i32 as _ ) ; pub const MILERR_BADNUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304438i32 as _ ) ; pub const MILERR_COLORSPACE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304289i32 as _ ) ; pub const MILERR_DEVICECANNOTRENDERTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304312i32 as _ ) ; pub const MILERR_DISPLAYFORMATNOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304316i32 as _ ) ; pub const MILERR_DISPLAYID_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304287i32 as _ ) ; pub const MILERR_DISPLAYSTATEINVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304442i32 as _ ) ; pub const MILERR_DXGI_ENUMERATION_OUT_OF_SYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304291i32 as _ ) ; pub const MILERR_GENERIC_IGNORE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304309i32 as _ ) ; pub const MILERR_GLYPHBITMAPMISSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304311i32 as _ ) ; pub const MILERR_INSUFFICIENTBUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304446i32 as _ ) ; pub const MILERR_INTERNALERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304320i32 as _ ) ; pub const MILERR_INVALIDCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304315i32 as _ ) ; pub const MILERR_MALFORMEDGLYPHCACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304310i32 as _ ) ; pub const MILERR_MALFORMED_GUIDELINE_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304308i32 as _ ) ; pub const MILERR_MAX_TEXTURE_SIZE_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304294i32 as _ ) ; pub const MILERR_MISMATCHED_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304304i32 as _ ) ; pub const MILERR_MROW_READLOCK_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304297i32 as _ ) ; pub const MILERR_MROW_UPDATE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304296i32 as _ ) ; pub const MILERR_NEED_RECREATE_AND_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304306i32 as _ ) ; pub const MILERR_NONINVERTIBLEMATRIX : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304441i32 as _ ) ; pub const MILERR_NOTLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304313i32 as _ ) ; pub const MILERR_NOT_QUEUING_PRESENTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304300i32 as _ ) ; pub const MILERR_NO_HARDWARE_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304307i32 as _ ) ; pub const MILERR_NO_REDIRECTION_SURFACE_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304303i32 as _ ) ; pub const MILERR_NO_REDIRECTION_SURFACE_RETRY_LATER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304299i32 as _ ) ; pub const MILERR_OBJECTBUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304447i32 as _ ) ; pub const MILERR_PREFILTER_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304288i32 as _ ) ; pub const MILERR_QPC_TIME_WENT_BACKWARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304293i32 as _ ) ; pub const MILERR_QUEUED_PRESENT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304301i32 as _ ) ; pub const MILERR_REMOTING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304302i32 as _ ) ; pub const MILERR_SCANNER_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304444i32 as _ ) ; pub const MILERR_SCREENACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304443i32 as _ ) ; pub const MILERR_SHADER_COMPILE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304295i32 as _ ) ; pub const MILERR_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304439i32 as _ ) ; pub const MILERR_TOOMANYSHADERELEMNTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304298i32 as _ ) ; pub const MILERR_WIN32ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304445i32 as _ ) ; pub const MILERR_ZEROVECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304440i32 as _ ) ; pub const MK_E_CANTOPENFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221014i32 as _ ) ; pub const MK_E_CONNECTMANUALLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221024i32 as _ ) ; pub const MK_E_ENUMERATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221009i32 as _ ) ; pub const MK_E_EXCEEDEDDEADLINE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221023i32 as _ ) ; pub const MK_E_FIRST : i32 = -2147221024i32 ; pub const MK_E_INTERMEDIATEINTERFACENOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221017i32 as _ ) ; pub const MK_E_INVALIDEXTENSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221018i32 as _ ) ; pub const MK_E_LAST : i32 = -2147221009i32 ; pub const MK_E_MUSTBOTHERUSER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221013i32 as _ ) ; pub const MK_E_NEEDGENERIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221022i32 as _ ) ; pub const MK_E_NOINVERSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221012i32 as _ ) ; pub const MK_E_NOOBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221019i32 as _ ) ; pub const MK_E_NOPREFIX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221010i32 as _ ) ; pub const MK_E_NOSTORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221011i32 as _ ) ; pub const MK_E_NOTBINDABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221016i32 as _ ) ; pub const MK_E_NOTBOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221015i32 as _ ) ; pub const MK_E_NO_NORMALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959353i32 as _ ) ; pub const MK_E_SYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221020i32 as _ ) ; pub const MK_E_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221021i32 as _ ) ; pub const MK_S_FIRST : i32 = 262624i32 ; pub const MK_S_HIM : :: windows :: HRESULT = :: windows :: HRESULT ( 262629i32 as _ ) ; pub const MK_S_LAST : i32 = 262639i32 ; pub const MK_S_ME : :: windows :: HRESULT = :: windows :: HRESULT ( 262628i32 as _ ) ; pub const MK_S_MONIKERALREADYREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( 262631i32 as _ ) ; pub const MK_S_REDUCED_TO_SELF : :: windows :: HRESULT = :: windows :: HRESULT ( 262626i32 as _ ) ; pub const MK_S_US : :: windows :: HRESULT = :: windows :: HRESULT ( 262630i32 as _ ) ; pub const MSDTC_E_DUPLICATE_RESOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367743i32 as _ ) ; pub const MSSIPOTF_E_BADVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865131i32 as _ ) ; pub const MSSIPOTF_E_BAD_FIRST_TABLE_PLACEMENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865144i32 as _ ) ; pub const MSSIPOTF_E_BAD_MAGICNUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865148i32 as _ ) ; pub const MSSIPOTF_E_BAD_OFFSET_TABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865147i32 as _ ) ; pub const MSSIPOTF_E_CANTGETOBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865150i32 as _ ) ; pub const MSSIPOTF_E_CRYPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865132i32 as _ ) ; pub const MSSIPOTF_E_DSIG_STRUCTURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865130i32 as _ ) ; pub const MSSIPOTF_E_FAILED_HINTS_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865135i32 as _ ) ; pub const MSSIPOTF_E_FAILED_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865136i32 as _ ) ; pub const MSSIPOTF_E_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865133i32 as _ ) ; pub const MSSIPOTF_E_FILETOOSMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865141i32 as _ ) ; pub const MSSIPOTF_E_FILE_CHECKSUM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865139i32 as _ ) ; pub const MSSIPOTF_E_NOHEADTABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865149i32 as _ ) ; pub const MSSIPOTF_E_NOT_OPENTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865134i32 as _ ) ; pub const MSSIPOTF_E_OUTOFMEMRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865151i32 as _ ) ; pub const MSSIPOTF_E_PCONST_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865129i32 as _ ) ; pub const MSSIPOTF_E_STRUCTURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865128i32 as _ ) ; pub const MSSIPOTF_E_TABLES_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865143i32 as _ ) ; pub const MSSIPOTF_E_TABLE_CHECKSUM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865140i32 as _ ) ; pub const MSSIPOTF_E_TABLE_LONGWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865145i32 as _ ) ; pub const MSSIPOTF_E_TABLE_PADBYTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865142i32 as _ ) ; pub const MSSIPOTF_E_TABLE_TAGORDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865146i32 as _ ) ; pub const NAP_E_CONFLICTING_ID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927741i32 as _ ) ; pub const NAP_E_ENTITY_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927730i32 as _ ) ; pub const NAP_E_ID_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927734i32 as _ ) ; pub const NAP_E_INVALID_PACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927743i32 as _ ) ; pub const NAP_E_MAXSIZE_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927733i32 as _ ) ; pub const NAP_E_MISMATCHED_ID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927736i32 as _ ) ; pub const NAP_E_MISSING_SOH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927742i32 as _ ) ; pub const NAP_E_NETSH_GROUPPOLICY_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927729i32 as _ ) ; pub const NAP_E_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927737i32 as _ ) ; pub const NAP_E_NOT_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927735i32 as _ ) ; pub const NAP_E_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927738i32 as _ ) ; pub const NAP_E_NO_CACHED_SOH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927740i32 as _ ) ; pub const NAP_E_SERVICE_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927732i32 as _ ) ; pub const NAP_E_SHV_CONFIG_EXISTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927727i32 as _ ) ; pub const NAP_E_SHV_CONFIG_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927726i32 as _ ) ; pub const NAP_E_SHV_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927725i32 as _ ) ; pub const NAP_E_STILL_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927739i32 as _ ) ; pub const NAP_E_TOO_MANY_CALLS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927728i32 as _ ) ; pub const NAP_S_CERT_ALREADY_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( 2555917i32 as _ ) ; pub type NEARPROC = unsafe extern "system" fn ( ) -> isize ; pub const NOERROR : u32 = 0u32 ; pub const NTE_AUTHENTICATION_IGNORED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893775i32 as _ ) ; pub const NTE_BAD_ALGID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893816i32 as _ ) ; pub const NTE_BAD_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893819i32 as _ ) ; pub const NTE_BAD_FLAGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893815i32 as _ ) ; pub const NTE_BAD_HASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893822i32 as _ ) ; pub const NTE_BAD_HASH_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893812i32 as _ ) ; pub const NTE_BAD_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893821i32 as _ ) ; pub const NTE_BAD_KEYSET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893802i32 as _ ) ; pub const NTE_BAD_KEYSET_PARAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893793i32 as _ ) ; pub const NTE_BAD_KEY_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893813i32 as _ ) ; pub const NTE_BAD_LEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893820i32 as _ ) ; pub const NTE_BAD_PROVIDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893805i32 as _ ) ; pub const NTE_BAD_PROV_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893804i32 as _ ) ; pub const NTE_BAD_PUBLIC_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893803i32 as _ ) ; pub const NTE_BAD_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893818i32 as _ ) ; pub const NTE_BAD_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893814i32 as _ ) ; pub const NTE_BAD_UID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893823i32 as _ ) ; pub const NTE_BAD_VER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893817i32 as _ ) ; pub const NTE_BUFFERS_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893781i32 as _ ) ; pub const NTE_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893784i32 as _ ) ; pub const NTE_DECRYPTION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893780i32 as _ ) ; pub const NTE_DEVICE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893771i32 as _ ) ; pub const NTE_DEVICE_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893776i32 as _ ) ; pub const NTE_DOUBLE_ENCRYPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893806i32 as _ ) ; pub const NTE_ENCRYPTION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893772i32 as _ ) ; pub const NTE_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893809i32 as _ ) ; pub const NTE_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893792i32 as _ ) ; pub const NTE_FIXEDPARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893787i32 as _ ) ; pub const NTE_HMAC_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893777i32 as _ ) ; pub const NTE_INCORRECT_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893773i32 as _ ) ; pub const NTE_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893779i32 as _ ) ; pub const NTE_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893786i32 as _ ) ; pub const NTE_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893785i32 as _ ) ; pub const NTE_KEYSET_ENTRY_BAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893798i32 as _ ) ; pub const NTE_KEYSET_NOT_DEF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893799i32 as _ ) ; pub const NTE_NOT_ACTIVE_CONSOLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893768i32 as _ ) ; pub const NTE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893807i32 as _ ) ; pub const NTE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893783i32 as _ ) ; pub const NTE_NO_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893811i32 as _ ) ; pub const NTE_NO_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893810i32 as _ ) ; pub const NTE_NO_MORE_ITEMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893782i32 as _ ) ; pub const NTE_OP_OK : u32 = 0u32 ; pub const NTE_PASSWORD_CHANGE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893769i32 as _ ) ; pub const NTE_PERM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893808i32 as _ ) ; pub const NTE_PROVIDER_DLL_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893795i32 as _ ) ; pub const NTE_PROV_DLL_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893794i32 as _ ) ; pub const NTE_PROV_TYPE_ENTRY_BAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893800i32 as _ ) ; pub const NTE_PROV_TYPE_NOT_DEF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893801i32 as _ ) ; pub const NTE_PROV_TYPE_NO_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893797i32 as _ ) ; pub const NTE_SIGNATURE_FILE_BAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893796i32 as _ ) ; pub const NTE_SILENT_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893790i32 as _ ) ; pub const NTE_SYS_ERR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893791i32 as _ ) ; pub const NTE_TEMPORARY_PROFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893788i32 as _ ) ; pub const NTE_TOKEN_KEYSET_STORAGE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893789i32 as _ ) ; pub const NTE_UI_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893778i32 as _ ) ; pub const NTE_USER_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893770i32 as _ ) ; pub const NTE_VALIDATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893774i32 as _ ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: default :: Default , :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct NTSTATUS ( pub u32 ) ; impl NTSTATUS { # [ inline ] pub const fn is_ok ( self ) -> bool { self . 0 & 0x8000_0000 == 0 } # [ inline ] pub const fn is_err ( self ) -> bool { ! self . is_ok ( ) } # [ inline ] pub const fn to_hresult ( self ) -> :: windows :: HRESULT { :: windows :: HRESULT ( self . 0 | 0x1000_0000 ) } # [ inline ] pub fn ok ( self ) -> :: windows :: Result < ( ) > { if self . is_ok ( ) { Ok ( ( ) ) } else { Err ( :: windows :: Error :: fast_error ( self . to_hresult ( ) ) ) } } } unsafe impl :: windows :: Abi for NTSTATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NTSTATUS_FACILITY_CODE ( pub u32 ) ; pub const FACILITY_DEBUGGER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 1u32 ) ; pub const FACILITY_RPC_RUNTIME : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 2u32 ) ; pub const FACILITY_RPC_STUBS : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 3u32 ) ; pub const FACILITY_IO_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 4u32 ) ; pub const FACILITY_CODCLASS_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 6u32 ) ; pub const FACILITY_NTWIN32 : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 7u32 ) ; pub const FACILITY_NTCERT : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 8u32 ) ; pub const FACILITY_NTSSPI : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 9u32 ) ; pub const FACILITY_TERMINAL_SERVER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 10u32 ) ; pub const FACILITY_USB_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 16u32 ) ; pub const FACILITY_HID_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 17u32 ) ; pub const FACILITY_FIREWIRE_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 18u32 ) ; pub const FACILITY_CLUSTER_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 19u32 ) ; pub const FACILITY_ACPI_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 20u32 ) ; pub const FACILITY_SXS_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 21u32 ) ; pub const FACILITY_TRANSACTION : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 25u32 ) ; pub const FACILITY_COMMONLOG : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 26u32 ) ; pub const FACILITY_VIDEO : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 27u32 ) ; pub const FACILITY_FILTER_MANAGER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 28u32 ) ; pub const FACILITY_MONITOR : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 29u32 ) ; pub const FACILITY_GRAPHICS_KERNEL : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 30u32 ) ; pub const FACILITY_DRIVER_FRAMEWORK : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 32u32 ) ; pub const FACILITY_FVE_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 33u32 ) ; pub const FACILITY_FWP_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 34u32 ) ; pub const FACILITY_NDIS_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 35u32 ) ; pub const FACILITY_QUIC_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 36u32 ) ; pub const FACILITY_TPM : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 41u32 ) ; pub const FACILITY_RTPM : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 42u32 ) ; pub const FACILITY_HYPERVISOR : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 53u32 ) ; pub const FACILITY_IPSEC : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 54u32 ) ; pub const FACILITY_VIRTUALIZATION : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 55u32 ) ; pub const FACILITY_VOLMGR : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 56u32 ) ; pub const FACILITY_BCD_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 57u32 ) ; pub const FACILITY_WIN32K_NTUSER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 62u32 ) ; pub const FACILITY_WIN32K_NTGDI : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 63u32 ) ; pub const FACILITY_RESUME_KEY_FILTER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 64u32 ) ; pub const FACILITY_RDBSS : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 65u32 ) ; pub const FACILITY_BTH_ATT : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 66u32 ) ; pub const FACILITY_SECUREBOOT : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 67u32 ) ; pub const FACILITY_AUDIO_KERNEL : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 68u32 ) ; pub const FACILITY_VSM : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 69u32 ) ; pub const FACILITY_VOLSNAP : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 80u32 ) ; pub const FACILITY_SDBUS : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 81u32 ) ; pub const FACILITY_SHARED_VHDX : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 92u32 ) ; pub const FACILITY_SMB : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 93u32 ) ; pub const FACILITY_XVS : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 94u32 ) ; pub const FACILITY_INTERIX : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 153u32 ) ; pub const FACILITY_SPACES : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 231u32 ) ; pub const FACILITY_SECURITY_CORE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 232u32 ) ; pub const FACILITY_SYSTEM_INTEGRITY : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 233u32 ) ; pub const FACILITY_LICENSING : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 234u32 ) ; pub const FACILITY_PLATFORM_MANIFEST : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 235u32 ) ; pub const FACILITY_APP_EXEC : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 236u32 ) ; pub const FACILITY_MAXIMUM_VALUE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 237u32 ) ; impl :: std :: convert :: From < u32 > for NTSTATUS_FACILITY_CODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NTSTATUS_FACILITY_CODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for NTSTATUS_FACILITY_CODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for NTSTATUS_FACILITY_CODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for NTSTATUS_FACILITY_CODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for NTSTATUS_FACILITY_CODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for NTSTATUS_FACILITY_CODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const OLEOBJ_E_FIRST : i32 = -2147221120i32 ; pub const OLEOBJ_E_INVALIDVERB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221119i32 as _ ) ; pub const OLEOBJ_E_LAST : i32 = -2147221105i32 ; pub const OLEOBJ_E_NOVERBS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221120i32 as _ ) ; pub const OLEOBJ_S_CANNOT_DOVERB_NOW : :: windows :: HRESULT = :: windows :: HRESULT ( 262529i32 as _ ) ; pub const OLEOBJ_S_FIRST : i32 = 262528i32 ; pub const OLEOBJ_S_INVALIDHWND : :: windows :: HRESULT = :: windows :: HRESULT ( 262530i32 as _ ) ; pub const OLEOBJ_S_INVALIDVERB : :: windows :: HRESULT = :: windows :: HRESULT ( 262528i32 as _ ) ; pub const OLEOBJ_S_LAST : i32 = 262543i32 ; pub const OLE_E_ADVF : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221503i32 as _ ) ; pub const OLE_E_ADVISENOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221501i32 as _ ) ; pub const OLE_E_BLANK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221497i32 as _ ) ; pub const OLE_E_CANTCONVERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221487i32 as _ ) ; pub const OLE_E_CANT_BINDTOSOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221494i32 as _ ) ; pub const OLE_E_CANT_GETMONIKER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221495i32 as _ ) ; pub const OLE_E_CLASSDIFF : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221496i32 as _ ) ; pub const OLE_E_ENUM_NOMORE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221502i32 as _ ) ; pub const OLE_E_FIRST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221504i32 as _ ) ; pub const OLE_E_INVALIDHWND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221489i32 as _ ) ; pub const OLE_E_INVALIDRECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221491i32 as _ ) ; pub const OLE_E_LAST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221249i32 as _ ) ; pub const OLE_E_NOCACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221498i32 as _ ) ; pub const OLE_E_NOCONNECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221500i32 as _ ) ; pub const OLE_E_NOSTORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221486i32 as _ ) ; pub const OLE_E_NOTRUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221499i32 as _ ) ; pub const OLE_E_NOT_INPLACEACTIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221488i32 as _ ) ; pub const OLE_E_OLEVERB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221504i32 as _ ) ; pub const OLE_E_PROMPTSAVECANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221492i32 as _ ) ; pub const OLE_E_STATIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221493i32 as _ ) ; pub const OLE_E_WRONGCOMPOBJ : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221490i32 as _ ) ; pub const OLE_S_FIRST : :: windows :: HRESULT = :: windows :: HRESULT ( 262144i32 as _ ) ; pub const OLE_S_LAST : :: windows :: HRESULT = :: windows :: HRESULT ( 262399i32 as _ ) ; pub const OLE_S_MAC_CLIPFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( 262146i32 as _ ) ; pub const OLE_S_STATIC : :: windows :: HRESULT = :: windows :: HRESULT ( 262145i32 as _ ) ; pub const OLE_S_USEREG : :: windows :: HRESULT = :: windows :: HRESULT ( 262144i32 as _ ) ; pub const ONL_CONNECTION_COUNT_LIMIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701811i32 as _ ) ; pub const ONL_E_ACCESS_DENIED_BY_TOU : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701822i32 as _ ) ; pub const ONL_E_ACCOUNT_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701817i32 as _ ) ; pub const ONL_E_ACCOUNT_SUSPENDED_ABUSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701813i32 as _ ) ; pub const ONL_E_ACCOUNT_SUSPENDED_COMPROIMISE : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701814i32 as _ ) ; pub const ONL_E_ACCOUNT_UPDATE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701819i32 as _ ) ; pub const ONL_E_ACTION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701812i32 as _ ) ; pub const ONL_E_CONNECTED_ACCOUNT_CAN_NOT_SIGNOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701810i32 as _ ) ; pub const ONL_E_EMAIL_VERIFICATION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701815i32 as _ ) ; pub const ONL_E_FORCESIGNIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701818i32 as _ ) ; pub const ONL_E_INVALID_APPLICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701821i32 as _ ) ; pub const ONL_E_INVALID_AUTHENTICATION_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701823i32 as _ ) ; pub const ONL_E_PARENTAL_CONSENT_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701816i32 as _ ) ; pub const ONL_E_PASSWORD_UPDATE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701820i32 as _ ) ; pub const ONL_E_REQUEST_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701808i32 as _ ) ; pub const ONL_E_USER_AUTHENTICATION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701809i32 as _ ) ; pub const OR_INVALID_OID : i32 = 1911i32 ; pub const OR_INVALID_OXID : i32 = 1910i32 ; pub const OR_INVALID_SET : i32 = 1912i32 ; pub const OSS_ACCESS_SERIALIZATION_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881517i32 as _ ) ; pub const OSS_API_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881495i32 as _ ) ; pub const OSS_BAD_ARG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881530i32 as _ ) ; pub const OSS_BAD_ENCRULES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881514i32 as _ ) ; pub const OSS_BAD_PTR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881525i32 as _ ) ; pub const OSS_BAD_TABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881521i32 as _ ) ; pub const OSS_BAD_TIME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881524i32 as _ ) ; pub const OSS_BAD_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881529i32 as _ ) ; pub const OSS_BERDER_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881494i32 as _ ) ; pub const OSS_CANT_CLOSE_TRACE_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881490i32 as _ ) ; pub const OSS_CANT_OPEN_TRACE_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881509i32 as _ ) ; pub const OSS_CANT_OPEN_TRACE_WINDOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881512i32 as _ ) ; pub const OSS_COMPARATOR_CODE_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881499i32 as _ ) ; pub const OSS_COMPARATOR_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881500i32 as _ ) ; pub const OSS_CONSTRAINT_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881501i32 as _ ) ; pub const OSS_CONSTRAINT_VIOLATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881519i32 as _ ) ; pub const OSS_COPIER_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881502i32 as _ ) ; pub const OSS_DATA_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881531i32 as _ ) ; pub const OSS_FATAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881518i32 as _ ) ; pub const OSS_INDEFINITE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881523i32 as _ ) ; pub const OSS_LIMITED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881526i32 as _ ) ; pub const OSS_MEM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881522i32 as _ ) ; pub const OSS_MEM_MGR_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881498i32 as _ ) ; pub const OSS_MORE_BUF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881535i32 as _ ) ; pub const OSS_MORE_INPUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881532i32 as _ ) ; pub const OSS_MUTEX_NOT_CREATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881491i32 as _ ) ; pub const OSS_NEGATIVE_UINTEGER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881534i32 as _ ) ; pub const OSS_NULL_FCN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881515i32 as _ ) ; pub const OSS_NULL_TBL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881516i32 as _ ) ; pub const OSS_OID_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881510i32 as _ ) ; pub const OSS_OPEN_TYPE_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881492i32 as _ ) ; pub const OSS_OUT_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881528i32 as _ ) ; pub const OSS_OUT_OF_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881503i32 as _ ) ; pub const OSS_PDU_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881527i32 as _ ) ; pub const OSS_PDU_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881533i32 as _ ) ; pub const OSS_PDV_CODE_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881496i32 as _ ) ; pub const OSS_PDV_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881497i32 as _ ) ; pub const OSS_PER_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881493i32 as _ ) ; pub const OSS_REAL_CODE_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881504i32 as _ ) ; pub const OSS_REAL_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881505i32 as _ ) ; pub const OSS_TABLE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881507i32 as _ ) ; pub const OSS_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881520i32 as _ ) ; pub const OSS_TRACE_FILE_ALREADY_OPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881508i32 as _ ) ; pub const OSS_TYPE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881506i32 as _ ) ; pub const OSS_UNAVAIL_ENCRULES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881513i32 as _ ) ; pub const OSS_UNIMPLEMENTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881511i32 as _ ) ; pub const PEERDIST_ERROR_ALREADY_COMPLETED : i32 = 4060i32 ; pub const PEERDIST_ERROR_ALREADY_EXISTS : i32 = 4058i32 ; pub const PEERDIST_ERROR_ALREADY_INITIALIZED : i32 = 4055i32 ; pub const PEERDIST_ERROR_CANNOT_PARSE_CONTENTINFO : i32 = 4051i32 ; pub const PEERDIST_ERROR_CONTENTINFO_VERSION_UNSUPPORTED : i32 = 4050i32 ; pub const PEERDIST_ERROR_INVALIDATED : i32 = 4057i32 ; pub const PEERDIST_ERROR_INVALID_CONFIGURATION : i32 = 4063i32 ; pub const PEERDIST_ERROR_MISSING_DATA : i32 = 4052i32 ; pub const PEERDIST_ERROR_NOT_INITIALIZED : i32 = 4054i32 ; pub const PEERDIST_ERROR_NOT_LICENSED : i32 = 4064i32 ; pub const PEERDIST_ERROR_NO_MORE : i32 = 4053i32 ; pub const PEERDIST_ERROR_OPERATION_NOTFOUND : i32 = 4059i32 ; pub const PEERDIST_ERROR_OUT_OF_BOUNDS : i32 = 4061i32 ; pub const PEERDIST_ERROR_SERVICE_UNAVAILABLE : i32 = 4065i32 ; pub const PEERDIST_ERROR_SHUTDOWN_IN_PROGRESS : i32 = 4056i32 ; pub const PEERDIST_ERROR_TRUST_FAILURE : i32 = 4066i32 ; pub const PEERDIST_ERROR_VERSION_UNSUPPORTED : i32 = 4062i32 ; pub const PEER_E_ALREADY_LISTENING : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995321i32 as _ ) ; pub const PEER_E_CANNOT_CONVERT_PEER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140979199i32 as _ ) ; pub const PEER_E_CANNOT_START_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995581i32 as _ ) ; pub const PEER_E_CERT_STORE_CORRUPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993535i32 as _ ) ; pub const PEER_E_CHAIN_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993789i32 as _ ) ; pub const PEER_E_CIRCULAR_CHAIN_DETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993786i32 as _ ) ; pub const PEER_E_CLASSIFIER_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995071i32 as _ ) ; pub const PEER_E_CLOUD_NAME_AMBIGUOUS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140991483i32 as _ ) ; pub const PEER_E_CONNECTION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995319i32 as _ ) ; pub const PEER_E_CONNECTION_NOT_AUTHENTICATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995318i32 as _ ) ; pub const PEER_E_CONNECTION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995325i32 as _ ) ; pub const PEER_E_CONNECTION_REFUSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995317i32 as _ ) ; pub const PEER_E_CONNECT_SELF : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995322i32 as _ ) ; pub const PEER_E_CONTACT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140971007i32 as _ ) ; pub const PEER_E_DATABASE_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994814i32 as _ ) ; pub const PEER_E_DATABASE_ALREADY_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994811i32 as _ ) ; pub const PEER_E_DATABASE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994810i32 as _ ) ; pub const PEER_E_DBINITIALIZATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994813i32 as _ ) ; pub const PEER_E_DBNAME_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995567i32 as _ ) ; pub const PEER_E_DEFERRED_VALIDATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987344i32 as _ ) ; pub const PEER_E_DUPLICATE_GRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995566i32 as _ ) ; pub const PEER_E_EVENT_HANDLE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994303i32 as _ ) ; pub const PEER_E_FW_BLOCKED_BY_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966903i32 as _ ) ; pub const PEER_E_FW_BLOCKED_BY_SHIELDS_UP : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966902i32 as _ ) ; pub const PEER_E_FW_DECLINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966901i32 as _ ) ; pub const PEER_E_FW_EXCEPTION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966904i32 as _ ) ; pub const PEER_E_GRAPH_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995563i32 as _ ) ; pub const PEER_E_GRAPH_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995565i32 as _ ) ; pub const PEER_E_GRAPH_SHUTTING_DOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995564i32 as _ ) ; pub const PEER_E_GROUPS_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995068i32 as _ ) ; pub const PEER_E_GROUP_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987246i32 as _ ) ; pub const PEER_E_GROUP_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987247i32 as _ ) ; pub const PEER_E_IDENTITY_DELETED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987232i32 as _ ) ; pub const PEER_E_IDENTITY_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994559i32 as _ ) ; pub const PEER_E_INVALID_ADDRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966905i32 as _ ) ; pub const PEER_E_INVALID_ATTRIBUTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994046i32 as _ ) ; pub const PEER_E_INVALID_CLASSIFIER : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987296i32 as _ ) ; pub const PEER_E_INVALID_CLASSIFIER_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987278i32 as _ ) ; pub const PEER_E_INVALID_CREDENTIAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987262i32 as _ ) ; pub const PEER_E_INVALID_CREDENTIAL_INFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987263i32 as _ ) ; pub const PEER_E_INVALID_DATABASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995562i32 as _ ) ; pub const PEER_E_INVALID_FRIENDLY_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987280i32 as _ ) ; pub const PEER_E_INVALID_GRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995568i32 as _ ) ; pub const PEER_E_INVALID_GROUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987245i32 as _ ) ; pub const PEER_E_INVALID_GROUP_PROPERTIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987328i32 as _ ) ; pub const PEER_E_INVALID_PEER_HOST_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140979198i32 as _ ) ; pub const PEER_E_INVALID_PEER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987312i32 as _ ) ; pub const PEER_E_INVALID_RECORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987376i32 as _ ) ; pub const PEER_E_INVALID_RECORD_EXPIRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987264i32 as _ ) ; pub const PEER_E_INVALID_RECORD_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987261i32 as _ ) ; pub const PEER_E_INVALID_ROLE_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987279i32 as _ ) ; pub const PEER_E_INVALID_SEARCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994047i32 as _ ) ; pub const PEER_E_INVALID_TIME_PERIOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993787i32 as _ ) ; pub const PEER_E_INVITATION_NOT_TRUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993791i32 as _ ) ; pub const PEER_E_INVITE_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966912i32 as _ ) ; pub const PEER_E_INVITE_RESPONSE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966911i32 as _ ) ; pub const PEER_E_IPV6_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995583i32 as _ ) ; pub const PEER_E_MAX_RECORD_SIZE_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994812i32 as _ ) ; pub const PEER_E_NODE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995320i32 as _ ) ; pub const PEER_E_NOT_AUTHORIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987360i32 as _ ) ; pub const PEER_E_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995582i32 as _ ) ; pub const PEER_E_NOT_LICENSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995580i32 as _ ) ; pub const PEER_E_NOT_SIGNED_IN : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966909i32 as _ ) ; pub const PEER_E_NO_CLOUD : :: windows :: HRESULT = :: windows :: HRESULT ( -2140991487i32 as _ ) ; pub const PEER_E_NO_KEY_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995069i32 as _ ) ; pub const PEER_E_NO_MEMBERS_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987244i32 as _ ) ; pub const PEER_E_NO_MEMBER_CONNECTIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987243i32 as _ ) ; pub const PEER_E_NO_MORE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140979197i32 as _ ) ; pub const PEER_E_PASSWORD_DOES_NOT_MEET_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987359i32 as _ ) ; pub const PEER_E_PNRP_DUPLICATE_PEER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140979195i32 as _ ) ; pub const PEER_E_PRIVACY_DECLINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966908i32 as _ ) ; pub const PEER_E_RECORD_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994815i32 as _ ) ; pub const PEER_E_SERVICE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987231i32 as _ ) ; pub const PEER_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966907i32 as _ ) ; pub const PEER_E_TOO_MANY_ATTRIBUTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995561i32 as _ ) ; pub const PEER_E_TOO_MANY_IDENTITIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995070i32 as _ ) ; pub const PEER_E_UNABLE_TO_LISTEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987242i32 as _ ) ; pub const PEER_E_UNSUPPORTED_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987248i32 as _ ) ; pub const PEER_S_ALREADY_A_MEMBER : :: windows :: HRESULT = :: windows :: HRESULT ( 6488070i32 as _ ) ; pub const PEER_S_ALREADY_CONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( 6496256i32 as _ ) ; pub const PEER_S_GRAPH_DATA_CREATED : :: windows :: HRESULT = :: windows :: HRESULT ( 6488065i32 as _ ) ; pub const PEER_S_NO_CONNECTIVITY : :: windows :: HRESULT = :: windows :: HRESULT ( 6488069i32 as _ ) ; pub const PEER_S_NO_EVENT_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( 6488066i32 as _ ) ; pub const PEER_S_SUBSCRIPTION_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( 6512640i32 as _ ) ; pub const PERSIST_E_NOTSELFSIZING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762741i32 as _ ) ; pub const PERSIST_E_SIZEDEFINITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762743i32 as _ ) ; pub const PERSIST_E_SIZEINDEFINITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762742i32 as _ ) ; pub const PLA_E_CABAPI_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337645i32 as _ ) ; pub const PLA_E_CONFLICT_INCL_EXCL_API : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337659i32 as _ ) ; pub const PLA_E_CREDENTIALS_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337661i32 as _ ) ; pub const PLA_E_DCS_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337737i32 as _ ) ; pub const PLA_E_DCS_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337750i32 as _ ) ; pub const PLA_E_DCS_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337918i32 as _ ) ; pub const PLA_E_DCS_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337660i32 as _ ) ; pub const PLA_E_DCS_SINGLETON_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337662i32 as _ ) ; pub const PLA_E_DCS_START_WAIT_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337654i32 as _ ) ; pub const PLA_E_DC_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337655i32 as _ ) ; pub const PLA_E_DC_START_WAIT_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337653i32 as _ ) ; pub const PLA_E_EXE_ALREADY_CONFIGURED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337657i32 as _ ) ; pub const PLA_E_EXE_FULL_PATH_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337650i32 as _ ) ; pub const PLA_E_EXE_PATH_NOT_VALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337656i32 as _ ) ; pub const PLA_E_INVALID_SESSION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337649i32 as _ ) ; pub const PLA_E_NETWORK_EXE_NOT_VALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337658i32 as _ ) ; pub const PLA_E_NO_DUPLICATES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337651i32 as _ ) ; pub const PLA_E_NO_MIN_DISK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337808i32 as _ ) ; pub const PLA_E_PLA_CHANNEL_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337648i32 as _ ) ; pub const PLA_E_PROPERTY_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337663i32 as _ ) ; pub const PLA_E_REPORT_WAIT_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337652i32 as _ ) ; pub const PLA_E_RULES_MANAGER_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337646i32 as _ ) ; pub const PLA_E_TASKSCHED_CHANNEL_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337647i32 as _ ) ; pub const PLA_E_TOO_MANY_FOLDERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337851i32 as _ ) ; pub const PLA_S_PROPERTY_IGNORED : :: windows :: HRESULT = :: windows :: HRESULT ( 3145984i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINT { pub x : i32 , pub y : i32 } impl POINT { } impl :: std :: default :: Default for POINT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for POINT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINT" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINT { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINT { } unsafe impl :: windows :: Abi for POINT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINTL { pub x : i32 , pub y : i32 } impl POINTL { } impl :: std :: default :: Default for POINTL { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for POINTL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINTL" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINTL { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINTL { } unsafe impl :: windows :: Abi for POINTL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINTS { pub x : i16 , pub y : i16 } impl POINTS { } impl :: std :: default :: Default for POINTS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for POINTS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINTS" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINTS { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINTS { } unsafe impl :: windows :: Abi for POINTS { type Abi = Self ; type DefaultType = Self ; } pub type PROC = unsafe extern "system" fn ( ) -> isize ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct PSID ( pub isize ) ; impl :: std :: default :: Default for PSID { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for PSID { } unsafe impl :: windows :: Abi for PSID { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct PSTR ( pub * mut u8 ) ; impl PSTR { pub fn is_null ( & self ) -> bool { self . 0 . is_null ( ) } } impl :: std :: default :: Default for PSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } unsafe impl :: windows :: Abi for PSTR { type Abi = Self ; type DefaultType = Self ; unsafe fn drop_param ( param : & mut :: windows :: Param < '_ , Self > ) { if let :: windows :: Param :: Boxed ( value ) = param { if ! value . is_null ( ) { unsafe { :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: IntoParam < 'a , PSTR > for & str { fn into_param ( self ) -> :: windows :: Param < 'a , PSTR > { :: windows :: Param :: Boxed ( PSTR ( :: std :: boxed :: Box :: < [ u8 ] > :: into_raw ( self . bytes ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u8 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } impl < 'a > :: windows :: IntoParam < 'a , PSTR > for String { fn into_param ( self ) -> :: windows :: Param < 'a , PSTR > { :: windows :: Param :: Boxed ( PSTR ( :: std :: boxed :: Box :: < [ u8 ] > :: into_raw ( self . bytes ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u8 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct PWSTR ( pub * mut u16 ) ; impl PWSTR { pub fn is_null ( & self ) -> bool { self . 0 . is_null ( ) } } impl :: std :: default :: Default for PWSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } unsafe impl :: windows :: Abi for PWSTR { type Abi = Self ; type DefaultType = Self ; unsafe fn drop_param ( param : & mut :: windows :: Param < '_ , Self > ) { if let :: windows :: Param :: Boxed ( value ) = param { if ! value . is_null ( ) { unsafe { let _ = :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for & str { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_utf16 ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for String { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_utf16 ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ cfg ( windows ) ] impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for & :: std :: ffi :: OsStr { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { use std :: os :: windows :: ffi :: OsStrExt ; :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_wide ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ cfg ( windows ) ] impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for :: std :: ffi :: OsString { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { use std :: os :: windows :: ffi :: OsStrExt ; :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_wide ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RECT { pub left : i32 , pub top : i32 , pub right : i32 , pub bottom : i32 } impl RECT { } impl :: std :: default :: Default for RECT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for RECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RECT" ) . field ( "left" , & self . left ) . field ( "top" , & self . top ) . field ( "right" , & self . right ) . field ( "bottom" , & self . bottom ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RECT { fn eq ( & self , other : & Self ) -> bool { self . left == other . left && self . top == other . top && self . right == other . right && self . bottom == other . bottom } } impl :: std :: cmp :: Eq for RECT { } unsafe impl :: windows :: Abi for RECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RECTL { pub left : i32 , pub top : i32 , pub right : i32 , pub bottom : i32 } impl RECTL { } impl :: std :: default :: Default for RECTL { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for RECTL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RECTL" ) . field ( "left" , & self . left ) . field ( "top" , & self . top ) . field ( "right" , & self . right ) . field ( "bottom" , & self . bottom ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RECTL { fn eq ( & self , other : & Self ) -> bool { self . left == other . left && self . top == other . top && self . right == other . right && self . bottom == other . bottom } } impl :: std :: cmp :: Eq for RECTL { } unsafe impl :: windows :: Abi for RECTL { type Abi = Self ; type DefaultType = Self ; } pub const REGDB_E_BADTHREADINGMODEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221162i32 as _ ) ; pub const REGDB_E_CLASSNOTREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221164i32 as _ ) ; pub const REGDB_E_FIRST : i32 = -2147221168i32 ; pub const REGDB_E_IIDNOTREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221163i32 as _ ) ; pub const REGDB_E_INVALIDVALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221165i32 as _ ) ; pub const REGDB_E_KEYMISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221166i32 as _ ) ; pub const REGDB_E_LAST : i32 = -2147221153i32 ; pub const REGDB_E_PACKAGEPOLICYVIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221161i32 as _ ) ; pub const REGDB_E_READREGDB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221168i32 as _ ) ; pub const REGDB_E_WRITEREGDB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221167i32 as _ ) ; pub const REGDB_S_FIRST : i32 = 262480i32 ; pub const REGDB_S_LAST : i32 = 262495i32 ; pub const RO_E_BLOCKED_CROSS_ASTA_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483617i32 as _ ) ; pub const RO_E_CANNOT_ACTIVATE_FULL_TRUST_SERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483616i32 as _ ) ; pub const RO_E_CANNOT_ACTIVATE_UNIVERSAL_APPLICATION_SERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483615i32 as _ ) ; pub const RO_E_CHANGE_NOTIFICATION_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483627i32 as _ ) ; pub const RO_E_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483629i32 as _ ) ; pub const RO_E_COMMITTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483618i32 as _ ) ; pub const RO_E_ERROR_STRING_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483626i32 as _ ) ; pub const RO_E_EXCLUSIVE_WRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483628i32 as _ ) ; pub const RO_E_INVALID_METADATA_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483630i32 as _ ) ; pub const RO_E_METADATA_INVALID_TYPE_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483631i32 as _ ) ; pub const RO_E_METADATA_NAME_IS_NAMESPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483632i32 as _ ) ; pub const RO_E_METADATA_NAME_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483633i32 as _ ) ; pub const RO_E_MUST_BE_AGILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483620i32 as _ ) ; pub const RO_E_UNSUPPORTED_FROM_MTA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483619i32 as _ ) ; pub const RPC_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417829i32 as _ ) ; pub const RPC_E_ATTEMPTED_MULTITHREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417854i32 as _ ) ; pub const RPC_E_CALL_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418110i32 as _ ) ; pub const RPC_E_CALL_COMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417833i32 as _ ) ; pub const RPC_E_CALL_REJECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418111i32 as _ ) ; pub const RPC_E_CANTCALLOUT_AGAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418095i32 as _ ) ; pub const RPC_E_CANTCALLOUT_INASYNCCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418108i32 as _ ) ; pub const RPC_E_CANTCALLOUT_INEXTERNALCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418107i32 as _ ) ; pub const RPC_E_CANTCALLOUT_ININPUTSYNCCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417843i32 as _ ) ; pub const RPC_E_CANTPOST_INSENDCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418109i32 as _ ) ; pub const RPC_E_CANTTRANSMIT_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418102i32 as _ ) ; pub const RPC_E_CHANGED_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417850i32 as _ ) ; pub const RPC_E_CLIENT_CANTMARSHAL_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418101i32 as _ ) ; pub const RPC_E_CLIENT_CANTUNMARSHAL_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418100i32 as _ ) ; pub const RPC_E_CLIENT_DIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418104i32 as _ ) ; pub const RPC_E_CONNECTION_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418106i32 as _ ) ; pub const RPC_E_DISCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417848i32 as _ ) ; pub const RPC_E_FAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417852i32 as _ ) ; pub const RPC_E_FULLSIC_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417823i32 as _ ) ; pub const RPC_E_INVALIDMETHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417849i32 as _ ) ; pub const RPC_E_INVALID_CALLDATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417844i32 as _ ) ; pub const RPC_E_INVALID_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418097i32 as _ ) ; pub const RPC_E_INVALID_DATAPACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418103i32 as _ ) ; pub const RPC_E_INVALID_EXTENSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417838i32 as _ ) ; pub const RPC_E_INVALID_HEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417839i32 as _ ) ; pub const RPC_E_INVALID_IPID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417837i32 as _ ) ; pub const RPC_E_INVALID_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417836i32 as _ ) ; pub const RPC_E_INVALID_OBJREF : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417827i32 as _ ) ; pub const RPC_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418096i32 as _ ) ; pub const RPC_E_INVALID_STD_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417822i32 as _ ) ; pub const RPC_E_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417853i32 as _ ) ; pub const RPC_E_NO_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417826i32 as _ ) ; pub const RPC_E_NO_GOOD_SECURITY_PACKAGES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417830i32 as _ ) ; pub const RPC_E_NO_SYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417824i32 as _ ) ; pub const RPC_E_OUT_OF_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417855i32 as _ ) ; pub const RPC_E_REMOTE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417828i32 as _ ) ; pub const RPC_E_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417847i32 as _ ) ; pub const RPC_E_SERVERCALL_REJECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417845i32 as _ ) ; pub const RPC_E_SERVERCALL_RETRYLATER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417846i32 as _ ) ; pub const RPC_E_SERVERFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417851i32 as _ ) ; pub const RPC_E_SERVER_CANTMARSHAL_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418099i32 as _ ) ; pub const RPC_E_SERVER_CANTUNMARSHAL_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418098i32 as _ ) ; pub const RPC_E_SERVER_DIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418105i32 as _ ) ; pub const RPC_E_SERVER_DIED_DNE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418094i32 as _ ) ; pub const RPC_E_SYS_CALL_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417856i32 as _ ) ; pub const RPC_E_THREAD_NOT_INIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417841i32 as _ ) ; pub const RPC_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417825i32 as _ ) ; pub const RPC_E_TOO_LATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417831i32 as _ ) ; pub const RPC_E_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352577i32 as _ ) ; pub const RPC_E_UNSECURE_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417832i32 as _ ) ; pub const RPC_E_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417840i32 as _ ) ; pub const RPC_E_WRONG_THREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417842i32 as _ ) ; pub const RPC_NT_ADDRESS_ERROR : NTSTATUS = NTSTATUS ( -1073610683i32 as _ ) ; pub const RPC_NT_ALREADY_LISTENING : NTSTATUS = NTSTATUS ( -1073610738i32 as _ ) ; pub const RPC_NT_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1073610740i32 as _ ) ; pub const RPC_NT_BAD_STUB_DATA : NTSTATUS = NTSTATUS ( -1073545204i32 as _ ) ; pub const RPC_NT_BINDING_HAS_NO_AUTH : NTSTATUS = NTSTATUS ( -1073610705i32 as _ ) ; pub const RPC_NT_BINDING_INCOMPLETE : NTSTATUS = NTSTATUS ( -1073610671i32 as _ ) ; pub const RPC_NT_BYTE_COUNT_TOO_SMALL : NTSTATUS = NTSTATUS ( -1073545205i32 as _ ) ; pub const RPC_NT_CALL_CANCELLED : NTSTATUS = NTSTATUS ( -1073610672i32 as _ ) ; pub const RPC_NT_CALL_FAILED : NTSTATUS = NTSTATUS ( -1073610725i32 as _ ) ; pub const RPC_NT_CALL_FAILED_DNE : NTSTATUS = NTSTATUS ( -1073610724i32 as _ ) ; pub const RPC_NT_CALL_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073610679i32 as _ ) ; pub const RPC_NT_CANNOT_SUPPORT : NTSTATUS = NTSTATUS ( -1073610687i32 as _ ) ; pub const RPC_NT_CANT_CREATE_ENDPOINT : NTSTATUS = NTSTATUS ( -1073610731i32 as _ ) ; pub const RPC_NT_COMM_FAILURE : NTSTATUS = NTSTATUS ( -1073610670i32 as _ ) ; pub const RPC_NT_COOKIE_AUTH_FAILED : NTSTATUS = NTSTATUS ( -1073610651i32 as _ ) ; pub const RPC_NT_DUPLICATE_ENDPOINT : NTSTATUS = NTSTATUS ( -1073610711i32 as _ ) ; pub const RPC_NT_ENTRY_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1073610691i32 as _ ) ; pub const RPC_NT_ENTRY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610690i32 as _ ) ; pub const RPC_NT_ENUM_VALUE_OUT_OF_RANGE : NTSTATUS = NTSTATUS ( -1073545206i32 as _ ) ; pub const RPC_NT_FP_DIV_ZERO : NTSTATUS = NTSTATUS ( -1073610682i32 as _ ) ; pub const RPC_NT_FP_OVERFLOW : NTSTATUS = NTSTATUS ( -1073610680i32 as _ ) ; pub const RPC_NT_FP_UNDERFLOW : NTSTATUS = NTSTATUS ( -1073610681i32 as _ ) ; pub const RPC_NT_GROUP_MEMBER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610677i32 as _ ) ; pub const RPC_NT_INCOMPLETE_NAME : NTSTATUS = NTSTATUS ( -1073610696i32 as _ ) ; pub const RPC_NT_INTERFACE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610692i32 as _ ) ; pub const RPC_NT_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1073610685i32 as _ ) ; pub const RPC_NT_INVALID_ASYNC_CALL : NTSTATUS = NTSTATUS ( -1073610653i32 as _ ) ; pub const RPC_NT_INVALID_ASYNC_HANDLE : NTSTATUS = NTSTATUS ( -1073610654i32 as _ ) ; pub const RPC_NT_INVALID_AUTH_IDENTITY : NTSTATUS = NTSTATUS ( -1073610702i32 as _ ) ; pub const RPC_NT_INVALID_BINDING : NTSTATUS = NTSTATUS ( -1073610749i32 as _ ) ; pub const RPC_NT_INVALID_BOUND : NTSTATUS = NTSTATUS ( -1073610717i32 as _ ) ; pub const RPC_NT_INVALID_ENDPOINT_FORMAT : NTSTATUS = NTSTATUS ( -1073610745i32 as _ ) ; pub const RPC_NT_INVALID_ES_ACTION : NTSTATUS = NTSTATUS ( -1073545127i32 as _ ) ; pub const RPC_NT_INVALID_NAF_ID : NTSTATUS = NTSTATUS ( -1073610688i32 as _ ) ; pub const RPC_NT_INVALID_NAME_SYNTAX : NTSTATUS = NTSTATUS ( -1073610715i32 as _ ) ; pub const RPC_NT_INVALID_NETWORK_OPTIONS : NTSTATUS = NTSTATUS ( -1073610727i32 as _ ) ; pub const RPC_NT_INVALID_NET_ADDR : NTSTATUS = NTSTATUS ( -1073610744i32 as _ ) ; pub const RPC_NT_INVALID_OBJECT : NTSTATUS = NTSTATUS ( -1073610675i32 as _ ) ; pub const RPC_NT_INVALID_PIPE_OBJECT : NTSTATUS = NTSTATUS ( -1073545124i32 as _ ) ; pub const RPC_NT_INVALID_PIPE_OPERATION : NTSTATUS = NTSTATUS ( -1073545123i32 as _ ) ; pub const RPC_NT_INVALID_RPC_PROTSEQ : NTSTATUS = NTSTATUS ( -1073610747i32 as _ ) ; pub const RPC_NT_INVALID_STRING_BINDING : NTSTATUS = NTSTATUS ( -1073610751i32 as _ ) ; pub const RPC_NT_INVALID_STRING_UUID : NTSTATUS = NTSTATUS ( -1073610746i32 as _ ) ; pub const RPC_NT_INVALID_TAG : NTSTATUS = NTSTATUS ( -1073610718i32 as _ ) ; pub const RPC_NT_INVALID_TIMEOUT : NTSTATUS = NTSTATUS ( -1073610742i32 as _ ) ; pub const RPC_NT_INVALID_VERS_OPTION : NTSTATUS = NTSTATUS ( -1073610695i32 as _ ) ; pub const RPC_NT_MAX_CALLS_TOO_SMALL : NTSTATUS = NTSTATUS ( -1073610709i32 as _ ) ; pub const RPC_NT_NAME_SERVICE_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073610689i32 as _ ) ; pub const RPC_NT_NOTHING_TO_EXPORT : NTSTATUS = NTSTATUS ( -1073610697i32 as _ ) ; pub const RPC_NT_NOT_ALL_OBJS_UNEXPORTED : NTSTATUS = NTSTATUS ( -1073610693i32 as _ ) ; pub const RPC_NT_NOT_CANCELLED : NTSTATUS = NTSTATUS ( -1073610664i32 as _ ) ; pub const RPC_NT_NOT_LISTENING : NTSTATUS = NTSTATUS ( -1073610736i32 as _ ) ; pub const RPC_NT_NOT_RPC_ERROR : NTSTATUS = NTSTATUS ( -1073610667i32 as _ ) ; pub const RPC_NT_NO_BINDINGS : NTSTATUS = NTSTATUS ( -1073610733i32 as _ ) ; pub const RPC_NT_NO_CALL_ACTIVE : NTSTATUS = NTSTATUS ( -1073610726i32 as _ ) ; pub const RPC_NT_NO_CONTEXT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073610686i32 as _ ) ; pub const RPC_NT_NO_ENDPOINT_FOUND : NTSTATUS = NTSTATUS ( -1073610743i32 as _ ) ; pub const RPC_NT_NO_ENTRY_NAME : NTSTATUS = NTSTATUS ( -1073610716i32 as _ ) ; pub const RPC_NT_NO_INTERFACES : NTSTATUS = NTSTATUS ( -1073610673i32 as _ ) ; pub const RPC_NT_NO_MORE_BINDINGS : NTSTATUS = NTSTATUS ( -1073610678i32 as _ ) ; pub const RPC_NT_NO_MORE_ENTRIES : NTSTATUS = NTSTATUS ( -1073545215i32 as _ ) ; pub const RPC_NT_NO_MORE_MEMBERS : NTSTATUS = NTSTATUS ( -1073610694i32 as _ ) ; pub const RPC_NT_NO_PRINC_NAME : NTSTATUS = NTSTATUS ( -1073610668i32 as _ ) ; pub const RPC_NT_NO_PROTSEQS : NTSTATUS = NTSTATUS ( -1073610732i32 as _ ) ; pub const RPC_NT_NO_PROTSEQS_REGISTERED : NTSTATUS = NTSTATUS ( -1073610737i32 as _ ) ; pub const RPC_NT_NULL_REF_POINTER : NTSTATUS = NTSTATUS ( -1073545207i32 as _ ) ; pub const RPC_NT_OBJECT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610741i32 as _ ) ; pub const RPC_NT_OUT_OF_RESOURCES : NTSTATUS = NTSTATUS ( -1073610730i32 as _ ) ; pub const RPC_NT_PIPE_CLOSED : NTSTATUS = NTSTATUS ( -1073545121i32 as _ ) ; pub const RPC_NT_PIPE_DISCIPLINE_ERROR : NTSTATUS = NTSTATUS ( -1073545120i32 as _ ) ; pub const RPC_NT_PIPE_EMPTY : NTSTATUS = NTSTATUS ( -1073545119i32 as _ ) ; pub const RPC_NT_PROCNUM_OUT_OF_RANGE : NTSTATUS = NTSTATUS ( -1073610706i32 as _ ) ; pub const RPC_NT_PROTOCOL_ERROR : NTSTATUS = NTSTATUS ( -1073610723i32 as _ ) ; pub const RPC_NT_PROTSEQ_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610707i32 as _ ) ; pub const RPC_NT_PROTSEQ_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073610748i32 as _ ) ; pub const RPC_NT_PROXY_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073610652i32 as _ ) ; pub const RPC_NT_SEC_PKG_ERROR : NTSTATUS = NTSTATUS ( -1073610665i32 as _ ) ; pub const RPC_NT_SEND_INCOMPLETE : NTSTATUS = NTSTATUS ( 1073873071i32 as _ ) ; pub const RPC_NT_SERVER_TOO_BUSY : NTSTATUS = NTSTATUS ( -1073610728i32 as _ ) ; pub const RPC_NT_SERVER_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073610729i32 as _ ) ; pub const RPC_NT_SS_CANNOT_GET_CALL_HANDLE : NTSTATUS = NTSTATUS ( -1073545208i32 as _ ) ; pub const RPC_NT_SS_CHAR_TRANS_OPEN_FAIL : NTSTATUS = NTSTATUS ( -1073545214i32 as _ ) ; pub const RPC_NT_SS_CHAR_TRANS_SHORT_FILE : NTSTATUS = NTSTATUS ( -1073545213i32 as _ ) ; pub const RPC_NT_SS_CONTEXT_DAMAGED : NTSTATUS = NTSTATUS ( -1073545210i32 as _ ) ; pub const RPC_NT_SS_CONTEXT_MISMATCH : NTSTATUS = NTSTATUS ( -1073545211i32 as _ ) ; pub const RPC_NT_SS_HANDLES_MISMATCH : NTSTATUS = NTSTATUS ( -1073545209i32 as _ ) ; pub const RPC_NT_SS_IN_NULL_CONTEXT : NTSTATUS = NTSTATUS ( -1073545212i32 as _ ) ; pub const RPC_NT_STRING_TOO_LONG : NTSTATUS = NTSTATUS ( -1073610708i32 as _ ) ; pub const RPC_NT_TYPE_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1073610739i32 as _ ) ; pub const RPC_NT_UNKNOWN_AUTHN_LEVEL : NTSTATUS = NTSTATUS ( -1073610703i32 as _ ) ; pub const RPC_NT_UNKNOWN_AUTHN_SERVICE : NTSTATUS = NTSTATUS ( -1073610704i32 as _ ) ; pub const RPC_NT_UNKNOWN_AUTHN_TYPE : NTSTATUS = NTSTATUS ( -1073610710i32 as _ ) ; pub const RPC_NT_UNKNOWN_AUTHZ_SERVICE : NTSTATUS = NTSTATUS ( -1073610701i32 as _ ) ; pub const RPC_NT_UNKNOWN_IF : NTSTATUS = NTSTATUS ( -1073610734i32 as _ ) ; pub const RPC_NT_UNKNOWN_MGR_TYPE : NTSTATUS = NTSTATUS ( -1073610735i32 as _ ) ; pub const RPC_NT_UNSUPPORTED_AUTHN_LEVEL : NTSTATUS = NTSTATUS ( -1073610669i32 as _ ) ; pub const RPC_NT_UNSUPPORTED_NAME_SYNTAX : NTSTATUS = NTSTATUS ( -1073610714i32 as _ ) ; pub const RPC_NT_UNSUPPORTED_TRANS_SYN : NTSTATUS = NTSTATUS ( -1073610721i32 as _ ) ; pub const RPC_NT_UNSUPPORTED_TYPE : NTSTATUS = NTSTATUS ( -1073610719i32 as _ ) ; pub const RPC_NT_UUID_LOCAL_ONLY : NTSTATUS = NTSTATUS ( 1073872982i32 as _ ) ; pub const RPC_NT_UUID_NO_ADDRESS : NTSTATUS = NTSTATUS ( -1073610712i32 as _ ) ; pub const RPC_NT_WRONG_ES_VERSION : NTSTATUS = NTSTATUS ( -1073545126i32 as _ ) ; pub const RPC_NT_WRONG_KIND_OF_BINDING : NTSTATUS = NTSTATUS ( -1073610750i32 as _ ) ; pub const RPC_NT_WRONG_PIPE_VERSION : NTSTATUS = NTSTATUS ( -1073545122i32 as _ ) ; pub const RPC_NT_WRONG_STUB_VERSION : NTSTATUS = NTSTATUS ( -1073545125i32 as _ ) ; pub const RPC_NT_ZERO_DIVIDE : NTSTATUS = NTSTATUS ( -1073610684i32 as _ ) ; pub const RPC_S_CALLPENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417835i32 as _ ) ; pub const RPC_S_WAITONTIMER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417834i32 as _ ) ; pub const RPC_X_BAD_STUB_DATA : i32 = 1783i32 ; pub const RPC_X_BYTE_COUNT_TOO_SMALL : i32 = 1782i32 ; pub const RPC_X_ENUM_VALUE_OUT_OF_RANGE : i32 = 1781i32 ; pub const RPC_X_INVALID_ES_ACTION : i32 = 1827i32 ; pub const RPC_X_INVALID_PIPE_OBJECT : i32 = 1830i32 ; pub const RPC_X_NO_MORE_ENTRIES : i32 = 1772i32 ; pub const RPC_X_NULL_REF_POINTER : i32 = 1780i32 ; pub const RPC_X_PIPE_CLOSED : i32 = 1916i32 ; pub const RPC_X_PIPE_DISCIPLINE_ERROR : i32 = 1917i32 ; pub const RPC_X_PIPE_EMPTY : i32 = 1918i32 ; pub const RPC_X_SS_CANNOT_GET_CALL_HANDLE : i32 = 1779i32 ; pub const RPC_X_SS_CHAR_TRANS_OPEN_FAIL : i32 = 1773i32 ; pub const RPC_X_SS_CHAR_TRANS_SHORT_FILE : i32 = 1774i32 ; pub const RPC_X_SS_CONTEXT_DAMAGED : i32 = 1777i32 ; pub const RPC_X_SS_HANDLES_MISMATCH : i32 = 1778i32 ; pub const RPC_X_SS_IN_NULL_CONTEXT : i32 = 1775i32 ; pub const RPC_X_WRONG_ES_VERSION : i32 = 1828i32 ; pub const RPC_X_WRONG_PIPE_ORDER : i32 = 1831i32 ; pub const RPC_X_WRONG_PIPE_VERSION : i32 = 1832i32 ; pub const RPC_X_WRONG_STUB_VERSION : i32 = 1829i32 ; pub unsafe fn RtlNtStatusToDosError < 'a , Param0 : :: windows :: IntoParam < 'a , NTSTATUS > , > ( status : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlNtStatusToDosError ( status : NTSTATUS ) -> u32 ; } :: std :: mem :: transmute ( RtlNtStatusToDosError ( status . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const SCARD_E_BAD_SEEK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435031i32 as _ ) ; pub const SCARD_E_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435070i32 as _ ) ; pub const SCARD_E_CANT_DISPOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435058i32 as _ ) ; pub const SCARD_E_CARD_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435044i32 as _ ) ; pub const SCARD_E_CERTIFICATE_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435027i32 as _ ) ; pub const SCARD_E_COMM_DATA_LOST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435025i32 as _ ) ; pub const SCARD_E_DIR_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435037i32 as _ ) ; pub const SCARD_E_DUPLICATE_READER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435045i32 as _ ) ; pub const SCARD_E_FILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435036i32 as _ ) ; pub const SCARD_E_ICC_CREATEORDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435039i32 as _ ) ; pub const SCARD_E_ICC_INSTALLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435040i32 as _ ) ; pub const SCARD_E_INSUFFICIENT_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435064i32 as _ ) ; pub const SCARD_E_INVALID_ATR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435051i32 as _ ) ; pub const SCARD_E_INVALID_CHV : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435030i32 as _ ) ; pub const SCARD_E_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435069i32 as _ ) ; pub const SCARD_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435068i32 as _ ) ; pub const SCARD_E_INVALID_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435067i32 as _ ) ; pub const SCARD_E_INVALID_VALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435055i32 as _ ) ; pub const SCARD_E_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435056i32 as _ ) ; pub const SCARD_E_NOT_TRANSACTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435050i32 as _ ) ; pub const SCARD_E_NO_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435033i32 as _ ) ; pub const SCARD_E_NO_DIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435035i32 as _ ) ; pub const SCARD_E_NO_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435034i32 as _ ) ; pub const SCARD_E_NO_KEY_CONTAINER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435024i32 as _ ) ; pub const SCARD_E_NO_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435066i32 as _ ) ; pub const SCARD_E_NO_PIN_CACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435021i32 as _ ) ; pub const SCARD_E_NO_READERS_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435026i32 as _ ) ; pub const SCARD_E_NO_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435043i32 as _ ) ; pub const SCARD_E_NO_SMARTCARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435060i32 as _ ) ; pub const SCARD_E_NO_SUCH_CERTIFICATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435028i32 as _ ) ; pub const SCARD_E_PCI_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435047i32 as _ ) ; pub const SCARD_E_PIN_CACHE_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435022i32 as _ ) ; pub const SCARD_E_PROTO_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435057i32 as _ ) ; pub const SCARD_E_READER_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435049i32 as _ ) ; pub const SCARD_E_READER_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435046i32 as _ ) ; pub const SCARD_E_READ_ONLY_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435020i32 as _ ) ; pub const SCARD_E_SERVER_TOO_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435023i32 as _ ) ; pub const SCARD_E_SERVICE_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435042i32 as _ ) ; pub const SCARD_E_SHARING_VIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435061i32 as _ ) ; pub const SCARD_E_SYSTEM_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435054i32 as _ ) ; pub const SCARD_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435062i32 as _ ) ; pub const SCARD_E_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435041i32 as _ ) ; pub const SCARD_E_UNKNOWN_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435059i32 as _ ) ; pub const SCARD_E_UNKNOWN_READER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435063i32 as _ ) ; pub const SCARD_E_UNKNOWN_RES_MNG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435029i32 as _ ) ; pub const SCARD_E_UNSUPPORTED_FEATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435038i32 as _ ) ; pub const SCARD_E_WRITE_TOO_MANY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435032i32 as _ ) ; pub const SCARD_F_COMM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435053i32 as _ ) ; pub const SCARD_F_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435071i32 as _ ) ; pub const SCARD_F_UNKNOWN_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435052i32 as _ ) ; pub const SCARD_F_WAITED_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435065i32 as _ ) ; pub const SCARD_P_SHUTDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435048i32 as _ ) ; pub const SCARD_W_CACHE_ITEM_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434960i32 as _ ) ; pub const SCARD_W_CACHE_ITEM_STALE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434959i32 as _ ) ; pub const SCARD_W_CACHE_ITEM_TOO_BIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434958i32 as _ ) ; pub const SCARD_W_CANCELLED_BY_USER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434962i32 as _ ) ; pub const SCARD_W_CARD_NOT_AUTHENTICATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434961i32 as _ ) ; pub const SCARD_W_CHV_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434964i32 as _ ) ; pub const SCARD_W_EOF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434963i32 as _ ) ; pub const SCARD_W_REMOVED_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434967i32 as _ ) ; pub const SCARD_W_RESET_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434968i32 as _ ) ; pub const SCARD_W_SECURITY_VIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434966i32 as _ ) ; pub const SCARD_W_UNPOWERED_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434969i32 as _ ) ; pub const SCARD_W_UNRESPONSIVE_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434970i32 as _ ) ; pub const SCARD_W_UNSUPPORTED_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434971i32 as _ ) ; pub const SCARD_W_WRONG_CHV : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434965i32 as _ ) ; pub const SCHED_E_ACCOUNT_DBASE_CORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216623i32 as _ ) ; pub const SCHED_E_ACCOUNT_INFORMATION_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216625i32 as _ ) ; pub const SCHED_E_ACCOUNT_NAME_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216624i32 as _ ) ; pub const SCHED_E_ALREADY_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216609i32 as _ ) ; pub const SCHED_E_CANNOT_OPEN_TASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216627i32 as _ ) ; pub const SCHED_E_DEPRECATED_FEATURE_USED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216592i32 as _ ) ; pub const SCHED_E_INVALIDVALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216616i32 as _ ) ; pub const SCHED_E_INVALID_TASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216626i32 as _ ) ; pub const SCHED_E_INVALID_TASK_HASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216607i32 as _ ) ; pub const SCHED_E_MALFORMEDXML : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216614i32 as _ ) ; pub const SCHED_E_MISSINGNODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216615i32 as _ ) ; pub const SCHED_E_NAMESPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216617i32 as _ ) ; pub const SCHED_E_NO_SECURITY_SERVICES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216622i32 as _ ) ; pub const SCHED_E_PAST_END_BOUNDARY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216610i32 as _ ) ; pub const SCHED_E_SERVICE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216606i32 as _ ) ; pub const SCHED_E_SERVICE_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216628i32 as _ ) ; pub const SCHED_E_SERVICE_NOT_LOCALSYSTEM : i32 = 6200i32 ; pub const SCHED_E_SERVICE_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216619i32 as _ ) ; pub const SCHED_E_SERVICE_TOO_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216605i32 as _ ) ; pub const SCHED_E_START_ON_DEMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216600i32 as _ ) ; pub const SCHED_E_TASK_ATTEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216604i32 as _ ) ; pub const SCHED_E_TASK_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216602i32 as _ ) ; pub const SCHED_E_TASK_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216630i32 as _ ) ; pub const SCHED_E_TASK_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216629i32 as _ ) ; pub const SCHED_E_TASK_NOT_UBPM_COMPAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216599i32 as _ ) ; pub const SCHED_E_TASK_NOT_V1_COMPAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216601i32 as _ ) ; pub const SCHED_E_TOO_MANY_NODES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216611i32 as _ ) ; pub const SCHED_E_TRIGGER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216631i32 as _ ) ; pub const SCHED_E_UNEXPECTEDNODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216618i32 as _ ) ; pub const SCHED_E_UNKNOWN_OBJECT_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216621i32 as _ ) ; pub const SCHED_E_UNSUPPORTED_ACCOUNT_OPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216620i32 as _ ) ; pub const SCHED_E_USER_NOT_LOGGED_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216608i32 as _ ) ; pub const SCHED_S_BATCH_LOGON_PROBLEM : :: windows :: HRESULT = :: windows :: HRESULT ( 267036i32 as _ ) ; pub const SCHED_S_EVENT_TRIGGER : :: windows :: HRESULT = :: windows :: HRESULT ( 267016i32 as _ ) ; pub const SCHED_S_SOME_TRIGGERS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( 267035i32 as _ ) ; pub const SCHED_S_TASK_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( 267010i32 as _ ) ; pub const SCHED_S_TASK_HAS_NOT_RUN : :: windows :: HRESULT = :: windows :: HRESULT ( 267011i32 as _ ) ; pub const SCHED_S_TASK_NOT_SCHEDULED : :: windows :: HRESULT = :: windows :: HRESULT ( 267013i32 as _ ) ; pub const SCHED_S_TASK_NO_MORE_RUNS : :: windows :: HRESULT = :: windows :: HRESULT ( 267012i32 as _ ) ; pub const SCHED_S_TASK_NO_VALID_TRIGGERS : :: windows :: HRESULT = :: windows :: HRESULT ( 267015i32 as _ ) ; pub const SCHED_S_TASK_QUEUED : :: windows :: HRESULT = :: windows :: HRESULT ( 267045i32 as _ ) ; pub const SCHED_S_TASK_READY : :: windows :: HRESULT = :: windows :: HRESULT ( 267008i32 as _ ) ; pub const SCHED_S_TASK_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( 267009i32 as _ ) ; pub const SCHED_S_TASK_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( 267014i32 as _ ) ; pub const SDIAG_E_CANCELLED : i32 = -2143551232i32 ; pub const SDIAG_E_CANNOTRUN : i32 = -2143551224i32 ; pub const SDIAG_E_DISABLED : i32 = -2143551226i32 ; pub const SDIAG_E_MANAGEDHOST : i32 = -2143551229i32 ; pub const SDIAG_E_NOVERIFIER : i32 = -2143551228i32 ; pub const SDIAG_E_POWERSHELL : i32 = -2143551230i32 ; pub const SDIAG_E_RESOURCE : i32 = -2143551222i32 ; pub const SDIAG_E_ROOTCAUSE : i32 = -2143551221i32 ; pub const SDIAG_E_SCRIPT : i32 = -2143551231i32 ; pub const SDIAG_E_TRUST : i32 = -2143551225i32 ; pub const SDIAG_E_VERSION : i32 = -2143551223i32 ; pub const SDIAG_S_CANNOTRUN : i32 = 3932421i32 ; pub const SEC_E_ALGORITHM_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893007i32 as _ ) ; pub const SEC_E_APPLICATION_PROTOCOL_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892953i32 as _ ) ; pub const SEC_E_BAD_BINDINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892986i32 as _ ) ; pub const SEC_E_BAD_PKGID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893034i32 as _ ) ; pub const SEC_E_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893023i32 as _ ) ; pub const SEC_E_CANNOT_INSTALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893049i32 as _ ) ; pub const SEC_E_CANNOT_PACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893047i32 as _ ) ; pub const SEC_E_CERT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893016i32 as _ ) ; pub const SEC_E_CERT_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893017i32 as _ ) ; pub const SEC_E_CERT_WRONG_USAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892983i32 as _ ) ; pub const SEC_E_CONTEXT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893033i32 as _ ) ; pub const SEC_E_CROSSREALM_DELEGATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892969i32 as _ ) ; pub const SEC_E_CRYPTO_SYSTEM_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893001i32 as _ ) ; pub const SEC_E_DECRYPT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893008i32 as _ ) ; pub const SEC_E_DELEGATION_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892962i32 as _ ) ; pub const SEC_E_DELEGATION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892987i32 as _ ) ; pub const SEC_E_DOWNGRADE_DETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892976i32 as _ ) ; pub const SEC_E_ENCRYPT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893015i32 as _ ) ; pub const SEC_E_EXT_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892950i32 as _ ) ; pub const SEC_E_ILLEGAL_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893018i32 as _ ) ; pub const SEC_E_INCOMPLETE_CREDENTIALS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893024i32 as _ ) ; pub const SEC_E_INCOMPLETE_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893032i32 as _ ) ; pub const SEC_E_INSUFFICIENT_BUFFERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892949i32 as _ ) ; pub const SEC_E_INSUFFICIENT_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893056i32 as _ ) ; pub const SEC_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893052i32 as _ ) ; pub const SEC_E_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893055i32 as _ ) ; pub const SEC_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892963i32 as _ ) ; pub const SEC_E_INVALID_TOKEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893048i32 as _ ) ; pub const SEC_E_INVALID_UPN_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892951i32 as _ ) ; pub const SEC_E_ISSUING_CA_UNTRUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892974i32 as _ ) ; pub const SEC_E_ISSUING_CA_UNTRUSTED_KDC : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892967i32 as _ ) ; pub const SEC_E_KDC_CERT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892966i32 as _ ) ; pub const SEC_E_KDC_CERT_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892965i32 as _ ) ; pub const SEC_E_KDC_INVALID_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892992i32 as _ ) ; pub const SEC_E_KDC_UNABLE_TO_REFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892991i32 as _ ) ; pub const SEC_E_KDC_UNKNOWN_ETYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892990i32 as _ ) ; pub const SEC_E_LOGON_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893044i32 as _ ) ; pub const SEC_E_MAX_REFERRALS_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893000i32 as _ ) ; pub const SEC_E_MESSAGE_ALTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893041i32 as _ ) ; pub const SEC_E_MULTIPLE_ACCOUNTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892985i32 as _ ) ; pub const SEC_E_MUST_BE_KDC : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892999i32 as _ ) ; pub const SEC_E_MUTUAL_AUTH_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892957i32 as _ ) ; pub const SEC_E_NOT_OWNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893050i32 as _ ) ; pub const SEC_E_NO_AUTHENTICATING_AUTHORITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893039i32 as _ ) ; pub const SEC_E_NO_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892959i32 as _ ) ; pub const SEC_E_NO_CREDENTIALS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893042i32 as _ ) ; pub const SEC_E_NO_IMPERSONATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893045i32 as _ ) ; pub const SEC_E_NO_IP_ADDRESSES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893003i32 as _ ) ; pub const SEC_E_NO_KERB_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892984i32 as _ ) ; pub const SEC_E_NO_PA_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892996i32 as _ ) ; pub const SEC_E_NO_S4U_PROT_SUPPORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892970i32 as _ ) ; pub const SEC_E_NO_TGT_REPLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893004i32 as _ ) ; pub const SEC_E_OK : :: windows :: HRESULT = :: windows :: HRESULT ( 0i32 as _ ) ; pub const SEC_E_ONLY_HTTPS_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892955i32 as _ ) ; pub const SEC_E_OUT_OF_SEQUENCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893040i32 as _ ) ; pub const SEC_E_PKINIT_CLIENT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892972i32 as _ ) ; pub const SEC_E_PKINIT_NAME_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892995i32 as _ ) ; pub const SEC_E_PKU2U_CERT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892958i32 as _ ) ; pub const SEC_E_POLICY_NLTM_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892961i32 as _ ) ; pub const SEC_E_QOP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893046i32 as _ ) ; pub const SEC_E_REVOCATION_OFFLINE_C : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892973i32 as _ ) ; pub const SEC_E_REVOCATION_OFFLINE_KDC : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892968i32 as _ ) ; pub const SEC_E_SECPKG_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893051i32 as _ ) ; pub const SEC_E_SECURITY_QOS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893006i32 as _ ) ; pub const SEC_E_SHUTDOWN_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892993i32 as _ ) ; pub const SEC_E_SMARTCARD_CERT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892971i32 as _ ) ; pub const SEC_E_SMARTCARD_CERT_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892975i32 as _ ) ; pub const SEC_E_SMARTCARD_LOGON_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892994i32 as _ ) ; pub const SEC_E_STRONG_CRYPTO_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892998i32 as _ ) ; pub const SEC_E_TARGET_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893053i32 as _ ) ; pub const SEC_E_TIME_SKEW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893020i32 as _ ) ; pub const SEC_E_TOO_MANY_PRINCIPALS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892997i32 as _ ) ; pub const SEC_E_UNFINISHED_CONTEXT_DELETED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893005i32 as _ ) ; pub const SEC_E_UNKNOWN_CREDENTIALS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893043i32 as _ ) ; pub const SEC_E_UNSUPPORTED_FUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893054i32 as _ ) ; pub const SEC_E_UNSUPPORTED_PREAUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892989i32 as _ ) ; pub const SEC_E_UNTRUSTED_ROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893019i32 as _ ) ; pub const SEC_E_WRONG_CREDENTIAL_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893002i32 as _ ) ; pub const SEC_E_WRONG_PRINCIPAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893022i32 as _ ) ; pub const SEC_I_ASYNC_CALL_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( 590696i32 as _ ) ; pub const SEC_I_COMPLETE_AND_CONTINUE : :: windows :: HRESULT = :: windows :: HRESULT ( 590612i32 as _ ) ; pub const SEC_I_COMPLETE_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( 590611i32 as _ ) ; pub const SEC_I_CONTEXT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( 590615i32 as _ ) ; pub const SEC_I_CONTINUE_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( 590610i32 as _ ) ; pub const SEC_I_CONTINUE_NEEDED_MESSAGE_OK : :: windows :: HRESULT = :: windows :: HRESULT ( 590694i32 as _ ) ; pub const SEC_I_GENERIC_EXTENSION_RECEIVED : :: windows :: HRESULT = :: windows :: HRESULT ( 590614i32 as _ ) ; pub const SEC_I_INCOMPLETE_CREDENTIALS : :: windows :: HRESULT = :: windows :: HRESULT ( 590624i32 as _ ) ; pub const SEC_I_LOCAL_LOGON : :: windows :: HRESULT = :: windows :: HRESULT ( 590613i32 as _ ) ; pub const SEC_I_MESSAGE_FRAGMENT : :: windows :: HRESULT = :: windows :: HRESULT ( 590692i32 as _ ) ; pub const SEC_I_NO_LSA_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( 590627i32 as _ ) ; pub const SEC_I_NO_RENEGOTIATION : :: windows :: HRESULT = :: windows :: HRESULT ( 590688i32 as _ ) ; pub const SEC_I_RENEGOTIATE : :: windows :: HRESULT = :: windows :: HRESULT ( 590625i32 as _ ) ; pub const SEC_I_SIGNATURE_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( 590684i32 as _ ) ; pub const SEVERITY_ERROR : u32 = 1u32 ; pub const SEVERITY_SUCCESS : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SIZE { pub cx : i32 , pub cy : i32 } impl SIZE { } impl :: std :: default :: Default for SIZE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for SIZE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SIZE" ) . field ( "cx" , & self . cx ) . field ( "cy" , & self . cy ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SIZE { fn eq ( & self , other : & Self ) -> bool { self . cx == other . cx && self . cy == other . cy } } impl :: std :: cmp :: Eq for SIZE { } unsafe impl :: windows :: Abi for SIZE { type Abi = Self ; type DefaultType = Self ; } pub const SPAPI_E_AUTHENTICODE_DISALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500032i32 as _ ) ; pub const SPAPI_E_AUTHENTICODE_PUBLISHER_NOT_TRUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500029i32 as _ ) ; pub const SPAPI_E_AUTHENTICODE_TRUSTED_PUBLISHER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500031i32 as _ ) ; pub const SPAPI_E_AUTHENTICODE_TRUST_NOT_ESTABLISHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500030i32 as _ ) ; pub const SPAPI_E_BAD_INTERFACE_INSTALLSECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500067i32 as _ ) ; pub const SPAPI_E_BAD_SECTION_NAME_LINE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500607i32 as _ ) ; pub const SPAPI_E_BAD_SERVICE_INSTALLSECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500073i32 as _ ) ; pub const SPAPI_E_CANT_LOAD_CLASS_ICON : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500084i32 as _ ) ; pub const SPAPI_E_CANT_REMOVE_DEVINST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500046i32 as _ ) ; pub const SPAPI_E_CLASS_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500095i32 as _ ) ; pub const SPAPI_E_DEVICE_INSTALLER_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500026i32 as _ ) ; pub const SPAPI_E_DEVICE_INSTALL_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500024i32 as _ ) ; pub const SPAPI_E_DEVICE_INTERFACE_ACTIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500069i32 as _ ) ; pub const SPAPI_E_DEVICE_INTERFACE_REMOVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500068i32 as _ ) ; pub const SPAPI_E_DEVINFO_DATA_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500077i32 as _ ) ; pub const SPAPI_E_DEVINFO_LIST_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500078i32 as _ ) ; pub const SPAPI_E_DEVINFO_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500088i32 as _ ) ; pub const SPAPI_E_DEVINSTALL_QUEUE_NONNATIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500048i32 as _ ) ; pub const SPAPI_E_DEVINST_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500089i32 as _ ) ; pub const SPAPI_E_DI_BAD_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500076i32 as _ ) ; pub const SPAPI_E_DI_DONT_INSTALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500053i32 as _ ) ; pub const SPAPI_E_DI_DO_DEFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500082i32 as _ ) ; pub const SPAPI_E_DI_FUNCTION_OBSOLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500034i32 as _ ) ; pub const SPAPI_E_DI_NOFILECOPY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500081i32 as _ ) ; pub const SPAPI_E_DI_POSTPROCESSING_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500058i32 as _ ) ; pub const SPAPI_E_DRIVER_INSTALL_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500023i32 as _ ) ; pub const SPAPI_E_DRIVER_NONNATIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500044i32 as _ ) ; pub const SPAPI_E_DRIVER_STORE_ADD_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500025i32 as _ ) ; pub const SPAPI_E_DRIVER_STORE_DELETE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500020i32 as _ ) ; pub const SPAPI_E_DUPLICATE_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500094i32 as _ ) ; pub const SPAPI_E_ERROR_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146496512i32 as _ ) ; pub const SPAPI_E_EXPECTED_SECTION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500608i32 as _ ) ; pub const SPAPI_E_FILEQUEUE_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500074i32 as _ ) ; pub const SPAPI_E_FILE_HASH_NOT_IN_CATALOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500021i32 as _ ) ; pub const SPAPI_E_GENERAL_SYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500605i32 as _ ) ; pub const SPAPI_E_INCORRECTLY_COPIED_INF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500041i32 as _ ) ; pub const SPAPI_E_INF_IN_USE_BY_DEVICES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500035i32 as _ ) ; pub const SPAPI_E_INVALID_CLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500090i32 as _ ) ; pub const SPAPI_E_INVALID_CLASS_INSTALLER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500083i32 as _ ) ; pub const SPAPI_E_INVALID_COINSTALLER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500057i32 as _ ) ; pub const SPAPI_E_INVALID_DEVINST_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500091i32 as _ ) ; pub const SPAPI_E_INVALID_FILTER_DRIVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500052i32 as _ ) ; pub const SPAPI_E_INVALID_HWPROFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500080i32 as _ ) ; pub const SPAPI_E_INVALID_INF_LOGCONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500054i32 as _ ) ; pub const SPAPI_E_INVALID_MACHINENAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500064i32 as _ ) ; pub const SPAPI_E_INVALID_PROPPAGE_PROVIDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500060i32 as _ ) ; pub const SPAPI_E_INVALID_REFERENCE_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500065i32 as _ ) ; pub const SPAPI_E_INVALID_REG_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500087i32 as _ ) ; pub const SPAPI_E_INVALID_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500045i32 as _ ) ; pub const SPAPI_E_IN_WOW64 : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500043i32 as _ ) ; pub const SPAPI_E_KEY_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500092i32 as _ ) ; pub const SPAPI_E_LINE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500350i32 as _ ) ; pub const SPAPI_E_MACHINE_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500062i32 as _ ) ; pub const SPAPI_E_NON_WINDOWS_DRIVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500050i32 as _ ) ; pub const SPAPI_E_NON_WINDOWS_NT_DRIVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500051i32 as _ ) ; pub const SPAPI_E_NOT_AN_INSTALLED_OEM_INF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500036i32 as _ ) ; pub const SPAPI_E_NOT_DISABLEABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500047i32 as _ ) ; pub const SPAPI_E_NO_ASSOCIATED_CLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500096i32 as _ ) ; pub const SPAPI_E_NO_ASSOCIATED_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500071i32 as _ ) ; pub const SPAPI_E_NO_AUTHENTICODE_CATALOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500033i32 as _ ) ; pub const SPAPI_E_NO_BACKUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500349i32 as _ ) ; pub const SPAPI_E_NO_CATALOG_FOR_OEM_INF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500049i32 as _ ) ; pub const SPAPI_E_NO_CLASSINSTALL_PARAMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500075i32 as _ ) ; pub const SPAPI_E_NO_CLASS_DRIVER_LIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500072i32 as _ ) ; pub const SPAPI_E_NO_COMPAT_DRIVERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500056i32 as _ ) ; pub const SPAPI_E_NO_CONFIGMGR_SERVICES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500061i32 as _ ) ; pub const SPAPI_E_NO_DEFAULT_DEVICE_INTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500070i32 as _ ) ; pub const SPAPI_E_NO_DEVICE_ICON : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500055i32 as _ ) ; pub const SPAPI_E_NO_DEVICE_SELECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500079i32 as _ ) ; pub const SPAPI_E_NO_DRIVER_SELECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500093i32 as _ ) ; pub const SPAPI_E_NO_INF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500086i32 as _ ) ; pub const SPAPI_E_NO_SUCH_DEVICE_INTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500059i32 as _ ) ; pub const SPAPI_E_NO_SUCH_DEVINST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500085i32 as _ ) ; pub const SPAPI_E_NO_SUCH_INTERFACE_CLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500066i32 as _ ) ; pub const SPAPI_E_ONLY_VALIDATE_VIA_AUTHENTICODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500027i32 as _ ) ; pub const SPAPI_E_PNP_REGISTRY_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500038i32 as _ ) ; pub const SPAPI_E_REMOTE_COMM_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500063i32 as _ ) ; pub const SPAPI_E_REMOTE_REQUEST_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500037i32 as _ ) ; pub const SPAPI_E_SCE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500040i32 as _ ) ; pub const SPAPI_E_SECTION_NAME_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500606i32 as _ ) ; pub const SPAPI_E_SECTION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500351i32 as _ ) ; pub const SPAPI_E_SET_SYSTEM_RESTORE_POINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500042i32 as _ ) ; pub const SPAPI_E_SIGNATURE_OSATTRIBUTE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500028i32 as _ ) ; pub const SPAPI_E_UNKNOWN_EXCEPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500039i32 as _ ) ; pub const SPAPI_E_UNRECOVERABLE_STACK_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146499840i32 as _ ) ; pub const SPAPI_E_WRONG_INF_STYLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500352i32 as _ ) ; pub const SPAPI_E_WRONG_INF_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500022i32 as _ ) ; pub const SQLITE_E_ABORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574332i32 as _ ) ; pub const SQLITE_E_ABORT_ROLLBACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573820i32 as _ ) ; pub const SQLITE_E_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574313i32 as _ ) ; pub const SQLITE_E_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574331i32 as _ ) ; pub const SQLITE_E_BUSY_RECOVERY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574075i32 as _ ) ; pub const SQLITE_E_BUSY_SNAPSHOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573819i32 as _ ) ; pub const SQLITE_E_CANTOPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574322i32 as _ ) ; pub const SQLITE_E_CANTOPEN_CONVPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573298i32 as _ ) ; pub const SQLITE_E_CANTOPEN_FULLPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573554i32 as _ ) ; pub const SQLITE_E_CANTOPEN_ISDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573810i32 as _ ) ; pub const SQLITE_E_CANTOPEN_NOTEMPDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574066i32 as _ ) ; pub const SQLITE_E_CONSTRAINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574317i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574061i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_COMMITHOOK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573805i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_FOREIGNKEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573549i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_FUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573293i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_NOTNULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573037i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_PRIMARYKEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572781i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_ROWID : :: windows :: HRESULT = :: windows :: HRESULT ( -2018571757i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_TRIGGER : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572525i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572269i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_VTAB : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572013i32 as _ ) ; pub const SQLITE_E_CORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574325i32 as _ ) ; pub const SQLITE_E_CORRUPT_VTAB : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574069i32 as _ ) ; pub const SQLITE_E_DONE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574235i32 as _ ) ; pub const SQLITE_E_EMPTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574320i32 as _ ) ; pub const SQLITE_E_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574335i32 as _ ) ; pub const SQLITE_E_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574312i32 as _ ) ; pub const SQLITE_E_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574323i32 as _ ) ; pub const SQLITE_E_INTERNAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574334i32 as _ ) ; pub const SQLITE_E_INTERRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574327i32 as _ ) ; pub const SQLITE_E_IOERR : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574326i32 as _ ) ; pub const SQLITE_E_IOERR_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2018570998i32 as _ ) ; pub const SQLITE_E_IOERR_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018567677i32 as _ ) ; pub const SQLITE_E_IOERR_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2018571510i32 as _ ) ; pub const SQLITE_E_IOERR_CHECKRESERVEDLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018570742i32 as _ ) ; pub const SQLITE_E_IOERR_CLOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018570230i32 as _ ) ; pub const SQLITE_E_IOERR_CONVPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018567670i32 as _ ) ; pub const SQLITE_E_IOERR_DELETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018571766i32 as _ ) ; pub const SQLITE_E_IOERR_DELETE_NOENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018568438i32 as _ ) ; pub const SQLITE_E_IOERR_DIR_CLOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018569974i32 as _ ) ; pub const SQLITE_E_IOERR_DIR_FSYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573046i32 as _ ) ; pub const SQLITE_E_IOERR_FSTAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572534i32 as _ ) ; pub const SQLITE_E_IOERR_FSYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573302i32 as _ ) ; pub const SQLITE_E_IOERR_GETTEMPPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018567926i32 as _ ) ; pub const SQLITE_E_IOERR_LOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018570486i32 as _ ) ; pub const SQLITE_E_IOERR_MMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2018568182i32 as _ ) ; pub const SQLITE_E_IOERR_NOMEM : :: windows :: HRESULT = :: windows :: HRESULT ( -2018571254i32 as _ ) ; pub const SQLITE_E_IOERR_RDLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572022i32 as _ ) ; pub const SQLITE_E_IOERR_READ : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574070i32 as _ ) ; pub const SQLITE_E_IOERR_SEEK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018568694i32 as _ ) ; pub const SQLITE_E_IOERR_SHMLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018569206i32 as _ ) ; pub const SQLITE_E_IOERR_SHMMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2018568950i32 as _ ) ; pub const SQLITE_E_IOERR_SHMOPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2018569718i32 as _ ) ; pub const SQLITE_E_IOERR_SHMSIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018569462i32 as _ ) ; pub const SQLITE_E_IOERR_SHORT_READ : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573814i32 as _ ) ; pub const SQLITE_E_IOERR_TRUNCATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572790i32 as _ ) ; pub const SQLITE_E_IOERR_UNLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572278i32 as _ ) ; pub const SQLITE_E_IOERR_VNODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018567678i32 as _ ) ; pub const SQLITE_E_IOERR_WRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573558i32 as _ ) ; pub const SQLITE_E_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574330i32 as _ ) ; pub const SQLITE_E_LOCKED_SHAREDCACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574074i32 as _ ) ; pub const SQLITE_E_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574316i32 as _ ) ; pub const SQLITE_E_MISUSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574315i32 as _ ) ; pub const SQLITE_E_NOLFS : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574314i32 as _ ) ; pub const SQLITE_E_NOMEM : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574329i32 as _ ) ; pub const SQLITE_E_NOTADB : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574310i32 as _ ) ; pub const SQLITE_E_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574324i32 as _ ) ; pub const SQLITE_E_NOTICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574309i32 as _ ) ; pub const SQLITE_E_NOTICE_RECOVER_ROLLBACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573797i32 as _ ) ; pub const SQLITE_E_NOTICE_RECOVER_WAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574053i32 as _ ) ; pub const SQLITE_E_PERM : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574333i32 as _ ) ; pub const SQLITE_E_PROTOCOL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574321i32 as _ ) ; pub const SQLITE_E_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574311i32 as _ ) ; pub const SQLITE_E_READONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574328i32 as _ ) ; pub const SQLITE_E_READONLY_CANTLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573816i32 as _ ) ; pub const SQLITE_E_READONLY_DBMOVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573304i32 as _ ) ; pub const SQLITE_E_READONLY_RECOVERY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574072i32 as _ ) ; pub const SQLITE_E_READONLY_ROLLBACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573560i32 as _ ) ; pub const SQLITE_E_ROW : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574236i32 as _ ) ; pub const SQLITE_E_SCHEMA : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574319i32 as _ ) ; pub const SQLITE_E_TOOBIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574318i32 as _ ) ; pub const SQLITE_E_WARNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574308i32 as _ ) ; pub const SQLITE_E_WARNING_AUTOINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574052i32 as _ ) ; pub const STATEREPOSITORY_ERROR_CACHE_CORRUPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733422i32 as _ ) ; pub const STATEREPOSITORY_ERROR_DICTIONARY_CORRUPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733435i32 as _ ) ; pub const STATEREPOSITORY_E_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733434i32 as _ ) ; pub const STATEREPOSITORY_E_BUSY_RECOVERY_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733432i32 as _ ) ; pub const STATEREPOSITORY_E_BUSY_RECOVERY_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733427i32 as _ ) ; pub const STATEREPOSITORY_E_BUSY_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733433i32 as _ ) ; pub const STATEREPOSITORY_E_BUSY_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733428i32 as _ ) ; pub const STATEREPOSITORY_E_CONCURRENCY_LOCKING_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733439i32 as _ ) ; pub const STATEREPOSITORY_E_CONFIGURATION_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733437i32 as _ ) ; pub const STATEREPOSITORY_E_LOCKED_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733431i32 as _ ) ; pub const STATEREPOSITORY_E_LOCKED_SHAREDCACHE_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733430i32 as _ ) ; pub const STATEREPOSITORY_E_LOCKED_SHAREDCACHE_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733425i32 as _ ) ; pub const STATEREPOSITORY_E_LOCKED_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733426i32 as _ ) ; pub const STATEREPOSITORY_E_SERVICE_STOP_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733424i32 as _ ) ; pub const STATEREPOSITORY_E_STATEMENT_INPROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733438i32 as _ ) ; pub const STATEREPOSITORY_E_TRANSACTION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733429i32 as _ ) ; pub const STATEREPOSITORY_E_UNKNOWN_SCHEMA_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733436i32 as _ ) ; pub const STATEREPOSITORY_TRANSACTION_CALLER_ID_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( 6750227i32 as _ ) ; pub const STATEREPOSITORY_TRANSACTION_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( 6750228i32 as _ ) ; pub const STATEREPOSTORY_E_NESTED_TRANSACTION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733423i32 as _ ) ; pub const STATUS_ABANDONED : NTSTATUS = NTSTATUS ( 128i32 as _ ) ; pub const STATUS_ABANDONED_WAIT_0 : NTSTATUS = NTSTATUS ( 128i32 as _ ) ; pub const STATUS_ABANDONED_WAIT_63 : NTSTATUS = NTSTATUS ( 191i32 as _ ) ; pub const STATUS_ABANDON_HIBERFILE : NTSTATUS = NTSTATUS ( 1073741875i32 as _ ) ; pub const STATUS_ABIOS_INVALID_COMMAND : NTSTATUS = NTSTATUS ( -1073741549i32 as _ ) ; pub const STATUS_ABIOS_INVALID_LID : NTSTATUS = NTSTATUS ( -1073741548i32 as _ ) ; pub const STATUS_ABIOS_INVALID_SELECTOR : NTSTATUS = NTSTATUS ( -1073741546i32 as _ ) ; pub const STATUS_ABIOS_LID_ALREADY_OWNED : NTSTATUS = NTSTATUS ( -1073741551i32 as _ ) ; pub const STATUS_ABIOS_LID_NOT_EXIST : NTSTATUS = NTSTATUS ( -1073741552i32 as _ ) ; pub const STATUS_ABIOS_NOT_LID_OWNER : NTSTATUS = NTSTATUS ( -1073741550i32 as _ ) ; pub const STATUS_ABIOS_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073741553i32 as _ ) ; pub const STATUS_ABIOS_SELECTOR_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073741547i32 as _ ) ; pub const STATUS_ACCESS_AUDIT_BY_POLICY : NTSTATUS = NTSTATUS ( 1073741874i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT : NTSTATUS = NTSTATUS ( -1073740959i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_BY_POLICY_OTHER : NTSTATUS = NTSTATUS ( -1073740956i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_BY_POLICY_PATH : NTSTATUS = NTSTATUS ( -1073740958i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER : NTSTATUS = NTSTATUS ( -1073740957i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY : NTSTATUS = NTSTATUS ( -1073740942i32 as _ ) ; pub const STATUS_ACCESS_VIOLATION : NTSTATUS = NTSTATUS ( -1073741819i32 as _ ) ; pub const STATUS_ACPI_ACQUIRE_GLOBAL_LOCK : NTSTATUS = NTSTATUS ( -1072431086i32 as _ ) ; pub const STATUS_ACPI_ADDRESS_NOT_MAPPED : NTSTATUS = NTSTATUS ( -1072431092i32 as _ ) ; pub const STATUS_ACPI_ALREADY_INITIALIZED : NTSTATUS = NTSTATUS ( -1072431085i32 as _ ) ; pub const STATUS_ACPI_ASSERT_FAILED : NTSTATUS = NTSTATUS ( -1072431101i32 as _ ) ; pub const STATUS_ACPI_FATAL : NTSTATUS = NTSTATUS ( -1072431098i32 as _ ) ; pub const STATUS_ACPI_HANDLER_COLLISION : NTSTATUS = NTSTATUS ( -1072431090i32 as _ ) ; pub const STATUS_ACPI_INCORRECT_ARGUMENT_COUNT : NTSTATUS = NTSTATUS ( -1072431093i32 as _ ) ; pub const STATUS_ACPI_INVALID_ACCESS_SIZE : NTSTATUS = NTSTATUS ( -1072431087i32 as _ ) ; pub const STATUS_ACPI_INVALID_ARGTYPE : NTSTATUS = NTSTATUS ( -1072431096i32 as _ ) ; pub const STATUS_ACPI_INVALID_ARGUMENT : NTSTATUS = NTSTATUS ( -1072431099i32 as _ ) ; pub const STATUS_ACPI_INVALID_DATA : NTSTATUS = NTSTATUS ( -1072431089i32 as _ ) ; pub const STATUS_ACPI_INVALID_EVENTTYPE : NTSTATUS = NTSTATUS ( -1072431091i32 as _ ) ; pub const STATUS_ACPI_INVALID_INDEX : NTSTATUS = NTSTATUS ( -1072431100i32 as _ ) ; pub const STATUS_ACPI_INVALID_MUTEX_LEVEL : NTSTATUS = NTSTATUS ( -1072431083i32 as _ ) ; pub const STATUS_ACPI_INVALID_OBJTYPE : NTSTATUS = NTSTATUS ( -1072431095i32 as _ ) ; pub const STATUS_ACPI_INVALID_OPCODE : NTSTATUS = NTSTATUS ( -1072431103i32 as _ ) ; pub const STATUS_ACPI_INVALID_REGION : NTSTATUS = NTSTATUS ( -1072431088i32 as _ ) ; pub const STATUS_ACPI_INVALID_SUPERNAME : NTSTATUS = NTSTATUS ( -1072431097i32 as _ ) ; pub const STATUS_ACPI_INVALID_TABLE : NTSTATUS = NTSTATUS ( -1072431079i32 as _ ) ; pub const STATUS_ACPI_INVALID_TARGETTYPE : NTSTATUS = NTSTATUS ( -1072431094i32 as _ ) ; pub const STATUS_ACPI_MUTEX_NOT_OWNED : NTSTATUS = NTSTATUS ( -1072431082i32 as _ ) ; pub const STATUS_ACPI_MUTEX_NOT_OWNER : NTSTATUS = NTSTATUS ( -1072431081i32 as _ ) ; pub const STATUS_ACPI_NOT_INITIALIZED : NTSTATUS = NTSTATUS ( -1072431084i32 as _ ) ; pub const STATUS_ACPI_POWER_REQUEST_FAILED : NTSTATUS = NTSTATUS ( -1072431071i32 as _ ) ; pub const STATUS_ACPI_REG_HANDLER_FAILED : NTSTATUS = NTSTATUS ( -1072431072i32 as _ ) ; pub const STATUS_ACPI_RS_ACCESS : NTSTATUS = NTSTATUS ( -1072431080i32 as _ ) ; pub const STATUS_ACPI_STACK_OVERFLOW : NTSTATUS = NTSTATUS ( -1072431102i32 as _ ) ; pub const STATUS_ADAPTER_HARDWARE_ERROR : NTSTATUS = NTSTATUS ( -1073741630i32 as _ ) ; pub const STATUS_ADDRESS_ALREADY_ASSOCIATED : NTSTATUS = NTSTATUS ( -1073741256i32 as _ ) ; pub const STATUS_ADDRESS_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1073741302i32 as _ ) ; pub const STATUS_ADDRESS_CLOSED : NTSTATUS = NTSTATUS ( -1073741301i32 as _ ) ; pub const STATUS_ADDRESS_NOT_ASSOCIATED : NTSTATUS = NTSTATUS ( -1073741255i32 as _ ) ; pub const STATUS_ADMINLESS_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073700348i32 as _ ) ; pub const STATUS_ADVANCED_INSTALLER_FAILED : NTSTATUS = NTSTATUS ( -1072365536i32 as _ ) ; pub const STATUS_AGENTS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073741691i32 as _ ) ; pub const STATUS_ALERTED : NTSTATUS = NTSTATUS ( 257i32 as _ ) ; pub const STATUS_ALIAS_EXISTS : NTSTATUS = NTSTATUS ( -1073741484i32 as _ ) ; pub const STATUS_ALLOCATE_BUCKET : NTSTATUS = NTSTATUS ( -1073741265i32 as _ ) ; pub const STATUS_ALLOTTED_SPACE_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741671i32 as _ ) ; pub const STATUS_ALL_SIDS_FILTERED : NTSTATUS = NTSTATUS ( -1073740962i32 as _ ) ; pub const STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073740798i32 as _ ) ; pub const STATUS_ALPC_CHECK_COMPLETION_LIST : NTSTATUS = NTSTATUS ( 1073741872i32 as _ ) ; pub const STATUS_ALREADY_COMMITTED : NTSTATUS = NTSTATUS ( -1073741791i32 as _ ) ; pub const STATUS_ALREADY_COMPLETE : NTSTATUS = NTSTATUS ( 255i32 as _ ) ; pub const STATUS_ALREADY_DISCONNECTED : NTSTATUS = NTSTATUS ( -2147483611i32 as _ ) ; pub const STATUS_ALREADY_HAS_STREAM_ID : NTSTATUS = NTSTATUS ( -1073740530i32 as _ ) ; pub const STATUS_ALREADY_INITIALIZED : NTSTATUS = NTSTATUS ( -1073740528i32 as _ ) ; pub const STATUS_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1073740008i32 as _ ) ; pub const STATUS_ALREADY_WIN32 : NTSTATUS = NTSTATUS ( 1073741851i32 as _ ) ; pub const STATUS_AMBIGUOUS_SYSTEM_DEVICE : NTSTATUS = NTSTATUS ( -1073740719i32 as _ ) ; pub const STATUS_APC_RETURNED_WHILE_IMPERSONATING : NTSTATUS = NTSTATUS ( -1073740015i32 as _ ) ; pub const STATUS_APISET_NOT_HOSTED : NTSTATUS = NTSTATUS ( -1073740671i32 as _ ) ; pub const STATUS_APISET_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073740670i32 as _ ) ; pub const STATUS_APPEXEC_CONDITION_NOT_SATISFIED : NTSTATUS = NTSTATUS ( -1058275328i32 as _ ) ; pub const STATUS_APPEXEC_HANDLE_INVALIDATED : NTSTATUS = NTSTATUS ( -1058275327i32 as _ ) ; pub const STATUS_APPEXEC_HOST_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1058275322i32 as _ ) ; pub const STATUS_APPEXEC_INVALID_HOST_GENERATION : NTSTATUS = NTSTATUS ( -1058275326i32 as _ ) ; pub const STATUS_APPEXEC_INVALID_HOST_STATE : NTSTATUS = NTSTATUS ( -1058275324i32 as _ ) ; pub const STATUS_APPEXEC_NO_DONOR : NTSTATUS = NTSTATUS ( -1058275323i32 as _ ) ; pub const STATUS_APPEXEC_UNEXPECTED_PROCESS_REGISTRATION : NTSTATUS = NTSTATUS ( -1058275325i32 as _ ) ; pub const STATUS_APPEXEC_UNKNOWN_USER : NTSTATUS = NTSTATUS ( -1058275321i32 as _ ) ; pub const STATUS_APPHELP_BLOCK : NTSTATUS = NTSTATUS ( -1073740963i32 as _ ) ; pub const STATUS_APPX_FILE_NOT_ENCRYPTED : NTSTATUS = NTSTATUS ( -1073740634i32 as _ ) ; pub const STATUS_APPX_INTEGRITY_FAILURE_CLR_NGEN : NTSTATUS = NTSTATUS ( -1073740673i32 as _ ) ; pub const STATUS_APP_DATA_CORRUPT : NTSTATUS = NTSTATUS ( -1073700221i32 as _ ) ; pub const STATUS_APP_DATA_EXPIRED : NTSTATUS = NTSTATUS ( -1073700222i32 as _ ) ; pub const STATUS_APP_DATA_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073700220i32 as _ ) ; pub const STATUS_APP_DATA_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073700223i32 as _ ) ; pub const STATUS_APP_DATA_REBOOT_REQUIRED : NTSTATUS = NTSTATUS ( -1073700219i32 as _ ) ; pub const STATUS_APP_INIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741499i32 as _ ) ; pub const STATUS_ARBITRATION_UNHANDLED : NTSTATUS = NTSTATUS ( 1073741862i32 as _ ) ; pub const STATUS_ARRAY_BOUNDS_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741684i32 as _ ) ; pub const STATUS_ASSERTION_FAILURE : NTSTATUS = NTSTATUS ( -1073740768i32 as _ ) ; pub const STATUS_ATTACHED_EXECUTABLE_MEMORY_WRITE : NTSTATUS = NTSTATUS ( -1073739995i32 as _ ) ; pub const STATUS_ATTRIBUTE_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073740532i32 as _ ) ; pub const STATUS_AUDIO_ENGINE_NODE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069285375i32 as _ ) ; pub const STATUS_AUDITING_DISABLED : NTSTATUS = NTSTATUS ( -1073740970i32 as _ ) ; pub const STATUS_AUDIT_FAILED : NTSTATUS = NTSTATUS ( -1073741244i32 as _ ) ; pub const STATUS_AUTHIP_FAILURE : NTSTATUS = NTSTATUS ( -1073700730i32 as _ ) ; pub const STATUS_AUTH_TAG_MISMATCH : NTSTATUS = NTSTATUS ( -1073700862i32 as _ ) ; pub const STATUS_BACKUP_CONTROLLER : NTSTATUS = NTSTATUS ( -1073741433i32 as _ ) ; pub const STATUS_BAD_BINDINGS : NTSTATUS = NTSTATUS ( -1073740965i32 as _ ) ; pub const STATUS_BAD_CLUSTERS : NTSTATUS = NTSTATUS ( -1073739771i32 as _ ) ; pub const STATUS_BAD_COMPRESSION_BUFFER : NTSTATUS = NTSTATUS ( -1073741246i32 as _ ) ; pub const STATUS_BAD_CURRENT_DIRECTORY : NTSTATUS = NTSTATUS ( 1073741831i32 as _ ) ; pub const STATUS_BAD_DATA : NTSTATUS = NTSTATUS ( -1073739509i32 as _ ) ; pub const STATUS_BAD_DESCRIPTOR_FORMAT : NTSTATUS = NTSTATUS ( -1073741593i32 as _ ) ; pub const STATUS_BAD_DEVICE_TYPE : NTSTATUS = NTSTATUS ( -1073741621i32 as _ ) ; pub const STATUS_BAD_DLL_ENTRYPOINT : NTSTATUS = NTSTATUS ( -1073741231i32 as _ ) ; pub const STATUS_BAD_FILE_TYPE : NTSTATUS = NTSTATUS ( -1073739517i32 as _ ) ; pub const STATUS_BAD_FUNCTION_TABLE : NTSTATUS = NTSTATUS ( -1073741569i32 as _ ) ; pub const STATUS_BAD_IMPERSONATION_LEVEL : NTSTATUS = NTSTATUS ( -1073741659i32 as _ ) ; pub const STATUS_BAD_INHERITANCE_ACL : NTSTATUS = NTSTATUS ( -1073741699i32 as _ ) ; pub const STATUS_BAD_INITIAL_PC : NTSTATUS = NTSTATUS ( -1073741814i32 as _ ) ; pub const STATUS_BAD_INITIAL_STACK : NTSTATUS = NTSTATUS ( -1073741815i32 as _ ) ; pub const STATUS_BAD_KEY : NTSTATUS = NTSTATUS ( -1073739510i32 as _ ) ; pub const STATUS_BAD_LOGON_SESSION_STATE : NTSTATUS = NTSTATUS ( -1073741564i32 as _ ) ; pub const STATUS_BAD_MASTER_BOOT_RECORD : NTSTATUS = NTSTATUS ( -1073741655i32 as _ ) ; pub const STATUS_BAD_MCFG_TABLE : NTSTATUS = NTSTATUS ( -1073739512i32 as _ ) ; pub const STATUS_BAD_NETWORK_NAME : NTSTATUS = NTSTATUS ( -1073741620i32 as _ ) ; pub const STATUS_BAD_NETWORK_PATH : NTSTATUS = NTSTATUS ( -1073741634i32 as _ ) ; pub const STATUS_BAD_REMOTE_ADAPTER : NTSTATUS = NTSTATUS ( -1073741627i32 as _ ) ; pub const STATUS_BAD_SERVICE_ENTRYPOINT : NTSTATUS = NTSTATUS ( -1073741230i32 as _ ) ; pub const STATUS_BAD_STACK : NTSTATUS = NTSTATUS ( -1073741784i32 as _ ) ; pub const STATUS_BAD_TOKEN_TYPE : NTSTATUS = NTSTATUS ( -1073741656i32 as _ ) ; pub const STATUS_BAD_VALIDATION_CLASS : NTSTATUS = NTSTATUS ( -1073741657i32 as _ ) ; pub const STATUS_BAD_WORKING_SET_LIMIT : NTSTATUS = NTSTATUS ( -1073741748i32 as _ ) ; pub const STATUS_BCD_NOT_ALL_ENTRIES_IMPORTED : NTSTATUS = NTSTATUS ( -2143748095i32 as _ ) ; pub const STATUS_BCD_NOT_ALL_ENTRIES_SYNCHRONIZED : NTSTATUS = NTSTATUS ( -2143748093i32 as _ ) ; pub const STATUS_BCD_TOO_MANY_ELEMENTS : NTSTATUS = NTSTATUS ( -1070006270i32 as _ ) ; pub const STATUS_BEGINNING_OF_MEDIA : NTSTATUS = NTSTATUS ( -2147483617i32 as _ ) ; pub const STATUS_BEYOND_VDL : NTSTATUS = NTSTATUS ( -1073740750i32 as _ ) ; pub const STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT : NTSTATUS = NTSTATUS ( -1073741458i32 as _ ) ; pub const STATUS_BIZRULES_NOT_ENABLED : NTSTATUS = NTSTATUS ( 1073741876i32 as _ ) ; pub const STATUS_BLOCKED_BY_PARENTAL_CONTROLS : NTSTATUS = NTSTATUS ( -1073740664i32 as _ ) ; pub const STATUS_BLOCK_TOO_MANY_REFERENCES : NTSTATUS = NTSTATUS ( -1073740660i32 as _ ) ; pub const STATUS_BREAKPOINT : NTSTATUS = NTSTATUS ( -2147483645i32 as _ ) ; pub const STATUS_BTH_ATT_ATTRIBUTE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069416438i32 as _ ) ; pub const STATUS_BTH_ATT_ATTRIBUTE_NOT_LONG : NTSTATUS = NTSTATUS ( -1069416437i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_AUTHENTICATION : NTSTATUS = NTSTATUS ( -1069416443i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_AUTHORIZATION : NTSTATUS = NTSTATUS ( -1069416440i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_ENCRYPTION : NTSTATUS = NTSTATUS ( -1069416433i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_ENCRYPTION_KEY_SIZE : NTSTATUS = NTSTATUS ( -1069416436i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_RESOURCES : NTSTATUS = NTSTATUS ( -1069416431i32 as _ ) ; pub const STATUS_BTH_ATT_INVALID_ATTRIBUTE_VALUE_LENGTH : NTSTATUS = NTSTATUS ( -1069416435i32 as _ ) ; pub const STATUS_BTH_ATT_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1069416447i32 as _ ) ; pub const STATUS_BTH_ATT_INVALID_OFFSET : NTSTATUS = NTSTATUS ( -1069416441i32 as _ ) ; pub const STATUS_BTH_ATT_INVALID_PDU : NTSTATUS = NTSTATUS ( -1069416444i32 as _ ) ; pub const STATUS_BTH_ATT_PREPARE_QUEUE_FULL : NTSTATUS = NTSTATUS ( -1069416439i32 as _ ) ; pub const STATUS_BTH_ATT_READ_NOT_PERMITTED : NTSTATUS = NTSTATUS ( -1069416446i32 as _ ) ; pub const STATUS_BTH_ATT_REQUEST_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1069416442i32 as _ ) ; pub const STATUS_BTH_ATT_UNKNOWN_ERROR : NTSTATUS = NTSTATUS ( -1069412352i32 as _ ) ; pub const STATUS_BTH_ATT_UNLIKELY : NTSTATUS = NTSTATUS ( -1069416434i32 as _ ) ; pub const STATUS_BTH_ATT_UNSUPPORTED_GROUP_TYPE : NTSTATUS = NTSTATUS ( -1069416432i32 as _ ) ; pub const STATUS_BTH_ATT_WRITE_NOT_PERMITTED : NTSTATUS = NTSTATUS ( -1069416445i32 as _ ) ; pub const STATUS_BUFFER_ALL_ZEROS : NTSTATUS = NTSTATUS ( 279i32 as _ ) ; pub const STATUS_BUFFER_OVERFLOW : NTSTATUS = NTSTATUS ( -2147483643i32 as _ ) ; pub const STATUS_BUFFER_TOO_SMALL : NTSTATUS = NTSTATUS ( -1073741789i32 as _ ) ; pub const STATUS_BUS_RESET : NTSTATUS = NTSTATUS ( -2147483619i32 as _ ) ; pub const STATUS_CACHE_PAGE_LOCKED : NTSTATUS = NTSTATUS ( 277i32 as _ ) ; pub const STATUS_CALLBACK_BYPASS : NTSTATUS = NTSTATUS ( -1073740541i32 as _ ) ; pub const STATUS_CALLBACK_INVOKE_INLINE : NTSTATUS = NTSTATUS ( -1073740661i32 as _ ) ; pub const STATUS_CALLBACK_POP_STACK : NTSTATUS = NTSTATUS ( -1073740765i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_LANG : NTSTATUS = NTSTATUS ( -1073740001i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_LDR_LOCK : NTSTATUS = NTSTATUS ( -1073740002i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_PRI_BACK : NTSTATUS = NTSTATUS ( -1073740000i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_THREAD_AFFINITY : NTSTATUS = NTSTATUS ( -1073739999i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_THREAD_PRIORITY : NTSTATUS = NTSTATUS ( -1073740005i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_TRANSACTION : NTSTATUS = NTSTATUS ( -1073740003i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING : NTSTATUS = NTSTATUS ( -1073740016i32 as _ ) ; pub const STATUS_CANCELLED : NTSTATUS = NTSTATUS ( -1073741536i32 as _ ) ; pub const STATUS_CANNOT_ABORT_TRANSACTIONS : NTSTATUS = NTSTATUS ( -1072103347i32 as _ ) ; pub const STATUS_CANNOT_ACCEPT_TRANSACTED_WORK : NTSTATUS = NTSTATUS ( -1072103348i32 as _ ) ; pub const STATUS_CANNOT_BREAK_OPLOCK : NTSTATUS = NTSTATUS ( -1073739511i32 as _ ) ; pub const STATUS_CANNOT_DELETE : NTSTATUS = NTSTATUS ( -1073741535i32 as _ ) ; pub const STATUS_CANNOT_EXECUTE_FILE_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103356i32 as _ ) ; pub const STATUS_CANNOT_GRANT_REQUESTED_OPLOCK : NTSTATUS = NTSTATUS ( -2147483602i32 as _ ) ; pub const STATUS_CANNOT_IMPERSONATE : NTSTATUS = NTSTATUS ( -1073741555i32 as _ ) ; pub const STATUS_CANNOT_LOAD_REGISTRY_FILE : NTSTATUS = NTSTATUS ( -1073741288i32 as _ ) ; pub const STATUS_CANNOT_MAKE : NTSTATUS = NTSTATUS ( -1073741078i32 as _ ) ; pub const STATUS_CANNOT_SWITCH_RUNLEVEL : NTSTATUS = NTSTATUS ( -1073700543i32 as _ ) ; pub const STATUS_CANT_ACCESS_DOMAIN_INFO : NTSTATUS = NTSTATUS ( -1073741606i32 as _ ) ; pub const STATUS_CANT_BREAK_TRANSACTIONAL_DEPENDENCY : NTSTATUS = NTSTATUS ( -1072103369i32 as _ ) ; pub const STATUS_CANT_CLEAR_ENCRYPTION_FLAG : NTSTATUS = NTSTATUS ( -1073740616i32 as _ ) ; pub const STATUS_CANT_CREATE_MORE_STREAM_MINIVERSIONS : NTSTATUS = NTSTATUS ( -1072103386i32 as _ ) ; pub const STATUS_CANT_CROSS_RM_BOUNDARY : NTSTATUS = NTSTATUS ( -1072103368i32 as _ ) ; pub const STATUS_CANT_DISABLE_MANDATORY : NTSTATUS = NTSTATUS ( -1073741731i32 as _ ) ; pub const STATUS_CANT_ENABLE_DENY_ONLY : NTSTATUS = NTSTATUS ( -1073741133i32 as _ ) ; pub const STATUS_CANT_OPEN_ANONYMOUS : NTSTATUS = NTSTATUS ( -1073741658i32 as _ ) ; pub const STATUS_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT : NTSTATUS = NTSTATUS ( -1072103387i32 as _ ) ; pub const STATUS_CANT_RECOVER_WITH_HANDLE_OPEN : NTSTATUS = NTSTATUS ( -2145845199i32 as _ ) ; pub const STATUS_CANT_TERMINATE_SELF : NTSTATUS = NTSTATUS ( -1073741605i32 as _ ) ; pub const STATUS_CANT_WAIT : NTSTATUS = NTSTATUS ( -1073741608i32 as _ ) ; pub const STATUS_CARDBUS_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( 1073741863i32 as _ ) ; pub const STATUS_CASE_DIFFERING_NAMES_IN_DIR : NTSTATUS = NTSTATUS ( -1073740621i32 as _ ) ; pub const STATUS_CASE_SENSITIVE_PATH : NTSTATUS = NTSTATUS ( -1073740614i32 as _ ) ; pub const STATUS_CC_NEEDS_CALLBACK_SECTION_DRAIN : NTSTATUS = NTSTATUS ( -1073700856i32 as _ ) ; pub const STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE : NTSTATUS = NTSTATUS ( -1073740012i32 as _ ) ; pub const STATUS_CHECKING_FILE_SYSTEM : NTSTATUS = NTSTATUS ( 1073741844i32 as _ ) ; pub const STATUS_CHECKOUT_REQUIRED : NTSTATUS = NTSTATUS ( -1073739518i32 as _ ) ; pub const STATUS_CHILD_MUST_BE_VOLATILE : NTSTATUS = NTSTATUS ( -1073741439i32 as _ ) ; pub const STATUS_CHILD_PROCESS_BLOCKED : NTSTATUS = NTSTATUS ( -1073740643i32 as _ ) ; pub const STATUS_CIMFS_IMAGE_CORRUPT : NTSTATUS = NTSTATUS ( -1073692671i32 as _ ) ; pub const STATUS_CLEANER_CARTRIDGE_INSTALLED : NTSTATUS = NTSTATUS ( -2147483609i32 as _ ) ; pub const STATUS_CLIENT_SERVER_PARAMETERS_INVALID : NTSTATUS = NTSTATUS ( -1073741277i32 as _ ) ; pub const STATUS_CLIP_DEVICE_LICENSE_MISSING : NTSTATUS = NTSTATUS ( -1058406397i32 as _ ) ; pub const STATUS_CLIP_KEYHOLDER_LICENSE_MISSING_OR_INVALID : NTSTATUS = NTSTATUS ( -1058406395i32 as _ ) ; pub const STATUS_CLIP_LICENSE_DEVICE_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1058406390i32 as _ ) ; pub const STATUS_CLIP_LICENSE_EXPIRED : NTSTATUS = NTSTATUS ( -1058406394i32 as _ ) ; pub const STATUS_CLIP_LICENSE_HARDWARE_ID_OUT_OF_TOLERANCE : NTSTATUS = NTSTATUS ( -1058406391i32 as _ ) ; pub const STATUS_CLIP_LICENSE_INVALID_SIGNATURE : NTSTATUS = NTSTATUS ( -1058406396i32 as _ ) ; pub const STATUS_CLIP_LICENSE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1058406398i32 as _ ) ; pub const STATUS_CLIP_LICENSE_NOT_SIGNED : NTSTATUS = NTSTATUS ( -1058406392i32 as _ ) ; pub const STATUS_CLIP_LICENSE_SIGNED_BY_UNKNOWN_SOURCE : NTSTATUS = NTSTATUS ( -1058406393i32 as _ ) ; pub const STATUS_CLOUD_FILE_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073688808i32 as _ ) ; pub const STATUS_CLOUD_FILE_ALREADY_CONNECTED : NTSTATUS = NTSTATUS ( -1073688823i32 as _ ) ; pub const STATUS_CLOUD_FILE_AUTHENTICATION_FAILED : NTSTATUS = NTSTATUS ( -1073688817i32 as _ ) ; pub const STATUS_CLOUD_FILE_CONNECTED_PROVIDER_ONLY : NTSTATUS = NTSTATUS ( -1073688819i32 as _ ) ; pub const STATUS_CLOUD_FILE_DEHYDRATION_DISALLOWED : NTSTATUS = NTSTATUS ( -1073688800i32 as _ ) ; pub const STATUS_CLOUD_FILE_INCOMPATIBLE_HARDLINKS : NTSTATUS = NTSTATUS ( -1073688807i32 as _ ) ; pub const STATUS_CLOUD_FILE_INSUFFICIENT_RESOURCES : NTSTATUS = NTSTATUS ( -1073688816i32 as _ ) ; pub const STATUS_CLOUD_FILE_INVALID_REQUEST : NTSTATUS = NTSTATUS ( -1073688821i32 as _ ) ; pub const STATUS_CLOUD_FILE_IN_USE : NTSTATUS = NTSTATUS ( -1073688812i32 as _ ) ; pub const STATUS_CLOUD_FILE_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1073688830i32 as _ ) ; pub const STATUS_CLOUD_FILE_METADATA_TOO_LARGE : NTSTATUS = NTSTATUS ( -1073688829i32 as _ ) ; pub const STATUS_CLOUD_FILE_NETWORK_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073688815i32 as _ ) ; pub const STATUS_CLOUD_FILE_NOT_IN_SYNC : NTSTATUS = NTSTATUS ( -1073688824i32 as _ ) ; pub const STATUS_CLOUD_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073688822i32 as _ ) ; pub const STATUS_CLOUD_FILE_NOT_UNDER_SYNC_ROOT : NTSTATUS = NTSTATUS ( -1073688813i32 as _ ) ; pub const STATUS_CLOUD_FILE_PINNED : NTSTATUS = NTSTATUS ( -1073688811i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_BLOB_CHECKSUM_MISMATCH : NTSTATUS = NTSTATUS ( -2147430656i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_BLOB_TOO_LARGE : NTSTATUS = NTSTATUS ( -2147430652i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_CORRUPT : NTSTATUS = NTSTATUS ( -1073688809i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_LOCK_CONFLICT : NTSTATUS = NTSTATUS ( -1073688806i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_VERSION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073688826i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROVIDER_NOT_RUNNING : NTSTATUS = NTSTATUS ( -1073688831i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROVIDER_TERMINATED : NTSTATUS = NTSTATUS ( -1073688803i32 as _ ) ; pub const STATUS_CLOUD_FILE_READ_ONLY_VOLUME : NTSTATUS = NTSTATUS ( -1073688820i32 as _ ) ; pub const STATUS_CLOUD_FILE_REQUEST_ABORTED : NTSTATUS = NTSTATUS ( -1073688810i32 as _ ) ; pub const STATUS_CLOUD_FILE_REQUEST_CANCELED : NTSTATUS = NTSTATUS ( -1073688805i32 as _ ) ; pub const STATUS_CLOUD_FILE_REQUEST_TIMEOUT : NTSTATUS = NTSTATUS ( -1073688801i32 as _ ) ; pub const STATUS_CLOUD_FILE_SYNC_ROOT_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1073688832i32 as _ ) ; pub const STATUS_CLOUD_FILE_TOO_MANY_PROPERTY_BLOBS : NTSTATUS = NTSTATUS ( -2147430651i32 as _ ) ; pub const STATUS_CLOUD_FILE_UNSUCCESSFUL : NTSTATUS = NTSTATUS ( -1073688814i32 as _ ) ; pub const STATUS_CLOUD_FILE_VALIDATION_FAILED : NTSTATUS = NTSTATUS ( -1073688818i32 as _ ) ; pub const STATUS_CLUSTER_CAM_TICKET_REPLAY_DETECTED : NTSTATUS = NTSTATUS ( -1072496591i32 as _ ) ; pub const STATUS_CLUSTER_CSV_AUTO_PAUSE_ERROR : NTSTATUS = NTSTATUS ( -1072496607i32 as _ ) ; pub const STATUS_CLUSTER_CSV_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1072496599i32 as _ ) ; pub const STATUS_CLUSTER_CSV_NOT_REDIRECTED : NTSTATUS = NTSTATUS ( -1072496605i32 as _ ) ; pub const STATUS_CLUSTER_CSV_NO_SNAPSHOTS : NTSTATUS = NTSTATUS ( -1072496601i32 as _ ) ; pub const STATUS_CLUSTER_CSV_READ_OPLOCK_BREAK_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072496608i32 as _ ) ; pub const STATUS_CLUSTER_CSV_REDIRECTED : NTSTATUS = NTSTATUS ( -1072496606i32 as _ ) ; pub const STATUS_CLUSTER_CSV_SNAPSHOT_CREATION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072496603i32 as _ ) ; pub const STATUS_CLUSTER_CSV_SUPPORTED_ONLY_ON_COORDINATOR : NTSTATUS = NTSTATUS ( -1072496592i32 as _ ) ; pub const STATUS_CLUSTER_CSV_VOLUME_DRAINING : NTSTATUS = NTSTATUS ( -1072496604i32 as _ ) ; pub const STATUS_CLUSTER_CSV_VOLUME_DRAINING_SUCCEEDED_DOWNLEVEL : NTSTATUS = NTSTATUS ( -1072496602i32 as _ ) ; pub const STATUS_CLUSTER_CSV_VOLUME_NOT_LOCAL : NTSTATUS = NTSTATUS ( -1072496615i32 as _ ) ; pub const STATUS_CLUSTER_INVALID_NETWORK : NTSTATUS = NTSTATUS ( -1072496624i32 as _ ) ; pub const STATUS_CLUSTER_INVALID_NETWORK_PROVIDER : NTSTATUS = NTSTATUS ( -1072496629i32 as _ ) ; pub const STATUS_CLUSTER_INVALID_NODE : NTSTATUS = NTSTATUS ( -1072496639i32 as _ ) ; pub const STATUS_CLUSTER_INVALID_REQUEST : NTSTATUS = NTSTATUS ( -1072496630i32 as _ ) ; pub const STATUS_CLUSTER_JOIN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072496637i32 as _ ) ; pub const STATUS_CLUSTER_JOIN_NOT_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072496625i32 as _ ) ; pub const STATUS_CLUSTER_LOCAL_NODE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072496635i32 as _ ) ; pub const STATUS_CLUSTER_NETINTERFACE_EXISTS : NTSTATUS = NTSTATUS ( -1072496632i32 as _ ) ; pub const STATUS_CLUSTER_NETINTERFACE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072496631i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE : NTSTATUS = NTSTATUS ( -2146238460i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_ALREADY_ONLINE : NTSTATUS = NTSTATUS ( -2146238461i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_EXISTS : NTSTATUS = NTSTATUS ( -1072496634i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072496633i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_NOT_INTERNAL : NTSTATUS = NTSTATUS ( -1072496618i32 as _ ) ; pub const STATUS_CLUSTER_NODE_ALREADY_DOWN : NTSTATUS = NTSTATUS ( -2146238462i32 as _ ) ; pub const STATUS_CLUSTER_NODE_ALREADY_MEMBER : NTSTATUS = NTSTATUS ( -2146238459i32 as _ ) ; pub const STATUS_CLUSTER_NODE_ALREADY_UP : NTSTATUS = NTSTATUS ( -2146238463i32 as _ ) ; pub const STATUS_CLUSTER_NODE_DOWN : NTSTATUS = NTSTATUS ( -1072496628i32 as _ ) ; pub const STATUS_CLUSTER_NODE_EXISTS : NTSTATUS = NTSTATUS ( -1072496638i32 as _ ) ; pub const STATUS_CLUSTER_NODE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072496636i32 as _ ) ; pub const STATUS_CLUSTER_NODE_NOT_MEMBER : NTSTATUS = NTSTATUS ( -1072496626i32 as _ ) ; pub const STATUS_CLUSTER_NODE_NOT_PAUSED : NTSTATUS = NTSTATUS ( -1072496620i32 as _ ) ; pub const STATUS_CLUSTER_NODE_PAUSED : NTSTATUS = NTSTATUS ( -1072496621i32 as _ ) ; pub const STATUS_CLUSTER_NODE_UNREACHABLE : NTSTATUS = NTSTATUS ( -1072496627i32 as _ ) ; pub const STATUS_CLUSTER_NODE_UP : NTSTATUS = NTSTATUS ( -1072496622i32 as _ ) ; pub const STATUS_CLUSTER_NON_CSV_PATH : NTSTATUS = NTSTATUS ( -1072496616i32 as _ ) ; pub const STATUS_CLUSTER_NO_NET_ADAPTERS : NTSTATUS = NTSTATUS ( -1072496623i32 as _ ) ; pub const STATUS_CLUSTER_NO_SECURITY_CONTEXT : NTSTATUS = NTSTATUS ( -1072496619i32 as _ ) ; pub const STATUS_CLUSTER_POISONED : NTSTATUS = NTSTATUS ( -1072496617i32 as _ ) ; pub const STATUS_COMMITMENT_LIMIT : NTSTATUS = NTSTATUS ( -1073741523i32 as _ ) ; pub const STATUS_COMMITMENT_MINIMUM : NTSTATUS = NTSTATUS ( -1073741112i32 as _ ) ; pub const STATUS_COMPRESSED_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740677i32 as _ ) ; pub const STATUS_COMPRESSION_DISABLED : NTSTATUS = NTSTATUS ( -1073740762i32 as _ ) ; pub const STATUS_COMPRESSION_NOT_ALLOWED_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103338i32 as _ ) ; pub const STATUS_COMPRESSION_NOT_BENEFICIAL : NTSTATUS = NTSTATUS ( -1073740689i32 as _ ) ; pub const STATUS_CONFLICTING_ADDRESSES : NTSTATUS = NTSTATUS ( -1073741800i32 as _ ) ; pub const STATUS_CONNECTION_ABORTED : NTSTATUS = NTSTATUS ( -1073741247i32 as _ ) ; pub const STATUS_CONNECTION_ACTIVE : NTSTATUS = NTSTATUS ( -1073741253i32 as _ ) ; pub const STATUS_CONNECTION_COUNT_LIMIT : NTSTATUS = NTSTATUS ( -1073741242i32 as _ ) ; pub const STATUS_CONNECTION_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073741300i32 as _ ) ; pub const STATUS_CONNECTION_INVALID : NTSTATUS = NTSTATUS ( -1073741254i32 as _ ) ; pub const STATUS_CONNECTION_IN_USE : NTSTATUS = NTSTATUS ( -1073741560i32 as _ ) ; pub const STATUS_CONNECTION_REFUSED : NTSTATUS = NTSTATUS ( -1073741258i32 as _ ) ; pub const STATUS_CONNECTION_RESET : NTSTATUS = NTSTATUS ( -1073741299i32 as _ ) ; pub const STATUS_CONTAINER_ASSIGNED : NTSTATUS = NTSTATUS ( -1073740536i32 as _ ) ; pub const STATUS_CONTENT_BLOCKED : NTSTATUS = NTSTATUS ( -1073739772i32 as _ ) ; pub const STATUS_CONTEXT_MISMATCH : NTSTATUS = NTSTATUS ( -1073740007i32 as _ ) ; pub const STATUS_CONTEXT_STOWED_EXCEPTION : NTSTATUS = NTSTATUS ( -1073741188i32 as _ ) ; pub const STATUS_CONTROL_C_EXIT : NTSTATUS = NTSTATUS ( -1073741510i32 as _ ) ; pub const STATUS_CONTROL_STACK_VIOLATION : NTSTATUS = NTSTATUS ( -1073741390i32 as _ ) ; pub const STATUS_CONVERT_TO_LARGE : NTSTATUS = NTSTATUS ( -1073741268i32 as _ ) ; pub const STATUS_COPY_PROTECTION_FAILURE : NTSTATUS = NTSTATUS ( -1073741051i32 as _ ) ; pub const STATUS_CORRUPT_LOG_CLEARED : NTSTATUS = NTSTATUS ( -1073739763i32 as _ ) ; pub const STATUS_CORRUPT_LOG_CORRUPTED : NTSTATUS = NTSTATUS ( -1073739766i32 as _ ) ; pub const STATUS_CORRUPT_LOG_DELETED_FULL : NTSTATUS = NTSTATUS ( -1073739764i32 as _ ) ; pub const STATUS_CORRUPT_LOG_OVERFULL : NTSTATUS = NTSTATUS ( -1073739767i32 as _ ) ; pub const STATUS_CORRUPT_LOG_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073739765i32 as _ ) ; pub const STATUS_CORRUPT_LOG_UPLEVEL_RECORDS : NTSTATUS = NTSTATUS ( -1073739759i32 as _ ) ; pub const STATUS_CORRUPT_SYSTEM_FILE : NTSTATUS = NTSTATUS ( -1073741116i32 as _ ) ; pub const STATUS_COULD_NOT_INTERPRET : NTSTATUS = NTSTATUS ( -1073741639i32 as _ ) ; pub const STATUS_COULD_NOT_RESIZE_LOG : NTSTATUS = NTSTATUS ( -2145845239i32 as _ ) ; pub const STATUS_CPU_SET_INVALID : NTSTATUS = NTSTATUS ( -1073741393i32 as _ ) ; pub const STATUS_CRASH_DUMP : NTSTATUS = NTSTATUS ( 278i32 as _ ) ; pub const STATUS_CRC_ERROR : NTSTATUS = NTSTATUS ( -1073741761i32 as _ ) ; pub const STATUS_CRED_REQUIRES_CONFIRMATION : NTSTATUS = NTSTATUS ( -1073740736i32 as _ ) ; pub const STATUS_CRM_PROTOCOL_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1072103409i32 as _ ) ; pub const STATUS_CRM_PROTOCOL_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103407i32 as _ ) ; pub const STATUS_CROSSREALM_DELEGATION_FAILURE : NTSTATUS = NTSTATUS ( -1073740789i32 as _ ) ; pub const STATUS_CROSS_PARTITION_VIOLATION : NTSTATUS = NTSTATUS ( -1073740277i32 as _ ) ; pub const STATUS_CRYPTO_SYSTEM_INVALID : NTSTATUS = NTSTATUS ( -1073741069i32 as _ ) ; pub const STATUS_CSS_AUTHENTICATION_FAILURE : NTSTATUS = NTSTATUS ( -1073741050i32 as _ ) ; pub const STATUS_CSS_KEY_NOT_ESTABLISHED : NTSTATUS = NTSTATUS ( -1073741048i32 as _ ) ; pub const STATUS_CSS_KEY_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073741049i32 as _ ) ; pub const STATUS_CSS_REGION_MISMATCH : NTSTATUS = NTSTATUS ( -1073741046i32 as _ ) ; pub const STATUS_CSS_RESETS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073741045i32 as _ ) ; pub const STATUS_CSS_SCRAMBLED_SECTOR : NTSTATUS = NTSTATUS ( -1073741047i32 as _ ) ; pub const STATUS_CSV_IO_PAUSE_TIMEOUT : NTSTATUS = NTSTATUS ( -1072496600i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE : NTSTATUS = NTSTATUS ( -1073740733i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_FILE_NOT_CSE : NTSTATUS = NTSTATUS ( -1073740731i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE : NTSTATUS = NTSTATUS ( -1073740735i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE : NTSTATUS = NTSTATUS ( -1073740732i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER : NTSTATUS = NTSTATUS ( -1073740734i32 as _ ) ; pub const STATUS_CTLOG_INCONSISTENT_TRACKING_FILE : NTSTATUS = NTSTATUS ( -1069940700i32 as _ ) ; pub const STATUS_CTLOG_INVALID_TRACKING_STATE : NTSTATUS = NTSTATUS ( -1069940701i32 as _ ) ; pub const STATUS_CTLOG_LOGFILE_SIZE_EXCEEDED_MAXSIZE : NTSTATUS = NTSTATUS ( -1069940703i32 as _ ) ; pub const STATUS_CTLOG_TRACKING_NOT_INITIALIZED : NTSTATUS = NTSTATUS ( -1069940704i32 as _ ) ; pub const STATUS_CTLOG_VHD_CHANGED_OFFLINE : NTSTATUS = NTSTATUS ( -1069940702i32 as _ ) ; pub const STATUS_CTL_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741737i32 as _ ) ; pub const STATUS_CTX_BAD_VIDEO_MODE : NTSTATUS = NTSTATUS ( -1073086440i32 as _ ) ; pub const STATUS_CTX_CDM_CONNECT : NTSTATUS = NTSTATUS ( 1074397188i32 as _ ) ; pub const STATUS_CTX_CDM_DISCONNECT : NTSTATUS = NTSTATUS ( 1074397189i32 as _ ) ; pub const STATUS_CTX_CLIENT_LICENSE_IN_USE : NTSTATUS = NTSTATUS ( -1073086412i32 as _ ) ; pub const STATUS_CTX_CLIENT_LICENSE_NOT_SET : NTSTATUS = NTSTATUS ( -1073086413i32 as _ ) ; pub const STATUS_CTX_CLIENT_QUERY_TIMEOUT : NTSTATUS = NTSTATUS ( -1073086426i32 as _ ) ; pub const STATUS_CTX_CLOSE_PENDING : NTSTATUS = NTSTATUS ( -1073086458i32 as _ ) ; pub const STATUS_CTX_CONSOLE_CONNECT : NTSTATUS = NTSTATUS ( -1073086424i32 as _ ) ; pub const STATUS_CTX_CONSOLE_DISCONNECT : NTSTATUS = NTSTATUS ( -1073086425i32 as _ ) ; pub const STATUS_CTX_GRAPHICS_INVALID : NTSTATUS = NTSTATUS ( -1073086430i32 as _ ) ; pub const STATUS_CTX_INVALID_MODEMNAME : NTSTATUS = NTSTATUS ( -1073086455i32 as _ ) ; pub const STATUS_CTX_INVALID_PD : NTSTATUS = NTSTATUS ( -1073086462i32 as _ ) ; pub const STATUS_CTX_INVALID_WD : NTSTATUS = NTSTATUS ( -1073086418i32 as _ ) ; pub const STATUS_CTX_LICENSE_CLIENT_INVALID : NTSTATUS = NTSTATUS ( -1073086446i32 as _ ) ; pub const STATUS_CTX_LICENSE_EXPIRED : NTSTATUS = NTSTATUS ( -1073086444i32 as _ ) ; pub const STATUS_CTX_LICENSE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073086445i32 as _ ) ; pub const STATUS_CTX_LOGON_DISABLED : NTSTATUS = NTSTATUS ( -1073086409i32 as _ ) ; pub const STATUS_CTX_MODEM_INF_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073086456i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_BUSY : NTSTATUS = NTSTATUS ( -1073086450i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_NO_CARRIER : NTSTATUS = NTSTATUS ( -1073086452i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE : NTSTATUS = NTSTATUS ( -1073086451i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_TIMEOUT : NTSTATUS = NTSTATUS ( -1073086453i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_VOICE : NTSTATUS = NTSTATUS ( -1073086449i32 as _ ) ; pub const STATUS_CTX_NOT_CONSOLE : NTSTATUS = NTSTATUS ( -1073086428i32 as _ ) ; pub const STATUS_CTX_NO_OUTBUF : NTSTATUS = NTSTATUS ( -1073086457i32 as _ ) ; pub const STATUS_CTX_PD_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073086461i32 as _ ) ; pub const STATUS_CTX_RESPONSE_ERROR : NTSTATUS = NTSTATUS ( -1073086454i32 as _ ) ; pub const STATUS_CTX_SECURITY_LAYER_ERROR : NTSTATUS = NTSTATUS ( -1073086408i32 as _ ) ; pub const STATUS_CTX_SHADOW_DENIED : NTSTATUS = NTSTATUS ( -1073086422i32 as _ ) ; pub const STATUS_CTX_SHADOW_DISABLED : NTSTATUS = NTSTATUS ( -1073086415i32 as _ ) ; pub const STATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE : NTSTATUS = NTSTATUS ( -1073086411i32 as _ ) ; pub const STATUS_CTX_SHADOW_INVALID : NTSTATUS = NTSTATUS ( -1073086416i32 as _ ) ; pub const STATUS_CTX_SHADOW_NOT_RUNNING : NTSTATUS = NTSTATUS ( -1073086410i32 as _ ) ; pub const STATUS_CTX_TD_ERROR : NTSTATUS = NTSTATUS ( -1073086448i32 as _ ) ; pub const STATUS_CTX_WD_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073086417i32 as _ ) ; pub const STATUS_CTX_WINSTATION_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073086421i32 as _ ) ; pub const STATUS_CTX_WINSTATION_BUSY : NTSTATUS = NTSTATUS ( -1073086441i32 as _ ) ; pub const STATUS_CTX_WINSTATION_NAME_COLLISION : NTSTATUS = NTSTATUS ( -1073086442i32 as _ ) ; pub const STATUS_CTX_WINSTATION_NAME_INVALID : NTSTATUS = NTSTATUS ( -1073086463i32 as _ ) ; pub const STATUS_CTX_WINSTATION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073086443i32 as _ ) ; pub const STATUS_CURRENT_DOMAIN_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1073741079i32 as _ ) ; pub const STATUS_CURRENT_TRANSACTION_NOT_VALID : NTSTATUS = NTSTATUS ( -1072103400i32 as _ ) ; pub const STATUS_DATATYPE_MISALIGNMENT : NTSTATUS = NTSTATUS ( -2147483646i32 as _ ) ; pub const STATUS_DATATYPE_MISALIGNMENT_ERROR : NTSTATUS = NTSTATUS ( -1073741115i32 as _ ) ; pub const STATUS_DATA_CHECKSUM_ERROR : NTSTATUS = NTSTATUS ( -1073740688i32 as _ ) ; pub const STATUS_DATA_ERROR : NTSTATUS = NTSTATUS ( -1073741762i32 as _ ) ; pub const STATUS_DATA_LATE_ERROR : NTSTATUS = NTSTATUS ( -1073741763i32 as _ ) ; pub const STATUS_DATA_LOST_REPAIR : NTSTATUS = NTSTATUS ( -2147481597i32 as _ ) ; pub const STATUS_DATA_NOT_ACCEPTED : NTSTATUS = NTSTATUS ( -1073741285i32 as _ ) ; pub const STATUS_DATA_OVERRUN : NTSTATUS = NTSTATUS ( -1073741764i32 as _ ) ; pub const STATUS_DATA_OVERWRITTEN : NTSTATUS = NTSTATUS ( 304i32 as _ ) ; pub const STATUS_DAX_MAPPING_EXISTS : NTSTATUS = NTSTATUS ( -1073740644i32 as _ ) ; pub const STATUS_DEBUGGER_INACTIVE : NTSTATUS = NTSTATUS ( -1073740972i32 as _ ) ; pub const STATUS_DEBUG_ATTACH_FAILED : NTSTATUS = NTSTATUS ( -1073741287i32 as _ ) ; pub const STATUS_DECRYPTION_FAILED : NTSTATUS = NTSTATUS ( -1073741173i32 as _ ) ; pub const STATUS_DELAY_LOAD_FAILED : NTSTATUS = NTSTATUS ( -1073740782i32 as _ ) ; pub const STATUS_DELETE_PENDING : NTSTATUS = NTSTATUS ( -1073741738i32 as _ ) ; pub const STATUS_DESTINATION_ELEMENT_FULL : NTSTATUS = NTSTATUS ( -1073741180i32 as _ ) ; pub const STATUS_DEVICE_ALREADY_ATTACHED : NTSTATUS = NTSTATUS ( -1073741768i32 as _ ) ; pub const STATUS_DEVICE_BUSY : NTSTATUS = NTSTATUS ( -2147483631i32 as _ ) ; pub const STATUS_DEVICE_CONFIGURATION_ERROR : NTSTATUS = NTSTATUS ( -1073741438i32 as _ ) ; pub const STATUS_DEVICE_DATA_ERROR : NTSTATUS = NTSTATUS ( -1073741668i32 as _ ) ; pub const STATUS_DEVICE_DOES_NOT_EXIST : NTSTATUS = NTSTATUS ( -1073741632i32 as _ ) ; pub const STATUS_DEVICE_DOOR_OPEN : NTSTATUS = NTSTATUS ( -2147482999i32 as _ ) ; pub const STATUS_DEVICE_ENUMERATION_ERROR : NTSTATUS = NTSTATUS ( -1073740954i32 as _ ) ; pub const STATUS_DEVICE_FEATURE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740701i32 as _ ) ; pub const STATUS_DEVICE_HARDWARE_ERROR : NTSTATUS = NTSTATUS ( -1073740669i32 as _ ) ; pub const STATUS_DEVICE_HINT_NAME_BUFFER_TOO_SMALL : NTSTATUS = NTSTATUS ( -1073740650i32 as _ ) ; pub const STATUS_DEVICE_HUNG : NTSTATUS = NTSTATUS ( -1073740537i32 as _ ) ; pub const STATUS_DEVICE_INSUFFICIENT_RESOURCES : NTSTATUS = NTSTATUS ( -1073740696i32 as _ ) ; pub const STATUS_DEVICE_IN_MAINTENANCE : NTSTATUS = NTSTATUS ( -1073740647i32 as _ ) ; pub const STATUS_DEVICE_NOT_CONNECTED : NTSTATUS = NTSTATUS ( -1073741667i32 as _ ) ; pub const STATUS_DEVICE_NOT_PARTITIONED : NTSTATUS = NTSTATUS ( -1073741452i32 as _ ) ; pub const STATUS_DEVICE_NOT_READY : NTSTATUS = NTSTATUS ( -1073741661i32 as _ ) ; pub const STATUS_DEVICE_OFF_LINE : NTSTATUS = NTSTATUS ( -2147483632i32 as _ ) ; pub const STATUS_DEVICE_PAPER_EMPTY : NTSTATUS = NTSTATUS ( -2147483634i32 as _ ) ; pub const STATUS_DEVICE_POWERED_OFF : NTSTATUS = NTSTATUS ( -2147483633i32 as _ ) ; pub const STATUS_DEVICE_POWER_CYCLE_REQUIRED : NTSTATUS = NTSTATUS ( -2147483599i32 as _ ) ; pub const STATUS_DEVICE_POWER_FAILURE : NTSTATUS = NTSTATUS ( -1073741666i32 as _ ) ; pub const STATUS_DEVICE_PROTOCOL_ERROR : NTSTATUS = NTSTATUS ( -1073741434i32 as _ ) ; pub const STATUS_DEVICE_REMOVED : NTSTATUS = NTSTATUS ( -1073741130i32 as _ ) ; pub const STATUS_DEVICE_REQUIRES_CLEANING : NTSTATUS = NTSTATUS ( -2147483000i32 as _ ) ; pub const STATUS_DEVICE_SUPPORT_IN_PROGRESS : NTSTATUS = NTSTATUS ( -2147483600i32 as _ ) ; pub const STATUS_DEVICE_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073740700i32 as _ ) ; pub const STATUS_DEVICE_UNRESPONSIVE : NTSTATUS = NTSTATUS ( -1073740534i32 as _ ) ; pub const STATUS_DFS_EXIT_PATH_FOUND : NTSTATUS = NTSTATUS ( -1073741669i32 as _ ) ; pub const STATUS_DFS_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073741203i32 as _ ) ; pub const STATUS_DIRECTORY_IS_A_REPARSE_POINT : NTSTATUS = NTSTATUS ( -1073741183i32 as _ ) ; pub const STATUS_DIRECTORY_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1073741567i32 as _ ) ; pub const STATUS_DIRECTORY_NOT_RM : NTSTATUS = NTSTATUS ( -1072103416i32 as _ ) ; pub const STATUS_DIRECTORY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740676i32 as _ ) ; pub const STATUS_DIRECTORY_SERVICE_REQUIRED : NTSTATUS = NTSTATUS ( -1073741135i32 as _ ) ; pub const STATUS_DISK_CORRUPT_ERROR : NTSTATUS = NTSTATUS ( -1073741774i32 as _ ) ; pub const STATUS_DISK_FULL : NTSTATUS = NTSTATUS ( -1073741697i32 as _ ) ; pub const STATUS_DISK_OPERATION_FAILED : NTSTATUS = NTSTATUS ( -1073741462i32 as _ ) ; pub const STATUS_DISK_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073739774i32 as _ ) ; pub const STATUS_DISK_RECALIBRATE_FAILED : NTSTATUS = NTSTATUS ( -1073741463i32 as _ ) ; pub const STATUS_DISK_REPAIR_DISABLED : NTSTATUS = NTSTATUS ( -1073739776i32 as _ ) ; pub const STATUS_DISK_REPAIR_REDIRECTED : NTSTATUS = NTSTATUS ( 1073743879i32 as _ ) ; pub const STATUS_DISK_REPAIR_UNSUCCESSFUL : NTSTATUS = NTSTATUS ( -1073739768i32 as _ ) ; pub const STATUS_DISK_RESET_FAILED : NTSTATUS = NTSTATUS ( -1073741461i32 as _ ) ; pub const STATUS_DISK_RESOURCES_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073740703i32 as _ ) ; pub const STATUS_DLL_INIT_FAILED : NTSTATUS = NTSTATUS ( -1073741502i32 as _ ) ; pub const STATUS_DLL_INIT_FAILED_LOGOFF : NTSTATUS = NTSTATUS ( -1073741205i32 as _ ) ; pub const STATUS_DLL_MIGHT_BE_INCOMPATIBLE : NTSTATUS = NTSTATUS ( -2147483604i32 as _ ) ; pub const STATUS_DLL_MIGHT_BE_INSECURE : NTSTATUS = NTSTATUS ( -2147483605i32 as _ ) ; pub const STATUS_DLL_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741515i32 as _ ) ; pub const STATUS_DOMAIN_CONTROLLER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741261i32 as _ ) ; pub const STATUS_DOMAIN_CTRLR_CONFIG_ERROR : NTSTATUS = NTSTATUS ( -1073741474i32 as _ ) ; pub const STATUS_DOMAIN_EXISTS : NTSTATUS = NTSTATUS ( -1073741600i32 as _ ) ; pub const STATUS_DOMAIN_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741599i32 as _ ) ; pub const STATUS_DOMAIN_TRUST_INCONSISTENT : NTSTATUS = NTSTATUS ( -1073741413i32 as _ ) ; pub const STATUS_DRIVERS_LEAKING_LOCKED_PAGES : NTSTATUS = NTSTATUS ( 1073741869i32 as _ ) ; pub const STATUS_DRIVER_BLOCKED : NTSTATUS = NTSTATUS ( -1073740948i32 as _ ) ; pub const STATUS_DRIVER_BLOCKED_CRITICAL : NTSTATUS = NTSTATUS ( -1073740949i32 as _ ) ; pub const STATUS_DRIVER_CANCEL_TIMEOUT : NTSTATUS = NTSTATUS ( -1073741282i32 as _ ) ; pub const STATUS_DRIVER_DATABASE_ERROR : NTSTATUS = NTSTATUS ( -1073740947i32 as _ ) ; pub const STATUS_DRIVER_ENTRYPOINT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741213i32 as _ ) ; pub const STATUS_DRIVER_FAILED_PRIOR_UNLOAD : NTSTATUS = NTSTATUS ( -1073740914i32 as _ ) ; pub const STATUS_DRIVER_FAILED_SLEEP : NTSTATUS = NTSTATUS ( -1073741118i32 as _ ) ; pub const STATUS_DRIVER_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1073741437i32 as _ ) ; pub const STATUS_DRIVER_ORDINAL_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741214i32 as _ ) ; pub const STATUS_DRIVER_PROCESS_TERMINATED : NTSTATUS = NTSTATUS ( -1073740720i32 as _ ) ; pub const STATUS_DRIVER_UNABLE_TO_LOAD : NTSTATUS = NTSTATUS ( -1073741204i32 as _ ) ; pub const STATUS_DS_ADMIN_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741119i32 as _ ) ; pub const STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER : NTSTATUS = NTSTATUS ( -1073740968i32 as _ ) ; pub const STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS : NTSTATUS = NTSTATUS ( -1073741148i32 as _ ) ; pub const STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED : NTSTATUS = NTSTATUS ( -1073741149i32 as _ ) ; pub const STATUS_DS_BUSY : NTSTATUS = NTSTATUS ( -1073741147i32 as _ ) ; pub const STATUS_DS_CANT_MOD_OBJ_CLASS : NTSTATUS = NTSTATUS ( -1073741138i32 as _ ) ; pub const STATUS_DS_CANT_MOD_PRIMARYGROUPID : NTSTATUS = NTSTATUS ( -1073741104i32 as _ ) ; pub const STATUS_DS_CANT_ON_NON_LEAF : NTSTATUS = NTSTATUS ( -1073741140i32 as _ ) ; pub const STATUS_DS_CANT_ON_RDN : NTSTATUS = NTSTATUS ( -1073741139i32 as _ ) ; pub const STATUS_DS_CANT_START : NTSTATUS = NTSTATUS ( -1073741087i32 as _ ) ; pub const STATUS_DS_CROSS_DOM_MOVE_FAILED : NTSTATUS = NTSTATUS ( -1073741137i32 as _ ) ; pub const STATUS_DS_DOMAIN_NAME_EXISTS_IN_FOREST : NTSTATUS = NTSTATUS ( -1073740774i32 as _ ) ; pub const STATUS_DS_DOMAIN_RENAME_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073739775i32 as _ ) ; pub const STATUS_DS_DUPLICATE_ID_FOUND : NTSTATUS = NTSTATUS ( -1073740795i32 as _ ) ; pub const STATUS_DS_FLAT_NAME_EXISTS_IN_FOREST : NTSTATUS = NTSTATUS ( -1073740773i32 as _ ) ; pub const STATUS_DS_GC_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073741136i32 as _ ) ; pub const STATUS_DS_GC_REQUIRED : NTSTATUS = NTSTATUS ( -1073741084i32 as _ ) ; pub const STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER : NTSTATUS = NTSTATUS ( -1073741094i32 as _ ) ; pub const STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER : NTSTATUS = NTSTATUS ( -1073741097i32 as _ ) ; pub const STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER : NTSTATUS = NTSTATUS ( -1073741096i32 as _ ) ; pub const STATUS_DS_GROUP_CONVERSION_ERROR : NTSTATUS = NTSTATUS ( -1073740794i32 as _ ) ; pub const STATUS_DS_HAVE_PRIMARY_MEMBERS : NTSTATUS = NTSTATUS ( -1073741092i32 as _ ) ; pub const STATUS_DS_INCORRECT_ROLE_OWNER : NTSTATUS = NTSTATUS ( -1073741143i32 as _ ) ; pub const STATUS_DS_INIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741086i32 as _ ) ; pub const STATUS_DS_INIT_FAILURE_CONSOLE : NTSTATUS = NTSTATUS ( -1073741076i32 as _ ) ; pub const STATUS_DS_INVALID_ATTRIBUTE_SYNTAX : NTSTATUS = NTSTATUS ( -1073741150i32 as _ ) ; pub const STATUS_DS_INVALID_GROUP_TYPE : NTSTATUS = NTSTATUS ( -1073741100i32 as _ ) ; pub const STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER : NTSTATUS = NTSTATUS ( -1073741093i32 as _ ) ; pub const STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY : NTSTATUS = NTSTATUS ( -1073741083i32 as _ ) ; pub const STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741081i32 as _ ) ; pub const STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY : NTSTATUS = NTSTATUS ( 289i32 as _ ) ; pub const STATUS_DS_NAME_NOT_UNIQUE : NTSTATUS = NTSTATUS ( -1073740796i32 as _ ) ; pub const STATUS_DS_NO_ATTRIBUTE_OR_VALUE : NTSTATUS = NTSTATUS ( -1073741151i32 as _ ) ; pub const STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS : NTSTATUS = NTSTATUS ( -1073741082i32 as _ ) ; pub const STATUS_DS_NO_MORE_RIDS : NTSTATUS = NTSTATUS ( -1073741144i32 as _ ) ; pub const STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN : NTSTATUS = NTSTATUS ( -1073741099i32 as _ ) ; pub const STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN : NTSTATUS = NTSTATUS ( -1073741098i32 as _ ) ; pub const STATUS_DS_NO_RIDS_ALLOCATED : NTSTATUS = NTSTATUS ( -1073741145i32 as _ ) ; pub const STATUS_DS_OBJ_CLASS_VIOLATION : NTSTATUS = NTSTATUS ( -1073741141i32 as _ ) ; pub const STATUS_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS : NTSTATUS = NTSTATUS ( -1073700729i32 as _ ) ; pub const STATUS_DS_OID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073700728i32 as _ ) ; pub const STATUS_DS_RIDMGR_DISABLED : NTSTATUS = NTSTATUS ( -1073741126i32 as _ ) ; pub const STATUS_DS_RIDMGR_INIT_ERROR : NTSTATUS = NTSTATUS ( -1073741142i32 as _ ) ; pub const STATUS_DS_SAM_INIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741109i32 as _ ) ; pub const STATUS_DS_SAM_INIT_FAILURE_CONSOLE : NTSTATUS = NTSTATUS ( -1073741075i32 as _ ) ; pub const STATUS_DS_SENSITIVE_GROUP_VIOLATION : NTSTATUS = NTSTATUS ( -1073741107i32 as _ ) ; pub const STATUS_DS_SHUTTING_DOWN : NTSTATUS = NTSTATUS ( 1073742704i32 as _ ) ; pub const STATUS_DS_SRC_SID_EXISTS_IN_FOREST : NTSTATUS = NTSTATUS ( -1073740775i32 as _ ) ; pub const STATUS_DS_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073741146i32 as _ ) ; pub const STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER : NTSTATUS = NTSTATUS ( -1073741095i32 as _ ) ; pub const STATUS_DS_VERSION_CHECK_FAILURE : NTSTATUS = NTSTATUS ( -1073740971i32 as _ ) ; pub const STATUS_DUPLICATE_NAME : NTSTATUS = NTSTATUS ( -1073741635i32 as _ ) ; pub const STATUS_DUPLICATE_OBJECTID : NTSTATUS = NTSTATUS ( -1073741270i32 as _ ) ; pub const STATUS_DUPLICATE_PRIVILEGES : NTSTATUS = NTSTATUS ( -1073741402i32 as _ ) ; pub const STATUS_DYNAMIC_CODE_BLOCKED : NTSTATUS = NTSTATUS ( -1073740284i32 as _ ) ; pub const STATUS_EAS_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741745i32 as _ ) ; pub const STATUS_EA_CORRUPT_ERROR : NTSTATUS = NTSTATUS ( -1073741741i32 as _ ) ; pub const STATUS_EA_LIST_INCONSISTENT : NTSTATUS = NTSTATUS ( -2147483628i32 as _ ) ; pub const STATUS_EA_TOO_LARGE : NTSTATUS = NTSTATUS ( -1073741744i32 as _ ) ; pub const STATUS_EFS_ALG_BLOB_TOO_BIG : NTSTATUS = NTSTATUS ( -1073740974i32 as _ ) ; pub const STATUS_EFS_NOT_ALLOWED_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103362i32 as _ ) ; pub const STATUS_ELEVATION_REQUIRED : NTSTATUS = NTSTATUS ( -1073740756i32 as _ ) ; pub const STATUS_ENCLAVE_FAILURE : NTSTATUS = NTSTATUS ( -1073740657i32 as _ ) ; pub const STATUS_ENCLAVE_IS_TERMINATING : NTSTATUS = NTSTATUS ( -1073740526i32 as _ ) ; pub const STATUS_ENCLAVE_NOT_TERMINATED : NTSTATUS = NTSTATUS ( -1073740527i32 as _ ) ; pub const STATUS_ENCLAVE_VIOLATION : NTSTATUS = NTSTATUS ( -1073740638i32 as _ ) ; pub const STATUS_ENCOUNTERED_WRITE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073740749i32 as _ ) ; pub const STATUS_ENCRYPTED_IO_NOT_POSSIBLE : NTSTATUS = NTSTATUS ( -1073739760i32 as _ ) ; pub const STATUS_ENCRYPTING_METADATA_DISALLOWED : NTSTATUS = NTSTATUS ( -1073740617i32 as _ ) ; pub const STATUS_ENCRYPTION_DISABLED : NTSTATUS = NTSTATUS ( -1073740618i32 as _ ) ; pub const STATUS_ENCRYPTION_FAILED : NTSTATUS = NTSTATUS ( -1073741174i32 as _ ) ; pub const STATUS_END_OF_FILE : NTSTATUS = NTSTATUS ( -1073741807i32 as _ ) ; pub const STATUS_END_OF_MEDIA : NTSTATUS = NTSTATUS ( -2147483618i32 as _ ) ; pub const STATUS_ENLISTMENT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103344i32 as _ ) ; pub const STATUS_ENLISTMENT_NOT_SUPERIOR : NTSTATUS = NTSTATUS ( -1072103373i32 as _ ) ; pub const STATUS_ENTRYPOINT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741511i32 as _ ) ; pub const STATUS_EOF_ON_GHOSTED_RANGE : NTSTATUS = NTSTATUS ( -1073700857i32 as _ ) ; pub const STATUS_EOM_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741449i32 as _ ) ; pub const STATUS_ERROR_PROCESS_NOT_IN_JOB : NTSTATUS = NTSTATUS ( -1073741394i32 as _ ) ; pub const STATUS_EVALUATION_EXPIRATION : NTSTATUS = NTSTATUS ( -1073741208i32 as _ ) ; pub const STATUS_EVENTLOG_CANT_START : NTSTATUS = NTSTATUS ( -1073741425i32 as _ ) ; pub const STATUS_EVENTLOG_FILE_CHANGED : NTSTATUS = NTSTATUS ( -1073741417i32 as _ ) ; pub const STATUS_EVENTLOG_FILE_CORRUPT : NTSTATUS = NTSTATUS ( -1073741426i32 as _ ) ; pub const STATUS_EVENT_DONE : NTSTATUS = NTSTATUS ( 1073741842i32 as _ ) ; pub const STATUS_EVENT_PENDING : NTSTATUS = NTSTATUS ( 1073741843i32 as _ ) ; pub const STATUS_EXECUTABLE_MEMORY_WRITE : NTSTATUS = NTSTATUS ( -1073739997i32 as _ ) ; pub const STATUS_EXPIRED_HANDLE : NTSTATUS = NTSTATUS ( -1072103328i32 as _ ) ; pub const STATUS_EXTERNAL_BACKING_PROVIDER_UNKNOWN : NTSTATUS = NTSTATUS ( -1073740690i32 as _ ) ; pub const STATUS_EXTERNAL_SYSKEY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740639i32 as _ ) ; pub const STATUS_EXTRANEOUS_INFORMATION : NTSTATUS = NTSTATUS ( -2147483625i32 as _ ) ; pub const STATUS_FAILED_DRIVER_ENTRY : NTSTATUS = NTSTATUS ( -1073740955i32 as _ ) ; pub const STATUS_FAILED_STACK_SWITCH : NTSTATUS = NTSTATUS ( -1073740941i32 as _ ) ; pub const STATUS_FAIL_CHECK : NTSTATUS = NTSTATUS ( -1073741271i32 as _ ) ; pub const STATUS_FAIL_FAST_EXCEPTION : NTSTATUS = NTSTATUS ( -1073740286i32 as _ ) ; pub const STATUS_FASTPATH_REJECTED : NTSTATUS = NTSTATUS ( -1073700844i32 as _ ) ; pub const STATUS_FATAL_APP_EXIT : NTSTATUS = NTSTATUS ( 1073741845i32 as _ ) ; pub const STATUS_FATAL_MEMORY_EXHAUSTION : NTSTATUS = NTSTATUS ( -1073741395i32 as _ ) ; pub const STATUS_FATAL_USER_CALLBACK_EXCEPTION : NTSTATUS = NTSTATUS ( -1073740771i32 as _ ) ; pub const STATUS_FILEMARK_DETECTED : NTSTATUS = NTSTATUS ( -2147483621i32 as _ ) ; pub const STATUS_FILES_OPEN : NTSTATUS = NTSTATUS ( -1073741561i32 as _ ) ; pub const STATUS_FILE_CHECKED_OUT : NTSTATUS = NTSTATUS ( -1073739519i32 as _ ) ; pub const STATUS_FILE_CLOSED : NTSTATUS = NTSTATUS ( -1073741528i32 as _ ) ; pub const STATUS_FILE_CORRUPT_ERROR : NTSTATUS = NTSTATUS ( -1073741566i32 as _ ) ; pub const STATUS_FILE_DELETED : NTSTATUS = NTSTATUS ( -1073741533i32 as _ ) ; pub const STATUS_FILE_ENCRYPTED : NTSTATUS = NTSTATUS ( -1073741165i32 as _ ) ; pub const STATUS_FILE_FORCED_CLOSED : NTSTATUS = NTSTATUS ( -1073741642i32 as _ ) ; pub const STATUS_FILE_HANDLE_REVOKED : NTSTATUS = NTSTATUS ( -1073739504i32 as _ ) ; pub const STATUS_FILE_IDENTITY_NOT_PERSISTENT : NTSTATUS = NTSTATUS ( -1072103370i32 as _ ) ; pub const STATUS_FILE_INVALID : NTSTATUS = NTSTATUS ( -1073741672i32 as _ ) ; pub const STATUS_FILE_IS_A_DIRECTORY : NTSTATUS = NTSTATUS ( -1073741638i32 as _ ) ; pub const STATUS_FILE_IS_OFFLINE : NTSTATUS = NTSTATUS ( -1073741209i32 as _ ) ; pub const STATUS_FILE_LOCKED_WITH_ONLY_READERS : NTSTATUS = NTSTATUS ( 298i32 as _ ) ; pub const STATUS_FILE_LOCKED_WITH_WRITERS : NTSTATUS = NTSTATUS ( 299i32 as _ ) ; pub const STATUS_FILE_LOCK_CONFLICT : NTSTATUS = NTSTATUS ( -1073741740i32 as _ ) ; pub const STATUS_FILE_METADATA_OPTIMIZATION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073741397i32 as _ ) ; pub const STATUS_FILE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073740697i32 as _ ) ; pub const STATUS_FILE_NOT_ENCRYPTED : NTSTATUS = NTSTATUS ( -1073741167i32 as _ ) ; pub const STATUS_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740620i32 as _ ) ; pub const STATUS_FILE_PROTECTED_UNDER_DPL : NTSTATUS = NTSTATUS ( -1073740637i32 as _ ) ; pub const STATUS_FILE_RENAMED : NTSTATUS = NTSTATUS ( -1073741611i32 as _ ) ; pub const STATUS_FILE_SNAP_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1073679099i32 as _ ) ; pub const STATUS_FILE_SNAP_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073679104i32 as _ ) ; pub const STATUS_FILE_SNAP_IO_NOT_COORDINATED : NTSTATUS = NTSTATUS ( -1073679101i32 as _ ) ; pub const STATUS_FILE_SNAP_MODIFY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073679102i32 as _ ) ; pub const STATUS_FILE_SNAP_UNEXPECTED_ERROR : NTSTATUS = NTSTATUS ( -1073679100i32 as _ ) ; pub const STATUS_FILE_SNAP_USER_SECTION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073679103i32 as _ ) ; pub const STATUS_FILE_SYSTEM_LIMITATION : NTSTATUS = NTSTATUS ( -1073740761i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_BUSY : NTSTATUS = NTSTATUS ( -1073689085i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_INVALID_OPERATION : NTSTATUS = NTSTATUS ( -1073689083i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1073689086i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_PROVIDER_UNKNOWN : NTSTATUS = NTSTATUS ( -1073689084i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073689087i32 as _ ) ; pub const STATUS_FILE_TOO_LARGE : NTSTATUS = NTSTATUS ( -1073739516i32 as _ ) ; pub const STATUS_FIRMWARE_IMAGE_INVALID : NTSTATUS = NTSTATUS ( -1073740667i32 as _ ) ; pub const STATUS_FIRMWARE_SLOT_INVALID : NTSTATUS = NTSTATUS ( -1073740668i32 as _ ) ; pub const STATUS_FIRMWARE_UPDATED : NTSTATUS = NTSTATUS ( 1073741868i32 as _ ) ; pub const STATUS_FLOATED_SECTION : NTSTATUS = NTSTATUS ( -1072103349i32 as _ ) ; pub const STATUS_FLOAT_DENORMAL_OPERAND : NTSTATUS = NTSTATUS ( -1073741683i32 as _ ) ; pub const STATUS_FLOAT_DIVIDE_BY_ZERO : NTSTATUS = NTSTATUS ( -1073741682i32 as _ ) ; pub const STATUS_FLOAT_INEXACT_RESULT : NTSTATUS = NTSTATUS ( -1073741681i32 as _ ) ; pub const STATUS_FLOAT_INVALID_OPERATION : NTSTATUS = NTSTATUS ( -1073741680i32 as _ ) ; pub const STATUS_FLOAT_MULTIPLE_FAULTS : NTSTATUS = NTSTATUS ( -1073741132i32 as _ ) ; pub const STATUS_FLOAT_MULTIPLE_TRAPS : NTSTATUS = NTSTATUS ( -1073741131i32 as _ ) ; pub const STATUS_FLOAT_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741679i32 as _ ) ; pub const STATUS_FLOAT_STACK_CHECK : NTSTATUS = NTSTATUS ( -1073741678i32 as _ ) ; pub const STATUS_FLOAT_UNDERFLOW : NTSTATUS = NTSTATUS ( -1073741677i32 as _ ) ; pub const STATUS_FLOPPY_BAD_REGISTERS : NTSTATUS = NTSTATUS ( -1073741464i32 as _ ) ; pub const STATUS_FLOPPY_ID_MARK_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741467i32 as _ ) ; pub const STATUS_FLOPPY_UNKNOWN_ERROR : NTSTATUS = NTSTATUS ( -1073741465i32 as _ ) ; pub const STATUS_FLOPPY_VOLUME : NTSTATUS = NTSTATUS ( -1073741468i32 as _ ) ; pub const STATUS_FLOPPY_WRONG_CYLINDER : NTSTATUS = NTSTATUS ( -1073741466i32 as _ ) ; pub const STATUS_FLT_ALREADY_ENLISTED : NTSTATUS = NTSTATUS ( -1071906789i32 as _ ) ; pub const STATUS_FLT_BUFFER_TOO_SMALL : NTSTATUS = NTSTATUS ( -2145648639i32 as _ ) ; pub const STATUS_FLT_CBDQ_DISABLED : NTSTATUS = NTSTATUS ( -1071906802i32 as _ ) ; pub const STATUS_FLT_CONTEXT_ALLOCATION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071906794i32 as _ ) ; pub const STATUS_FLT_CONTEXT_ALREADY_DEFINED : NTSTATUS = NTSTATUS ( -1071906814i32 as _ ) ; pub const STATUS_FLT_CONTEXT_ALREADY_LINKED : NTSTATUS = NTSTATUS ( -1071906788i32 as _ ) ; pub const STATUS_FLT_DELETING_OBJECT : NTSTATUS = NTSTATUS ( -1071906805i32 as _ ) ; pub const STATUS_FLT_DISALLOW_FAST_IO : NTSTATUS = NTSTATUS ( -1071906812i32 as _ ) ; pub const STATUS_FLT_DO_NOT_ATTACH : NTSTATUS = NTSTATUS ( -1071906801i32 as _ ) ; pub const STATUS_FLT_DO_NOT_DETACH : NTSTATUS = NTSTATUS ( -1071906800i32 as _ ) ; pub const STATUS_FLT_DUPLICATE_ENTRY : NTSTATUS = NTSTATUS ( -1071906803i32 as _ ) ; pub const STATUS_FLT_FILTER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071906797i32 as _ ) ; pub const STATUS_FLT_FILTER_NOT_READY : NTSTATUS = NTSTATUS ( -1071906808i32 as _ ) ; pub const STATUS_FLT_INSTANCE_ALTITUDE_COLLISION : NTSTATUS = NTSTATUS ( -1071906799i32 as _ ) ; pub const STATUS_FLT_INSTANCE_NAME_COLLISION : NTSTATUS = NTSTATUS ( -1071906798i32 as _ ) ; pub const STATUS_FLT_INSTANCE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071906795i32 as _ ) ; pub const STATUS_FLT_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071906806i32 as _ ) ; pub const STATUS_FLT_INVALID_ASYNCHRONOUS_REQUEST : NTSTATUS = NTSTATUS ( -1071906813i32 as _ ) ; pub const STATUS_FLT_INVALID_CONTEXT_REGISTRATION : NTSTATUS = NTSTATUS ( -1071906793i32 as _ ) ; pub const STATUS_FLT_INVALID_NAME_REQUEST : NTSTATUS = NTSTATUS ( -1071906811i32 as _ ) ; pub const STATUS_FLT_IO_COMPLETE : NTSTATUS = NTSTATUS ( 1835009i32 as _ ) ; pub const STATUS_FLT_MUST_BE_NONPAGED_POOL : NTSTATUS = NTSTATUS ( -1071906804i32 as _ ) ; pub const STATUS_FLT_NAME_CACHE_MISS : NTSTATUS = NTSTATUS ( -1071906792i32 as _ ) ; pub const STATUS_FLT_NOT_INITIALIZED : NTSTATUS = NTSTATUS ( -1071906809i32 as _ ) ; pub const STATUS_FLT_NOT_SAFE_TO_POST_OPERATION : NTSTATUS = NTSTATUS ( -1071906810i32 as _ ) ; pub const STATUS_FLT_NO_DEVICE_OBJECT : NTSTATUS = NTSTATUS ( -1071906791i32 as _ ) ; pub const STATUS_FLT_NO_HANDLER_DEFINED : NTSTATUS = NTSTATUS ( -1071906815i32 as _ ) ; pub const STATUS_FLT_NO_WAITER_FOR_REPLY : NTSTATUS = NTSTATUS ( -1071906784i32 as _ ) ; pub const STATUS_FLT_POST_OPERATION_CLEANUP : NTSTATUS = NTSTATUS ( -1071906807i32 as _ ) ; pub const STATUS_FLT_REGISTRATION_BUSY : NTSTATUS = NTSTATUS ( -1071906781i32 as _ ) ; pub const STATUS_FLT_VOLUME_ALREADY_MOUNTED : NTSTATUS = NTSTATUS ( -1071906790i32 as _ ) ; pub const STATUS_FLT_VOLUME_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071906796i32 as _ ) ; pub const STATUS_FORMS_AUTH_REQUIRED : NTSTATUS = NTSTATUS ( -1073739515i32 as _ ) ; pub const STATUS_FOUND_OUT_OF_SCOPE : NTSTATUS = NTSTATUS ( -1073741266i32 as _ ) ; pub const STATUS_FREE_SPACE_TOO_FRAGMENTED : NTSTATUS = NTSTATUS ( -1073740645i32 as _ ) ; pub const STATUS_FREE_VM_NOT_AT_BASE : NTSTATUS = NTSTATUS ( -1073741665i32 as _ ) ; pub const STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY : NTSTATUS = NTSTATUS ( 294i32 as _ ) ; pub const STATUS_FS_DRIVER_REQUIRED : NTSTATUS = NTSTATUS ( -1073741412i32 as _ ) ; pub const STATUS_FT_DI_SCAN_REQUIRED : NTSTATUS = NTSTATUS ( -1073740692i32 as _ ) ; pub const STATUS_FT_MISSING_MEMBER : NTSTATUS = NTSTATUS ( -1073741473i32 as _ ) ; pub const STATUS_FT_ORPHANING : NTSTATUS = NTSTATUS ( -1073741459i32 as _ ) ; pub const STATUS_FT_READ_FAILURE : NTSTATUS = NTSTATUS ( -1073740629i32 as _ ) ; pub const STATUS_FT_READ_FROM_COPY : NTSTATUS = NTSTATUS ( 1073741877i32 as _ ) ; pub const STATUS_FT_READ_RECOVERY_FROM_BACKUP : NTSTATUS = NTSTATUS ( 1073741834i32 as _ ) ; pub const STATUS_FT_WRITE_FAILURE : NTSTATUS = NTSTATUS ( -1073740693i32 as _ ) ; pub const STATUS_FT_WRITE_RECOVERY : NTSTATUS = NTSTATUS ( 1073741835i32 as _ ) ; pub const STATUS_FULLSCREEN_MODE : NTSTATUS = NTSTATUS ( -1073741479i32 as _ ) ; pub const STATUS_FVE_ACTION_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071579127i32 as _ ) ; pub const STATUS_FVE_AUTH_INVALID_APPLICATION : NTSTATUS = NTSTATUS ( -1071579109i32 as _ ) ; pub const STATUS_FVE_AUTH_INVALID_CONFIG : NTSTATUS = NTSTATUS ( -1071579108i32 as _ ) ; pub const STATUS_FVE_BAD_DATA : NTSTATUS = NTSTATUS ( -1071579126i32 as _ ) ; pub const STATUS_FVE_BAD_INFORMATION : NTSTATUS = NTSTATUS ( -1071579134i32 as _ ) ; pub const STATUS_FVE_BAD_METADATA_POINTER : NTSTATUS = NTSTATUS ( -1071579105i32 as _ ) ; pub const STATUS_FVE_BAD_PARTITION_SIZE : NTSTATUS = NTSTATUS ( -1071579131i32 as _ ) ; pub const STATUS_FVE_CONV_READ_ERROR : NTSTATUS = NTSTATUS ( -1071579123i32 as _ ) ; pub const STATUS_FVE_CONV_RECOVERY_FAILED : NTSTATUS = NTSTATUS ( -1071579096i32 as _ ) ; pub const STATUS_FVE_CONV_WRITE_ERROR : NTSTATUS = NTSTATUS ( -1071579122i32 as _ ) ; pub const STATUS_FVE_DEBUGGER_ENABLED : NTSTATUS = NTSTATUS ( -1071579107i32 as _ ) ; pub const STATUS_FVE_DEVICE_LOCKEDOUT : NTSTATUS = NTSTATUS ( -1071579077i32 as _ ) ; pub const STATUS_FVE_DRY_RUN_FAILED : NTSTATUS = NTSTATUS ( -1071579106i32 as _ ) ; pub const STATUS_FVE_EDRIVE_DRY_RUN_FAILED : NTSTATUS = NTSTATUS ( -1071579080i32 as _ ) ; pub const STATUS_FVE_ENH_PIN_INVALID : NTSTATUS = NTSTATUS ( -1071579087i32 as _ ) ; pub const STATUS_FVE_FAILED_AUTHENTICATION : NTSTATUS = NTSTATUS ( -1071579119i32 as _ ) ; pub const STATUS_FVE_FAILED_SECTOR_SIZE : NTSTATUS = NTSTATUS ( -1071579120i32 as _ ) ; pub const STATUS_FVE_FAILED_WRONG_FS : NTSTATUS = NTSTATUS ( -1071579132i32 as _ ) ; pub const STATUS_FVE_FS_MOUNTED : NTSTATUS = NTSTATUS ( -1071579129i32 as _ ) ; pub const STATUS_FVE_FS_NOT_EXTENDED : NTSTATUS = NTSTATUS ( -1071579130i32 as _ ) ; pub const STATUS_FVE_FULL_ENCRYPTION_NOT_ALLOWED_ON_TP_STORAGE : NTSTATUS = NTSTATUS ( -1071579086i32 as _ ) ; pub const STATUS_FVE_INVALID_DATUM_TYPE : NTSTATUS = NTSTATUS ( -1071579094i32 as _ ) ; pub const STATUS_FVE_KEYFILE_INVALID : NTSTATUS = NTSTATUS ( -1071579116i32 as _ ) ; pub const STATUS_FVE_KEYFILE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071579117i32 as _ ) ; pub const STATUS_FVE_KEYFILE_NO_VMK : NTSTATUS = NTSTATUS ( -1071579115i32 as _ ) ; pub const STATUS_FVE_LOCKED_VOLUME : NTSTATUS = NTSTATUS ( -1071579136i32 as _ ) ; pub const STATUS_FVE_MOR_FAILED : NTSTATUS = NTSTATUS ( -1071579099i32 as _ ) ; pub const STATUS_FVE_NOT_ALLOWED_ON_CLUSTER : NTSTATUS = NTSTATUS ( -1071579083i32 as _ ) ; pub const STATUS_FVE_NOT_ALLOWED_ON_CSV_STACK : NTSTATUS = NTSTATUS ( -1071579084i32 as _ ) ; pub const STATUS_FVE_NOT_ALLOWED_TO_UPGRADE_WHILE_CONVERTING : NTSTATUS = NTSTATUS ( -1071579082i32 as _ ) ; pub const STATUS_FVE_NOT_DATA_VOLUME : NTSTATUS = NTSTATUS ( -1071579124i32 as _ ) ; pub const STATUS_FVE_NOT_DE_VOLUME : NTSTATUS = NTSTATUS ( -1071579075i32 as _ ) ; pub const STATUS_FVE_NOT_ENCRYPTED : NTSTATUS = NTSTATUS ( -1071579135i32 as _ ) ; pub const STATUS_FVE_NOT_OS_VOLUME : NTSTATUS = NTSTATUS ( -1071579118i32 as _ ) ; pub const STATUS_FVE_NO_AUTOUNLOCK_MASTER_KEY : NTSTATUS = NTSTATUS ( -1071579100i32 as _ ) ; pub const STATUS_FVE_NO_FEATURE_LICENSE : NTSTATUS = NTSTATUS ( -1071579098i32 as _ ) ; pub const STATUS_FVE_NO_LICENSE : NTSTATUS = NTSTATUS ( -1071579128i32 as _ ) ; pub const STATUS_FVE_OLD_METADATA_COPY : NTSTATUS = NTSTATUS ( -1071579104i32 as _ ) ; pub const STATUS_FVE_OSV_KSR_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071579072i32 as _ ) ; pub const STATUS_FVE_OVERLAPPED_UPDATE : NTSTATUS = NTSTATUS ( -1071579121i32 as _ ) ; pub const STATUS_FVE_PARTIAL_METADATA : NTSTATUS = NTSTATUS ( -2145320959i32 as _ ) ; pub const STATUS_FVE_PIN_INVALID : NTSTATUS = NTSTATUS ( -1071579110i32 as _ ) ; pub const STATUS_FVE_POLICY_USER_DISABLE_RDV_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071579097i32 as _ ) ; pub const STATUS_FVE_PROTECTION_CANNOT_BE_DISABLED : NTSTATUS = NTSTATUS ( -1071579073i32 as _ ) ; pub const STATUS_FVE_PROTECTION_DISABLED : NTSTATUS = NTSTATUS ( -1071579074i32 as _ ) ; pub const STATUS_FVE_RAW_ACCESS : NTSTATUS = NTSTATUS ( -1071579102i32 as _ ) ; pub const STATUS_FVE_RAW_BLOCKED : NTSTATUS = NTSTATUS ( -1071579101i32 as _ ) ; pub const STATUS_FVE_REBOOT_REQUIRED : NTSTATUS = NTSTATUS ( -1071579103i32 as _ ) ; pub const STATUS_FVE_SECUREBOOT_CONFIG_CHANGE : NTSTATUS = NTSTATUS ( -1071579078i32 as _ ) ; pub const STATUS_FVE_SECUREBOOT_DISABLED : NTSTATUS = NTSTATUS ( -1071579079i32 as _ ) ; pub const STATUS_FVE_TOO_SMALL : NTSTATUS = NTSTATUS ( -1071579133i32 as _ ) ; pub const STATUS_FVE_TPM_DISABLED : NTSTATUS = NTSTATUS ( -1071579114i32 as _ ) ; pub const STATUS_FVE_TPM_INVALID_PCR : NTSTATUS = NTSTATUS ( -1071579112i32 as _ ) ; pub const STATUS_FVE_TPM_NO_VMK : NTSTATUS = NTSTATUS ( -1071579111i32 as _ ) ; pub const STATUS_FVE_TPM_SRK_AUTH_NOT_ZERO : NTSTATUS = NTSTATUS ( -1071579113i32 as _ ) ; pub const STATUS_FVE_TRANSIENT_STATE : NTSTATUS = NTSTATUS ( -2145320958i32 as _ ) ; pub const STATUS_FVE_VIRTUALIZED_SPACE_TOO_BIG : NTSTATUS = NTSTATUS ( -1071579095i32 as _ ) ; pub const STATUS_FVE_VOLUME_EXTEND_PREVENTS_EOW_DECRYPT : NTSTATUS = NTSTATUS ( -1071579076i32 as _ ) ; pub const STATUS_FVE_VOLUME_NOT_BOUND : NTSTATUS = NTSTATUS ( -1071579125i32 as _ ) ; pub const STATUS_FVE_VOLUME_TOO_SMALL : NTSTATUS = NTSTATUS ( -1071579088i32 as _ ) ; pub const STATUS_FVE_WIPE_CANCEL_NOT_APPLICABLE : NTSTATUS = NTSTATUS ( -1071579081i32 as _ ) ; pub const STATUS_FVE_WIPE_NOT_ALLOWED_ON_TP_STORAGE : NTSTATUS = NTSTATUS ( -1071579085i32 as _ ) ; pub const STATUS_FWP_ACTION_INCOMPATIBLE_WITH_LAYER : NTSTATUS = NTSTATUS ( -1071513556i32 as _ ) ; pub const STATUS_FWP_ACTION_INCOMPATIBLE_WITH_SUBLAYER : NTSTATUS = NTSTATUS ( -1071513555i32 as _ ) ; pub const STATUS_FWP_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1071513591i32 as _ ) ; pub const STATUS_FWP_BUILTIN_OBJECT : NTSTATUS = NTSTATUS ( -1071513577i32 as _ ) ; pub const STATUS_FWP_CALLOUT_NOTIFICATION_FAILED : NTSTATUS = NTSTATUS ( -1071513545i32 as _ ) ; pub const STATUS_FWP_CALLOUT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513599i32 as _ ) ; pub const STATUS_FWP_CANNOT_PEND : NTSTATUS = NTSTATUS ( -1071513341i32 as _ ) ; pub const STATUS_FWP_CONDITION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513598i32 as _ ) ; pub const STATUS_FWP_CONNECTIONS_DISABLED : NTSTATUS = NTSTATUS ( -1071513535i32 as _ ) ; pub const STATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_CALLOUT : NTSTATUS = NTSTATUS ( -1071513553i32 as _ ) ; pub const STATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_LAYER : NTSTATUS = NTSTATUS ( -1071513554i32 as _ ) ; pub const STATUS_FWP_DROP_NOICMP : NTSTATUS = NTSTATUS ( -1071513340i32 as _ ) ; pub const STATUS_FWP_DUPLICATE_AUTH_METHOD : NTSTATUS = NTSTATUS ( -1071513540i32 as _ ) ; pub const STATUS_FWP_DUPLICATE_CONDITION : NTSTATUS = NTSTATUS ( -1071513558i32 as _ ) ; pub const STATUS_FWP_DUPLICATE_KEYMOD : NTSTATUS = NTSTATUS ( -1071513557i32 as _ ) ; pub const STATUS_FWP_DYNAMIC_SESSION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071513589i32 as _ ) ; pub const STATUS_FWP_EM_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071513550i32 as _ ) ; pub const STATUS_FWP_FILTER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513597i32 as _ ) ; pub const STATUS_FWP_IKEEXT_NOT_RUNNING : NTSTATUS = NTSTATUS ( -1071513532i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_AUTH_METHOD : NTSTATUS = NTSTATUS ( -1071513552i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_CIPHER_TRANSFORM : NTSTATUS = NTSTATUS ( -1071513542i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_DH_GROUP : NTSTATUS = NTSTATUS ( -1071513551i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_LAYER : NTSTATUS = NTSTATUS ( -1071513580i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_SA_STATE : NTSTATUS = NTSTATUS ( -1071513573i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_TXN : NTSTATUS = NTSTATUS ( -1071513583i32 as _ ) ; pub const STATUS_FWP_INJECT_HANDLE_CLOSING : NTSTATUS = NTSTATUS ( -1071513343i32 as _ ) ; pub const STATUS_FWP_INJECT_HANDLE_STALE : NTSTATUS = NTSTATUS ( -1071513342i32 as _ ) ; pub const STATUS_FWP_INVALID_ACTION_TYPE : NTSTATUS = NTSTATUS ( -1071513564i32 as _ ) ; pub const STATUS_FWP_INVALID_AUTH_TRANSFORM : NTSTATUS = NTSTATUS ( -1071513544i32 as _ ) ; pub const STATUS_FWP_INVALID_CIPHER_TRANSFORM : NTSTATUS = NTSTATUS ( -1071513543i32 as _ ) ; pub const STATUS_FWP_INVALID_DNS_NAME : NTSTATUS = NTSTATUS ( -1071513534i32 as _ ) ; pub const STATUS_FWP_INVALID_ENUMERATOR : NTSTATUS = NTSTATUS ( -1071513571i32 as _ ) ; pub const STATUS_FWP_INVALID_FLAGS : NTSTATUS = NTSTATUS ( -1071513570i32 as _ ) ; pub const STATUS_FWP_INVALID_INTERVAL : NTSTATUS = NTSTATUS ( -1071513567i32 as _ ) ; pub const STATUS_FWP_INVALID_NET_MASK : NTSTATUS = NTSTATUS ( -1071513569i32 as _ ) ; pub const STATUS_FWP_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1071513547i32 as _ ) ; pub const STATUS_FWP_INVALID_RANGE : NTSTATUS = NTSTATUS ( -1071513568i32 as _ ) ; pub const STATUS_FWP_INVALID_TRANSFORM_COMBINATION : NTSTATUS = NTSTATUS ( -1071513541i32 as _ ) ; pub const STATUS_FWP_INVALID_TUNNEL_ENDPOINT : NTSTATUS = NTSTATUS ( -1071513539i32 as _ ) ; pub const STATUS_FWP_INVALID_WEIGHT : NTSTATUS = NTSTATUS ( -1071513563i32 as _ ) ; pub const STATUS_FWP_IN_USE : NTSTATUS = NTSTATUS ( -1071513590i32 as _ ) ; pub const STATUS_FWP_KEY_DICTATION_INVALID_KEYING_MATERIAL : NTSTATUS = NTSTATUS ( -1071513536i32 as _ ) ; pub const STATUS_FWP_KEY_DICTATOR_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1071513537i32 as _ ) ; pub const STATUS_FWP_KM_CLIENTS_ONLY : NTSTATUS = NTSTATUS ( -1071513579i32 as _ ) ; pub const STATUS_FWP_L2_DRIVER_NOT_READY : NTSTATUS = NTSTATUS ( -1071513538i32 as _ ) ; pub const STATUS_FWP_LAYER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513596i32 as _ ) ; pub const STATUS_FWP_LIFETIME_MISMATCH : NTSTATUS = NTSTATUS ( -1071513578i32 as _ ) ; pub const STATUS_FWP_MATCH_TYPE_MISMATCH : NTSTATUS = NTSTATUS ( -1071513562i32 as _ ) ; pub const STATUS_FWP_NET_EVENTS_DISABLED : NTSTATUS = NTSTATUS ( -1071513581i32 as _ ) ; pub const STATUS_FWP_NEVER_MATCH : NTSTATUS = NTSTATUS ( -1071513549i32 as _ ) ; pub const STATUS_FWP_NOTIFICATION_DROPPED : NTSTATUS = NTSTATUS ( -1071513575i32 as _ ) ; pub const STATUS_FWP_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513592i32 as _ ) ; pub const STATUS_FWP_NO_TXN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071513587i32 as _ ) ; pub const STATUS_FWP_NULL_DISPLAY_NAME : NTSTATUS = NTSTATUS ( -1071513565i32 as _ ) ; pub const STATUS_FWP_NULL_POINTER : NTSTATUS = NTSTATUS ( -1071513572i32 as _ ) ; pub const STATUS_FWP_OUT_OF_BOUNDS : NTSTATUS = NTSTATUS ( -1071513560i32 as _ ) ; pub const STATUS_FWP_PROVIDER_CONTEXT_MISMATCH : NTSTATUS = NTSTATUS ( -1071513548i32 as _ ) ; pub const STATUS_FWP_PROVIDER_CONTEXT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513594i32 as _ ) ; pub const STATUS_FWP_PROVIDER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513595i32 as _ ) ; pub const STATUS_FWP_RESERVED : NTSTATUS = NTSTATUS ( -1071513559i32 as _ ) ; pub const STATUS_FWP_SESSION_ABORTED : NTSTATUS = NTSTATUS ( -1071513584i32 as _ ) ; pub const STATUS_FWP_STILL_ON : NTSTATUS = NTSTATUS ( -1071513533i32 as _ ) ; pub const STATUS_FWP_SUBLAYER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513593i32 as _ ) ; pub const STATUS_FWP_TCPIP_NOT_READY : NTSTATUS = NTSTATUS ( -1071513344i32 as _ ) ; pub const STATUS_FWP_TIMEOUT : NTSTATUS = NTSTATUS ( -1071513582i32 as _ ) ; pub const STATUS_FWP_TOO_MANY_CALLOUTS : NTSTATUS = NTSTATUS ( -1071513576i32 as _ ) ; pub const STATUS_FWP_TOO_MANY_SUBLAYERS : NTSTATUS = NTSTATUS ( -1071513546i32 as _ ) ; pub const STATUS_FWP_TRAFFIC_MISMATCH : NTSTATUS = NTSTATUS ( -1071513574i32 as _ ) ; pub const STATUS_FWP_TXN_ABORTED : NTSTATUS = NTSTATUS ( -1071513585i32 as _ ) ; pub const STATUS_FWP_TXN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071513586i32 as _ ) ; pub const STATUS_FWP_TYPE_MISMATCH : NTSTATUS = NTSTATUS ( -1071513561i32 as _ ) ; pub const STATUS_FWP_WRONG_SESSION : NTSTATUS = NTSTATUS ( -1071513588i32 as _ ) ; pub const STATUS_FWP_ZERO_LENGTH_ARRAY : NTSTATUS = NTSTATUS ( -1071513566i32 as _ ) ; pub const STATUS_GDI_HANDLE_LEAK : NTSTATUS = NTSTATUS ( -2143354879i32 as _ ) ; pub const STATUS_GENERIC_COMMAND_FAILED : NTSTATUS = NTSTATUS ( -1072365530i32 as _ ) ; pub const STATUS_GENERIC_NOT_MAPPED : NTSTATUS = NTSTATUS ( -1073741594i32 as _ ) ; pub const STATUS_GHOSTED : NTSTATUS = NTSTATUS ( 303i32 as _ ) ; pub const STATUS_GPIO_CLIENT_INFORMATION_INVALID : NTSTATUS = NTSTATUS ( -1073700574i32 as _ ) ; pub const STATUS_GPIO_INCOMPATIBLE_CONNECT_MODE : NTSTATUS = NTSTATUS ( -1073700570i32 as _ ) ; pub const STATUS_GPIO_INTERRUPT_ALREADY_UNMASKED : NTSTATUS = NTSTATUS ( -2147442393i32 as _ ) ; pub const STATUS_GPIO_INVALID_REGISTRATION_PACKET : NTSTATUS = NTSTATUS ( -1073700572i32 as _ ) ; pub const STATUS_GPIO_OPERATION_DENIED : NTSTATUS = NTSTATUS ( -1073700571i32 as _ ) ; pub const STATUS_GPIO_VERSION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700573i32 as _ ) ; pub const STATUS_GRACEFUL_DISCONNECT : NTSTATUS = NTSTATUS ( -1073741257i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_ACCESS_NOT_EXCLUDED : NTSTATUS = NTSTATUS ( -1071774661i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_CHAIN_NOT_READY : NTSTATUS = NTSTATUS ( -1071774669i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_SOURCE : NTSTATUS = NTSTATUS ( -1071774936i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_TARGET : NTSTATUS = NTSTATUS ( -1071774935i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_WAS_RESET : NTSTATUS = NTSTATUS ( -1071775741i32 as _ ) ; pub const STATUS_GRAPHICS_ALLOCATION_BUSY : NTSTATUS = NTSTATUS ( -1071775486i32 as _ ) ; pub const STATUS_GRAPHICS_ALLOCATION_CLOSED : NTSTATUS = NTSTATUS ( -1071775470i32 as _ ) ; pub const STATUS_GRAPHICS_ALLOCATION_CONTENT_LOST : NTSTATUS = NTSTATUS ( -1071775466i32 as _ ) ; pub const STATUS_GRAPHICS_ALLOCATION_INVALID : NTSTATUS = NTSTATUS ( -1071775482i32 as _ ) ; pub const STATUS_GRAPHICS_CANCEL_VIDPN_TOPOLOGY_AUGMENTATION : NTSTATUS = NTSTATUS ( -1071774886i32 as _ ) ; pub const STATUS_GRAPHICS_CANNOTCOLORCONVERT : NTSTATUS = NTSTATUS ( -1071775736i32 as _ ) ; pub const STATUS_GRAPHICS_CANT_ACCESS_ACTIVE_VIDPN : NTSTATUS = NTSTATUS ( -1071774909i32 as _ ) ; pub const STATUS_GRAPHICS_CANT_EVICT_PINNED_ALLOCATION : NTSTATUS = NTSTATUS ( -1071775479i32 as _ ) ; pub const STATUS_GRAPHICS_CANT_LOCK_MEMORY : NTSTATUS = NTSTATUS ( -1071775487i32 as _ ) ; pub const STATUS_GRAPHICS_CANT_RENDER_LOCKED_ALLOCATION : NTSTATUS = NTSTATUS ( -1071775471i32 as _ ) ; pub const STATUS_GRAPHICS_CHAINLINKS_NOT_ENUMERATED : NTSTATUS = NTSTATUS ( -1071774670i32 as _ ) ; pub const STATUS_GRAPHICS_CHAINLINKS_NOT_POWERED_ON : NTSTATUS = NTSTATUS ( -1071774667i32 as _ ) ; pub const STATUS_GRAPHICS_CHAINLINKS_NOT_STARTED : NTSTATUS = NTSTATUS ( -1071774668i32 as _ ) ; pub const STATUS_GRAPHICS_CHILD_DESCRIPTOR_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774719i32 as _ ) ; pub const STATUS_GRAPHICS_CLIENTVIDPN_NOT_SET : NTSTATUS = NTSTATUS ( -1071774884i32 as _ ) ; pub const STATUS_GRAPHICS_COPP_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774463i32 as _ ) ; pub const STATUS_GRAPHICS_DATASET_IS_EMPTY : NTSTATUS = NTSTATUS ( 1075708747i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_CAPABILITIES_STRING : NTSTATUS = NTSTATUS ( -1071774329i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_DATA : NTSTATUS = NTSTATUS ( -1071774331i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_CHECKSUM : NTSTATUS = NTSTATUS ( -1071774325i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_COMMAND : NTSTATUS = NTSTATUS ( -1071774327i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_LENGTH : NTSTATUS = NTSTATUS ( -1071774326i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_MONITOR_RETURNED_INVALID_TIMING_STATUS_BYTE : NTSTATUS = NTSTATUS ( -1071774330i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_VCP_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774332i32 as _ ) ; pub const STATUS_GRAPHICS_DEPENDABLE_CHILD_STATUS : NTSTATUS = NTSTATUS ( 1075708988i32 as _ ) ; pub const STATUS_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP : NTSTATUS = NTSTATUS ( -1071774238i32 as _ ) ; pub const STATUS_GRAPHICS_DRIVER_MISMATCH : NTSTATUS = NTSTATUS ( -1071775735i32 as _ ) ; pub const STATUS_GRAPHICS_EMPTY_ADAPTER_MONITOR_MODE_SUPPORT_INTERSECTION : NTSTATUS = NTSTATUS ( -1071774939i32 as _ ) ; pub const STATUS_GRAPHICS_FREQUENCYRANGE_ALREADY_IN_SET : NTSTATUS = NTSTATUS ( -1071774945i32 as _ ) ; pub const STATUS_GRAPHICS_FREQUENCYRANGE_NOT_IN_SET : NTSTATUS = NTSTATUS ( -1071774947i32 as _ ) ; pub const STATUS_GRAPHICS_GAMMA_RAMP_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774904i32 as _ ) ; pub const STATUS_GRAPHICS_GPU_EXCEPTION_ON_DEVICE : NTSTATUS = NTSTATUS ( -1071775232i32 as _ ) ; pub const STATUS_GRAPHICS_I2C_DEVICE_DOES_NOT_EXIST : NTSTATUS = NTSTATUS ( -1071774335i32 as _ ) ; pub const STATUS_GRAPHICS_I2C_ERROR_RECEIVING_DATA : NTSTATUS = NTSTATUS ( -1071774333i32 as _ ) ; pub const STATUS_GRAPHICS_I2C_ERROR_TRANSMITTING_DATA : NTSTATUS = NTSTATUS ( -1071774334i32 as _ ) ; pub const STATUS_GRAPHICS_I2C_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774336i32 as _ ) ; pub const STATUS_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT : NTSTATUS = NTSTATUS ( -1071774891i32 as _ ) ; pub const STATUS_GRAPHICS_INCONSISTENT_DEVICE_LINK_STATE : NTSTATUS = NTSTATUS ( -1071774666i32 as _ ) ; pub const STATUS_GRAPHICS_INDIRECT_DISPLAY_ABANDON_SWAPCHAIN : NTSTATUS = NTSTATUS ( -1071775726i32 as _ ) ; pub const STATUS_GRAPHICS_INDIRECT_DISPLAY_DEVICE_STOPPED : NTSTATUS = NTSTATUS ( -1071775725i32 as _ ) ; pub const STATUS_GRAPHICS_INSUFFICIENT_DMA_BUFFER : NTSTATUS = NTSTATUS ( -1071775743i32 as _ ) ; pub const STATUS_GRAPHICS_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071774233i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_ACTIVE_REGION : NTSTATUS = NTSTATUS ( -1071774965i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_ALLOCATION_HANDLE : NTSTATUS = NTSTATUS ( -1071775468i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_ALLOCATION_INSTANCE : NTSTATUS = NTSTATUS ( -1071775469i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_ALLOCATION_USAGE : NTSTATUS = NTSTATUS ( -1071775472i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_CLIENT_TYPE : NTSTATUS = NTSTATUS ( -1071774885i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_COLORBASIS : NTSTATUS = NTSTATUS ( -1071774914i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_COPYPROTECTION_TYPE : NTSTATUS = NTSTATUS ( -1071774897i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_DISPLAY_ADAPTER : NTSTATUS = NTSTATUS ( -1071775742i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_DRIVER_MODEL : NTSTATUS = NTSTATUS ( -1071775740i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_FREQUENCY : NTSTATUS = NTSTATUS ( -1071774966i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_GAMMA_RAMP : NTSTATUS = NTSTATUS ( -1071774905i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MODE_PRUNING_ALGORITHM : NTSTATUS = NTSTATUS ( -1071774890i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITORDESCRIPTOR : NTSTATUS = NTSTATUS ( -1071774933i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITORDESCRIPTORSET : NTSTATUS = NTSTATUS ( -1071774934i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_CAPABILITY_ORIGIN : NTSTATUS = NTSTATUS ( -1071774889i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE : NTSTATUS = NTSTATUS ( -1071774948i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGESET : NTSTATUS = NTSTATUS ( -1071774949i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE_CONSTRAINT : NTSTATUS = NTSTATUS ( -1071774888i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_SOURCEMODESET : NTSTATUS = NTSTATUS ( -1071774943i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_SOURCE_MODE : NTSTATUS = NTSTATUS ( -1071774942i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PATH_CONTENT_GEOMETRY_TRANSFORMATION : NTSTATUS = NTSTATUS ( -1071774907i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PATH_CONTENT_TYPE : NTSTATUS = NTSTATUS ( -1071774898i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PATH_IMPORTANCE_ORDINAL : NTSTATUS = NTSTATUS ( -1071774908i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PHYSICAL_MONITOR_HANDLE : NTSTATUS = NTSTATUS ( -1071774324i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PIXELFORMAT : NTSTATUS = NTSTATUS ( -1071774915i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PIXELVALUEACCESSMODE : NTSTATUS = NTSTATUS ( -1071774913i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_POINTER : NTSTATUS = NTSTATUS ( -1071774236i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE : NTSTATUS = NTSTATUS ( -1071774918i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_SCANLINE_ORDERING : NTSTATUS = NTSTATUS ( -1071774894i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_STRIDE : NTSTATUS = NTSTATUS ( -1071774916i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_TOTAL_REGION : NTSTATUS = NTSTATUS ( -1071774964i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEOPRESENTSOURCESET : NTSTATUS = NTSTATUS ( -1071774955i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEOPRESENTTARGETSET : NTSTATUS = NTSTATUS ( -1071774954i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE : NTSTATUS = NTSTATUS ( -1071774972i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE_MODE : NTSTATUS = NTSTATUS ( -1071774960i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET : NTSTATUS = NTSTATUS ( -1071774971i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET_MODE : NTSTATUS = NTSTATUS ( -1071774959i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN : NTSTATUS = NTSTATUS ( -1071774973i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_PRESENT_PATH : NTSTATUS = NTSTATUS ( -1071774951i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_SOURCEMODESET : NTSTATUS = NTSTATUS ( -1071774968i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_TARGETMODESET : NTSTATUS = NTSTATUS ( -1071774967i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE : NTSTATUS = NTSTATUS ( -1071774929i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774976i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY_RECOMMENDATION_REASON : NTSTATUS = NTSTATUS ( -1071774899i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VISIBLEREGION_SIZE : NTSTATUS = NTSTATUS ( -1071774917i32 as _ ) ; pub const STATUS_GRAPHICS_LEADLINK_NOT_ENUMERATED : NTSTATUS = NTSTATUS ( -1071774671i32 as _ ) ; pub const STATUS_GRAPHICS_LEADLINK_START_DEFERRED : NTSTATUS = NTSTATUS ( 1075708983i32 as _ ) ; pub const STATUS_GRAPHICS_MAX_NUM_PATHS_REACHED : NTSTATUS = NTSTATUS ( -1071774887i32 as _ ) ; pub const STATUS_GRAPHICS_MCA_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071774328i32 as _ ) ; pub const STATUS_GRAPHICS_MIRRORING_DEVICES_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774237i32 as _ ) ; pub const STATUS_GRAPHICS_MODE_ALREADY_IN_MODESET : NTSTATUS = NTSTATUS ( -1071774956i32 as _ ) ; pub const STATUS_GRAPHICS_MODE_ID_MUST_BE_UNIQUE : NTSTATUS = NTSTATUS ( -1071774940i32 as _ ) ; pub const STATUS_GRAPHICS_MODE_NOT_IN_MODESET : NTSTATUS = NTSTATUS ( -1071774902i32 as _ ) ; pub const STATUS_GRAPHICS_MODE_NOT_PINNED : NTSTATUS = NTSTATUS ( 1075708679i32 as _ ) ; pub const STATUS_GRAPHICS_MONITORDESCRIPTOR_ALREADY_IN_SET : NTSTATUS = NTSTATUS ( -1071774931i32 as _ ) ; pub const STATUS_GRAPHICS_MONITORDESCRIPTOR_ID_MUST_BE_UNIQUE : NTSTATUS = NTSTATUS ( -1071774930i32 as _ ) ; pub const STATUS_GRAPHICS_MONITORDESCRIPTOR_NOT_IN_SET : NTSTATUS = NTSTATUS ( -1071774932i32 as _ ) ; pub const STATUS_GRAPHICS_MONITOR_COULD_NOT_BE_ASSOCIATED_WITH_ADAPTER : NTSTATUS = NTSTATUS ( -1071774924i32 as _ ) ; pub const STATUS_GRAPHICS_MONITOR_NOT_CONNECTED : NTSTATUS = NTSTATUS ( -1071774920i32 as _ ) ; pub const STATUS_GRAPHICS_MONITOR_NO_LONGER_EXISTS : NTSTATUS = NTSTATUS ( -1071774323i32 as _ ) ; pub const STATUS_GRAPHICS_MULTISAMPLING_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774903i32 as _ ) ; pub const STATUS_GRAPHICS_NOT_A_LINKED_ADAPTER : NTSTATUS = NTSTATUS ( -1071774672i32 as _ ) ; pub const STATUS_GRAPHICS_NOT_EXCLUSIVE_MODE_OWNER : NTSTATUS = NTSTATUS ( -1071775744i32 as _ ) ; pub const STATUS_GRAPHICS_NOT_POST_DEVICE_DRIVER : NTSTATUS = NTSTATUS ( -1071774664i32 as _ ) ; pub const STATUS_GRAPHICS_NO_ACTIVE_VIDPN : NTSTATUS = NTSTATUS ( -1071774922i32 as _ ) ; pub const STATUS_GRAPHICS_NO_AVAILABLE_IMPORTANCE_ORDINALS : NTSTATUS = NTSTATUS ( -1071774892i32 as _ ) ; pub const STATUS_GRAPHICS_NO_AVAILABLE_VIDPN_TARGET : NTSTATUS = NTSTATUS ( -1071774925i32 as _ ) ; pub const STATUS_GRAPHICS_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME : NTSTATUS = NTSTATUS ( -1071774239i32 as _ ) ; pub const STATUS_GRAPHICS_NO_DISPLAY_MODE_MANAGEMENT_SUPPORT : NTSTATUS = NTSTATUS ( -1071774911i32 as _ ) ; pub const STATUS_GRAPHICS_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE : NTSTATUS = NTSTATUS ( -1071774235i32 as _ ) ; pub const STATUS_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET : NTSTATUS = NTSTATUS ( 1075708748i32 as _ ) ; pub const STATUS_GRAPHICS_NO_PREFERRED_MODE : NTSTATUS = NTSTATUS ( 1075708702i32 as _ ) ; pub const STATUS_GRAPHICS_NO_RECOMMENDED_FUNCTIONAL_VIDPN : NTSTATUS = NTSTATUS ( -1071774941i32 as _ ) ; pub const STATUS_GRAPHICS_NO_RECOMMENDED_VIDPN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774950i32 as _ ) ; pub const STATUS_GRAPHICS_NO_VIDEO_MEMORY : NTSTATUS = NTSTATUS ( -1071775488i32 as _ ) ; pub const STATUS_GRAPHICS_NO_VIDPNMGR : NTSTATUS = NTSTATUS ( -1071774923i32 as _ ) ; pub const STATUS_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774240i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_ALL_HDCP_HARDWARE_ALREADY_IN_USE : NTSTATUS = NTSTATUS ( -1071774440i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_DRIVER_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071774434i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_HDCP_SRM_NEVER_SET : NTSTATUS = NTSTATUS ( -1071774442i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071774453i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_CONFIGURATION_REQUEST : NTSTATUS = NTSTATUS ( -1071774431i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_ENCRYPTED_PARAMETERS : NTSTATUS = NTSTATUS ( -1071774461i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1071774452i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_INFORMATION_REQUEST : NTSTATUS = NTSTATUS ( -1071774435i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_SRM : NTSTATUS = NTSTATUS ( -1071774446i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774464i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_NO_PROTECTED_OUTPUTS_EXIST : NTSTATUS = NTSTATUS ( -1071774459i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_ACP : NTSTATUS = NTSTATUS ( -1071774444i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_CGMSA : NTSTATUS = NTSTATUS ( -1071774443i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_HDCP : NTSTATUS = NTSTATUS ( -1071774445i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_COPP_SEMANTICS : NTSTATUS = NTSTATUS ( -1071774436i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_OPM_SEMANTICS : NTSTATUS = NTSTATUS ( -1071774433i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_NO_LONGER_EXISTS : NTSTATUS = NTSTATUS ( -1071774438i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_RESOLUTION_TOO_HIGH : NTSTATUS = NTSTATUS ( -1071774441i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_SIGNALING_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774432i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_SPANNING_MODE_ENABLED : NTSTATUS = NTSTATUS ( -1071774449i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_THEATER_MODE_ENABLED : NTSTATUS = NTSTATUS ( -1071774448i32 as _ ) ; pub const STATUS_GRAPHICS_PARAMETER_ARRAY_TOO_SMALL : NTSTATUS = NTSTATUS ( -1071774234i32 as _ ) ; pub const STATUS_GRAPHICS_PARTIAL_DATA_POPULATED : NTSTATUS = NTSTATUS ( 1075707914i32 as _ ) ; pub const STATUS_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774957i32 as _ ) ; pub const STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED : NTSTATUS = NTSTATUS ( 1075708753i32 as _ ) ; pub const STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774906i32 as _ ) ; pub const STATUS_GRAPHICS_PATH_NOT_IN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774937i32 as _ ) ; pub const STATUS_GRAPHICS_PINNED_MODE_MUST_REMAIN_IN_SET : NTSTATUS = NTSTATUS ( -1071774958i32 as _ ) ; pub const STATUS_GRAPHICS_POLLING_TOO_FREQUENTLY : NTSTATUS = NTSTATUS ( 1075708985i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_BUFFER_NOT_BOUND : NTSTATUS = NTSTATUS ( -1071775728i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_DENIED : NTSTATUS = NTSTATUS ( -1071775737i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_INVALID_WINDOW : NTSTATUS = NTSTATUS ( -1071775729i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_MODE_CHANGED : NTSTATUS = NTSTATUS ( -1071775739i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_OCCLUDED : NTSTATUS = NTSTATUS ( -1071775738i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_REDIRECTION_DISABLED : NTSTATUS = NTSTATUS ( -1071775733i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_UNOCCLUDED : NTSTATUS = NTSTATUS ( -1071775732i32 as _ ) ; pub const STATUS_GRAPHICS_PVP_HFS_FAILED : NTSTATUS = NTSTATUS ( -1071774447i32 as _ ) ; pub const STATUS_GRAPHICS_PVP_INVALID_CERTIFICATE_LENGTH : NTSTATUS = NTSTATUS ( -1071774450i32 as _ ) ; pub const STATUS_GRAPHICS_RESOURCES_NOT_RELATED : NTSTATUS = NTSTATUS ( -1071774928i32 as _ ) ; pub const STATUS_GRAPHICS_SESSION_TYPE_CHANGE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071774232i32 as _ ) ; pub const STATUS_GRAPHICS_SKIP_ALLOCATION_PREPARATION : NTSTATUS = NTSTATUS ( 1075708417i32 as _ ) ; pub const STATUS_GRAPHICS_SOURCE_ALREADY_IN_SET : NTSTATUS = NTSTATUS ( -1071774953i32 as _ ) ; pub const STATUS_GRAPHICS_SOURCE_ID_MUST_BE_UNIQUE : NTSTATUS = NTSTATUS ( -1071774927i32 as _ ) ; pub const STATUS_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774919i32 as _ ) ; pub const STATUS_GRAPHICS_SPECIFIED_CHILD_ALREADY_CONNECTED : NTSTATUS = NTSTATUS ( -1071774720i32 as _ ) ; pub const STATUS_GRAPHICS_STALE_MODESET : NTSTATUS = NTSTATUS ( -1071774944i32 as _ ) ; pub const STATUS_GRAPHICS_STALE_VIDPN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774921i32 as _ ) ; pub const STATUS_GRAPHICS_START_DEFERRED : NTSTATUS = NTSTATUS ( 1075708986i32 as _ ) ; pub const STATUS_GRAPHICS_TARGET_ALREADY_IN_SET : NTSTATUS = NTSTATUS ( -1071774952i32 as _ ) ; pub const STATUS_GRAPHICS_TARGET_ID_MUST_BE_UNIQUE : NTSTATUS = NTSTATUS ( -1071774926i32 as _ ) ; pub const STATUS_GRAPHICS_TARGET_NOT_IN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774912i32 as _ ) ; pub const STATUS_GRAPHICS_TOO_MANY_REFERENCES : NTSTATUS = NTSTATUS ( -1071775485i32 as _ ) ; pub const STATUS_GRAPHICS_TOPOLOGY_CHANGES_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071774893i32 as _ ) ; pub const STATUS_GRAPHICS_TRY_AGAIN_LATER : NTSTATUS = NTSTATUS ( -1071775484i32 as _ ) ; pub const STATUS_GRAPHICS_TRY_AGAIN_NOW : NTSTATUS = NTSTATUS ( -1071775483i32 as _ ) ; pub const STATUS_GRAPHICS_UAB_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774462i32 as _ ) ; pub const STATUS_GRAPHICS_UNASSIGNED_MODESET_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1071774896i32 as _ ) ; pub const STATUS_GRAPHICS_UNKNOWN_CHILD_STATUS : NTSTATUS = NTSTATUS ( 1075708975i32 as _ ) ; pub const STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1071775481i32 as _ ) ; pub const STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNSUPPORTED : NTSTATUS = NTSTATUS ( -1071775480i32 as _ ) ; pub const STATUS_GRAPHICS_VAIL_STATE_CHANGED : NTSTATUS = NTSTATUS ( -1071775727i32 as _ ) ; pub const STATUS_GRAPHICS_VIDEO_PRESENT_TARGETS_LESS_THAN_SOURCES : NTSTATUS = NTSTATUS ( -1071774938i32 as _ ) ; pub const STATUS_GRAPHICS_VIDPN_MODALITY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774970i32 as _ ) ; pub const STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE : NTSTATUS = NTSTATUS ( -1071774910i32 as _ ) ; pub const STATUS_GRAPHICS_VIDPN_TOPOLOGY_CURRENTLY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774974i32 as _ ) ; pub const STATUS_GRAPHICS_VIDPN_TOPOLOGY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774975i32 as _ ) ; pub const STATUS_GRAPHICS_WINDOWDC_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1071775731i32 as _ ) ; pub const STATUS_GRAPHICS_WINDOWLESS_PRESENT_DISABLED : NTSTATUS = NTSTATUS ( -1071775730i32 as _ ) ; pub const STATUS_GRAPHICS_WRONG_ALLOCATION_DEVICE : NTSTATUS = NTSTATUS ( -1071775467i32 as _ ) ; pub const STATUS_GROUP_EXISTS : NTSTATUS = NTSTATUS ( -1073741723i32 as _ ) ; pub const STATUS_GUARD_PAGE_VIOLATION : NTSTATUS = NTSTATUS ( -2147483647i32 as _ ) ; pub const STATUS_GUIDS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073741693i32 as _ ) ; pub const STATUS_GUID_SUBSTITUTION_MADE : NTSTATUS = NTSTATUS ( -2147483636i32 as _ ) ; pub const STATUS_HANDLES_CLOSED : NTSTATUS = NTSTATUS ( -2147483638i32 as _ ) ; pub const STATUS_HANDLE_NOT_CLOSABLE : NTSTATUS = NTSTATUS ( -1073741259i32 as _ ) ; pub const STATUS_HANDLE_NO_LONGER_VALID : NTSTATUS = NTSTATUS ( -1072103384i32 as _ ) ; pub const STATUS_HANDLE_REVOKED : NTSTATUS = NTSTATUS ( -1073700858i32 as _ ) ; pub const STATUS_HARDWARE_MEMORY_ERROR : NTSTATUS = NTSTATUS ( -1073740023i32 as _ ) ; pub const STATUS_HASH_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073700607i32 as _ ) ; pub const STATUS_HASH_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700608i32 as _ ) ; pub const STATUS_HDAUDIO_CONNECTION_LIST_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1069285373i32 as _ ) ; pub const STATUS_HDAUDIO_EMPTY_CONNECTION_LIST : NTSTATUS = NTSTATUS ( -1069285374i32 as _ ) ; pub const STATUS_HDAUDIO_NO_LOGICAL_DEVICES_CREATED : NTSTATUS = NTSTATUS ( -1069285372i32 as _ ) ; pub const STATUS_HDAUDIO_NULL_LINKED_LIST_ENTRY : NTSTATUS = NTSTATUS ( -1069285371i32 as _ ) ; pub const STATUS_HEAP_CORRUPTION : NTSTATUS = NTSTATUS ( -1073740940i32 as _ ) ; pub const STATUS_HEURISTIC_DAMAGE_POSSIBLE : NTSTATUS = NTSTATUS ( 1075380225i32 as _ ) ; pub const STATUS_HIBERNATED : NTSTATUS = NTSTATUS ( 1073741866i32 as _ ) ; pub const STATUS_HIBERNATION_FAILURE : NTSTATUS = NTSTATUS ( -1073740783i32 as _ ) ; pub const STATUS_HIVE_UNLOADED : NTSTATUS = NTSTATUS ( -1073740763i32 as _ ) ; pub const STATUS_HMAC_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700863i32 as _ ) ; pub const STATUS_HOPLIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073700846i32 as _ ) ; pub const STATUS_HOST_DOWN : NTSTATUS = NTSTATUS ( -1073740976i32 as _ ) ; pub const STATUS_HOST_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073741251i32 as _ ) ; pub const STATUS_HUNG_DISPLAY_DRIVER_THREAD : NTSTATUS = NTSTATUS ( -1073740779i32 as _ ) ; pub const STATUS_HV_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1070268410i32 as _ ) ; pub const STATUS_HV_ACKNOWLEDGED : NTSTATUS = NTSTATUS ( -1070268394i32 as _ ) ; pub const STATUS_HV_CPUID_FEATURE_VALIDATION_ERROR : NTSTATUS = NTSTATUS ( -1070268356i32 as _ ) ; pub const STATUS_HV_CPUID_XSAVE_FEATURE_VALIDATION_ERROR : NTSTATUS = NTSTATUS ( -1070268355i32 as _ ) ; pub const STATUS_HV_EVENT_BUFFER_ALREADY_FREED : NTSTATUS = NTSTATUS ( -1070268300i32 as _ ) ; pub const STATUS_HV_FEATURE_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1070268386i32 as _ ) ; pub const STATUS_HV_INACTIVE : NTSTATUS = NTSTATUS ( -1070268388i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_BUFFER : NTSTATUS = NTSTATUS ( -1070268365i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_BUFFERS : NTSTATUS = NTSTATUS ( -1070268397i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_CONTIGUOUS_MEMORY : NTSTATUS = NTSTATUS ( -1070268299i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_DEVICE_DOMAINS : NTSTATUS = NTSTATUS ( -1070268360i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_MEMORY : NTSTATUS = NTSTATUS ( -1070268405i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_ROOT_MEMORY : NTSTATUS = NTSTATUS ( -1070268301i32 as _ ) ; pub const STATUS_HV_INVALID_ALIGNMENT : NTSTATUS = NTSTATUS ( -1070268412i32 as _ ) ; pub const STATUS_HV_INVALID_CONNECTION_ID : NTSTATUS = NTSTATUS ( -1070268398i32 as _ ) ; pub const STATUS_HV_INVALID_CPU_GROUP_ID : NTSTATUS = NTSTATUS ( -1070268305i32 as _ ) ; pub const STATUS_HV_INVALID_CPU_GROUP_STATE : NTSTATUS = NTSTATUS ( -1070268304i32 as _ ) ; pub const STATUS_HV_INVALID_DEVICE_ID : NTSTATUS = NTSTATUS ( -1070268329i32 as _ ) ; pub const STATUS_HV_INVALID_DEVICE_STATE : NTSTATUS = NTSTATUS ( -1070268328i32 as _ ) ; pub const STATUS_HV_INVALID_HYPERCALL_CODE : NTSTATUS = NTSTATUS ( -1070268414i32 as _ ) ; pub const STATUS_HV_INVALID_HYPERCALL_INPUT : NTSTATUS = NTSTATUS ( -1070268413i32 as _ ) ; pub const STATUS_HV_INVALID_LP_INDEX : NTSTATUS = NTSTATUS ( -1070268351i32 as _ ) ; pub const STATUS_HV_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1070268411i32 as _ ) ; pub const STATUS_HV_INVALID_PARTITION_ID : NTSTATUS = NTSTATUS ( -1070268403i32 as _ ) ; pub const STATUS_HV_INVALID_PARTITION_STATE : NTSTATUS = NTSTATUS ( -1070268409i32 as _ ) ; pub const STATUS_HV_INVALID_PORT_ID : NTSTATUS = NTSTATUS ( -1070268399i32 as _ ) ; pub const STATUS_HV_INVALID_PROXIMITY_DOMAIN_INFO : NTSTATUS = NTSTATUS ( -1070268390i32 as _ ) ; pub const STATUS_HV_INVALID_REGISTER_VALUE : NTSTATUS = NTSTATUS ( -1070268336i32 as _ ) ; pub const STATUS_HV_INVALID_SAVE_RESTORE_STATE : NTSTATUS = NTSTATUS ( -1070268393i32 as _ ) ; pub const STATUS_HV_INVALID_SYNIC_STATE : NTSTATUS = NTSTATUS ( -1070268392i32 as _ ) ; pub const STATUS_HV_INVALID_VP_INDEX : NTSTATUS = NTSTATUS ( -1070268402i32 as _ ) ; pub const STATUS_HV_INVALID_VP_STATE : NTSTATUS = NTSTATUS ( -1070268395i32 as _ ) ; pub const STATUS_HV_INVALID_VTL_STATE : NTSTATUS = NTSTATUS ( -1070268335i32 as _ ) ; pub const STATUS_HV_NOT_ACKNOWLEDGED : NTSTATUS = NTSTATUS ( -1070268396i32 as _ ) ; pub const STATUS_HV_NOT_ALLOWED_WITH_NESTED_VIRT_ACTIVE : NTSTATUS = NTSTATUS ( -1070268302i32 as _ ) ; pub const STATUS_HV_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1070264320i32 as _ ) ; pub const STATUS_HV_NO_DATA : NTSTATUS = NTSTATUS ( -1070268389i32 as _ ) ; pub const STATUS_HV_NO_RESOURCES : NTSTATUS = NTSTATUS ( -1070268387i32 as _ ) ; pub const STATUS_HV_NX_NOT_DETECTED : NTSTATUS = NTSTATUS ( -1070268331i32 as _ ) ; pub const STATUS_HV_OBJECT_IN_USE : NTSTATUS = NTSTATUS ( -1070268391i32 as _ ) ; pub const STATUS_HV_OPERATION_DENIED : NTSTATUS = NTSTATUS ( -1070268408i32 as _ ) ; pub const STATUS_HV_OPERATION_FAILED : NTSTATUS = NTSTATUS ( -1070268303i32 as _ ) ; pub const STATUS_HV_PAGE_REQUEST_INVALID : NTSTATUS = NTSTATUS ( -1070268320i32 as _ ) ; pub const STATUS_HV_PARTITION_TOO_DEEP : NTSTATUS = NTSTATUS ( -1070268404i32 as _ ) ; pub const STATUS_HV_PENDING_PAGE_REQUESTS : NTSTATUS = NTSTATUS ( 3473497i32 as _ ) ; pub const STATUS_HV_PROCESSOR_STARTUP_TIMEOUT : NTSTATUS = NTSTATUS ( -1070268354i32 as _ ) ; pub const STATUS_HV_PROPERTY_VALUE_OUT_OF_RANGE : NTSTATUS = NTSTATUS ( -1070268406i32 as _ ) ; pub const STATUS_HV_SMX_ENABLED : NTSTATUS = NTSTATUS ( -1070268353i32 as _ ) ; pub const STATUS_HV_UNKNOWN_PROPERTY : NTSTATUS = NTSTATUS ( -1070268407i32 as _ ) ; pub const STATUS_ILLEGAL_CHARACTER : NTSTATUS = NTSTATUS ( -1073741471i32 as _ ) ; pub const STATUS_ILLEGAL_DLL_RELOCATION : NTSTATUS = NTSTATUS ( -1073741207i32 as _ ) ; pub const STATUS_ILLEGAL_ELEMENT_ADDRESS : NTSTATUS = NTSTATUS ( -1073741179i32 as _ ) ; pub const STATUS_ILLEGAL_FLOAT_CONTEXT : NTSTATUS = NTSTATUS ( -1073741494i32 as _ ) ; pub const STATUS_ILLEGAL_FUNCTION : NTSTATUS = NTSTATUS ( -1073741649i32 as _ ) ; pub const STATUS_ILLEGAL_INSTRUCTION : NTSTATUS = NTSTATUS ( -1073741795i32 as _ ) ; pub const STATUS_ILL_FORMED_PASSWORD : NTSTATUS = NTSTATUS ( -1073741717i32 as _ ) ; pub const STATUS_ILL_FORMED_SERVICE_ENTRY : NTSTATUS = NTSTATUS ( -1073741472i32 as _ ) ; pub const STATUS_IMAGE_ALREADY_LOADED : NTSTATUS = NTSTATUS ( -1073741554i32 as _ ) ; pub const STATUS_IMAGE_ALREADY_LOADED_AS_DLL : NTSTATUS = NTSTATUS ( -1073741411i32 as _ ) ; pub const STATUS_IMAGE_AT_DIFFERENT_BASE : NTSTATUS = NTSTATUS ( 1073741878i32 as _ ) ; pub const STATUS_IMAGE_CERT_EXPIRED : NTSTATUS = NTSTATUS ( -1073740283i32 as _ ) ; pub const STATUS_IMAGE_CERT_REVOKED : NTSTATUS = NTSTATUS ( -1073740285i32 as _ ) ; pub const STATUS_IMAGE_CHECKSUM_MISMATCH : NTSTATUS = NTSTATUS ( -1073741279i32 as _ ) ; pub const STATUS_IMAGE_MACHINE_TYPE_MISMATCH : NTSTATUS = NTSTATUS ( 1073741838i32 as _ ) ; pub const STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE : NTSTATUS = NTSTATUS ( 1073741859i32 as _ ) ; pub const STATUS_IMAGE_MP_UP_MISMATCH : NTSTATUS = NTSTATUS ( -1073741239i32 as _ ) ; pub const STATUS_IMAGE_NOT_AT_BASE : NTSTATUS = NTSTATUS ( 1073741827i32 as _ ) ; pub const STATUS_IMAGE_SUBSYSTEM_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073741405i32 as _ ) ; pub const STATUS_IMPLEMENTATION_LIMIT : NTSTATUS = NTSTATUS ( -1073740757i32 as _ ) ; pub const STATUS_INCOMPATIBLE_DRIVER_BLOCKED : NTSTATUS = NTSTATUS ( -1073740764i32 as _ ) ; pub const STATUS_INCOMPATIBLE_FILE_MAP : NTSTATUS = NTSTATUS ( -1073741747i32 as _ ) ; pub const STATUS_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING : NTSTATUS = NTSTATUS ( -1073741410i32 as _ ) ; pub const STATUS_INCORRECT_ACCOUNT_TYPE : NTSTATUS = NTSTATUS ( -1073700727i32 as _ ) ; pub const STATUS_INDOUBT_TRANSACTIONS_EXIST : NTSTATUS = NTSTATUS ( -1072103366i32 as _ ) ; pub const STATUS_INFO_LENGTH_MISMATCH : NTSTATUS = NTSTATUS ( -1073741820i32 as _ ) ; pub const STATUS_INSTANCE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073741653i32 as _ ) ; pub const STATUS_INSTRUCTION_MISALIGNMENT : NTSTATUS = NTSTATUS ( -1073741654i32 as _ ) ; pub const STATUS_INSUFFICIENT_LOGON_INFO : NTSTATUS = NTSTATUS ( -1073741232i32 as _ ) ; pub const STATUS_INSUFFICIENT_NVRAM_RESOURCES : NTSTATUS = NTSTATUS ( -1073740716i32 as _ ) ; pub const STATUS_INSUFFICIENT_POWER : NTSTATUS = NTSTATUS ( -1073741090i32 as _ ) ; pub const STATUS_INSUFFICIENT_RESOURCES : NTSTATUS = NTSTATUS ( -1073741670i32 as _ ) ; pub const STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE : NTSTATUS = NTSTATUS ( -1073740778i32 as _ ) ; pub const STATUS_INSUFF_SERVER_RESOURCES : NTSTATUS = NTSTATUS ( -1073741307i32 as _ ) ; pub const STATUS_INTEGER_DIVIDE_BY_ZERO : NTSTATUS = NTSTATUS ( -1073741676i32 as _ ) ; pub const STATUS_INTEGER_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741675i32 as _ ) ; pub const STATUS_INTERMIXED_KERNEL_EA_OPERATION : NTSTATUS = NTSTATUS ( -1073740687i32 as _ ) ; pub const STATUS_INTERNAL_DB_CORRUPTION : NTSTATUS = NTSTATUS ( -1073741596i32 as _ ) ; pub const STATUS_INTERNAL_DB_ERROR : NTSTATUS = NTSTATUS ( -1073741480i32 as _ ) ; pub const STATUS_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1073741595i32 as _ ) ; pub const STATUS_INTERRUPTED : NTSTATUS = NTSTATUS ( -1073740523i32 as _ ) ; pub const STATUS_INTERRUPT_STILL_CONNECTED : NTSTATUS = NTSTATUS ( 296i32 as _ ) ; pub const STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED : NTSTATUS = NTSTATUS ( 295i32 as _ ) ; pub const STATUS_INVALID_ACCOUNT_NAME : NTSTATUS = NTSTATUS ( -1073741726i32 as _ ) ; pub const STATUS_INVALID_ACE_CONDITION : NTSTATUS = NTSTATUS ( -1073741406i32 as _ ) ; pub const STATUS_INVALID_ACL : NTSTATUS = NTSTATUS ( -1073741705i32 as _ ) ; pub const STATUS_INVALID_ADDRESS : NTSTATUS = NTSTATUS ( -1073741503i32 as _ ) ; pub const STATUS_INVALID_ADDRESS_COMPONENT : NTSTATUS = NTSTATUS ( -1073741305i32 as _ ) ; pub const STATUS_INVALID_ADDRESS_WILDCARD : NTSTATUS = NTSTATUS ( -1073741304i32 as _ ) ; pub const STATUS_INVALID_BLOCK_LENGTH : NTSTATUS = NTSTATUS ( -1073741453i32 as _ ) ; pub const STATUS_INVALID_BUFFER_SIZE : NTSTATUS = NTSTATUS ( -1073741306i32 as _ ) ; pub const STATUS_INVALID_CAP : NTSTATUS = NTSTATUS ( -1073740539i32 as _ ) ; pub const STATUS_INVALID_CID : NTSTATUS = NTSTATUS ( -1073741813i32 as _ ) ; pub const STATUS_INVALID_COMPUTER_NAME : NTSTATUS = NTSTATUS ( -1073741534i32 as _ ) ; pub const STATUS_INVALID_CONNECTION : NTSTATUS = NTSTATUS ( -1073741504i32 as _ ) ; pub const STATUS_INVALID_CRUNTIME_PARAMETER : NTSTATUS = NTSTATUS ( -1073740777i32 as _ ) ; pub const STATUS_INVALID_DEVICE_OBJECT_PARAMETER : NTSTATUS = NTSTATUS ( -1073740951i32 as _ ) ; pub const STATUS_INVALID_DEVICE_REQUEST : NTSTATUS = NTSTATUS ( -1073741808i32 as _ ) ; pub const STATUS_INVALID_DEVICE_STATE : NTSTATUS = NTSTATUS ( -1073741436i32 as _ ) ; pub const STATUS_INVALID_DISPOSITION : NTSTATUS = NTSTATUS ( -1073741786i32 as _ ) ; pub const STATUS_INVALID_DOMAIN_ROLE : NTSTATUS = NTSTATUS ( -1073741602i32 as _ ) ; pub const STATUS_INVALID_DOMAIN_STATE : NTSTATUS = NTSTATUS ( -1073741603i32 as _ ) ; pub const STATUS_INVALID_EA_FLAG : NTSTATUS = NTSTATUS ( -2147483627i32 as _ ) ; pub const STATUS_INVALID_EA_NAME : NTSTATUS = NTSTATUS ( -2147483629i32 as _ ) ; pub const STATUS_INVALID_EXCEPTION_HANDLER : NTSTATUS = NTSTATUS ( -1073741403i32 as _ ) ; pub const STATUS_INVALID_FIELD_IN_PARAMETER_LIST : NTSTATUS = NTSTATUS ( -1073740683i32 as _ ) ; pub const STATUS_INVALID_FILE_FOR_SECTION : NTSTATUS = NTSTATUS ( -1073741792i32 as _ ) ; pub const STATUS_INVALID_GROUP_ATTRIBUTES : NTSTATUS = NTSTATUS ( -1073741660i32 as _ ) ; pub const STATUS_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1073741816i32 as _ ) ; pub const STATUS_INVALID_HW_PROFILE : NTSTATUS = NTSTATUS ( -1073741216i32 as _ ) ; pub const STATUS_INVALID_IDN_NORMALIZATION : NTSTATUS = NTSTATUS ( -1073740010i32 as _ ) ; pub const STATUS_INVALID_ID_AUTHORITY : NTSTATUS = NTSTATUS ( -1073741692i32 as _ ) ; pub const STATUS_INVALID_IMAGE_FORMAT : NTSTATUS = NTSTATUS ( -1073741701i32 as _ ) ; pub const STATUS_INVALID_IMAGE_HASH : NTSTATUS = NTSTATUS ( -1073740760i32 as _ ) ; pub const STATUS_INVALID_IMAGE_LE_FORMAT : NTSTATUS = NTSTATUS ( -1073741522i32 as _ ) ; pub const STATUS_INVALID_IMAGE_NE_FORMAT : NTSTATUS = NTSTATUS ( -1073741541i32 as _ ) ; pub const STATUS_INVALID_IMAGE_NOT_MZ : NTSTATUS = NTSTATUS ( -1073741521i32 as _ ) ; pub const STATUS_INVALID_IMAGE_PROTECT : NTSTATUS = NTSTATUS ( -1073741520i32 as _ ) ; pub const STATUS_INVALID_IMAGE_WIN_16 : NTSTATUS = NTSTATUS ( -1073741519i32 as _ ) ; pub const STATUS_INVALID_IMAGE_WIN_32 : NTSTATUS = NTSTATUS ( -1073740967i32 as _ ) ; pub const STATUS_INVALID_IMAGE_WIN_64 : NTSTATUS = NTSTATUS ( -1073740966i32 as _ ) ; pub const STATUS_INVALID_IMPORT_OF_NON_DLL : NTSTATUS = NTSTATUS ( -1073740945i32 as _ ) ; pub const STATUS_INVALID_INFO_CLASS : NTSTATUS = NTSTATUS ( -1073741821i32 as _ ) ; pub const STATUS_INVALID_INITIATOR_TARGET_PATH : NTSTATUS = NTSTATUS ( -1073740681i32 as _ ) ; pub const STATUS_INVALID_KERNEL_INFO_VERSION : NTSTATUS = NTSTATUS ( -1073700860i32 as _ ) ; pub const STATUS_INVALID_LABEL : NTSTATUS = NTSTATUS ( -1073740730i32 as _ ) ; pub const STATUS_INVALID_LDT_DESCRIPTOR : NTSTATUS = NTSTATUS ( -1073741542i32 as _ ) ; pub const STATUS_INVALID_LDT_OFFSET : NTSTATUS = NTSTATUS ( -1073741543i32 as _ ) ; pub const STATUS_INVALID_LDT_SIZE : NTSTATUS = NTSTATUS ( -1073741544i32 as _ ) ; pub const STATUS_INVALID_LEVEL : NTSTATUS = NTSTATUS ( -1073741496i32 as _ ) ; pub const STATUS_INVALID_LOCK_RANGE : NTSTATUS = NTSTATUS ( -1073741407i32 as _ ) ; pub const STATUS_INVALID_LOCK_SEQUENCE : NTSTATUS = NTSTATUS ( -1073741794i32 as _ ) ; pub const STATUS_INVALID_LOGON_HOURS : NTSTATUS = NTSTATUS ( -1073741713i32 as _ ) ; pub const STATUS_INVALID_LOGON_TYPE : NTSTATUS = NTSTATUS ( -1073741557i32 as _ ) ; pub const STATUS_INVALID_MEMBER : NTSTATUS = NTSTATUS ( -1073741445i32 as _ ) ; pub const STATUS_INVALID_MESSAGE : NTSTATUS = NTSTATUS ( -1073740030i32 as _ ) ; pub const STATUS_INVALID_NETWORK_RESPONSE : NTSTATUS = NTSTATUS ( -1073741629i32 as _ ) ; pub const STATUS_INVALID_OFFSET_ALIGNMENT : NTSTATUS = NTSTATUS ( -1073740684i32 as _ ) ; pub const STATUS_INVALID_OPLOCK_PROTOCOL : NTSTATUS = NTSTATUS ( -1073741597i32 as _ ) ; pub const STATUS_INVALID_OWNER : NTSTATUS = NTSTATUS ( -1073741734i32 as _ ) ; pub const STATUS_INVALID_PACKAGE_SID_LENGTH : NTSTATUS = NTSTATUS ( -1073700350i32 as _ ) ; pub const STATUS_INVALID_PAGE_PROTECTION : NTSTATUS = NTSTATUS ( -1073741755i32 as _ ) ; pub const STATUS_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1073741811i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_1 : NTSTATUS = NTSTATUS ( -1073741585i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_10 : NTSTATUS = NTSTATUS ( -1073741576i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_11 : NTSTATUS = NTSTATUS ( -1073741575i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_12 : NTSTATUS = NTSTATUS ( -1073741574i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_2 : NTSTATUS = NTSTATUS ( -1073741584i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_3 : NTSTATUS = NTSTATUS ( -1073741583i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_4 : NTSTATUS = NTSTATUS ( -1073741582i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_5 : NTSTATUS = NTSTATUS ( -1073741581i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_6 : NTSTATUS = NTSTATUS ( -1073741580i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_7 : NTSTATUS = NTSTATUS ( -1073741579i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_8 : NTSTATUS = NTSTATUS ( -1073741578i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_9 : NTSTATUS = NTSTATUS ( -1073741577i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_MIX : NTSTATUS = NTSTATUS ( -1073741776i32 as _ ) ; pub const STATUS_INVALID_PEP_INFO_VERSION : NTSTATUS = NTSTATUS ( -1073700859i32 as _ ) ; pub const STATUS_INVALID_PIPE_STATE : NTSTATUS = NTSTATUS ( -1073741651i32 as _ ) ; pub const STATUS_INVALID_PLUGPLAY_DEVICE_PATH : NTSTATUS = NTSTATUS ( -1073741215i32 as _ ) ; pub const STATUS_INVALID_PORT_ATTRIBUTES : NTSTATUS = NTSTATUS ( -1073741778i32 as _ ) ; pub const STATUS_INVALID_PORT_HANDLE : NTSTATUS = NTSTATUS ( -1073741758i32 as _ ) ; pub const STATUS_INVALID_PRIMARY_GROUP : NTSTATUS = NTSTATUS ( -1073741733i32 as _ ) ; pub const STATUS_INVALID_QUOTA_LOWER : NTSTATUS = NTSTATUS ( -1073741775i32 as _ ) ; pub const STATUS_INVALID_READ_MODE : NTSTATUS = NTSTATUS ( -1073741644i32 as _ ) ; pub const STATUS_INVALID_RUNLEVEL_SETTING : NTSTATUS = NTSTATUS ( -1073700542i32 as _ ) ; pub const STATUS_INVALID_SECURITY_DESCR : NTSTATUS = NTSTATUS ( -1073741703i32 as _ ) ; pub const STATUS_INVALID_SERVER_STATE : NTSTATUS = NTSTATUS ( -1073741604i32 as _ ) ; pub const STATUS_INVALID_SESSION : NTSTATUS = NTSTATUS ( -1073740715i32 as _ ) ; pub const STATUS_INVALID_SID : NTSTATUS = NTSTATUS ( -1073741704i32 as _ ) ; pub const STATUS_INVALID_SIGNATURE : NTSTATUS = NTSTATUS ( -1073700864i32 as _ ) ; pub const STATUS_INVALID_STATE_TRANSITION : NTSTATUS = NTSTATUS ( -1073700861i32 as _ ) ; pub const STATUS_INVALID_SUB_AUTHORITY : NTSTATUS = NTSTATUS ( -1073741706i32 as _ ) ; pub const STATUS_INVALID_SYSTEM_SERVICE : NTSTATUS = NTSTATUS ( -1073741796i32 as _ ) ; pub const STATUS_INVALID_TASK_INDEX : NTSTATUS = NTSTATUS ( -1073740543i32 as _ ) ; pub const STATUS_INVALID_TASK_NAME : NTSTATUS = NTSTATUS ( -1073740544i32 as _ ) ; pub const STATUS_INVALID_THREAD : NTSTATUS = NTSTATUS ( -1073740004i32 as _ ) ; pub const STATUS_INVALID_TOKEN : NTSTATUS = NTSTATUS ( -1073740699i32 as _ ) ; pub const STATUS_INVALID_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103422i32 as _ ) ; pub const STATUS_INVALID_UNWIND_TARGET : NTSTATUS = NTSTATUS ( -1073741783i32 as _ ) ; pub const STATUS_INVALID_USER_BUFFER : NTSTATUS = NTSTATUS ( -1073741592i32 as _ ) ; pub const STATUS_INVALID_USER_PRINCIPAL_NAME : NTSTATUS = NTSTATUS ( -1073740772i32 as _ ) ; pub const STATUS_INVALID_VARIANT : NTSTATUS = NTSTATUS ( -1073741262i32 as _ ) ; pub const STATUS_INVALID_VIEW_SIZE : NTSTATUS = NTSTATUS ( -1073741793i32 as _ ) ; pub const STATUS_INVALID_VOLUME_LABEL : NTSTATUS = NTSTATUS ( -1073741690i32 as _ ) ; pub const STATUS_INVALID_WEIGHT : NTSTATUS = NTSTATUS ( -1073740712i32 as _ ) ; pub const STATUS_INVALID_WORKSTATION : NTSTATUS = NTSTATUS ( -1073741712i32 as _ ) ; pub const STATUS_IN_PAGE_ERROR : NTSTATUS = NTSTATUS ( -1073741818i32 as _ ) ; pub const STATUS_IO_DEVICE_ERROR : NTSTATUS = NTSTATUS ( -1073741435i32 as _ ) ; pub const STATUS_IO_DEVICE_INVALID_DATA : NTSTATUS = NTSTATUS ( -1073741392i32 as _ ) ; pub const STATUS_IO_OPERATION_TIMEOUT : NTSTATUS = NTSTATUS ( -1073740675i32 as _ ) ; pub const STATUS_IO_PREEMPTED : NTSTATUS = NTSTATUS ( -1068433407i32 as _ ) ; pub const STATUS_IO_PRIVILEGE_FAILED : NTSTATUS = NTSTATUS ( -1073741513i32 as _ ) ; pub const STATUS_IO_REISSUE_AS_CACHED : NTSTATUS = NTSTATUS ( -1073479623i32 as _ ) ; pub const STATUS_IO_REPARSE_DATA_INVALID : NTSTATUS = NTSTATUS ( -1073741192i32 as _ ) ; pub const STATUS_IO_REPARSE_TAG_INVALID : NTSTATUS = NTSTATUS ( -1073741194i32 as _ ) ; pub const STATUS_IO_REPARSE_TAG_MISMATCH : NTSTATUS = NTSTATUS ( -1073741193i32 as _ ) ; pub const STATUS_IO_REPARSE_TAG_NOT_HANDLED : NTSTATUS = NTSTATUS ( -1073741191i32 as _ ) ; pub const STATUS_IO_TIMEOUT : NTSTATUS = NTSTATUS ( -1073741643i32 as _ ) ; pub const STATUS_IO_UNALIGNED_WRITE : NTSTATUS = NTSTATUS ( -1073741391i32 as _ ) ; pub const STATUS_IPSEC_AUTH_FIREWALL_DROP : NTSTATUS = NTSTATUS ( -1070202872i32 as _ ) ; pub const STATUS_IPSEC_BAD_SPI : NTSTATUS = NTSTATUS ( -1070202879i32 as _ ) ; pub const STATUS_IPSEC_CLEAR_TEXT_DROP : NTSTATUS = NTSTATUS ( -1070202873i32 as _ ) ; pub const STATUS_IPSEC_DOSP_BLOCK : NTSTATUS = NTSTATUS ( -1070170112i32 as _ ) ; pub const STATUS_IPSEC_DOSP_INVALID_PACKET : NTSTATUS = NTSTATUS ( -1070170110i32 as _ ) ; pub const STATUS_IPSEC_DOSP_KEYMOD_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1070170107i32 as _ ) ; pub const STATUS_IPSEC_DOSP_MAX_ENTRIES : NTSTATUS = NTSTATUS ( -1070170108i32 as _ ) ; pub const STATUS_IPSEC_DOSP_MAX_PER_IP_RATELIMIT_QUEUES : NTSTATUS = NTSTATUS ( -1070170106i32 as _ ) ; pub const STATUS_IPSEC_DOSP_RECEIVED_MULTICAST : NTSTATUS = NTSTATUS ( -1070170111i32 as _ ) ; pub const STATUS_IPSEC_DOSP_STATE_LOOKUP_FAILED : NTSTATUS = NTSTATUS ( -1070170109i32 as _ ) ; pub const STATUS_IPSEC_INTEGRITY_CHECK_FAILED : NTSTATUS = NTSTATUS ( -1070202874i32 as _ ) ; pub const STATUS_IPSEC_INVALID_PACKET : NTSTATUS = NTSTATUS ( -1070202875i32 as _ ) ; pub const STATUS_IPSEC_QUEUE_OVERFLOW : NTSTATUS = NTSTATUS ( -1073700848i32 as _ ) ; pub const STATUS_IPSEC_REPLAY_CHECK_FAILED : NTSTATUS = NTSTATUS ( -1070202876i32 as _ ) ; pub const STATUS_IPSEC_SA_LIFETIME_EXPIRED : NTSTATUS = NTSTATUS ( -1070202878i32 as _ ) ; pub const STATUS_IPSEC_THROTTLE_DROP : NTSTATUS = NTSTATUS ( -1070202871i32 as _ ) ; pub const STATUS_IPSEC_WRONG_SA : NTSTATUS = NTSTATUS ( -1070202877i32 as _ ) ; pub const STATUS_IP_ADDRESS_CONFLICT1 : NTSTATUS = NTSTATUS ( -1073741228i32 as _ ) ; pub const STATUS_IP_ADDRESS_CONFLICT2 : NTSTATUS = NTSTATUS ( -1073741227i32 as _ ) ; pub const STATUS_ISSUING_CA_UNTRUSTED : NTSTATUS = NTSTATUS ( -1073740918i32 as _ ) ; pub const STATUS_ISSUING_CA_UNTRUSTED_KDC : NTSTATUS = NTSTATUS ( -1073740787i32 as _ ) ; pub const STATUS_JOB_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1073740529i32 as _ ) ; pub const STATUS_JOB_NO_CONTAINER : NTSTATUS = NTSTATUS ( -1073740535i32 as _ ) ; pub const STATUS_JOURNAL_DELETE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073741129i32 as _ ) ; pub const STATUS_JOURNAL_ENTRY_DELETED : NTSTATUS = NTSTATUS ( -1073741105i32 as _ ) ; pub const STATUS_JOURNAL_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1073741128i32 as _ ) ; pub const STATUS_KDC_CERT_EXPIRED : NTSTATUS = NTSTATUS ( -1073740786i32 as _ ) ; pub const STATUS_KDC_CERT_REVOKED : NTSTATUS = NTSTATUS ( -1073740785i32 as _ ) ; pub const STATUS_KDC_INVALID_REQUEST : NTSTATUS = NTSTATUS ( -1073741061i32 as _ ) ; pub const STATUS_KDC_UNABLE_TO_REFER : NTSTATUS = NTSTATUS ( -1073741060i32 as _ ) ; pub const STATUS_KDC_UNKNOWN_ETYPE : NTSTATUS = NTSTATUS ( -1073741059i32 as _ ) ; pub const STATUS_KERNEL_APC : NTSTATUS = NTSTATUS ( 256i32 as _ ) ; pub const STATUS_KERNEL_EXECUTABLE_MEMORY_WRITE : NTSTATUS = NTSTATUS ( -1073739996i32 as _ ) ; pub const STATUS_KEY_DELETED : NTSTATUS = NTSTATUS ( -1073741444i32 as _ ) ; pub const STATUS_KEY_HAS_CHILDREN : NTSTATUS = NTSTATUS ( -1073741440i32 as _ ) ; pub const STATUS_LAST_ADMIN : NTSTATUS = NTSTATUS ( -1073741719i32 as _ ) ; pub const STATUS_LICENSE_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741223i32 as _ ) ; pub const STATUS_LICENSE_VIOLATION : NTSTATUS = NTSTATUS ( -1073741206i32 as _ ) ; pub const STATUS_LINK_FAILED : NTSTATUS = NTSTATUS ( -1073741506i32 as _ ) ; pub const STATUS_LINK_TIMEOUT : NTSTATUS = NTSTATUS ( -1073741505i32 as _ ) ; pub const STATUS_LM_CROSS_ENCRYPTION_REQUIRED : NTSTATUS = NTSTATUS ( -1073741441i32 as _ ) ; pub const STATUS_LOCAL_DISCONNECT : NTSTATUS = NTSTATUS ( -1073741509i32 as _ ) ; pub const STATUS_LOCAL_USER_SESSION_KEY : NTSTATUS = NTSTATUS ( 1073741830i32 as _ ) ; pub const STATUS_LOCK_NOT_GRANTED : NTSTATUS = NTSTATUS ( -1073741739i32 as _ ) ; pub const STATUS_LOGIN_TIME_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741241i32 as _ ) ; pub const STATUS_LOGIN_WKSTA_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741240i32 as _ ) ; pub const STATUS_LOGON_NOT_GRANTED : NTSTATUS = NTSTATUS ( -1073741483i32 as _ ) ; pub const STATUS_LOGON_SERVER_CONFLICT : NTSTATUS = NTSTATUS ( -1073741518i32 as _ ) ; pub const STATUS_LOGON_SESSION_COLLISION : NTSTATUS = NTSTATUS ( -1073741563i32 as _ ) ; pub const STATUS_LOGON_SESSION_EXISTS : NTSTATUS = NTSTATUS ( -1073741586i32 as _ ) ; pub const STATUS_LOG_APPENDED_FLUSH_FAILED : NTSTATUS = NTSTATUS ( -1072037841i32 as _ ) ; pub const STATUS_LOG_ARCHIVE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072037855i32 as _ ) ; pub const STATUS_LOG_ARCHIVE_NOT_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072037856i32 as _ ) ; pub const STATUS_LOG_BLOCKS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1072037882i32 as _ ) ; pub const STATUS_LOG_BLOCK_INCOMPLETE : NTSTATUS = NTSTATUS ( -1072037884i32 as _ ) ; pub const STATUS_LOG_BLOCK_INVALID : NTSTATUS = NTSTATUS ( -1072037878i32 as _ ) ; pub const STATUS_LOG_BLOCK_VERSION : NTSTATUS = NTSTATUS ( -1072037879i32 as _ ) ; pub const STATUS_LOG_CANT_DELETE : NTSTATUS = NTSTATUS ( -1072037871i32 as _ ) ; pub const STATUS_LOG_CLIENT_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1072037852i32 as _ ) ; pub const STATUS_LOG_CLIENT_NOT_REGISTERED : NTSTATUS = NTSTATUS ( -1072037851i32 as _ ) ; pub const STATUS_LOG_CONTAINER_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1072037870i32 as _ ) ; pub const STATUS_LOG_CONTAINER_OPEN_FAILED : NTSTATUS = NTSTATUS ( -1072037847i32 as _ ) ; pub const STATUS_LOG_CONTAINER_READ_FAILED : NTSTATUS = NTSTATUS ( -1072037849i32 as _ ) ; pub const STATUS_LOG_CONTAINER_STATE_INVALID : NTSTATUS = NTSTATUS ( -1072037846i32 as _ ) ; pub const STATUS_LOG_CONTAINER_WRITE_FAILED : NTSTATUS = NTSTATUS ( -1072037848i32 as _ ) ; pub const STATUS_LOG_CORRUPTION_DETECTED : NTSTATUS = NTSTATUS ( -1072103376i32 as _ ) ; pub const STATUS_LOG_DEDICATED : NTSTATUS = NTSTATUS ( -1072037857i32 as _ ) ; pub const STATUS_LOG_EPHEMERAL : NTSTATUS = NTSTATUS ( -1072037854i32 as _ ) ; pub const STATUS_LOG_FILE_FULL : NTSTATUS = NTSTATUS ( -1073741432i32 as _ ) ; pub const STATUS_LOG_FULL : NTSTATUS = NTSTATUS ( -1072037859i32 as _ ) ; pub const STATUS_LOG_FULL_HANDLER_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072037850i32 as _ ) ; pub const STATUS_LOG_GROWTH_FAILED : NTSTATUS = NTSTATUS ( -1072103399i32 as _ ) ; pub const STATUS_LOG_HARD_ERROR : NTSTATUS = NTSTATUS ( 1073741850i32 as _ ) ; pub const STATUS_LOG_INCONSISTENT_SECURITY : NTSTATUS = NTSTATUS ( -1072037842i32 as _ ) ; pub const STATUS_LOG_INVALID_RANGE : NTSTATUS = NTSTATUS ( -1072037883i32 as _ ) ; pub const STATUS_LOG_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1072037875i32 as _ ) ; pub const STATUS_LOG_METADATA_FLUSH_FAILED : NTSTATUS = NTSTATUS ( -1072037843i32 as _ ) ; pub const STATUS_LOG_METADATA_INCONSISTENT : NTSTATUS = NTSTATUS ( -1072037873i32 as _ ) ; pub const STATUS_LOG_METADATA_INVALID : NTSTATUS = NTSTATUS ( -1072037874i32 as _ ) ; pub const STATUS_LOG_MULTIPLEXED : NTSTATUS = NTSTATUS ( -1072037858i32 as _ ) ; pub const STATUS_LOG_NOT_ENOUGH_CONTAINERS : NTSTATUS = NTSTATUS ( -1072037853i32 as _ ) ; pub const STATUS_LOG_NO_RESTART : NTSTATUS = NTSTATUS ( 1075445772i32 as _ ) ; pub const STATUS_LOG_PINNED : NTSTATUS = NTSTATUS ( -1072037844i32 as _ ) ; pub const STATUS_LOG_PINNED_ARCHIVE_TAIL : NTSTATUS = NTSTATUS ( -1072037864i32 as _ ) ; pub const STATUS_LOG_PINNED_RESERVATION : NTSTATUS = NTSTATUS ( -1072037840i32 as _ ) ; pub const STATUS_LOG_POLICY_ALREADY_INSTALLED : NTSTATUS = NTSTATUS ( -1072037868i32 as _ ) ; pub const STATUS_LOG_POLICY_CONFLICT : NTSTATUS = NTSTATUS ( -1072037865i32 as _ ) ; pub const STATUS_LOG_POLICY_INVALID : NTSTATUS = NTSTATUS ( -1072037866i32 as _ ) ; pub const STATUS_LOG_POLICY_NOT_INSTALLED : NTSTATUS = NTSTATUS ( -1072037867i32 as _ ) ; pub const STATUS_LOG_READ_CONTEXT_INVALID : NTSTATUS = NTSTATUS ( -1072037881i32 as _ ) ; pub const STATUS_LOG_READ_MODE_INVALID : NTSTATUS = NTSTATUS ( -1072037877i32 as _ ) ; pub const STATUS_LOG_RECORDS_RESERVED_INVALID : NTSTATUS = NTSTATUS ( -1072037862i32 as _ ) ; pub const STATUS_LOG_RECORD_NONEXISTENT : NTSTATUS = NTSTATUS ( -1072037863i32 as _ ) ; pub const STATUS_LOG_RESERVATION_INVALID : NTSTATUS = NTSTATUS ( -1072037872i32 as _ ) ; pub const STATUS_LOG_RESIZE_INVALID_SIZE : NTSTATUS = NTSTATUS ( -1072103413i32 as _ ) ; pub const STATUS_LOG_RESTART_INVALID : NTSTATUS = NTSTATUS ( -1072037880i32 as _ ) ; pub const STATUS_LOG_SECTOR_INVALID : NTSTATUS = NTSTATUS ( -1072037887i32 as _ ) ; pub const STATUS_LOG_SECTOR_PARITY_INVALID : NTSTATUS = NTSTATUS ( -1072037886i32 as _ ) ; pub const STATUS_LOG_SECTOR_REMAPPED : NTSTATUS = NTSTATUS ( -1072037885i32 as _ ) ; pub const STATUS_LOG_SPACE_RESERVED_INVALID : NTSTATUS = NTSTATUS ( -1072037861i32 as _ ) ; pub const STATUS_LOG_START_OF_LOG : NTSTATUS = NTSTATUS ( -1072037869i32 as _ ) ; pub const STATUS_LOG_STATE_INVALID : NTSTATUS = NTSTATUS ( -1072037845i32 as _ ) ; pub const STATUS_LOG_TAIL_INVALID : NTSTATUS = NTSTATUS ( -1072037860i32 as _ ) ; pub const STATUS_LONGJUMP : NTSTATUS = NTSTATUS ( -2147483610i32 as _ ) ; pub const STATUS_LOST_MODE_LOGON_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741043i32 as _ ) ; pub const STATUS_LOST_WRITEBEHIND_DATA : NTSTATUS = NTSTATUS ( -1073741278i32 as _ ) ; pub const STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR : NTSTATUS = NTSTATUS ( -1073700734i32 as _ ) ; pub const STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073700736i32 as _ ) ; pub const STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR : NTSTATUS = NTSTATUS ( -1073700735i32 as _ ) ; pub const STATUS_LPAC_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073700349i32 as _ ) ; pub const STATUS_LPC_HANDLE_COUNT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073739998i32 as _ ) ; pub const STATUS_LPC_INVALID_CONNECTION_USAGE : NTSTATUS = NTSTATUS ( -1073740026i32 as _ ) ; pub const STATUS_LPC_RECEIVE_BUFFER_EXPECTED : NTSTATUS = NTSTATUS ( -1073740027i32 as _ ) ; pub const STATUS_LPC_REPLY_LOST : NTSTATUS = NTSTATUS ( -1073741229i32 as _ ) ; pub const STATUS_LPC_REQUESTS_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1073740025i32 as _ ) ; pub const STATUS_LUIDS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073741707i32 as _ ) ; pub const STATUS_MAGAZINE_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073741178i32 as _ ) ; pub const STATUS_MAPPED_ALIGNMENT : NTSTATUS = NTSTATUS ( -1073741280i32 as _ ) ; pub const STATUS_MAPPED_FILE_SIZE_ZERO : NTSTATUS = NTSTATUS ( -1073741538i32 as _ ) ; pub const STATUS_MARKED_TO_DISALLOW_WRITES : NTSTATUS = NTSTATUS ( -1073740659i32 as _ ) ; pub const STATUS_MARSHALL_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741263i32 as _ ) ; pub const STATUS_MAX_REFERRALS_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741068i32 as _ ) ; pub const STATUS_MCA_EXCEPTION : NTSTATUS = NTSTATUS ( -1073740013i32 as _ ) ; pub const STATUS_MCA_OCCURED : NTSTATUS = NTSTATUS ( -1073740950i32 as _ ) ; pub const STATUS_MEDIA_CHANGED : NTSTATUS = NTSTATUS ( -2147483620i32 as _ ) ; pub const STATUS_MEDIA_CHECK : NTSTATUS = NTSTATUS ( -2147483616i32 as _ ) ; pub const STATUS_MEDIA_WRITE_PROTECTED : NTSTATUS = NTSTATUS ( -1073741662i32 as _ ) ; pub const STATUS_MEMBERS_PRIMARY_GROUP : NTSTATUS = NTSTATUS ( -1073741529i32 as _ ) ; pub const STATUS_MEMBER_IN_ALIAS : NTSTATUS = NTSTATUS ( -1073741485i32 as _ ) ; pub const STATUS_MEMBER_IN_GROUP : NTSTATUS = NTSTATUS ( -1073741721i32 as _ ) ; pub const STATUS_MEMBER_NOT_IN_ALIAS : NTSTATUS = NTSTATUS ( -1073741486i32 as _ ) ; pub const STATUS_MEMBER_NOT_IN_GROUP : NTSTATUS = NTSTATUS ( -1073741720i32 as _ ) ; pub const STATUS_MEMORY_NOT_ALLOCATED : NTSTATUS = NTSTATUS ( -1073741664i32 as _ ) ; pub const STATUS_MESSAGE_LOST : NTSTATUS = NTSTATUS ( -1073740031i32 as _ ) ; pub const STATUS_MESSAGE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741559i32 as _ ) ; pub const STATUS_MESSAGE_RETRIEVED : NTSTATUS = NTSTATUS ( 1073741870i32 as _ ) ; pub const STATUS_MFT_TOO_FRAGMENTED : NTSTATUS = NTSTATUS ( -1073741052i32 as _ ) ; pub const STATUS_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103388i32 as _ ) ; pub const STATUS_MISSING_SYSTEMFILE : NTSTATUS = NTSTATUS ( -1073741501i32 as _ ) ; pub const STATUS_MONITOR_INVALID_DESCRIPTOR_CHECKSUM : NTSTATUS = NTSTATUS ( -1071841277i32 as _ ) ; pub const STATUS_MONITOR_INVALID_DETAILED_TIMING_BLOCK : NTSTATUS = NTSTATUS ( -1071841271i32 as _ ) ; pub const STATUS_MONITOR_INVALID_MANUFACTURE_DATE : NTSTATUS = NTSTATUS ( -1071841270i32 as _ ) ; pub const STATUS_MONITOR_INVALID_SERIAL_NUMBER_MONDSC_BLOCK : NTSTATUS = NTSTATUS ( -1071841274i32 as _ ) ; pub const STATUS_MONITOR_INVALID_STANDARD_TIMING_BLOCK : NTSTATUS = NTSTATUS ( -1071841276i32 as _ ) ; pub const STATUS_MONITOR_INVALID_USER_FRIENDLY_MONDSC_BLOCK : NTSTATUS = NTSTATUS ( -1071841273i32 as _ ) ; pub const STATUS_MONITOR_NO_DESCRIPTOR : NTSTATUS = NTSTATUS ( -1071841279i32 as _ ) ; pub const STATUS_MONITOR_NO_MORE_DESCRIPTOR_DATA : NTSTATUS = NTSTATUS ( -1071841272i32 as _ ) ; pub const STATUS_MONITOR_UNKNOWN_DESCRIPTOR_FORMAT : NTSTATUS = NTSTATUS ( -1071841278i32 as _ ) ; pub const STATUS_MONITOR_WMI_DATABLOCK_REGISTRATION_FAILED : NTSTATUS = NTSTATUS ( -1071841275i32 as _ ) ; pub const STATUS_MORE_ENTRIES : NTSTATUS = NTSTATUS ( 261i32 as _ ) ; pub const STATUS_MORE_PROCESSING_REQUIRED : NTSTATUS = NTSTATUS ( -1073741802i32 as _ ) ; pub const STATUS_MOUNT_POINT_NOT_RESOLVED : NTSTATUS = NTSTATUS ( -1073740952i32 as _ ) ; pub const STATUS_MP_PROCESSOR_MISMATCH : NTSTATUS = NTSTATUS ( 1073741865i32 as _ ) ; pub const STATUS_MUI_FILE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073020927i32 as _ ) ; pub const STATUS_MUI_FILE_NOT_LOADED : NTSTATUS = NTSTATUS ( -1073020922i32 as _ ) ; pub const STATUS_MUI_INVALID_FILE : NTSTATUS = NTSTATUS ( -1073020926i32 as _ ) ; pub const STATUS_MUI_INVALID_LOCALE_NAME : NTSTATUS = NTSTATUS ( -1073020924i32 as _ ) ; pub const STATUS_MUI_INVALID_RC_CONFIG : NTSTATUS = NTSTATUS ( -1073020925i32 as _ ) ; pub const STATUS_MUI_INVALID_ULTIMATEFALLBACK_NAME : NTSTATUS = NTSTATUS ( -1073020923i32 as _ ) ; pub const STATUS_MULTIPLE_FAULT_VIOLATION : NTSTATUS = NTSTATUS ( -1073741080i32 as _ ) ; pub const STATUS_MUST_BE_KDC : NTSTATUS = NTSTATUS ( -1073741067i32 as _ ) ; pub const STATUS_MUTANT_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741423i32 as _ ) ; pub const STATUS_MUTANT_NOT_OWNED : NTSTATUS = NTSTATUS ( -1073741754i32 as _ ) ; pub const STATUS_MUTUAL_AUTHENTICATION_FAILED : NTSTATUS = NTSTATUS ( -1073741117i32 as _ ) ; pub const STATUS_NAME_TOO_LONG : NTSTATUS = NTSTATUS ( -1073741562i32 as _ ) ; pub const STATUS_NDIS_ADAPTER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071448058i32 as _ ) ; pub const STATUS_NDIS_ADAPTER_NOT_READY : NTSTATUS = NTSTATUS ( -1071448047i32 as _ ) ; pub const STATUS_NDIS_ADAPTER_REMOVED : NTSTATUS = NTSTATUS ( -1071448040i32 as _ ) ; pub const STATUS_NDIS_ALREADY_MAPPED : NTSTATUS = NTSTATUS ( -1071448035i32 as _ ) ; pub const STATUS_NDIS_BAD_CHARACTERISTICS : NTSTATUS = NTSTATUS ( -1071448059i32 as _ ) ; pub const STATUS_NDIS_BAD_VERSION : NTSTATUS = NTSTATUS ( -1071448060i32 as _ ) ; pub const STATUS_NDIS_BUFFER_TOO_SHORT : NTSTATUS = NTSTATUS ( -1071448042i32 as _ ) ; pub const STATUS_NDIS_CLOSING : NTSTATUS = NTSTATUS ( -1071448062i32 as _ ) ; pub const STATUS_NDIS_DEVICE_FAILED : NTSTATUS = NTSTATUS ( -1071448056i32 as _ ) ; pub const STATUS_NDIS_DOT11_AP_BAND_CURRENTLY_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1071439866i32 as _ ) ; pub const STATUS_NDIS_DOT11_AP_BAND_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071439864i32 as _ ) ; pub const STATUS_NDIS_DOT11_AP_CHANNEL_CURRENTLY_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1071439867i32 as _ ) ; pub const STATUS_NDIS_DOT11_AP_CHANNEL_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071439865i32 as _ ) ; pub const STATUS_NDIS_DOT11_AUTO_CONFIG_ENABLED : NTSTATUS = NTSTATUS ( -1071439872i32 as _ ) ; pub const STATUS_NDIS_DOT11_MEDIA_IN_USE : NTSTATUS = NTSTATUS ( -1071439871i32 as _ ) ; pub const STATUS_NDIS_DOT11_POWER_STATE_INVALID : NTSTATUS = NTSTATUS ( -1071439870i32 as _ ) ; pub const STATUS_NDIS_ERROR_READING_FILE : NTSTATUS = NTSTATUS ( -1071448036i32 as _ ) ; pub const STATUS_NDIS_FILE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071448037i32 as _ ) ; pub const STATUS_NDIS_GROUP_ADDRESS_IN_USE : NTSTATUS = NTSTATUS ( -1071448038i32 as _ ) ; pub const STATUS_NDIS_INDICATION_REQUIRED : NTSTATUS = NTSTATUS ( 1076035585i32 as _ ) ; pub const STATUS_NDIS_INTERFACE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071448021i32 as _ ) ; pub const STATUS_NDIS_INVALID_ADDRESS : NTSTATUS = NTSTATUS ( -1071448030i32 as _ ) ; pub const STATUS_NDIS_INVALID_DATA : NTSTATUS = NTSTATUS ( -1071448043i32 as _ ) ; pub const STATUS_NDIS_INVALID_DEVICE_REQUEST : NTSTATUS = NTSTATUS ( -1071448048i32 as _ ) ; pub const STATUS_NDIS_INVALID_LENGTH : NTSTATUS = NTSTATUS ( -1071448044i32 as _ ) ; pub const STATUS_NDIS_INVALID_OID : NTSTATUS = NTSTATUS ( -1071448041i32 as _ ) ; pub const STATUS_NDIS_INVALID_PACKET : NTSTATUS = NTSTATUS ( -1071448049i32 as _ ) ; pub const STATUS_NDIS_INVALID_PORT : NTSTATUS = NTSTATUS ( -1071448019i32 as _ ) ; pub const STATUS_NDIS_INVALID_PORT_STATE : NTSTATUS = NTSTATUS ( -1071448018i32 as _ ) ; pub const STATUS_NDIS_LOW_POWER_STATE : NTSTATUS = NTSTATUS ( -1071448017i32 as _ ) ; pub const STATUS_NDIS_MEDIA_DISCONNECTED : NTSTATUS = NTSTATUS ( -1071448033i32 as _ ) ; pub const STATUS_NDIS_MULTICAST_EXISTS : NTSTATUS = NTSTATUS ( -1071448054i32 as _ ) ; pub const STATUS_NDIS_MULTICAST_FULL : NTSTATUS = NTSTATUS ( -1071448055i32 as _ ) ; pub const STATUS_NDIS_MULTICAST_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071448053i32 as _ ) ; pub const STATUS_NDIS_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071447877i32 as _ ) ; pub const STATUS_NDIS_NO_QUEUES : NTSTATUS = NTSTATUS ( -1071448015i32 as _ ) ; pub const STATUS_NDIS_OFFLOAD_CONNECTION_REJECTED : NTSTATUS = NTSTATUS ( -1071443950i32 as _ ) ; pub const STATUS_NDIS_OFFLOAD_PATH_REJECTED : NTSTATUS = NTSTATUS ( -1071443949i32 as _ ) ; pub const STATUS_NDIS_OFFLOAD_POLICY : NTSTATUS = NTSTATUS ( -1071443953i32 as _ ) ; pub const STATUS_NDIS_OPEN_FAILED : NTSTATUS = NTSTATUS ( -1071448057i32 as _ ) ; pub const STATUS_NDIS_PAUSED : NTSTATUS = NTSTATUS ( -1071448022i32 as _ ) ; pub const STATUS_NDIS_PM_PROTOCOL_OFFLOAD_LIST_FULL : NTSTATUS = NTSTATUS ( -1071439868i32 as _ ) ; pub const STATUS_NDIS_PM_WOL_PATTERN_LIST_FULL : NTSTATUS = NTSTATUS ( -1071439869i32 as _ ) ; pub const STATUS_NDIS_REINIT_REQUIRED : NTSTATUS = NTSTATUS ( -1071448016i32 as _ ) ; pub const STATUS_NDIS_REQUEST_ABORTED : NTSTATUS = NTSTATUS ( -1071448052i32 as _ ) ; pub const STATUS_NDIS_RESET_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071448051i32 as _ ) ; pub const STATUS_NDIS_RESOURCE_CONFLICT : NTSTATUS = NTSTATUS ( -1071448034i32 as _ ) ; pub const STATUS_NDIS_UNSUPPORTED_MEDIA : NTSTATUS = NTSTATUS ( -1071448039i32 as _ ) ; pub const STATUS_NDIS_UNSUPPORTED_REVISION : NTSTATUS = NTSTATUS ( -1071448020i32 as _ ) ; pub const STATUS_ND_QUEUE_OVERFLOW : NTSTATUS = NTSTATUS ( -1073700847i32 as _ ) ; pub const STATUS_NEEDS_REGISTRATION : NTSTATUS = NTSTATUS ( -1073740663i32 as _ ) ; pub const STATUS_NEEDS_REMEDIATION : NTSTATUS = NTSTATUS ( -1073740702i32 as _ ) ; pub const STATUS_NETLOGON_NOT_STARTED : NTSTATUS = NTSTATUS ( -1073741422i32 as _ ) ; pub const STATUS_NETWORK_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073741622i32 as _ ) ; pub const STATUS_NETWORK_ACCESS_DENIED_EDP : NTSTATUS = NTSTATUS ( -1073740658i32 as _ ) ; pub const STATUS_NETWORK_BUSY : NTSTATUS = NTSTATUS ( -1073741633i32 as _ ) ; pub const STATUS_NETWORK_CREDENTIAL_CONFLICT : NTSTATUS = NTSTATUS ( -1073741419i32 as _ ) ; pub const STATUS_NETWORK_NAME_DELETED : NTSTATUS = NTSTATUS ( -1073741623i32 as _ ) ; pub const STATUS_NETWORK_OPEN_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741311i32 as _ ) ; pub const STATUS_NETWORK_SESSION_EXPIRED : NTSTATUS = NTSTATUS ( -1073740964i32 as _ ) ; pub const STATUS_NETWORK_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073741252i32 as _ ) ; pub const STATUS_NET_WRITE_FAULT : NTSTATUS = NTSTATUS ( -1073741614i32 as _ ) ; pub const STATUS_NOINTERFACE : NTSTATUS = NTSTATUS ( -1073741127i32 as _ ) ; pub const STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741416i32 as _ ) ; pub const STATUS_NOLOGON_SERVER_TRUST_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741414i32 as _ ) ; pub const STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741415i32 as _ ) ; pub const STATUS_NONCONTINUABLE_EXCEPTION : NTSTATUS = NTSTATUS ( -1073741787i32 as _ ) ; pub const STATUS_NONEXISTENT_EA_ENTRY : NTSTATUS = NTSTATUS ( -1073741743i32 as _ ) ; pub const STATUS_NONEXISTENT_SECTOR : NTSTATUS = NTSTATUS ( -1073741803i32 as _ ) ; pub const STATUS_NONE_MAPPED : NTSTATUS = NTSTATUS ( -1073741709i32 as _ ) ; pub const STATUS_NOTHING_TO_TERMINATE : NTSTATUS = NTSTATUS ( 290i32 as _ ) ; pub const STATUS_NOTIFICATION_GUID_ALREADY_DEFINED : NTSTATUS = NTSTATUS ( -1073741404i32 as _ ) ; pub const STATUS_NOTIFY_CLEANUP : NTSTATUS = NTSTATUS ( 267i32 as _ ) ; pub const STATUS_NOTIFY_ENUM_DIR : NTSTATUS = NTSTATUS ( 268i32 as _ ) ; pub const STATUS_NOT_ALLOWED_ON_SYSTEM_FILE : NTSTATUS = NTSTATUS ( -1073741401i32 as _ ) ; pub const STATUS_NOT_ALL_ASSIGNED : NTSTATUS = NTSTATUS ( 262i32 as _ ) ; pub const STATUS_NOT_APPCONTAINER : NTSTATUS = NTSTATUS ( -1073700352i32 as _ ) ; pub const STATUS_NOT_A_CLOUD_FILE : NTSTATUS = NTSTATUS ( -1073688825i32 as _ ) ; pub const STATUS_NOT_A_CLOUD_SYNC_ROOT : NTSTATUS = NTSTATUS ( -1073688802i32 as _ ) ; pub const STATUS_NOT_A_DAX_VOLUME : NTSTATUS = NTSTATUS ( -1073740623i32 as _ ) ; pub const STATUS_NOT_A_DIRECTORY : NTSTATUS = NTSTATUS ( -1073741565i32 as _ ) ; pub const STATUS_NOT_A_REPARSE_POINT : NTSTATUS = NTSTATUS ( -1073741195i32 as _ ) ; pub const STATUS_NOT_A_TIERED_VOLUME : NTSTATUS = NTSTATUS ( -1073740531i32 as _ ) ; pub const STATUS_NOT_CAPABLE : NTSTATUS = NTSTATUS ( -1073740759i32 as _ ) ; pub const STATUS_NOT_CLIENT_SESSION : NTSTATUS = NTSTATUS ( -1073741289i32 as _ ) ; pub const STATUS_NOT_COMMITTED : NTSTATUS = NTSTATUS ( -1073741779i32 as _ ) ; pub const STATUS_NOT_DAX_MAPPABLE : NTSTATUS = NTSTATUS ( -1073740622i32 as _ ) ; pub const STATUS_NOT_EXPORT_FORMAT : NTSTATUS = NTSTATUS ( -1073741166i32 as _ ) ; pub const STATUS_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741275i32 as _ ) ; pub const STATUS_NOT_GUI_PROCESS : NTSTATUS = NTSTATUS ( -1073740538i32 as _ ) ; pub const STATUS_NOT_IMPLEMENTED : NTSTATUS = NTSTATUS ( -1073741822i32 as _ ) ; pub const STATUS_NOT_LOCKED : NTSTATUS = NTSTATUS ( -1073741782i32 as _ ) ; pub const STATUS_NOT_LOGON_PROCESS : NTSTATUS = NTSTATUS ( -1073741587i32 as _ ) ; pub const STATUS_NOT_MAPPED_DATA : NTSTATUS = NTSTATUS ( -1073741688i32 as _ ) ; pub const STATUS_NOT_MAPPED_VIEW : NTSTATUS = NTSTATUS ( -1073741799i32 as _ ) ; pub const STATUS_NOT_READ_FROM_COPY : NTSTATUS = NTSTATUS ( -1073740694i32 as _ ) ; pub const STATUS_NOT_REDUNDANT_STORAGE : NTSTATUS = NTSTATUS ( -1073740679i32 as _ ) ; pub const STATUS_NOT_REGISTRY_FILE : NTSTATUS = NTSTATUS ( -1073741476i32 as _ ) ; pub const STATUS_NOT_SAFE_MODE_DRIVER : NTSTATUS = NTSTATUS ( -1073740961i32 as _ ) ; pub const STATUS_NOT_SAME_DEVICE : NTSTATUS = NTSTATUS ( -1073741612i32 as _ ) ; pub const STATUS_NOT_SAME_OBJECT : NTSTATUS = NTSTATUS ( -1073741396i32 as _ ) ; pub const STATUS_NOT_SERVER_SESSION : NTSTATUS = NTSTATUS ( -1073741290i32 as _ ) ; pub const STATUS_NOT_SNAPSHOT_VOLUME : NTSTATUS = NTSTATUS ( -1072103353i32 as _ ) ; pub const STATUS_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741637i32 as _ ) ; pub const STATUS_NOT_SUPPORTED_IN_APPCONTAINER : NTSTATUS = NTSTATUS ( -1073700351i32 as _ ) ; pub const STATUS_NOT_SUPPORTED_ON_DAX : NTSTATUS = NTSTATUS ( -1073740646i32 as _ ) ; pub const STATUS_NOT_SUPPORTED_ON_SBS : NTSTATUS = NTSTATUS ( -1073741056i32 as _ ) ; pub const STATUS_NOT_SUPPORTED_WITH_BTT : NTSTATUS = NTSTATUS ( -1073740619i32 as _ ) ; pub const STATUS_NOT_TINY_STREAM : NTSTATUS = NTSTATUS ( -1073741274i32 as _ ) ; pub const STATUS_NO_ACE_CONDITION : NTSTATUS = NTSTATUS ( -2147483601i32 as _ ) ; pub const STATUS_NO_APPLICABLE_APP_LICENSES_FOUND : NTSTATUS = NTSTATUS ( -1058406399i32 as _ ) ; pub const STATUS_NO_APPLICATION_PACKAGE : NTSTATUS = NTSTATUS ( -1073741398i32 as _ ) ; pub const STATUS_NO_BROWSER_SERVERS_FOUND : NTSTATUS = NTSTATUS ( -1073741284i32 as _ ) ; pub const STATUS_NO_CALLBACK_ACTIVE : NTSTATUS = NTSTATUS ( -1073741224i32 as _ ) ; pub const STATUS_NO_DATA_DETECTED : NTSTATUS = NTSTATUS ( -2147483614i32 as _ ) ; pub const STATUS_NO_EAS_ON_FILE : NTSTATUS = NTSTATUS ( -1073741742i32 as _ ) ; pub const STATUS_NO_EFS : NTSTATUS = NTSTATUS ( -1073741170i32 as _ ) ; pub const STATUS_NO_EVENT_PAIR : NTSTATUS = NTSTATUS ( -1073741490i32 as _ ) ; pub const STATUS_NO_GUID_TRANSLATION : NTSTATUS = NTSTATUS ( -1073741556i32 as _ ) ; pub const STATUS_NO_IMPERSONATION_TOKEN : NTSTATUS = NTSTATUS ( -1073741732i32 as _ ) ; pub const STATUS_NO_INHERITANCE : NTSTATUS = NTSTATUS ( -2147483637i32 as _ ) ; pub const STATUS_NO_IP_ADDRESSES : NTSTATUS = NTSTATUS ( -1073741071i32 as _ ) ; pub const STATUS_NO_KERB_KEY : NTSTATUS = NTSTATUS ( -1073741022i32 as _ ) ; pub const STATUS_NO_KEY : NTSTATUS = NTSTATUS ( -1073739508i32 as _ ) ; pub const STATUS_NO_LDT : NTSTATUS = NTSTATUS ( -1073741545i32 as _ ) ; pub const STATUS_NO_LINK_TRACKING_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103335i32 as _ ) ; pub const STATUS_NO_LOGON_SERVERS : NTSTATUS = NTSTATUS ( -1073741730i32 as _ ) ; pub const STATUS_NO_LOG_SPACE : NTSTATUS = NTSTATUS ( -1073741443i32 as _ ) ; pub const STATUS_NO_MATCH : NTSTATUS = NTSTATUS ( -1073741198i32 as _ ) ; pub const STATUS_NO_MEDIA : NTSTATUS = NTSTATUS ( -1073741448i32 as _ ) ; pub const STATUS_NO_MEDIA_IN_DEVICE : NTSTATUS = NTSTATUS ( -1073741805i32 as _ ) ; pub const STATUS_NO_MEMORY : NTSTATUS = NTSTATUS ( -1073741801i32 as _ ) ; pub const STATUS_NO_MORE_EAS : NTSTATUS = NTSTATUS ( -2147483630i32 as _ ) ; pub const STATUS_NO_MORE_ENTRIES : NTSTATUS = NTSTATUS ( -2147483622i32 as _ ) ; pub const STATUS_NO_MORE_FILES : NTSTATUS = NTSTATUS ( -2147483642i32 as _ ) ; pub const STATUS_NO_MORE_MATCHES : NTSTATUS = NTSTATUS ( -1073741197i32 as _ ) ; pub const STATUS_NO_PAGEFILE : NTSTATUS = NTSTATUS ( -1073741497i32 as _ ) ; pub const STATUS_NO_PA_DATA : NTSTATUS = NTSTATUS ( -1073741064i32 as _ ) ; pub const STATUS_NO_PHYSICALLY_ALIGNED_FREE_SPACE_FOUND : NTSTATUS = NTSTATUS ( -1073740635i32 as _ ) ; pub const STATUS_NO_QUOTAS_FOR_ACCOUNT : NTSTATUS = NTSTATUS ( 269i32 as _ ) ; pub const STATUS_NO_RANGES_PROCESSED : NTSTATUS = NTSTATUS ( -1073740704i32 as _ ) ; pub const STATUS_NO_RECOVERY_POLICY : NTSTATUS = NTSTATUS ( -1073741171i32 as _ ) ; pub const STATUS_NO_S4U_PROT_SUPPORT : NTSTATUS = NTSTATUS ( -1073740790i32 as _ ) ; pub const STATUS_NO_SAVEPOINT_WITH_OPEN_FILES : NTSTATUS = NTSTATUS ( -1072103352i32 as _ ) ; pub const STATUS_NO_SECRETS : NTSTATUS = NTSTATUS ( -1073740943i32 as _ ) ; pub const STATUS_NO_SECURITY_CONTEXT : NTSTATUS = NTSTATUS ( -1073740755i32 as _ ) ; pub const STATUS_NO_SECURITY_ON_OBJECT : NTSTATUS = NTSTATUS ( -1073741609i32 as _ ) ; pub const STATUS_NO_SPOOL_SPACE : NTSTATUS = NTSTATUS ( -1073741625i32 as _ ) ; pub const STATUS_NO_SUCH_ALIAS : NTSTATUS = NTSTATUS ( -1073741487i32 as _ ) ; pub const STATUS_NO_SUCH_DEVICE : NTSTATUS = NTSTATUS ( -1073741810i32 as _ ) ; pub const STATUS_NO_SUCH_DOMAIN : NTSTATUS = NTSTATUS ( -1073741601i32 as _ ) ; pub const STATUS_NO_SUCH_FILE : NTSTATUS = NTSTATUS ( -1073741809i32 as _ ) ; pub const STATUS_NO_SUCH_GROUP : NTSTATUS = NTSTATUS ( -1073741722i32 as _ ) ; pub const STATUS_NO_SUCH_MEMBER : NTSTATUS = NTSTATUS ( -1073741446i32 as _ ) ; pub const STATUS_NO_SUCH_PACKAGE : NTSTATUS = NTSTATUS ( -1073741570i32 as _ ) ; pub const STATUS_NO_SUCH_PRIVILEGE : NTSTATUS = NTSTATUS ( -1073741728i32 as _ ) ; pub const STATUS_NO_TGT_REPLY : NTSTATUS = NTSTATUS ( -1073741073i32 as _ ) ; pub const STATUS_NO_TOKEN : NTSTATUS = NTSTATUS ( -1073741700i32 as _ ) ; pub const STATUS_NO_TRACKING_SERVICE : NTSTATUS = NTSTATUS ( -1073741153i32 as _ ) ; pub const STATUS_NO_TRUST_LSA_SECRET : NTSTATUS = NTSTATUS ( -1073741430i32 as _ ) ; pub const STATUS_NO_TRUST_SAM_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741429i32 as _ ) ; pub const STATUS_NO_TXF_METADATA : NTSTATUS = NTSTATUS ( -2145845207i32 as _ ) ; pub const STATUS_NO_UNICODE_TRANSLATION : NTSTATUS = NTSTATUS ( -1073740009i32 as _ ) ; pub const STATUS_NO_USER_KEYS : NTSTATUS = NTSTATUS ( -1073741168i32 as _ ) ; pub const STATUS_NO_USER_SESSION_KEY : NTSTATUS = NTSTATUS ( -1073741310i32 as _ ) ; pub const STATUS_NO_WORK_DONE : NTSTATUS = NTSTATUS ( -2147483598i32 as _ ) ; pub const STATUS_NO_YIELD_PERFORMED : NTSTATUS = NTSTATUS ( 1073741860i32 as _ ) ; pub const STATUS_NTLM_BLOCKED : NTSTATUS = NTSTATUS ( -1073740776i32 as _ ) ; pub const STATUS_NT_CROSS_ENCRYPTION_REQUIRED : NTSTATUS = NTSTATUS ( -1073741475i32 as _ ) ; pub const STATUS_NULL_LM_PASSWORD : NTSTATUS = NTSTATUS ( 1073741837i32 as _ ) ; pub const STATUS_OBJECTID_EXISTS : NTSTATUS = NTSTATUS ( -1073741269i32 as _ ) ; pub const STATUS_OBJECTID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741072i32 as _ ) ; pub const STATUS_OBJECT_NAME_COLLISION : NTSTATUS = NTSTATUS ( -1073741771i32 as _ ) ; pub const STATUS_OBJECT_NAME_EXISTS : NTSTATUS = NTSTATUS ( 1073741824i32 as _ ) ; pub const STATUS_OBJECT_NAME_INVALID : NTSTATUS = NTSTATUS ( -1073741773i32 as _ ) ; pub const STATUS_OBJECT_NAME_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741772i32 as _ ) ; pub const STATUS_OBJECT_NOT_EXTERNALLY_BACKED : NTSTATUS = NTSTATUS ( -1073740691i32 as _ ) ; pub const STATUS_OBJECT_NO_LONGER_EXISTS : NTSTATUS = NTSTATUS ( -1072103391i32 as _ ) ; pub const STATUS_OBJECT_PATH_INVALID : NTSTATUS = NTSTATUS ( -1073741767i32 as _ ) ; pub const STATUS_OBJECT_PATH_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741766i32 as _ ) ; pub const STATUS_OBJECT_PATH_SYNTAX_BAD : NTSTATUS = NTSTATUS ( -1073741765i32 as _ ) ; pub const STATUS_OBJECT_TYPE_MISMATCH : NTSTATUS = NTSTATUS ( -1073741788i32 as _ ) ; pub const STATUS_OFFLOAD_READ_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700189i32 as _ ) ; pub const STATUS_OFFLOAD_READ_FLT_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700191i32 as _ ) ; pub const STATUS_OFFLOAD_WRITE_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700188i32 as _ ) ; pub const STATUS_OFFLOAD_WRITE_FLT_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700190i32 as _ ) ; pub const STATUS_ONLY_IF_CONNECTED : NTSTATUS = NTSTATUS ( -1073741108i32 as _ ) ; pub const STATUS_OPEN_FAILED : NTSTATUS = NTSTATUS ( -1073741514i32 as _ ) ; pub const STATUS_OPERATION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073740682i32 as _ ) ; pub const STATUS_OPERATION_NOT_SUPPORTED_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103334i32 as _ ) ; pub const STATUS_OPLOCK_BREAK_IN_PROGRESS : NTSTATUS = NTSTATUS ( 264i32 as _ ) ; pub const STATUS_OPLOCK_HANDLE_CLOSED : NTSTATUS = NTSTATUS ( 534i32 as _ ) ; pub const STATUS_OPLOCK_NOT_GRANTED : NTSTATUS = NTSTATUS ( -1073741598i32 as _ ) ; pub const STATUS_OPLOCK_SWITCHED_TO_NEW_HANDLE : NTSTATUS = NTSTATUS ( 533i32 as _ ) ; pub const STATUS_ORDINAL_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741512i32 as _ ) ; pub const STATUS_ORPHAN_NAME_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073739762i32 as _ ) ; pub const STATUS_PACKAGE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073740649i32 as _ ) ; pub const STATUS_PACKAGE_UPDATING : NTSTATUS = NTSTATUS ( -1073740695i32 as _ ) ; pub const STATUS_PAGEFILE_CREATE_FAILED : NTSTATUS = NTSTATUS ( -1073741498i32 as _ ) ; pub const STATUS_PAGEFILE_QUOTA : NTSTATUS = NTSTATUS ( -1073741817i32 as _ ) ; pub const STATUS_PAGEFILE_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741524i32 as _ ) ; pub const STATUS_PAGE_FAULT_COPY_ON_WRITE : NTSTATUS = NTSTATUS ( 274i32 as _ ) ; pub const STATUS_PAGE_FAULT_DEMAND_ZERO : NTSTATUS = NTSTATUS ( 273i32 as _ ) ; pub const STATUS_PAGE_FAULT_GUARD_PAGE : NTSTATUS = NTSTATUS ( 275i32 as _ ) ; pub const STATUS_PAGE_FAULT_PAGING_FILE : NTSTATUS = NTSTATUS ( 276i32 as _ ) ; pub const STATUS_PAGE_FAULT_TRANSITION : NTSTATUS = NTSTATUS ( 272i32 as _ ) ; pub const STATUS_PARAMETER_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073740784i32 as _ ) ; pub const STATUS_PARITY_ERROR : NTSTATUS = NTSTATUS ( -1073741781i32 as _ ) ; pub const STATUS_PARTIAL_COPY : NTSTATUS = NTSTATUS ( -2147483635i32 as _ ) ; pub const STATUS_PARTITION_FAILURE : NTSTATUS = NTSTATUS ( -1073741454i32 as _ ) ; pub const STATUS_PARTITION_TERMINATING : NTSTATUS = NTSTATUS ( -1073740640i32 as _ ) ; pub const STATUS_PASSWORD_CHANGE_REQUIRED : NTSTATUS = NTSTATUS ( -1073741044i32 as _ ) ; pub const STATUS_PASSWORD_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741716i32 as _ ) ; pub const STATUS_PATCH_CONFLICT : NTSTATUS = NTSTATUS ( -1073740628i32 as _ ) ; pub const STATUS_PATCH_DEFERRED : NTSTATUS = NTSTATUS ( 1073741879i32 as _ ) ; pub const STATUS_PATH_NOT_COVERED : NTSTATUS = NTSTATUS ( -1073741225i32 as _ ) ; pub const STATUS_PCP_ATTESTATION_CHALLENGE_NOT_SET : NTSTATUS = NTSTATUS ( -1071046638i32 as _ ) ; pub const STATUS_PCP_AUTHENTICATION_FAILED : NTSTATUS = NTSTATUS ( -1071046648i32 as _ ) ; pub const STATUS_PCP_AUTHENTICATION_IGNORED : NTSTATUS = NTSTATUS ( -1071046647i32 as _ ) ; pub const STATUS_PCP_BUFFER_LENGTH_MISMATCH : NTSTATUS = NTSTATUS ( -1071046626i32 as _ ) ; pub const STATUS_PCP_BUFFER_TOO_SMALL : NTSTATUS = NTSTATUS ( -1071046650i32 as _ ) ; pub const STATUS_PCP_CLAIM_TYPE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046628i32 as _ ) ; pub const STATUS_PCP_DEVICE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071046643i32 as _ ) ; pub const STATUS_PCP_DEVICE_NOT_READY : NTSTATUS = NTSTATUS ( -1071046655i32 as _ ) ; pub const STATUS_PCP_ERROR_MASK : NTSTATUS = NTSTATUS ( -1071046656i32 as _ ) ; pub const STATUS_PCP_FLAG_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046652i32 as _ ) ; pub const STATUS_PCP_IFX_RSA_KEY_CREATION_BLOCKED : NTSTATUS = NTSTATUS ( -1071046625i32 as _ ) ; pub const STATUS_PCP_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071046649i32 as _ ) ; pub const STATUS_PCP_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1071046654i32 as _ ) ; pub const STATUS_PCP_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1071046653i32 as _ ) ; pub const STATUS_PCP_KEY_ALREADY_FINALIZED : NTSTATUS = NTSTATUS ( -1071046636i32 as _ ) ; pub const STATUS_PCP_KEY_HANDLE_INVALIDATED : NTSTATUS = NTSTATUS ( -1071046622i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_AIK : NTSTATUS = NTSTATUS ( -1071046631i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_AUTHENTICATED : NTSTATUS = NTSTATUS ( -1071046632i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_FINALIZED : NTSTATUS = NTSTATUS ( -1071046639i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_LOADED : NTSTATUS = NTSTATUS ( -1071046641i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_SIGNING_KEY : NTSTATUS = NTSTATUS ( -1071046630i32 as _ ) ; pub const STATUS_PCP_KEY_USAGE_POLICY_INVALID : NTSTATUS = NTSTATUS ( -1071046634i32 as _ ) ; pub const STATUS_PCP_KEY_USAGE_POLICY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046635i32 as _ ) ; pub const STATUS_PCP_LOCKED_OUT : NTSTATUS = NTSTATUS ( -1071046629i32 as _ ) ; pub const STATUS_PCP_NOT_PCR_BOUND : NTSTATUS = NTSTATUS ( -1071046637i32 as _ ) ; pub const STATUS_PCP_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046651i32 as _ ) ; pub const STATUS_PCP_NO_KEY_CERTIFICATION : NTSTATUS = NTSTATUS ( -1071046640i32 as _ ) ; pub const STATUS_PCP_POLICY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071046646i32 as _ ) ; pub const STATUS_PCP_PROFILE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071046645i32 as _ ) ; pub const STATUS_PCP_RAW_POLICY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046623i32 as _ ) ; pub const STATUS_PCP_SOFT_KEY_ERROR : NTSTATUS = NTSTATUS ( -1071046633i32 as _ ) ; pub const STATUS_PCP_TICKET_MISSING : NTSTATUS = NTSTATUS ( -1071046624i32 as _ ) ; pub const STATUS_PCP_TPM_VERSION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046627i32 as _ ) ; pub const STATUS_PCP_UNSUPPORTED_PSS_SALT : NTSTATUS = NTSTATUS ( 1076437027i32 as _ ) ; pub const STATUS_PCP_VALIDATION_FAILED : NTSTATUS = NTSTATUS ( -1071046644i32 as _ ) ; pub const STATUS_PCP_WRONG_PARENT : NTSTATUS = NTSTATUS ( -1071046642i32 as _ ) ; pub const STATUS_PENDING : NTSTATUS = NTSTATUS ( 259i32 as _ ) ; pub const STATUS_PER_USER_TRUST_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073740799i32 as _ ) ; pub const STATUS_PIPE_BROKEN : NTSTATUS = NTSTATUS ( -1073741493i32 as _ ) ; pub const STATUS_PIPE_BUSY : NTSTATUS = NTSTATUS ( -1073741650i32 as _ ) ; pub const STATUS_PIPE_CLOSING : NTSTATUS = NTSTATUS ( -1073741647i32 as _ ) ; pub const STATUS_PIPE_CONNECTED : NTSTATUS = NTSTATUS ( -1073741646i32 as _ ) ; pub const STATUS_PIPE_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073741648i32 as _ ) ; pub const STATUS_PIPE_EMPTY : NTSTATUS = NTSTATUS ( -1073741607i32 as _ ) ; pub const STATUS_PIPE_LISTENING : NTSTATUS = NTSTATUS ( -1073741645i32 as _ ) ; pub const STATUS_PIPE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073741652i32 as _ ) ; pub const STATUS_PKINIT_CLIENT_FAILURE : NTSTATUS = NTSTATUS ( -1073740916i32 as _ ) ; pub const STATUS_PKINIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741024i32 as _ ) ; pub const STATUS_PKINIT_NAME_MISMATCH : NTSTATUS = NTSTATUS ( -1073741063i32 as _ ) ; pub const STATUS_PKU2U_CERT_FAILURE : NTSTATUS = NTSTATUS ( -1073740753i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_BINARY_ID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1058340859i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_CATALOG_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1058340860i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_FILE_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1058340861i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_INVALID : NTSTATUS = NTSTATUS ( -1058340862i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1058340858i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1058340863i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_NOT_SIGNED : NTSTATUS = NTSTATUS ( -1058340857i32 as _ ) ; pub const STATUS_PLUGPLAY_NO_DEVICE : NTSTATUS = NTSTATUS ( -1073741218i32 as _ ) ; pub const STATUS_PLUGPLAY_QUERY_VETOED : NTSTATUS = NTSTATUS ( -2147483608i32 as _ ) ; pub const STATUS_PNP_BAD_MPS_TABLE : NTSTATUS = NTSTATUS ( -1073479627i32 as _ ) ; pub const STATUS_PNP_DEVICE_CONFIGURATION_PENDING : NTSTATUS = NTSTATUS ( -1073740651i32 as _ ) ; pub const STATUS_PNP_DRIVER_CONFIGURATION_INCOMPLETE : NTSTATUS = NTSTATUS ( -1073740653i32 as _ ) ; pub const STATUS_PNP_DRIVER_CONFIGURATION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073740654i32 as _ ) ; pub const STATUS_PNP_DRIVER_PACKAGE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073740655i32 as _ ) ; pub const STATUS_PNP_FUNCTION_DRIVER_REQUIRED : NTSTATUS = NTSTATUS ( -1073740652i32 as _ ) ; pub const STATUS_PNP_INVALID_ID : NTSTATUS = NTSTATUS ( -1073479624i32 as _ ) ; pub const STATUS_PNP_IRQ_TRANSLATION_FAILED : NTSTATUS = NTSTATUS ( -1073479625i32 as _ ) ; pub const STATUS_PNP_NO_COMPAT_DRIVERS : NTSTATUS = NTSTATUS ( -1073740656i32 as _ ) ; pub const STATUS_PNP_REBOOT_REQUIRED : NTSTATUS = NTSTATUS ( -1073741102i32 as _ ) ; pub const STATUS_PNP_RESTART_ENUMERATION : NTSTATUS = NTSTATUS ( -1073741106i32 as _ ) ; pub const STATUS_PNP_TRANSLATION_FAILED : NTSTATUS = NTSTATUS ( -1073479626i32 as _ ) ; pub const STATUS_POLICY_OBJECT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741158i32 as _ ) ; pub const STATUS_POLICY_ONLY_IN_DS : NTSTATUS = NTSTATUS ( -1073741157i32 as _ ) ; pub const STATUS_PORT_ALREADY_HAS_COMPLETION_LIST : NTSTATUS = NTSTATUS ( -1073740006i32 as _ ) ; pub const STATUS_PORT_ALREADY_SET : NTSTATUS = NTSTATUS ( -1073741752i32 as _ ) ; pub const STATUS_PORT_CLOSED : NTSTATUS = NTSTATUS ( -1073740032i32 as _ ) ; pub const STATUS_PORT_CONNECTION_REFUSED : NTSTATUS = NTSTATUS ( -1073741759i32 as _ ) ; pub const STATUS_PORT_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073741769i32 as _ ) ; pub const STATUS_PORT_DO_NOT_DISTURB : NTSTATUS = NTSTATUS ( -1073741770i32 as _ ) ; pub const STATUS_PORT_MESSAGE_TOO_LONG : NTSTATUS = NTSTATUS ( -1073741777i32 as _ ) ; pub const STATUS_PORT_NOT_SET : NTSTATUS = NTSTATUS ( -1073740973i32 as _ ) ; pub const STATUS_PORT_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073741249i32 as _ ) ; pub const STATUS_POSSIBLE_DEADLOCK : NTSTATUS = NTSTATUS ( -1073741420i32 as _ ) ; pub const STATUS_POWER_STATE_INVALID : NTSTATUS = NTSTATUS ( -1073741101i32 as _ ) ; pub const STATUS_PREDEFINED_HANDLE : NTSTATUS = NTSTATUS ( 1073741846i32 as _ ) ; pub const STATUS_PRENT4_MACHINE_ACCOUNT : NTSTATUS = NTSTATUS ( -1073740969i32 as _ ) ; pub const STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED : NTSTATUS = NTSTATUS ( 270i32 as _ ) ; pub const STATUS_PRINT_CANCELLED : NTSTATUS = NTSTATUS ( -1073741624i32 as _ ) ; pub const STATUS_PRINT_QUEUE_FULL : NTSTATUS = NTSTATUS ( -1073741626i32 as _ ) ; pub const STATUS_PRIVILEGED_INSTRUCTION : NTSTATUS = NTSTATUS ( -1073741674i32 as _ ) ; pub const STATUS_PRIVILEGE_NOT_HELD : NTSTATUS = NTSTATUS ( -1073741727i32 as _ ) ; pub const STATUS_PROACTIVE_SCAN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073739761i32 as _ ) ; pub const STATUS_PROCEDURE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741702i32 as _ ) ; pub const STATUS_PROCESS_CLONED : NTSTATUS = NTSTATUS ( 297i32 as _ ) ; pub const STATUS_PROCESS_IN_JOB : NTSTATUS = NTSTATUS ( 292i32 as _ ) ; pub const STATUS_PROCESS_IS_PROTECTED : NTSTATUS = NTSTATUS ( -1073740014i32 as _ ) ; pub const STATUS_PROCESS_IS_TERMINATING : NTSTATUS = NTSTATUS ( -1073741558i32 as _ ) ; pub const STATUS_PROCESS_NOT_IN_JOB : NTSTATUS = NTSTATUS ( 291i32 as _ ) ; pub const STATUS_PROFILING_AT_LIMIT : NTSTATUS = NTSTATUS ( -1073741613i32 as _ ) ; pub const STATUS_PROFILING_NOT_STARTED : NTSTATUS = NTSTATUS ( -1073741641i32 as _ ) ; pub const STATUS_PROFILING_NOT_STOPPED : NTSTATUS = NTSTATUS ( -1073741640i32 as _ ) ; pub const STATUS_PROPSET_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741264i32 as _ ) ; pub const STATUS_PROTOCOL_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700845i32 as _ ) ; pub const STATUS_PROTOCOL_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073741250i32 as _ ) ; pub const STATUS_PTE_CHANGED : NTSTATUS = NTSTATUS ( -1073740748i32 as _ ) ; pub const STATUS_PURGE_FAILED : NTSTATUS = NTSTATUS ( -1073740747i32 as _ ) ; pub const STATUS_PWD_HISTORY_CONFLICT : NTSTATUS = NTSTATUS ( -1073741220i32 as _ ) ; pub const STATUS_PWD_TOO_LONG : NTSTATUS = NTSTATUS ( -1073741190i32 as _ ) ; pub const STATUS_PWD_TOO_RECENT : NTSTATUS = NTSTATUS ( -1073741221i32 as _ ) ; pub const STATUS_PWD_TOO_SHORT : NTSTATUS = NTSTATUS ( -1073741222i32 as _ ) ; pub const STATUS_QUERY_STORAGE_ERROR : NTSTATUS = NTSTATUS ( -2143682559i32 as _ ) ; pub const STATUS_QUIC_HANDSHAKE_FAILURE : NTSTATUS = NTSTATUS ( -1071382528i32 as _ ) ; pub const STATUS_QUIC_VER_NEG_FAILURE : NTSTATUS = NTSTATUS ( -1071382527i32 as _ ) ; pub const STATUS_QUOTA_ACTIVITY : NTSTATUS = NTSTATUS ( -1073740662i32 as _ ) ; pub const STATUS_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741756i32 as _ ) ; pub const STATUS_QUOTA_LIST_INCONSISTENT : NTSTATUS = NTSTATUS ( -1073741210i32 as _ ) ; pub const STATUS_QUOTA_NOT_ENABLED : NTSTATUS = NTSTATUS ( -1073741399i32 as _ ) ; pub const STATUS_RANGE_LIST_CONFLICT : NTSTATUS = NTSTATUS ( -1073741182i32 as _ ) ; pub const STATUS_RANGE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741172i32 as _ ) ; pub const STATUS_RANGE_NOT_LOCKED : NTSTATUS = NTSTATUS ( -1073741698i32 as _ ) ; pub const STATUS_RDBSS_CONTINUE_OPERATION : NTSTATUS = NTSTATUS ( -1069481982i32 as _ ) ; pub const STATUS_RDBSS_POST_OPERATION : NTSTATUS = NTSTATUS ( -1069481981i32 as _ ) ; pub const STATUS_RDBSS_RESTART_OPERATION : NTSTATUS = NTSTATUS ( -1069481983i32 as _ ) ; pub const STATUS_RDBSS_RETRY_LOOKUP : NTSTATUS = NTSTATUS ( -1069481980i32 as _ ) ; pub const STATUS_RDP_PROTOCOL_ERROR : NTSTATUS = NTSTATUS ( -1073086414i32 as _ ) ; pub const STATUS_RECEIVE_EXPEDITED : NTSTATUS = NTSTATUS ( 1073741840i32 as _ ) ; pub const STATUS_RECEIVE_PARTIAL : NTSTATUS = NTSTATUS ( 1073741839i32 as _ ) ; pub const STATUS_RECEIVE_PARTIAL_EXPEDITED : NTSTATUS = NTSTATUS ( 1073741841i32 as _ ) ; pub const STATUS_RECOVERY_FAILURE : NTSTATUS = NTSTATUS ( -1073741273i32 as _ ) ; pub const STATUS_RECOVERY_NOT_NEEDED : NTSTATUS = NTSTATUS ( 1075380276i32 as _ ) ; pub const STATUS_RECURSIVE_DISPATCH : NTSTATUS = NTSTATUS ( -1073740028i32 as _ ) ; pub const STATUS_REDIRECTOR_HAS_OPEN_HANDLES : NTSTATUS = NTSTATUS ( -2147483613i32 as _ ) ; pub const STATUS_REDIRECTOR_NOT_STARTED : NTSTATUS = NTSTATUS ( -1073741573i32 as _ ) ; pub const STATUS_REDIRECTOR_PAUSED : NTSTATUS = NTSTATUS ( -1073741615i32 as _ ) ; pub const STATUS_REDIRECTOR_STARTED : NTSTATUS = NTSTATUS ( -1073741572i32 as _ ) ; pub const STATUS_REGISTRY_CORRUPT : NTSTATUS = NTSTATUS ( -1073741492i32 as _ ) ; pub const STATUS_REGISTRY_HIVE_RECOVERED : NTSTATUS = NTSTATUS ( -2147483606i32 as _ ) ; pub const STATUS_REGISTRY_IO_FAILED : NTSTATUS = NTSTATUS ( -1073741491i32 as _ ) ; pub const STATUS_REGISTRY_QUOTA_LIMIT : NTSTATUS = NTSTATUS ( -1073741226i32 as _ ) ; pub const STATUS_REGISTRY_RECOVERED : NTSTATUS = NTSTATUS ( 1073741833i32 as _ ) ; pub const STATUS_REG_NAT_CONSUMPTION : NTSTATUS = NTSTATUS ( -1073741111i32 as _ ) ; pub const STATUS_REINITIALIZATION_NEEDED : NTSTATUS = NTSTATUS ( -1073741177i32 as _ ) ; pub const STATUS_REMOTE_DISCONNECT : NTSTATUS = NTSTATUS ( -1073741508i32 as _ ) ; pub const STATUS_REMOTE_FILE_VERSION_MISMATCH : NTSTATUS = NTSTATUS ( -1072103412i32 as _ ) ; pub const STATUS_REMOTE_NOT_LISTENING : NTSTATUS = NTSTATUS ( -1073741636i32 as _ ) ; pub const STATUS_REMOTE_RESOURCES : NTSTATUS = NTSTATUS ( -1073741507i32 as _ ) ; pub const STATUS_REMOTE_SESSION_LIMIT : NTSTATUS = NTSTATUS ( -1073741418i32 as _ ) ; pub const STATUS_REMOTE_STORAGE_MEDIA_ERROR : NTSTATUS = NTSTATUS ( -1073741154i32 as _ ) ; pub const STATUS_REMOTE_STORAGE_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1073741155i32 as _ ) ; pub const STATUS_REPAIR_NEEDED : NTSTATUS = NTSTATUS ( -1073741400i32 as _ ) ; pub const STATUS_REPARSE : NTSTATUS = NTSTATUS ( 260i32 as _ ) ; pub const STATUS_REPARSE_ATTRIBUTE_CONFLICT : NTSTATUS = NTSTATUS ( -1073741134i32 as _ ) ; pub const STATUS_REPARSE_GLOBAL : NTSTATUS = NTSTATUS ( 872i32 as _ ) ; pub const STATUS_REPARSE_OBJECT : NTSTATUS = NTSTATUS ( 280i32 as _ ) ; pub const STATUS_REPARSE_POINT_ENCOUNTERED : NTSTATUS = NTSTATUS ( -1073740533i32 as _ ) ; pub const STATUS_REPARSE_POINT_NOT_RESOLVED : NTSTATUS = NTSTATUS ( -1073741184i32 as _ ) ; pub const STATUS_REPLY_MESSAGE_MISMATCH : NTSTATUS = NTSTATUS ( -1073741281i32 as _ ) ; pub const STATUS_REQUEST_ABORTED : NTSTATUS = NTSTATUS ( -1073741248i32 as _ ) ; pub const STATUS_REQUEST_CANCELED : NTSTATUS = NTSTATUS ( -1073740029i32 as _ ) ; pub const STATUS_REQUEST_NOT_ACCEPTED : NTSTATUS = NTSTATUS ( -1073741616i32 as _ ) ; pub const STATUS_REQUEST_OUT_OF_SEQUENCE : NTSTATUS = NTSTATUS ( -1073740758i32 as _ ) ; pub const STATUS_REQUEST_PAUSED : NTSTATUS = NTSTATUS ( -1073740711i32 as _ ) ; pub const STATUS_RESIDENT_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740678i32 as _ ) ; pub const STATUS_RESOURCEMANAGER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103345i32 as _ ) ; pub const STATUS_RESOURCEMANAGER_READ_ONLY : NTSTATUS = NTSTATUS ( 514i32 as _ ) ; pub const STATUS_RESOURCE_DATA_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741687i32 as _ ) ; pub const STATUS_RESOURCE_ENUM_USER_STOP : NTSTATUS = NTSTATUS ( -1073020921i32 as _ ) ; pub const STATUS_RESOURCE_IN_USE : NTSTATUS = NTSTATUS ( -1073740024i32 as _ ) ; pub const STATUS_RESOURCE_LANG_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741308i32 as _ ) ; pub const STATUS_RESOURCE_NAME_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741685i32 as _ ) ; pub const STATUS_RESOURCE_NOT_OWNED : NTSTATUS = NTSTATUS ( -1073741212i32 as _ ) ; pub const STATUS_RESOURCE_REQUIREMENTS_CHANGED : NTSTATUS = NTSTATUS ( 281i32 as _ ) ; pub const STATUS_RESOURCE_TYPE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741686i32 as _ ) ; pub const STATUS_RESTART_BOOT_APPLICATION : NTSTATUS = NTSTATUS ( -1073740717i32 as _ ) ; pub const STATUS_RESUME_HIBERNATION : NTSTATUS = NTSTATUS ( 1073741867i32 as _ ) ; pub const STATUS_RETRY : NTSTATUS = NTSTATUS ( -1073741267i32 as _ ) ; pub const STATUS_RETURN_ADDRESS_HIJACK_ATTEMPT : NTSTATUS = NTSTATUS ( -2147483597i32 as _ ) ; pub const STATUS_REVISION_MISMATCH : NTSTATUS = NTSTATUS ( -1073741735i32 as _ ) ; pub const STATUS_REVOCATION_OFFLINE_C : NTSTATUS = NTSTATUS ( -1073740917i32 as _ ) ; pub const STATUS_REVOCATION_OFFLINE_KDC : NTSTATUS = NTSTATUS ( -1073740788i32 as _ ) ; pub const STATUS_RING_NEWLY_EMPTY : NTSTATUS = NTSTATUS ( 531i32 as _ ) ; pub const STATUS_RING_PREVIOUSLY_ABOVE_QUOTA : NTSTATUS = NTSTATUS ( 530i32 as _ ) ; pub const STATUS_RING_PREVIOUSLY_EMPTY : NTSTATUS = NTSTATUS ( 528i32 as _ ) ; pub const STATUS_RING_PREVIOUSLY_FULL : NTSTATUS = NTSTATUS ( 529i32 as _ ) ; pub const STATUS_RING_SIGNAL_OPPOSITE_ENDPOINT : NTSTATUS = NTSTATUS ( 532i32 as _ ) ; pub const STATUS_RKF_ACTIVE_KEY : NTSTATUS = NTSTATUS ( -1069547514i32 as _ ) ; pub const STATUS_RKF_BLOB_FULL : NTSTATUS = NTSTATUS ( -1069547517i32 as _ ) ; pub const STATUS_RKF_DUPLICATE_KEY : NTSTATUS = NTSTATUS ( -1069547518i32 as _ ) ; pub const STATUS_RKF_FILE_BLOCKED : NTSTATUS = NTSTATUS ( -1069547515i32 as _ ) ; pub const STATUS_RKF_KEY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069547519i32 as _ ) ; pub const STATUS_RKF_STORE_FULL : NTSTATUS = NTSTATUS ( -1069547516i32 as _ ) ; pub const STATUS_RM_ALREADY_STARTED : NTSTATUS = NTSTATUS ( 1075380277i32 as _ ) ; pub const STATUS_RM_CANNOT_BE_FROZEN_FOR_SNAPSHOT : NTSTATUS = NTSTATUS ( -1072103331i32 as _ ) ; pub const STATUS_RM_DISCONNECTED : NTSTATUS = NTSTATUS ( -1072103374i32 as _ ) ; pub const STATUS_RM_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1072103418i32 as _ ) ; pub const STATUS_RM_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1072103419i32 as _ ) ; pub const STATUS_ROLLBACK_TIMER_EXPIRED : NTSTATUS = NTSTATUS ( -1072103364i32 as _ ) ; pub const STATUS_RTPM_CONTEXT_COMPLETE : NTSTATUS = NTSTATUS ( 2699265i32 as _ ) ; pub const STATUS_RTPM_CONTEXT_CONTINUE : NTSTATUS = NTSTATUS ( 2699264i32 as _ ) ; pub const STATUS_RTPM_INVALID_CONTEXT : NTSTATUS = NTSTATUS ( -1071042556i32 as _ ) ; pub const STATUS_RTPM_NO_RESULT : NTSTATUS = NTSTATUS ( -1071042558i32 as _ ) ; pub const STATUS_RTPM_PCR_READ_INCOMPLETE : NTSTATUS = NTSTATUS ( -1071042557i32 as _ ) ; pub const STATUS_RTPM_UNSUPPORTED_CMD : NTSTATUS = NTSTATUS ( -1071042555i32 as _ ) ; pub const STATUS_RUNLEVEL_SWITCH_AGENT_TIMEOUT : NTSTATUS = NTSTATUS ( -1073700539i32 as _ ) ; pub const STATUS_RUNLEVEL_SWITCH_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073700538i32 as _ ) ; pub const STATUS_RUNLEVEL_SWITCH_TIMEOUT : NTSTATUS = NTSTATUS ( -1073700541i32 as _ ) ; pub const STATUS_RWRAW_ENCRYPTED_FILE_NOT_ENCRYPTED : NTSTATUS = NTSTATUS ( -1073740633i32 as _ ) ; pub const STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILEOFFSET : NTSTATUS = NTSTATUS ( -1073740632i32 as _ ) ; pub const STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILERANGE : NTSTATUS = NTSTATUS ( -1073740631i32 as _ ) ; pub const STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_PARAMETER : NTSTATUS = NTSTATUS ( -1073740630i32 as _ ) ; pub const STATUS_RXACT_COMMITTED : NTSTATUS = NTSTATUS ( 266i32 as _ ) ; pub const STATUS_RXACT_COMMIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741539i32 as _ ) ; pub const STATUS_RXACT_COMMIT_NECESSARY : NTSTATUS = NTSTATUS ( -2147483624i32 as _ ) ; pub const STATUS_RXACT_INVALID_STATE : NTSTATUS = NTSTATUS ( -1073741540i32 as _ ) ; pub const STATUS_RXACT_STATE_CREATED : NTSTATUS = NTSTATUS ( 1073741828i32 as _ ) ; pub const STATUS_SAM_INIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741085i32 as _ ) ; pub const STATUS_SAM_NEED_BOOTKEY_FLOPPY : NTSTATUS = NTSTATUS ( -1073741088i32 as _ ) ; pub const STATUS_SAM_NEED_BOOTKEY_PASSWORD : NTSTATUS = NTSTATUS ( -1073741089i32 as _ ) ; pub const STATUS_SCRUB_DATA_DISABLED : NTSTATUS = NTSTATUS ( -1073740680i32 as _ ) ; pub const STATUS_SECCORE_INVALID_COMMAND : NTSTATUS = NTSTATUS ( -1058537472i32 as _ ) ; pub const STATUS_SECONDARY_IC_PROVIDER_NOT_REGISTERED : NTSTATUS = NTSTATUS ( -1073700575i32 as _ ) ; pub const STATUS_SECRET_TOO_LONG : NTSTATUS = NTSTATUS ( -1073741481i32 as _ ) ; pub const STATUS_SECTION_NOT_EXTENDED : NTSTATUS = NTSTATUS ( -1073741689i32 as _ ) ; pub const STATUS_SECTION_NOT_IMAGE : NTSTATUS = NTSTATUS ( -1073741751i32 as _ ) ; pub const STATUS_SECTION_PROTECTION : NTSTATUS = NTSTATUS ( -1073741746i32 as _ ) ; pub const STATUS_SECTION_TOO_BIG : NTSTATUS = NTSTATUS ( -1073741760i32 as _ ) ; pub const STATUS_SECUREBOOT_FILE_REPLACED : NTSTATUS = NTSTATUS ( -1069350905i32 as _ ) ; pub const STATUS_SECUREBOOT_INVALID_POLICY : NTSTATUS = NTSTATUS ( -1069350909i32 as _ ) ; pub const STATUS_SECUREBOOT_NOT_BASE_POLICY : NTSTATUS = NTSTATUS ( -1069350897i32 as _ ) ; pub const STATUS_SECUREBOOT_NOT_ENABLED : NTSTATUS = NTSTATUS ( -2143092730i32 as _ ) ; pub const STATUS_SECUREBOOT_NOT_SUPPLEMENTAL_POLICY : NTSTATUS = NTSTATUS ( -1069350896i32 as _ ) ; pub const STATUS_SECUREBOOT_PLATFORM_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1069350901i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_MISSING_ANTIROLLBACKVERSION : NTSTATUS = NTSTATUS ( -1069350902i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1069350904i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_NOT_SIGNED : NTSTATUS = NTSTATUS ( -1069350907i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_PUBLISHER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069350908i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_ROLLBACK_DETECTED : NTSTATUS = NTSTATUS ( -1069350900i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_UNKNOWN : NTSTATUS = NTSTATUS ( -1069350903i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_UPGRADE_MISMATCH : NTSTATUS = NTSTATUS ( -1069350899i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_VIOLATION : NTSTATUS = NTSTATUS ( -1069350910i32 as _ ) ; pub const STATUS_SECUREBOOT_REQUIRED_POLICY_FILE_MISSING : NTSTATUS = NTSTATUS ( -1069350898i32 as _ ) ; pub const STATUS_SECUREBOOT_ROLLBACK_DETECTED : NTSTATUS = NTSTATUS ( -1069350911i32 as _ ) ; pub const STATUS_SECURITY_STREAM_IS_INCONSISTENT : NTSTATUS = NTSTATUS ( -1073741408i32 as _ ) ; pub const STATUS_SEGMENT_NOTIFICATION : NTSTATUS = NTSTATUS ( 1073741829i32 as _ ) ; pub const STATUS_SEMAPHORE_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741753i32 as _ ) ; pub const STATUS_SERIAL_COUNTER_TIMEOUT : NTSTATUS = NTSTATUS ( 1073741836i32 as _ ) ; pub const STATUS_SERIAL_MORE_WRITES : NTSTATUS = NTSTATUS ( 1073741832i32 as _ ) ; pub const STATUS_SERIAL_NO_DEVICE_INITED : NTSTATUS = NTSTATUS ( -1073741488i32 as _ ) ; pub const STATUS_SERVER_DISABLED : NTSTATUS = NTSTATUS ( -1073741696i32 as _ ) ; pub const STATUS_SERVER_HAS_OPEN_HANDLES : NTSTATUS = NTSTATUS ( -2147483612i32 as _ ) ; pub const STATUS_SERVER_NOT_DISABLED : NTSTATUS = NTSTATUS ( -1073741695i32 as _ ) ; pub const STATUS_SERVER_SHUTDOWN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073741057i32 as _ ) ; pub const STATUS_SERVER_SID_MISMATCH : NTSTATUS = NTSTATUS ( -1073741152i32 as _ ) ; pub const STATUS_SERVER_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073740698i32 as _ ) ; pub const STATUS_SERVICES_FAILED_AUTOSTART : NTSTATUS = NTSTATUS ( 1073783108i32 as _ ) ; pub const STATUS_SERVICE_NOTIFICATION : NTSTATUS = NTSTATUS ( 1073741848i32 as _ ) ; pub const STATUS_SETMARK_DETECTED : NTSTATUS = NTSTATUS ( -2147483615i32 as _ ) ; pub const STATUS_SET_CONTEXT_DENIED : NTSTATUS = NTSTATUS ( -1073740278i32 as _ ) ; pub const STATUS_SEVERITY_ERROR : u32 = 3u32 ; pub const STATUS_SEVERITY_INFORMATIONAL : u32 = 1u32 ; pub const STATUS_SEVERITY_SUCCESS : u32 = 0u32 ; pub const STATUS_SEVERITY_WARNING : u32 = 2u32 ; pub const STATUS_SHARED_IRQ_BUSY : NTSTATUS = NTSTATUS ( -1073741460i32 as _ ) ; pub const STATUS_SHARED_POLICY : NTSTATUS = NTSTATUS ( -1073741159i32 as _ ) ; pub const STATUS_SHARE_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073740672i32 as _ ) ; pub const STATUS_SHARING_PAUSED : NTSTATUS = NTSTATUS ( -1073741617i32 as _ ) ; pub const STATUS_SHARING_VIOLATION : NTSTATUS = NTSTATUS ( -1073741757i32 as _ ) ; pub const STATUS_SHORT_NAMES_NOT_ENABLED_ON_VOLUME : NTSTATUS = NTSTATUS ( -1073741409i32 as _ ) ; pub const STATUS_SHUTDOWN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073741058i32 as _ ) ; pub const STATUS_SINGLE_STEP : NTSTATUS = NTSTATUS ( -2147483644i32 as _ ) ; pub const STATUS_SMARTCARD_CARD_BLOCKED : NTSTATUS = NTSTATUS ( -1073740927i32 as _ ) ; pub const STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED : NTSTATUS = NTSTATUS ( -1073740926i32 as _ ) ; pub const STATUS_SMARTCARD_CERT_EXPIRED : NTSTATUS = NTSTATUS ( -1073740915i32 as _ ) ; pub const STATUS_SMARTCARD_CERT_REVOKED : NTSTATUS = NTSTATUS ( -1073740919i32 as _ ) ; pub const STATUS_SMARTCARD_IO_ERROR : NTSTATUS = NTSTATUS ( -1073740921i32 as _ ) ; pub const STATUS_SMARTCARD_LOGON_REQUIRED : NTSTATUS = NTSTATUS ( -1073741062i32 as _ ) ; pub const STATUS_SMARTCARD_NO_CARD : NTSTATUS = NTSTATUS ( -1073740925i32 as _ ) ; pub const STATUS_SMARTCARD_NO_CERTIFICATE : NTSTATUS = NTSTATUS ( -1073740923i32 as _ ) ; pub const STATUS_SMARTCARD_NO_KEYSET : NTSTATUS = NTSTATUS ( -1073740922i32 as _ ) ; pub const STATUS_SMARTCARD_NO_KEY_CONTAINER : NTSTATUS = NTSTATUS ( -1073740924i32 as _ ) ; pub const STATUS_SMARTCARD_SILENT_CONTEXT : NTSTATUS = NTSTATUS ( -1073740913i32 as _ ) ; pub const STATUS_SMARTCARD_SUBSYSTEM_FAILURE : NTSTATUS = NTSTATUS ( -1073741023i32 as _ ) ; pub const STATUS_SMARTCARD_WRONG_PIN : NTSTATUS = NTSTATUS ( -1073740928i32 as _ ) ; pub const STATUS_SMB1_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073740525i32 as _ ) ; pub const STATUS_SMB_BAD_CLUSTER_DIALECT : NTSTATUS = NTSTATUS ( -1067646975i32 as _ ) ; pub const STATUS_SMB_GUEST_LOGON_BLOCKED : NTSTATUS = NTSTATUS ( -1067646974i32 as _ ) ; pub const STATUS_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP : NTSTATUS = NTSTATUS ( -1067646976i32 as _ ) ; pub const STATUS_SMI_PRIMITIVE_INSTALLER_FAILED : NTSTATUS = NTSTATUS ( -1072365531i32 as _ ) ; pub const STATUS_SMR_GARBAGE_COLLECTION_REQUIRED : NTSTATUS = NTSTATUS ( -1073740524i32 as _ ) ; pub const STATUS_SOME_NOT_MAPPED : NTSTATUS = NTSTATUS ( 263i32 as _ ) ; pub const STATUS_SOURCE_ELEMENT_EMPTY : NTSTATUS = NTSTATUS ( -1073741181i32 as _ ) ; pub const STATUS_SPACES_ALLOCATION_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1058602994i32 as _ ) ; pub const STATUS_SPACES_COMPLETE : NTSTATUS = NTSTATUS ( 15138818i32 as _ ) ; pub const STATUS_SPACES_CORRUPT_METADATA : NTSTATUS = NTSTATUS ( -1058602986i32 as _ ) ; pub const STATUS_SPACES_DRIVE_LOST_DATA : NTSTATUS = NTSTATUS ( -1058602979i32 as _ ) ; pub const STATUS_SPACES_DRIVE_NOT_READY : NTSTATUS = NTSTATUS ( -1058602981i32 as _ ) ; pub const STATUS_SPACES_DRIVE_OPERATIONAL_STATE_INVALID : NTSTATUS = NTSTATUS ( -1058602990i32 as _ ) ; pub const STATUS_SPACES_DRIVE_REDUNDANCY_INVALID : NTSTATUS = NTSTATUS ( -1058603002i32 as _ ) ; pub const STATUS_SPACES_DRIVE_SECTOR_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1058603004i32 as _ ) ; pub const STATUS_SPACES_DRIVE_SPLIT : NTSTATUS = NTSTATUS ( -1058602980i32 as _ ) ; pub const STATUS_SPACES_DRT_FULL : NTSTATUS = NTSTATUS ( -1058602985i32 as _ ) ; pub const STATUS_SPACES_ENCLOSURE_AWARE_INVALID : NTSTATUS = NTSTATUS ( -1058602993i32 as _ ) ; pub const STATUS_SPACES_ENTRY_INCOMPLETE : NTSTATUS = NTSTATUS ( -1058602978i32 as _ ) ; pub const STATUS_SPACES_ENTRY_INVALID : NTSTATUS = NTSTATUS ( -1058602977i32 as _ ) ; pub const STATUS_SPACES_EXTENDED_ERROR : NTSTATUS = NTSTATUS ( -1058602996i32 as _ ) ; pub const STATUS_SPACES_FAULT_DOMAIN_TYPE_INVALID : NTSTATUS = NTSTATUS ( -1058603007i32 as _ ) ; pub const STATUS_SPACES_INCONSISTENCY : NTSTATUS = NTSTATUS ( -1058602984i32 as _ ) ; pub const STATUS_SPACES_INTERLEAVE_LENGTH_INVALID : NTSTATUS = NTSTATUS ( -1058602999i32 as _ ) ; pub const STATUS_SPACES_LOG_NOT_READY : NTSTATUS = NTSTATUS ( -1058602983i32 as _ ) ; pub const STATUS_SPACES_MAP_REQUIRED : NTSTATUS = NTSTATUS ( -1058602988i32 as _ ) ; pub const STATUS_SPACES_MARK_DIRTY : NTSTATUS = NTSTATUS ( -1058602976i32 as _ ) ; pub const STATUS_SPACES_NOT_ENOUGH_DRIVES : NTSTATUS = NTSTATUS ( -1058602997i32 as _ ) ; pub const STATUS_SPACES_NO_REDUNDANCY : NTSTATUS = NTSTATUS ( -1058602982i32 as _ ) ; pub const STATUS_SPACES_NUMBER_OF_COLUMNS_INVALID : NTSTATUS = NTSTATUS ( -1058602998i32 as _ ) ; pub const STATUS_SPACES_NUMBER_OF_DATA_COPIES_INVALID : NTSTATUS = NTSTATUS ( -1058603001i32 as _ ) ; pub const STATUS_SPACES_NUMBER_OF_GROUPS_INVALID : NTSTATUS = NTSTATUS ( -1058602991i32 as _ ) ; pub const STATUS_SPACES_PAUSE : NTSTATUS = NTSTATUS ( 15138817i32 as _ ) ; pub const STATUS_SPACES_PROVISIONING_TYPE_INVALID : NTSTATUS = NTSTATUS ( -1058602995i32 as _ ) ; pub const STATUS_SPACES_REDIRECT : NTSTATUS = NTSTATUS ( 15138819i32 as _ ) ; pub const STATUS_SPACES_REPAIRED : NTSTATUS = NTSTATUS ( 15138816i32 as _ ) ; pub const STATUS_SPACES_RESILIENCY_TYPE_INVALID : NTSTATUS = NTSTATUS ( -1058603005i32 as _ ) ; pub const STATUS_SPACES_UNSUPPORTED_VERSION : NTSTATUS = NTSTATUS ( -1058602987i32 as _ ) ; pub const STATUS_SPACES_UPDATE_COLUMN_STATE : NTSTATUS = NTSTATUS ( -1058602989i32 as _ ) ; pub const STATUS_SPACES_WRITE_CACHE_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1058602992i32 as _ ) ; pub const STATUS_SPARSE_NOT_ALLOWED_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103351i32 as _ ) ; pub const STATUS_SPECIAL_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741532i32 as _ ) ; pub const STATUS_SPECIAL_GROUP : NTSTATUS = NTSTATUS ( -1073741531i32 as _ ) ; pub const STATUS_SPECIAL_USER : NTSTATUS = NTSTATUS ( -1073741530i32 as _ ) ; pub const STATUS_STACK_BUFFER_OVERRUN : NTSTATUS = NTSTATUS ( -1073740791i32 as _ ) ; pub const STATUS_STACK_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741571i32 as _ ) ; pub const STATUS_STACK_OVERFLOW_READ : NTSTATUS = NTSTATUS ( -1073741272i32 as _ ) ; pub const STATUS_STOPPED_ON_SYMLINK : NTSTATUS = NTSTATUS ( -2147483603i32 as _ ) ; pub const STATUS_STORAGE_LOST_DATA_PERSISTENCE : NTSTATUS = NTSTATUS ( -1073740642i32 as _ ) ; pub const STATUS_STORAGE_RESERVE_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1073740625i32 as _ ) ; pub const STATUS_STORAGE_RESERVE_DOES_NOT_EXIST : NTSTATUS = NTSTATUS ( -1073740626i32 as _ ) ; pub const STATUS_STORAGE_RESERVE_ID_INVALID : NTSTATUS = NTSTATUS ( -1073740627i32 as _ ) ; pub const STATUS_STORAGE_RESERVE_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1073740624i32 as _ ) ; pub const STATUS_STORAGE_TOPOLOGY_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1073740666i32 as _ ) ; pub const STATUS_STOWED_EXCEPTION : NTSTATUS = NTSTATUS ( -1073741189i32 as _ ) ; pub const STATUS_STREAM_MINIVERSION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103390i32 as _ ) ; pub const STATUS_STREAM_MINIVERSION_NOT_VALID : NTSTATUS = NTSTATUS ( -1072103389i32 as _ ) ; pub const STATUS_STRICT_CFG_VIOLATION : NTSTATUS = NTSTATUS ( -1073740282i32 as _ ) ; pub const STATUS_STRONG_CRYPTO_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741066i32 as _ ) ; pub const STATUS_SUCCESS : NTSTATUS = NTSTATUS ( 0i32 as _ ) ; pub const STATUS_SUSPEND_COUNT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741750i32 as _ ) ; pub const STATUS_SVHDX_ERROR_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1067647232i32 as _ ) ; pub const STATUS_SVHDX_ERROR_STORED : NTSTATUS = NTSTATUS ( -1067712512i32 as _ ) ; pub const STATUS_SVHDX_NO_INITIATOR : NTSTATUS = NTSTATUS ( -1067647221i32 as _ ) ; pub const STATUS_SVHDX_RESERVATION_CONFLICT : NTSTATUS = NTSTATUS ( -1067647225i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_AVAILABLE : NTSTATUS = NTSTATUS ( -1067647231i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_CAPACITY_DATA_CHANGED : NTSTATUS = NTSTATUS ( -1067647230i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_OPERATING_DEFINITION_CHANGED : NTSTATUS = NTSTATUS ( -1067647226i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_REGISTRATIONS_PREEMPTED : NTSTATUS = NTSTATUS ( -1067647227i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_RESERVATIONS_PREEMPTED : NTSTATUS = NTSTATUS ( -1067647229i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_RESERVATIONS_RELEASED : NTSTATUS = NTSTATUS ( -1067647228i32 as _ ) ; pub const STATUS_SVHDX_VERSION_MISMATCH : NTSTATUS = NTSTATUS ( -1067647223i32 as _ ) ; pub const STATUS_SVHDX_WRONG_FILE_TYPE : NTSTATUS = NTSTATUS ( -1067647224i32 as _ ) ; pub const STATUS_SXS_ACTIVATION_CONTEXT_DISABLED : NTSTATUS = NTSTATUS ( -1072365561i32 as _ ) ; pub const STATUS_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT : NTSTATUS = NTSTATUS ( -1072365538i32 as _ ) ; pub const STATUS_SXS_ASSEMBLY_MISSING : NTSTATUS = NTSTATUS ( -1072365556i32 as _ ) ; pub const STATUS_SXS_ASSEMBLY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072365564i32 as _ ) ; pub const STATUS_SXS_CANT_GEN_ACTCTX : NTSTATUS = NTSTATUS ( -1072365566i32 as _ ) ; pub const STATUS_SXS_COMPONENT_STORE_CORRUPT : NTSTATUS = NTSTATUS ( -1072365542i32 as _ ) ; pub const STATUS_SXS_CORRUPTION : NTSTATUS = NTSTATUS ( -1072365547i32 as _ ) ; pub const STATUS_SXS_CORRUPT_ACTIVATION_STACK : NTSTATUS = NTSTATUS ( -1072365548i32 as _ ) ; pub const STATUS_SXS_EARLY_DEACTIVATION : NTSTATUS = NTSTATUS ( -1072365553i32 as _ ) ; pub const STATUS_SXS_FILE_HASH_MISMATCH : NTSTATUS = NTSTATUS ( -1072365541i32 as _ ) ; pub const STATUS_SXS_FILE_HASH_MISSING : NTSTATUS = NTSTATUS ( -1072365529i32 as _ ) ; pub const STATUS_SXS_FILE_NOT_PART_OF_ASSEMBLY : NTSTATUS = NTSTATUS ( -1072365537i32 as _ ) ; pub const STATUS_SXS_IDENTITIES_DIFFERENT : NTSTATUS = NTSTATUS ( -1072365539i32 as _ ) ; pub const STATUS_SXS_IDENTITY_DUPLICATE_ATTRIBUTE : NTSTATUS = NTSTATUS ( -1072365544i32 as _ ) ; pub const STATUS_SXS_IDENTITY_PARSE_ERROR : NTSTATUS = NTSTATUS ( -1072365543i32 as _ ) ; pub const STATUS_SXS_INVALID_ACTCTXDATA_FORMAT : NTSTATUS = NTSTATUS ( -1072365565i32 as _ ) ; pub const STATUS_SXS_INVALID_DEACTIVATION : NTSTATUS = NTSTATUS ( -1072365552i32 as _ ) ; pub const STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME : NTSTATUS = NTSTATUS ( -1072365545i32 as _ ) ; pub const STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE : NTSTATUS = NTSTATUS ( -1072365546i32 as _ ) ; pub const STATUS_SXS_KEY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072365560i32 as _ ) ; pub const STATUS_SXS_MANIFEST_FORMAT_ERROR : NTSTATUS = NTSTATUS ( -1072365563i32 as _ ) ; pub const STATUS_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT : NTSTATUS = NTSTATUS ( -1072365540i32 as _ ) ; pub const STATUS_SXS_MANIFEST_PARSE_ERROR : NTSTATUS = NTSTATUS ( -1072365562i32 as _ ) ; pub const STATUS_SXS_MANIFEST_TOO_BIG : NTSTATUS = NTSTATUS ( -1072365534i32 as _ ) ; pub const STATUS_SXS_MULTIPLE_DEACTIVATION : NTSTATUS = NTSTATUS ( -1072365551i32 as _ ) ; pub const STATUS_SXS_PROCESS_DEFAULT_ALREADY_SET : NTSTATUS = NTSTATUS ( -1072365554i32 as _ ) ; pub const STATUS_SXS_PROCESS_TERMINATION_REQUESTED : NTSTATUS = NTSTATUS ( -1072365549i32 as _ ) ; pub const STATUS_SXS_RELEASE_ACTIVATION_CONTEXT : NTSTATUS = NTSTATUS ( 1075118093i32 as _ ) ; pub const STATUS_SXS_SECTION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072365567i32 as _ ) ; pub const STATUS_SXS_SETTING_NOT_REGISTERED : NTSTATUS = NTSTATUS ( -1072365533i32 as _ ) ; pub const STATUS_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY : NTSTATUS = NTSTATUS ( -1072365550i32 as _ ) ; pub const STATUS_SXS_THREAD_QUERIES_DISABLED : NTSTATUS = NTSTATUS ( -1072365557i32 as _ ) ; pub const STATUS_SXS_TRANSACTION_CLOSURE_INCOMPLETE : NTSTATUS = NTSTATUS ( -1072365532i32 as _ ) ; pub const STATUS_SXS_VERSION_CONFLICT : NTSTATUS = NTSTATUS ( -1072365559i32 as _ ) ; pub const STATUS_SXS_WRONG_SECTION_TYPE : NTSTATUS = NTSTATUS ( -1072365558i32 as _ ) ; pub const STATUS_SYMLINK_CLASS_DISABLED : NTSTATUS = NTSTATUS ( -1073740011i32 as _ ) ; pub const STATUS_SYNCHRONIZATION_REQUIRED : NTSTATUS = NTSTATUS ( -1073741516i32 as _ ) ; pub const STATUS_SYSTEM_DEVICE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073740718i32 as _ ) ; pub const STATUS_SYSTEM_HIVE_TOO_LARGE : NTSTATUS = NTSTATUS ( -1073740946i32 as _ ) ; pub const STATUS_SYSTEM_IMAGE_BAD_SIGNATURE : NTSTATUS = NTSTATUS ( -1073741103i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_INVALID_POLICY : NTSTATUS = NTSTATUS ( -1058471933i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_POLICY_NOT_SIGNED : NTSTATUS = NTSTATUS ( -1058471932i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_POLICY_VIOLATION : NTSTATUS = NTSTATUS ( -1058471934i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_ROLLBACK_DETECTED : NTSTATUS = NTSTATUS ( -1058471935i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_SUPPLEMENTAL_POLICY_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1058471930i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_TOO_MANY_POLICIES : NTSTATUS = NTSTATUS ( -1058471931i32 as _ ) ; pub const STATUS_SYSTEM_NEEDS_REMEDIATION : NTSTATUS = NTSTATUS ( -1073740674i32 as _ ) ; pub const STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION : NTSTATUS = NTSTATUS ( 1073741873i32 as _ ) ; pub const STATUS_SYSTEM_POWERSTATE_TRANSITION : NTSTATUS = NTSTATUS ( 1073741871i32 as _ ) ; pub const STATUS_SYSTEM_PROCESS_TERMINATED : NTSTATUS = NTSTATUS ( -1073741286i32 as _ ) ; pub const STATUS_SYSTEM_SHUTDOWN : NTSTATUS = NTSTATUS ( -1073741077i32 as _ ) ; pub const STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED : NTSTATUS = NTSTATUS ( -1073740018i32 as _ ) ; pub const STATUS_THREADPOOL_HANDLE_EXCEPTION : NTSTATUS = NTSTATUS ( -1073740022i32 as _ ) ; pub const STATUS_THREADPOOL_RELEASED_DURING_OPERATION : NTSTATUS = NTSTATUS ( -1073740017i32 as _ ) ; pub const STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED : NTSTATUS = NTSTATUS ( -1073740019i32 as _ ) ; pub const STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED : NTSTATUS = NTSTATUS ( -1073740020i32 as _ ) ; pub const STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED : NTSTATUS = NTSTATUS ( -1073740021i32 as _ ) ; pub const STATUS_THREAD_ALREADY_IN_SESSION : NTSTATUS = NTSTATUS ( -1073740714i32 as _ ) ; pub const STATUS_THREAD_ALREADY_IN_TASK : NTSTATUS = NTSTATUS ( -1073740542i32 as _ ) ; pub const STATUS_THREAD_IS_TERMINATING : NTSTATUS = NTSTATUS ( -1073741749i32 as _ ) ; pub const STATUS_THREAD_NOT_IN_PROCESS : NTSTATUS = NTSTATUS ( -1073741526i32 as _ ) ; pub const STATUS_THREAD_NOT_IN_SESSION : NTSTATUS = NTSTATUS ( -1073740713i32 as _ ) ; pub const STATUS_THREAD_NOT_RUNNING : NTSTATUS = NTSTATUS ( -1073740522i32 as _ ) ; pub const STATUS_THREAD_WAS_SUSPENDED : NTSTATUS = NTSTATUS ( 1073741825i32 as _ ) ; pub const STATUS_TIMEOUT : NTSTATUS = NTSTATUS ( 258i32 as _ ) ; pub const STATUS_TIMER_NOT_CANCELED : NTSTATUS = NTSTATUS ( -1073741812i32 as _ ) ; pub const STATUS_TIMER_RESOLUTION_NOT_SET : NTSTATUS = NTSTATUS ( -1073741243i32 as _ ) ; pub const STATUS_TIMER_RESUME_IGNORED : NTSTATUS = NTSTATUS ( 1073741861i32 as _ ) ; pub const STATUS_TIME_DIFFERENCE_AT_DC : NTSTATUS = NTSTATUS ( -1073741517i32 as _ ) ; pub const STATUS_TM_IDENTITY_MISMATCH : NTSTATUS = NTSTATUS ( -1072103350i32 as _ ) ; pub const STATUS_TM_INITIALIZATION_FAILED : NTSTATUS = NTSTATUS ( -1072103420i32 as _ ) ; pub const STATUS_TM_VOLATILE : NTSTATUS = NTSTATUS ( -1072103365i32 as _ ) ; pub const STATUS_TOKEN_ALREADY_IN_USE : NTSTATUS = NTSTATUS ( -1073741525i32 as _ ) ; pub const STATUS_TOO_LATE : NTSTATUS = NTSTATUS ( -1073741431i32 as _ ) ; pub const STATUS_TOO_MANY_ADDRESSES : NTSTATUS = NTSTATUS ( -1073741303i32 as _ ) ; pub const STATUS_TOO_MANY_COMMANDS : NTSTATUS = NTSTATUS ( -1073741631i32 as _ ) ; pub const STATUS_TOO_MANY_CONTEXT_IDS : NTSTATUS = NTSTATUS ( -1073741478i32 as _ ) ; pub const STATUS_TOO_MANY_GUIDS_REQUESTED : NTSTATUS = NTSTATUS ( -1073741694i32 as _ ) ; pub const STATUS_TOO_MANY_LINKS : NTSTATUS = NTSTATUS ( -1073741211i32 as _ ) ; pub const STATUS_TOO_MANY_LUIDS_REQUESTED : NTSTATUS = NTSTATUS ( -1073741708i32 as _ ) ; pub const STATUS_TOO_MANY_NAMES : NTSTATUS = NTSTATUS ( -1073741619i32 as _ ) ; pub const STATUS_TOO_MANY_NODES : NTSTATUS = NTSTATUS ( -1073741298i32 as _ ) ; pub const STATUS_TOO_MANY_OPENED_FILES : NTSTATUS = NTSTATUS ( -1073741537i32 as _ ) ; pub const STATUS_TOO_MANY_PAGING_FILES : NTSTATUS = NTSTATUS ( -1073741673i32 as _ ) ; pub const STATUS_TOO_MANY_PRINCIPALS : NTSTATUS = NTSTATUS ( -1073741065i32 as _ ) ; pub const STATUS_TOO_MANY_SECRETS : NTSTATUS = NTSTATUS ( -1073741482i32 as _ ) ; pub const STATUS_TOO_MANY_SEGMENT_DESCRIPTORS : NTSTATUS = NTSTATUS ( -1073740685i32 as _ ) ; pub const STATUS_TOO_MANY_SESSIONS : NTSTATUS = NTSTATUS ( -1073741618i32 as _ ) ; pub const STATUS_TOO_MANY_SIDS : NTSTATUS = NTSTATUS ( -1073741442i32 as _ ) ; pub const STATUS_TOO_MANY_THREADS : NTSTATUS = NTSTATUS ( -1073741527i32 as _ ) ; pub const STATUS_TPM_20_E_ASYMMETRIC : NTSTATUS = NTSTATUS ( -1071054719i32 as _ ) ; pub const STATUS_TPM_20_E_ATTRIBUTES : NTSTATUS = NTSTATUS ( -1071054718i32 as _ ) ; pub const STATUS_TPM_20_E_AUTHSIZE : NTSTATUS = NTSTATUS ( -1071054524i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_CONTEXT : NTSTATUS = NTSTATUS ( -1071054523i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_FAIL : NTSTATUS = NTSTATUS ( -1071054706i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_MISSING : NTSTATUS = NTSTATUS ( -1071054555i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_TYPE : NTSTATUS = NTSTATUS ( -1071054556i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1071054545i32 as _ ) ; pub const STATUS_TPM_20_E_BAD_AUTH : NTSTATUS = NTSTATUS ( -1071054686i32 as _ ) ; pub const STATUS_TPM_20_E_BAD_CONTEXT : NTSTATUS = NTSTATUS ( -1071054512i32 as _ ) ; pub const STATUS_TPM_20_E_BINDING : NTSTATUS = NTSTATUS ( -1071054683i32 as _ ) ; pub const STATUS_TPM_20_E_COMMAND_CODE : NTSTATUS = NTSTATUS ( -1071054525i32 as _ ) ; pub const STATUS_TPM_20_E_COMMAND_SIZE : NTSTATUS = NTSTATUS ( -1071054526i32 as _ ) ; pub const STATUS_TPM_20_E_CPHASH : NTSTATUS = NTSTATUS ( -1071054511i32 as _ ) ; pub const STATUS_TPM_20_E_CURVE : NTSTATUS = NTSTATUS ( -1071054682i32 as _ ) ; pub const STATUS_TPM_20_E_DISABLED : NTSTATUS = NTSTATUS ( -1071054560i32 as _ ) ; pub const STATUS_TPM_20_E_ECC_CURVE : NTSTATUS = NTSTATUS ( -1071054557i32 as _ ) ; pub const STATUS_TPM_20_E_ECC_POINT : NTSTATUS = NTSTATUS ( -1071054681i32 as _ ) ; pub const STATUS_TPM_20_E_EXCLUSIVE : NTSTATUS = NTSTATUS ( -1071054559i32 as _ ) ; pub const STATUS_TPM_20_E_EXPIRED : NTSTATUS = NTSTATUS ( -1071054685i32 as _ ) ; pub const STATUS_TPM_20_E_FAILURE : NTSTATUS = NTSTATUS ( -1071054591i32 as _ ) ; pub const STATUS_TPM_20_E_HANDLE : NTSTATUS = NTSTATUS ( -1071054709i32 as _ ) ; pub const STATUS_TPM_20_E_HASH : NTSTATUS = NTSTATUS ( -1071054717i32 as _ ) ; pub const STATUS_TPM_20_E_HIERARCHY : NTSTATUS = NTSTATUS ( -1071054715i32 as _ ) ; pub const STATUS_TPM_20_E_HMAC : NTSTATUS = NTSTATUS ( -1071054567i32 as _ ) ; pub const STATUS_TPM_20_E_INITIALIZE : NTSTATUS = NTSTATUS ( -1071054592i32 as _ ) ; pub const STATUS_TPM_20_E_INSUFFICIENT : NTSTATUS = NTSTATUS ( -1071054694i32 as _ ) ; pub const STATUS_TPM_20_E_INTEGRITY : NTSTATUS = NTSTATUS ( -1071054689i32 as _ ) ; pub const STATUS_TPM_20_E_KDF : NTSTATUS = NTSTATUS ( -1071054708i32 as _ ) ; pub const STATUS_TPM_20_E_KEY : NTSTATUS = NTSTATUS ( -1071054692i32 as _ ) ; pub const STATUS_TPM_20_E_KEY_SIZE : NTSTATUS = NTSTATUS ( -1071054713i32 as _ ) ; pub const STATUS_TPM_20_E_MGF : NTSTATUS = NTSTATUS ( -1071054712i32 as _ ) ; pub const STATUS_TPM_20_E_MODE : NTSTATUS = NTSTATUS ( -1071054711i32 as _ ) ; pub const STATUS_TPM_20_E_NEEDS_TEST : NTSTATUS = NTSTATUS ( -1071054509i32 as _ ) ; pub const STATUS_TPM_20_E_NONCE : NTSTATUS = NTSTATUS ( -1071054705i32 as _ ) ; pub const STATUS_TPM_20_E_NO_RESULT : NTSTATUS = NTSTATUS ( -1071054508i32 as _ ) ; pub const STATUS_TPM_20_E_NV_AUTHORIZATION : NTSTATUS = NTSTATUS ( -1071054519i32 as _ ) ; pub const STATUS_TPM_20_E_NV_DEFINED : NTSTATUS = NTSTATUS ( -1071054516i32 as _ ) ; pub const STATUS_TPM_20_E_NV_LOCKED : NTSTATUS = NTSTATUS ( -1071054520i32 as _ ) ; pub const STATUS_TPM_20_E_NV_RANGE : NTSTATUS = NTSTATUS ( -1071054522i32 as _ ) ; pub const STATUS_TPM_20_E_NV_SIZE : NTSTATUS = NTSTATUS ( -1071054521i32 as _ ) ; pub const STATUS_TPM_20_E_NV_SPACE : NTSTATUS = NTSTATUS ( -1071054517i32 as _ ) ; pub const STATUS_TPM_20_E_NV_UNINITIALIZED : NTSTATUS = NTSTATUS ( -1071054518i32 as _ ) ; pub const STATUS_TPM_20_E_PARENT : NTSTATUS = NTSTATUS ( -1071054510i32 as _ ) ; pub const STATUS_TPM_20_E_PCR : NTSTATUS = NTSTATUS ( -1071054553i32 as _ ) ; pub const STATUS_TPM_20_E_PCR_CHANGED : NTSTATUS = NTSTATUS ( -1071054552i32 as _ ) ; pub const STATUS_TPM_20_E_POLICY : NTSTATUS = NTSTATUS ( -1071054554i32 as _ ) ; pub const STATUS_TPM_20_E_POLICY_CC : NTSTATUS = NTSTATUS ( -1071054684i32 as _ ) ; pub const STATUS_TPM_20_E_POLICY_FAIL : NTSTATUS = NTSTATUS ( -1071054691i32 as _ ) ; pub const STATUS_TPM_20_E_PP : NTSTATUS = NTSTATUS ( -1071054704i32 as _ ) ; pub const STATUS_TPM_20_E_PRIVATE : NTSTATUS = NTSTATUS ( -1071054581i32 as _ ) ; pub const STATUS_TPM_20_E_RANGE : NTSTATUS = NTSTATUS ( -1071054707i32 as _ ) ; pub const STATUS_TPM_20_E_REBOOT : NTSTATUS = NTSTATUS ( -1071054544i32 as _ ) ; pub const STATUS_TPM_20_E_RESERVED_BITS : NTSTATUS = NTSTATUS ( -1071054687i32 as _ ) ; pub const STATUS_TPM_20_E_SCHEME : NTSTATUS = NTSTATUS ( -1071054702i32 as _ ) ; pub const STATUS_TPM_20_E_SELECTOR : NTSTATUS = NTSTATUS ( -1071054696i32 as _ ) ; pub const STATUS_TPM_20_E_SENSITIVE : NTSTATUS = NTSTATUS ( -1071054507i32 as _ ) ; pub const STATUS_TPM_20_E_SEQUENCE : NTSTATUS = NTSTATUS ( -1071054589i32 as _ ) ; pub const STATUS_TPM_20_E_SIGNATURE : NTSTATUS = NTSTATUS ( -1071054693i32 as _ ) ; pub const STATUS_TPM_20_E_SIZE : NTSTATUS = NTSTATUS ( -1071054699i32 as _ ) ; pub const STATUS_TPM_20_E_SYMMETRIC : NTSTATUS = NTSTATUS ( -1071054698i32 as _ ) ; pub const STATUS_TPM_20_E_TAG : NTSTATUS = NTSTATUS ( -1071054697i32 as _ ) ; pub const STATUS_TPM_20_E_TICKET : NTSTATUS = NTSTATUS ( -1071054688i32 as _ ) ; pub const STATUS_TPM_20_E_TOO_MANY_CONTEXTS : NTSTATUS = NTSTATUS ( -1071054546i32 as _ ) ; pub const STATUS_TPM_20_E_TYPE : NTSTATUS = NTSTATUS ( -1071054710i32 as _ ) ; pub const STATUS_TPM_20_E_UNBALANCED : NTSTATUS = NTSTATUS ( -1071054543i32 as _ ) ; pub const STATUS_TPM_20_E_UPGRADE : NTSTATUS = NTSTATUS ( -1071054547i32 as _ ) ; pub const STATUS_TPM_20_E_VALUE : NTSTATUS = NTSTATUS ( -1071054716i32 as _ ) ; pub const STATUS_TPM_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1071050748i32 as _ ) ; pub const STATUS_TPM_AREA_LOCKED : NTSTATUS = NTSTATUS ( -1071054788i32 as _ ) ; pub const STATUS_TPM_AUDITFAILURE : NTSTATUS = NTSTATUS ( -1071054844i32 as _ ) ; pub const STATUS_TPM_AUDITFAIL_SUCCESSFUL : NTSTATUS = NTSTATUS ( -1071054799i32 as _ ) ; pub const STATUS_TPM_AUDITFAIL_UNSUCCESSFUL : NTSTATUS = NTSTATUS ( -1071054800i32 as _ ) ; pub const STATUS_TPM_AUTH2FAIL : NTSTATUS = NTSTATUS ( -1071054819i32 as _ ) ; pub const STATUS_TPM_AUTHFAIL : NTSTATUS = NTSTATUS ( -1071054847i32 as _ ) ; pub const STATUS_TPM_AUTH_CONFLICT : NTSTATUS = NTSTATUS ( -1071054789i32 as _ ) ; pub const STATUS_TPM_BADCONTEXT : NTSTATUS = NTSTATUS ( -1071054758i32 as _ ) ; pub const STATUS_TPM_BADINDEX : NTSTATUS = NTSTATUS ( -1071054846i32 as _ ) ; pub const STATUS_TPM_BADTAG : NTSTATUS = NTSTATUS ( -1071054818i32 as _ ) ; pub const STATUS_TPM_BAD_ATTRIBUTES : NTSTATUS = NTSTATUS ( -1071054782i32 as _ ) ; pub const STATUS_TPM_BAD_COUNTER : NTSTATUS = NTSTATUS ( -1071054779i32 as _ ) ; pub const STATUS_TPM_BAD_DATASIZE : NTSTATUS = NTSTATUS ( -1071054805i32 as _ ) ; pub const STATUS_TPM_BAD_DELEGATE : NTSTATUS = NTSTATUS ( -1071054759i32 as _ ) ; pub const STATUS_TPM_BAD_HANDLE : NTSTATUS = NTSTATUS ( -1071054760i32 as _ ) ; pub const STATUS_TPM_BAD_KEY_PROPERTY : NTSTATUS = NTSTATUS ( -1071054808i32 as _ ) ; pub const STATUS_TPM_BAD_LOCALITY : NTSTATUS = NTSTATUS ( -1071054787i32 as _ ) ; pub const STATUS_TPM_BAD_MIGRATION : NTSTATUS = NTSTATUS ( -1071054807i32 as _ ) ; pub const STATUS_TPM_BAD_MODE : NTSTATUS = NTSTATUS ( -1071054804i32 as _ ) ; pub const STATUS_TPM_BAD_ORDINAL : NTSTATUS = NTSTATUS ( -1071054838i32 as _ ) ; pub const STATUS_TPM_BAD_PARAMETER : NTSTATUS = NTSTATUS ( -1071054845i32 as _ ) ; pub const STATUS_TPM_BAD_PARAM_SIZE : NTSTATUS = NTSTATUS ( -1071054823i32 as _ ) ; pub const STATUS_TPM_BAD_PRESENCE : NTSTATUS = NTSTATUS ( -1071054803i32 as _ ) ; pub const STATUS_TPM_BAD_SCHEME : NTSTATUS = NTSTATUS ( -1071054806i32 as _ ) ; pub const STATUS_TPM_BAD_SIGNATURE : NTSTATUS = NTSTATUS ( -1071054750i32 as _ ) ; pub const STATUS_TPM_BAD_TYPE : NTSTATUS = NTSTATUS ( -1071054796i32 as _ ) ; pub const STATUS_TPM_BAD_VERSION : NTSTATUS = NTSTATUS ( -1071054802i32 as _ ) ; pub const STATUS_TPM_CLEAR_DISABLED : NTSTATUS = NTSTATUS ( -1071054843i32 as _ ) ; pub const STATUS_TPM_COMMAND_BLOCKED : NTSTATUS = NTSTATUS ( -1071053824i32 as _ ) ; pub const STATUS_TPM_COMMAND_CANCELED : NTSTATUS = NTSTATUS ( -1071050751i32 as _ ) ; pub const STATUS_TPM_CONTEXT_GAP : NTSTATUS = NTSTATUS ( -1071054777i32 as _ ) ; pub const STATUS_TPM_DAA_INPUT_DATA0 : NTSTATUS = NTSTATUS ( -1071054767i32 as _ ) ; pub const STATUS_TPM_DAA_INPUT_DATA1 : NTSTATUS = NTSTATUS ( -1071054766i32 as _ ) ; pub const STATUS_TPM_DAA_ISSUER_SETTINGS : NTSTATUS = NTSTATUS ( -1071054765i32 as _ ) ; pub const STATUS_TPM_DAA_ISSUER_VALIDITY : NTSTATUS = NTSTATUS ( -1071054762i32 as _ ) ; pub const STATUS_TPM_DAA_RESOURCES : NTSTATUS = NTSTATUS ( -1071054768i32 as _ ) ; pub const STATUS_TPM_DAA_STAGE : NTSTATUS = NTSTATUS ( -1071054763i32 as _ ) ; pub const STATUS_TPM_DAA_TPM_SETTINGS : NTSTATUS = NTSTATUS ( -1071054764i32 as _ ) ; pub const STATUS_TPM_DAA_WRONG_W : NTSTATUS = NTSTATUS ( -1071054761i32 as _ ) ; pub const STATUS_TPM_DEACTIVATED : NTSTATUS = NTSTATUS ( -1071054842i32 as _ ) ; pub const STATUS_TPM_DECRYPT_ERROR : NTSTATUS = NTSTATUS ( -1071054815i32 as _ ) ; pub const STATUS_TPM_DEFEND_LOCK_RUNNING : NTSTATUS = NTSTATUS ( -1071052797i32 as _ ) ; pub const STATUS_TPM_DELEGATE_ADMIN : NTSTATUS = NTSTATUS ( -1071054771i32 as _ ) ; pub const STATUS_TPM_DELEGATE_FAMILY : NTSTATUS = NTSTATUS ( -1071054772i32 as _ ) ; pub const STATUS_TPM_DELEGATE_LOCK : NTSTATUS = NTSTATUS ( -1071054773i32 as _ ) ; pub const STATUS_TPM_DISABLED : NTSTATUS = NTSTATUS ( -1071054841i32 as _ ) ; pub const STATUS_TPM_DISABLED_CMD : NTSTATUS = NTSTATUS ( -1071054840i32 as _ ) ; pub const STATUS_TPM_DOING_SELFTEST : NTSTATUS = NTSTATUS ( -1071052798i32 as _ ) ; pub const STATUS_TPM_DUPLICATE_VHANDLE : NTSTATUS = NTSTATUS ( -1071053822i32 as _ ) ; pub const STATUS_TPM_EMBEDDED_COMMAND_BLOCKED : NTSTATUS = NTSTATUS ( -1071053821i32 as _ ) ; pub const STATUS_TPM_EMBEDDED_COMMAND_UNSUPPORTED : NTSTATUS = NTSTATUS ( -1071053820i32 as _ ) ; pub const STATUS_TPM_ENCRYPT_ERROR : NTSTATUS = NTSTATUS ( -1071054816i32 as _ ) ; pub const STATUS_TPM_ERROR_MASK : NTSTATUS = NTSTATUS ( -1071054848i32 as _ ) ; pub const STATUS_TPM_FAIL : NTSTATUS = NTSTATUS ( -1071054839i32 as _ ) ; pub const STATUS_TPM_FAILEDSELFTEST : NTSTATUS = NTSTATUS ( -1071054820i32 as _ ) ; pub const STATUS_TPM_FAMILYCOUNT : NTSTATUS = NTSTATUS ( -1071054784i32 as _ ) ; pub const STATUS_TPM_INAPPROPRIATE_ENC : NTSTATUS = NTSTATUS ( -1071054834i32 as _ ) ; pub const STATUS_TPM_INAPPROPRIATE_SIG : NTSTATUS = NTSTATUS ( -1071054809i32 as _ ) ; pub const STATUS_TPM_INSTALL_DISABLED : NTSTATUS = NTSTATUS ( -1071054837i32 as _ ) ; pub const STATUS_TPM_INSUFFICIENT_BUFFER : NTSTATUS = NTSTATUS ( -1071050747i32 as _ ) ; pub const STATUS_TPM_INVALID_AUTHHANDLE : NTSTATUS = NTSTATUS ( -1071054814i32 as _ ) ; pub const STATUS_TPM_INVALID_FAMILY : NTSTATUS = NTSTATUS ( -1071054793i32 as _ ) ; pub const STATUS_TPM_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1071053823i32 as _ ) ; pub const STATUS_TPM_INVALID_KEYHANDLE : NTSTATUS = NTSTATUS ( -1071054836i32 as _ ) ; pub const STATUS_TPM_INVALID_KEYUSAGE : NTSTATUS = NTSTATUS ( -1071054812i32 as _ ) ; pub const STATUS_TPM_INVALID_PCR_INFO : NTSTATUS = NTSTATUS ( -1071054832i32 as _ ) ; pub const STATUS_TPM_INVALID_POSTINIT : NTSTATUS = NTSTATUS ( -1071054810i32 as _ ) ; pub const STATUS_TPM_INVALID_RESOURCE : NTSTATUS = NTSTATUS ( -1071054795i32 as _ ) ; pub const STATUS_TPM_INVALID_STRUCTURE : NTSTATUS = NTSTATUS ( -1071054781i32 as _ ) ; pub const STATUS_TPM_IOERROR : NTSTATUS = NTSTATUS ( -1071054817i32 as _ ) ; pub const STATUS_TPM_KEYNOTFOUND : NTSTATUS = NTSTATUS ( -1071054835i32 as _ ) ; pub const STATUS_TPM_KEY_NOTSUPPORTED : NTSTATUS = NTSTATUS ( -1071054790i32 as _ ) ; pub const STATUS_TPM_KEY_OWNER_CONTROL : NTSTATUS = NTSTATUS ( -1071054780i32 as _ ) ; pub const STATUS_TPM_MAXNVWRITES : NTSTATUS = NTSTATUS ( -1071054776i32 as _ ) ; pub const STATUS_TPM_MA_AUTHORITY : NTSTATUS = NTSTATUS ( -1071054753i32 as _ ) ; pub const STATUS_TPM_MA_DESTINATION : NTSTATUS = NTSTATUS ( -1071054755i32 as _ ) ; pub const STATUS_TPM_MA_SOURCE : NTSTATUS = NTSTATUS ( -1071054754i32 as _ ) ; pub const STATUS_TPM_MA_TICKET_SIGNATURE : NTSTATUS = NTSTATUS ( -1071054756i32 as _ ) ; pub const STATUS_TPM_MIGRATEFAIL : NTSTATUS = NTSTATUS ( -1071054833i32 as _ ) ; pub const STATUS_TPM_NEEDS_SELFTEST : NTSTATUS = NTSTATUS ( -1071052799i32 as _ ) ; pub const STATUS_TPM_NOCONTEXTSPACE : NTSTATUS = NTSTATUS ( -1071054749i32 as _ ) ; pub const STATUS_TPM_NOOPERATOR : NTSTATUS = NTSTATUS ( -1071054775i32 as _ ) ; pub const STATUS_TPM_NOSPACE : NTSTATUS = NTSTATUS ( -1071054831i32 as _ ) ; pub const STATUS_TPM_NOSRK : NTSTATUS = NTSTATUS ( -1071054830i32 as _ ) ; pub const STATUS_TPM_NOTFIPS : NTSTATUS = NTSTATUS ( -1071054794i32 as _ ) ; pub const STATUS_TPM_NOTLOCAL : NTSTATUS = NTSTATUS ( -1071054797i32 as _ ) ; pub const STATUS_TPM_NOTRESETABLE : NTSTATUS = NTSTATUS ( -1071054798i32 as _ ) ; pub const STATUS_TPM_NOTSEALED_BLOB : NTSTATUS = NTSTATUS ( -1071054829i32 as _ ) ; pub const STATUS_TPM_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071050749i32 as _ ) ; pub const STATUS_TPM_NOT_FULLWRITE : NTSTATUS = NTSTATUS ( -1071054778i32 as _ ) ; pub const STATUS_TPM_NO_ENDORSEMENT : NTSTATUS = NTSTATUS ( -1071054813i32 as _ ) ; pub const STATUS_TPM_NO_NV_PERMISSION : NTSTATUS = NTSTATUS ( -1071054792i32 as _ ) ; pub const STATUS_TPM_NO_WRAP_TRANSPORT : NTSTATUS = NTSTATUS ( -1071054801i32 as _ ) ; pub const STATUS_TPM_OWNER_CONTROL : NTSTATUS = NTSTATUS ( -1071054769i32 as _ ) ; pub const STATUS_TPM_OWNER_SET : NTSTATUS = NTSTATUS ( -1071054828i32 as _ ) ; pub const STATUS_TPM_PERMANENTEK : NTSTATUS = NTSTATUS ( -1071054751i32 as _ ) ; pub const STATUS_TPM_PER_NOWRITE : NTSTATUS = NTSTATUS ( -1071054785i32 as _ ) ; pub const STATUS_TPM_PPI_FUNCTION_UNSUPPORTED : NTSTATUS = NTSTATUS ( -1071050746i32 as _ ) ; pub const STATUS_TPM_READ_ONLY : NTSTATUS = NTSTATUS ( -1071054786i32 as _ ) ; pub const STATUS_TPM_REQUIRES_SIGN : NTSTATUS = NTSTATUS ( -1071054791i32 as _ ) ; pub const STATUS_TPM_RESOURCEMISSING : NTSTATUS = NTSTATUS ( -1071054774i32 as _ ) ; pub const STATUS_TPM_RESOURCES : NTSTATUS = NTSTATUS ( -1071054827i32 as _ ) ; pub const STATUS_TPM_RETRY : NTSTATUS = NTSTATUS ( -1071052800i32 as _ ) ; pub const STATUS_TPM_SHA_ERROR : NTSTATUS = NTSTATUS ( -1071054821i32 as _ ) ; pub const STATUS_TPM_SHA_THREAD : NTSTATUS = NTSTATUS ( -1071054822i32 as _ ) ; pub const STATUS_TPM_SHORTRANDOM : NTSTATUS = NTSTATUS ( -1071054826i32 as _ ) ; pub const STATUS_TPM_SIZE : NTSTATUS = NTSTATUS ( -1071054825i32 as _ ) ; pub const STATUS_TPM_TOOMANYCONTEXTS : NTSTATUS = NTSTATUS ( -1071054757i32 as _ ) ; pub const STATUS_TPM_TOO_MANY_CONTEXTS : NTSTATUS = NTSTATUS ( -1071050750i32 as _ ) ; pub const STATUS_TPM_TRANSPORT_NOTEXCLUSIVE : NTSTATUS = NTSTATUS ( -1071054770i32 as _ ) ; pub const STATUS_TPM_WRITE_LOCKED : NTSTATUS = NTSTATUS ( -1071054783i32 as _ ) ; pub const STATUS_TPM_WRONGPCRVAL : NTSTATUS = NTSTATUS ( -1071054824i32 as _ ) ; pub const STATUS_TPM_WRONG_ENTITYTYPE : NTSTATUS = NTSTATUS ( -1071054811i32 as _ ) ; pub const STATUS_TPM_ZERO_EXHAUST_ENABLED : NTSTATUS = NTSTATUS ( -1071038464i32 as _ ) ; pub const STATUS_TRANSACTED_MAPPING_UNSUPPORTED_REMOTE : NTSTATUS = NTSTATUS ( -1072103360i32 as _ ) ; pub const STATUS_TRANSACTIONAL_CONFLICT : NTSTATUS = NTSTATUS ( -1072103423i32 as _ ) ; pub const STATUS_TRANSACTIONAL_OPEN_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1072103361i32 as _ ) ; pub const STATUS_TRANSACTIONMANAGER_IDENTITY_MISMATCH : NTSTATUS = NTSTATUS ( -1072103332i32 as _ ) ; pub const STATUS_TRANSACTIONMANAGER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103343i32 as _ ) ; pub const STATUS_TRANSACTIONMANAGER_NOT_ONLINE : NTSTATUS = NTSTATUS ( -1072103342i32 as _ ) ; pub const STATUS_TRANSACTIONMANAGER_RECOVERY_NAME_COLLISION : NTSTATUS = NTSTATUS ( -1072103341i32 as _ ) ; pub const STATUS_TRANSACTIONS_NOT_FROZEN : NTSTATUS = NTSTATUS ( -1072103355i32 as _ ) ; pub const STATUS_TRANSACTIONS_UNSUPPORTED_REMOTE : NTSTATUS = NTSTATUS ( -1072103414i32 as _ ) ; pub const STATUS_TRANSACTION_ABORTED : NTSTATUS = NTSTATUS ( -1073741297i32 as _ ) ; pub const STATUS_TRANSACTION_ALREADY_ABORTED : NTSTATUS = NTSTATUS ( -1072103403i32 as _ ) ; pub const STATUS_TRANSACTION_ALREADY_COMMITTED : NTSTATUS = NTSTATUS ( -1072103402i32 as _ ) ; pub const STATUS_TRANSACTION_FREEZE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072103354i32 as _ ) ; pub const STATUS_TRANSACTION_INTEGRITY_VIOLATED : NTSTATUS = NTSTATUS ( -1072103333i32 as _ ) ; pub const STATUS_TRANSACTION_INVALID_ID : NTSTATUS = NTSTATUS ( -1073741292i32 as _ ) ; pub const STATUS_TRANSACTION_INVALID_MARSHALL_BUFFER : NTSTATUS = NTSTATUS ( -1072103401i32 as _ ) ; pub const STATUS_TRANSACTION_INVALID_TYPE : NTSTATUS = NTSTATUS ( -1073741291i32 as _ ) ; pub const STATUS_TRANSACTION_MUST_WRITETHROUGH : NTSTATUS = NTSTATUS ( -1072103330i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1072103421i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_ENLISTED : NTSTATUS = NTSTATUS ( -1072103327i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103346i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_JOINED : NTSTATUS = NTSTATUS ( -1072103417i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_REQUESTED : NTSTATUS = NTSTATUS ( -1072103404i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_ROOT : NTSTATUS = NTSTATUS ( -1072103340i32 as _ ) ; pub const STATUS_TRANSACTION_NO_MATCH : NTSTATUS = NTSTATUS ( -1073741294i32 as _ ) ; pub const STATUS_TRANSACTION_NO_RELEASE : NTSTATUS = NTSTATUS ( -1073741295i32 as _ ) ; pub const STATUS_TRANSACTION_NO_SUPERIOR : NTSTATUS = NTSTATUS ( -1072103329i32 as _ ) ; pub const STATUS_TRANSACTION_OBJECT_EXPIRED : NTSTATUS = NTSTATUS ( -1072103339i32 as _ ) ; pub const STATUS_TRANSACTION_PROPAGATION_FAILED : NTSTATUS = NTSTATUS ( -1072103408i32 as _ ) ; pub const STATUS_TRANSACTION_RECORD_TOO_LONG : NTSTATUS = NTSTATUS ( -1072103336i32 as _ ) ; pub const STATUS_TRANSACTION_REQUEST_NOT_VALID : NTSTATUS = NTSTATUS ( -1072103405i32 as _ ) ; pub const STATUS_TRANSACTION_REQUIRED_PROMOTION : NTSTATUS = NTSTATUS ( -1072103357i32 as _ ) ; pub const STATUS_TRANSACTION_RESPONDED : NTSTATUS = NTSTATUS ( -1073741293i32 as _ ) ; pub const STATUS_TRANSACTION_RESPONSE_NOT_ENLISTED : NTSTATUS = NTSTATUS ( -1072103337i32 as _ ) ; pub const STATUS_TRANSACTION_SCOPE_CALLBACKS_NOT_SET : NTSTATUS = NTSTATUS ( -2145845182i32 as _ ) ; pub const STATUS_TRANSACTION_SUPERIOR_EXISTS : NTSTATUS = NTSTATUS ( -1072103406i32 as _ ) ; pub const STATUS_TRANSACTION_TIMED_OUT : NTSTATUS = NTSTATUS ( -1073741296i32 as _ ) ; pub const STATUS_TRANSLATION_COMPLETE : NTSTATUS = NTSTATUS ( 288i32 as _ ) ; pub const STATUS_TRANSPORT_FULL : NTSTATUS = NTSTATUS ( -1073741110i32 as _ ) ; pub const STATUS_TRIGGERED_EXECUTABLE_MEMORY_WRITE : NTSTATUS = NTSTATUS ( -1073739994i32 as _ ) ; pub const STATUS_TRIM_READ_ZERO_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740686i32 as _ ) ; pub const STATUS_TRUSTED_DOMAIN_FAILURE : NTSTATUS = NTSTATUS ( -1073741428i32 as _ ) ; pub const STATUS_TRUSTED_RELATIONSHIP_FAILURE : NTSTATUS = NTSTATUS ( -1073741427i32 as _ ) ; pub const STATUS_TRUST_FAILURE : NTSTATUS = NTSTATUS ( -1073741424i32 as _ ) ; pub const STATUS_TS_INCOMPATIBLE_SESSIONS : NTSTATUS = NTSTATUS ( -1073086407i32 as _ ) ; pub const STATUS_TS_VIDEO_SUBSYSTEM_ERROR : NTSTATUS = NTSTATUS ( -1073086406i32 as _ ) ; pub const STATUS_TXF_ATTRIBUTE_CORRUPT : NTSTATUS = NTSTATUS ( -1072103363i32 as _ ) ; pub const STATUS_TXF_DIR_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1072103367i32 as _ ) ; pub const STATUS_TXF_METADATA_ALREADY_PRESENT : NTSTATUS = NTSTATUS ( -2145845183i32 as _ ) ; pub const STATUS_UNABLE_TO_DECOMMIT_VM : NTSTATUS = NTSTATUS ( -1073741780i32 as _ ) ; pub const STATUS_UNABLE_TO_DELETE_SECTION : NTSTATUS = NTSTATUS ( -1073741797i32 as _ ) ; pub const STATUS_UNABLE_TO_FREE_VM : NTSTATUS = NTSTATUS ( -1073741798i32 as _ ) ; pub const STATUS_UNABLE_TO_LOCK_MEDIA : NTSTATUS = NTSTATUS ( -1073741451i32 as _ ) ; pub const STATUS_UNABLE_TO_UNLOAD_MEDIA : NTSTATUS = NTSTATUS ( -1073741450i32 as _ ) ; pub const STATUS_UNDEFINED_CHARACTER : NTSTATUS = NTSTATUS ( -1073741469i32 as _ ) ; pub const STATUS_UNDEFINED_SCOPE : NTSTATUS = NTSTATUS ( -1073740540i32 as _ ) ; pub const STATUS_UNEXPECTED_IO_ERROR : NTSTATUS = NTSTATUS ( -1073741591i32 as _ ) ; pub const STATUS_UNEXPECTED_MM_CREATE_ERR : NTSTATUS = NTSTATUS ( -1073741590i32 as _ ) ; pub const STATUS_UNEXPECTED_MM_EXTEND_ERR : NTSTATUS = NTSTATUS ( -1073741588i32 as _ ) ; pub const STATUS_UNEXPECTED_MM_MAP_ERROR : NTSTATUS = NTSTATUS ( -1073741589i32 as _ ) ; pub const STATUS_UNEXPECTED_NETWORK_ERROR : NTSTATUS = NTSTATUS ( -1073741628i32 as _ ) ; pub const STATUS_UNFINISHED_CONTEXT_DELETED : NTSTATUS = NTSTATUS ( -1073741074i32 as _ ) ; pub const STATUS_UNHANDLED_EXCEPTION : NTSTATUS = NTSTATUS ( -1073741500i32 as _ ) ; pub const STATUS_UNKNOWN_REVISION : NTSTATUS = NTSTATUS ( -1073741736i32 as _ ) ; pub const STATUS_UNMAPPABLE_CHARACTER : NTSTATUS = NTSTATUS ( -1073741470i32 as _ ) ; pub const STATUS_UNRECOGNIZED_MEDIA : NTSTATUS = NTSTATUS ( -1073741804i32 as _ ) ; pub const STATUS_UNRECOGNIZED_VOLUME : NTSTATUS = NTSTATUS ( -1073741489i32 as _ ) ; pub const STATUS_UNSATISFIED_DEPENDENCIES : NTSTATUS = NTSTATUS ( -1073740615i32 as _ ) ; pub const STATUS_UNSUCCESSFUL : NTSTATUS = NTSTATUS ( -1073741823i32 as _ ) ; pub const STATUS_UNSUPPORTED_COMPRESSION : NTSTATUS = NTSTATUS ( -1073741217i32 as _ ) ; pub const STATUS_UNSUPPORTED_PREAUTH : NTSTATUS = NTSTATUS ( -1073740975i32 as _ ) ; pub const STATUS_UNWIND : NTSTATUS = NTSTATUS ( -1073741785i32 as _ ) ; pub const STATUS_UNWIND_CONSOLIDATE : NTSTATUS = NTSTATUS ( -2147483607i32 as _ ) ; pub const STATUS_USER2USER_REQUIRED : NTSTATUS = NTSTATUS ( -1073740792i32 as _ ) ; pub const STATUS_USER_APC : NTSTATUS = NTSTATUS ( 192i32 as _ ) ; pub const STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073740797i32 as _ ) ; pub const STATUS_USER_EXISTS : NTSTATUS = NTSTATUS ( -1073741725i32 as _ ) ; pub const STATUS_USER_MAPPED_FILE : NTSTATUS = NTSTATUS ( -1073741245i32 as _ ) ; pub const STATUS_USER_SESSION_DELETED : NTSTATUS = NTSTATUS ( -1073741309i32 as _ ) ; pub const STATUS_VALIDATE_CONTINUE : NTSTATUS = NTSTATUS ( -1073741199i32 as _ ) ; pub const STATUS_VALID_CATALOG_HASH : NTSTATUS = NTSTATUS ( 301i32 as _ ) ; pub const STATUS_VALID_IMAGE_HASH : NTSTATUS = NTSTATUS ( 300i32 as _ ) ; pub const STATUS_VALID_STRONG_CODE_HASH : NTSTATUS = NTSTATUS ( 302i32 as _ ) ; pub const STATUS_VARIABLE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741568i32 as _ ) ; pub const STATUS_VDM_DISALLOWED : NTSTATUS = NTSTATUS ( -1073740780i32 as _ ) ; pub const STATUS_VDM_HARD_ERROR : NTSTATUS = NTSTATUS ( -1073741283i32 as _ ) ; pub const STATUS_VERIFIER_STOP : NTSTATUS = NTSTATUS ( -1073740767i32 as _ ) ; pub const STATUS_VERIFY_REQUIRED : NTSTATUS = NTSTATUS ( -2147483626i32 as _ ) ; pub const STATUS_VHDSET_BACKING_STORAGE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1067647220i32 as _ ) ; pub const STATUS_VHD_ALREADY_AT_OR_BELOW_MINIMUM_VIRTUAL_SIZE : NTSTATUS = NTSTATUS ( -1069940685i32 as _ ) ; pub const STATUS_VHD_BITMAP_MISMATCH : NTSTATUS = NTSTATUS ( -1069940724i32 as _ ) ; pub const STATUS_VHD_BLOCK_ALLOCATION_FAILURE : NTSTATUS = NTSTATUS ( -1069940727i32 as _ ) ; pub const STATUS_VHD_BLOCK_ALLOCATION_TABLE_CORRUPT : NTSTATUS = NTSTATUS ( -1069940726i32 as _ ) ; pub const STATUS_VHD_CHANGE_TRACKING_DISABLED : NTSTATUS = NTSTATUS ( -1069940694i32 as _ ) ; pub const STATUS_VHD_CHILD_PARENT_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1069940722i32 as _ ) ; pub const STATUS_VHD_CHILD_PARENT_SIZE_MISMATCH : NTSTATUS = NTSTATUS ( -1069940713i32 as _ ) ; pub const STATUS_VHD_CHILD_PARENT_TIMESTAMP_MISMATCH : NTSTATUS = NTSTATUS ( -1069940721i32 as _ ) ; pub const STATUS_VHD_COULD_NOT_COMPUTE_MINIMUM_VIRTUAL_SIZE : NTSTATUS = NTSTATUS ( -1069940686i32 as _ ) ; pub const STATUS_VHD_DIFFERENCING_CHAIN_CYCLE_DETECTED : NTSTATUS = NTSTATUS ( -1069940712i32 as _ ) ; pub const STATUS_VHD_DIFFERENCING_CHAIN_ERROR_IN_PARENT : NTSTATUS = NTSTATUS ( -1069940711i32 as _ ) ; pub const STATUS_VHD_DRIVE_FOOTER_CHECKSUM_MISMATCH : NTSTATUS = NTSTATUS ( -1069940734i32 as _ ) ; pub const STATUS_VHD_DRIVE_FOOTER_CORRUPT : NTSTATUS = NTSTATUS ( -1069940733i32 as _ ) ; pub const STATUS_VHD_DRIVE_FOOTER_MISSING : NTSTATUS = NTSTATUS ( -1069940735i32 as _ ) ; pub const STATUS_VHD_FORMAT_UNKNOWN : NTSTATUS = NTSTATUS ( -1069940732i32 as _ ) ; pub const STATUS_VHD_FORMAT_UNSUPPORTED_VERSION : NTSTATUS = NTSTATUS ( -1069940731i32 as _ ) ; pub const STATUS_VHD_INVALID_BLOCK_SIZE : NTSTATUS = NTSTATUS ( -1069940725i32 as _ ) ; pub const STATUS_VHD_INVALID_CHANGE_TRACKING_ID : NTSTATUS = NTSTATUS ( -1069940695i32 as _ ) ; pub const STATUS_VHD_INVALID_FILE_SIZE : NTSTATUS = NTSTATUS ( -1069940717i32 as _ ) ; pub const STATUS_VHD_INVALID_SIZE : NTSTATUS = NTSTATUS ( -1069940718i32 as _ ) ; pub const STATUS_VHD_INVALID_STATE : NTSTATUS = NTSTATUS ( -1069940708i32 as _ ) ; pub const STATUS_VHD_INVALID_TYPE : NTSTATUS = NTSTATUS ( -1069940709i32 as _ ) ; pub const STATUS_VHD_METADATA_FULL : NTSTATUS = NTSTATUS ( -1069940696i32 as _ ) ; pub const STATUS_VHD_METADATA_READ_FAILURE : NTSTATUS = NTSTATUS ( -1069940720i32 as _ ) ; pub const STATUS_VHD_METADATA_WRITE_FAILURE : NTSTATUS = NTSTATUS ( -1069940719i32 as _ ) ; pub const STATUS_VHD_MISSING_CHANGE_TRACKING_INFORMATION : NTSTATUS = NTSTATUS ( -1069940688i32 as _ ) ; pub const STATUS_VHD_PARENT_VHD_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1069940714i32 as _ ) ; pub const STATUS_VHD_PARENT_VHD_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069940723i32 as _ ) ; pub const STATUS_VHD_RESIZE_WOULD_TRUNCATE_DATA : NTSTATUS = NTSTATUS ( -1069940687i32 as _ ) ; pub const STATUS_VHD_SHARED : NTSTATUS = NTSTATUS ( -1067647222i32 as _ ) ; pub const STATUS_VHD_SPARSE_HEADER_CHECKSUM_MISMATCH : NTSTATUS = NTSTATUS ( -1069940730i32 as _ ) ; pub const STATUS_VHD_SPARSE_HEADER_CORRUPT : NTSTATUS = NTSTATUS ( -1069940728i32 as _ ) ; pub const STATUS_VHD_SPARSE_HEADER_UNSUPPORTED_VERSION : NTSTATUS = NTSTATUS ( -1069940729i32 as _ ) ; pub const STATUS_VIDEO_DRIVER_DEBUG_REPORT_REQUEST : NTSTATUS = NTSTATUS ( 1075511532i32 as _ ) ; pub const STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD : NTSTATUS = NTSTATUS ( -1071972118i32 as _ ) ; pub const STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD_RECOVERED : NTSTATUS = NTSTATUS ( -2145713941i32 as _ ) ; pub const STATUS_VID_CHILD_GPA_PAGE_SET_CORRUPTED : NTSTATUS = NTSTATUS ( -1070137330i32 as _ ) ; pub const STATUS_VID_DUPLICATE_HANDLER : NTSTATUS = NTSTATUS ( -1070137343i32 as _ ) ; pub const STATUS_VID_EXCEEDED_KM_CONTEXT_COUNT_LIMIT : NTSTATUS = NTSTATUS ( -1070137314i32 as _ ) ; pub const STATUS_VID_EXCEEDED_MBP_ENTRY_MAP_LIMIT : NTSTATUS = NTSTATUS ( -1070137332i32 as _ ) ; pub const STATUS_VID_HANDLER_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1070137340i32 as _ ) ; pub const STATUS_VID_INVALID_CHILD_GPA_PAGE_SET : NTSTATUS = NTSTATUS ( -1070137310i32 as _ ) ; pub const STATUS_VID_INVALID_GPA_RANGE_HANDLE : NTSTATUS = NTSTATUS ( -1070137323i32 as _ ) ; pub const STATUS_VID_INVALID_MEMORY_BLOCK_HANDLE : NTSTATUS = NTSTATUS ( -1070137326i32 as _ ) ; pub const STATUS_VID_INVALID_MESSAGE_QUEUE_HANDLE : NTSTATUS = NTSTATUS ( -1070137324i32 as _ ) ; pub const STATUS_VID_INVALID_NUMA_NODE_INDEX : NTSTATUS = NTSTATUS ( -1070137328i32 as _ ) ; pub const STATUS_VID_INVALID_NUMA_SETTINGS : NTSTATUS = NTSTATUS ( -1070137329i32 as _ ) ; pub const STATUS_VID_INVALID_OBJECT_NAME : NTSTATUS = NTSTATUS ( -1070137339i32 as _ ) ; pub const STATUS_VID_INVALID_PPM_HANDLE : NTSTATUS = NTSTATUS ( -1070137320i32 as _ ) ; pub const STATUS_VID_INVALID_PROCESSOR_STATE : NTSTATUS = NTSTATUS ( -1070137315i32 as _ ) ; pub const STATUS_VID_KM_INTERFACE_ALREADY_INITIALIZED : NTSTATUS = NTSTATUS ( -1070137313i32 as _ ) ; pub const STATUS_VID_MBPS_ARE_LOCKED : NTSTATUS = NTSTATUS ( -1070137319i32 as _ ) ; pub const STATUS_VID_MBP_ALREADY_LOCKED_USING_RESERVED_PAGE : NTSTATUS = NTSTATUS ( -1070137307i32 as _ ) ; pub const STATUS_VID_MBP_COUNT_EXCEEDED_LIMIT : NTSTATUS = NTSTATUS ( -1070137306i32 as _ ) ; pub const STATUS_VID_MB_PROPERTY_ALREADY_SET_RESET : NTSTATUS = NTSTATUS ( -1070137312i32 as _ ) ; pub const STATUS_VID_MB_STILL_REFERENCED : NTSTATUS = NTSTATUS ( -1070137331i32 as _ ) ; pub const STATUS_VID_MEMORY_BLOCK_LOCK_COUNT_EXCEEDED : NTSTATUS = NTSTATUS ( -1070137321i32 as _ ) ; pub const STATUS_VID_MESSAGE_QUEUE_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1070137333i32 as _ ) ; pub const STATUS_VID_MESSAGE_QUEUE_CLOSED : NTSTATUS = NTSTATUS ( -1070137318i32 as _ ) ; pub const STATUS_VID_MESSAGE_QUEUE_NAME_TOO_LONG : NTSTATUS = NTSTATUS ( -1070137337i32 as _ ) ; pub const STATUS_VID_MMIO_RANGE_DESTROYED : NTSTATUS = NTSTATUS ( -1070137311i32 as _ ) ; pub const STATUS_VID_NOTIFICATION_QUEUE_ALREADY_ASSOCIATED : NTSTATUS = NTSTATUS ( -1070137327i32 as _ ) ; pub const STATUS_VID_NO_MEMORY_BLOCK_NOTIFICATION_QUEUE : NTSTATUS = NTSTATUS ( -1070137322i32 as _ ) ; pub const STATUS_VID_PAGE_RANGE_OVERFLOW : NTSTATUS = NTSTATUS ( -1070137325i32 as _ ) ; pub const STATUS_VID_PARTITION_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1070137336i32 as _ ) ; pub const STATUS_VID_PARTITION_DOES_NOT_EXIST : NTSTATUS = NTSTATUS ( -1070137335i32 as _ ) ; pub const STATUS_VID_PARTITION_NAME_NOT_FOUND : NTSTATUS = NTSTATUS ( -1070137334i32 as _ ) ; pub const STATUS_VID_PARTITION_NAME_TOO_LONG : NTSTATUS = NTSTATUS ( -1070137338i32 as _ ) ; pub const STATUS_VID_QUEUE_FULL : NTSTATUS = NTSTATUS ( -1070137341i32 as _ ) ; pub const STATUS_VID_REMOTE_NODE_PARENT_GPA_PAGES_USED : NTSTATUS = NTSTATUS ( -2143879167i32 as _ ) ; pub const STATUS_VID_RESERVE_PAGE_SET_IS_BEING_USED : NTSTATUS = NTSTATUS ( -1070137309i32 as _ ) ; pub const STATUS_VID_RESERVE_PAGE_SET_TOO_SMALL : NTSTATUS = NTSTATUS ( -1070137308i32 as _ ) ; pub const STATUS_VID_SAVED_STATE_CORRUPT : NTSTATUS = NTSTATUS ( -1070137305i32 as _ ) ; pub const STATUS_VID_SAVED_STATE_INCOMPATIBLE : NTSTATUS = NTSTATUS ( -1070137303i32 as _ ) ; pub const STATUS_VID_SAVED_STATE_UNRECOGNIZED_ITEM : NTSTATUS = NTSTATUS ( -1070137304i32 as _ ) ; pub const STATUS_VID_STOP_PENDING : NTSTATUS = NTSTATUS ( -1070137316i32 as _ ) ; pub const STATUS_VID_TOO_MANY_HANDLERS : NTSTATUS = NTSTATUS ( -1070137342i32 as _ ) ; pub const STATUS_VID_VIRTUAL_PROCESSOR_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1070137317i32 as _ ) ; pub const STATUS_VID_VTL_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1070137302i32 as _ ) ; pub const STATUS_VIRTDISK_DISK_ALREADY_OWNED : NTSTATUS = NTSTATUS ( -1069940706i32 as _ ) ; pub const STATUS_VIRTDISK_DISK_ONLINE_AND_WRITABLE : NTSTATUS = NTSTATUS ( -1069940705i32 as _ ) ; pub const STATUS_VIRTDISK_NOT_VIRTUAL_DISK : NTSTATUS = NTSTATUS ( -1069940715i32 as _ ) ; pub const STATUS_VIRTDISK_PROVIDER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069940716i32 as _ ) ; pub const STATUS_VIRTDISK_UNSUPPORTED_DISK_SECTOR_SIZE : NTSTATUS = NTSTATUS ( -1069940707i32 as _ ) ; pub const STATUS_VIRTUAL_CIRCUIT_CLOSED : NTSTATUS = NTSTATUS ( -1073741610i32 as _ ) ; pub const STATUS_VIRTUAL_DISK_LIMITATION : NTSTATUS = NTSTATUS ( -1069940710i32 as _ ) ; pub const STATUS_VIRUS_DELETED : NTSTATUS = NTSTATUS ( -1073739513i32 as _ ) ; pub const STATUS_VIRUS_INFECTED : NTSTATUS = NTSTATUS ( -1073739514i32 as _ ) ; pub const STATUS_VOLMGR_ALL_DISKS_FAILED : NTSTATUS = NTSTATUS ( -1070071767i32 as _ ) ; pub const STATUS_VOLMGR_BAD_BOOT_DISK : NTSTATUS = NTSTATUS ( -1070071729i32 as _ ) ; pub const STATUS_VOLMGR_DATABASE_FULL : NTSTATUS = NTSTATUS ( -1070071807i32 as _ ) ; pub const STATUS_VOLMGR_DIFFERENT_SECTOR_SIZE : NTSTATUS = NTSTATUS ( -1070071730i32 as _ ) ; pub const STATUS_VOLMGR_DISK_CONFIGURATION_CORRUPTED : NTSTATUS = NTSTATUS ( -1070071806i32 as _ ) ; pub const STATUS_VOLMGR_DISK_CONFIGURATION_NOT_IN_SYNC : NTSTATUS = NTSTATUS ( -1070071805i32 as _ ) ; pub const STATUS_VOLMGR_DISK_CONTAINS_NON_SIMPLE_VOLUME : NTSTATUS = NTSTATUS ( -1070071803i32 as _ ) ; pub const STATUS_VOLMGR_DISK_DUPLICATE : NTSTATUS = NTSTATUS ( -1070071802i32 as _ ) ; pub const STATUS_VOLMGR_DISK_DYNAMIC : NTSTATUS = NTSTATUS ( -1070071801i32 as _ ) ; pub const STATUS_VOLMGR_DISK_ID_INVALID : NTSTATUS = NTSTATUS ( -1070071800i32 as _ ) ; pub const STATUS_VOLMGR_DISK_INVALID : NTSTATUS = NTSTATUS ( -1070071799i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAST_VOTER : NTSTATUS = NTSTATUS ( -1070071798i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_INVALID : NTSTATUS = NTSTATUS ( -1070071797i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_NON_BASIC_BETWEEN_BASIC_PARTITIONS : NTSTATUS = NTSTATUS ( -1070071796i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_NOT_CYLINDER_ALIGNED : NTSTATUS = NTSTATUS ( -1070071795i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_PARTITIONS_TOO_SMALL : NTSTATUS = NTSTATUS ( -1070071794i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_PRIMARY_BETWEEN_LOGICAL_PARTITIONS : NTSTATUS = NTSTATUS ( -1070071793i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_TOO_MANY_PARTITIONS : NTSTATUS = NTSTATUS ( -1070071792i32 as _ ) ; pub const STATUS_VOLMGR_DISK_MISSING : NTSTATUS = NTSTATUS ( -1070071791i32 as _ ) ; pub const STATUS_VOLMGR_DISK_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1070071790i32 as _ ) ; pub const STATUS_VOLMGR_DISK_NOT_ENOUGH_SPACE : NTSTATUS = NTSTATUS ( -1070071789i32 as _ ) ; pub const STATUS_VOLMGR_DISK_REVECTORING_FAILED : NTSTATUS = NTSTATUS ( -1070071788i32 as _ ) ; pub const STATUS_VOLMGR_DISK_SECTOR_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1070071787i32 as _ ) ; pub const STATUS_VOLMGR_DISK_SET_NOT_CONTAINED : NTSTATUS = NTSTATUS ( -1070071786i32 as _ ) ; pub const STATUS_VOLMGR_DISK_USED_BY_MULTIPLE_MEMBERS : NTSTATUS = NTSTATUS ( -1070071785i32 as _ ) ; pub const STATUS_VOLMGR_DISK_USED_BY_MULTIPLE_PLEXES : NTSTATUS = NTSTATUS ( -1070071784i32 as _ ) ; pub const STATUS_VOLMGR_DYNAMIC_DISK_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1070071783i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_ALREADY_USED : NTSTATUS = NTSTATUS ( -1070071782i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_NOT_CONTIGUOUS : NTSTATUS = NTSTATUS ( -1070071781i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_NOT_IN_PUBLIC_REGION : NTSTATUS = NTSTATUS ( -1070071780i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_NOT_SECTOR_ALIGNED : NTSTATUS = NTSTATUS ( -1070071779i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_OVERLAPS_EBR_PARTITION : NTSTATUS = NTSTATUS ( -1070071778i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_VOLUME_LENGTHS_DO_NOT_MATCH : NTSTATUS = NTSTATUS ( -1070071777i32 as _ ) ; pub const STATUS_VOLMGR_FAULT_TOLERANT_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1070071776i32 as _ ) ; pub const STATUS_VOLMGR_INCOMPLETE_DISK_MIGRATION : NTSTATUS = NTSTATUS ( -2143813630i32 as _ ) ; pub const STATUS_VOLMGR_INCOMPLETE_REGENERATION : NTSTATUS = NTSTATUS ( -2143813631i32 as _ ) ; pub const STATUS_VOLMGR_INTERLEAVE_LENGTH_INVALID : NTSTATUS = NTSTATUS ( -1070071775i32 as _ ) ; pub const STATUS_VOLMGR_MAXIMUM_REGISTERED_USERS : NTSTATUS = NTSTATUS ( -1070071774i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_INDEX_DUPLICATE : NTSTATUS = NTSTATUS ( -1070071772i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_INDEX_INVALID : NTSTATUS = NTSTATUS ( -1070071771i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_IN_SYNC : NTSTATUS = NTSTATUS ( -1070071773i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_MISSING : NTSTATUS = NTSTATUS ( -1070071770i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_NOT_DETACHED : NTSTATUS = NTSTATUS ( -1070071769i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_REGENERATING : NTSTATUS = NTSTATUS ( -1070071768i32 as _ ) ; pub const STATUS_VOLMGR_MIRROR_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1070071717i32 as _ ) ; pub const STATUS_VOLMGR_NOTIFICATION_RESET : NTSTATUS = NTSTATUS ( -1070071764i32 as _ ) ; pub const STATUS_VOLMGR_NOT_PRIMARY_PACK : NTSTATUS = NTSTATUS ( -1070071726i32 as _ ) ; pub const STATUS_VOLMGR_NO_REGISTERED_USERS : NTSTATUS = NTSTATUS ( -1070071766i32 as _ ) ; pub const STATUS_VOLMGR_NO_SUCH_USER : NTSTATUS = NTSTATUS ( -1070071765i32 as _ ) ; pub const STATUS_VOLMGR_NO_VALID_LOG_COPIES : NTSTATUS = NTSTATUS ( -1070071720i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_DISKS_INVALID : NTSTATUS = NTSTATUS ( -1070071718i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_DISKS_IN_MEMBER_INVALID : NTSTATUS = NTSTATUS ( -1070071723i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_DISKS_IN_PLEX_INVALID : NTSTATUS = NTSTATUS ( -1070071724i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_EXTENTS_INVALID : NTSTATUS = NTSTATUS ( -1070071731i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_MEMBERS_INVALID : NTSTATUS = NTSTATUS ( -1070071763i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_PLEXES_INVALID : NTSTATUS = NTSTATUS ( -1070071762i32 as _ ) ; pub const STATUS_VOLMGR_PACK_CONFIG_OFFLINE : NTSTATUS = NTSTATUS ( -1070071728i32 as _ ) ; pub const STATUS_VOLMGR_PACK_CONFIG_ONLINE : NTSTATUS = NTSTATUS ( -1070071727i32 as _ ) ; pub const STATUS_VOLMGR_PACK_CONFIG_UPDATE_FAILED : NTSTATUS = NTSTATUS ( -1070071804i32 as _ ) ; pub const STATUS_VOLMGR_PACK_DUPLICATE : NTSTATUS = NTSTATUS ( -1070071761i32 as _ ) ; pub const STATUS_VOLMGR_PACK_HAS_QUORUM : NTSTATUS = NTSTATUS ( -1070071756i32 as _ ) ; pub const STATUS_VOLMGR_PACK_ID_INVALID : NTSTATUS = NTSTATUS ( -1070071760i32 as _ ) ; pub const STATUS_VOLMGR_PACK_INVALID : NTSTATUS = NTSTATUS ( -1070071759i32 as _ ) ; pub const STATUS_VOLMGR_PACK_LOG_UPDATE_FAILED : NTSTATUS = NTSTATUS ( -1070071725i32 as _ ) ; pub const STATUS_VOLMGR_PACK_NAME_INVALID : NTSTATUS = NTSTATUS ( -1070071758i32 as _ ) ; pub const STATUS_VOLMGR_PACK_OFFLINE : NTSTATUS = NTSTATUS ( -1070071757i32 as _ ) ; pub const STATUS_VOLMGR_PACK_WITHOUT_QUORUM : NTSTATUS = NTSTATUS ( -1070071755i32 as _ ) ; pub const STATUS_VOLMGR_PARTITION_STYLE_INVALID : NTSTATUS = NTSTATUS ( -1070071754i32 as _ ) ; pub const STATUS_VOLMGR_PARTITION_UPDATE_FAILED : NTSTATUS = NTSTATUS ( -1070071753i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_INDEX_DUPLICATE : NTSTATUS = NTSTATUS ( -1070071751i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_INDEX_INVALID : NTSTATUS = NTSTATUS ( -1070071750i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_IN_SYNC : NTSTATUS = NTSTATUS ( -1070071752i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_LAST_ACTIVE : NTSTATUS = NTSTATUS ( -1070071749i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_MISSING : NTSTATUS = NTSTATUS ( -1070071748i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_NOT_RAID5 : NTSTATUS = NTSTATUS ( -1070071745i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_NOT_SIMPLE : NTSTATUS = NTSTATUS ( -1070071744i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_NOT_SIMPLE_SPANNED : NTSTATUS = NTSTATUS ( -1070071721i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_REGENERATING : NTSTATUS = NTSTATUS ( -1070071747i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_TYPE_INVALID : NTSTATUS = NTSTATUS ( -1070071746i32 as _ ) ; pub const STATUS_VOLMGR_PRIMARY_PACK_PRESENT : NTSTATUS = NTSTATUS ( -1070071719i32 as _ ) ; pub const STATUS_VOLMGR_RAID5_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1070071716i32 as _ ) ; pub const STATUS_VOLMGR_STRUCTURE_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1070071743i32 as _ ) ; pub const STATUS_VOLMGR_TOO_MANY_NOTIFICATION_REQUESTS : NTSTATUS = NTSTATUS ( -1070071742i32 as _ ) ; pub const STATUS_VOLMGR_TRANSACTION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1070071741i32 as _ ) ; pub const STATUS_VOLMGR_UNEXPECTED_DISK_LAYOUT_CHANGE : NTSTATUS = NTSTATUS ( -1070071740i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_CONTAINS_MISSING_DISK : NTSTATUS = NTSTATUS ( -1070071739i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_ID_INVALID : NTSTATUS = NTSTATUS ( -1070071738i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_LENGTH_INVALID : NTSTATUS = NTSTATUS ( -1070071737i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_LENGTH_NOT_SECTOR_SIZE_MULTIPLE : NTSTATUS = NTSTATUS ( -1070071736i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_MIRRORED : NTSTATUS = NTSTATUS ( -1070071722i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_NOT_MIRRORED : NTSTATUS = NTSTATUS ( -1070071735i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_NOT_RETAINED : NTSTATUS = NTSTATUS ( -1070071734i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_OFFLINE : NTSTATUS = NTSTATUS ( -1070071733i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_RETAINED : NTSTATUS = NTSTATUS ( -1070071732i32 as _ ) ; pub const STATUS_VOLSNAP_ACTIVATION_TIMEOUT : NTSTATUS = NTSTATUS ( -1068498940i32 as _ ) ; pub const STATUS_VOLSNAP_BOOTFILE_NOT_VALID : NTSTATUS = NTSTATUS ( -1068498941i32 as _ ) ; pub const STATUS_VOLSNAP_HIBERNATE_READY : NTSTATUS = NTSTATUS ( 293i32 as _ ) ; pub const STATUS_VOLSNAP_PREPARE_HIBERNATE : NTSTATUS = NTSTATUS ( -1073740793i32 as _ ) ; pub const STATUS_VOLUME_DIRTY : NTSTATUS = NTSTATUS ( -1073739770i32 as _ ) ; pub const STATUS_VOLUME_DISMOUNTED : NTSTATUS = NTSTATUS ( -1073741202i32 as _ ) ; pub const STATUS_VOLUME_MOUNTED : NTSTATUS = NTSTATUS ( 265i32 as _ ) ; pub const STATUS_VOLUME_NOT_CLUSTER_ALIGNED : NTSTATUS = NTSTATUS ( -1073740636i32 as _ ) ; pub const STATUS_VOLUME_NOT_UPGRADED : NTSTATUS = NTSTATUS ( -1073741156i32 as _ ) ; pub const STATUS_VRF_CFG_AND_IO_ENABLED : NTSTATUS = NTSTATUS ( -1073740641i32 as _ ) ; pub const STATUS_VSM_DMA_PROTECTION_NOT_IN_USE : NTSTATUS = NTSTATUS ( -1069219839i32 as _ ) ; pub const STATUS_VSM_NOT_INITIALIZED : NTSTATUS = NTSTATUS ( -1069219840i32 as _ ) ; pub const STATUS_WAIT_0 : NTSTATUS = NTSTATUS ( 0i32 as _ ) ; pub const STATUS_WAIT_1 : NTSTATUS = NTSTATUS ( 1i32 as _ ) ; pub const STATUS_WAIT_2 : NTSTATUS = NTSTATUS ( 2i32 as _ ) ; pub const STATUS_WAIT_3 : NTSTATUS = NTSTATUS ( 3i32 as _ ) ; pub const STATUS_WAIT_63 : NTSTATUS = NTSTATUS ( 63i32 as _ ) ; pub const STATUS_WAIT_FOR_OPLOCK : NTSTATUS = NTSTATUS ( 871i32 as _ ) ; pub const STATUS_WAKE_SYSTEM : NTSTATUS = NTSTATUS ( 1073742484i32 as _ ) ; pub const STATUS_WAKE_SYSTEM_DEBUGGER : NTSTATUS = NTSTATUS ( -2147483641i32 as _ ) ; pub const STATUS_WAS_LOCKED : NTSTATUS = NTSTATUS ( 1073741849i32 as _ ) ; pub const STATUS_WAS_UNLOCKED : NTSTATUS = NTSTATUS ( 1073741847i32 as _ ) ; pub const STATUS_WIM_NOT_BOOTABLE : NTSTATUS = NTSTATUS ( -1073740665i32 as _ ) ; pub const STATUS_WMI_ALREADY_DISABLED : NTSTATUS = NTSTATUS ( -1073741054i32 as _ ) ; pub const STATUS_WMI_ALREADY_ENABLED : NTSTATUS = NTSTATUS ( -1073741053i32 as _ ) ; pub const STATUS_WMI_GUID_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073741055i32 as _ ) ; pub const STATUS_WMI_GUID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741163i32 as _ ) ; pub const STATUS_WMI_INSTANCE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741162i32 as _ ) ; pub const STATUS_WMI_ITEMID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741161i32 as _ ) ; pub const STATUS_WMI_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741091i32 as _ ) ; pub const STATUS_WMI_READ_ONLY : NTSTATUS = NTSTATUS ( -1073741114i32 as _ ) ; pub const STATUS_WMI_SET_FAILURE : NTSTATUS = NTSTATUS ( -1073741113i32 as _ ) ; pub const STATUS_WMI_TRY_AGAIN : NTSTATUS = NTSTATUS ( -1073741160i32 as _ ) ; pub const STATUS_WOF_FILE_RESOURCE_TABLE_CORRUPT : NTSTATUS = NTSTATUS ( -1073700185i32 as _ ) ; pub const STATUS_WOF_WIM_HEADER_CORRUPT : NTSTATUS = NTSTATUS ( -1073700187i32 as _ ) ; pub const STATUS_WOF_WIM_RESOURCE_TABLE_CORRUPT : NTSTATUS = NTSTATUS ( -1073700186i32 as _ ) ; pub const STATUS_WORKING_SET_LIMIT_RANGE : NTSTATUS = NTSTATUS ( 1073741826i32 as _ ) ; pub const STATUS_WORKING_SET_QUOTA : NTSTATUS = NTSTATUS ( -1073741663i32 as _ ) ; pub const STATUS_WOW_ASSERTION : NTSTATUS = NTSTATUS ( -1073702760i32 as _ ) ; pub const STATUS_WRONG_COMPARTMENT : NTSTATUS = NTSTATUS ( -1073700731i32 as _ ) ; pub const STATUS_WRONG_CREDENTIAL_HANDLE : NTSTATUS = NTSTATUS ( -1073741070i32 as _ ) ; pub const STATUS_WRONG_EFS : NTSTATUS = NTSTATUS ( -1073741169i32 as _ ) ; pub const STATUS_WRONG_PASSWORD_CORE : NTSTATUS = NTSTATUS ( -1073741495i32 as _ ) ; pub const STATUS_WRONG_VOLUME : NTSTATUS = NTSTATUS ( -1073741806i32 as _ ) ; pub const STATUS_WX86_BREAKPOINT : NTSTATUS = NTSTATUS ( 1073741855i32 as _ ) ; pub const STATUS_WX86_CONTINUE : NTSTATUS = NTSTATUS ( 1073741853i32 as _ ) ; pub const STATUS_WX86_CREATEWX86TIB : NTSTATUS = NTSTATUS ( 1073741864i32 as _ ) ; pub const STATUS_WX86_EXCEPTION_CHAIN : NTSTATUS = NTSTATUS ( 1073741858i32 as _ ) ; pub const STATUS_WX86_EXCEPTION_CONTINUE : NTSTATUS = NTSTATUS ( 1073741856i32 as _ ) ; pub const STATUS_WX86_EXCEPTION_LASTCHANCE : NTSTATUS = NTSTATUS ( 1073741857i32 as _ ) ; pub const STATUS_WX86_FLOAT_STACK_CHECK : NTSTATUS = NTSTATUS ( -1073741200i32 as _ ) ; pub const STATUS_WX86_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1073741201i32 as _ ) ; pub const STATUS_WX86_SINGLE_STEP : NTSTATUS = NTSTATUS ( 1073741854i32 as _ ) ; pub const STATUS_WX86_UNSIMULATE : NTSTATUS = NTSTATUS ( 1073741852i32 as _ ) ; pub const STATUS_XMLDSIG_ERROR : NTSTATUS = NTSTATUS ( -1073700732i32 as _ ) ; pub const STATUS_XML_ENCODING_MISMATCH : NTSTATUS = NTSTATUS ( -1072365535i32 as _ ) ; pub const STATUS_XML_PARSE_ERROR : NTSTATUS = NTSTATUS ( -1073700733i32 as _ ) ; pub const STG_E_ABNORMALAPIEXIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286790i32 as _ ) ; pub const STG_E_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287035i32 as _ ) ; pub const STG_E_BADBASEADDRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286768i32 as _ ) ; pub const STG_E_CANTSAVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286781i32 as _ ) ; pub const STG_E_CSS_AUTHENTICATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286266i32 as _ ) ; pub const STG_E_CSS_KEY_NOT_ESTABLISHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286264i32 as _ ) ; pub const STG_E_CSS_KEY_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286265i32 as _ ) ; pub const STG_E_CSS_REGION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286262i32 as _ ) ; pub const STG_E_CSS_SCRAMBLED_SECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286263i32 as _ ) ; pub const STG_E_DEVICE_UNRESPONSIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286518i32 as _ ) ; pub const STG_E_DISKISWRITEPROTECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287021i32 as _ ) ; pub const STG_E_DOCFILECORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286775i32 as _ ) ; pub const STG_E_DOCFILETOOLARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286767i32 as _ ) ; pub const STG_E_EXTANTMARSHALLINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286776i32 as _ ) ; pub const STG_E_FILEALREADYEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286960i32 as _ ) ; pub const STG_E_FILENOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287038i32 as _ ) ; pub const STG_E_FIRMWARE_IMAGE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286519i32 as _ ) ; pub const STG_E_FIRMWARE_SLOT_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286520i32 as _ ) ; pub const STG_E_INCOMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286527i32 as _ ) ; pub const STG_E_INSUFFICIENTMEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287032i32 as _ ) ; pub const STG_E_INUSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286784i32 as _ ) ; pub const STG_E_INVALIDFLAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286785i32 as _ ) ; pub const STG_E_INVALIDFUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287039i32 as _ ) ; pub const STG_E_INVALIDHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287034i32 as _ ) ; pub const STG_E_INVALIDHEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286789i32 as _ ) ; pub const STG_E_INVALIDNAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286788i32 as _ ) ; pub const STG_E_INVALIDPARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286953i32 as _ ) ; pub const STG_E_INVALIDPOINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287031i32 as _ ) ; pub const STG_E_LOCKVIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287007i32 as _ ) ; pub const STG_E_MEDIUMFULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286928i32 as _ ) ; pub const STG_E_NOMOREFILES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287022i32 as _ ) ; pub const STG_E_NOTCURRENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286783i32 as _ ) ; pub const STG_E_NOTFILEBASEDSTORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286777i32 as _ ) ; pub const STG_E_NOTSIMPLEFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286766i32 as _ ) ; pub const STG_E_OLDDLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286779i32 as _ ) ; pub const STG_E_OLDFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286780i32 as _ ) ; pub const STG_E_PATHNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287037i32 as _ ) ; pub const STG_E_PROPSETMISMATCHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286800i32 as _ ) ; pub const STG_E_READFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287010i32 as _ ) ; pub const STG_E_RESETS_EXHAUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286261i32 as _ ) ; pub const STG_E_REVERTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286782i32 as _ ) ; pub const STG_E_SEEKERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287015i32 as _ ) ; pub const STG_E_SHAREREQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286778i32 as _ ) ; pub const STG_E_SHAREVIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287008i32 as _ ) ; pub const STG_E_STATUS_COPY_PROTECTION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286267i32 as _ ) ; pub const STG_E_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286526i32 as _ ) ; pub const STG_E_TOOMANYOPENFILES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287036i32 as _ ) ; pub const STG_E_UNIMPLEMENTEDFUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286786i32 as _ ) ; pub const STG_E_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286787i32 as _ ) ; pub const STG_E_WRITEFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287011i32 as _ ) ; pub const STG_S_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( 197121i32 as _ ) ; pub const STG_S_CANNOTCONSOLIDATE : :: windows :: HRESULT = :: windows :: HRESULT ( 197126i32 as _ ) ; pub const STG_S_CONSOLIDATIONFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( 197125i32 as _ ) ; pub const STG_S_CONVERTED : :: windows :: HRESULT = :: windows :: HRESULT ( 197120i32 as _ ) ; pub const STG_S_MONITORING : :: windows :: HRESULT = :: windows :: HRESULT ( 197123i32 as _ ) ; pub const STG_S_MULTIPLEOPENS : :: windows :: HRESULT = :: windows :: HRESULT ( 197124i32 as _ ) ; pub const STG_S_POWER_CYCLE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( 197127i32 as _ ) ; pub const STG_S_RETRYNOW : :: windows :: HRESULT = :: windows :: HRESULT ( 197122i32 as _ ) ; pub const STORE_ERROR_LICENSE_REVOKED : i32 = 15864i32 ; pub const STORE_ERROR_PENDING_COM_TRANSACTION : i32 = 15863i32 ; pub const STORE_ERROR_UNLICENSED : i32 = 15861i32 ; pub const STORE_ERROR_UNLICENSED_USER : i32 = 15862i32 ; pub const STRICT : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SYSTEMTIME { pub wYear : u16 , pub wMonth : u16 , pub wDayOfWeek : u16 , pub wDay : u16 , pub wHour : u16 , pub wMinute : u16 , pub wSecond : u16 , pub wMilliseconds : u16 } impl SYSTEMTIME { } impl :: std :: default :: Default for SYSTEMTIME { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for SYSTEMTIME { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SYSTEMTIME" ) . field ( "wYear" , & self . wYear ) . field ( "wMonth" , & self . wMonth ) . field ( "wDayOfWeek" , & self . wDayOfWeek ) . field ( "wDay" , & self . wDay ) . field ( "wHour" , & self . wHour ) . field ( "wMinute" , & self . wMinute ) . field ( "wSecond" , & self . wSecond ) . field ( "wMilliseconds" , & self . wMilliseconds ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SYSTEMTIME { fn eq ( & self , other : & Self ) -> bool { self . wYear == other . wYear && self . wMonth == other . wMonth && self . wDayOfWeek == other . wDayOfWeek && self . wDay == other . wDay && self . wHour == other . wHour && self . wMinute == other . wMinute && self . wSecond == other . wSecond && self . wMilliseconds == other . wMilliseconds } } impl :: std :: cmp :: Eq for SYSTEMTIME { } unsafe impl :: windows :: Abi for SYSTEMTIME { type Abi = Self ; type DefaultType = Self ; } pub const S_APPLICATION_ACTIVATION_ERROR_HANDLED_BY_DIALOG : :: windows :: HRESULT = :: windows :: HRESULT ( 2556505i32 as _ ) ; pub const S_FALSE : :: windows :: HRESULT = :: windows :: HRESULT ( 1i32 as _ ) ; pub const S_OK : :: windows :: HRESULT = :: windows :: HRESULT ( 0i32 as _ ) ; pub const S_STORE_LAUNCHED_FOR_REMEDIATION : :: windows :: HRESULT = :: windows :: HRESULT ( 2556504i32 as _ ) ; pub unsafe fn SetHandleInformation < 'a , Param0 : :: windows :: IntoParam < 'a , HANDLE > , > ( hobject : Param0 , dwmask : u32 , dwflags : HANDLE_FLAGS , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="kernel32" ) ] extern "system" { fn SetHandleInformation ( hobject : HANDLE , dwmask : u32 , dwflags : HANDLE_FLAGS ) -> BOOL ; } :: std :: mem :: transmute ( SetHandleInformation ( hobject . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwmask ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysAddRefString < 'a , Param0 : :: windows :: IntoParam < 'a , BSTR > , > ( bstrstring : Param0 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysAddRefString ( bstrstring : :: std :: mem :: ManuallyDrop < BSTR > ) -> :: windows :: HRESULT ; } SysAddRefString ( bstrstring . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysAllocString < 'a , Param0 : :: windows :: IntoParam < 'a , PWSTR > , > ( psz : Param0 , ) -> BSTR { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysAllocString ( psz : PWSTR ) -> BSTR ; } :: std :: mem :: transmute ( SysAllocString ( psz . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysAllocStringByteLen < 'a , Param0 : :: windows :: IntoParam < 'a , PSTR > , > ( psz : Param0 , len : u32 , ) -> BSTR { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysAllocStringByteLen ( psz : PSTR , len : u32 ) -> BSTR ; } :: std :: mem :: transmute ( SysAllocStringByteLen ( psz . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( len ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysAllocStringLen < 'a , Param0 : :: windows :: IntoParam < 'a , PWSTR > , > ( strin : Param0 , ui : u32 , ) -> BSTR { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysAllocStringLen ( strin : PWSTR , ui : u32 ) -> BSTR ; } :: std :: mem :: transmute ( SysAllocStringLen ( strin . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ui ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysFreeString < 'a , Param0 : :: windows :: IntoParam < 'a , BSTR > , > ( bstrstring : Param0 , ) { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysFreeString ( bstrstring : :: std :: mem :: ManuallyDrop < BSTR > ) ; } :: std :: mem :: transmute ( SysFreeString ( bstrstring . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysReAllocString < 'a , Param1 : :: windows :: IntoParam < 'a , PWSTR > , > ( pbstr : * mut BSTR , psz : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysReAllocString ( pbstr : * mut :: std :: mem :: ManuallyDrop < BSTR > , psz : PWSTR ) -> i32 ; } :: std :: mem :: transmute ( SysReAllocString ( :: std :: mem :: transmute ( pbstr ) , psz . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysReAllocStringLen < 'a , Param1 : :: windows :: IntoParam < 'a , PWSTR > , > ( pbstr : * mut BSTR , psz : Param1 , len : u32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysReAllocStringLen ( pbstr : * mut :: std :: mem :: ManuallyDrop < BSTR > , psz : PWSTR , len : u32 ) -> i32 ; } :: std :: mem :: transmute ( SysReAllocStringLen ( :: std :: mem :: transmute ( pbstr ) , psz . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( len ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysReleaseString < 'a , Param0 : :: windows :: IntoParam < 'a , BSTR > , > ( bstrstring : Param0 , ) { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysReleaseString ( bstrstring : :: std :: mem :: ManuallyDrop < BSTR > ) ; } :: std :: mem :: transmute ( SysReleaseString ( bstrstring . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysStringByteLen < 'a , Param0 : :: windows :: IntoParam < 'a , BSTR > , > ( bstr : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysStringByteLen ( bstr : :: std :: mem :: ManuallyDrop < BSTR > ) -> u32 ; } :: std :: mem :: transmute ( SysStringByteLen ( bstr . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysStringLen < 'a , Param0 : :: windows :: IntoParam < 'a , BSTR > , > ( pbstr : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oleaut32" ) ] extern "system" { fn SysStringLen ( pbstr : :: std :: mem :: ManuallyDrop < BSTR > ) -> u32 ; } :: std :: mem :: transmute ( SysStringLen ( pbstr . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const TBSIMP_E_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796160i32 as _ ) ; pub const TBSIMP_E_CLEANUP_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796159i32 as _ ) ; pub const TBSIMP_E_COMMAND_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796149i32 as _ ) ; pub const TBSIMP_E_COMMAND_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796143i32 as _ ) ; pub const TBSIMP_E_DUPLICATE_VHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796154i32 as _ ) ; pub const TBSIMP_E_HASH_BAD_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796155i32 as _ ) ; pub const TBSIMP_E_HASH_TABLE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796138i32 as _ ) ; pub const TBSIMP_E_INVALID_CONTEXT_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796158i32 as _ ) ; pub const TBSIMP_E_INVALID_CONTEXT_PARAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796157i32 as _ ) ; pub const TBSIMP_E_INVALID_OUTPUT_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796153i32 as _ ) ; pub const TBSIMP_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796152i32 as _ ) ; pub const TBSIMP_E_INVALID_RESOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796140i32 as _ ) ; pub const TBSIMP_E_LIST_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796146i32 as _ ) ; pub const TBSIMP_E_LIST_NO_MORE_ITEMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796147i32 as _ ) ; pub const TBSIMP_E_NOTHING_TO_UNLOAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796139i32 as _ ) ; pub const TBSIMP_E_NOT_ENOUGH_SPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796145i32 as _ ) ; pub const TBSIMP_E_NOT_ENOUGH_TPM_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796144i32 as _ ) ; pub const TBSIMP_E_NO_EVENT_LOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796133i32 as _ ) ; pub const TBSIMP_E_OUT_OF_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796148i32 as _ ) ; pub const TBSIMP_E_PPI_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796135i32 as _ ) ; pub const TBSIMP_E_RESOURCE_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796141i32 as _ ) ; pub const TBSIMP_E_RPC_INIT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796151i32 as _ ) ; pub const TBSIMP_E_SCHEDULER_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796150i32 as _ ) ; pub const TBSIMP_E_TOO_MANY_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796136i32 as _ ) ; pub const TBSIMP_E_TOO_MANY_TBS_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796137i32 as _ ) ; pub const TBSIMP_E_TPM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796156i32 as _ ) ; pub const TBSIMP_E_TPM_INCOMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796134i32 as _ ) ; pub const TBSIMP_E_UNKNOWN_ORDINAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796142i32 as _ ) ; pub const TBS_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845806i32 as _ ) ; pub const TBS_E_BAD_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845822i32 as _ ) ; pub const TBS_E_BUFFER_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845810i32 as _ ) ; pub const TBS_E_COMMAND_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845811i32 as _ ) ; pub const TBS_E_INSUFFICIENT_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845819i32 as _ ) ; pub const TBS_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845823i32 as _ ) ; pub const TBS_E_INVALID_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845820i32 as _ ) ; pub const TBS_E_INVALID_CONTEXT_PARAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845817i32 as _ ) ; pub const TBS_E_INVALID_OUTPUT_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845821i32 as _ ) ; pub const TBS_E_IOERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845818i32 as _ ) ; pub const TBS_E_NO_EVENT_LOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845807i32 as _ ) ; pub const TBS_E_OWNERAUTH_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845803i32 as _ ) ; pub const TBS_E_PPI_FUNCTION_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845804i32 as _ ) ; pub const TBS_E_PPI_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845812i32 as _ ) ; pub const TBS_E_PROVISIONING_INCOMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845802i32 as _ ) ; pub const TBS_E_PROVISIONING_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845805i32 as _ ) ; pub const TBS_E_SERVICE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845808i32 as _ ) ; pub const TBS_E_SERVICE_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845816i32 as _ ) ; pub const TBS_E_SERVICE_START_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845813i32 as _ ) ; pub const TBS_E_TOO_MANY_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845814i32 as _ ) ; pub const TBS_E_TOO_MANY_TBS_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845815i32 as _ ) ; pub const TBS_E_TPM_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845809i32 as _ ) ; pub const TPC_E_INITIALIZE_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220957i32 as _ ) ; pub const TPC_E_INVALID_CONFIGURATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220935i32 as _ ) ; pub const TPC_E_INVALID_DATA_FROM_RECOGNIZER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220934i32 as _ ) ; pub const TPC_E_INVALID_INPUT_RECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220967i32 as _ ) ; pub const TPC_E_INVALID_PACKET_DESCRIPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220941i32 as _ ) ; pub const TPC_E_INVALID_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220927i32 as _ ) ; pub const TPC_E_INVALID_RIGHTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220938i32 as _ ) ; pub const TPC_E_INVALID_STROKE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220958i32 as _ ) ; pub const TPC_E_NOT_RELEVANT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220942i32 as _ ) ; pub const TPC_E_NO_DEFAULT_TABLET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220974i32 as _ ) ; pub const TPC_E_OUT_OF_ORDER_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220937i32 as _ ) ; pub const TPC_E_QUEUE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220936i32 as _ ) ; pub const TPC_E_RECOGNIZER_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220939i32 as _ ) ; pub const TPC_E_UNKNOWN_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220965i32 as _ ) ; pub const TPC_S_INTERRUPTED : :: windows :: HRESULT = :: windows :: HRESULT ( 262739i32 as _ ) ; pub const TPC_S_NO_DATA_TO_PROCESS : :: windows :: HRESULT = :: windows :: HRESULT ( 262740i32 as _ ) ; pub const TPC_S_TRUNCATED : :: windows :: HRESULT = :: windows :: HRESULT ( 262738i32 as _ ) ; pub const TPMAPI_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796408i32 as _ ) ; pub const TPMAPI_E_AUTHORIZATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796407i32 as _ ) ; pub const TPMAPI_E_AUTHORIZATION_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796378i32 as _ ) ; pub const TPMAPI_E_AUTHORIZING_KEY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796376i32 as _ ) ; pub const TPMAPI_E_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796410i32 as _ ) ; pub const TPMAPI_E_EMPTY_TCG_LOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796390i32 as _ ) ; pub const TPMAPI_E_ENCRYPTION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796400i32 as _ ) ; pub const TPMAPI_E_ENDORSEMENT_AUTH_NOT_NULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796379i32 as _ ) ; pub const TPMAPI_E_FIPS_RNG_CHECK_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796391i32 as _ ) ; pub const TPMAPI_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796409i32 as _ ) ; pub const TPMAPI_E_INVALID_AUTHORIZATION_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796375i32 as _ ) ; pub const TPMAPI_E_INVALID_CONTEXT_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796406i32 as _ ) ; pub const TPMAPI_E_INVALID_CONTEXT_PARAMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796395i32 as _ ) ; pub const TPMAPI_E_INVALID_DELEGATE_BLOB : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796396i32 as _ ) ; pub const TPMAPI_E_INVALID_ENCODING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796402i32 as _ ) ; pub const TPMAPI_E_INVALID_KEY_BLOB : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796394i32 as _ ) ; pub const TPMAPI_E_INVALID_KEY_PARAMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796399i32 as _ ) ; pub const TPMAPI_E_INVALID_KEY_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796401i32 as _ ) ; pub const TPMAPI_E_INVALID_MIGRATION_AUTHORIZATION_BLOB : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796398i32 as _ ) ; pub const TPMAPI_E_INVALID_OUTPUT_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796413i32 as _ ) ; pub const TPMAPI_E_INVALID_OWNER_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796392i32 as _ ) ; pub const TPMAPI_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796412i32 as _ ) ; pub const TPMAPI_E_INVALID_PCR_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796393i32 as _ ) ; pub const TPMAPI_E_INVALID_PCR_INDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796397i32 as _ ) ; pub const TPMAPI_E_INVALID_POLICYAUTH_BLOB_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796370i32 as _ ) ; pub const TPMAPI_E_INVALID_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796416i32 as _ ) ; pub const TPMAPI_E_INVALID_TCG_LOG_ENTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796389i32 as _ ) ; pub const TPMAPI_E_INVALID_TPM_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796371i32 as _ ) ; pub const TPMAPI_E_MALFORMED_AUTHORIZATION_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796377i32 as _ ) ; pub const TPMAPI_E_MALFORMED_AUTHORIZATION_OTHER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796373i32 as _ ) ; pub const TPMAPI_E_MALFORMED_AUTHORIZATION_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796374i32 as _ ) ; pub const TPMAPI_E_MESSAGE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796403i32 as _ ) ; pub const TPMAPI_E_NOT_ENOUGH_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796415i32 as _ ) ; pub const TPMAPI_E_NO_AUTHORIZATION_CHAIN_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796382i32 as _ ) ; pub const TPMAPI_E_NV_BITS_NOT_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796385i32 as _ ) ; pub const TPMAPI_E_NV_BITS_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796384i32 as _ ) ; pub const TPMAPI_E_OUT_OF_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796411i32 as _ ) ; pub const TPMAPI_E_OWNER_AUTH_NOT_NULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796380i32 as _ ) ; pub const TPMAPI_E_POLICY_DENIES_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796386i32 as _ ) ; pub const TPMAPI_E_SEALING_KEY_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796372i32 as _ ) ; pub const TPMAPI_E_SEALING_KEY_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796383i32 as _ ) ; pub const TPMAPI_E_SVN_COUNTER_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796381i32 as _ ) ; pub const TPMAPI_E_TBS_COMMUNICATION_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796405i32 as _ ) ; pub const TPMAPI_E_TCG_INVALID_DIGEST_ENTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796387i32 as _ ) ; pub const TPMAPI_E_TCG_SEPARATOR_ABSENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796388i32 as _ ) ; pub const TPMAPI_E_TOO_MUCH_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796414i32 as _ ) ; pub const TPMAPI_E_TPM_COMMAND_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796404i32 as _ ) ; pub const TPM_20_E_ASYMMETRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862079i32 as _ ) ; pub const TPM_20_E_ATTRIBUTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862078i32 as _ ) ; pub const TPM_20_E_AUTHSIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861884i32 as _ ) ; pub const TPM_20_E_AUTH_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861883i32 as _ ) ; pub const TPM_20_E_AUTH_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862066i32 as _ ) ; pub const TPM_20_E_AUTH_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861915i32 as _ ) ; pub const TPM_20_E_AUTH_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861916i32 as _ ) ; pub const TPM_20_E_AUTH_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861905i32 as _ ) ; pub const TPM_20_E_BAD_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862046i32 as _ ) ; pub const TPM_20_E_BAD_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861872i32 as _ ) ; pub const TPM_20_E_BINDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862043i32 as _ ) ; pub const TPM_20_E_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859895i32 as _ ) ; pub const TPM_20_E_COMMAND_CODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861885i32 as _ ) ; pub const TPM_20_E_COMMAND_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861886i32 as _ ) ; pub const TPM_20_E_CONTEXT_GAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859903i32 as _ ) ; pub const TPM_20_E_CPHASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861871i32 as _ ) ; pub const TPM_20_E_CURVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862042i32 as _ ) ; pub const TPM_20_E_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861920i32 as _ ) ; pub const TPM_20_E_ECC_CURVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861917i32 as _ ) ; pub const TPM_20_E_ECC_POINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862041i32 as _ ) ; pub const TPM_20_E_EXCLUSIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861919i32 as _ ) ; pub const TPM_20_E_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862045i32 as _ ) ; pub const TPM_20_E_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861951i32 as _ ) ; pub const TPM_20_E_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862069i32 as _ ) ; pub const TPM_20_E_HASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862077i32 as _ ) ; pub const TPM_20_E_HIERARCHY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862075i32 as _ ) ; pub const TPM_20_E_HMAC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861927i32 as _ ) ; pub const TPM_20_E_INITIALIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861952i32 as _ ) ; pub const TPM_20_E_INSUFFICIENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862054i32 as _ ) ; pub const TPM_20_E_INTEGRITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862049i32 as _ ) ; pub const TPM_20_E_KDF : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862068i32 as _ ) ; pub const TPM_20_E_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862052i32 as _ ) ; pub const TPM_20_E_KEY_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862073i32 as _ ) ; pub const TPM_20_E_LOCALITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859897i32 as _ ) ; pub const TPM_20_E_LOCKOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859871i32 as _ ) ; pub const TPM_20_E_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859900i32 as _ ) ; pub const TPM_20_E_MGF : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862072i32 as _ ) ; pub const TPM_20_E_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862071i32 as _ ) ; pub const TPM_20_E_NEEDS_TEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861869i32 as _ ) ; pub const TPM_20_E_NONCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862065i32 as _ ) ; pub const TPM_20_E_NO_RESULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861868i32 as _ ) ; pub const TPM_20_E_NV_AUTHORIZATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861879i32 as _ ) ; pub const TPM_20_E_NV_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861876i32 as _ ) ; pub const TPM_20_E_NV_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861880i32 as _ ) ; pub const TPM_20_E_NV_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861882i32 as _ ) ; pub const TPM_20_E_NV_RATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859872i32 as _ ) ; pub const TPM_20_E_NV_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861881i32 as _ ) ; pub const TPM_20_E_NV_SPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861877i32 as _ ) ; pub const TPM_20_E_NV_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859869i32 as _ ) ; pub const TPM_20_E_NV_UNINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861878i32 as _ ) ; pub const TPM_20_E_OBJECT_HANDLES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859898i32 as _ ) ; pub const TPM_20_E_OBJECT_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859902i32 as _ ) ; pub const TPM_20_E_PARENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861870i32 as _ ) ; pub const TPM_20_E_PCR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861913i32 as _ ) ; pub const TPM_20_E_PCR_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861912i32 as _ ) ; pub const TPM_20_E_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861914i32 as _ ) ; pub const TPM_20_E_POLICY_CC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862044i32 as _ ) ; pub const TPM_20_E_POLICY_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862051i32 as _ ) ; pub const TPM_20_E_PP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862064i32 as _ ) ; pub const TPM_20_E_PRIVATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861941i32 as _ ) ; pub const TPM_20_E_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862067i32 as _ ) ; pub const TPM_20_E_REBOOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861904i32 as _ ) ; pub const TPM_20_E_RESERVED_BITS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862047i32 as _ ) ; pub const TPM_20_E_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859870i32 as _ ) ; pub const TPM_20_E_SCHEME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862062i32 as _ ) ; pub const TPM_20_E_SELECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862056i32 as _ ) ; pub const TPM_20_E_SENSITIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861867i32 as _ ) ; pub const TPM_20_E_SEQUENCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861949i32 as _ ) ; pub const TPM_20_E_SESSION_HANDLES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859899i32 as _ ) ; pub const TPM_20_E_SESSION_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859901i32 as _ ) ; pub const TPM_20_E_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862053i32 as _ ) ; pub const TPM_20_E_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862059i32 as _ ) ; pub const TPM_20_E_SYMMETRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862058i32 as _ ) ; pub const TPM_20_E_TAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862057i32 as _ ) ; pub const TPM_20_E_TESTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859894i32 as _ ) ; pub const TPM_20_E_TICKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862048i32 as _ ) ; pub const TPM_20_E_TOO_MANY_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861906i32 as _ ) ; pub const TPM_20_E_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862070i32 as _ ) ; pub const TPM_20_E_UNBALANCED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861903i32 as _ ) ; pub const TPM_20_E_UPGRADE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861907i32 as _ ) ; pub const TPM_20_E_VALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862076i32 as _ ) ; pub const TPM_20_E_YIELDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859896i32 as _ ) ; pub const TPM_E_AREA_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862148i32 as _ ) ; pub const TPM_E_ATTESTATION_CHALLENGE_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795630i32 as _ ) ; pub const TPM_E_AUDITFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862204i32 as _ ) ; pub const TPM_E_AUDITFAIL_SUCCESSFUL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862159i32 as _ ) ; pub const TPM_E_AUDITFAIL_UNSUCCESSFUL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862160i32 as _ ) ; pub const TPM_E_AUTH2FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862179i32 as _ ) ; pub const TPM_E_AUTHFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862207i32 as _ ) ; pub const TPM_E_AUTH_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862149i32 as _ ) ; pub const TPM_E_BADCONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862118i32 as _ ) ; pub const TPM_E_BADINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862206i32 as _ ) ; pub const TPM_E_BADTAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862178i32 as _ ) ; pub const TPM_E_BAD_ATTRIBUTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862142i32 as _ ) ; pub const TPM_E_BAD_COUNTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862139i32 as _ ) ; pub const TPM_E_BAD_DATASIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862165i32 as _ ) ; pub const TPM_E_BAD_DELEGATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862119i32 as _ ) ; pub const TPM_E_BAD_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862120i32 as _ ) ; pub const TPM_E_BAD_KEY_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862168i32 as _ ) ; pub const TPM_E_BAD_LOCALITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862147i32 as _ ) ; pub const TPM_E_BAD_MIGRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862167i32 as _ ) ; pub const TPM_E_BAD_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862164i32 as _ ) ; pub const TPM_E_BAD_ORDINAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862198i32 as _ ) ; pub const TPM_E_BAD_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862205i32 as _ ) ; pub const TPM_E_BAD_PARAM_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862183i32 as _ ) ; pub const TPM_E_BAD_PRESENCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862163i32 as _ ) ; pub const TPM_E_BAD_SCHEME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862166i32 as _ ) ; pub const TPM_E_BAD_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862110i32 as _ ) ; pub const TPM_E_BAD_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862156i32 as _ ) ; pub const TPM_E_BAD_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862162i32 as _ ) ; pub const TPM_E_BUFFER_LENGTH_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795618i32 as _ ) ; pub const TPM_E_CLAIM_TYPE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795620i32 as _ ) ; pub const TPM_E_CLEAR_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862203i32 as _ ) ; pub const TPM_E_COMMAND_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861184i32 as _ ) ; pub const TPM_E_CONTEXT_GAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862137i32 as _ ) ; pub const TPM_E_DAA_INPUT_DATA0 : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862127i32 as _ ) ; pub const TPM_E_DAA_INPUT_DATA1 : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862126i32 as _ ) ; pub const TPM_E_DAA_ISSUER_SETTINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862125i32 as _ ) ; pub const TPM_E_DAA_ISSUER_VALIDITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862122i32 as _ ) ; pub const TPM_E_DAA_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862128i32 as _ ) ; pub const TPM_E_DAA_STAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862123i32 as _ ) ; pub const TPM_E_DAA_TPM_SETTINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862124i32 as _ ) ; pub const TPM_E_DAA_WRONG_W : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862121i32 as _ ) ; pub const TPM_E_DEACTIVATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862202i32 as _ ) ; pub const TPM_E_DECRYPT_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862175i32 as _ ) ; pub const TPM_E_DEFEND_LOCK_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144860157i32 as _ ) ; pub const TPM_E_DELEGATE_ADMIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862131i32 as _ ) ; pub const TPM_E_DELEGATE_FAMILY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862132i32 as _ ) ; pub const TPM_E_DELEGATE_LOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862133i32 as _ ) ; pub const TPM_E_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862201i32 as _ ) ; pub const TPM_E_DISABLED_CMD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862200i32 as _ ) ; pub const TPM_E_DOING_SELFTEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144860158i32 as _ ) ; pub const TPM_E_DUPLICATE_VHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861182i32 as _ ) ; pub const TPM_E_EMBEDDED_COMMAND_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861181i32 as _ ) ; pub const TPM_E_EMBEDDED_COMMAND_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861180i32 as _ ) ; pub const TPM_E_ENCRYPT_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862176i32 as _ ) ; pub const TPM_E_ERROR_MASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862208i32 as _ ) ; pub const TPM_E_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862199i32 as _ ) ; pub const TPM_E_FAILEDSELFTEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862180i32 as _ ) ; pub const TPM_E_FAMILYCOUNT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862144i32 as _ ) ; pub const TPM_E_INAPPROPRIATE_ENC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862194i32 as _ ) ; pub const TPM_E_INAPPROPRIATE_SIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862169i32 as _ ) ; pub const TPM_E_INSTALL_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862197i32 as _ ) ; pub const TPM_E_INVALID_AUTHHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862174i32 as _ ) ; pub const TPM_E_INVALID_FAMILY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862153i32 as _ ) ; pub const TPM_E_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861183i32 as _ ) ; pub const TPM_E_INVALID_KEYHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862196i32 as _ ) ; pub const TPM_E_INVALID_KEYUSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862172i32 as _ ) ; pub const TPM_E_INVALID_OWNER_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795135i32 as _ ) ; pub const TPM_E_INVALID_PCR_INFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862192i32 as _ ) ; pub const TPM_E_INVALID_POSTINIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862170i32 as _ ) ; pub const TPM_E_INVALID_RESOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862155i32 as _ ) ; pub const TPM_E_INVALID_STRUCTURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862141i32 as _ ) ; pub const TPM_E_IOERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862177i32 as _ ) ; pub const TPM_E_KEYNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862195i32 as _ ) ; pub const TPM_E_KEY_ALREADY_FINALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795628i32 as _ ) ; pub const TPM_E_KEY_NOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862150i32 as _ ) ; pub const TPM_E_KEY_NOT_AUTHENTICATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795624i32 as _ ) ; pub const TPM_E_KEY_NOT_FINALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795631i32 as _ ) ; pub const TPM_E_KEY_NOT_LOADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795633i32 as _ ) ; pub const TPM_E_KEY_NOT_SIGNING_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795622i32 as _ ) ; pub const TPM_E_KEY_OWNER_CONTROL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862140i32 as _ ) ; pub const TPM_E_KEY_USAGE_POLICY_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795626i32 as _ ) ; pub const TPM_E_KEY_USAGE_POLICY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795627i32 as _ ) ; pub const TPM_E_LOCKED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795621i32 as _ ) ; pub const TPM_E_MAXNVWRITES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862136i32 as _ ) ; pub const TPM_E_MA_AUTHORITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862113i32 as _ ) ; pub const TPM_E_MA_DESTINATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862115i32 as _ ) ; pub const TPM_E_MA_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862114i32 as _ ) ; pub const TPM_E_MA_TICKET_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862116i32 as _ ) ; pub const TPM_E_MIGRATEFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862193i32 as _ ) ; pub const TPM_E_NEEDS_SELFTEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144860159i32 as _ ) ; pub const TPM_E_NOCONTEXTSPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862109i32 as _ ) ; pub const TPM_E_NOOPERATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862135i32 as _ ) ; pub const TPM_E_NOSPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862191i32 as _ ) ; pub const TPM_E_NOSRK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862190i32 as _ ) ; pub const TPM_E_NOTFIPS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862154i32 as _ ) ; pub const TPM_E_NOTLOCAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862157i32 as _ ) ; pub const TPM_E_NOTRESETABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862158i32 as _ ) ; pub const TPM_E_NOTSEALED_BLOB : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862189i32 as _ ) ; pub const TPM_E_NOT_FULLWRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862138i32 as _ ) ; pub const TPM_E_NOT_PCR_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795629i32 as _ ) ; pub const TPM_E_NO_ENDORSEMENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862173i32 as _ ) ; pub const TPM_E_NO_KEY_CERTIFICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795632i32 as _ ) ; pub const TPM_E_NO_NV_PERMISSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862152i32 as _ ) ; pub const TPM_E_NO_WRAP_TRANSPORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862161i32 as _ ) ; pub const TPM_E_OWNER_CONTROL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862129i32 as _ ) ; pub const TPM_E_OWNER_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862188i32 as _ ) ; pub const TPM_E_PCP_AUTHENTICATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795640i32 as _ ) ; pub const TPM_E_PCP_AUTHENTICATION_IGNORED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795639i32 as _ ) ; pub const TPM_E_PCP_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795642i32 as _ ) ; pub const TPM_E_PCP_DEVICE_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795647i32 as _ ) ; pub const TPM_E_PCP_ERROR_MASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795648i32 as _ ) ; pub const TPM_E_PCP_FLAG_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795644i32 as _ ) ; pub const TPM_E_PCP_IFX_RSA_KEY_CREATION_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795617i32 as _ ) ; pub const TPM_E_PCP_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795641i32 as _ ) ; pub const TPM_E_PCP_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795646i32 as _ ) ; pub const TPM_E_PCP_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795645i32 as _ ) ; pub const TPM_E_PCP_KEY_HANDLE_INVALIDATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795614i32 as _ ) ; pub const TPM_E_PCP_KEY_NOT_AIK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795623i32 as _ ) ; pub const TPM_E_PCP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795643i32 as _ ) ; pub const TPM_E_PCP_PLATFORM_CLAIM_MAY_BE_OUTDATED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076429860i32 as _ ) ; pub const TPM_E_PCP_PLATFORM_CLAIM_OUTDATED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076429861i32 as _ ) ; pub const TPM_E_PCP_PLATFORM_CLAIM_REBOOT : :: windows :: HRESULT = :: windows :: HRESULT ( 1076429862i32 as _ ) ; pub const TPM_E_PCP_POLICY_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795638i32 as _ ) ; pub const TPM_E_PCP_PROFILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795637i32 as _ ) ; pub const TPM_E_PCP_RAW_POLICY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795615i32 as _ ) ; pub const TPM_E_PCP_TICKET_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795616i32 as _ ) ; pub const TPM_E_PCP_UNSUPPORTED_PSS_SALT : :: windows :: HRESULT = :: windows :: HRESULT ( 1076429859i32 as _ ) ; pub const TPM_E_PCP_VALIDATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795636i32 as _ ) ; pub const TPM_E_PCP_WRONG_PARENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795634i32 as _ ) ; pub const TPM_E_PERMANENTEK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862111i32 as _ ) ; pub const TPM_E_PER_NOWRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862145i32 as _ ) ; pub const TPM_E_PPI_ACPI_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795904i32 as _ ) ; pub const TPM_E_PPI_BIOS_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795902i32 as _ ) ; pub const TPM_E_PPI_BLOCKED_IN_BIOS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795900i32 as _ ) ; pub const TPM_E_PPI_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795901i32 as _ ) ; pub const TPM_E_PPI_USER_ABORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795903i32 as _ ) ; pub const TPM_E_PROVISIONING_INCOMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795136i32 as _ ) ; pub const TPM_E_READ_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862146i32 as _ ) ; pub const TPM_E_REQUIRES_SIGN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862151i32 as _ ) ; pub const TPM_E_RESOURCEMISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862134i32 as _ ) ; pub const TPM_E_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862187i32 as _ ) ; pub const TPM_E_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144860160i32 as _ ) ; pub const TPM_E_SHA_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862181i32 as _ ) ; pub const TPM_E_SHA_THREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862182i32 as _ ) ; pub const TPM_E_SHORTRANDOM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862186i32 as _ ) ; pub const TPM_E_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862185i32 as _ ) ; pub const TPM_E_SOFT_KEY_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795625i32 as _ ) ; pub const TPM_E_TOOMANYCONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862117i32 as _ ) ; pub const TPM_E_TOO_MUCH_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795134i32 as _ ) ; pub const TPM_E_TRANSPORT_NOTEXCLUSIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862130i32 as _ ) ; pub const TPM_E_VERSION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795619i32 as _ ) ; pub const TPM_E_WRITE_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862143i32 as _ ) ; pub const TPM_E_WRONGPCRVAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862184i32 as _ ) ; pub const TPM_E_WRONG_ENTITYTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862171i32 as _ ) ; pub const TPM_E_ZERO_EXHAUST_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795392i32 as _ ) ; pub const TRUST_E_ACTION_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762750i32 as _ ) ; pub const TRUST_E_BAD_DIGEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869232i32 as _ ) ; pub const TRUST_E_BASIC_CONSTRAINTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869223i32 as _ ) ; pub const TRUST_E_CERT_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869244i32 as _ ) ; pub const TRUST_E_COUNTER_SIGNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869245i32 as _ ) ; pub const TRUST_E_EXPLICIT_DISTRUST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762479i32 as _ ) ; pub const TRUST_E_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762485i32 as _ ) ; pub const TRUST_E_FINANCIAL_CRITERIA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869218i32 as _ ) ; pub const TRUST_E_MALFORMED_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869231i32 as _ ) ; pub const TRUST_E_NOSIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762496i32 as _ ) ; pub const TRUST_E_NO_SIGNER_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869246i32 as _ ) ; pub const TRUST_E_PROVIDER_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762751i32 as _ ) ; pub const TRUST_E_SUBJECT_FORM_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762749i32 as _ ) ; pub const TRUST_E_SUBJECT_NOT_TRUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762748i32 as _ ) ; pub const TRUST_E_SYSTEM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869247i32 as _ ) ; pub const TRUST_E_TIME_STAMP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869243i32 as _ ) ; pub const TYPE_E_AMBIGUOUSNAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319764i32 as _ ) ; pub const TYPE_E_BADMODULEKIND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147317571i32 as _ ) ; pub const TYPE_E_BUFFERTOOSMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319786i32 as _ ) ; pub const TYPE_E_CANTCREATETMPFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147316573i32 as _ ) ; pub const TYPE_E_CANTLOADLIBRARY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147312566i32 as _ ) ; pub const TYPE_E_CIRCULARTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147312508i32 as _ ) ; pub const TYPE_E_DLLFUNCTIONNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319761i32 as _ ) ; pub const TYPE_E_DUPLICATEID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147317562i32 as _ ) ; pub const TYPE_E_ELEMENTNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319765i32 as _ ) ; pub const TYPE_E_FIELDNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319785i32 as _ ) ; pub const TYPE_E_INCONSISTENTPROPFUNCS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147312509i32 as _ ) ; pub const TYPE_E_INVALIDID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147317553i32 as _ ) ; pub const TYPE_E_INVALIDSTATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319767i32 as _ ) ; pub const TYPE_E_INVDATAREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319784i32 as _ ) ; pub const TYPE_E_IOERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147316574i32 as _ ) ; pub const TYPE_E_LIBNOTREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319779i32 as _ ) ; pub const TYPE_E_NAMECONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319763i32 as _ ) ; pub const TYPE_E_OUTOFBOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147316575i32 as _ ) ; pub const TYPE_E_QUALIFIEDNAMEDISALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319768i32 as _ ) ; pub const TYPE_E_REGISTRYACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319780i32 as _ ) ; pub const TYPE_E_SIZETOOBIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147317563i32 as _ ) ; pub const TYPE_E_TYPEMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147316576i32 as _ ) ; pub const TYPE_E_UNDEFINEDTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319769i32 as _ ) ; pub const TYPE_E_UNKNOWNLCID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319762i32 as _ ) ; pub const TYPE_E_UNSUPFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319783i32 as _ ) ; pub const TYPE_E_WRONGTYPEKIND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319766i32 as _ ) ; pub const UCEERR_BLOCKSFULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303415i32 as _ ) ; pub const UCEERR_CHANNELSYNCABANDONED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303404i32 as _ ) ; pub const UCEERR_CHANNELSYNCTIMEDOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303405i32 as _ ) ; pub const UCEERR_COMMANDTRANSPORTDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303400i32 as _ ) ; pub const UCEERR_CONNECTIONIDLOOKUPFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303416i32 as _ ) ; pub const UCEERR_CTXSTACKFRSTTARGETNULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303417i32 as _ ) ; pub const UCEERR_FEEDBACK_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303401i32 as _ ) ; pub const UCEERR_GRAPHICSSTREAMALREADYOPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303392i32 as _ ) ; pub const UCEERR_GRAPHICSSTREAMUNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303399i32 as _ ) ; pub const UCEERR_HANDLELOOKUPFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303419i32 as _ ) ; pub const UCEERR_ILLEGALHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303420i32 as _ ) ; pub const UCEERR_ILLEGALPACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303422i32 as _ ) ; pub const UCEERR_ILLEGALRECORDTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303412i32 as _ ) ; pub const UCEERR_INVALIDPACKETHEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303424i32 as _ ) ; pub const UCEERR_MALFORMEDPACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303421i32 as _ ) ; pub const UCEERR_MEMORYFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303414i32 as _ ) ; pub const UCEERR_MISSINGBEGINCOMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303406i32 as _ ) ; pub const UCEERR_MISSINGENDCOMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303407i32 as _ ) ; pub const UCEERR_NO_MULTIPLE_WORKER_THREADS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303409i32 as _ ) ; pub const UCEERR_OUTOFHANDLES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303411i32 as _ ) ; pub const UCEERR_PACKETRECORDOUTOFRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303413i32 as _ ) ; pub const UCEERR_PARTITION_ZOMBIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303389i32 as _ ) ; pub const UCEERR_REMOTINGNOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303408i32 as _ ) ; pub const UCEERR_RENDERTHREADFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303418i32 as _ ) ; pub const UCEERR_TRANSPORTDISCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303391i32 as _ ) ; pub const UCEERR_TRANSPORTOVERLOADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303390i32 as _ ) ; pub const UCEERR_TRANSPORTUNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303402i32 as _ ) ; pub const UCEERR_UNCHANGABLE_UPDATE_ATTEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303410i32 as _ ) ; pub const UCEERR_UNKNOWNPACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303423i32 as _ ) ; pub const UCEERR_UNSUPPORTEDTRANSPORTVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303403i32 as _ ) ; pub const UI_E_AMBIGUOUS_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731126i32 as _ ) ; pub const UI_E_BOOLEAN_EXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731128i32 as _ ) ; pub const UI_E_CREATE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731135i32 as _ ) ; pub const UI_E_DIFFERENT_OWNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731127i32 as _ ) ; pub const UI_E_END_KEYFRAME_NOT_DETERMINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730876i32 as _ ) ; pub const UI_E_FP_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731125i32 as _ ) ; pub const UI_E_ILLEGAL_REENTRANCY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731133i32 as _ ) ; pub const UI_E_INVALID_DIMENSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730869i32 as _ ) ; pub const UI_E_INVALID_OUTPUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731129i32 as _ ) ; pub const UI_E_LOOPS_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730875i32 as _ ) ; pub const UI_E_OBJECT_SEALED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731132i32 as _ ) ; pub const UI_E_PRIMITIVE_OUT_OF_BOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730868i32 as _ ) ; pub const UI_E_SHUTDOWN_CALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731134i32 as _ ) ; pub const UI_E_START_KEYFRAME_AFTER_END : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730877i32 as _ ) ; pub const UI_E_STORYBOARD_ACTIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730879i32 as _ ) ; pub const UI_E_STORYBOARD_NOT_PLAYING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730878i32 as _ ) ; pub const UI_E_TIMER_CLIENT_ALREADY_CONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730870i32 as _ ) ; pub const UI_E_TIME_BEFORE_LAST_UPDATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730871i32 as _ ) ; pub const UI_E_TRANSITION_ALREADY_USED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730874i32 as _ ) ; pub const UI_E_TRANSITION_ECLIPSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730872i32 as _ ) ; pub const UI_E_TRANSITION_NOT_IN_STORYBOARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730873i32 as _ ) ; pub const UI_E_VALUE_NOT_DETERMINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731130i32 as _ ) ; pub const UI_E_VALUE_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731131i32 as _ ) ; pub const UI_E_WINDOW_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730623i32 as _ ) ; pub const UI_E_WRONG_THREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731124i32 as _ ) ; pub const UTC_E_ACTION_NOT_SUPPORTED_IN_DESTINATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128380i32 as _ ) ; pub const UTC_E_AGENT_DIAGNOSTICS_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128363i32 as _ ) ; pub const UTC_E_ALTERNATIVE_TRACE_CANNOT_PREEMPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128446i32 as _ ) ; pub const UTC_E_AOT_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128445i32 as _ ) ; pub const UTC_E_API_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128405i32 as _ ) ; pub const UTC_E_API_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128388i32 as _ ) ; pub const UTC_E_API_RESULT_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128408i32 as _ ) ; pub const UTC_E_BINARY_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128396i32 as _ ) ; pub const UTC_E_CANNOT_LOAD_SCENARIO_EDITOR_XML : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128417i32 as _ ) ; pub const UTC_E_CERT_REV_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128385i32 as _ ) ; pub const UTC_E_CHILD_PROCESS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128419i32 as _ ) ; pub const UTC_E_COMMAND_LINE_NOT_AUTHORIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128418i32 as _ ) ; pub const UTC_E_DELAY_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128411i32 as _ ) ; pub const UTC_E_DEVICE_TICKET_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128410i32 as _ ) ; pub const UTC_E_DIAGRULES_SCHEMAVERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128438i32 as _ ) ; pub const UTC_E_ESCALATION_ALREADY_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128433i32 as _ ) ; pub const UTC_E_ESCALATION_CANCELLED_AT_SHUTDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128358i32 as _ ) ; pub const UTC_E_ESCALATION_DIRECTORY_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128401i32 as _ ) ; pub const UTC_E_ESCALATION_NOT_AUTHORIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128421i32 as _ ) ; pub const UTC_E_ESCALATION_TIMED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128416i32 as _ ) ; pub const UTC_E_EVENTLOG_ENTRY_MALFORMED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128439i32 as _ ) ; pub const UTC_E_EXCLUSIVITY_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128403i32 as _ ) ; pub const UTC_E_EXE_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128422i32 as _ ) ; pub const UTC_E_FAILED_TO_RECEIVE_AGENT_DIAGNOSTICS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128362i32 as _ ) ; pub const UTC_E_FAILED_TO_RESOLVE_CONTAINER_ID : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128394i32 as _ ) ; pub const UTC_E_FAILED_TO_START_NDISCAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128384i32 as _ ) ; pub const UTC_E_FILTER_FUNCTION_RESTRICTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128376i32 as _ ) ; pub const UTC_E_FILTER_ILLEGAL_EVAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128365i32 as _ ) ; pub const UTC_E_FILTER_INVALID_COMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128366i32 as _ ) ; pub const UTC_E_FILTER_INVALID_FUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128368i32 as _ ) ; pub const UTC_E_FILTER_INVALID_FUNCTION_PARAMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128367i32 as _ ) ; pub const UTC_E_FILTER_INVALID_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128378i32 as _ ) ; pub const UTC_E_FILTER_MISSING_ATTRIBUTE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128379i32 as _ ) ; pub const UTC_E_FILTER_VARIABLE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128377i32 as _ ) ; pub const UTC_E_FILTER_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128375i32 as _ ) ; pub const UTC_E_FORWARDER_ALREADY_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128440i32 as _ ) ; pub const UTC_E_FORWARDER_ALREADY_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128441i32 as _ ) ; pub const UTC_E_FORWARDER_PRODUCER_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128430i32 as _ ) ; pub const UTC_E_GETFILEINFOACTION_FILE_NOT_APPROVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128357i32 as _ ) ; pub const UTC_E_GETFILE_EXTERNAL_PATH_NOT_APPROVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128387i32 as _ ) ; pub const UTC_E_GETFILE_FILE_PATH_NOT_APPROVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128402i32 as _ ) ; pub const UTC_E_INSUFFICIENT_SPACE_TO_START_TRACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128359i32 as _ ) ; pub const UTC_E_INTENTIONAL_SCRIPT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128429i32 as _ ) ; pub const UTC_E_INVALID_AGGREGATION_STRUCT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128381i32 as _ ) ; pub const UTC_E_INVALID_CUSTOM_FILTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128436i32 as _ ) ; pub const UTC_E_INVALID_FILTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128423i32 as _ ) ; pub const UTC_E_KERNELDUMP_LIMIT_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128383i32 as _ ) ; pub const UTC_E_MISSING_AGGREGATE_EVENT_TAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128382i32 as _ ) ; pub const UTC_E_MULTIPLE_TIME_TRIGGER_ON_SINGLE_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128397i32 as _ ) ; pub const UTC_E_NO_WER_LOGGER_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128427i32 as _ ) ; pub const UTC_E_PERFTRACK_ALREADY_TRACING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128432i32 as _ ) ; pub const UTC_E_REACHED_MAX_ESCALATIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128431i32 as _ ) ; pub const UTC_E_REESCALATED_TOO_QUICKLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128434i32 as _ ) ; pub const UTC_E_RPC_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128407i32 as _ ) ; pub const UTC_E_RPC_WAIT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128406i32 as _ ) ; pub const UTC_E_SCENARIODEF_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128443i32 as _ ) ; pub const UTC_E_SCENARIODEF_SCHEMAVERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128424i32 as _ ) ; pub const UTC_E_SCENARIO_HAS_NO_ACTIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128361i32 as _ ) ; pub const UTC_E_SCENARIO_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128389i32 as _ ) ; pub const UTC_E_SCRIPT_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128390i32 as _ ) ; pub const UTC_E_SCRIPT_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128437i32 as _ ) ; pub const UTC_E_SCRIPT_TYPE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128444i32 as _ ) ; pub const UTC_E_SETREGKEYACTION_TYPE_NOT_APPROVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128356i32 as _ ) ; pub const UTC_E_SETUP_NOT_AUTHORIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128420i32 as _ ) ; pub const UTC_E_SETUP_TIMED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128415i32 as _ ) ; pub const UTC_E_SIF_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128412i32 as _ ) ; pub const UTC_E_SQM_INIT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128428i32 as _ ) ; pub const UTC_E_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128392i32 as _ ) ; pub const UTC_E_TIME_TRIGGER_INVALID_TIME_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128398i32 as _ ) ; pub const UTC_E_TIME_TRIGGER_ONLY_VALID_ON_SINGLE_TRANSITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128399i32 as _ ) ; pub const UTC_E_TIME_TRIGGER_ON_START_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128400i32 as _ ) ; pub const UTC_E_TOGGLE_TRACE_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128447i32 as _ ) ; pub const UTC_E_TRACEPROFILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128442i32 as _ ) ; pub const UTC_E_TRACERS_DONT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128426i32 as _ ) ; pub const UTC_E_TRACE_BUFFER_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128409i32 as _ ) ; pub const UTC_E_TRACE_MIN_DURATION_REQUIREMENT_NOT_MET : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128404i32 as _ ) ; pub const UTC_E_TRACE_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128435i32 as _ ) ; pub const UTC_E_TRIGGER_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128414i32 as _ ) ; pub const UTC_E_TRIGGER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128413i32 as _ ) ; pub const UTC_E_TRY_GET_SCENARIO_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128386i32 as _ ) ; pub const UTC_E_TTTRACER_RETURNED_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128364i32 as _ ) ; pub const UTC_E_TTTRACER_STORAGE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128360i32 as _ ) ; pub const UTC_E_UNABLE_TO_RESOLVE_SESSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128393i32 as _ ) ; pub const UTC_E_UNAPPROVED_SCRIPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128391i32 as _ ) ; pub const UTC_E_WINRT_INIT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128425i32 as _ ) ; pub const VIEW_E_DRAW : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221184i32 as _ ) ; pub const VIEW_E_FIRST : i32 = -2147221184i32 ; pub const VIEW_E_LAST : i32 = -2147221169i32 ; pub const VIEW_S_ALREADY_FROZEN : :: windows :: HRESULT = :: windows :: HRESULT ( 262464i32 as _ ) ; pub const VIEW_S_FIRST : i32 = 262464i32 ; pub const VIEW_S_LAST : i32 = 262479i32 ; pub const VM_SAVED_STATE_DUMP_E_GUEST_MEMORY_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136063i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_NESTED_VIRTUALIZATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136061i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_NO_VP_FOUND_IN_PARTITION_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136062i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PARTITION_STATE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136064i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PDE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136057i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PDPTE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136058i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PTE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136056i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PXE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136059i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_WINDOWS_KERNEL_IMAGE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136060i32 as _ ) ; pub const WARNING_IPSEC_MM_POLICY_PRUNED : i32 = 13024i32 ; pub const WARNING_IPSEC_QM_POLICY_PRUNED : i32 = 13025i32 ; pub const WEB_E_INVALID_JSON_NUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484280i32 as _ ) ; pub const WEB_E_INVALID_JSON_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484281i32 as _ ) ; pub const WEB_E_INVALID_XML : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484286i32 as _ ) ; pub const WEB_E_JSON_VALUE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484279i32 as _ ) ; pub const WEB_E_MISSING_REQUIRED_ATTRIBUTE : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484284i32 as _ ) ; pub const WEB_E_MISSING_REQUIRED_ELEMENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484285i32 as _ ) ; pub const WEB_E_RESOURCE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484282i32 as _ ) ; pub const WEB_E_UNEXPECTED_CONTENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484283i32 as _ ) ; pub const WEB_E_UNSUPPORTED_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484287i32 as _ ) ; pub const WEP_E_BUFFER_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200375i32 as _ ) ; pub const WEP_E_FIXED_DATA_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200382i32 as _ ) ; pub const WEP_E_HARDWARE_NOT_COMPLIANT : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200381i32 as _ ) ; pub const WEP_E_LOCK_NOT_CONFIGURED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200380i32 as _ ) ; pub const WEP_E_NOT_PROVISIONED_ON_ALL_VOLUMES : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200383i32 as _ ) ; pub const WEP_E_NO_LICENSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200378i32 as _ ) ; pub const WEP_E_OS_NOT_PROTECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200377i32 as _ ) ; pub const WEP_E_PROTECTION_SUSPENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200379i32 as _ ) ; pub const WEP_E_UNEXPECTED_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200376i32 as _ ) ; pub const WER_E_ALREADY_REPORTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681404i32 as _ ) ; pub const WER_E_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681407i32 as _ ) ; pub const WER_E_CRASH_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681408i32 as _ ) ; pub const WER_E_DUMP_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681403i32 as _ ) ; pub const WER_E_INSUFFICIENT_CONSENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681402i32 as _ ) ; pub const WER_E_NETWORK_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681406i32 as _ ) ; pub const WER_E_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681405i32 as _ ) ; pub const WER_E_TOO_HEAVY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681401i32 as _ ) ; pub const WER_S_ASSERT_CONTINUE : :: windows :: HRESULT = :: windows :: HRESULT ( 1769482i32 as _ ) ; pub const WER_S_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( 1769475i32 as _ ) ; pub const WER_S_DISABLED_ARCHIVE : :: windows :: HRESULT = :: windows :: HRESULT ( 1769478i32 as _ ) ; pub const WER_S_DISABLED_QUEUE : :: windows :: HRESULT = :: windows :: HRESULT ( 1769477i32 as _ ) ; pub const WER_S_IGNORE_ALL_ASSERTS : :: windows :: HRESULT = :: windows :: HRESULT ( 1769481i32 as _ ) ; pub const WER_S_IGNORE_ASSERT_INSTANCE : :: windows :: HRESULT = :: windows :: HRESULT ( 1769480i32 as _ ) ; pub const WER_S_REPORT_ASYNC : :: windows :: HRESULT = :: windows :: HRESULT ( 1769479i32 as _ ) ; pub const WER_S_REPORT_DEBUG : :: windows :: HRESULT = :: windows :: HRESULT ( 1769472i32 as _ ) ; pub const WER_S_REPORT_QUEUED : :: windows :: HRESULT = :: windows :: HRESULT ( 1769474i32 as _ ) ; pub const WER_S_REPORT_UPLOADED : :: windows :: HRESULT = :: windows :: HRESULT ( 1769473i32 as _ ) ; pub const WER_S_REPORT_UPLOADED_CAB : :: windows :: HRESULT = :: windows :: HRESULT ( 1769484i32 as _ ) ; pub const WER_S_SUSPENDED_UPLOAD : :: windows :: HRESULT = :: windows :: HRESULT ( 1769476i32 as _ ) ; pub const WER_S_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( 1769483i32 as _ ) ; pub const WHV_E_GPA_RANGE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878395i32 as _ ) ; pub const WHV_E_INSUFFICIENT_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878399i32 as _ ) ; pub const WHV_E_INVALID_PARTITION_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878396i32 as _ ) ; pub const WHV_E_INVALID_VP_REGISTER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878391i32 as _ ) ; pub const WHV_E_INVALID_VP_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878392i32 as _ ) ; pub const WHV_E_UNKNOWN_CAPABILITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878400i32 as _ ) ; pub const WHV_E_UNKNOWN_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878398i32 as _ ) ; pub const WHV_E_UNSUPPORTED_HYPERVISOR_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878397i32 as _ ) ; pub const WHV_E_UNSUPPORTED_PROCESSOR_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878384i32 as _ ) ; pub const WHV_E_VP_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878394i32 as _ ) ; pub const WHV_E_VP_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878393i32 as _ ) ; pub const WINCODEC_ERR_ALREADYLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292403i32 as _ ) ; pub const WINCODEC_ERR_BADHEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292319i32 as _ ) ; pub const WINCODEC_ERR_BADIMAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292320i32 as _ ) ; pub const WINCODEC_ERR_BADMETADATAHEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292317i32 as _ ) ; pub const WINCODEC_ERR_BADSTREAMDATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292304i32 as _ ) ; pub const WINCODEC_ERR_CODECNOTHUMBNAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292348i32 as _ ) ; pub const WINCODEC_ERR_CODECPRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292349i32 as _ ) ; pub const WINCODEC_ERR_CODECTOOMANYSCANLINES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292346i32 as _ ) ; pub const WINCODEC_ERR_COMPONENTINITIALIZEFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292277i32 as _ ) ; pub const WINCODEC_ERR_COMPONENTNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292336i32 as _ ) ; pub const WINCODEC_ERR_DUPLICATEMETADATAPRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292275i32 as _ ) ; pub const WINCODEC_ERR_FRAMEMISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292318i32 as _ ) ; pub const WINCODEC_ERR_IMAGESIZEOUTOFRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292335i32 as _ ) ; pub const WINCODEC_ERR_INSUFFICIENTBUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292276i32 as _ ) ; pub const WINCODEC_ERR_INTERNALERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292344i32 as _ ) ; pub const WINCODEC_ERR_INVALIDJPEGSCANINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292266i32 as _ ) ; pub const WINCODEC_ERR_INVALIDPROGRESSIVELEVEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292267i32 as _ ) ; pub const WINCODEC_ERR_INVALIDQUERYCHARACTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292269i32 as _ ) ; pub const WINCODEC_ERR_INVALIDQUERYREQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292272i32 as _ ) ; pub const WINCODEC_ERR_INVALIDREGISTRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292278i32 as _ ) ; pub const WINCODEC_ERR_NOTINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292404i32 as _ ) ; pub const WINCODEC_ERR_PALETTEUNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292347i32 as _ ) ; pub const WINCODEC_ERR_PROPERTYNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292352i32 as _ ) ; pub const WINCODEC_ERR_PROPERTYNOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292351i32 as _ ) ; pub const WINCODEC_ERR_PROPERTYSIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292350i32 as _ ) ; pub const WINCODEC_ERR_PROPERTYUNEXPECTEDTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292274i32 as _ ) ; pub const WINCODEC_ERR_REQUESTONLYVALIDATMETADATAROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292270i32 as _ ) ; pub const WINCODEC_ERR_SOURCERECTDOESNOTMATCHDIMENSIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292343i32 as _ ) ; pub const WINCODEC_ERR_STREAMNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292301i32 as _ ) ; pub const WINCODEC_ERR_STREAMREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292302i32 as _ ) ; pub const WINCODEC_ERR_STREAMWRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292303i32 as _ ) ; pub const WINCODEC_ERR_TOOMUCHMETADATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292334i32 as _ ) ; pub const WINCODEC_ERR_UNEXPECTEDMETADATATYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292271i32 as _ ) ; pub const WINCODEC_ERR_UNEXPECTEDSIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292273i32 as _ ) ; pub const WINCODEC_ERR_UNKNOWNIMAGEFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292409i32 as _ ) ; pub const WINCODEC_ERR_UNSUPPORTEDOPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292287i32 as _ ) ; pub const WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292288i32 as _ ) ; pub const WINCODEC_ERR_UNSUPPORTEDVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292405i32 as _ ) ; pub const WINCODEC_ERR_VALUEOUTOFRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292411i32 as _ ) ; pub const WINCODEC_ERR_WIN32ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292268i32 as _ ) ; pub const WINCODEC_ERR_WRONGSTATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292412i32 as _ ) ; pub const WININET_E_ASYNC_THREAD_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012849i32 as _ ) ; pub const WININET_E_BAD_AUTO_PROXY_SCRIPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012730i32 as _ ) ; pub const WININET_E_BAD_OPTION_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012886i32 as _ ) ; pub const WININET_E_BAD_REGISTRY_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012874i32 as _ ) ; pub const WININET_E_CANNOT_CONNECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012867i32 as _ ) ; pub const WININET_E_CHG_POST_IS_NON_SECURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012854i32 as _ ) ; pub const WININET_E_CLIENT_AUTH_CERT_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012852i32 as _ ) ; pub const WININET_E_CLIENT_AUTH_NOT_SETUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012850i32 as _ ) ; pub const WININET_E_CONNECTION_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012866i32 as _ ) ; pub const WININET_E_CONNECTION_RESET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012865i32 as _ ) ; pub const WININET_E_COOKIE_DECLINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012734i32 as _ ) ; pub const WININET_E_COOKIE_NEEDS_CONFIRMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012735i32 as _ ) ; pub const WININET_E_DECODING_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012721i32 as _ ) ; pub const WININET_E_DIALOG_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012847i32 as _ ) ; pub const WININET_E_DISCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012733i32 as _ ) ; pub const WININET_E_DOWNLEVEL_SERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012745i32 as _ ) ; pub const WININET_E_EXTENDED_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012893i32 as _ ) ; pub const WININET_E_FAILED_DUETOSECURITYCHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012725i32 as _ ) ; pub const WININET_E_FORCE_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012864i32 as _ ) ; pub const WININET_E_HANDLE_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012860i32 as _ ) ; pub const WININET_E_HEADER_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012741i32 as _ ) ; pub const WININET_E_HEADER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012746i32 as _ ) ; pub const WININET_E_HTTPS_HTTP_SUBMIT_REDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012844i32 as _ ) ; pub const WININET_E_HTTPS_TO_HTTP_ON_REDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012856i32 as _ ) ; pub const WININET_E_HTTP_TO_HTTPS_ON_REDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012857i32 as _ ) ; pub const WININET_E_INCORRECT_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012869i32 as _ ) ; pub const WININET_E_INCORRECT_HANDLE_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012877i32 as _ ) ; pub const WININET_E_INCORRECT_HANDLE_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012878i32 as _ ) ; pub const WININET_E_INCORRECT_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012882i32 as _ ) ; pub const WININET_E_INCORRECT_USER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012883i32 as _ ) ; pub const WININET_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012892i32 as _ ) ; pub const WININET_E_INVALID_CA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012851i32 as _ ) ; pub const WININET_E_INVALID_HEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012743i32 as _ ) ; pub const WININET_E_INVALID_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012880i32 as _ ) ; pub const WININET_E_INVALID_OPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012887i32 as _ ) ; pub const WININET_E_INVALID_PROXY_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012863i32 as _ ) ; pub const WININET_E_INVALID_QUERY_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012742i32 as _ ) ; pub const WININET_E_INVALID_SERVER_RESPONSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012744i32 as _ ) ; pub const WININET_E_INVALID_URL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012891i32 as _ ) ; pub const WININET_E_ITEM_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012868i32 as _ ) ; pub const WININET_E_LOGIN_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012881i32 as _ ) ; pub const WININET_E_LOGIN_FAILURE_DISPLAY_ENTITY_BODY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012722i32 as _ ) ; pub const WININET_E_MIXED_SECURITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012855i32 as _ ) ; pub const WININET_E_NAME_NOT_RESOLVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012889i32 as _ ) ; pub const WININET_E_NEED_UI : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012862i32 as _ ) ; pub const WININET_E_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012724i32 as _ ) ; pub const WININET_E_NOT_PROXY_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012876i32 as _ ) ; pub const WININET_E_NOT_REDIRECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012736i32 as _ ) ; pub const WININET_E_NO_CALLBACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012871i32 as _ ) ; pub const WININET_E_NO_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012872i32 as _ ) ; pub const WININET_E_NO_DIRECT_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012873i32 as _ ) ; pub const WININET_E_NO_NEW_CONTAINERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012845i32 as _ ) ; pub const WININET_E_OPERATION_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012879i32 as _ ) ; pub const WININET_E_OPTION_NOT_SETTABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012885i32 as _ ) ; pub const WININET_E_OUT_OF_HANDLES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012895i32 as _ ) ; pub const WININET_E_POST_IS_NON_SECURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012853i32 as _ ) ; pub const WININET_E_PROTOCOL_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012888i32 as _ ) ; pub const WININET_E_PROXY_SERVER_UNREACHABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012731i32 as _ ) ; pub const WININET_E_REDIRECT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012740i32 as _ ) ; pub const WININET_E_REDIRECT_NEEDS_CONFIRMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012728i32 as _ ) ; pub const WININET_E_REDIRECT_SCHEME_CHANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012848i32 as _ ) ; pub const WININET_E_REGISTRY_VALUE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012875i32 as _ ) ; pub const WININET_E_REQUEST_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012870i32 as _ ) ; pub const WININET_E_RETRY_DIALOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012846i32 as _ ) ; pub const WININET_E_SECURITY_CHANNEL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012739i32 as _ ) ; pub const WININET_E_SEC_CERT_CN_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012858i32 as _ ) ; pub const WININET_E_SEC_CERT_DATE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012859i32 as _ ) ; pub const WININET_E_SEC_CERT_ERRORS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012841i32 as _ ) ; pub const WININET_E_SEC_CERT_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012726i32 as _ ) ; pub const WININET_E_SEC_CERT_REV_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012839i32 as _ ) ; pub const WININET_E_SEC_INVALID_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012727i32 as _ ) ; pub const WININET_E_SERVER_UNREACHABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012732i32 as _ ) ; pub const WININET_E_SHUTDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012884i32 as _ ) ; pub const WININET_E_TCPIP_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012737i32 as _ ) ; pub const WININET_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012894i32 as _ ) ; pub const WININET_E_UNABLE_TO_CACHE_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012738i32 as _ ) ; pub const WININET_E_UNABLE_TO_DOWNLOAD_SCRIPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012729i32 as _ ) ; pub const WININET_E_UNRECOGNIZED_SCHEME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012890i32 as _ ) ; pub const WINML_ERR_INVALID_BINDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2003828734i32 as _ ) ; pub const WINML_ERR_INVALID_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003828735i32 as _ ) ; pub const WINML_ERR_SIZE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003828732i32 as _ ) ; pub const WINML_ERR_VALUE_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003828733i32 as _ ) ; pub const WINVER : u32 = 1280u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct WPARAM ( pub usize ) ; impl :: std :: default :: Default for WPARAM { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for WPARAM { } unsafe impl :: windows :: Abi for WPARAM { type Abi = Self ; type DefaultType = Self ; } pub const WPN_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420137i32 as _ ) ; pub const WPN_E_ALL_URL_NOT_COMPLETED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419901i32 as _ ) ; pub const WPN_E_CALLBACK_ALREADY_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419898i32 as _ ) ; pub const WPN_E_CHANNEL_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420160i32 as _ ) ; pub const WPN_E_CHANNEL_REQUEST_NOT_COMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420159i32 as _ ) ; pub const WPN_E_CLOUD_AUTH_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420134i32 as _ ) ; pub const WPN_E_CLOUD_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420151i32 as _ ) ; pub const WPN_E_CLOUD_DISABLED_FOR_APP : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419893i32 as _ ) ; pub const WPN_E_CLOUD_INCAPABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420144i32 as _ ) ; pub const WPN_E_CLOUD_SERVICE_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420133i32 as _ ) ; pub const WPN_E_DEV_ID_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420128i32 as _ ) ; pub const WPN_E_DUPLICATE_CHANNEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420156i32 as _ ) ; pub const WPN_E_DUPLICATE_REGISTRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420136i32 as _ ) ; pub const WPN_E_FAILED_LOCK_SCREEN_UPDATE_INTIALIZATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420132i32 as _ ) ; pub const WPN_E_GROUP_ALPHANUMERIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419894i32 as _ ) ; pub const WPN_E_GROUP_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419895i32 as _ ) ; pub const WPN_E_IMAGE_NOT_FOUND_IN_CACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419902i32 as _ ) ; pub const WPN_E_INTERNET_INCAPABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420141i32 as _ ) ; pub const WPN_E_INVALID_APP : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420158i32 as _ ) ; pub const WPN_E_INVALID_CLOUD_IMAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419900i32 as _ ) ; pub const WPN_E_INVALID_HTTP_STATUS_CODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420117i32 as _ ) ; pub const WPN_E_NOTIFICATION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420143i32 as _ ) ; pub const WPN_E_NOTIFICATION_HIDDEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420153i32 as _ ) ; pub const WPN_E_NOTIFICATION_ID_MATCHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419899i32 as _ ) ; pub const WPN_E_NOTIFICATION_INCAPABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420142i32 as _ ) ; pub const WPN_E_NOTIFICATION_NOT_POSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420152i32 as _ ) ; pub const WPN_E_NOTIFICATION_POSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420154i32 as _ ) ; pub const WPN_E_NOTIFICATION_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420139i32 as _ ) ; pub const WPN_E_NOTIFICATION_TYPE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420140i32 as _ ) ; pub const WPN_E_OUTSTANDING_CHANNEL_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420157i32 as _ ) ; pub const WPN_E_OUT_OF_SESSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419904i32 as _ ) ; pub const WPN_E_PLATFORM_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420155i32 as _ ) ; pub const WPN_E_POWER_SAVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419903i32 as _ ) ; pub const WPN_E_PUSH_NOTIFICATION_INCAPABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420135i32 as _ ) ; pub const WPN_E_STORAGE_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419896i32 as _ ) ; pub const WPN_E_TAG_ALPHANUMERIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420118i32 as _ ) ; pub const WPN_E_TAG_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420138i32 as _ ) ; pub const WPN_E_TOAST_NOTIFICATION_DROPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419897i32 as _ ) ; pub const WS_E_ADDRESS_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485941i32 as _ ) ; pub const WS_E_ADDRESS_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485940i32 as _ ) ; pub const WS_E_ENDPOINT_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485947i32 as _ ) ; pub const WS_E_ENDPOINT_ACTION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485935i32 as _ ) ; pub const WS_E_ENDPOINT_DISCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485932i32 as _ ) ; pub const WS_E_ENDPOINT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485937i32 as _ ) ; pub const WS_E_ENDPOINT_FAULT_RECEIVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485933i32 as _ ) ; pub const WS_E_ENDPOINT_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485938i32 as _ ) ; pub const WS_E_ENDPOINT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485939i32 as _ ) ; pub const WS_E_ENDPOINT_TOO_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485934i32 as _ ) ; pub const WS_E_ENDPOINT_UNREACHABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485936i32 as _ ) ; pub const WS_E_INVALID_ENDPOINT_URL : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485920i32 as _ ) ; pub const WS_E_INVALID_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485952i32 as _ ) ; pub const WS_E_INVALID_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485949i32 as _ ) ; pub const WS_E_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485929i32 as _ ) ; pub const WS_E_NO_TRANSLATION_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485943i32 as _ ) ; pub const WS_E_NUMERIC_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485950i32 as _ ) ; pub const WS_E_OBJECT_FAULTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485951i32 as _ ) ; pub const WS_E_OPERATION_ABANDONED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485945i32 as _ ) ; pub const WS_E_OPERATION_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485948i32 as _ ) ; pub const WS_E_OPERATION_TIMED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485946i32 as _ ) ; pub const WS_E_OTHER : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485919i32 as _ ) ; pub const WS_E_PROXY_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485930i32 as _ ) ; pub const WS_E_PROXY_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485931i32 as _ ) ; pub const WS_E_PROXY_REQUIRES_BASIC_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485928i32 as _ ) ; pub const WS_E_PROXY_REQUIRES_DIGEST_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485927i32 as _ ) ; pub const WS_E_PROXY_REQUIRES_NEGOTIATE_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485925i32 as _ ) ; pub const WS_E_PROXY_REQUIRES_NTLM_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485926i32 as _ ) ; pub const WS_E_QUOTA_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485944i32 as _ ) ; pub const WS_E_SECURITY_SYSTEM_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485917i32 as _ ) ; pub const WS_E_SECURITY_TOKEN_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485918i32 as _ ) ; pub const WS_E_SECURITY_VERIFICATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485942i32 as _ ) ; pub const WS_E_SERVER_REQUIRES_BASIC_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485924i32 as _ ) ; pub const WS_E_SERVER_REQUIRES_DIGEST_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485923i32 as _ ) ; pub const WS_E_SERVER_REQUIRES_NEGOTIATE_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485921i32 as _ ) ; pub const WS_E_SERVER_REQUIRES_NTLM_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485922i32 as _ ) ; pub const WS_S_ASYNC : :: windows :: HRESULT = :: windows :: HRESULT ( 3997696i32 as _ ) ; pub const WS_S_END : :: windows :: HRESULT = :: windows :: HRESULT ( 3997697i32 as _ ) ; pub const XACT_E_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168231i32 as _ ) ; pub const XACT_E_ABORTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168215i32 as _ ) ; pub const XACT_E_ALREADYINPROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168232i32 as _ ) ; pub const XACT_E_ALREADYOTHERSINGLEPHASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168256i32 as _ ) ; pub const XACT_E_CANTRETAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168255i32 as _ ) ; pub const XACT_E_CLERKEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168127i32 as _ ) ; pub const XACT_E_CLERKNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168128i32 as _ ) ; pub const XACT_E_COMMITFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168254i32 as _ ) ; pub const XACT_E_COMMITPREVENTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168253i32 as _ ) ; pub const XACT_E_CONNECTION_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168227i32 as _ ) ; pub const XACT_E_CONNECTION_DOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168228i32 as _ ) ; pub const XACT_E_DEST_TMNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168222i32 as _ ) ; pub const XACT_E_FIRST : u32 = 2147799040u32 ; pub const XACT_E_HEURISTICABORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168252i32 as _ ) ; pub const XACT_E_HEURISTICCOMMIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168251i32 as _ ) ; pub const XACT_E_HEURISTICDAMAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168250i32 as _ ) ; pub const XACT_E_HEURISTICDANGER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168249i32 as _ ) ; pub const XACT_E_INDOUBT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168234i32 as _ ) ; pub const XACT_E_INVALIDCOOKIE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168235i32 as _ ) ; pub const XACT_E_INVALIDLSN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168124i32 as _ ) ; pub const XACT_E_ISOLATIONLEVEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168248i32 as _ ) ; pub const XACT_E_LAST : u32 = 2147799083u32 ; pub const XACT_E_LOGFULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168230i32 as _ ) ; pub const XACT_E_LU_TX_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168212i32 as _ ) ; pub const XACT_E_NETWORK_TX_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168220i32 as _ ) ; pub const XACT_E_NOASYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168247i32 as _ ) ; pub const XACT_E_NOENLIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168246i32 as _ ) ; pub const XACT_E_NOIMPORTOBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168236i32 as _ ) ; pub const XACT_E_NOISORETAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168245i32 as _ ) ; pub const XACT_E_NORESOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168244i32 as _ ) ; pub const XACT_E_NOTCURRENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168243i32 as _ ) ; pub const XACT_E_NOTIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168233i32 as _ ) ; pub const XACT_E_NOTRANSACTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168242i32 as _ ) ; pub const XACT_E_NOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168241i32 as _ ) ; pub const XACT_E_PARTNER_NETWORK_TX_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168219i32 as _ ) ; pub const XACT_E_PULL_COMM_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168213i32 as _ ) ; pub const XACT_E_PUSH_COMM_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168214i32 as _ ) ; pub const XACT_E_RECOVERYINPROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168126i32 as _ ) ; pub const XACT_E_REENLISTTIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168226i32 as _ ) ; pub const XACT_E_REPLAYREQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168123i32 as _ ) ; pub const XACT_E_TIP_CONNECT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168225i32 as _ ) ; pub const XACT_E_TIP_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168221i32 as _ ) ; pub const XACT_E_TIP_PROTOCOL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168224i32 as _ ) ; pub const XACT_E_TIP_PULL_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168223i32 as _ ) ; pub const XACT_E_TMNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168229i32 as _ ) ; pub const XACT_E_TRANSACTIONCLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168125i32 as _ ) ; pub const XACT_E_UNABLE_TO_LOAD_DTC_PROXY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168216i32 as _ ) ; pub const XACT_E_UNABLE_TO_READ_DTC_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168217i32 as _ ) ; pub const XACT_E_UNKNOWNRMGRID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168240i32 as _ ) ; pub const XACT_E_WRONGSTATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168239i32 as _ ) ; pub const XACT_E_WRONGUOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168238i32 as _ ) ; pub const XACT_E_XA_TX_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168218i32 as _ ) ; pub const XACT_E_XTIONEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168237i32 as _ ) ; pub const XACT_S_ABORTING : :: windows :: HRESULT = :: windows :: HRESULT ( 315400i32 as _ ) ; pub const XACT_S_ALLNORETAIN : :: windows :: HRESULT = :: windows :: HRESULT ( 315399i32 as _ ) ; pub const XACT_S_ASYNC : :: windows :: HRESULT = :: windows :: HRESULT ( 315392i32 as _ ) ; pub const XACT_S_DEFECT : :: windows :: HRESULT = :: windows :: HRESULT ( 315393i32 as _ ) ; pub const XACT_S_FIRST : u32 = 315392u32 ; pub const XACT_S_LAST : u32 = 315408u32 ; pub const XACT_S_LASTRESOURCEMANAGER : :: windows :: HRESULT = :: windows :: HRESULT ( 315408i32 as _ ) ; pub const XACT_S_LOCALLY_OK : :: windows :: HRESULT = :: windows :: HRESULT ( 315402i32 as _ ) ; pub const XACT_S_MADECHANGESCONTENT : :: windows :: HRESULT = :: windows :: HRESULT ( 315397i32 as _ ) ; pub const XACT_S_MADECHANGESINFORM : :: windows :: HRESULT = :: windows :: HRESULT ( 315398i32 as _ ) ; pub const XACT_S_OKINFORM : :: windows :: HRESULT = :: windows :: HRESULT ( 315396i32 as _ ) ; pub const XACT_S_READONLY : :: windows :: HRESULT = :: windows :: HRESULT ( 315394i32 as _ ) ; pub const XACT_S_SINGLEPHASE : :: windows :: HRESULT = :: windows :: HRESULT ( 315401i32 as _ ) ; pub const XACT_S_SOMENORETAIN : :: windows :: HRESULT = :: windows :: HRESULT ( 315395i32 as _ ) ; pub const XENROLL_E_CANNOT_ADD_ROOT_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873343i32 as _ ) ; pub const XENROLL_E_KEYSPEC_SMIME_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873339i32 as _ ) ; pub const XENROLL_E_KEY_NOT_EXPORTABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873344i32 as _ ) ; pub const XENROLL_E_RESPONSE_KA_HASH_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873340i32 as _ ) ; pub const XENROLL_E_RESPONSE_KA_HASH_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873342i32 as _ ) ; pub const XENROLL_E_RESPONSE_UNEXPECTED_KA_HASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873341i32 as _ ) ; } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Globalization { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FONTSIGNATURE { pub fsUsb : [ u32 ;4 ] , pub fsCsb : [ u32 ;2 ] } impl FONTSIGNATURE { } impl :: std :: default :: Default for FONTSIGNATURE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for FONTSIGNATURE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FONTSIGNATURE" ) . field ( "fsUsb" , & self . fsUsb ) . field ( "fsCsb" , & self . fsCsb ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FONTSIGNATURE { fn eq ( & self , other : & Self ) -> bool { self . fsUsb == other . fsUsb && self . fsCsb == other . fsCsb } } impl :: std :: cmp :: Eq for FONTSIGNATURE { } unsafe impl :: windows :: Abi for FONTSIGNATURE { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Graphics { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Gdi { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ABC { pub abcA : i32 , pub abcB : u32 , pub abcC : i32 } impl ABC { } impl :: std :: default :: Default for ABC { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ABC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ABC" ) . field ( "abcA" , & self . abcA ) . field ( "abcB" , & self . abcB ) . field ( "abcC" , & self . abcC ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ABC { fn eq ( & self , other : & Self ) -> bool { self . abcA == other . abcA && self . abcB == other . abcB && self . abcC == other . abcC } } impl :: std :: cmp :: Eq for ABC { } unsafe impl :: windows :: Abi for ABC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ABCFLOAT { pub abcfA : f32 , pub abcfB : f32 , pub abcfC : f32 } impl ABCFLOAT { } impl :: std :: default :: Default for ABCFLOAT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ABCFLOAT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ABCFLOAT" ) . field ( "abcfA" , & self . abcfA ) . field ( "abcfB" , & self . abcfB ) . field ( "abcfC" , & self . abcfC ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ABCFLOAT { fn eq ( & self , other : & Self ) -> bool { self . abcfA == other . abcfA && self . abcfB == other . abcfB && self . abcfC == other . abcfC } } impl :: std :: cmp :: Eq for ABCFLOAT { } unsafe impl :: windows :: Abi for ABCFLOAT { type Abi = Self ; type DefaultType = Self ; } pub const ABORTDOC : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ABORTPATH { pub emr : EMR } impl ABORTPATH { } impl :: std :: default :: Default for ABORTPATH { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ABORTPATH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ABORTPATH" ) . field ( "emr" , & self . emr ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ABORTPATH { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr } } impl :: std :: cmp :: Eq for ABORTPATH { } unsafe impl :: windows :: Abi for ABORTPATH { type Abi = Self ; type DefaultType = Self ; } pub const ABSOLUTE : u32 = 1u32 ; pub const AC_SRC_ALPHA : u32 = 1u32 ; pub const AC_SRC_OVER : u32 = 0u32 ; pub const ANSI_CHARSET : u32 = 0u32 ; pub const ARABIC_CHARSET : u32 = 178u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ARC_DIRECTION ( pub u32 ) ; pub const AD_COUNTERCLOCKWISE : ARC_DIRECTION = ARC_DIRECTION ( 1u32 ) ; pub const AD_CLOCKWISE : ARC_DIRECTION = ARC_DIRECTION ( 2u32 ) ; impl :: std :: convert :: From < u32 > for ARC_DIRECTION { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ARC_DIRECTION { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for ARC_DIRECTION { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ARC_DIRECTION { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ARC_DIRECTION { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ARC_DIRECTION { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for ARC_DIRECTION { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const ASPECTX : u32 = 40u32 ; pub const ASPECTXY : u32 = 44u32 ; pub const ASPECTY : u32 = 42u32 ; pub const ASPECT_FILTERING : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AXESLISTA { pub axlReserved : u32 , pub axlNumAxes : u32 , pub axlAxisInfo : [ AXISINFOA ;16 ] } impl AXESLISTA { } impl :: std :: default :: Default for AXESLISTA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for AXESLISTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AXESLISTA" ) . field ( "axlReserved" , & self . axlReserved ) . field ( "axlNumAxes" , & self . axlNumAxes ) . field ( "axlAxisInfo" , & self . axlAxisInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AXESLISTA { fn eq ( & self , other : & Self ) -> bool { self . axlReserved == other . axlReserved && self . axlNumAxes == other . axlNumAxes && self . axlAxisInfo == other . axlAxisInfo } } impl :: std :: cmp :: Eq for AXESLISTA { } unsafe impl :: windows :: Abi for AXESLISTA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AXESLISTW { pub axlReserved : u32 , pub axlNumAxes : u32 , pub axlAxisInfo : [ AXISINFOW ;16 ] } impl AXESLISTW { } impl :: std :: default :: Default for AXESLISTW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for AXESLISTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AXESLISTW" ) . field ( "axlReserved" , & self . axlReserved ) . field ( "axlNumAxes" , & self . axlNumAxes ) . field ( "axlAxisInfo" , & self . axlAxisInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AXESLISTW { fn eq ( & self , other : & Self ) -> bool { self . axlReserved == other . axlReserved && self . axlNumAxes == other . axlNumAxes && self . axlAxisInfo == other . axlAxisInfo } } impl :: std :: cmp :: Eq for AXESLISTW { } unsafe impl :: windows :: Abi for AXESLISTW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AXISINFOA { pub axMinValue : i32 , pub axMaxValue : i32 , pub axAxisName : [ u8 ;16 ] } impl AXISINFOA { } impl :: std :: default :: Default for AXISINFOA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for AXISINFOA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AXISINFOA" ) . field ( "axMinValue" , & self . axMinValue ) . field ( "axMaxValue" , & self . axMaxValue ) . field ( "axAxisName" , & self . axAxisName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AXISINFOA { fn eq ( & self , other : & Self ) -> bool { self . axMinValue == other . axMinValue && self . axMaxValue == other . axMaxValue && self . axAxisName == other . axAxisName } } impl :: std :: cmp :: Eq for AXISINFOA { } unsafe impl :: windows :: Abi for AXISINFOA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AXISINFOW { pub axMinValue : i32 , pub axMaxValue : i32 , pub axAxisName : [ u16 ;16 ] } impl AXISINFOW { } impl :: std :: default :: Default for AXISINFOW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for AXISINFOW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AXISINFOW" ) . field ( "axMinValue" , & self . axMinValue ) . field ( "axMaxValue" , & self . axMaxValue ) . field ( "axAxisName" , & self . axAxisName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AXISINFOW { fn eq ( & self , other : & Self ) -> bool { self . axMinValue == other . axMinValue && self . axMaxValue == other . axMaxValue && self . axAxisName == other . axAxisName } } impl :: std :: cmp :: Eq for AXISINFOW { } unsafe impl :: windows :: Abi for AXISINFOW { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn AbortPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AbortPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( AbortPath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddFontMemResourceEx < > ( pfileview : * const :: std :: ffi :: c_void , cjsize : u32 , pvresrved : * mut :: std :: ffi :: c_void , pnumfonts : * const u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AddFontMemResourceEx ( pfileview : * const :: std :: ffi :: c_void , cjsize : u32 , pvresrved : * mut :: std :: ffi :: c_void , pnumfonts : * const u32 ) -> super::super::Foundation:: HANDLE ; } :: std :: mem :: transmute ( AddFontMemResourceEx ( :: std :: mem :: transmute ( pfileview ) , :: std :: mem :: transmute ( cjsize ) , :: std :: mem :: transmute ( pvresrved ) , :: std :: mem :: transmute ( pnumfonts ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddFontResourceA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( param0 : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AddFontResourceA ( param0 : super::super::Foundation:: PSTR ) -> i32 ; } :: std :: mem :: transmute ( AddFontResourceA ( param0 . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddFontResourceExA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( name : Param0 , fl : FONT_RESOURCE_CHARACTERISTICS , res : * mut :: std :: ffi :: c_void , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AddFontResourceExA ( name : super::super::Foundation:: PSTR , fl : FONT_RESOURCE_CHARACTERISTICS , res : * mut :: std :: ffi :: c_void ) -> i32 ; } :: std :: mem :: transmute ( AddFontResourceExA ( name . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fl ) , :: std :: mem :: transmute ( res ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddFontResourceExW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( name : Param0 , fl : FONT_RESOURCE_CHARACTERISTICS , res : * mut :: std :: ffi :: c_void , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AddFontResourceExW ( name : super::super::Foundation:: PWSTR , fl : FONT_RESOURCE_CHARACTERISTICS , res : * mut :: std :: ffi :: c_void ) -> i32 ; } :: std :: mem :: transmute ( AddFontResourceExW ( name . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fl ) , :: std :: mem :: transmute ( res ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddFontResourceW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( param0 : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AddFontResourceW ( param0 : super::super::Foundation:: PWSTR ) -> i32 ; } :: std :: mem :: transmute ( AddFontResourceW ( param0 . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AlphaBlend < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , HDC > , Param10 : :: windows :: IntoParam < 'a , BLENDFUNCTION > , > ( hdcdest : Param0 , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : Param5 , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , ftn : Param10 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="msimg32" ) ] extern "system" { fn AlphaBlend ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , ftn : BLENDFUNCTION ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( AlphaBlend ( hdcdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xorigindest ) , :: std :: mem :: transmute ( yorigindest ) , :: std :: mem :: transmute ( wdest ) , :: std :: mem :: transmute ( hdest ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xoriginsrc ) , :: std :: mem :: transmute ( yoriginsrc ) , :: std :: mem :: transmute ( wsrc ) , :: std :: mem :: transmute ( hsrc ) , ftn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AngleArc < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , r : u32 , startangle : f32 , sweepangle : f32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AngleArc ( hdc : HDC , x : i32 , y : i32 , r : u32 , startangle : f32 , sweepangle : f32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( AngleArc ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( r ) , :: std :: mem :: transmute ( startangle ) , :: std :: mem :: transmute ( sweepangle ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AnimatePalette < 'a , Param0 : :: windows :: IntoParam < 'a , HPALETTE > , > ( hpal : Param0 , istartindex : u32 , centries : u32 , ppe : * const PALETTEENTRY , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn AnimatePalette ( hpal : HPALETTE , istartindex : u32 , centries : u32 , ppe : * const PALETTEENTRY ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( AnimatePalette ( hpal . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( istartindex ) , :: std :: mem :: transmute ( centries ) , :: std :: mem :: transmute ( ppe ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Arc < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , x3 : i32 , y3 : i32 , x4 : i32 , y4 : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn Arc ( hdc : HDC , x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , x3 : i32 , y3 : i32 , x4 : i32 , y4 : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( Arc ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x1 ) , :: std :: mem :: transmute ( y1 ) , :: std :: mem :: transmute ( x2 ) , :: std :: mem :: transmute ( y2 ) , :: std :: mem :: transmute ( x3 ) , :: std :: mem :: transmute ( y3 ) , :: std :: mem :: transmute ( x4 ) , :: std :: mem :: transmute ( y4 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ArcTo < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , xr1 : i32 , yr1 : i32 , xr2 : i32 , yr2 : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ArcTo ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 , xr1 : i32 , yr1 : i32 , xr2 : i32 , yr2 : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ArcTo ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) , :: std :: mem :: transmute ( xr1 ) , :: std :: mem :: transmute ( yr1 ) , :: std :: mem :: transmute ( xr2 ) , :: std :: mem :: transmute ( yr2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct BACKGROUND_MODE ( pub u32 ) ; pub const OPAQUE : BACKGROUND_MODE = BACKGROUND_MODE ( 2u32 ) ; pub const TRANSPARENT : BACKGROUND_MODE = BACKGROUND_MODE ( 1u32 ) ; impl :: std :: convert :: From < u32 > for BACKGROUND_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BACKGROUND_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for BACKGROUND_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for BACKGROUND_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for BACKGROUND_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for BACKGROUND_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for BACKGROUND_MODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const BALTIC_CHARSET : u32 = 186u32 ; pub const BANDINFO : u32 = 24u32 ; pub const BEGIN_PATH : u32 = 4096u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BITMAP { pub bmType : i32 , pub bmWidth : i32 , pub bmHeight : i32 , pub bmWidthBytes : i32 , pub bmPlanes : u16 , pub bmBitsPixel : u16 , pub bmBits : * mut :: std :: ffi :: c_void } impl BITMAP { } impl :: std :: default :: Default for BITMAP { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BITMAP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BITMAP" ) . field ( "bmType" , & self . bmType ) . field ( "bmWidth" , & self . bmWidth ) . field ( "bmHeight" , & self . bmHeight ) . field ( "bmWidthBytes" , & self . bmWidthBytes ) . field ( "bmPlanes" , & self . bmPlanes ) . field ( "bmBitsPixel" , & self . bmBitsPixel ) . field ( "bmBits" , & self . bmBits ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BITMAP { fn eq ( & self , other : & Self ) -> bool { self . bmType == other . bmType && self . bmWidth == other . bmWidth && self . bmHeight == other . bmHeight && self . bmWidthBytes == other . bmWidthBytes && self . bmPlanes == other . bmPlanes && self . bmBitsPixel == other . bmBitsPixel && self . bmBits == other . bmBits } } impl :: std :: cmp :: Eq for BITMAP { } unsafe impl :: windows :: Abi for BITMAP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BITMAPCOREHEADER { pub bcSize : u32 , pub bcWidth : u16 , pub bcHeight : u16 , pub bcPlanes : u16 , pub bcBitCount : u16 } impl BITMAPCOREHEADER { } impl :: std :: default :: Default for BITMAPCOREHEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BITMAPCOREHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BITMAPCOREHEADER" ) . field ( "bcSize" , & self . bcSize ) . field ( "bcWidth" , & self . bcWidth ) . field ( "bcHeight" , & self . bcHeight ) . field ( "bcPlanes" , & self . bcPlanes ) . field ( "bcBitCount" , & self . bcBitCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BITMAPCOREHEADER { fn eq ( & self , other : & Self ) -> bool { self . bcSize == other . bcSize && self . bcWidth == other . bcWidth && self . bcHeight == other . bcHeight && self . bcPlanes == other . bcPlanes && self . bcBitCount == other . bcBitCount } } impl :: std :: cmp :: Eq for BITMAPCOREHEADER { } unsafe impl :: windows :: Abi for BITMAPCOREHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BITMAPCOREINFO { pub bmciHeader : BITMAPCOREHEADER , pub bmciColors : [ RGBTRIPLE ;1 ] } impl BITMAPCOREINFO { } impl :: std :: default :: Default for BITMAPCOREINFO { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BITMAPCOREINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BITMAPCOREINFO" ) . field ( "bmciHeader" , & self . bmciHeader ) . field ( "bmciColors" , & self . bmciColors ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BITMAPCOREINFO { fn eq ( & self , other : & Self ) -> bool { self . bmciHeader == other . bmciHeader && self . bmciColors == other . bmciColors } } impl :: std :: cmp :: Eq for BITMAPCOREINFO { } unsafe impl :: windows :: Abi for BITMAPCOREINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct BITMAPFILEHEADER { pub bfType : u16 , pub bfSize : u32 , pub bfReserved1 : u16 , pub bfReserved2 : u16 , pub bfOffBits : u32 } impl BITMAPFILEHEADER { } impl :: std :: default :: Default for BITMAPFILEHEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for BITMAPFILEHEADER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for BITMAPFILEHEADER { } unsafe impl :: windows :: Abi for BITMAPFILEHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BITMAPINFO { pub bmiHeader : BITMAPINFOHEADER , pub bmiColors : [ RGBQUAD ;1 ] } impl BITMAPINFO { } impl :: std :: default :: Default for BITMAPINFO { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BITMAPINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BITMAPINFO" ) . field ( "bmiHeader" , & self . bmiHeader ) . field ( "bmiColors" , & self . bmiColors ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BITMAPINFO { fn eq ( & self , other : & Self ) -> bool { self . bmiHeader == other . bmiHeader && self . bmiColors == other . bmiColors } } impl :: std :: cmp :: Eq for BITMAPINFO { } unsafe impl :: windows :: Abi for BITMAPINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BITMAPINFOHEADER { pub biSize : u32 , pub biWidth : i32 , pub biHeight : i32 , pub biPlanes : u16 , pub biBitCount : u16 , pub biCompression : u32 , pub biSizeImage : u32 , pub biXPelsPerMeter : i32 , pub biYPelsPerMeter : i32 , pub biClrUsed : u32 , pub biClrImportant : u32 } impl BITMAPINFOHEADER { } impl :: std :: default :: Default for BITMAPINFOHEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BITMAPINFOHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BITMAPINFOHEADER" ) . field ( "biSize" , & self . biSize ) . field ( "biWidth" , & self . biWidth ) . field ( "biHeight" , & self . biHeight ) . field ( "biPlanes" , & self . biPlanes ) . field ( "biBitCount" , & self . biBitCount ) . field ( "biCompression" , & self . biCompression ) . field ( "biSizeImage" , & self . biSizeImage ) . field ( "biXPelsPerMeter" , & self . biXPelsPerMeter ) . field ( "biYPelsPerMeter" , & self . biYPelsPerMeter ) . field ( "biClrUsed" , & self . biClrUsed ) . field ( "biClrImportant" , & self . biClrImportant ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BITMAPINFOHEADER { fn eq ( & self , other : & Self ) -> bool { self . biSize == other . biSize && self . biWidth == other . biWidth && self . biHeight == other . biHeight && self . biPlanes == other . biPlanes && self . biBitCount == other . biBitCount && self . biCompression == other . biCompression && self . biSizeImage == other . biSizeImage && self . biXPelsPerMeter == other . biXPelsPerMeter && self . biYPelsPerMeter == other . biYPelsPerMeter && self . biClrUsed == other . biClrUsed && self . biClrImportant == other . biClrImportant } } impl :: std :: cmp :: Eq for BITMAPINFOHEADER { } unsafe impl :: windows :: Abi for BITMAPINFOHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BITMAPV4HEADER { pub bV4Size : u32 , pub bV4Width : i32 , pub bV4Height : i32 , pub bV4Planes : u16 , pub bV4BitCount : u16 , pub bV4V4Compression : u32 , pub bV4SizeImage : u32 , pub bV4XPelsPerMeter : i32 , pub bV4YPelsPerMeter : i32 , pub bV4ClrUsed : u32 , pub bV4ClrImportant : u32 , pub bV4RedMask : u32 , pub bV4GreenMask : u32 , pub bV4BlueMask : u32 , pub bV4AlphaMask : u32 , pub bV4CSType : u32 , pub bV4Endpoints : super::super::UI::ColorSystem:: CIEXYZTRIPLE , pub bV4GammaRed : u32 , pub bV4GammaGreen : u32 , pub bV4GammaBlue : u32 } impl BITMAPV4HEADER { } impl :: std :: default :: Default for BITMAPV4HEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BITMAPV4HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BITMAPV4HEADER" ) . field ( "bV4Size" , & self . bV4Size ) . field ( "bV4Width" , & self . bV4Width ) . field ( "bV4Height" , & self . bV4Height ) . field ( "bV4Planes" , & self . bV4Planes ) . field ( "bV4BitCount" , & self . bV4BitCount ) . field ( "bV4V4Compression" , & self . bV4V4Compression ) . field ( "bV4SizeImage" , & self . bV4SizeImage ) . field ( "bV4XPelsPerMeter" , & self . bV4XPelsPerMeter ) . field ( "bV4YPelsPerMeter" , & self . bV4YPelsPerMeter ) . field ( "bV4ClrUsed" , & self . bV4ClrUsed ) . field ( "bV4ClrImportant" , & self . bV4ClrImportant ) . field ( "bV4RedMask" , & self . bV4RedMask ) . field ( "bV4GreenMask" , & self . bV4GreenMask ) . field ( "bV4BlueMask" , & self . bV4BlueMask ) . field ( "bV4AlphaMask" , & self . bV4AlphaMask ) . field ( "bV4CSType" , & self . bV4CSType ) . field ( "bV4Endpoints" , & self . bV4Endpoints ) . field ( "bV4GammaRed" , & self . bV4GammaRed ) . field ( "bV4GammaGreen" , & self . bV4GammaGreen ) . field ( "bV4GammaBlue" , & self . bV4GammaBlue ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BITMAPV4HEADER { fn eq ( & self , other : & Self ) -> bool { self . bV4Size == other . bV4Size && self . bV4Width == other . bV4Width && self . bV4Height == other . bV4Height && self . bV4Planes == other . bV4Planes && self . bV4BitCount == other . bV4BitCount && self . bV4V4Compression == other . bV4V4Compression && self . bV4SizeImage == other . bV4SizeImage && self . bV4XPelsPerMeter == other . bV4XPelsPerMeter && self . bV4YPelsPerMeter == other . bV4YPelsPerMeter && self . bV4ClrUsed == other . bV4ClrUsed && self . bV4ClrImportant == other . bV4ClrImportant && self . bV4RedMask == other . bV4RedMask && self . bV4GreenMask == other . bV4GreenMask && self . bV4BlueMask == other . bV4BlueMask && self . bV4AlphaMask == other . bV4AlphaMask && self . bV4CSType == other . bV4CSType && self . bV4Endpoints == other . bV4Endpoints && self . bV4GammaRed == other . bV4GammaRed && self . bV4GammaGreen == other . bV4GammaGreen && self . bV4GammaBlue == other . bV4GammaBlue } } impl :: std :: cmp :: Eq for BITMAPV4HEADER { } unsafe impl :: windows :: Abi for BITMAPV4HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BITMAPV5HEADER { pub bV5Size : u32 , pub bV5Width : i32 , pub bV5Height : i32 , pub bV5Planes : u16 , pub bV5BitCount : u16 , pub bV5Compression : u32 , pub bV5SizeImage : u32 , pub bV5XPelsPerMeter : i32 , pub bV5YPelsPerMeter : i32 , pub bV5ClrUsed : u32 , pub bV5ClrImportant : u32 , pub bV5RedMask : u32 , pub bV5GreenMask : u32 , pub bV5BlueMask : u32 , pub bV5AlphaMask : u32 , pub bV5CSType : u32 , pub bV5Endpoints : super::super::UI::ColorSystem:: CIEXYZTRIPLE , pub bV5GammaRed : u32 , pub bV5GammaGreen : u32 , pub bV5GammaBlue : u32 , pub bV5Intent : u32 , pub bV5ProfileData : u32 , pub bV5ProfileSize : u32 , pub bV5Reserved : u32 } impl BITMAPV5HEADER { } impl :: std :: default :: Default for BITMAPV5HEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BITMAPV5HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BITMAPV5HEADER" ) . field ( "bV5Size" , & self . bV5Size ) . field ( "bV5Width" , & self . bV5Width ) . field ( "bV5Height" , & self . bV5Height ) . field ( "bV5Planes" , & self . bV5Planes ) . field ( "bV5BitCount" , & self . bV5BitCount ) . field ( "bV5Compression" , & self . bV5Compression ) . field ( "bV5SizeImage" , & self . bV5SizeImage ) . field ( "bV5XPelsPerMeter" , & self . bV5XPelsPerMeter ) . field ( "bV5YPelsPerMeter" , & self . bV5YPelsPerMeter ) . field ( "bV5ClrUsed" , & self . bV5ClrUsed ) . field ( "bV5ClrImportant" , & self . bV5ClrImportant ) . field ( "bV5RedMask" , & self . bV5RedMask ) . field ( "bV5GreenMask" , & self . bV5GreenMask ) . field ( "bV5BlueMask" , & self . bV5BlueMask ) . field ( "bV5AlphaMask" , & self . bV5AlphaMask ) . field ( "bV5CSType" , & self . bV5CSType ) . field ( "bV5Endpoints" , & self . bV5Endpoints ) . field ( "bV5GammaRed" , & self . bV5GammaRed ) . field ( "bV5GammaGreen" , & self . bV5GammaGreen ) . field ( "bV5GammaBlue" , & self . bV5GammaBlue ) . field ( "bV5Intent" , & self . bV5Intent ) . field ( "bV5ProfileData" , & self . bV5ProfileData ) . field ( "bV5ProfileSize" , & self . bV5ProfileSize ) . field ( "bV5Reserved" , & self . bV5Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BITMAPV5HEADER { fn eq ( & self , other : & Self ) -> bool { self . bV5Size == other . bV5Size && self . bV5Width == other . bV5Width && self . bV5Height == other . bV5Height && self . bV5Planes == other . bV5Planes && self . bV5BitCount == other . bV5BitCount && self . bV5Compression == other . bV5Compression && self . bV5SizeImage == other . bV5SizeImage && self . bV5XPelsPerMeter == other . bV5XPelsPerMeter && self . bV5YPelsPerMeter == other . bV5YPelsPerMeter && self . bV5ClrUsed == other . bV5ClrUsed && self . bV5ClrImportant == other . bV5ClrImportant && self . bV5RedMask == other . bV5RedMask && self . bV5GreenMask == other . bV5GreenMask && self . bV5BlueMask == other . bV5BlueMask && self . bV5AlphaMask == other . bV5AlphaMask && self . bV5CSType == other . bV5CSType && self . bV5Endpoints == other . bV5Endpoints && self . bV5GammaRed == other . bV5GammaRed && self . bV5GammaGreen == other . bV5GammaGreen && self . bV5GammaBlue == other . bV5GammaBlue && self . bV5Intent == other . bV5Intent && self . bV5ProfileData == other . bV5ProfileData && self . bV5ProfileSize == other . bV5ProfileSize && self . bV5Reserved == other . bV5Reserved } } impl :: std :: cmp :: Eq for BITMAPV5HEADER { } unsafe impl :: windows :: Abi for BITMAPV5HEADER { type Abi = Self ; type DefaultType = Self ; } pub const BITSPIXEL : u32 = 12u32 ; pub const BI_BITFIELDS : i32 = 3i32 ; pub const BI_JPEG : i32 = 4i32 ; pub const BI_PNG : i32 = 5i32 ; pub const BI_RGB : i32 = 0i32 ; pub const BI_RLE4 : i32 = 2i32 ; pub const BI_RLE8 : i32 = 1i32 ; pub const BKMODE_LAST : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BLENDFUNCTION { pub BlendOp : u8 , pub BlendFlags : u8 , pub SourceConstantAlpha : u8 , pub AlphaFormat : u8 } impl BLENDFUNCTION { } impl :: std :: default :: Default for BLENDFUNCTION { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for BLENDFUNCTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BLENDFUNCTION" ) . field ( "BlendOp" , & self . BlendOp ) . field ( "BlendFlags" , & self . BlendFlags ) . field ( "SourceConstantAlpha" , & self . SourceConstantAlpha ) . field ( "AlphaFormat" , & self . AlphaFormat ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BLENDFUNCTION { fn eq ( & self , other : & Self ) -> bool { self . BlendOp == other . BlendOp && self . BlendFlags == other . BlendFlags && self . SourceConstantAlpha == other . SourceConstantAlpha && self . AlphaFormat == other . AlphaFormat } } impl :: std :: cmp :: Eq for BLENDFUNCTION { } unsafe impl :: windows :: Abi for BLENDFUNCTION { type Abi = Self ; type DefaultType = Self ; } pub const BLTALIGNMENT : u32 = 119u32 ; pub const BS_DIBPATTERN : u32 = 5u32 ; pub const BS_DIBPATTERN8X8 : u32 = 8u32 ; pub const BS_DIBPATTERNPT : u32 = 6u32 ; pub const BS_HATCHED : u32 = 2u32 ; pub const BS_INDEXED : u32 = 4u32 ; pub const BS_MONOPATTERN : u32 = 9u32 ; pub const BS_NULL : u32 = 1u32 ; pub const BS_PATTERN : u32 = 3u32 ; pub const BS_PATTERN8X8 : u32 = 7u32 ; pub const BS_SOLID : u32 = 0u32 ; pub unsafe fn BeginPaint < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , lppaint : * mut PAINTSTRUCT , ) -> HDC { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn BeginPaint ( hwnd : super::super::Foundation:: HWND , lppaint : * mut PAINTSTRUCT ) -> HDC ; } :: std :: mem :: transmute ( BeginPaint ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppaint ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn BeginPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn BeginPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( BeginPath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn BitBlt < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , cx : i32 , cy : i32 , hdcsrc : Param5 , x1 : i32 , y1 : i32 , rop : ROP_CODE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn BitBlt ( hdc : HDC , x : i32 , y : i32 , cx : i32 , cy : i32 , hdcsrc : HDC , x1 : i32 , y1 : i32 , rop : ROP_CODE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( BitBlt ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( cx ) , :: std :: mem :: transmute ( cy ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x1 ) , :: std :: mem :: transmute ( y1 ) , :: std :: mem :: transmute ( rop ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const CA_LOG_FILTER : u32 = 2u32 ; pub const CA_NEGATIVE : u32 = 1u32 ; pub const CBM_INIT : i32 = 4i32 ; pub const CCHFORMNAME : u32 = 32u32 ; pub const CC_CHORD : u32 = 4u32 ; pub const CC_CIRCLES : u32 = 1u32 ; pub const CC_ELLIPSES : u32 = 8u32 ; pub const CC_INTERIORS : u32 = 128u32 ; pub const CC_NONE : u32 = 0u32 ; pub const CC_PIE : u32 = 2u32 ; pub const CC_ROUNDRECT : u32 = 256u32 ; pub const CC_STYLED : u32 = 32u32 ; pub const CC_WIDE : u32 = 16u32 ; pub const CC_WIDESTYLED : u32 = 64u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CDS_TYPE ( pub u32 ) ; pub const CDS_FULLSCREEN : CDS_TYPE = CDS_TYPE ( 4u32 ) ; pub const CDS_GLOBAL : CDS_TYPE = CDS_TYPE ( 8u32 ) ; pub const CDS_NORESET : CDS_TYPE = CDS_TYPE ( 268435456u32 ) ; pub const CDS_RESET : CDS_TYPE = CDS_TYPE ( 1073741824u32 ) ; pub const CDS_SET_PRIMARY : CDS_TYPE = CDS_TYPE ( 16u32 ) ; pub const CDS_TEST : CDS_TYPE = CDS_TYPE ( 2u32 ) ; pub const CDS_UPDATEREGISTRY : CDS_TYPE = CDS_TYPE ( 1u32 ) ; pub const CDS_VIDEOPARAMETERS : CDS_TYPE = CDS_TYPE ( 32u32 ) ; pub const CDS_ENABLE_UNSAFE_MODES : CDS_TYPE = CDS_TYPE ( 256u32 ) ; pub const CDS_DISABLE_UNSAFE_MODES : CDS_TYPE = CDS_TYPE ( 512u32 ) ; pub const CDS_RESET_EX : CDS_TYPE = CDS_TYPE ( 536870912u32 ) ; impl :: std :: convert :: From < u32 > for CDS_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CDS_TYPE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CDS_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CDS_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CDS_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CDS_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for CDS_TYPE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub type CFP_ALLOCPROC = unsafe extern "system" fn ( param0 : usize ) -> * mut :: std :: ffi :: c_void ; pub type CFP_FREEPROC = unsafe extern "system" fn ( param0 : * mut :: std :: ffi :: c_void ) ; pub type CFP_REALLOCPROC = unsafe extern "system" fn ( param0 : * mut :: std :: ffi :: c_void , param1 : usize ) -> * mut :: std :: ffi :: c_void ; pub const CHARSET_DEFAULT : u32 = 1u32 ; pub const CHARSET_GLYPHIDX : u32 = 3u32 ; pub const CHECKJPEGFORMAT : u32 = 4119u32 ; pub const CHECKPNGFORMAT : u32 = 4120u32 ; pub const CHINESEBIG5_CHARSET : u32 = 136u32 ; pub const CLEARTYPE_NATURAL_QUALITY : u32 = 6u32 ; pub const CLIPCAPS : u32 = 36u32 ; pub const CLIP_TO_PATH : u32 = 4097u32 ; pub const CLOSECHANNEL : u32 = 4112u32 ; pub const CLR_INVALID : u32 = 4294967295u32 ; pub const CM_CMYK_COLOR : u32 = 4u32 ; pub const CM_DEVICE_ICM : u32 = 1u32 ; pub const CM_GAMMA_RAMP : u32 = 2u32 ; pub const CM_IN_GAMUT : u32 = 0u32 ; pub const CM_NONE : u32 = 0u32 ; pub const CM_OUT_OF_GAMUT : u32 = 255u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COLORADJUSTMENT { pub caSize : u16 , pub caFlags : u16 , pub caIlluminantIndex : u16 , pub caRedGamma : u16 , pub caGreenGamma : u16 , pub caBlueGamma : u16 , pub caReferenceBlack : u16 , pub caReferenceWhite : u16 , pub caContrast : i16 , pub caBrightness : i16 , pub caColorfulness : i16 , pub caRedGreenTint : i16 } impl COLORADJUSTMENT { } impl :: std :: default :: Default for COLORADJUSTMENT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for COLORADJUSTMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "COLORADJUSTMENT" ) . field ( "caSize" , & self . caSize ) . field ( "caFlags" , & self . caFlags ) . field ( "caIlluminantIndex" , & self . caIlluminantIndex ) . field ( "caRedGamma" , & self . caRedGamma ) . field ( "caGreenGamma" , & self . caGreenGamma ) . field ( "caBlueGamma" , & self . caBlueGamma ) . field ( "caReferenceBlack" , & self . caReferenceBlack ) . field ( "caReferenceWhite" , & self . caReferenceWhite ) . field ( "caContrast" , & self . caContrast ) . field ( "caBrightness" , & self . caBrightness ) . field ( "caColorfulness" , & self . caColorfulness ) . field ( "caRedGreenTint" , & self . caRedGreenTint ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COLORADJUSTMENT { fn eq ( & self , other : & Self ) -> bool { self . caSize == other . caSize && self . caFlags == other . caFlags && self . caIlluminantIndex == other . caIlluminantIndex && self . caRedGamma == other . caRedGamma && self . caGreenGamma == other . caGreenGamma && self . caBlueGamma == other . caBlueGamma && self . caReferenceBlack == other . caReferenceBlack && self . caReferenceWhite == other . caReferenceWhite && self . caContrast == other . caContrast && self . caBrightness == other . caBrightness && self . caColorfulness == other . caColorfulness && self . caRedGreenTint == other . caRedGreenTint } } impl :: std :: cmp :: Eq for COLORADJUSTMENT { } unsafe impl :: windows :: Abi for COLORADJUSTMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COLORCORRECTPALETTE { pub emr : EMR , pub ihPalette : u32 , pub nFirstEntry : u32 , pub nPalEntries : u32 , pub nReserved : u32 } impl COLORCORRECTPALETTE { } impl :: std :: default :: Default for COLORCORRECTPALETTE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for COLORCORRECTPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "COLORCORRECTPALETTE" ) . field ( "emr" , & self . emr ) . field ( "ihPalette" , & self . ihPalette ) . field ( "nFirstEntry" , & self . nFirstEntry ) . field ( "nPalEntries" , & self . nPalEntries ) . field ( "nReserved" , & self . nReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COLORCORRECTPALETTE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihPalette == other . ihPalette && self . nFirstEntry == other . nFirstEntry && self . nPalEntries == other . nPalEntries && self . nReserved == other . nReserved } } impl :: std :: cmp :: Eq for COLORCORRECTPALETTE { } unsafe impl :: windows :: Abi for COLORCORRECTPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COLORMATCHTOTARGET { pub emr : EMR , pub dwAction : u32 , pub dwFlags : u32 , pub cbName : u32 , pub cbData : u32 , pub Data : [ u8 ;1 ] } impl COLORMATCHTOTARGET { } impl :: std :: default :: Default for COLORMATCHTOTARGET { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for COLORMATCHTOTARGET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "COLORMATCHTOTARGET" ) . field ( "emr" , & self . emr ) . field ( "dwAction" , & self . dwAction ) . field ( "dwFlags" , & self . dwFlags ) . field ( "cbName" , & self . cbName ) . field ( "cbData" , & self . cbData ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COLORMATCHTOTARGET { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . dwAction == other . dwAction && self . dwFlags == other . dwFlags && self . cbName == other . cbName && self . cbData == other . cbData && self . Data == other . Data } } impl :: std :: cmp :: Eq for COLORMATCHTOTARGET { } unsafe impl :: windows :: Abi for COLORMATCHTOTARGET { type Abi = Self ; type DefaultType = Self ; } pub const COLORMATCHTOTARGET_EMBEDED : u32 = 1u32 ; pub const COLORMGMTCAPS : u32 = 121u32 ; pub const COLORRES : u32 = 108u32 ; pub const COMPLEXREGION : u32 = 3u32 ; pub const CP_NONE : u32 = 0u32 ; pub const CP_RECTANGLE : u32 = 1u32 ; pub const CP_REGION : u32 = 2u32 ; pub const CREATECOLORSPACE_EMBEDED : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CREATE_FONT_PACKAGE_SUBSET_ENCODING ( pub u32 ) ; pub const TTFCFP_STD_MAC_CHAR_SET : CREATE_FONT_PACKAGE_SUBSET_ENCODING = CREATE_FONT_PACKAGE_SUBSET_ENCODING ( 0u32 ) ; pub const TTFCFP_SYMBOL_CHAR_SET : CREATE_FONT_PACKAGE_SUBSET_ENCODING = CREATE_FONT_PACKAGE_SUBSET_ENCODING ( 0u32 ) ; pub const TTFCFP_UNICODE_CHAR_SET : CREATE_FONT_PACKAGE_SUBSET_ENCODING = CREATE_FONT_PACKAGE_SUBSET_ENCODING ( 1u32 ) ; impl :: std :: convert :: From < u32 > for CREATE_FONT_PACKAGE_SUBSET_ENCODING { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CREATE_FONT_PACKAGE_SUBSET_ENCODING { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CREATE_FONT_PACKAGE_SUBSET_ENCODING { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CREATE_FONT_PACKAGE_SUBSET_ENCODING { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CREATE_FONT_PACKAGE_SUBSET_ENCODING { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CREATE_FONT_PACKAGE_SUBSET_ENCODING { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for CREATE_FONT_PACKAGE_SUBSET_ENCODING { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CREATE_FONT_PACKAGE_SUBSET_PLATFORM ( pub u32 ) ; pub const TTFCFP_UNICODE_PLATFORMID : CREATE_FONT_PACKAGE_SUBSET_PLATFORM = CREATE_FONT_PACKAGE_SUBSET_PLATFORM ( 0u32 ) ; pub const TTFCFP_ISO_PLATFORMID : CREATE_FONT_PACKAGE_SUBSET_PLATFORM = CREATE_FONT_PACKAGE_SUBSET_PLATFORM ( 2u32 ) ; impl :: std :: convert :: From < u32 > for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CREATE_POLYGON_RGN_MODE ( pub u32 ) ; pub const ALTERNATE : CREATE_POLYGON_RGN_MODE = CREATE_POLYGON_RGN_MODE ( 1u32 ) ; pub const WINDING : CREATE_POLYGON_RGN_MODE = CREATE_POLYGON_RGN_MODE ( 2u32 ) ; impl :: std :: convert :: From < u32 > for CREATE_POLYGON_RGN_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CREATE_POLYGON_RGN_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CREATE_POLYGON_RGN_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CREATE_POLYGON_RGN_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CREATE_POLYGON_RGN_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CREATE_POLYGON_RGN_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for CREATE_POLYGON_RGN_MODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const CURVECAPS : u32 = 28u32 ; pub unsafe fn CancelDC < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CancelDC ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( CancelDC ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeDisplaySettingsA < > ( lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEA , dwflags : CDS_TYPE , ) -> DISP_CHANGE { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ChangeDisplaySettingsA ( lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEA , dwflags : CDS_TYPE ) -> DISP_CHANGE ; } :: std :: mem :: transmute ( ChangeDisplaySettingsA ( :: std :: mem :: transmute ( lpdevmode ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeDisplaySettingsExA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( lpszdevicename : Param0 , lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEA , hwnd : Param2 , dwflags : CDS_TYPE , lparam : * const :: std :: ffi :: c_void , ) -> DISP_CHANGE { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ChangeDisplaySettingsExA ( lpszdevicename : super::super::Foundation:: PSTR , lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEA , hwnd : super::super::Foundation:: HWND , dwflags : CDS_TYPE , lparam : * const :: std :: ffi :: c_void ) -> DISP_CHANGE ; } :: std :: mem :: transmute ( ChangeDisplaySettingsExA ( lpszdevicename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdevmode ) , hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( lparam ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeDisplaySettingsExW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( lpszdevicename : Param0 , lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEW , hwnd : Param2 , dwflags : CDS_TYPE , lparam : * const :: std :: ffi :: c_void , ) -> DISP_CHANGE { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ChangeDisplaySettingsExW ( lpszdevicename : super::super::Foundation:: PWSTR , lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEW , hwnd : super::super::Foundation:: HWND , dwflags : CDS_TYPE , lparam : * const :: std :: ffi :: c_void ) -> DISP_CHANGE ; } :: std :: mem :: transmute ( ChangeDisplaySettingsExW ( lpszdevicename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdevmode ) , hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( lparam ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeDisplaySettingsW < > ( lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEW , dwflags : CDS_TYPE , ) -> DISP_CHANGE { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ChangeDisplaySettingsW ( lpdevmode : * const super::super::UI::DisplayDevices:: DEVMODEW , dwflags : CDS_TYPE ) -> DISP_CHANGE ; } :: std :: mem :: transmute ( ChangeDisplaySettingsW ( :: std :: mem :: transmute ( lpdevmode ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Chord < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , x3 : i32 , y3 : i32 , x4 : i32 , y4 : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn Chord ( hdc : HDC , x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , x3 : i32 , y3 : i32 , x4 : i32 , y4 : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( Chord ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x1 ) , :: std :: mem :: transmute ( y1 ) , :: std :: mem :: transmute ( x2 ) , :: std :: mem :: transmute ( y2 ) , :: std :: mem :: transmute ( x3 ) , :: std :: mem :: transmute ( y3 ) , :: std :: mem :: transmute ( x4 ) , :: std :: mem :: transmute ( y4 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ClientToScreen < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , lppoint : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ClientToScreen ( hwnd : super::super::Foundation:: HWND , lppoint : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ClientToScreen ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppoint ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseEnhMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> HENHMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CloseEnhMetaFile ( hdc : HDC ) -> HENHMETAFILE ; } :: std :: mem :: transmute ( CloseEnhMetaFile ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseFigure < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CloseFigure ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( CloseFigure ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> HMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CloseMetaFile ( hdc : HDC ) -> HMETAFILE ; } :: std :: mem :: transmute ( CloseMetaFile ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CombineRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , Param1 : :: windows :: IntoParam < 'a , HRGN > , Param2 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgndst : Param0 , hrgnsrc1 : Param1 , hrgnsrc2 : Param2 , imode : RGN_COMBINE_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CombineRgn ( hrgndst : HRGN , hrgnsrc1 : HRGN , hrgnsrc2 : HRGN , imode : RGN_COMBINE_MODE ) -> i32 ; } :: std :: mem :: transmute ( CombineRgn ( hrgndst . into_param ( ) . abi ( ) , hrgnsrc1 . into_param ( ) . abi ( ) , hrgnsrc2 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( imode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CombineTransform < > ( lpxfout : * mut XFORM , lpxf1 : * const XFORM , lpxf2 : * const XFORM , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CombineTransform ( lpxfout : * mut XFORM , lpxf1 : * const XFORM , lpxf2 : * const XFORM ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( CombineTransform ( :: std :: mem :: transmute ( lpxfout ) , :: std :: mem :: transmute ( lpxf1 ) , :: std :: mem :: transmute ( lpxf2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyEnhMetaFileA < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( henh : Param0 , lpfilename : Param1 , ) -> HENHMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CopyEnhMetaFileA ( henh : HENHMETAFILE , lpfilename : super::super::Foundation:: PSTR ) -> HENHMETAFILE ; } :: std :: mem :: transmute ( CopyEnhMetaFileA ( henh . into_param ( ) . abi ( ) , lpfilename . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyEnhMetaFileW < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( henh : Param0 , lpfilename : Param1 , ) -> HENHMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CopyEnhMetaFileW ( henh : HENHMETAFILE , lpfilename : super::super::Foundation:: PWSTR ) -> HENHMETAFILE ; } :: std :: mem :: transmute ( CopyEnhMetaFileW ( henh . into_param ( ) . abi ( ) , lpfilename . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyMetaFileA < 'a , Param0 : :: windows :: IntoParam < 'a , HMETAFILE > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( param0 : Param0 , param1 : Param1 , ) -> HMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CopyMetaFileA ( param0 : HMETAFILE , param1 : super::super::Foundation:: PSTR ) -> HMETAFILE ; } :: std :: mem :: transmute ( CopyMetaFileA ( param0 . into_param ( ) . abi ( ) , param1 . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyMetaFileW < 'a , Param0 : :: windows :: IntoParam < 'a , HMETAFILE > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( param0 : Param0 , param1 : Param1 , ) -> HMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CopyMetaFileW ( param0 : HMETAFILE , param1 : super::super::Foundation:: PWSTR ) -> HMETAFILE ; } :: std :: mem :: transmute ( CopyMetaFileW ( param0 . into_param ( ) . abi ( ) , param1 . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyRect < > ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn CopyRect ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( CopyRect ( :: std :: mem :: transmute ( lprcdst ) , :: std :: mem :: transmute ( lprcsrc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateBitmap < > ( nwidth : i32 , nheight : i32 , nplanes : u32 , nbitcount : u32 , lpbits : * const :: std :: ffi :: c_void , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateBitmap ( nwidth : i32 , nheight : i32 , nplanes : u32 , nbitcount : u32 , lpbits : * const :: std :: ffi :: c_void ) -> HBITMAP ; } :: std :: mem :: transmute ( CreateBitmap ( :: std :: mem :: transmute ( nwidth ) , :: std :: mem :: transmute ( nheight ) , :: std :: mem :: transmute ( nplanes ) , :: std :: mem :: transmute ( nbitcount ) , :: std :: mem :: transmute ( lpbits ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateBitmapIndirect < > ( pbm : * const BITMAP , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateBitmapIndirect ( pbm : * const BITMAP ) -> HBITMAP ; } :: std :: mem :: transmute ( CreateBitmapIndirect ( :: std :: mem :: transmute ( pbm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateBrushIndirect < > ( plbrush : * const LOGBRUSH , ) -> HBRUSH { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateBrushIndirect ( plbrush : * const LOGBRUSH ) -> HBRUSH ; } :: std :: mem :: transmute ( CreateBrushIndirect ( :: std :: mem :: transmute ( plbrush ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateCompatibleBitmap < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , cx : i32 , cy : i32 , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateCompatibleBitmap ( hdc : HDC , cx : i32 , cy : i32 ) -> HBITMAP ; } :: std :: mem :: transmute ( CreateCompatibleBitmap ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cx ) , :: std :: mem :: transmute ( cy ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateCompatibleDC < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> CreatedHDC { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateCompatibleDC ( hdc : HDC ) -> CreatedHDC ; } :: std :: mem :: transmute ( CreateCompatibleDC ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDCA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( pwszdriver : Param0 , pwszdevice : Param1 , pszport : Param2 , pdm : * const super::super::UI::DisplayDevices:: DEVMODEA , ) -> CreatedHDC { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateDCA ( pwszdriver : super::super::Foundation:: PSTR , pwszdevice : super::super::Foundation:: PSTR , pszport : super::super::Foundation:: PSTR , pdm : * const super::super::UI::DisplayDevices:: DEVMODEA ) -> CreatedHDC ; } :: std :: mem :: transmute ( CreateDCA ( pwszdriver . into_param ( ) . abi ( ) , pwszdevice . into_param ( ) . abi ( ) , pszport . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDCW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( pwszdriver : Param0 , pwszdevice : Param1 , pszport : Param2 , pdm : * const super::super::UI::DisplayDevices:: DEVMODEW , ) -> CreatedHDC { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateDCW ( pwszdriver : super::super::Foundation:: PWSTR , pwszdevice : super::super::Foundation:: PWSTR , pszport : super::super::Foundation:: PWSTR , pdm : * const super::super::UI::DisplayDevices:: DEVMODEW ) -> CreatedHDC ; } :: std :: mem :: transmute ( CreateDCW ( pwszdriver . into_param ( ) . abi ( ) , pwszdevice . into_param ( ) . abi ( ) , pszport . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDIBPatternBrush < > ( h : isize , iusage : DIB_USAGE , ) -> HBRUSH { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateDIBPatternBrush ( h : isize , iusage : DIB_USAGE ) -> HBRUSH ; } :: std :: mem :: transmute ( CreateDIBPatternBrush ( :: std :: mem :: transmute ( h ) , :: std :: mem :: transmute ( iusage ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDIBPatternBrushPt < > ( lppackeddib : * const :: std :: ffi :: c_void , iusage : DIB_USAGE , ) -> HBRUSH { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateDIBPatternBrushPt ( lppackeddib : * const :: std :: ffi :: c_void , iusage : DIB_USAGE ) -> HBRUSH ; } :: std :: mem :: transmute ( CreateDIBPatternBrushPt ( :: std :: mem :: transmute ( lppackeddib ) , :: std :: mem :: transmute ( iusage ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDIBSection < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param4 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( hdc : Param0 , pbmi : * const BITMAPINFO , usage : DIB_USAGE , ppvbits : * mut * mut :: std :: ffi :: c_void , hsection : Param4 , offset : u32 , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateDIBSection ( hdc : HDC , pbmi : * const BITMAPINFO , usage : DIB_USAGE , ppvbits : * mut * mut :: std :: ffi :: c_void , hsection : super::super::Foundation:: HANDLE , offset : u32 ) -> HBITMAP ; } :: std :: mem :: transmute ( CreateDIBSection ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbmi ) , :: std :: mem :: transmute ( usage ) , :: std :: mem :: transmute ( ppvbits ) , hsection . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( offset ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDIBitmap < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , pbmih : * const BITMAPINFOHEADER , flinit : u32 , pjbits : * const :: std :: ffi :: c_void , pbmi : * const BITMAPINFO , iusage : DIB_USAGE , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateDIBitmap ( hdc : HDC , pbmih : * const BITMAPINFOHEADER , flinit : u32 , pjbits : * const :: std :: ffi :: c_void , pbmi : * const BITMAPINFO , iusage : DIB_USAGE ) -> HBITMAP ; } :: std :: mem :: transmute ( CreateDIBitmap ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbmih ) , :: std :: mem :: transmute ( flinit ) , :: std :: mem :: transmute ( pjbits ) , :: std :: mem :: transmute ( pbmi ) , :: std :: mem :: transmute ( iusage ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDiscardableBitmap < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , cx : i32 , cy : i32 , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateDiscardableBitmap ( hdc : HDC , cx : i32 , cy : i32 ) -> HBITMAP ; } :: std :: mem :: transmute ( CreateDiscardableBitmap ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cx ) , :: std :: mem :: transmute ( cy ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateEllipticRgn < > ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateEllipticRgn ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 ) -> HRGN ; } :: std :: mem :: transmute ( CreateEllipticRgn ( :: std :: mem :: transmute ( x1 ) , :: std :: mem :: transmute ( y1 ) , :: std :: mem :: transmute ( x2 ) , :: std :: mem :: transmute ( y2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateEllipticRgnIndirect < > ( lprect : * const super::super::Foundation:: RECT , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateEllipticRgnIndirect ( lprect : * const super::super::Foundation:: RECT ) -> HRGN ; } :: std :: mem :: transmute ( CreateEllipticRgnIndirect ( :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateEnhMetaFileA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpfilename : Param1 , lprc : * const super::super::Foundation:: RECT , lpdesc : Param3 , ) -> HdcMetdataEnhFileHandle { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateEnhMetaFileA ( hdc : HDC , lpfilename : super::super::Foundation:: PSTR , lprc : * const super::super::Foundation:: RECT , lpdesc : super::super::Foundation:: PSTR ) -> HdcMetdataEnhFileHandle ; } :: std :: mem :: transmute ( CreateEnhMetaFileA ( hdc . into_param ( ) . abi ( ) , lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) , lpdesc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateEnhMetaFileW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpfilename : Param1 , lprc : * const super::super::Foundation:: RECT , lpdesc : Param3 , ) -> HdcMetdataEnhFileHandle { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateEnhMetaFileW ( hdc : HDC , lpfilename : super::super::Foundation:: PWSTR , lprc : * const super::super::Foundation:: RECT , lpdesc : super::super::Foundation:: PWSTR ) -> HdcMetdataEnhFileHandle ; } :: std :: mem :: transmute ( CreateEnhMetaFileW ( hdc . into_param ( ) . abi ( ) , lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) , lpdesc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFontA < 'a , Param13 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( cheight : i32 , cwidth : i32 , cescapement : i32 , corientation : i32 , cweight : i32 , bitalic : u32 , bunderline : u32 , bstrikeout : u32 , icharset : u32 , ioutprecision : FONT_OUTPUT_PRECISION , iclipprecision : FONT_CLIP_PRECISION , iquality : FONT_QUALITY , ipitchandfamily : FONT_PITCH_AND_FAMILY , pszfacename : Param13 , ) -> HFONT { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateFontA ( cheight : i32 , cwidth : i32 , cescapement : i32 , corientation : i32 , cweight : i32 , bitalic : u32 , bunderline : u32 , bstrikeout : u32 , icharset : u32 , ioutprecision : FONT_OUTPUT_PRECISION , iclipprecision : FONT_CLIP_PRECISION , iquality : FONT_QUALITY , ipitchandfamily : FONT_PITCH_AND_FAMILY , pszfacename : super::super::Foundation:: PSTR ) -> HFONT ; } :: std :: mem :: transmute ( CreateFontA ( :: std :: mem :: transmute ( cheight ) , :: std :: mem :: transmute ( cwidth ) , :: std :: mem :: transmute ( cescapement ) , :: std :: mem :: transmute ( corientation ) , :: std :: mem :: transmute ( cweight ) , :: std :: mem :: transmute ( bitalic ) , :: std :: mem :: transmute ( bunderline ) , :: std :: mem :: transmute ( bstrikeout ) , :: std :: mem :: transmute ( icharset ) , :: std :: mem :: transmute ( ioutprecision ) , :: std :: mem :: transmute ( iclipprecision ) , :: std :: mem :: transmute ( iquality ) , :: std :: mem :: transmute ( ipitchandfamily ) , pszfacename . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFontIndirectA < > ( lplf : * const LOGFONTA , ) -> HFONT { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateFontIndirectA ( lplf : * const LOGFONTA ) -> HFONT ; } :: std :: mem :: transmute ( CreateFontIndirectA ( :: std :: mem :: transmute ( lplf ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFontIndirectExA < > ( param0 : * const ENUMLOGFONTEXDVA , ) -> HFONT { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateFontIndirectExA ( param0 : * const ENUMLOGFONTEXDVA ) -> HFONT ; } :: std :: mem :: transmute ( CreateFontIndirectExA ( :: std :: mem :: transmute ( param0 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFontIndirectExW < > ( param0 : * const ENUMLOGFONTEXDVW , ) -> HFONT { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateFontIndirectExW ( param0 : * const ENUMLOGFONTEXDVW ) -> HFONT ; } :: std :: mem :: transmute ( CreateFontIndirectExW ( :: std :: mem :: transmute ( param0 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFontIndirectW < > ( lplf : * const LOGFONTW , ) -> HFONT { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateFontIndirectW ( lplf : * const LOGFONTW ) -> HFONT ; } :: std :: mem :: transmute ( CreateFontIndirectW ( :: std :: mem :: transmute ( lplf ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFontPackage < > ( puchsrcbuffer : * const u8 , ulsrcbuffersize : u32 , ppuchfontpackagebuffer : * mut * mut u8 , pulfontpackagebuffersize : * mut u32 , pulbyteswritten : * mut u32 , usflag : u16 , usttcindex : u16 , ussubsetformat : u16 , ussubsetlanguage : u16 , ussubsetplatform : CREATE_FONT_PACKAGE_SUBSET_PLATFORM , ussubsetencoding : CREATE_FONT_PACKAGE_SUBSET_ENCODING , pussubsetkeeplist : * const u16 , ussubsetlistcount : u16 , lpfnallocate : :: std :: option :: Option < CFP_ALLOCPROC > , lpfnreallocate : :: std :: option :: Option < CFP_REALLOCPROC > , lpfnfree : :: std :: option :: Option < CFP_FREEPROC > , lpvreserved : * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="fontsub" ) ] extern "system" { fn CreateFontPackage ( puchsrcbuffer : * const u8 , ulsrcbuffersize : u32 , ppuchfontpackagebuffer : * mut * mut u8 , pulfontpackagebuffersize : * mut u32 , pulbyteswritten : * mut u32 , usflag : u16 , usttcindex : u16 , ussubsetformat : u16 , ussubsetlanguage : u16 , ussubsetplatform : CREATE_FONT_PACKAGE_SUBSET_PLATFORM , ussubsetencoding : CREATE_FONT_PACKAGE_SUBSET_ENCODING , pussubsetkeeplist : * const u16 , ussubsetlistcount : u16 , lpfnallocate : :: windows :: RawPtr , lpfnreallocate : :: windows :: RawPtr , lpfnfree : :: windows :: RawPtr , lpvreserved : * mut :: std :: ffi :: c_void ) -> u32 ; } :: std :: mem :: transmute ( CreateFontPackage ( :: std :: mem :: transmute ( puchsrcbuffer ) , :: std :: mem :: transmute ( ulsrcbuffersize ) , :: std :: mem :: transmute ( ppuchfontpackagebuffer ) , :: std :: mem :: transmute ( pulfontpackagebuffersize ) , :: std :: mem :: transmute ( pulbyteswritten ) , :: std :: mem :: transmute ( usflag ) , :: std :: mem :: transmute ( usttcindex ) , :: std :: mem :: transmute ( ussubsetformat ) , :: std :: mem :: transmute ( ussubsetlanguage ) , :: std :: mem :: transmute ( ussubsetplatform ) , :: std :: mem :: transmute ( ussubsetencoding ) , :: std :: mem :: transmute ( pussubsetkeeplist ) , :: std :: mem :: transmute ( ussubsetlistcount ) , :: std :: mem :: transmute ( lpfnallocate ) , :: std :: mem :: transmute ( lpfnreallocate ) , :: std :: mem :: transmute ( lpfnfree ) , :: std :: mem :: transmute ( lpvreserved ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFontW < 'a , Param13 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( cheight : i32 , cwidth : i32 , cescapement : i32 , corientation : i32 , cweight : i32 , bitalic : u32 , bunderline : u32 , bstrikeout : u32 , icharset : u32 , ioutprecision : FONT_OUTPUT_PRECISION , iclipprecision : FONT_CLIP_PRECISION , iquality : FONT_QUALITY , ipitchandfamily : FONT_PITCH_AND_FAMILY , pszfacename : Param13 , ) -> HFONT { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateFontW ( cheight : i32 , cwidth : i32 , cescapement : i32 , corientation : i32 , cweight : i32 , bitalic : u32 , bunderline : u32 , bstrikeout : u32 , icharset : u32 , ioutprecision : FONT_OUTPUT_PRECISION , iclipprecision : FONT_CLIP_PRECISION , iquality : FONT_QUALITY , ipitchandfamily : FONT_PITCH_AND_FAMILY , pszfacename : super::super::Foundation:: PWSTR ) -> HFONT ; } :: std :: mem :: transmute ( CreateFontW ( :: std :: mem :: transmute ( cheight ) , :: std :: mem :: transmute ( cwidth ) , :: std :: mem :: transmute ( cescapement ) , :: std :: mem :: transmute ( corientation ) , :: std :: mem :: transmute ( cweight ) , :: std :: mem :: transmute ( bitalic ) , :: std :: mem :: transmute ( bunderline ) , :: std :: mem :: transmute ( bstrikeout ) , :: std :: mem :: transmute ( icharset ) , :: std :: mem :: transmute ( ioutprecision ) , :: std :: mem :: transmute ( iclipprecision ) , :: std :: mem :: transmute ( iquality ) , :: std :: mem :: transmute ( ipitchandfamily ) , pszfacename . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateHalftonePalette < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> HPALETTE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateHalftonePalette ( hdc : HDC ) -> HPALETTE ; } :: std :: mem :: transmute ( CreateHalftonePalette ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateHatchBrush < > ( ihatch : HATCH_BRUSH_STYLE , color : u32 , ) -> HBRUSH { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateHatchBrush ( ihatch : HATCH_BRUSH_STYLE , color : u32 ) -> HBRUSH ; } :: std :: mem :: transmute ( CreateHatchBrush ( :: std :: mem :: transmute ( ihatch ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateICA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( pszdriver : Param0 , pszdevice : Param1 , pszport : Param2 , pdm : * const super::super::UI::DisplayDevices:: DEVMODEA , ) -> CreatedHDC { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateICA ( pszdriver : super::super::Foundation:: PSTR , pszdevice : super::super::Foundation:: PSTR , pszport : super::super::Foundation:: PSTR , pdm : * const super::super::UI::DisplayDevices:: DEVMODEA ) -> CreatedHDC ; } :: std :: mem :: transmute ( CreateICA ( pszdriver . into_param ( ) . abi ( ) , pszdevice . into_param ( ) . abi ( ) , pszport . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateICW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( pszdriver : Param0 , pszdevice : Param1 , pszport : Param2 , pdm : * const super::super::UI::DisplayDevices:: DEVMODEW , ) -> CreatedHDC { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateICW ( pszdriver : super::super::Foundation:: PWSTR , pszdevice : super::super::Foundation:: PWSTR , pszport : super::super::Foundation:: PWSTR , pdm : * const super::super::UI::DisplayDevices:: DEVMODEW ) -> CreatedHDC ; } :: std :: mem :: transmute ( CreateICW ( pszdriver . into_param ( ) . abi ( ) , pszdevice . into_param ( ) . abi ( ) , pszport . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateMetaFileA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( pszfile : Param0 , ) -> HdcMetdataFileHandle { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateMetaFileA ( pszfile : super::super::Foundation:: PSTR ) -> HdcMetdataFileHandle ; } :: std :: mem :: transmute ( CreateMetaFileA ( pszfile . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateMetaFileW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( pszfile : Param0 , ) -> HdcMetdataFileHandle { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateMetaFileW ( pszfile : super::super::Foundation:: PWSTR ) -> HdcMetdataFileHandle ; } :: std :: mem :: transmute ( CreateMetaFileW ( pszfile . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePalette < > ( plpal : * const LOGPALETTE , ) -> HPALETTE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreatePalette ( plpal : * const LOGPALETTE ) -> HPALETTE ; } :: std :: mem :: transmute ( CreatePalette ( :: std :: mem :: transmute ( plpal ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePatternBrush < 'a , Param0 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hbm : Param0 , ) -> HBRUSH { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreatePatternBrush ( hbm : HBITMAP ) -> HBRUSH ; } :: std :: mem :: transmute ( CreatePatternBrush ( hbm . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePen < > ( istyle : PEN_STYLE , cwidth : i32 , color : u32 , ) -> HPEN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreatePen ( istyle : PEN_STYLE , cwidth : i32 , color : u32 ) -> HPEN ; } :: std :: mem :: transmute ( CreatePen ( :: std :: mem :: transmute ( istyle ) , :: std :: mem :: transmute ( cwidth ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePenIndirect < > ( plpen : * const LOGPEN , ) -> HPEN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreatePenIndirect ( plpen : * const LOGPEN ) -> HPEN ; } :: std :: mem :: transmute ( CreatePenIndirect ( :: std :: mem :: transmute ( plpen ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePolyPolygonRgn < > ( pptl : * const super::super::Foundation:: POINT , pc : * const i32 , cpoly : i32 , imode : CREATE_POLYGON_RGN_MODE , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreatePolyPolygonRgn ( pptl : * const super::super::Foundation:: POINT , pc : * const i32 , cpoly : i32 , imode : CREATE_POLYGON_RGN_MODE ) -> HRGN ; } :: std :: mem :: transmute ( CreatePolyPolygonRgn ( :: std :: mem :: transmute ( pptl ) , :: std :: mem :: transmute ( pc ) , :: std :: mem :: transmute ( cpoly ) , :: std :: mem :: transmute ( imode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePolygonRgn < > ( pptl : * const super::super::Foundation:: POINT , cpoint : i32 , imode : CREATE_POLYGON_RGN_MODE , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreatePolygonRgn ( pptl : * const super::super::Foundation:: POINT , cpoint : i32 , imode : CREATE_POLYGON_RGN_MODE ) -> HRGN ; } :: std :: mem :: transmute ( CreatePolygonRgn ( :: std :: mem :: transmute ( pptl ) , :: std :: mem :: transmute ( cpoint ) , :: std :: mem :: transmute ( imode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateRectRgn < > ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateRectRgn ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 ) -> HRGN ; } :: std :: mem :: transmute ( CreateRectRgn ( :: std :: mem :: transmute ( x1 ) , :: std :: mem :: transmute ( y1 ) , :: std :: mem :: transmute ( x2 ) , :: std :: mem :: transmute ( y2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateRectRgnIndirect < > ( lprect : * const super::super::Foundation:: RECT , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateRectRgnIndirect ( lprect : * const super::super::Foundation:: RECT ) -> HRGN ; } :: std :: mem :: transmute ( CreateRectRgnIndirect ( :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateRoundRectRgn < > ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , w : i32 , h : i32 , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateRoundRectRgn ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , w : i32 , h : i32 ) -> HRGN ; } :: std :: mem :: transmute ( CreateRoundRectRgn ( :: std :: mem :: transmute ( x1 ) , :: std :: mem :: transmute ( y1 ) , :: std :: mem :: transmute ( x2 ) , :: std :: mem :: transmute ( y2 ) , :: std :: mem :: transmute ( w ) , :: std :: mem :: transmute ( h ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateScalableFontResourceA < 'a , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( fdwhidden : u32 , lpszfont : Param1 , lpszfile : Param2 , lpszpath : Param3 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateScalableFontResourceA ( fdwhidden : u32 , lpszfont : super::super::Foundation:: PSTR , lpszfile : super::super::Foundation:: PSTR , lpszpath : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( CreateScalableFontResourceA ( :: std :: mem :: transmute ( fdwhidden ) , lpszfont . into_param ( ) . abi ( ) , lpszfile . into_param ( ) . abi ( ) , lpszpath . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateScalableFontResourceW < 'a , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( fdwhidden : u32 , lpszfont : Param1 , lpszfile : Param2 , lpszpath : Param3 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateScalableFontResourceW ( fdwhidden : u32 , lpszfont : super::super::Foundation:: PWSTR , lpszfile : super::super::Foundation:: PWSTR , lpszpath : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( CreateScalableFontResourceW ( :: std :: mem :: transmute ( fdwhidden ) , lpszfont . into_param ( ) . abi ( ) , lpszfile . into_param ( ) . abi ( ) , lpszpath . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateSolidBrush < > ( color : u32 , ) -> HBRUSH { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn CreateSolidBrush ( color : u32 ) -> HBRUSH ; } :: std :: mem :: transmute ( CreateSolidBrush ( :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct CreatedHDC ( pub isize ) ; impl :: std :: default :: Default for CreatedHDC { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for CreatedHDC { } unsafe impl :: windows :: Abi for CreatedHDC { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HDC > for CreatedHDC { fn into_param ( self ) -> :: windows :: Param < 'a , HDC > { :: windows :: Param :: Owned ( HDC ( self . 0 ) ) } } pub const DCBA_FACEDOWNCENTER : u32 = 257u32 ; pub const DCBA_FACEDOWNLEFT : u32 = 258u32 ; pub const DCBA_FACEDOWNNONE : u32 = 256u32 ; pub const DCBA_FACEDOWNRIGHT : u32 = 259u32 ; pub const DCBA_FACEUPCENTER : u32 = 1u32 ; pub const DCBA_FACEUPLEFT : u32 = 2u32 ; pub const DCBA_FACEUPNONE : u32 = 0u32 ; pub const DCBA_FACEUPRIGHT : u32 = 3u32 ; pub const DCTT_BITMAP : i32 = 1i32 ; pub const DCTT_DOWNLOAD : i32 = 2i32 ; pub const DCTT_DOWNLOAD_OUTLINE : i32 = 8i32 ; pub const DCTT_SUBDEV : i32 = 4i32 ; pub const DC_BINADJUST : u32 = 19u32 ; pub const DC_DATATYPE_PRODUCED : u32 = 21u32 ; pub const DC_EMF_COMPLIANT : u32 = 20u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DC_LAYOUT ( pub u32 ) ; pub const LAYOUT_BITMAPORIENTATIONPRESERVED : DC_LAYOUT = DC_LAYOUT ( 8u32 ) ; pub const LAYOUT_RTL : DC_LAYOUT = DC_LAYOUT ( 1u32 ) ; impl :: std :: convert :: From < u32 > for DC_LAYOUT { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DC_LAYOUT { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DC_LAYOUT { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DC_LAYOUT { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DC_LAYOUT { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DC_LAYOUT { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DC_LAYOUT { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const DC_MANUFACTURER : u32 = 23u32 ; pub const DC_MODEL : u32 = 24u32 ; pub const DEFAULT_CHARSET : u32 = 1u32 ; pub const DEFAULT_PITCH : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DESIGNVECTOR { pub dvReserved : u32 , pub dvNumAxes : u32 , pub dvValues : [ i32 ;16 ] } impl DESIGNVECTOR { } impl :: std :: default :: Default for DESIGNVECTOR { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DESIGNVECTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DESIGNVECTOR" ) . field ( "dvReserved" , & self . dvReserved ) . field ( "dvNumAxes" , & self . dvNumAxes ) . field ( "dvValues" , & self . dvValues ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DESIGNVECTOR { fn eq ( & self , other : & Self ) -> bool { self . dvReserved == other . dvReserved && self . dvNumAxes == other . dvNumAxes && self . dvValues == other . dvValues } } impl :: std :: cmp :: Eq for DESIGNVECTOR { } unsafe impl :: windows :: Abi for DESIGNVECTOR { type Abi = Self ; type DefaultType = Self ; } pub const DESKTOPHORZRES : u32 = 118u32 ; pub const DESKTOPVERTRES : u32 = 117u32 ; pub const DEVICEDATA : u32 = 19u32 ; pub const DEVICE_FONTTYPE : u32 = 2u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DFCS_STATE ( pub u32 ) ; pub const DFCS_CAPTIONCLOSE : DFCS_STATE = DFCS_STATE ( 0u32 ) ; pub const DFCS_CAPTIONMIN : DFCS_STATE = DFCS_STATE ( 1u32 ) ; pub const DFCS_CAPTIONMAX : DFCS_STATE = DFCS_STATE ( 2u32 ) ; pub const DFCS_CAPTIONRESTORE : DFCS_STATE = DFCS_STATE ( 3u32 ) ; pub const DFCS_CAPTIONHELP : DFCS_STATE = DFCS_STATE ( 4u32 ) ; pub const DFCS_MENUARROW : DFCS_STATE = DFCS_STATE ( 0u32 ) ; pub const DFCS_MENUCHECK : DFCS_STATE = DFCS_STATE ( 1u32 ) ; pub const DFCS_MENUBULLET : DFCS_STATE = DFCS_STATE ( 2u32 ) ; pub const DFCS_MENUARROWRIGHT : DFCS_STATE = DFCS_STATE ( 4u32 ) ; pub const DFCS_SCROLLUP : DFCS_STATE = DFCS_STATE ( 0u32 ) ; pub const DFCS_SCROLLDOWN : DFCS_STATE = DFCS_STATE ( 1u32 ) ; pub const DFCS_SCROLLLEFT : DFCS_STATE = DFCS_STATE ( 2u32 ) ; pub const DFCS_SCROLLRIGHT : DFCS_STATE = DFCS_STATE ( 3u32 ) ; pub const DFCS_SCROLLCOMBOBOX : DFCS_STATE = DFCS_STATE ( 5u32 ) ; pub const DFCS_SCROLLSIZEGRIP : DFCS_STATE = DFCS_STATE ( 8u32 ) ; pub const DFCS_SCROLLSIZEGRIPRIGHT : DFCS_STATE = DFCS_STATE ( 16u32 ) ; pub const DFCS_BUTTONCHECK : DFCS_STATE = DFCS_STATE ( 0u32 ) ; pub const DFCS_BUTTONRADIOIMAGE : DFCS_STATE = DFCS_STATE ( 1u32 ) ; pub const DFCS_BUTTONRADIOMASK : DFCS_STATE = DFCS_STATE ( 2u32 ) ; pub const DFCS_BUTTONRADIO : DFCS_STATE = DFCS_STATE ( 4u32 ) ; pub const DFCS_BUTTON3STATE : DFCS_STATE = DFCS_STATE ( 8u32 ) ; pub const DFCS_BUTTONPUSH : DFCS_STATE = DFCS_STATE ( 16u32 ) ; pub const DFCS_INACTIVE : DFCS_STATE = DFCS_STATE ( 256u32 ) ; pub const DFCS_PUSHED : DFCS_STATE = DFCS_STATE ( 512u32 ) ; pub const DFCS_CHECKED : DFCS_STATE = DFCS_STATE ( 1024u32 ) ; pub const DFCS_TRANSPARENT : DFCS_STATE = DFCS_STATE ( 2048u32 ) ; pub const DFCS_HOT : DFCS_STATE = DFCS_STATE ( 4096u32 ) ; pub const DFCS_ADJUSTRECT : DFCS_STATE = DFCS_STATE ( 8192u32 ) ; pub const DFCS_FLAT : DFCS_STATE = DFCS_STATE ( 16384u32 ) ; pub const DFCS_MONO : DFCS_STATE = DFCS_STATE ( 32768u32 ) ; impl :: std :: convert :: From < u32 > for DFCS_STATE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DFCS_STATE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DFCS_STATE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DFCS_STATE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DFCS_STATE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DFCS_STATE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DFCS_STATE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DFC_TYPE ( pub u32 ) ; pub const DFC_CAPTION : DFC_TYPE = DFC_TYPE ( 1u32 ) ; pub const DFC_MENU : DFC_TYPE = DFC_TYPE ( 2u32 ) ; pub const DFC_SCROLL : DFC_TYPE = DFC_TYPE ( 3u32 ) ; pub const DFC_BUTTON : DFC_TYPE = DFC_TYPE ( 4u32 ) ; pub const DFC_POPUPMENU : DFC_TYPE = DFC_TYPE ( 5u32 ) ; impl :: std :: convert :: From < u32 > for DFC_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DFC_TYPE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DFC_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DFC_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DFC_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DFC_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DFC_TYPE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DIBSECTION { pub dsBm : BITMAP , pub dsBmih : BITMAPINFOHEADER , pub dsBitfields : [ u32 ;3 ] , pub dshSection : super::super::Foundation:: HANDLE , pub dsOffset : u32 } impl DIBSECTION { } impl :: std :: default :: Default for DIBSECTION { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DIBSECTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DIBSECTION" ) . field ( "dsBm" , & self . dsBm ) . field ( "dsBmih" , & self . dsBmih ) . field ( "dsBitfields" , & self . dsBitfields ) . field ( "dshSection" , & self . dshSection ) . field ( "dsOffset" , & self . dsOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DIBSECTION { fn eq ( & self , other : & Self ) -> bool { self . dsBm == other . dsBm && self . dsBmih == other . dsBmih && self . dsBitfields == other . dsBitfields && self . dshSection == other . dshSection && self . dsOffset == other . dsOffset } } impl :: std :: cmp :: Eq for DIBSECTION { } unsafe impl :: windows :: Abi for DIBSECTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DIB_USAGE ( pub u32 ) ; pub const DIB_RGB_COLORS : DIB_USAGE = DIB_USAGE ( 0u32 ) ; pub const DIB_PAL_COLORS : DIB_USAGE = DIB_USAGE ( 1u32 ) ; impl :: std :: convert :: From < u32 > for DIB_USAGE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DIB_USAGE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DIB_USAGE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DIB_USAGE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DIB_USAGE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DIB_USAGE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DIB_USAGE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DISPLAYCONFIG_COLOR_ENCODING ( pub i32 ) ; pub const DISPLAYCONFIG_COLOR_ENCODING_RGB : DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING ( 0i32 ) ; pub const DISPLAYCONFIG_COLOR_ENCODING_YCBCR444 : DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING ( 1i32 ) ; pub const DISPLAYCONFIG_COLOR_ENCODING_YCBCR422 : DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING ( 2i32 ) ; pub const DISPLAYCONFIG_COLOR_ENCODING_YCBCR420 : DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING ( 3i32 ) ; pub const DISPLAYCONFIG_COLOR_ENCODING_INTENSITY : DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING ( 4i32 ) ; pub const DISPLAYCONFIG_COLOR_ENCODING_FORCE_UINT32 : DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING ( -1i32 ) ; impl :: std :: convert :: From < i32 > for DISPLAYCONFIG_COLOR_ENCODING { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DISPLAYCONFIG_COLOR_ENCODING { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO { pub header : super::super::UI::DisplayDevices:: DISPLAYCONFIG_DEVICE_INFO_HEADER , pub Anonymous : DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 , pub colorEncoding : DISPLAYCONFIG_COLOR_ENCODING , pub bitsPerColorChannel : u32 } impl DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO { } impl :: std :: default :: Default for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 { pub Anonymous : DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 , pub value : u32 } impl DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 { } impl :: std :: default :: Default for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { pub _bitfield : u32 } impl DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { } impl :: std :: default :: Default for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const DISPLAYCONFIG_MAXPATH : u32 = 1024u32 ; pub const DISPLAYCONFIG_PATH_ACTIVE : u32 = 1u32 ; pub const DISPLAYCONFIG_PATH_CLONE_GROUP_INVALID : u32 = 65535u32 ; pub const DISPLAYCONFIG_PATH_DESKTOP_IMAGE_IDX_INVALID : u32 = 65535u32 ; pub const DISPLAYCONFIG_PATH_MODE_IDX_INVALID : u32 = 4294967295u32 ; pub const DISPLAYCONFIG_PATH_PREFERRED_UNSCALED : u32 = 4u32 ; pub const DISPLAYCONFIG_PATH_SOURCE_MODE_IDX_INVALID : u32 = 65535u32 ; pub const DISPLAYCONFIG_PATH_SUPPORT_VIRTUAL_MODE : u32 = 8u32 ; pub const DISPLAYCONFIG_PATH_TARGET_MODE_IDX_INVALID : u32 = 65535u32 ; pub const DISPLAYCONFIG_PATH_VALID_FLAGS : u32 = 13u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAYCONFIG_SDR_WHITE_LEVEL { pub header : super::super::UI::DisplayDevices:: DISPLAYCONFIG_DEVICE_INFO_HEADER , pub SDRWhiteLevel : u32 } impl DISPLAYCONFIG_SDR_WHITE_LEVEL { } impl :: std :: default :: Default for DISPLAYCONFIG_SDR_WHITE_LEVEL { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DISPLAYCONFIG_SDR_WHITE_LEVEL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISPLAYCONFIG_SDR_WHITE_LEVEL" ) . field ( "header" , & self . header ) . field ( "SDRWhiteLevel" , & self . SDRWhiteLevel ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_SDR_WHITE_LEVEL { fn eq ( & self , other : & Self ) -> bool { self . header == other . header && self . SDRWhiteLevel == other . SDRWhiteLevel } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_SDR_WHITE_LEVEL { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_SDR_WHITE_LEVEL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE { pub header : super::super::UI::DisplayDevices:: DISPLAYCONFIG_DEVICE_INFO_HEADER , pub Anonymous : DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 } impl DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE { } impl :: std :: default :: Default for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 { pub Anonymous : DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 , pub value : u32 } impl DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 { } impl :: std :: default :: Default for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { pub _bitfield : u32 } impl DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { } impl :: std :: default :: Default for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const DISPLAYCONFIG_SOURCE_IN_USE : u32 = 1u32 ; pub const DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_BOOT : u32 = 4u32 ; pub const DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_PATH : u32 = 8u32 ; pub const DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_SYSTEM : u32 = 16u32 ; pub const DISPLAYCONFIG_TARGET_FORCIBLE : u32 = 2u32 ; pub const DISPLAYCONFIG_TARGET_IN_USE : u32 = 1u32 ; pub const DISPLAYCONFIG_TARGET_IS_HMD : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAY_DEVICEA { pub cb : u32 , pub DeviceName : [ super::super::System::SystemServices:: CHAR ;32 ] , pub DeviceString : [ super::super::System::SystemServices:: CHAR ;128 ] , pub StateFlags : u32 , pub DeviceID : [ super::super::System::SystemServices:: CHAR ;128 ] , pub DeviceKey : [ super::super::System::SystemServices:: CHAR ;128 ] } impl DISPLAY_DEVICEA { } impl :: std :: default :: Default for DISPLAY_DEVICEA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DISPLAY_DEVICEA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISPLAY_DEVICEA" ) . field ( "cb" , & self . cb ) . field ( "DeviceName" , & self . DeviceName ) . field ( "DeviceString" , & self . DeviceString ) . field ( "StateFlags" , & self . StateFlags ) . field ( "DeviceID" , & self . DeviceID ) . field ( "DeviceKey" , & self . DeviceKey ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISPLAY_DEVICEA { fn eq ( & self , other : & Self ) -> bool { self . cb == other . cb && self . DeviceName == other . DeviceName && self . DeviceString == other . DeviceString && self . StateFlags == other . StateFlags && self . DeviceID == other . DeviceID && self . DeviceKey == other . DeviceKey } } impl :: std :: cmp :: Eq for DISPLAY_DEVICEA { } unsafe impl :: windows :: Abi for DISPLAY_DEVICEA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAY_DEVICEW { pub cb : u32 , pub DeviceName : [ u16 ;32 ] , pub DeviceString : [ u16 ;128 ] , pub StateFlags : u32 , pub DeviceID : [ u16 ;128 ] , pub DeviceKey : [ u16 ;128 ] } impl DISPLAY_DEVICEW { } impl :: std :: default :: Default for DISPLAY_DEVICEW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DISPLAY_DEVICEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISPLAY_DEVICEW" ) . field ( "cb" , & self . cb ) . field ( "DeviceName" , & self . DeviceName ) . field ( "DeviceString" , & self . DeviceString ) . field ( "StateFlags" , & self . StateFlags ) . field ( "DeviceID" , & self . DeviceID ) . field ( "DeviceKey" , & self . DeviceKey ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISPLAY_DEVICEW { fn eq ( & self , other : & Self ) -> bool { self . cb == other . cb && self . DeviceName == other . DeviceName && self . DeviceString == other . DeviceString && self . StateFlags == other . StateFlags && self . DeviceID == other . DeviceID && self . DeviceKey == other . DeviceKey } } impl :: std :: cmp :: Eq for DISPLAY_DEVICEW { } unsafe impl :: windows :: Abi for DISPLAY_DEVICEW { type Abi = Self ; type DefaultType = Self ; } pub const DISPLAY_DEVICE_ACC_DRIVER : u32 = 64u32 ; pub const DISPLAY_DEVICE_ACTIVE : u32 = 1u32 ; pub const DISPLAY_DEVICE_ATTACHED : u32 = 2u32 ; pub const DISPLAY_DEVICE_ATTACHED_TO_DESKTOP : u32 = 1u32 ; pub const DISPLAY_DEVICE_DISCONNECT : u32 = 33554432u32 ; pub const DISPLAY_DEVICE_MIRRORING_DRIVER : u32 = 8u32 ; pub const DISPLAY_DEVICE_MODESPRUNED : u32 = 134217728u32 ; pub const DISPLAY_DEVICE_MULTI_DRIVER : u32 = 2u32 ; pub const DISPLAY_DEVICE_PRIMARY_DEVICE : u32 = 4u32 ; pub const DISPLAY_DEVICE_RDPUDD : u32 = 16777216u32 ; pub const DISPLAY_DEVICE_REMOTE : u32 = 67108864u32 ; pub const DISPLAY_DEVICE_REMOVABLE : u32 = 32u32 ; pub const DISPLAY_DEVICE_TS_COMPATIBLE : u32 = 2097152u32 ; pub const DISPLAY_DEVICE_UNSAFE_MODES_ON : u32 = 524288u32 ; pub const DISPLAY_DEVICE_VGA_COMPATIBLE : u32 = 16u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DISP_CHANGE ( pub i32 ) ; pub const DISP_CHANGE_SUCCESSFUL : DISP_CHANGE = DISP_CHANGE ( 0i32 ) ; pub const DISP_CHANGE_RESTART : DISP_CHANGE = DISP_CHANGE ( 1i32 ) ; pub const DISP_CHANGE_FAILED : DISP_CHANGE = DISP_CHANGE ( -1i32 ) ; pub const DISP_CHANGE_BADMODE : DISP_CHANGE = DISP_CHANGE ( -2i32 ) ; pub const DISP_CHANGE_NOTUPDATED : DISP_CHANGE = DISP_CHANGE ( -3i32 ) ; pub const DISP_CHANGE_BADFLAGS : DISP_CHANGE = DISP_CHANGE ( -4i32 ) ; pub const DISP_CHANGE_BADPARAM : DISP_CHANGE = DISP_CHANGE ( -5i32 ) ; pub const DISP_CHANGE_BADDUALVIEW : DISP_CHANGE = DISP_CHANGE ( -6i32 ) ; impl :: std :: convert :: From < i32 > for DISP_CHANGE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DISP_CHANGE { type Abi = Self ; type DefaultType = Self ; } pub const DI_APPBANDING : u32 = 1u32 ; pub const DI_ROPS_READ_DESTINATION : u32 = 2u32 ; pub const DMBIN_AUTO : u32 = 7u32 ; pub const DMBIN_CASSETTE : u32 = 14u32 ; pub const DMBIN_ENVELOPE : u32 = 5u32 ; pub const DMBIN_ENVMANUAL : u32 = 6u32 ; pub const DMBIN_FORMSOURCE : u32 = 15u32 ; pub const DMBIN_LARGECAPACITY : u32 = 11u32 ; pub const DMBIN_LARGEFMT : u32 = 10u32 ; pub const DMBIN_LOWER : u32 = 2u32 ; pub const DMBIN_MANUAL : u32 = 4u32 ; pub const DMBIN_MIDDLE : u32 = 3u32 ; pub const DMBIN_ONLYONE : u32 = 1u32 ; pub const DMBIN_SMALLFMT : u32 = 9u32 ; pub const DMBIN_TRACTOR : u32 = 8u32 ; pub const DMBIN_UPPER : u32 = 1u32 ; pub const DMBIN_USER : u32 = 256u32 ; pub const DMCOLLATE_FALSE : u32 = 0u32 ; pub const DMCOLLATE_TRUE : u32 = 1u32 ; pub const DMCOLOR_COLOR : u32 = 2u32 ; pub const DMCOLOR_MONOCHROME : u32 = 1u32 ; pub const DMDFO_CENTER : u32 = 2u32 ; pub const DMDFO_DEFAULT : u32 = 0u32 ; pub const DMDFO_STRETCH : u32 = 1u32 ; pub const DMDISPLAYFLAGS_TEXTMODE : u32 = 4u32 ; pub const DMDITHER_COARSE : u32 = 2u32 ; pub const DMDITHER_ERRORDIFFUSION : u32 = 5u32 ; pub const DMDITHER_FINE : u32 = 3u32 ; pub const DMDITHER_GRAYSCALE : u32 = 10u32 ; pub const DMDITHER_LINEART : u32 = 4u32 ; pub const DMDITHER_NONE : u32 = 1u32 ; pub const DMDITHER_RESERVED6 : u32 = 6u32 ; pub const DMDITHER_RESERVED7 : u32 = 7u32 ; pub const DMDITHER_RESERVED8 : u32 = 8u32 ; pub const DMDITHER_RESERVED9 : u32 = 9u32 ; pub const DMDITHER_USER : u32 = 256u32 ; pub const DMDO_180 : u32 = 2u32 ; pub const DMDO_270 : u32 = 3u32 ; pub const DMDO_90 : u32 = 1u32 ; pub const DMDO_DEFAULT : u32 = 0u32 ; pub const DMDUP_HORIZONTAL : u32 = 3u32 ; pub const DMDUP_SIMPLEX : u32 = 1u32 ; pub const DMDUP_VERTICAL : u32 = 2u32 ; pub const DMICMMETHOD_DEVICE : u32 = 4u32 ; pub const DMICMMETHOD_DRIVER : u32 = 3u32 ; pub const DMICMMETHOD_NONE : u32 = 1u32 ; pub const DMICMMETHOD_SYSTEM : u32 = 2u32 ; pub const DMICMMETHOD_USER : u32 = 256u32 ; pub const DMICM_ABS_COLORIMETRIC : u32 = 4u32 ; pub const DMICM_COLORIMETRIC : u32 = 3u32 ; pub const DMICM_CONTRAST : u32 = 2u32 ; pub const DMICM_SATURATE : u32 = 1u32 ; pub const DMICM_USER : u32 = 256u32 ; pub const DMMEDIA_GLOSSY : u32 = 3u32 ; pub const DMMEDIA_STANDARD : u32 = 1u32 ; pub const DMMEDIA_TRANSPARENCY : u32 = 2u32 ; pub const DMMEDIA_USER : u32 = 256u32 ; pub const DMNUP_ONEUP : u32 = 2u32 ; pub const DMNUP_SYSTEM : u32 = 1u32 ; pub const DMORIENT_LANDSCAPE : u32 = 2u32 ; pub const DMORIENT_PORTRAIT : u32 = 1u32 ; pub const DMPAPER_10X11 : u32 = 45u32 ; pub const DMPAPER_10X14 : u32 = 16u32 ; pub const DMPAPER_11X17 : u32 = 17u32 ; pub const DMPAPER_12X11 : u32 = 90u32 ; pub const DMPAPER_15X11 : u32 = 46u32 ; pub const DMPAPER_9X11 : u32 = 44u32 ; pub const DMPAPER_A2 : u32 = 66u32 ; pub const DMPAPER_A3 : u32 = 8u32 ; pub const DMPAPER_A3_EXTRA : u32 = 63u32 ; pub const DMPAPER_A3_EXTRA_TRANSVERSE : u32 = 68u32 ; pub const DMPAPER_A3_ROTATED : u32 = 76u32 ; pub const DMPAPER_A3_TRANSVERSE : u32 = 67u32 ; pub const DMPAPER_A4 : u32 = 9u32 ; pub const DMPAPER_A4SMALL : u32 = 10u32 ; pub const DMPAPER_A4_EXTRA : u32 = 53u32 ; pub const DMPAPER_A4_PLUS : u32 = 60u32 ; pub const DMPAPER_A4_ROTATED : u32 = 77u32 ; pub const DMPAPER_A4_TRANSVERSE : u32 = 55u32 ; pub const DMPAPER_A5 : u32 = 11u32 ; pub const DMPAPER_A5_EXTRA : u32 = 64u32 ; pub const DMPAPER_A5_ROTATED : u32 = 78u32 ; pub const DMPAPER_A5_TRANSVERSE : u32 = 61u32 ; pub const DMPAPER_A6 : u32 = 70u32 ; pub const DMPAPER_A6_ROTATED : u32 = 83u32 ; pub const DMPAPER_A_PLUS : u32 = 57u32 ; pub const DMPAPER_B4 : u32 = 12u32 ; pub const DMPAPER_B4_JIS_ROTATED : u32 = 79u32 ; pub const DMPAPER_B5 : u32 = 13u32 ; pub const DMPAPER_B5_EXTRA : u32 = 65u32 ; pub const DMPAPER_B5_JIS_ROTATED : u32 = 80u32 ; pub const DMPAPER_B5_TRANSVERSE : u32 = 62u32 ; pub const DMPAPER_B6_JIS : u32 = 88u32 ; pub const DMPAPER_B6_JIS_ROTATED : u32 = 89u32 ; pub const DMPAPER_B_PLUS : u32 = 58u32 ; pub const DMPAPER_CSHEET : u32 = 24u32 ; pub const DMPAPER_DBL_JAPANESE_POSTCARD : u32 = 69u32 ; pub const DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED : u32 = 82u32 ; pub const DMPAPER_DSHEET : u32 = 25u32 ; pub const DMPAPER_ENV_10 : u32 = 20u32 ; pub const DMPAPER_ENV_11 : u32 = 21u32 ; pub const DMPAPER_ENV_12 : u32 = 22u32 ; pub const DMPAPER_ENV_14 : u32 = 23u32 ; pub const DMPAPER_ENV_9 : u32 = 19u32 ; pub const DMPAPER_ENV_B4 : u32 = 33u32 ; pub const DMPAPER_ENV_B5 : u32 = 34u32 ; pub const DMPAPER_ENV_B6 : u32 = 35u32 ; pub const DMPAPER_ENV_C3 : u32 = 29u32 ; pub const DMPAPER_ENV_C4 : u32 = 30u32 ; pub const DMPAPER_ENV_C5 : u32 = 28u32 ; pub const DMPAPER_ENV_C6 : u32 = 31u32 ; pub const DMPAPER_ENV_C65 : u32 = 32u32 ; pub const DMPAPER_ENV_DL : u32 = 27u32 ; pub const DMPAPER_ENV_INVITE : u32 = 47u32 ; pub const DMPAPER_ENV_ITALY : u32 = 36u32 ; pub const DMPAPER_ENV_MONARCH : u32 = 37u32 ; pub const DMPAPER_ENV_PERSONAL : u32 = 38u32 ; pub const DMPAPER_ESHEET : u32 = 26u32 ; pub const DMPAPER_EXECUTIVE : u32 = 7u32 ; pub const DMPAPER_FANFOLD_LGL_GERMAN : u32 = 41u32 ; pub const DMPAPER_FANFOLD_STD_GERMAN : u32 = 40u32 ; pub const DMPAPER_FANFOLD_US : u32 = 39u32 ; pub const DMPAPER_FOLIO : u32 = 14u32 ; pub const DMPAPER_ISO_B4 : u32 = 42u32 ; pub const DMPAPER_JAPANESE_POSTCARD : u32 = 43u32 ; pub const DMPAPER_JAPANESE_POSTCARD_ROTATED : u32 = 81u32 ; pub const DMPAPER_JENV_CHOU3 : u32 = 73u32 ; pub const DMPAPER_JENV_CHOU3_ROTATED : u32 = 86u32 ; pub const DMPAPER_JENV_CHOU4 : u32 = 74u32 ; pub const DMPAPER_JENV_CHOU4_ROTATED : u32 = 87u32 ; pub const DMPAPER_JENV_KAKU2 : u32 = 71u32 ; pub const DMPAPER_JENV_KAKU2_ROTATED : u32 = 84u32 ; pub const DMPAPER_JENV_KAKU3 : u32 = 72u32 ; pub const DMPAPER_JENV_KAKU3_ROTATED : u32 = 85u32 ; pub const DMPAPER_JENV_YOU4 : u32 = 91u32 ; pub const DMPAPER_JENV_YOU4_ROTATED : u32 = 92u32 ; pub const DMPAPER_LEDGER : u32 = 4u32 ; pub const DMPAPER_LEGAL : u32 = 5u32 ; pub const DMPAPER_LEGAL_EXTRA : u32 = 51u32 ; pub const DMPAPER_LETTER : u32 = 1u32 ; pub const DMPAPER_LETTERSMALL : u32 = 2u32 ; pub const DMPAPER_LETTER_EXTRA : u32 = 50u32 ; pub const DMPAPER_LETTER_EXTRA_TRANSVERSE : u32 = 56u32 ; pub const DMPAPER_LETTER_PLUS : u32 = 59u32 ; pub const DMPAPER_LETTER_ROTATED : u32 = 75u32 ; pub const DMPAPER_LETTER_TRANSVERSE : u32 = 54u32 ; pub const DMPAPER_NOTE : u32 = 18u32 ; pub const DMPAPER_P16K : u32 = 93u32 ; pub const DMPAPER_P16K_ROTATED : u32 = 106u32 ; pub const DMPAPER_P32K : u32 = 94u32 ; pub const DMPAPER_P32KBIG : u32 = 95u32 ; pub const DMPAPER_P32KBIG_ROTATED : u32 = 108u32 ; pub const DMPAPER_P32K_ROTATED : u32 = 107u32 ; pub const DMPAPER_PENV_1 : u32 = 96u32 ; pub const DMPAPER_PENV_10 : u32 = 105u32 ; pub const DMPAPER_PENV_10_ROTATED : u32 = 118u32 ; pub const DMPAPER_PENV_1_ROTATED : u32 = 109u32 ; pub const DMPAPER_PENV_2 : u32 = 97u32 ; pub const DMPAPER_PENV_2_ROTATED : u32 = 110u32 ; pub const DMPAPER_PENV_3 : u32 = 98u32 ; pub const DMPAPER_PENV_3_ROTATED : u32 = 111u32 ; pub const DMPAPER_PENV_4 : u32 = 99u32 ; pub const DMPAPER_PENV_4_ROTATED : u32 = 112u32 ; pub const DMPAPER_PENV_5 : u32 = 100u32 ; pub const DMPAPER_PENV_5_ROTATED : u32 = 113u32 ; pub const DMPAPER_PENV_6 : u32 = 101u32 ; pub const DMPAPER_PENV_6_ROTATED : u32 = 114u32 ; pub const DMPAPER_PENV_7 : u32 = 102u32 ; pub const DMPAPER_PENV_7_ROTATED : u32 = 115u32 ; pub const DMPAPER_PENV_8 : u32 = 103u32 ; pub const DMPAPER_PENV_8_ROTATED : u32 = 116u32 ; pub const DMPAPER_PENV_9 : u32 = 104u32 ; pub const DMPAPER_PENV_9_ROTATED : u32 = 117u32 ; pub const DMPAPER_QUARTO : u32 = 15u32 ; pub const DMPAPER_RESERVED_48 : u32 = 48u32 ; pub const DMPAPER_RESERVED_49 : u32 = 49u32 ; pub const DMPAPER_STATEMENT : u32 = 6u32 ; pub const DMPAPER_TABLOID : u32 = 3u32 ; pub const DMPAPER_TABLOID_EXTRA : u32 = 52u32 ; pub const DMPAPER_USER : u32 = 256u32 ; pub const DMRES_DRAFT : i32 = -1i32 ; pub const DMRES_HIGH : i32 = -4i32 ; pub const DMRES_LOW : i32 = -2i32 ; pub const DMRES_MEDIUM : i32 = -3i32 ; pub const DMTT_BITMAP : u32 = 1u32 ; pub const DMTT_DOWNLOAD : u32 = 2u32 ; pub const DMTT_DOWNLOAD_OUTLINE : u32 = 4u32 ; pub const DMTT_SUBDEV : u32 = 3u32 ; pub const DM_BITSPERPEL : i32 = 262144i32 ; pub const DM_COLLATE : i32 = 32768i32 ; pub const DM_COLOR : i32 = 2048i32 ; pub const DM_COPIES : i32 = 256i32 ; pub const DM_DEFAULTSOURCE : i32 = 512i32 ; pub const DM_DISPLAYFIXEDOUTPUT : i32 = 536870912i32 ; pub const DM_DISPLAYFLAGS : i32 = 2097152i32 ; pub const DM_DISPLAYFREQUENCY : i32 = 4194304i32 ; pub const DM_DISPLAYORIENTATION : i32 = 128i32 ; pub const DM_DITHERTYPE : i32 = 67108864i32 ; pub const DM_DUPLEX : i32 = 4096i32 ; pub const DM_FORMNAME : i32 = 65536i32 ; pub const DM_ICMINTENT : i32 = 16777216i32 ; pub const DM_ICMMETHOD : i32 = 8388608i32 ; pub const DM_INTERLACED : u32 = 2u32 ; pub const DM_LOGPIXELS : i32 = 131072i32 ; pub const DM_MEDIATYPE : i32 = 33554432i32 ; pub const DM_NUP : i32 = 64i32 ; pub const DM_ORIENTATION : i32 = 1i32 ; pub const DM_PANNINGHEIGHT : i32 = 268435456i32 ; pub const DM_PANNINGWIDTH : i32 = 134217728i32 ; pub const DM_PAPERLENGTH : i32 = 4i32 ; pub const DM_PAPERSIZE : i32 = 2i32 ; pub const DM_PAPERWIDTH : i32 = 8i32 ; pub const DM_PELSHEIGHT : i32 = 1048576i32 ; pub const DM_PELSWIDTH : i32 = 524288i32 ; pub const DM_POSITION : i32 = 32i32 ; pub const DM_PRINTQUALITY : i32 = 1024i32 ; pub const DM_SCALE : i32 = 16i32 ; pub const DM_SPECVERSION : u32 = 1025u32 ; pub const DM_TTOPTION : i32 = 16384i32 ; pub const DM_YRESOLUTION : i32 = 8192i32 ; pub const DOWNLOADFACE : u32 = 514u32 ; pub const DOWNLOADHEADER : u32 = 4111u32 ; pub unsafe fn DPtoLP < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lppt : * mut super::super::Foundation:: POINT , c : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn DPtoLP ( hdc : HDC , lppt : * mut super::super::Foundation:: POINT , c : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DPtoLP ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppt ) , :: std :: mem :: transmute ( c ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const DRAFTMODE : u32 = 7u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DRAWEDGE_FLAGS ( pub u32 ) ; pub const BDR_RAISEDOUTER : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 1u32 ) ; pub const BDR_SUNKENOUTER : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 2u32 ) ; pub const BDR_RAISEDINNER : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 4u32 ) ; pub const BDR_SUNKENINNER : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 8u32 ) ; pub const BDR_OUTER : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 3u32 ) ; pub const BDR_INNER : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 12u32 ) ; pub const BDR_RAISED : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 5u32 ) ; pub const BDR_SUNKEN : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 10u32 ) ; pub const EDGE_RAISED : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 5u32 ) ; pub const EDGE_SUNKEN : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 10u32 ) ; pub const EDGE_ETCHED : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 6u32 ) ; pub const EDGE_BUMP : DRAWEDGE_FLAGS = DRAWEDGE_FLAGS ( 9u32 ) ; impl :: std :: convert :: From < u32 > for DRAWEDGE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DRAWEDGE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DRAWEDGE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DRAWEDGE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DRAWEDGE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DRAWEDGE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DRAWEDGE_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const DRAWPATTERNRECT : u32 = 25u32 ; pub type DRAWSTATEPROC = unsafe extern "system" fn ( hdc : HDC , ldata : super::super::Foundation:: LPARAM , wdata : super::super::Foundation:: WPARAM , cx : i32 , cy : i32 ) -> super::super::Foundation:: BOOL ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DRAWSTATE_FLAGS ( pub u32 ) ; pub const DST_COMPLEX : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 0u32 ) ; pub const DST_TEXT : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 1u32 ) ; pub const DST_PREFIXTEXT : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 2u32 ) ; pub const DST_ICON : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 3u32 ) ; pub const DST_BITMAP : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 4u32 ) ; pub const DSS_NORMAL : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 0u32 ) ; pub const DSS_UNION : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 16u32 ) ; pub const DSS_DISABLED : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 32u32 ) ; pub const DSS_MONO : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 128u32 ) ; pub const DSS_HIDEPREFIX : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 512u32 ) ; pub const DSS_PREFIXONLY : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 1024u32 ) ; pub const DSS_RIGHT : DRAWSTATE_FLAGS = DRAWSTATE_FLAGS ( 32768u32 ) ; impl :: std :: convert :: From < u32 > for DRAWSTATE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DRAWSTATE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DRAWSTATE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DRAWSTATE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DRAWSTATE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DRAWSTATE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DRAWSTATE_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DRAWTEXTPARAMS { pub cbSize : u32 , pub iTabLength : i32 , pub iLeftMargin : i32 , pub iRightMargin : i32 , pub uiLengthDrawn : u32 } impl DRAWTEXTPARAMS { } impl :: std :: default :: Default for DRAWTEXTPARAMS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DRAWTEXTPARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DRAWTEXTPARAMS" ) . field ( "cbSize" , & self . cbSize ) . field ( "iTabLength" , & self . iTabLength ) . field ( "iLeftMargin" , & self . iLeftMargin ) . field ( "iRightMargin" , & self . iRightMargin ) . field ( "uiLengthDrawn" , & self . uiLengthDrawn ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DRAWTEXTPARAMS { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iTabLength == other . iTabLength && self . iLeftMargin == other . iLeftMargin && self . iRightMargin == other . iRightMargin && self . uiLengthDrawn == other . uiLengthDrawn } } impl :: std :: cmp :: Eq for DRAWTEXTPARAMS { } unsafe impl :: windows :: Abi for DRAWTEXTPARAMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DRAW_CAPTION_FLAGS ( pub u32 ) ; pub const DC_ACTIVE : DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS ( 1u32 ) ; pub const DC_BUTTONS : DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS ( 4096u32 ) ; pub const DC_GRADIENT : DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS ( 32u32 ) ; pub const DC_ICON : DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS ( 4u32 ) ; pub const DC_INBUTTON : DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS ( 16u32 ) ; pub const DC_SMALLCAP : DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS ( 2u32 ) ; pub const DC_TEXT : DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS ( 8u32 ) ; impl :: std :: convert :: From < u32 > for DRAW_CAPTION_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DRAW_CAPTION_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DRAW_CAPTION_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DRAW_CAPTION_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DRAW_CAPTION_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DRAW_CAPTION_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DRAW_CAPTION_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DRAW_EDGE_FLAGS ( pub u32 ) ; pub const BF_ADJUST : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 8192u32 ) ; pub const BF_BOTTOM : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 8u32 ) ; pub const BF_BOTTOMLEFT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 9u32 ) ; pub const BF_BOTTOMRIGHT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 12u32 ) ; pub const BF_DIAGONAL : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 16u32 ) ; pub const BF_DIAGONAL_ENDBOTTOMLEFT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 25u32 ) ; pub const BF_DIAGONAL_ENDBOTTOMRIGHT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 28u32 ) ; pub const BF_DIAGONAL_ENDTOPLEFT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 19u32 ) ; pub const BF_DIAGONAL_ENDTOPRIGHT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 22u32 ) ; pub const BF_FLAT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 16384u32 ) ; pub const BF_LEFT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 1u32 ) ; pub const BF_MIDDLE : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 2048u32 ) ; pub const BF_MONO : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 32768u32 ) ; pub const BF_RECT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 15u32 ) ; pub const BF_RIGHT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 4u32 ) ; pub const BF_SOFT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 4096u32 ) ; pub const BF_TOP : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 2u32 ) ; pub const BF_TOPLEFT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 3u32 ) ; pub const BF_TOPRIGHT : DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS ( 6u32 ) ; impl :: std :: convert :: From < u32 > for DRAW_EDGE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DRAW_EDGE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DRAW_EDGE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DRAW_EDGE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DRAW_EDGE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DRAW_EDGE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DRAW_EDGE_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DRAW_TEXT_FORMAT ( pub u32 ) ; pub const DT_BOTTOM : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 8u32 ) ; pub const DT_CALCRECT : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 1024u32 ) ; pub const DT_CENTER : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 1u32 ) ; pub const DT_EDITCONTROL : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 8192u32 ) ; pub const DT_END_ELLIPSIS : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 32768u32 ) ; pub const DT_EXPANDTABS : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 64u32 ) ; pub const DT_EXTERNALLEADING : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 512u32 ) ; pub const DT_HIDEPREFIX : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 1048576u32 ) ; pub const DT_INTERNAL : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 4096u32 ) ; pub const DT_LEFT : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 0u32 ) ; pub const DT_MODIFYSTRING : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 65536u32 ) ; pub const DT_NOCLIP : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 256u32 ) ; pub const DT_NOFULLWIDTHCHARBREAK : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 524288u32 ) ; pub const DT_NOPREFIX : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 2048u32 ) ; pub const DT_PATH_ELLIPSIS : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 16384u32 ) ; pub const DT_PREFIXONLY : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 2097152u32 ) ; pub const DT_RIGHT : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 2u32 ) ; pub const DT_RTLREADING : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 131072u32 ) ; pub const DT_SINGLELINE : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 32u32 ) ; pub const DT_TABSTOP : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 128u32 ) ; pub const DT_TOP : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 0u32 ) ; pub const DT_VCENTER : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 4u32 ) ; pub const DT_WORDBREAK : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 16u32 ) ; pub const DT_WORD_ELLIPSIS : DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT ( 262144u32 ) ; impl :: std :: convert :: From < u32 > for DRAW_TEXT_FORMAT { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DRAW_TEXT_FORMAT { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DRAW_TEXT_FORMAT { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DRAW_TEXT_FORMAT { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DRAW_TEXT_FORMAT { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DRAW_TEXT_FORMAT { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for DRAW_TEXT_FORMAT { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const DT_CHARSTREAM : u32 = 4u32 ; pub const DT_DISPFILE : u32 = 6u32 ; pub const DT_METAFILE : u32 = 5u32 ; pub const DT_PLOTTER : u32 = 0u32 ; pub const DT_RASCAMERA : u32 = 3u32 ; pub const DT_RASDISPLAY : u32 = 1u32 ; pub const DT_RASPRINTER : u32 = 2u32 ; pub unsafe fn DeleteDC < 'a , Param0 : :: windows :: IntoParam < 'a , CreatedHDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn DeleteDC ( hdc : CreatedHDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DeleteDC ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteEnhMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hmf : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn DeleteEnhMetaFile ( hmf : HENHMETAFILE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DeleteEnhMetaFile ( hmf . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HMETAFILE > , > ( hmf : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn DeleteMetaFile ( hmf : HMETAFILE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DeleteMetaFile ( hmf . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteObject < 'a , Param0 : :: windows :: IntoParam < 'a , HGDIOBJ > , > ( ho : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn DeleteObject ( ho : HGDIOBJ ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DeleteObject ( ho . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawAnimatedRects < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , idani : i32 , lprcfrom : * const super::super::Foundation:: RECT , lprcto : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawAnimatedRects ( hwnd : super::super::Foundation:: HWND , idani : i32 , lprcfrom : * const super::super::Foundation:: RECT , lprcto : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DrawAnimatedRects ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( idani ) , :: std :: mem :: transmute ( lprcfrom ) , :: std :: mem :: transmute ( lprcto ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawCaption < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HDC > , > ( hwnd : Param0 , hdc : Param1 , lprect : * const super::super::Foundation:: RECT , flags : DRAW_CAPTION_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawCaption ( hwnd : super::super::Foundation:: HWND , hdc : HDC , lprect : * const super::super::Foundation:: RECT , flags : DRAW_CAPTION_FLAGS ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DrawCaption ( hwnd . into_param ( ) . abi ( ) , hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) , :: std :: mem :: transmute ( flags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawEdge < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , qrc : * mut super::super::Foundation:: RECT , edge : DRAWEDGE_FLAGS , grfflags : DRAW_EDGE_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawEdge ( hdc : HDC , qrc : * mut super::super::Foundation:: RECT , edge : DRAWEDGE_FLAGS , grfflags : DRAW_EDGE_FLAGS ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DrawEdge ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( qrc ) , :: std :: mem :: transmute ( edge ) , :: std :: mem :: transmute ( grfflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawEscape < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , iescape : i32 , cjin : i32 , lpin : Param3 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn DrawEscape ( hdc : HDC , iescape : i32 , cjin : i32 , lpin : super::super::Foundation:: PSTR ) -> i32 ; } :: std :: mem :: transmute ( DrawEscape ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( iescape ) , :: std :: mem :: transmute ( cjin ) , lpin . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawFocusRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lprc : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawFocusRect ( hdc : HDC , lprc : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DrawFocusRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawFrameControl < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( param0 : Param0 , param1 : * mut super::super::Foundation:: RECT , param2 : DFC_TYPE , param3 : DFCS_STATE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawFrameControl ( param0 : HDC , param1 : * mut super::super::Foundation:: RECT , param2 : DFC_TYPE , param3 : DFCS_STATE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DrawFrameControl ( param0 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) , :: std :: mem :: transmute ( param3 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawStateA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HBRUSH > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , Param4 : :: windows :: IntoParam < 'a , super::super::Foundation:: WPARAM > , > ( hdc : Param0 , hbrfore : Param1 , qfncallback : :: std :: option :: Option < DRAWSTATEPROC > , ldata : Param3 , wdata : Param4 , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : DRAWSTATE_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawStateA ( hdc : HDC , hbrfore : HBRUSH , qfncallback : :: windows :: RawPtr , ldata : super::super::Foundation:: LPARAM , wdata : super::super::Foundation:: WPARAM , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : DRAWSTATE_FLAGS ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DrawStateA ( hdc . into_param ( ) . abi ( ) , hbrfore . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( qfncallback ) , ldata . into_param ( ) . abi ( ) , wdata . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( cx ) , :: std :: mem :: transmute ( cy ) , :: std :: mem :: transmute ( uflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawStateW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HBRUSH > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , Param4 : :: windows :: IntoParam < 'a , super::super::Foundation:: WPARAM > , > ( hdc : Param0 , hbrfore : Param1 , qfncallback : :: std :: option :: Option < DRAWSTATEPROC > , ldata : Param3 , wdata : Param4 , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : DRAWSTATE_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawStateW ( hdc : HDC , hbrfore : HBRUSH , qfncallback : :: windows :: RawPtr , ldata : super::super::Foundation:: LPARAM , wdata : super::super::Foundation:: WPARAM , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : DRAWSTATE_FLAGS ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( DrawStateW ( hdc . into_param ( ) . abi ( ) , hbrfore . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( qfncallback ) , ldata . into_param ( ) . abi ( ) , wdata . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( cx ) , :: std :: mem :: transmute ( cy ) , :: std :: mem :: transmute ( uflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawTextA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpchtext : Param1 , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawTextA ( hdc : HDC , lpchtext : super::super::Foundation:: PSTR , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT ) -> i32 ; } :: std :: mem :: transmute ( DrawTextA ( hdc . into_param ( ) . abi ( ) , lpchtext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchtext ) , :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( format ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawTextExA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpchtext : Param1 , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , lpdtp : * const DRAWTEXTPARAMS , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawTextExA ( hdc : HDC , lpchtext : super::super::Foundation:: PSTR , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , lpdtp : * const DRAWTEXTPARAMS ) -> i32 ; } :: std :: mem :: transmute ( DrawTextExA ( hdc . into_param ( ) . abi ( ) , lpchtext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchtext ) , :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( format ) , :: std :: mem :: transmute ( lpdtp ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawTextExW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpchtext : Param1 , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , lpdtp : * const DRAWTEXTPARAMS , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawTextExW ( hdc : HDC , lpchtext : super::super::Foundation:: PWSTR , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , lpdtp : * const DRAWTEXTPARAMS ) -> i32 ; } :: std :: mem :: transmute ( DrawTextExW ( hdc . into_param ( ) . abi ( ) , lpchtext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchtext ) , :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( format ) , :: std :: mem :: transmute ( lpdtp ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawTextW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpchtext : Param1 , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn DrawTextW ( hdc : HDC , lpchtext : super::super::Foundation:: PWSTR , cchtext : i32 , lprc : * mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT ) -> i32 ; } :: std :: mem :: transmute ( DrawTextW ( hdc . into_param ( ) . abi ( ) , lpchtext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchtext ) , :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( format ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const EASTEUROPE_CHARSET : u32 = 238u32 ; pub const ELF_CULTURE_LATIN : u32 = 0u32 ; pub const ELF_VENDOR_SIZE : u32 = 4u32 ; pub const ELF_VERSION : u32 = 0u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct EMBEDDED_FONT_PRIV_STATUS ( pub u32 ) ; pub const EMBED_PREVIEWPRINT : EMBEDDED_FONT_PRIV_STATUS = EMBEDDED_FONT_PRIV_STATUS ( 1u32 ) ; pub const EMBED_EDITABLE : EMBEDDED_FONT_PRIV_STATUS = EMBEDDED_FONT_PRIV_STATUS ( 2u32 ) ; pub const EMBED_INSTALLABLE : EMBEDDED_FONT_PRIV_STATUS = EMBEDDED_FONT_PRIV_STATUS ( 3u32 ) ; pub const EMBED_NOEMBEDDING : EMBEDDED_FONT_PRIV_STATUS = EMBEDDED_FONT_PRIV_STATUS ( 4u32 ) ; impl :: std :: convert :: From < u32 > for EMBEDDED_FONT_PRIV_STATUS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EMBEDDED_FONT_PRIV_STATUS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for EMBEDDED_FONT_PRIV_STATUS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for EMBEDDED_FONT_PRIV_STATUS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for EMBEDDED_FONT_PRIV_STATUS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for EMBEDDED_FONT_PRIV_STATUS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for EMBEDDED_FONT_PRIV_STATUS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct EMBED_FONT_CHARSET ( pub u32 ) ; pub const CHARSET_UNICODE : EMBED_FONT_CHARSET = EMBED_FONT_CHARSET ( 1u32 ) ; pub const CHARSET_SYMBOL : EMBED_FONT_CHARSET = EMBED_FONT_CHARSET ( 2u32 ) ; impl :: std :: convert :: From < u32 > for EMBED_FONT_CHARSET { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EMBED_FONT_CHARSET { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for EMBED_FONT_CHARSET { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for EMBED_FONT_CHARSET { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for EMBED_FONT_CHARSET { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for EMBED_FONT_CHARSET { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for EMBED_FONT_CHARSET { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMR { pub iType : u32 , pub nSize : u32 } impl EMR { } impl :: std :: default :: Default for EMR { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMR" ) . field ( "iType" , & self . iType ) . field ( "nSize" , & self . nSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMR { fn eq ( & self , other : & Self ) -> bool { self . iType == other . iType && self . nSize == other . nSize } } impl :: std :: cmp :: Eq for EMR { } unsafe impl :: windows :: Abi for EMR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRALPHABLEND { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub xDest : i32 , pub yDest : i32 , pub cxDest : i32 , pub cyDest : i32 , pub dwRop : u32 , pub xSrc : i32 , pub ySrc : i32 , pub xformSrc : XFORM , pub crBkColorSrc : u32 , pub iUsageSrc : u32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 , pub cxSrc : i32 , pub cySrc : i32 } impl EMRALPHABLEND { } impl :: std :: default :: Default for EMRALPHABLEND { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRALPHABLEND { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRALPHABLEND" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "xDest" , & self . xDest ) . field ( "yDest" , & self . yDest ) . field ( "cxDest" , & self . cxDest ) . field ( "cyDest" , & self . cyDest ) . field ( "dwRop" , & self . dwRop ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "xformSrc" , & self . xformSrc ) . field ( "crBkColorSrc" , & self . crBkColorSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . field ( "cxSrc" , & self . cxSrc ) . field ( "cySrc" , & self . cySrc ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRALPHABLEND { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . xDest == other . xDest && self . yDest == other . yDest && self . cxDest == other . cxDest && self . cyDest == other . cyDest && self . dwRop == other . dwRop && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . xformSrc == other . xformSrc && self . crBkColorSrc == other . crBkColorSrc && self . iUsageSrc == other . iUsageSrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc && self . cxSrc == other . cxSrc && self . cySrc == other . cySrc } } impl :: std :: cmp :: Eq for EMRALPHABLEND { } unsafe impl :: windows :: Abi for EMRALPHABLEND { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRANGLEARC { pub emr : EMR , pub ptlCenter : super::super::Foundation:: POINTL , pub nRadius : u32 , pub eStartAngle : f32 , pub eSweepAngle : f32 } impl EMRANGLEARC { } impl :: std :: default :: Default for EMRANGLEARC { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRANGLEARC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRANGLEARC" ) . field ( "emr" , & self . emr ) . field ( "ptlCenter" , & self . ptlCenter ) . field ( "nRadius" , & self . nRadius ) . field ( "eStartAngle" , & self . eStartAngle ) . field ( "eSweepAngle" , & self . eSweepAngle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRANGLEARC { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ptlCenter == other . ptlCenter && self . nRadius == other . nRadius && self . eStartAngle == other . eStartAngle && self . eSweepAngle == other . eSweepAngle } } impl :: std :: cmp :: Eq for EMRANGLEARC { } unsafe impl :: windows :: Abi for EMRANGLEARC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRARC { pub emr : EMR , pub rclBox : super::super::Foundation:: RECTL , pub ptlStart : super::super::Foundation:: POINTL , pub ptlEnd : super::super::Foundation:: POINTL } impl EMRARC { } impl :: std :: default :: Default for EMRARC { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRARC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRARC" ) . field ( "emr" , & self . emr ) . field ( "rclBox" , & self . rclBox ) . field ( "ptlStart" , & self . ptlStart ) . field ( "ptlEnd" , & self . ptlEnd ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRARC { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBox == other . rclBox && self . ptlStart == other . ptlStart && self . ptlEnd == other . ptlEnd } } impl :: std :: cmp :: Eq for EMRARC { } unsafe impl :: windows :: Abi for EMRARC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRBITBLT { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub xDest : i32 , pub yDest : i32 , pub cxDest : i32 , pub cyDest : i32 , pub dwRop : u32 , pub xSrc : i32 , pub ySrc : i32 , pub xformSrc : XFORM , pub crBkColorSrc : u32 , pub iUsageSrc : u32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 } impl EMRBITBLT { } impl :: std :: default :: Default for EMRBITBLT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRBITBLT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRBITBLT" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "xDest" , & self . xDest ) . field ( "yDest" , & self . yDest ) . field ( "cxDest" , & self . cxDest ) . field ( "cyDest" , & self . cyDest ) . field ( "dwRop" , & self . dwRop ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "xformSrc" , & self . xformSrc ) . field ( "crBkColorSrc" , & self . crBkColorSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRBITBLT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . xDest == other . xDest && self . yDest == other . yDest && self . cxDest == other . cxDest && self . cyDest == other . cyDest && self . dwRop == other . dwRop && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . xformSrc == other . xformSrc && self . crBkColorSrc == other . crBkColorSrc && self . iUsageSrc == other . iUsageSrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc } } impl :: std :: cmp :: Eq for EMRBITBLT { } unsafe impl :: windows :: Abi for EMRBITBLT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRCREATEBRUSHINDIRECT { pub emr : EMR , pub ihBrush : u32 , pub lb : LOGBRUSH32 } impl EMRCREATEBRUSHINDIRECT { } impl :: std :: default :: Default for EMRCREATEBRUSHINDIRECT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRCREATEBRUSHINDIRECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRCREATEBRUSHINDIRECT" ) . field ( "emr" , & self . emr ) . field ( "ihBrush" , & self . ihBrush ) . field ( "lb" , & self . lb ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRCREATEBRUSHINDIRECT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihBrush == other . ihBrush && self . lb == other . lb } } impl :: std :: cmp :: Eq for EMRCREATEBRUSHINDIRECT { } unsafe impl :: windows :: Abi for EMRCREATEBRUSHINDIRECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRCREATECOLORSPACE { pub emr : EMR , pub ihCS : u32 , pub lcs : super::super::UI::ColorSystem:: LOGCOLORSPACEA } impl EMRCREATECOLORSPACE { } impl :: std :: default :: Default for EMRCREATECOLORSPACE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRCREATECOLORSPACE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRCREATECOLORSPACE" ) . field ( "emr" , & self . emr ) . field ( "ihCS" , & self . ihCS ) . field ( "lcs" , & self . lcs ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRCREATECOLORSPACE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihCS == other . ihCS && self . lcs == other . lcs } } impl :: std :: cmp :: Eq for EMRCREATECOLORSPACE { } unsafe impl :: windows :: Abi for EMRCREATECOLORSPACE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRCREATECOLORSPACEW { pub emr : EMR , pub ihCS : u32 , pub lcs : super::super::UI::ColorSystem:: LOGCOLORSPACEW , pub dwFlags : u32 , pub cbData : u32 , pub Data : [ u8 ;1 ] } impl EMRCREATECOLORSPACEW { } impl :: std :: default :: Default for EMRCREATECOLORSPACEW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRCREATECOLORSPACEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRCREATECOLORSPACEW" ) . field ( "emr" , & self . emr ) . field ( "ihCS" , & self . ihCS ) . field ( "lcs" , & self . lcs ) . field ( "dwFlags" , & self . dwFlags ) . field ( "cbData" , & self . cbData ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRCREATECOLORSPACEW { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihCS == other . ihCS && self . lcs == other . lcs && self . dwFlags == other . dwFlags && self . cbData == other . cbData && self . Data == other . Data } } impl :: std :: cmp :: Eq for EMRCREATECOLORSPACEW { } unsafe impl :: windows :: Abi for EMRCREATECOLORSPACEW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRCREATEDIBPATTERNBRUSHPT { pub emr : EMR , pub ihBrush : u32 , pub iUsage : u32 , pub offBmi : u32 , pub cbBmi : u32 , pub offBits : u32 , pub cbBits : u32 } impl EMRCREATEDIBPATTERNBRUSHPT { } impl :: std :: default :: Default for EMRCREATEDIBPATTERNBRUSHPT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRCREATEDIBPATTERNBRUSHPT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRCREATEDIBPATTERNBRUSHPT" ) . field ( "emr" , & self . emr ) . field ( "ihBrush" , & self . ihBrush ) . field ( "iUsage" , & self . iUsage ) . field ( "offBmi" , & self . offBmi ) . field ( "cbBmi" , & self . cbBmi ) . field ( "offBits" , & self . offBits ) . field ( "cbBits" , & self . cbBits ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRCREATEDIBPATTERNBRUSHPT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihBrush == other . ihBrush && self . iUsage == other . iUsage && self . offBmi == other . offBmi && self . cbBmi == other . cbBmi && self . offBits == other . offBits && self . cbBits == other . cbBits } } impl :: std :: cmp :: Eq for EMRCREATEDIBPATTERNBRUSHPT { } unsafe impl :: windows :: Abi for EMRCREATEDIBPATTERNBRUSHPT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRCREATEMONOBRUSH { pub emr : EMR , pub ihBrush : u32 , pub iUsage : u32 , pub offBmi : u32 , pub cbBmi : u32 , pub offBits : u32 , pub cbBits : u32 } impl EMRCREATEMONOBRUSH { } impl :: std :: default :: Default for EMRCREATEMONOBRUSH { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRCREATEMONOBRUSH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRCREATEMONOBRUSH" ) . field ( "emr" , & self . emr ) . field ( "ihBrush" , & self . ihBrush ) . field ( "iUsage" , & self . iUsage ) . field ( "offBmi" , & self . offBmi ) . field ( "cbBmi" , & self . cbBmi ) . field ( "offBits" , & self . offBits ) . field ( "cbBits" , & self . cbBits ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRCREATEMONOBRUSH { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihBrush == other . ihBrush && self . iUsage == other . iUsage && self . offBmi == other . offBmi && self . cbBmi == other . cbBmi && self . offBits == other . offBits && self . cbBits == other . cbBits } } impl :: std :: cmp :: Eq for EMRCREATEMONOBRUSH { } unsafe impl :: windows :: Abi for EMRCREATEMONOBRUSH { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRCREATEPALETTE { pub emr : EMR , pub ihPal : u32 , pub lgpl : LOGPALETTE } impl EMRCREATEPALETTE { } impl :: std :: default :: Default for EMRCREATEPALETTE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRCREATEPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRCREATEPALETTE" ) . field ( "emr" , & self . emr ) . field ( "ihPal" , & self . ihPal ) . field ( "lgpl" , & self . lgpl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRCREATEPALETTE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihPal == other . ihPal && self . lgpl == other . lgpl } } impl :: std :: cmp :: Eq for EMRCREATEPALETTE { } unsafe impl :: windows :: Abi for EMRCREATEPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRCREATEPEN { pub emr : EMR , pub ihPen : u32 , pub lopn : LOGPEN } impl EMRCREATEPEN { } impl :: std :: default :: Default for EMRCREATEPEN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRCREATEPEN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRCREATEPEN" ) . field ( "emr" , & self . emr ) . field ( "ihPen" , & self . ihPen ) . field ( "lopn" , & self . lopn ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRCREATEPEN { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihPen == other . ihPen && self . lopn == other . lopn } } impl :: std :: cmp :: Eq for EMRCREATEPEN { } unsafe impl :: windows :: Abi for EMRCREATEPEN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRELLIPSE { pub emr : EMR , pub rclBox : super::super::Foundation:: RECTL } impl EMRELLIPSE { } impl :: std :: default :: Default for EMRELLIPSE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRELLIPSE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRELLIPSE" ) . field ( "emr" , & self . emr ) . field ( "rclBox" , & self . rclBox ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRELLIPSE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBox == other . rclBox } } impl :: std :: cmp :: Eq for EMRELLIPSE { } unsafe impl :: windows :: Abi for EMRELLIPSE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREOF { pub emr : EMR , pub nPalEntries : u32 , pub offPalEntries : u32 , pub nSizeLast : u32 } impl EMREOF { } impl :: std :: default :: Default for EMREOF { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREOF { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREOF" ) . field ( "emr" , & self . emr ) . field ( "nPalEntries" , & self . nPalEntries ) . field ( "offPalEntries" , & self . offPalEntries ) . field ( "nSizeLast" , & self . nSizeLast ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREOF { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . nPalEntries == other . nPalEntries && self . offPalEntries == other . offPalEntries && self . nSizeLast == other . nSizeLast } } impl :: std :: cmp :: Eq for EMREOF { } unsafe impl :: windows :: Abi for EMREOF { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREXCLUDECLIPRECT { pub emr : EMR , pub rclClip : super::super::Foundation:: RECTL } impl EMREXCLUDECLIPRECT { } impl :: std :: default :: Default for EMREXCLUDECLIPRECT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREXCLUDECLIPRECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREXCLUDECLIPRECT" ) . field ( "emr" , & self . emr ) . field ( "rclClip" , & self . rclClip ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREXCLUDECLIPRECT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclClip == other . rclClip } } impl :: std :: cmp :: Eq for EMREXCLUDECLIPRECT { } unsafe impl :: windows :: Abi for EMREXCLUDECLIPRECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREXTCREATEFONTINDIRECTW { pub emr : EMR , pub ihFont : u32 , pub elfw : EXTLOGFONTW } impl EMREXTCREATEFONTINDIRECTW { } impl :: std :: default :: Default for EMREXTCREATEFONTINDIRECTW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREXTCREATEFONTINDIRECTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREXTCREATEFONTINDIRECTW" ) . field ( "emr" , & self . emr ) . field ( "ihFont" , & self . ihFont ) . field ( "elfw" , & self . elfw ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREXTCREATEFONTINDIRECTW { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihFont == other . ihFont && self . elfw == other . elfw } } impl :: std :: cmp :: Eq for EMREXTCREATEFONTINDIRECTW { } unsafe impl :: windows :: Abi for EMREXTCREATEFONTINDIRECTW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREXTCREATEPEN { pub emr : EMR , pub ihPen : u32 , pub offBmi : u32 , pub cbBmi : u32 , pub offBits : u32 , pub cbBits : u32 , pub elp : EXTLOGPEN32 } impl EMREXTCREATEPEN { } impl :: std :: default :: Default for EMREXTCREATEPEN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREXTCREATEPEN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREXTCREATEPEN" ) . field ( "emr" , & self . emr ) . field ( "ihPen" , & self . ihPen ) . field ( "offBmi" , & self . offBmi ) . field ( "cbBmi" , & self . cbBmi ) . field ( "offBits" , & self . offBits ) . field ( "cbBits" , & self . cbBits ) . field ( "elp" , & self . elp ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREXTCREATEPEN { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihPen == other . ihPen && self . offBmi == other . offBmi && self . cbBmi == other . cbBmi && self . offBits == other . offBits && self . cbBits == other . cbBits && self . elp == other . elp } } impl :: std :: cmp :: Eq for EMREXTCREATEPEN { } unsafe impl :: windows :: Abi for EMREXTCREATEPEN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREXTESCAPE { pub emr : EMR , pub iEscape : i32 , pub cbEscData : i32 , pub EscData : [ u8 ;1 ] } impl EMREXTESCAPE { } impl :: std :: default :: Default for EMREXTESCAPE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREXTESCAPE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREXTESCAPE" ) . field ( "emr" , & self . emr ) . field ( "iEscape" , & self . iEscape ) . field ( "cbEscData" , & self . cbEscData ) . field ( "EscData" , & self . EscData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREXTESCAPE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . iEscape == other . iEscape && self . cbEscData == other . cbEscData && self . EscData == other . EscData } } impl :: std :: cmp :: Eq for EMREXTESCAPE { } unsafe impl :: windows :: Abi for EMREXTESCAPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREXTFLOODFILL { pub emr : EMR , pub ptlStart : super::super::Foundation:: POINTL , pub crColor : u32 , pub iMode : u32 } impl EMREXTFLOODFILL { } impl :: std :: default :: Default for EMREXTFLOODFILL { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREXTFLOODFILL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREXTFLOODFILL" ) . field ( "emr" , & self . emr ) . field ( "ptlStart" , & self . ptlStart ) . field ( "crColor" , & self . crColor ) . field ( "iMode" , & self . iMode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREXTFLOODFILL { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ptlStart == other . ptlStart && self . crColor == other . crColor && self . iMode == other . iMode } } impl :: std :: cmp :: Eq for EMREXTFLOODFILL { } unsafe impl :: windows :: Abi for EMREXTFLOODFILL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREXTSELECTCLIPRGN { pub emr : EMR , pub cbRgnData : u32 , pub iMode : u32 , pub RgnData : [ u8 ;1 ] } impl EMREXTSELECTCLIPRGN { } impl :: std :: default :: Default for EMREXTSELECTCLIPRGN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREXTSELECTCLIPRGN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREXTSELECTCLIPRGN" ) . field ( "emr" , & self . emr ) . field ( "cbRgnData" , & self . cbRgnData ) . field ( "iMode" , & self . iMode ) . field ( "RgnData" , & self . RgnData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREXTSELECTCLIPRGN { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . cbRgnData == other . cbRgnData && self . iMode == other . iMode && self . RgnData == other . RgnData } } impl :: std :: cmp :: Eq for EMREXTSELECTCLIPRGN { } unsafe impl :: windows :: Abi for EMREXTSELECTCLIPRGN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMREXTTEXTOUTA { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub iGraphicsMode : u32 , pub exScale : f32 , pub eyScale : f32 , pub emrtext : EMRTEXT } impl EMREXTTEXTOUTA { } impl :: std :: default :: Default for EMREXTTEXTOUTA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMREXTTEXTOUTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMREXTTEXTOUTA" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "iGraphicsMode" , & self . iGraphicsMode ) . field ( "exScale" , & self . exScale ) . field ( "eyScale" , & self . eyScale ) . field ( "emrtext" , & self . emrtext ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMREXTTEXTOUTA { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . iGraphicsMode == other . iGraphicsMode && self . exScale == other . exScale && self . eyScale == other . eyScale && self . emrtext == other . emrtext } } impl :: std :: cmp :: Eq for EMREXTTEXTOUTA { } unsafe impl :: windows :: Abi for EMREXTTEXTOUTA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRFILLPATH { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL } impl EMRFILLPATH { } impl :: std :: default :: Default for EMRFILLPATH { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRFILLPATH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRFILLPATH" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRFILLPATH { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds } } impl :: std :: cmp :: Eq for EMRFILLPATH { } unsafe impl :: windows :: Abi for EMRFILLPATH { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRFILLRGN { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cbRgnData : u32 , pub ihBrush : u32 , pub RgnData : [ u8 ;1 ] } impl EMRFILLRGN { } impl :: std :: default :: Default for EMRFILLRGN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRFILLRGN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRFILLRGN" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cbRgnData" , & self . cbRgnData ) . field ( "ihBrush" , & self . ihBrush ) . field ( "RgnData" , & self . RgnData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRFILLRGN { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cbRgnData == other . cbRgnData && self . ihBrush == other . ihBrush && self . RgnData == other . RgnData } } impl :: std :: cmp :: Eq for EMRFILLRGN { } unsafe impl :: windows :: Abi for EMRFILLRGN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRFORMAT { pub dSignature : u32 , pub nVersion : u32 , pub cbData : u32 , pub offData : u32 } impl EMRFORMAT { } impl :: std :: default :: Default for EMRFORMAT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRFORMAT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRFORMAT" ) . field ( "dSignature" , & self . dSignature ) . field ( "nVersion" , & self . nVersion ) . field ( "cbData" , & self . cbData ) . field ( "offData" , & self . offData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRFORMAT { fn eq ( & self , other : & Self ) -> bool { self . dSignature == other . dSignature && self . nVersion == other . nVersion && self . cbData == other . cbData && self . offData == other . offData } } impl :: std :: cmp :: Eq for EMRFORMAT { } unsafe impl :: windows :: Abi for EMRFORMAT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRFRAMERGN { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cbRgnData : u32 , pub ihBrush : u32 , pub szlStroke : super::super::Foundation:: SIZE , pub RgnData : [ u8 ;1 ] } impl EMRFRAMERGN { } impl :: std :: default :: Default for EMRFRAMERGN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRFRAMERGN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRFRAMERGN" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cbRgnData" , & self . cbRgnData ) . field ( "ihBrush" , & self . ihBrush ) . field ( "szlStroke" , & self . szlStroke ) . field ( "RgnData" , & self . RgnData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRFRAMERGN { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cbRgnData == other . cbRgnData && self . ihBrush == other . ihBrush && self . szlStroke == other . szlStroke && self . RgnData == other . RgnData } } impl :: std :: cmp :: Eq for EMRFRAMERGN { } unsafe impl :: windows :: Abi for EMRFRAMERGN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRGDICOMMENT { pub emr : EMR , pub cbData : u32 , pub Data : [ u8 ;1 ] } impl EMRGDICOMMENT { } impl :: std :: default :: Default for EMRGDICOMMENT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRGDICOMMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRGDICOMMENT" ) . field ( "emr" , & self . emr ) . field ( "cbData" , & self . cbData ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRGDICOMMENT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . cbData == other . cbData && self . Data == other . Data } } impl :: std :: cmp :: Eq for EMRGDICOMMENT { } unsafe impl :: windows :: Abi for EMRGDICOMMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRGLSBOUNDEDRECORD { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cbData : u32 , pub Data : [ u8 ;1 ] } impl EMRGLSBOUNDEDRECORD { } impl :: std :: default :: Default for EMRGLSBOUNDEDRECORD { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRGLSBOUNDEDRECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRGLSBOUNDEDRECORD" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cbData" , & self . cbData ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRGLSBOUNDEDRECORD { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cbData == other . cbData && self . Data == other . Data } } impl :: std :: cmp :: Eq for EMRGLSBOUNDEDRECORD { } unsafe impl :: windows :: Abi for EMRGLSBOUNDEDRECORD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRGLSRECORD { pub emr : EMR , pub cbData : u32 , pub Data : [ u8 ;1 ] } impl EMRGLSRECORD { } impl :: std :: default :: Default for EMRGLSRECORD { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRGLSRECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRGLSRECORD" ) . field ( "emr" , & self . emr ) . field ( "cbData" , & self . cbData ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRGLSRECORD { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . cbData == other . cbData && self . Data == other . Data } } impl :: std :: cmp :: Eq for EMRGLSRECORD { } unsafe impl :: windows :: Abi for EMRGLSRECORD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRGRADIENTFILL { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub nVer : u32 , pub nTri : u32 , pub ulMode : GRADIENT_FILL , pub Ver : [ TRIVERTEX ;1 ] } impl EMRGRADIENTFILL { } impl :: std :: default :: Default for EMRGRADIENTFILL { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRGRADIENTFILL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRGRADIENTFILL" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "nVer" , & self . nVer ) . field ( "nTri" , & self . nTri ) . field ( "ulMode" , & self . ulMode ) . field ( "Ver" , & self . Ver ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRGRADIENTFILL { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . nVer == other . nVer && self . nTri == other . nTri && self . ulMode == other . ulMode && self . Ver == other . Ver } } impl :: std :: cmp :: Eq for EMRGRADIENTFILL { } unsafe impl :: windows :: Abi for EMRGRADIENTFILL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRINVERTRGN { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cbRgnData : u32 , pub RgnData : [ u8 ;1 ] } impl EMRINVERTRGN { } impl :: std :: default :: Default for EMRINVERTRGN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRINVERTRGN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRINVERTRGN" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cbRgnData" , & self . cbRgnData ) . field ( "RgnData" , & self . RgnData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRINVERTRGN { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cbRgnData == other . cbRgnData && self . RgnData == other . RgnData } } impl :: std :: cmp :: Eq for EMRINVERTRGN { } unsafe impl :: windows :: Abi for EMRINVERTRGN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRLINETO { pub emr : EMR , pub ptl : super::super::Foundation:: POINTL } impl EMRLINETO { } impl :: std :: default :: Default for EMRLINETO { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRLINETO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRLINETO" ) . field ( "emr" , & self . emr ) . field ( "ptl" , & self . ptl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRLINETO { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ptl == other . ptl } } impl :: std :: cmp :: Eq for EMRLINETO { } unsafe impl :: windows :: Abi for EMRLINETO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRMASKBLT { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub xDest : i32 , pub yDest : i32 , pub cxDest : i32 , pub cyDest : i32 , pub dwRop : u32 , pub xSrc : i32 , pub ySrc : i32 , pub xformSrc : XFORM , pub crBkColorSrc : u32 , pub iUsageSrc : u32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 , pub xMask : i32 , pub yMask : i32 , pub iUsageMask : u32 , pub offBmiMask : u32 , pub cbBmiMask : u32 , pub offBitsMask : u32 , pub cbBitsMask : u32 } impl EMRMASKBLT { } impl :: std :: default :: Default for EMRMASKBLT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRMASKBLT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRMASKBLT" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "xDest" , & self . xDest ) . field ( "yDest" , & self . yDest ) . field ( "cxDest" , & self . cxDest ) . field ( "cyDest" , & self . cyDest ) . field ( "dwRop" , & self . dwRop ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "xformSrc" , & self . xformSrc ) . field ( "crBkColorSrc" , & self . crBkColorSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . field ( "xMask" , & self . xMask ) . field ( "yMask" , & self . yMask ) . field ( "iUsageMask" , & self . iUsageMask ) . field ( "offBmiMask" , & self . offBmiMask ) . field ( "cbBmiMask" , & self . cbBmiMask ) . field ( "offBitsMask" , & self . offBitsMask ) . field ( "cbBitsMask" , & self . cbBitsMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRMASKBLT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . xDest == other . xDest && self . yDest == other . yDest && self . cxDest == other . cxDest && self . cyDest == other . cyDest && self . dwRop == other . dwRop && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . xformSrc == other . xformSrc && self . crBkColorSrc == other . crBkColorSrc && self . iUsageSrc == other . iUsageSrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc && self . xMask == other . xMask && self . yMask == other . yMask && self . iUsageMask == other . iUsageMask && self . offBmiMask == other . offBmiMask && self . cbBmiMask == other . cbBmiMask && self . offBitsMask == other . offBitsMask && self . cbBitsMask == other . cbBitsMask } } impl :: std :: cmp :: Eq for EMRMASKBLT { } unsafe impl :: windows :: Abi for EMRMASKBLT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRMODIFYWORLDTRANSFORM { pub emr : EMR , pub xform : XFORM , pub iMode : u32 } impl EMRMODIFYWORLDTRANSFORM { } impl :: std :: default :: Default for EMRMODIFYWORLDTRANSFORM { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRMODIFYWORLDTRANSFORM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRMODIFYWORLDTRANSFORM" ) . field ( "emr" , & self . emr ) . field ( "xform" , & self . xform ) . field ( "iMode" , & self . iMode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRMODIFYWORLDTRANSFORM { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . xform == other . xform && self . iMode == other . iMode } } impl :: std :: cmp :: Eq for EMRMODIFYWORLDTRANSFORM { } unsafe impl :: windows :: Abi for EMRMODIFYWORLDTRANSFORM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRNAMEDESCAPE { pub emr : EMR , pub iEscape : i32 , pub cbDriver : i32 , pub cbEscData : i32 , pub EscData : [ u8 ;1 ] } impl EMRNAMEDESCAPE { } impl :: std :: default :: Default for EMRNAMEDESCAPE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRNAMEDESCAPE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRNAMEDESCAPE" ) . field ( "emr" , & self . emr ) . field ( "iEscape" , & self . iEscape ) . field ( "cbDriver" , & self . cbDriver ) . field ( "cbEscData" , & self . cbEscData ) . field ( "EscData" , & self . EscData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRNAMEDESCAPE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . iEscape == other . iEscape && self . cbDriver == other . cbDriver && self . cbEscData == other . cbEscData && self . EscData == other . EscData } } impl :: std :: cmp :: Eq for EMRNAMEDESCAPE { } unsafe impl :: windows :: Abi for EMRNAMEDESCAPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMROFFSETCLIPRGN { pub emr : EMR , pub ptlOffset : super::super::Foundation:: POINTL } impl EMROFFSETCLIPRGN { } impl :: std :: default :: Default for EMROFFSETCLIPRGN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMROFFSETCLIPRGN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMROFFSETCLIPRGN" ) . field ( "emr" , & self . emr ) . field ( "ptlOffset" , & self . ptlOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMROFFSETCLIPRGN { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ptlOffset == other . ptlOffset } } impl :: std :: cmp :: Eq for EMROFFSETCLIPRGN { } unsafe impl :: windows :: Abi for EMROFFSETCLIPRGN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPIXELFORMAT { pub emr : EMR , pub pfd : super::OpenGL:: PIXELFORMATDESCRIPTOR } impl EMRPIXELFORMAT { } impl :: std :: default :: Default for EMRPIXELFORMAT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPIXELFORMAT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPIXELFORMAT" ) . field ( "emr" , & self . emr ) . field ( "pfd" , & self . pfd ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPIXELFORMAT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . pfd == other . pfd } } impl :: std :: cmp :: Eq for EMRPIXELFORMAT { } unsafe impl :: windows :: Abi for EMRPIXELFORMAT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPLGBLT { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub aptlDest : [ super::super::Foundation:: POINTL ;3 ] , pub xSrc : i32 , pub ySrc : i32 , pub cxSrc : i32 , pub cySrc : i32 , pub xformSrc : XFORM , pub crBkColorSrc : u32 , pub iUsageSrc : u32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 , pub xMask : i32 , pub yMask : i32 , pub iUsageMask : u32 , pub offBmiMask : u32 , pub cbBmiMask : u32 , pub offBitsMask : u32 , pub cbBitsMask : u32 } impl EMRPLGBLT { } impl :: std :: default :: Default for EMRPLGBLT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPLGBLT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPLGBLT" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "aptlDest" , & self . aptlDest ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "cxSrc" , & self . cxSrc ) . field ( "cySrc" , & self . cySrc ) . field ( "xformSrc" , & self . xformSrc ) . field ( "crBkColorSrc" , & self . crBkColorSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . field ( "xMask" , & self . xMask ) . field ( "yMask" , & self . yMask ) . field ( "iUsageMask" , & self . iUsageMask ) . field ( "offBmiMask" , & self . offBmiMask ) . field ( "cbBmiMask" , & self . cbBmiMask ) . field ( "offBitsMask" , & self . offBitsMask ) . field ( "cbBitsMask" , & self . cbBitsMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPLGBLT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . aptlDest == other . aptlDest && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . cxSrc == other . cxSrc && self . cySrc == other . cySrc && self . xformSrc == other . xformSrc && self . crBkColorSrc == other . crBkColorSrc && self . iUsageSrc == other . iUsageSrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc && self . xMask == other . xMask && self . yMask == other . yMask && self . iUsageMask == other . iUsageMask && self . offBmiMask == other . offBmiMask && self . cbBmiMask == other . cbBmiMask && self . offBitsMask == other . offBitsMask && self . cbBitsMask == other . cbBitsMask } } impl :: std :: cmp :: Eq for EMRPLGBLT { } unsafe impl :: windows :: Abi for EMRPLGBLT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPOLYDRAW { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cptl : u32 , pub aptl : [ super::super::Foundation:: POINTL ;1 ] , pub abTypes : [ u8 ;1 ] } impl EMRPOLYDRAW { } impl :: std :: default :: Default for EMRPOLYDRAW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPOLYDRAW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPOLYDRAW" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cptl" , & self . cptl ) . field ( "aptl" , & self . aptl ) . field ( "abTypes" , & self . abTypes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPOLYDRAW { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cptl == other . cptl && self . aptl == other . aptl && self . abTypes == other . abTypes } } impl :: std :: cmp :: Eq for EMRPOLYDRAW { } unsafe impl :: windows :: Abi for EMRPOLYDRAW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPOLYDRAW16 { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cpts : u32 , pub apts : [ super::super::Foundation:: POINTS ;1 ] , pub abTypes : [ u8 ;1 ] } impl EMRPOLYDRAW16 { } impl :: std :: default :: Default for EMRPOLYDRAW16 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPOLYDRAW16 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPOLYDRAW16" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cpts" , & self . cpts ) . field ( "apts" , & self . apts ) . field ( "abTypes" , & self . abTypes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPOLYDRAW16 { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cpts == other . cpts && self . apts == other . apts && self . abTypes == other . abTypes } } impl :: std :: cmp :: Eq for EMRPOLYDRAW16 { } unsafe impl :: windows :: Abi for EMRPOLYDRAW16 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPOLYLINE { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cptl : u32 , pub aptl : [ super::super::Foundation:: POINTL ;1 ] } impl EMRPOLYLINE { } impl :: std :: default :: Default for EMRPOLYLINE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPOLYLINE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPOLYLINE" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cptl" , & self . cptl ) . field ( "aptl" , & self . aptl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPOLYLINE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cptl == other . cptl && self . aptl == other . aptl } } impl :: std :: cmp :: Eq for EMRPOLYLINE { } unsafe impl :: windows :: Abi for EMRPOLYLINE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPOLYLINE16 { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub cpts : u32 , pub apts : [ super::super::Foundation:: POINTS ;1 ] } impl EMRPOLYLINE16 { } impl :: std :: default :: Default for EMRPOLYLINE16 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPOLYLINE16 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPOLYLINE16" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "cpts" , & self . cpts ) . field ( "apts" , & self . apts ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPOLYLINE16 { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . cpts == other . cpts && self . apts == other . apts } } impl :: std :: cmp :: Eq for EMRPOLYLINE16 { } unsafe impl :: windows :: Abi for EMRPOLYLINE16 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPOLYPOLYLINE { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub nPolys : u32 , pub cptl : u32 , pub aPolyCounts : [ u32 ;1 ] , pub aptl : [ super::super::Foundation:: POINTL ;1 ] } impl EMRPOLYPOLYLINE { } impl :: std :: default :: Default for EMRPOLYPOLYLINE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPOLYPOLYLINE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPOLYPOLYLINE" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "nPolys" , & self . nPolys ) . field ( "cptl" , & self . cptl ) . field ( "aPolyCounts" , & self . aPolyCounts ) . field ( "aptl" , & self . aptl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPOLYPOLYLINE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . nPolys == other . nPolys && self . cptl == other . cptl && self . aPolyCounts == other . aPolyCounts && self . aptl == other . aptl } } impl :: std :: cmp :: Eq for EMRPOLYPOLYLINE { } unsafe impl :: windows :: Abi for EMRPOLYPOLYLINE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPOLYPOLYLINE16 { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub nPolys : u32 , pub cpts : u32 , pub aPolyCounts : [ u32 ;1 ] , pub apts : [ super::super::Foundation:: POINTS ;1 ] } impl EMRPOLYPOLYLINE16 { } impl :: std :: default :: Default for EMRPOLYPOLYLINE16 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPOLYPOLYLINE16 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPOLYPOLYLINE16" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "nPolys" , & self . nPolys ) . field ( "cpts" , & self . cpts ) . field ( "aPolyCounts" , & self . aPolyCounts ) . field ( "apts" , & self . apts ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPOLYPOLYLINE16 { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . nPolys == other . nPolys && self . cpts == other . cpts && self . aPolyCounts == other . aPolyCounts && self . apts == other . apts } } impl :: std :: cmp :: Eq for EMRPOLYPOLYLINE16 { } unsafe impl :: windows :: Abi for EMRPOLYPOLYLINE16 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRPOLYTEXTOUTA { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub iGraphicsMode : u32 , pub exScale : f32 , pub eyScale : f32 , pub cStrings : i32 , pub aemrtext : [ EMRTEXT ;1 ] } impl EMRPOLYTEXTOUTA { } impl :: std :: default :: Default for EMRPOLYTEXTOUTA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRPOLYTEXTOUTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRPOLYTEXTOUTA" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "iGraphicsMode" , & self . iGraphicsMode ) . field ( "exScale" , & self . exScale ) . field ( "eyScale" , & self . eyScale ) . field ( "cStrings" , & self . cStrings ) . field ( "aemrtext" , & self . aemrtext ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRPOLYTEXTOUTA { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . iGraphicsMode == other . iGraphicsMode && self . exScale == other . exScale && self . eyScale == other . eyScale && self . cStrings == other . cStrings && self . aemrtext == other . aemrtext } } impl :: std :: cmp :: Eq for EMRPOLYTEXTOUTA { } unsafe impl :: windows :: Abi for EMRPOLYTEXTOUTA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRRESIZEPALETTE { pub emr : EMR , pub ihPal : u32 , pub cEntries : u32 } impl EMRRESIZEPALETTE { } impl :: std :: default :: Default for EMRRESIZEPALETTE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRRESIZEPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRRESIZEPALETTE" ) . field ( "emr" , & self . emr ) . field ( "ihPal" , & self . ihPal ) . field ( "cEntries" , & self . cEntries ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRRESIZEPALETTE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihPal == other . ihPal && self . cEntries == other . cEntries } } impl :: std :: cmp :: Eq for EMRRESIZEPALETTE { } unsafe impl :: windows :: Abi for EMRRESIZEPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRRESTOREDC { pub emr : EMR , pub iRelative : i32 } impl EMRRESTOREDC { } impl :: std :: default :: Default for EMRRESTOREDC { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRRESTOREDC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRRESTOREDC" ) . field ( "emr" , & self . emr ) . field ( "iRelative" , & self . iRelative ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRRESTOREDC { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . iRelative == other . iRelative } } impl :: std :: cmp :: Eq for EMRRESTOREDC { } unsafe impl :: windows :: Abi for EMRRESTOREDC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRROUNDRECT { pub emr : EMR , pub rclBox : super::super::Foundation:: RECTL , pub szlCorner : super::super::Foundation:: SIZE } impl EMRROUNDRECT { } impl :: std :: default :: Default for EMRROUNDRECT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRROUNDRECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRROUNDRECT" ) . field ( "emr" , & self . emr ) . field ( "rclBox" , & self . rclBox ) . field ( "szlCorner" , & self . szlCorner ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRROUNDRECT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBox == other . rclBox && self . szlCorner == other . szlCorner } } impl :: std :: cmp :: Eq for EMRROUNDRECT { } unsafe impl :: windows :: Abi for EMRROUNDRECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSCALEVIEWPORTEXTEX { pub emr : EMR , pub xNum : i32 , pub xDenom : i32 , pub yNum : i32 , pub yDenom : i32 } impl EMRSCALEVIEWPORTEXTEX { } impl :: std :: default :: Default for EMRSCALEVIEWPORTEXTEX { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSCALEVIEWPORTEXTEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSCALEVIEWPORTEXTEX" ) . field ( "emr" , & self . emr ) . field ( "xNum" , & self . xNum ) . field ( "xDenom" , & self . xDenom ) . field ( "yNum" , & self . yNum ) . field ( "yDenom" , & self . yDenom ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSCALEVIEWPORTEXTEX { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . xNum == other . xNum && self . xDenom == other . xDenom && self . yNum == other . yNum && self . yDenom == other . yDenom } } impl :: std :: cmp :: Eq for EMRSCALEVIEWPORTEXTEX { } unsafe impl :: windows :: Abi for EMRSCALEVIEWPORTEXTEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSELECTCLIPPATH { pub emr : EMR , pub iMode : u32 } impl EMRSELECTCLIPPATH { } impl :: std :: default :: Default for EMRSELECTCLIPPATH { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSELECTCLIPPATH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSELECTCLIPPATH" ) . field ( "emr" , & self . emr ) . field ( "iMode" , & self . iMode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSELECTCLIPPATH { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . iMode == other . iMode } } impl :: std :: cmp :: Eq for EMRSELECTCLIPPATH { } unsafe impl :: windows :: Abi for EMRSELECTCLIPPATH { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSELECTOBJECT { pub emr : EMR , pub ihObject : u32 } impl EMRSELECTOBJECT { } impl :: std :: default :: Default for EMRSELECTOBJECT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSELECTOBJECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSELECTOBJECT" ) . field ( "emr" , & self . emr ) . field ( "ihObject" , & self . ihObject ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSELECTOBJECT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihObject == other . ihObject } } impl :: std :: cmp :: Eq for EMRSELECTOBJECT { } unsafe impl :: windows :: Abi for EMRSELECTOBJECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSELECTPALETTE { pub emr : EMR , pub ihPal : u32 } impl EMRSELECTPALETTE { } impl :: std :: default :: Default for EMRSELECTPALETTE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSELECTPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSELECTPALETTE" ) . field ( "emr" , & self . emr ) . field ( "ihPal" , & self . ihPal ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSELECTPALETTE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihPal == other . ihPal } } impl :: std :: cmp :: Eq for EMRSELECTPALETTE { } unsafe impl :: windows :: Abi for EMRSELECTPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETARCDIRECTION { pub emr : EMR , pub iArcDirection : u32 } impl EMRSETARCDIRECTION { } impl :: std :: default :: Default for EMRSETARCDIRECTION { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETARCDIRECTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETARCDIRECTION" ) . field ( "emr" , & self . emr ) . field ( "iArcDirection" , & self . iArcDirection ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETARCDIRECTION { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . iArcDirection == other . iArcDirection } } impl :: std :: cmp :: Eq for EMRSETARCDIRECTION { } unsafe impl :: windows :: Abi for EMRSETARCDIRECTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETCOLORADJUSTMENT { pub emr : EMR , pub ColorAdjustment : COLORADJUSTMENT } impl EMRSETCOLORADJUSTMENT { } impl :: std :: default :: Default for EMRSETCOLORADJUSTMENT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETCOLORADJUSTMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETCOLORADJUSTMENT" ) . field ( "emr" , & self . emr ) . field ( "ColorAdjustment" , & self . ColorAdjustment ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETCOLORADJUSTMENT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ColorAdjustment == other . ColorAdjustment } } impl :: std :: cmp :: Eq for EMRSETCOLORADJUSTMENT { } unsafe impl :: windows :: Abi for EMRSETCOLORADJUSTMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETCOLORSPACE { pub emr : EMR , pub ihCS : u32 } impl EMRSETCOLORSPACE { } impl :: std :: default :: Default for EMRSETCOLORSPACE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETCOLORSPACE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETCOLORSPACE" ) . field ( "emr" , & self . emr ) . field ( "ihCS" , & self . ihCS ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETCOLORSPACE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihCS == other . ihCS } } impl :: std :: cmp :: Eq for EMRSETCOLORSPACE { } unsafe impl :: windows :: Abi for EMRSETCOLORSPACE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETDIBITSTODEVICE { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub xDest : i32 , pub yDest : i32 , pub xSrc : i32 , pub ySrc : i32 , pub cxSrc : i32 , pub cySrc : i32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 , pub iUsageSrc : u32 , pub iStartScan : u32 , pub cScans : u32 } impl EMRSETDIBITSTODEVICE { } impl :: std :: default :: Default for EMRSETDIBITSTODEVICE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETDIBITSTODEVICE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETDIBITSTODEVICE" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "xDest" , & self . xDest ) . field ( "yDest" , & self . yDest ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "cxSrc" , & self . cxSrc ) . field ( "cySrc" , & self . cySrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "iStartScan" , & self . iStartScan ) . field ( "cScans" , & self . cScans ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETDIBITSTODEVICE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . xDest == other . xDest && self . yDest == other . yDest && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . cxSrc == other . cxSrc && self . cySrc == other . cySrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc && self . iUsageSrc == other . iUsageSrc && self . iStartScan == other . iStartScan && self . cScans == other . cScans } } impl :: std :: cmp :: Eq for EMRSETDIBITSTODEVICE { } unsafe impl :: windows :: Abi for EMRSETDIBITSTODEVICE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETICMPROFILE { pub emr : EMR , pub dwFlags : u32 , pub cbName : u32 , pub cbData : u32 , pub Data : [ u8 ;1 ] } impl EMRSETICMPROFILE { } impl :: std :: default :: Default for EMRSETICMPROFILE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETICMPROFILE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETICMPROFILE" ) . field ( "emr" , & self . emr ) . field ( "dwFlags" , & self . dwFlags ) . field ( "cbName" , & self . cbName ) . field ( "cbData" , & self . cbData ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETICMPROFILE { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . dwFlags == other . dwFlags && self . cbName == other . cbName && self . cbData == other . cbData && self . Data == other . Data } } impl :: std :: cmp :: Eq for EMRSETICMPROFILE { } unsafe impl :: windows :: Abi for EMRSETICMPROFILE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETMAPPERFLAGS { pub emr : EMR , pub dwFlags : u32 } impl EMRSETMAPPERFLAGS { } impl :: std :: default :: Default for EMRSETMAPPERFLAGS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETMAPPERFLAGS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETMAPPERFLAGS" ) . field ( "emr" , & self . emr ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETMAPPERFLAGS { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . dwFlags == other . dwFlags } } impl :: std :: cmp :: Eq for EMRSETMAPPERFLAGS { } unsafe impl :: windows :: Abi for EMRSETMAPPERFLAGS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETMITERLIMIT { pub emr : EMR , pub eMiterLimit : f32 } impl EMRSETMITERLIMIT { } impl :: std :: default :: Default for EMRSETMITERLIMIT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETMITERLIMIT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETMITERLIMIT" ) . field ( "emr" , & self . emr ) . field ( "eMiterLimit" , & self . eMiterLimit ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETMITERLIMIT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . eMiterLimit == other . eMiterLimit } } impl :: std :: cmp :: Eq for EMRSETMITERLIMIT { } unsafe impl :: windows :: Abi for EMRSETMITERLIMIT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETPALETTEENTRIES { pub emr : EMR , pub ihPal : u32 , pub iStart : u32 , pub cEntries : u32 , pub aPalEntries : [ PALETTEENTRY ;1 ] } impl EMRSETPALETTEENTRIES { } impl :: std :: default :: Default for EMRSETPALETTEENTRIES { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETPALETTEENTRIES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETPALETTEENTRIES" ) . field ( "emr" , & self . emr ) . field ( "ihPal" , & self . ihPal ) . field ( "iStart" , & self . iStart ) . field ( "cEntries" , & self . cEntries ) . field ( "aPalEntries" , & self . aPalEntries ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETPALETTEENTRIES { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ihPal == other . ihPal && self . iStart == other . iStart && self . cEntries == other . cEntries && self . aPalEntries == other . aPalEntries } } impl :: std :: cmp :: Eq for EMRSETPALETTEENTRIES { } unsafe impl :: windows :: Abi for EMRSETPALETTEENTRIES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETPIXELV { pub emr : EMR , pub ptlPixel : super::super::Foundation:: POINTL , pub crColor : u32 } impl EMRSETPIXELV { } impl :: std :: default :: Default for EMRSETPIXELV { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETPIXELV { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETPIXELV" ) . field ( "emr" , & self . emr ) . field ( "ptlPixel" , & self . ptlPixel ) . field ( "crColor" , & self . crColor ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETPIXELV { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ptlPixel == other . ptlPixel && self . crColor == other . crColor } } impl :: std :: cmp :: Eq for EMRSETPIXELV { } unsafe impl :: windows :: Abi for EMRSETPIXELV { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETTEXTCOLOR { pub emr : EMR , pub crColor : u32 } impl EMRSETTEXTCOLOR { } impl :: std :: default :: Default for EMRSETTEXTCOLOR { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETTEXTCOLOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETTEXTCOLOR" ) . field ( "emr" , & self . emr ) . field ( "crColor" , & self . crColor ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETTEXTCOLOR { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . crColor == other . crColor } } impl :: std :: cmp :: Eq for EMRSETTEXTCOLOR { } unsafe impl :: windows :: Abi for EMRSETTEXTCOLOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETVIEWPORTEXTEX { pub emr : EMR , pub szlExtent : super::super::Foundation:: SIZE } impl EMRSETVIEWPORTEXTEX { } impl :: std :: default :: Default for EMRSETVIEWPORTEXTEX { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETVIEWPORTEXTEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETVIEWPORTEXTEX" ) . field ( "emr" , & self . emr ) . field ( "szlExtent" , & self . szlExtent ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETVIEWPORTEXTEX { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . szlExtent == other . szlExtent } } impl :: std :: cmp :: Eq for EMRSETVIEWPORTEXTEX { } unsafe impl :: windows :: Abi for EMRSETVIEWPORTEXTEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETVIEWPORTORGEX { pub emr : EMR , pub ptlOrigin : super::super::Foundation:: POINTL } impl EMRSETVIEWPORTORGEX { } impl :: std :: default :: Default for EMRSETVIEWPORTORGEX { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETVIEWPORTORGEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETVIEWPORTORGEX" ) . field ( "emr" , & self . emr ) . field ( "ptlOrigin" , & self . ptlOrigin ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETVIEWPORTORGEX { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . ptlOrigin == other . ptlOrigin } } impl :: std :: cmp :: Eq for EMRSETVIEWPORTORGEX { } unsafe impl :: windows :: Abi for EMRSETVIEWPORTORGEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSETWORLDTRANSFORM { pub emr : EMR , pub xform : XFORM } impl EMRSETWORLDTRANSFORM { } impl :: std :: default :: Default for EMRSETWORLDTRANSFORM { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSETWORLDTRANSFORM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSETWORLDTRANSFORM" ) . field ( "emr" , & self . emr ) . field ( "xform" , & self . xform ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSETWORLDTRANSFORM { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . xform == other . xform } } impl :: std :: cmp :: Eq for EMRSETWORLDTRANSFORM { } unsafe impl :: windows :: Abi for EMRSETWORLDTRANSFORM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSTRETCHBLT { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub xDest : i32 , pub yDest : i32 , pub cxDest : i32 , pub cyDest : i32 , pub dwRop : u32 , pub xSrc : i32 , pub ySrc : i32 , pub xformSrc : XFORM , pub crBkColorSrc : u32 , pub iUsageSrc : u32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 , pub cxSrc : i32 , pub cySrc : i32 } impl EMRSTRETCHBLT { } impl :: std :: default :: Default for EMRSTRETCHBLT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSTRETCHBLT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSTRETCHBLT" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "xDest" , & self . xDest ) . field ( "yDest" , & self . yDest ) . field ( "cxDest" , & self . cxDest ) . field ( "cyDest" , & self . cyDest ) . field ( "dwRop" , & self . dwRop ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "xformSrc" , & self . xformSrc ) . field ( "crBkColorSrc" , & self . crBkColorSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . field ( "cxSrc" , & self . cxSrc ) . field ( "cySrc" , & self . cySrc ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSTRETCHBLT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . xDest == other . xDest && self . yDest == other . yDest && self . cxDest == other . cxDest && self . cyDest == other . cyDest && self . dwRop == other . dwRop && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . xformSrc == other . xformSrc && self . crBkColorSrc == other . crBkColorSrc && self . iUsageSrc == other . iUsageSrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc && self . cxSrc == other . cxSrc && self . cySrc == other . cySrc } } impl :: std :: cmp :: Eq for EMRSTRETCHBLT { } unsafe impl :: windows :: Abi for EMRSTRETCHBLT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRSTRETCHDIBITS { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub xDest : i32 , pub yDest : i32 , pub xSrc : i32 , pub ySrc : i32 , pub cxSrc : i32 , pub cySrc : i32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 , pub iUsageSrc : u32 , pub dwRop : u32 , pub cxDest : i32 , pub cyDest : i32 } impl EMRSTRETCHDIBITS { } impl :: std :: default :: Default for EMRSTRETCHDIBITS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRSTRETCHDIBITS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRSTRETCHDIBITS" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "xDest" , & self . xDest ) . field ( "yDest" , & self . yDest ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "cxSrc" , & self . cxSrc ) . field ( "cySrc" , & self . cySrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "dwRop" , & self . dwRop ) . field ( "cxDest" , & self . cxDest ) . field ( "cyDest" , & self . cyDest ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRSTRETCHDIBITS { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . xDest == other . xDest && self . yDest == other . yDest && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . cxSrc == other . cxSrc && self . cySrc == other . cySrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc && self . iUsageSrc == other . iUsageSrc && self . dwRop == other . dwRop && self . cxDest == other . cxDest && self . cyDest == other . cyDest } } impl :: std :: cmp :: Eq for EMRSTRETCHDIBITS { } unsafe impl :: windows :: Abi for EMRSTRETCHDIBITS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRTEXT { pub ptlReference : super::super::Foundation:: POINTL , pub nChars : u32 , pub offString : u32 , pub fOptions : u32 , pub rcl : super::super::Foundation:: RECTL , pub offDx : u32 } impl EMRTEXT { } impl :: std :: default :: Default for EMRTEXT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRTEXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRTEXT" ) . field ( "ptlReference" , & self . ptlReference ) . field ( "nChars" , & self . nChars ) . field ( "offString" , & self . offString ) . field ( "fOptions" , & self . fOptions ) . field ( "rcl" , & self . rcl ) . field ( "offDx" , & self . offDx ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRTEXT { fn eq ( & self , other : & Self ) -> bool { self . ptlReference == other . ptlReference && self . nChars == other . nChars && self . offString == other . offString && self . fOptions == other . fOptions && self . rcl == other . rcl && self . offDx == other . offDx } } impl :: std :: cmp :: Eq for EMRTEXT { } unsafe impl :: windows :: Abi for EMRTEXT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMRTRANSPARENTBLT { pub emr : EMR , pub rclBounds : super::super::Foundation:: RECTL , pub xDest : i32 , pub yDest : i32 , pub cxDest : i32 , pub cyDest : i32 , pub dwRop : u32 , pub xSrc : i32 , pub ySrc : i32 , pub xformSrc : XFORM , pub crBkColorSrc : u32 , pub iUsageSrc : u32 , pub offBmiSrc : u32 , pub cbBmiSrc : u32 , pub offBitsSrc : u32 , pub cbBitsSrc : u32 , pub cxSrc : i32 , pub cySrc : i32 } impl EMRTRANSPARENTBLT { } impl :: std :: default :: Default for EMRTRANSPARENTBLT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EMRTRANSPARENTBLT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMRTRANSPARENTBLT" ) . field ( "emr" , & self . emr ) . field ( "rclBounds" , & self . rclBounds ) . field ( "xDest" , & self . xDest ) . field ( "yDest" , & self . yDest ) . field ( "cxDest" , & self . cxDest ) . field ( "cyDest" , & self . cyDest ) . field ( "dwRop" , & self . dwRop ) . field ( "xSrc" , & self . xSrc ) . field ( "ySrc" , & self . ySrc ) . field ( "xformSrc" , & self . xformSrc ) . field ( "crBkColorSrc" , & self . crBkColorSrc ) . field ( "iUsageSrc" , & self . iUsageSrc ) . field ( "offBmiSrc" , & self . offBmiSrc ) . field ( "cbBmiSrc" , & self . cbBmiSrc ) . field ( "offBitsSrc" , & self . offBitsSrc ) . field ( "cbBitsSrc" , & self . cbBitsSrc ) . field ( "cxSrc" , & self . cxSrc ) . field ( "cySrc" , & self . cySrc ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMRTRANSPARENTBLT { fn eq ( & self , other : & Self ) -> bool { self . emr == other . emr && self . rclBounds == other . rclBounds && self . xDest == other . xDest && self . yDest == other . yDest && self . cxDest == other . cxDest && self . cyDest == other . cyDest && self . dwRop == other . dwRop && self . xSrc == other . xSrc && self . ySrc == other . ySrc && self . xformSrc == other . xformSrc && self . crBkColorSrc == other . crBkColorSrc && self . iUsageSrc == other . iUsageSrc && self . offBmiSrc == other . offBmiSrc && self . cbBmiSrc == other . cbBmiSrc && self . offBitsSrc == other . offBitsSrc && self . cbBitsSrc == other . cbBitsSrc && self . cxSrc == other . cxSrc && self . cySrc == other . cySrc } } impl :: std :: cmp :: Eq for EMRTRANSPARENTBLT { } unsafe impl :: windows :: Abi for EMRTRANSPARENTBLT { type Abi = Self ; type DefaultType = Self ; } pub const EMR_ABORTPATH : u32 = 68u32 ; pub const EMR_ALPHABLEND : u32 = 114u32 ; pub const EMR_ANGLEARC : u32 = 41u32 ; pub const EMR_ARC : u32 = 45u32 ; pub const EMR_ARCTO : u32 = 55u32 ; pub const EMR_BEGINPATH : u32 = 59u32 ; pub const EMR_BITBLT : u32 = 76u32 ; pub const EMR_CHORD : u32 = 46u32 ; pub const EMR_CLOSEFIGURE : u32 = 61u32 ; pub const EMR_COLORCORRECTPALETTE : u32 = 111u32 ; pub const EMR_COLORMATCHTOTARGETW : u32 = 121u32 ; pub const EMR_CREATEBRUSHINDIRECT : u32 = 39u32 ; pub const EMR_CREATECOLORSPACE : u32 = 99u32 ; pub const EMR_CREATECOLORSPACEW : u32 = 122u32 ; pub const EMR_CREATEDIBPATTERNBRUSHPT : u32 = 94u32 ; pub const EMR_CREATEMONOBRUSH : u32 = 93u32 ; pub const EMR_CREATEPALETTE : u32 = 49u32 ; pub const EMR_CREATEPEN : u32 = 38u32 ; pub const EMR_DELETECOLORSPACE : u32 = 101u32 ; pub const EMR_DELETEOBJECT : u32 = 40u32 ; pub const EMR_ELLIPSE : u32 = 42u32 ; pub const EMR_ENDPATH : u32 = 60u32 ; pub const EMR_EOF : u32 = 14u32 ; pub const EMR_EXCLUDECLIPRECT : u32 = 29u32 ; pub const EMR_EXTCREATEFONTINDIRECTW : u32 = 82u32 ; pub const EMR_EXTCREATEPEN : u32 = 95u32 ; pub const EMR_EXTFLOODFILL : u32 = 53u32 ; pub const EMR_EXTSELECTCLIPRGN : u32 = 75u32 ; pub const EMR_EXTTEXTOUTA : u32 = 83u32 ; pub const EMR_EXTTEXTOUTW : u32 = 84u32 ; pub const EMR_FILLPATH : u32 = 62u32 ; pub const EMR_FILLRGN : u32 = 71u32 ; pub const EMR_FLATTENPATH : u32 = 65u32 ; pub const EMR_FRAMERGN : u32 = 72u32 ; pub const EMR_GDICOMMENT : u32 = 70u32 ; pub const EMR_GLSBOUNDEDRECORD : u32 = 103u32 ; pub const EMR_GLSRECORD : u32 = 102u32 ; pub const EMR_GRADIENTFILL : u32 = 118u32 ; pub const EMR_HEADER : u32 = 1u32 ; pub const EMR_INTERSECTCLIPRECT : u32 = 30u32 ; pub const EMR_INVERTRGN : u32 = 73u32 ; pub const EMR_LINETO : u32 = 54u32 ; pub const EMR_MASKBLT : u32 = 78u32 ; pub const EMR_MAX : u32 = 122u32 ; pub const EMR_MIN : u32 = 1u32 ; pub const EMR_MODIFYWORLDTRANSFORM : u32 = 36u32 ; pub const EMR_MOVETOEX : u32 = 27u32 ; pub const EMR_OFFSETCLIPRGN : u32 = 26u32 ; pub const EMR_PAINTRGN : u32 = 74u32 ; pub const EMR_PIE : u32 = 47u32 ; pub const EMR_PIXELFORMAT : u32 = 104u32 ; pub const EMR_PLGBLT : u32 = 79u32 ; pub const EMR_POLYBEZIER : u32 = 2u32 ; pub const EMR_POLYBEZIER16 : u32 = 85u32 ; pub const EMR_POLYBEZIERTO : u32 = 5u32 ; pub const EMR_POLYBEZIERTO16 : u32 = 88u32 ; pub const EMR_POLYDRAW : u32 = 56u32 ; pub const EMR_POLYDRAW16 : u32 = 92u32 ; pub const EMR_POLYGON : u32 = 3u32 ; pub const EMR_POLYGON16 : u32 = 86u32 ; pub const EMR_POLYLINE : u32 = 4u32 ; pub const EMR_POLYLINE16 : u32 = 87u32 ; pub const EMR_POLYLINETO : u32 = 6u32 ; pub const EMR_POLYLINETO16 : u32 = 89u32 ; pub const EMR_POLYPOLYGON : u32 = 8u32 ; pub const EMR_POLYPOLYGON16 : u32 = 91u32 ; pub const EMR_POLYPOLYLINE : u32 = 7u32 ; pub const EMR_POLYPOLYLINE16 : u32 = 90u32 ; pub const EMR_POLYTEXTOUTA : u32 = 96u32 ; pub const EMR_POLYTEXTOUTW : u32 = 97u32 ; pub const EMR_REALIZEPALETTE : u32 = 52u32 ; pub const EMR_RECTANGLE : u32 = 43u32 ; pub const EMR_RESERVED_105 : u32 = 105u32 ; pub const EMR_RESERVED_106 : u32 = 106u32 ; pub const EMR_RESERVED_107 : u32 = 107u32 ; pub const EMR_RESERVED_108 : u32 = 108u32 ; pub const EMR_RESERVED_109 : u32 = 109u32 ; pub const EMR_RESERVED_110 : u32 = 110u32 ; pub const EMR_RESERVED_117 : u32 = 117u32 ; pub const EMR_RESERVED_119 : u32 = 119u32 ; pub const EMR_RESERVED_120 : u32 = 120u32 ; pub const EMR_RESIZEPALETTE : u32 = 51u32 ; pub const EMR_RESTOREDC : u32 = 34u32 ; pub const EMR_ROUNDRECT : u32 = 44u32 ; pub const EMR_SAVEDC : u32 = 33u32 ; pub const EMR_SCALEVIEWPORTEXTEX : u32 = 31u32 ; pub const EMR_SCALEWINDOWEXTEX : u32 = 32u32 ; pub const EMR_SELECTCLIPPATH : u32 = 67u32 ; pub const EMR_SELECTOBJECT : u32 = 37u32 ; pub const EMR_SELECTPALETTE : u32 = 48u32 ; pub const EMR_SETARCDIRECTION : u32 = 57u32 ; pub const EMR_SETBKCOLOR : u32 = 25u32 ; pub const EMR_SETBKMODE : u32 = 18u32 ; pub const EMR_SETBRUSHORGEX : u32 = 13u32 ; pub const EMR_SETCOLORADJUSTMENT : u32 = 23u32 ; pub const EMR_SETCOLORSPACE : u32 = 100u32 ; pub const EMR_SETDIBITSTODEVICE : u32 = 80u32 ; pub const EMR_SETICMMODE : u32 = 98u32 ; pub const EMR_SETICMPROFILEA : u32 = 112u32 ; pub const EMR_SETICMPROFILEW : u32 = 113u32 ; pub const EMR_SETLAYOUT : u32 = 115u32 ; pub const EMR_SETMAPMODE : u32 = 17u32 ; pub const EMR_SETMAPPERFLAGS : u32 = 16u32 ; pub const EMR_SETMETARGN : u32 = 28u32 ; pub const EMR_SETMITERLIMIT : u32 = 58u32 ; pub const EMR_SETPALETTEENTRIES : u32 = 50u32 ; pub const EMR_SETPIXELV : u32 = 15u32 ; pub const EMR_SETPOLYFILLMODE : u32 = 19u32 ; pub const EMR_SETROP2 : u32 = 20u32 ; pub const EMR_SETSTRETCHBLTMODE : u32 = 21u32 ; pub const EMR_SETTEXTALIGN : u32 = 22u32 ; pub const EMR_SETTEXTCOLOR : u32 = 24u32 ; pub const EMR_SETVIEWPORTEXTEX : u32 = 11u32 ; pub const EMR_SETVIEWPORTORGEX : u32 = 12u32 ; pub const EMR_SETWINDOWEXTEX : u32 = 9u32 ; pub const EMR_SETWINDOWORGEX : u32 = 10u32 ; pub const EMR_SETWORLDTRANSFORM : u32 = 35u32 ; pub const EMR_STRETCHBLT : u32 = 77u32 ; pub const EMR_STRETCHDIBITS : u32 = 81u32 ; pub const EMR_STROKEANDFILLPATH : u32 = 63u32 ; pub const EMR_STROKEPATH : u32 = 64u32 ; pub const EMR_TRANSPARENTBLT : u32 = 116u32 ; pub const EMR_WIDENPATH : u32 = 66u32 ; pub const ENABLEDUPLEX : u32 = 28u32 ; pub const ENABLEPAIRKERNING : u32 = 769u32 ; pub const ENABLERELATIVEWIDTHS : u32 = 768u32 ; pub const ENCAPSULATED_POSTSCRIPT : u32 = 4116u32 ; pub const ENDDOC : u32 = 11u32 ; pub const END_PATH : u32 = 4098u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENHMETAHEADER { pub iType : u32 , pub nSize : u32 , pub rclBounds : super::super::Foundation:: RECTL , pub rclFrame : super::super::Foundation:: RECTL , pub dSignature : u32 , pub nVersion : u32 , pub nBytes : u32 , pub nRecords : u32 , pub nHandles : u16 , pub sReserved : u16 , pub nDescription : u32 , pub offDescription : u32 , pub nPalEntries : u32 , pub szlDevice : super::super::Foundation:: SIZE , pub szlMillimeters : super::super::Foundation:: SIZE , pub cbPixelFormat : u32 , pub offPixelFormat : u32 , pub bOpenGL : u32 , pub szlMicrometers : super::super::Foundation:: SIZE } impl ENHMETAHEADER { } impl :: std :: default :: Default for ENHMETAHEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENHMETAHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENHMETAHEADER" ) . field ( "iType" , & self . iType ) . field ( "nSize" , & self . nSize ) . field ( "rclBounds" , & self . rclBounds ) . field ( "rclFrame" , & self . rclFrame ) . field ( "dSignature" , & self . dSignature ) . field ( "nVersion" , & self . nVersion ) . field ( "nBytes" , & self . nBytes ) . field ( "nRecords" , & self . nRecords ) . field ( "nHandles" , & self . nHandles ) . field ( "sReserved" , & self . sReserved ) . field ( "nDescription" , & self . nDescription ) . field ( "offDescription" , & self . offDescription ) . field ( "nPalEntries" , & self . nPalEntries ) . field ( "szlDevice" , & self . szlDevice ) . field ( "szlMillimeters" , & self . szlMillimeters ) . field ( "cbPixelFormat" , & self . cbPixelFormat ) . field ( "offPixelFormat" , & self . offPixelFormat ) . field ( "bOpenGL" , & self . bOpenGL ) . field ( "szlMicrometers" , & self . szlMicrometers ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENHMETAHEADER { fn eq ( & self , other : & Self ) -> bool { self . iType == other . iType && self . nSize == other . nSize && self . rclBounds == other . rclBounds && self . rclFrame == other . rclFrame && self . dSignature == other . dSignature && self . nVersion == other . nVersion && self . nBytes == other . nBytes && self . nRecords == other . nRecords && self . nHandles == other . nHandles && self . sReserved == other . sReserved && self . nDescription == other . nDescription && self . offDescription == other . offDescription && self . nPalEntries == other . nPalEntries && self . szlDevice == other . szlDevice && self . szlMillimeters == other . szlMillimeters && self . cbPixelFormat == other . cbPixelFormat && self . offPixelFormat == other . offPixelFormat && self . bOpenGL == other . bOpenGL && self . szlMicrometers == other . szlMicrometers } } impl :: std :: cmp :: Eq for ENHMETAHEADER { } unsafe impl :: windows :: Abi for ENHMETAHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENHMETARECORD { pub iType : u32 , pub nSize : u32 , pub dParm : [ u32 ;1 ] } impl ENHMETARECORD { } impl :: std :: default :: Default for ENHMETARECORD { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENHMETARECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENHMETARECORD" ) . field ( "iType" , & self . iType ) . field ( "nSize" , & self . nSize ) . field ( "dParm" , & self . dParm ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENHMETARECORD { fn eq ( & self , other : & Self ) -> bool { self . iType == other . iType && self . nSize == other . nSize && self . dParm == other . dParm } } impl :: std :: cmp :: Eq for ENHMETARECORD { } unsafe impl :: windows :: Abi for ENHMETARECORD { type Abi = Self ; type DefaultType = Self ; } pub const ENHMETA_SIGNATURE : u32 = 1179469088u32 ; pub const ENHMETA_STOCK_OBJECT : u32 = 2147483648u32 ; pub type ENHMFENUMPROC = unsafe extern "system" fn ( hdc : HDC , lpht : * const HANDLETABLE , lpmr : * const ENHMETARECORD , nhandles : i32 , data : super::super::Foundation:: LPARAM ) -> i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMLOGFONTA { pub elfLogFont : LOGFONTA , pub elfFullName : [ u8 ;64 ] , pub elfStyle : [ u8 ;32 ] } impl ENUMLOGFONTA { } impl :: std :: default :: Default for ENUMLOGFONTA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMLOGFONTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMLOGFONTA" ) . field ( "elfLogFont" , & self . elfLogFont ) . field ( "elfFullName" , & self . elfFullName ) . field ( "elfStyle" , & self . elfStyle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMLOGFONTA { fn eq ( & self , other : & Self ) -> bool { self . elfLogFont == other . elfLogFont && self . elfFullName == other . elfFullName && self . elfStyle == other . elfStyle } } impl :: std :: cmp :: Eq for ENUMLOGFONTA { } unsafe impl :: windows :: Abi for ENUMLOGFONTA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMLOGFONTEXA { pub elfLogFont : LOGFONTA , pub elfFullName : [ u8 ;64 ] , pub elfStyle : [ u8 ;32 ] , pub elfScript : [ u8 ;32 ] } impl ENUMLOGFONTEXA { } impl :: std :: default :: Default for ENUMLOGFONTEXA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMLOGFONTEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMLOGFONTEXA" ) . field ( "elfLogFont" , & self . elfLogFont ) . field ( "elfFullName" , & self . elfFullName ) . field ( "elfStyle" , & self . elfStyle ) . field ( "elfScript" , & self . elfScript ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMLOGFONTEXA { fn eq ( & self , other : & Self ) -> bool { self . elfLogFont == other . elfLogFont && self . elfFullName == other . elfFullName && self . elfStyle == other . elfStyle && self . elfScript == other . elfScript } } impl :: std :: cmp :: Eq for ENUMLOGFONTEXA { } unsafe impl :: windows :: Abi for ENUMLOGFONTEXA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMLOGFONTEXDVA { pub elfEnumLogfontEx : ENUMLOGFONTEXA , pub elfDesignVector : DESIGNVECTOR } impl ENUMLOGFONTEXDVA { } impl :: std :: default :: Default for ENUMLOGFONTEXDVA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMLOGFONTEXDVA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMLOGFONTEXDVA" ) . field ( "elfEnumLogfontEx" , & self . elfEnumLogfontEx ) . field ( "elfDesignVector" , & self . elfDesignVector ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMLOGFONTEXDVA { fn eq ( & self , other : & Self ) -> bool { self . elfEnumLogfontEx == other . elfEnumLogfontEx && self . elfDesignVector == other . elfDesignVector } } impl :: std :: cmp :: Eq for ENUMLOGFONTEXDVA { } unsafe impl :: windows :: Abi for ENUMLOGFONTEXDVA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMLOGFONTEXDVW { pub elfEnumLogfontEx : ENUMLOGFONTEXW , pub elfDesignVector : DESIGNVECTOR } impl ENUMLOGFONTEXDVW { } impl :: std :: default :: Default for ENUMLOGFONTEXDVW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMLOGFONTEXDVW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMLOGFONTEXDVW" ) . field ( "elfEnumLogfontEx" , & self . elfEnumLogfontEx ) . field ( "elfDesignVector" , & self . elfDesignVector ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMLOGFONTEXDVW { fn eq ( & self , other : & Self ) -> bool { self . elfEnumLogfontEx == other . elfEnumLogfontEx && self . elfDesignVector == other . elfDesignVector } } impl :: std :: cmp :: Eq for ENUMLOGFONTEXDVW { } unsafe impl :: windows :: Abi for ENUMLOGFONTEXDVW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMLOGFONTEXW { pub elfLogFont : LOGFONTW , pub elfFullName : [ u16 ;64 ] , pub elfStyle : [ u16 ;32 ] , pub elfScript : [ u16 ;32 ] } impl ENUMLOGFONTEXW { } impl :: std :: default :: Default for ENUMLOGFONTEXW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMLOGFONTEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMLOGFONTEXW" ) . field ( "elfLogFont" , & self . elfLogFont ) . field ( "elfFullName" , & self . elfFullName ) . field ( "elfStyle" , & self . elfStyle ) . field ( "elfScript" , & self . elfScript ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMLOGFONTEXW { fn eq ( & self , other : & Self ) -> bool { self . elfLogFont == other . elfLogFont && self . elfFullName == other . elfFullName && self . elfStyle == other . elfStyle && self . elfScript == other . elfScript } } impl :: std :: cmp :: Eq for ENUMLOGFONTEXW { } unsafe impl :: windows :: Abi for ENUMLOGFONTEXW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMLOGFONTW { pub elfLogFont : LOGFONTW , pub elfFullName : [ u16 ;64 ] , pub elfStyle : [ u16 ;32 ] } impl ENUMLOGFONTW { } impl :: std :: default :: Default for ENUMLOGFONTW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMLOGFONTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMLOGFONTW" ) . field ( "elfLogFont" , & self . elfLogFont ) . field ( "elfFullName" , & self . elfFullName ) . field ( "elfStyle" , & self . elfStyle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMLOGFONTW { fn eq ( & self , other : & Self ) -> bool { self . elfLogFont == other . elfLogFont && self . elfFullName == other . elfFullName && self . elfStyle == other . elfStyle } } impl :: std :: cmp :: Eq for ENUMLOGFONTW { } unsafe impl :: windows :: Abi for ENUMLOGFONTW { type Abi = Self ; type DefaultType = Self ; } pub const ENUMPAPERBINS : u32 = 31u32 ; pub const ENUMPAPERMETRICS : u32 = 34u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMTEXTMETRICA { pub etmNewTextMetricEx : NEWTEXTMETRICEXA , pub etmAxesList : AXESLISTA } impl ENUMTEXTMETRICA { } impl :: std :: default :: Default for ENUMTEXTMETRICA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMTEXTMETRICA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMTEXTMETRICA" ) . field ( "etmNewTextMetricEx" , & self . etmNewTextMetricEx ) . field ( "etmAxesList" , & self . etmAxesList ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMTEXTMETRICA { fn eq ( & self , other : & Self ) -> bool { self . etmNewTextMetricEx == other . etmNewTextMetricEx && self . etmAxesList == other . etmAxesList } } impl :: std :: cmp :: Eq for ENUMTEXTMETRICA { } unsafe impl :: windows :: Abi for ENUMTEXTMETRICA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENUMTEXTMETRICW { pub etmNewTextMetricEx : NEWTEXTMETRICEXW , pub etmAxesList : AXESLISTW } impl ENUMTEXTMETRICW { } impl :: std :: default :: Default for ENUMTEXTMETRICW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for ENUMTEXTMETRICW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENUMTEXTMETRICW" ) . field ( "etmNewTextMetricEx" , & self . etmNewTextMetricEx ) . field ( "etmAxesList" , & self . etmAxesList ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENUMTEXTMETRICW { fn eq ( & self , other : & Self ) -> bool { self . etmNewTextMetricEx == other . etmNewTextMetricEx && self . etmAxesList == other . etmAxesList } } impl :: std :: cmp :: Eq for ENUMTEXTMETRICW { } unsafe impl :: windows :: Abi for ENUMTEXTMETRICW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ENUM_DISPLAY_SETTINGS_MODE ( pub u32 ) ; pub const ENUM_CURRENT_SETTINGS : ENUM_DISPLAY_SETTINGS_MODE = ENUM_DISPLAY_SETTINGS_MODE ( 4294967295u32 ) ; pub const ENUM_REGISTRY_SETTINGS : ENUM_DISPLAY_SETTINGS_MODE = ENUM_DISPLAY_SETTINGS_MODE ( 4294967294u32 ) ; impl :: std :: convert :: From < u32 > for ENUM_DISPLAY_SETTINGS_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ENUM_DISPLAY_SETTINGS_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for ENUM_DISPLAY_SETTINGS_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ENUM_DISPLAY_SETTINGS_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ENUM_DISPLAY_SETTINGS_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ENUM_DISPLAY_SETTINGS_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for ENUM_DISPLAY_SETTINGS_MODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const EPSPRINTING : u32 = 33u32 ; pub const EPS_SIGNATURE : u32 = 1179865157u32 ; pub const ERROR : u32 = 0u32 ; pub const ERR_FORMAT : u32 = 1006u32 ; pub const ERR_GENERIC : u32 = 1000u32 ; pub const ERR_INVALID_BASE : u32 = 1085u32 ; pub const ERR_INVALID_CMAP : u32 = 1060u32 ; pub const ERR_INVALID_DELTA_FORMAT : u32 = 1013u32 ; pub const ERR_INVALID_EBLC : u32 = 1086u32 ; pub const ERR_INVALID_GDEF : u32 = 1083u32 ; pub const ERR_INVALID_GLYF : u32 = 1061u32 ; pub const ERR_INVALID_GPOS : u32 = 1082u32 ; pub const ERR_INVALID_GSUB : u32 = 1081u32 ; pub const ERR_INVALID_HDMX : u32 = 1089u32 ; pub const ERR_INVALID_HEAD : u32 = 1062u32 ; pub const ERR_INVALID_HHEA : u32 = 1063u32 ; pub const ERR_INVALID_HHEA_OR_VHEA : u32 = 1072u32 ; pub const ERR_INVALID_HMTX : u32 = 1064u32 ; pub const ERR_INVALID_HMTX_OR_VMTX : u32 = 1073u32 ; pub const ERR_INVALID_JSTF : u32 = 1084u32 ; pub const ERR_INVALID_LOCA : u32 = 1065u32 ; pub const ERR_INVALID_LTSH : u32 = 1087u32 ; pub const ERR_INVALID_MAXP : u32 = 1066u32 ; pub const ERR_INVALID_MERGE_CHECKSUMS : u32 = 1011u32 ; pub const ERR_INVALID_MERGE_FORMATS : u32 = 1010u32 ; pub const ERR_INVALID_MERGE_NUMGLYPHS : u32 = 1012u32 ; pub const ERR_INVALID_NAME : u32 = 1067u32 ; pub const ERR_INVALID_OS2 : u32 = 1069u32 ; pub const ERR_INVALID_POST : u32 = 1068u32 ; pub const ERR_INVALID_TTC_INDEX : u32 = 1015u32 ; pub const ERR_INVALID_TTO : u32 = 1080u32 ; pub const ERR_INVALID_VDMX : u32 = 1088u32 ; pub const ERR_INVALID_VHEA : u32 = 1070u32 ; pub const ERR_INVALID_VMTX : u32 = 1071u32 ; pub const ERR_MEM : u32 = 1005u32 ; pub const ERR_MISSING_CMAP : u32 = 1030u32 ; pub const ERR_MISSING_EBDT : u32 = 1044u32 ; pub const ERR_MISSING_GLYF : u32 = 1031u32 ; pub const ERR_MISSING_HEAD : u32 = 1032u32 ; pub const ERR_MISSING_HHEA : u32 = 1033u32 ; pub const ERR_MISSING_HHEA_OR_VHEA : u32 = 1042u32 ; pub const ERR_MISSING_HMTX : u32 = 1034u32 ; pub const ERR_MISSING_HMTX_OR_VMTX : u32 = 1043u32 ; pub const ERR_MISSING_LOCA : u32 = 1035u32 ; pub const ERR_MISSING_MAXP : u32 = 1036u32 ; pub const ERR_MISSING_NAME : u32 = 1037u32 ; pub const ERR_MISSING_OS2 : u32 = 1039u32 ; pub const ERR_MISSING_POST : u32 = 1038u32 ; pub const ERR_MISSING_VHEA : u32 = 1040u32 ; pub const ERR_MISSING_VMTX : u32 = 1041u32 ; pub const ERR_NOT_TTC : u32 = 1014u32 ; pub const ERR_NO_GLYPHS : u32 = 1009u32 ; pub const ERR_PARAMETER0 : u32 = 1100u32 ; pub const ERR_PARAMETER1 : u32 = 1101u32 ; pub const ERR_PARAMETER10 : u32 = 1110u32 ; pub const ERR_PARAMETER11 : u32 = 1111u32 ; pub const ERR_PARAMETER12 : u32 = 1112u32 ; pub const ERR_PARAMETER13 : u32 = 1113u32 ; pub const ERR_PARAMETER14 : u32 = 1114u32 ; pub const ERR_PARAMETER15 : u32 = 1115u32 ; pub const ERR_PARAMETER16 : u32 = 1116u32 ; pub const ERR_PARAMETER2 : u32 = 1102u32 ; pub const ERR_PARAMETER3 : u32 = 1103u32 ; pub const ERR_PARAMETER4 : u32 = 1104u32 ; pub const ERR_PARAMETER5 : u32 = 1105u32 ; pub const ERR_PARAMETER6 : u32 = 1106u32 ; pub const ERR_PARAMETER7 : u32 = 1107u32 ; pub const ERR_PARAMETER8 : u32 = 1108u32 ; pub const ERR_PARAMETER9 : u32 = 1109u32 ; pub const ERR_READCONTROL : u32 = 1003u32 ; pub const ERR_READOUTOFBOUNDS : u32 = 1001u32 ; pub const ERR_VERSION : u32 = 1008u32 ; pub const ERR_WOULD_GROW : u32 = 1007u32 ; pub const ERR_WRITECONTROL : u32 = 1004u32 ; pub const ERR_WRITEOUTOFBOUNDS : u32 = 1002u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ETO_OPTIONS ( pub u32 ) ; pub const ETO_OPAQUE : ETO_OPTIONS = ETO_OPTIONS ( 2u32 ) ; pub const ETO_CLIPPED : ETO_OPTIONS = ETO_OPTIONS ( 4u32 ) ; pub const ETO_GLYPH_INDEX : ETO_OPTIONS = ETO_OPTIONS ( 16u32 ) ; pub const ETO_RTLREADING : ETO_OPTIONS = ETO_OPTIONS ( 128u32 ) ; pub const ETO_NUMERICSLOCAL : ETO_OPTIONS = ETO_OPTIONS ( 1024u32 ) ; pub const ETO_NUMERICSLATIN : ETO_OPTIONS = ETO_OPTIONS ( 2048u32 ) ; pub const ETO_IGNORELANGUAGE : ETO_OPTIONS = ETO_OPTIONS ( 4096u32 ) ; pub const ETO_PDY : ETO_OPTIONS = ETO_OPTIONS ( 8192u32 ) ; pub const ETO_REVERSE_INDEX_MAP : ETO_OPTIONS = ETO_OPTIONS ( 65536u32 ) ; impl :: std :: convert :: From < u32 > for ETO_OPTIONS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ETO_OPTIONS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for ETO_OPTIONS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ETO_OPTIONS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ETO_OPTIONS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ETO_OPTIONS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for ETO_OPTIONS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EXTLOGFONTA { pub elfLogFont : LOGFONTA , pub elfFullName : [ u8 ;64 ] , pub elfStyle : [ u8 ;32 ] , pub elfVersion : u32 , pub elfStyleSize : u32 , pub elfMatch : u32 , pub elfReserved : u32 , pub elfVendorId : [ u8 ;4 ] , pub elfCulture : u32 , pub elfPanose : PANOSE } impl EXTLOGFONTA { } impl :: std :: default :: Default for EXTLOGFONTA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EXTLOGFONTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXTLOGFONTA" ) . field ( "elfLogFont" , & self . elfLogFont ) . field ( "elfFullName" , & self . elfFullName ) . field ( "elfStyle" , & self . elfStyle ) . field ( "elfVersion" , & self . elfVersion ) . field ( "elfStyleSize" , & self . elfStyleSize ) . field ( "elfMatch" , & self . elfMatch ) . field ( "elfReserved" , & self . elfReserved ) . field ( "elfVendorId" , & self . elfVendorId ) . field ( "elfCulture" , & self . elfCulture ) . field ( "elfPanose" , & self . elfPanose ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXTLOGFONTA { fn eq ( & self , other : & Self ) -> bool { self . elfLogFont == other . elfLogFont && self . elfFullName == other . elfFullName && self . elfStyle == other . elfStyle && self . elfVersion == other . elfVersion && self . elfStyleSize == other . elfStyleSize && self . elfMatch == other . elfMatch && self . elfReserved == other . elfReserved && self . elfVendorId == other . elfVendorId && self . elfCulture == other . elfCulture && self . elfPanose == other . elfPanose } } impl :: std :: cmp :: Eq for EXTLOGFONTA { } unsafe impl :: windows :: Abi for EXTLOGFONTA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EXTLOGFONTW { pub elfLogFont : LOGFONTW , pub elfFullName : [ u16 ;64 ] , pub elfStyle : [ u16 ;32 ] , pub elfVersion : u32 , pub elfStyleSize : u32 , pub elfMatch : u32 , pub elfReserved : u32 , pub elfVendorId : [ u8 ;4 ] , pub elfCulture : u32 , pub elfPanose : PANOSE } impl EXTLOGFONTW { } impl :: std :: default :: Default for EXTLOGFONTW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EXTLOGFONTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXTLOGFONTW" ) . field ( "elfLogFont" , & self . elfLogFont ) . field ( "elfFullName" , & self . elfFullName ) . field ( "elfStyle" , & self . elfStyle ) . field ( "elfVersion" , & self . elfVersion ) . field ( "elfStyleSize" , & self . elfStyleSize ) . field ( "elfMatch" , & self . elfMatch ) . field ( "elfReserved" , & self . elfReserved ) . field ( "elfVendorId" , & self . elfVendorId ) . field ( "elfCulture" , & self . elfCulture ) . field ( "elfPanose" , & self . elfPanose ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXTLOGFONTW { fn eq ( & self , other : & Self ) -> bool { self . elfLogFont == other . elfLogFont && self . elfFullName == other . elfFullName && self . elfStyle == other . elfStyle && self . elfVersion == other . elfVersion && self . elfStyleSize == other . elfStyleSize && self . elfMatch == other . elfMatch && self . elfReserved == other . elfReserved && self . elfVendorId == other . elfVendorId && self . elfCulture == other . elfCulture && self . elfPanose == other . elfPanose } } impl :: std :: cmp :: Eq for EXTLOGFONTW { } unsafe impl :: windows :: Abi for EXTLOGFONTW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EXTLOGPEN { pub elpPenStyle : u32 , pub elpWidth : u32 , pub elpBrushStyle : u32 , pub elpColor : u32 , pub elpHatch : usize , pub elpNumEntries : u32 , pub elpStyleEntry : [ u32 ;1 ] } impl EXTLOGPEN { } impl :: std :: default :: Default for EXTLOGPEN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EXTLOGPEN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXTLOGPEN" ) . field ( "elpPenStyle" , & self . elpPenStyle ) . field ( "elpWidth" , & self . elpWidth ) . field ( "elpBrushStyle" , & self . elpBrushStyle ) . field ( "elpColor" , & self . elpColor ) . field ( "elpHatch" , & self . elpHatch ) . field ( "elpNumEntries" , & self . elpNumEntries ) . field ( "elpStyleEntry" , & self . elpStyleEntry ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXTLOGPEN { fn eq ( & self , other : & Self ) -> bool { self . elpPenStyle == other . elpPenStyle && self . elpWidth == other . elpWidth && self . elpBrushStyle == other . elpBrushStyle && self . elpColor == other . elpColor && self . elpHatch == other . elpHatch && self . elpNumEntries == other . elpNumEntries && self . elpStyleEntry == other . elpStyleEntry } } impl :: std :: cmp :: Eq for EXTLOGPEN { } unsafe impl :: windows :: Abi for EXTLOGPEN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EXTLOGPEN32 { pub elpPenStyle : u32 , pub elpWidth : u32 , pub elpBrushStyle : u32 , pub elpColor : u32 , pub elpHatch : u32 , pub elpNumEntries : u32 , pub elpStyleEntry : [ u32 ;1 ] } impl EXTLOGPEN32 { } impl :: std :: default :: Default for EXTLOGPEN32 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for EXTLOGPEN32 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXTLOGPEN32" ) . field ( "elpPenStyle" , & self . elpPenStyle ) . field ( "elpWidth" , & self . elpWidth ) . field ( "elpBrushStyle" , & self . elpBrushStyle ) . field ( "elpColor" , & self . elpColor ) . field ( "elpHatch" , & self . elpHatch ) . field ( "elpNumEntries" , & self . elpNumEntries ) . field ( "elpStyleEntry" , & self . elpStyleEntry ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXTLOGPEN32 { fn eq ( & self , other : & Self ) -> bool { self . elpPenStyle == other . elpPenStyle && self . elpWidth == other . elpWidth && self . elpBrushStyle == other . elpBrushStyle && self . elpColor == other . elpColor && self . elpHatch == other . elpHatch && self . elpNumEntries == other . elpNumEntries && self . elpStyleEntry == other . elpStyleEntry } } impl :: std :: cmp :: Eq for EXTLOGPEN32 { } unsafe impl :: windows :: Abi for EXTLOGPEN32 { type Abi = Self ; type DefaultType = Self ; } pub const EXTTEXTOUT : u32 = 512u32 ; pub const EXT_DEVICE_CAPS : u32 = 4099u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct EXT_FLOOD_FILL_TYPE ( pub u32 ) ; pub const FLOODFILLBORDER : EXT_FLOOD_FILL_TYPE = EXT_FLOOD_FILL_TYPE ( 0u32 ) ; pub const FLOODFILLSURFACE : EXT_FLOOD_FILL_TYPE = EXT_FLOOD_FILL_TYPE ( 1u32 ) ; impl :: std :: convert :: From < u32 > for EXT_FLOOD_FILL_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EXT_FLOOD_FILL_TYPE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for EXT_FLOOD_FILL_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for EXT_FLOOD_FILL_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for EXT_FLOOD_FILL_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for EXT_FLOOD_FILL_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for EXT_FLOOD_FILL_TYPE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const E_ADDFONTFAILED : i32 = 512i32 ; pub const E_API_NOTIMPL : i32 = 1i32 ; pub const E_CHARCODECOUNTINVALID : i32 = 2i32 ; pub const E_CHARCODESETINVALID : i32 = 3i32 ; pub const E_CHARSETINVALID : i32 = 21i32 ; pub const E_COULDNTCREATETEMPFILE : i32 = 513i32 ; pub const E_DEVICETRUETYPEFONT : i32 = 4i32 ; pub const E_ERRORACCESSINGEXCLUDELIST : i32 = 274i32 ; pub const E_ERRORACCESSINGFACENAME : i32 = 13i32 ; pub const E_ERRORACCESSINGFONTDATA : i32 = 12i32 ; pub const E_ERRORCOMPRESSINGFONTDATA : i32 = 256i32 ; pub const E_ERRORCONVERTINGCHARS : i32 = 18i32 ; pub const E_ERRORCREATINGFONTFILE : i32 = 269i32 ; pub const E_ERRORDECOMPRESSINGFONTDATA : i32 = 273i32 ; pub const E_ERROREXPANDINGFONTDATA : i32 = 519i32 ; pub const E_ERRORGETTINGDC : i32 = 520i32 ; pub const E_ERRORREADINGFONTDATA : i32 = 267i32 ; pub const E_ERRORUNICODECONVERSION : i32 = 17i32 ; pub const E_EXCEPTION : i32 = 19i32 ; pub const E_EXCEPTIONINCOMPRESSION : i32 = 522i32 ; pub const E_EXCEPTIONINDECOMPRESSION : i32 = 521i32 ; pub const E_FACENAMEINVALID : i32 = 275i32 ; pub const E_FILE_NOT_FOUND : i32 = 23i32 ; pub const E_FLAGSINVALID : i32 = 268i32 ; pub const E_FONTALREADYEXISTS : i32 = 270i32 ; pub const E_FONTDATAINVALID : i32 = 258i32 ; pub const E_FONTFAMILYNAMENOTINFULL : i32 = 285i32 ; pub const E_FONTFILECREATEFAILED : i32 = 515i32 ; pub const E_FONTFILENOTFOUND : i32 = 517i32 ; pub const E_FONTINSTALLFAILED : i32 = 272i32 ; pub const E_FONTNAMEALREADYEXISTS : i32 = 271i32 ; pub const E_FONTNOTEMBEDDABLE : i32 = 260i32 ; pub const E_FONTREFERENCEINVALID : i32 = 8i32 ; pub const E_FONTVARIATIONSIMULATED : i32 = 283i32 ; pub const E_HDCINVALID : i32 = 6i32 ; pub const E_INPUTPARAMINVALID : i32 = 25i32 ; pub const E_NAMECHANGEFAILED : i32 = 259i32 ; pub const E_NOFREEMEMORY : i32 = 7i32 ; pub const E_NONE : i32 = 0i32 ; pub const E_NOOS2 : i32 = 265i32 ; pub const E_NOTATRUETYPEFONT : i32 = 10i32 ; pub const E_PBENABLEDINVALID : i32 = 280i32 ; pub const E_PERMISSIONSINVALID : i32 = 279i32 ; pub const E_PRIVSINVALID : i32 = 261i32 ; pub const E_PRIVSTATUSINVALID : i32 = 278i32 ; pub const E_READFROMSTREAMFAILED : i32 = 263i32 ; pub const E_RESERVEDPARAMNOTNULL : i32 = 20i32 ; pub const E_RESOURCEFILECREATEFAILED : i32 = 518i32 ; pub const E_SAVETOSTREAMFAILED : i32 = 264i32 ; pub const E_STATUSINVALID : i32 = 277i32 ; pub const E_STREAMINVALID : i32 = 276i32 ; pub const E_SUBSETTINGEXCEPTION : i32 = 281i32 ; pub const E_SUBSETTINGFAILED : i32 = 262i32 ; pub const E_SUBSTRING_TEST_FAIL : i32 = 282i32 ; pub const E_T2NOFREEMEMORY : i32 = 266i32 ; pub const E_TTC_INDEX_OUT_OF_RANGE : i32 = 24i32 ; pub const E_WINDOWSAPI : i32 = 516i32 ; pub unsafe fn Ellipse < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn Ellipse ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( Ellipse ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EndPaint < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , lppaint : * const PAINTSTRUCT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EndPaint ( hwnd : super::super::Foundation:: HWND , lppaint : * const PAINTSTRUCT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EndPaint ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppaint ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EndPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EndPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EndPath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumDisplayDevicesA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( lpdevice : Param0 , idevnum : u32 , lpdisplaydevice : * mut DISPLAY_DEVICEA , dwflags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EnumDisplayDevicesA ( lpdevice : super::super::Foundation:: PSTR , idevnum : u32 , lpdisplaydevice : * mut DISPLAY_DEVICEA , dwflags : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumDisplayDevicesA ( lpdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( idevnum ) , :: std :: mem :: transmute ( lpdisplaydevice ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumDisplayDevicesW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( lpdevice : Param0 , idevnum : u32 , lpdisplaydevice : * mut DISPLAY_DEVICEW , dwflags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EnumDisplayDevicesW ( lpdevice : super::super::Foundation:: PWSTR , idevnum : u32 , lpdisplaydevice : * mut DISPLAY_DEVICEW , dwflags : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumDisplayDevicesW ( lpdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( idevnum ) , :: std :: mem :: transmute ( lpdisplaydevice ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumDisplayMonitors < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , lprcclip : * const super::super::Foundation:: RECT , lpfnenum : :: std :: option :: Option < MONITORENUMPROC > , dwdata : Param3 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EnumDisplayMonitors ( hdc : HDC , lprcclip : * const super::super::Foundation:: RECT , lpfnenum : :: windows :: RawPtr , dwdata : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumDisplayMonitors ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprcclip ) , :: std :: mem :: transmute ( lpfnenum ) , dwdata . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumDisplaySettingsA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( lpszdevicename : Param0 , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEA , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EnumDisplaySettingsA ( lpszdevicename : super::super::Foundation:: PSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEA ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumDisplaySettingsA ( lpszdevicename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( imodenum ) , :: std :: mem :: transmute ( lpdevmode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumDisplaySettingsExA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( lpszdevicename : Param0 , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEA , dwflags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EnumDisplaySettingsExA ( lpszdevicename : super::super::Foundation:: PSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEA , dwflags : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumDisplaySettingsExA ( lpszdevicename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( imodenum ) , :: std :: mem :: transmute ( lpdevmode ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumDisplaySettingsExW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( lpszdevicename : Param0 , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEW , dwflags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EnumDisplaySettingsExW ( lpszdevicename : super::super::Foundation:: PWSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEW , dwflags : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumDisplaySettingsExW ( lpszdevicename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( imodenum ) , :: std :: mem :: transmute ( lpdevmode ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumDisplaySettingsW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( lpszdevicename : Param0 , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEW , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EnumDisplaySettingsW ( lpszdevicename : super::super::Foundation:: PWSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : * mut super::super::UI::DisplayDevices:: DEVMODEW ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumDisplaySettingsW ( lpszdevicename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( imodenum ) , :: std :: mem :: transmute ( lpdevmode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumEnhMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hdc : Param0 , hmf : Param1 , proc : :: std :: option :: Option < ENHMFENUMPROC > , param3 : * const :: std :: ffi :: c_void , lprect : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumEnhMetaFile ( hdc : HDC , hmf : HENHMETAFILE , proc : :: windows :: RawPtr , param3 : * const :: std :: ffi :: c_void , lprect : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumEnhMetaFile ( hdc . into_param ( ) . abi ( ) , hmf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( proc ) , :: std :: mem :: transmute ( param3 ) , :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumFontFamiliesA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , lplogfont : Param1 , lpproc : :: std :: option :: Option < FONTENUMPROCA > , lparam : Param3 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumFontFamiliesA ( hdc : HDC , lplogfont : super::super::Foundation:: PSTR , lpproc : :: windows :: RawPtr , lparam : super::super::Foundation:: LPARAM ) -> i32 ; } :: std :: mem :: transmute ( EnumFontFamiliesA ( hdc . into_param ( ) . abi ( ) , lplogfont . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpproc ) , lparam . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumFontFamiliesExA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , lplogfont : * const LOGFONTA , lpproc : :: std :: option :: Option < FONTENUMPROCA > , lparam : Param3 , dwflags : u32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumFontFamiliesExA ( hdc : HDC , lplogfont : * const LOGFONTA , lpproc : :: windows :: RawPtr , lparam : super::super::Foundation:: LPARAM , dwflags : u32 ) -> i32 ; } :: std :: mem :: transmute ( EnumFontFamiliesExA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lplogfont ) , :: std :: mem :: transmute ( lpproc ) , lparam . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumFontFamiliesExW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , lplogfont : * const LOGFONTW , lpproc : :: std :: option :: Option < FONTENUMPROCW > , lparam : Param3 , dwflags : u32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumFontFamiliesExW ( hdc : HDC , lplogfont : * const LOGFONTW , lpproc : :: windows :: RawPtr , lparam : super::super::Foundation:: LPARAM , dwflags : u32 ) -> i32 ; } :: std :: mem :: transmute ( EnumFontFamiliesExW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lplogfont ) , :: std :: mem :: transmute ( lpproc ) , lparam . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumFontFamiliesW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , lplogfont : Param1 , lpproc : :: std :: option :: Option < FONTENUMPROCW > , lparam : Param3 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumFontFamiliesW ( hdc : HDC , lplogfont : super::super::Foundation:: PWSTR , lpproc : :: windows :: RawPtr , lparam : super::super::Foundation:: LPARAM ) -> i32 ; } :: std :: mem :: transmute ( EnumFontFamiliesW ( hdc . into_param ( ) . abi ( ) , lplogfont . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpproc ) , lparam . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumFontsA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , lplogfont : Param1 , lpproc : :: std :: option :: Option < FONTENUMPROCA > , lparam : Param3 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumFontsA ( hdc : HDC , lplogfont : super::super::Foundation:: PSTR , lpproc : :: windows :: RawPtr , lparam : super::super::Foundation:: LPARAM ) -> i32 ; } :: std :: mem :: transmute ( EnumFontsA ( hdc . into_param ( ) . abi ( ) , lplogfont . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpproc ) , lparam . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumFontsW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , lplogfont : Param1 , lpproc : :: std :: option :: Option < FONTENUMPROCW > , lparam : Param3 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumFontsW ( hdc : HDC , lplogfont : super::super::Foundation:: PWSTR , lpproc : :: windows :: RawPtr , lparam : super::super::Foundation:: LPARAM ) -> i32 ; } :: std :: mem :: transmute ( EnumFontsW ( hdc . into_param ( ) . abi ( ) , lplogfont . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpproc ) , lparam . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HMETAFILE > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , hmf : Param1 , proc : :: std :: option :: Option < MFENUMPROC > , param3 : Param3 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumMetaFile ( hdc : HDC , hmf : HMETAFILE , proc : :: windows :: RawPtr , param3 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EnumMetaFile ( hdc . into_param ( ) . abi ( ) , hmf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( proc ) , param3 . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumObjects < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , ntype : OBJ_TYPE , lpfunc : :: std :: option :: Option < GOBJENUMPROC > , lparam : Param3 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EnumObjects ( hdc : HDC , ntype : OBJ_TYPE , lpfunc : :: windows :: RawPtr , lparam : super::super::Foundation:: LPARAM ) -> i32 ; } :: std :: mem :: transmute ( EnumObjects ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ntype ) , :: std :: mem :: transmute ( lpfunc ) , lparam . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EqualRect < > ( lprc1 : * const super::super::Foundation:: RECT , lprc2 : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn EqualRect ( lprc1 : * const super::super::Foundation:: RECT , lprc2 : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EqualRect ( :: std :: mem :: transmute ( lprc1 ) , :: std :: mem :: transmute ( lprc2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EqualRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgn1 : Param0 , hrgn2 : Param1 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn EqualRgn ( hrgn1 : HRGN , hrgn2 : HRGN ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( EqualRgn ( hrgn1 . into_param ( ) . abi ( ) , hrgn2 . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExcludeClipRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ExcludeClipRect ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> i32 ; } :: std :: mem :: transmute ( ExcludeClipRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExcludeUpdateRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hdc : Param0 , hwnd : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ExcludeUpdateRgn ( hdc : HDC , hwnd : super::super::Foundation:: HWND ) -> i32 ; } :: std :: mem :: transmute ( ExcludeUpdateRgn ( hdc . into_param ( ) . abi ( ) , hwnd . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExtCreatePen < > ( ipenstyle : PEN_STYLE , cwidth : u32 , plbrush : * const LOGBRUSH , cstyle : u32 , pstyle : * const u32 , ) -> HPEN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ExtCreatePen ( ipenstyle : PEN_STYLE , cwidth : u32 , plbrush : * const LOGBRUSH , cstyle : u32 , pstyle : * const u32 ) -> HPEN ; } :: std :: mem :: transmute ( ExtCreatePen ( :: std :: mem :: transmute ( ipenstyle ) , :: std :: mem :: transmute ( cwidth ) , :: std :: mem :: transmute ( plbrush ) , :: std :: mem :: transmute ( cstyle ) , :: std :: mem :: transmute ( pstyle ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExtCreateRegion < > ( lpx : * const XFORM , ncount : u32 , lpdata : * const RGNDATA , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ExtCreateRegion ( lpx : * const XFORM , ncount : u32 , lpdata : * const RGNDATA ) -> HRGN ; } :: std :: mem :: transmute ( ExtCreateRegion ( :: std :: mem :: transmute ( lpx ) , :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( lpdata ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExtFloodFill < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , color : u32 , r#type : EXT_FLOOD_FILL_TYPE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ExtFloodFill ( hdc : HDC , x : i32 , y : i32 , color : u32 , r#type : EXT_FLOOD_FILL_TYPE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ExtFloodFill ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( color ) , :: std :: mem :: transmute ( r#type ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExtSelectClipRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hdc : Param0 , hrgn : Param1 , mode : RGN_COMBINE_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ExtSelectClipRgn ( hdc : HDC , hrgn : HRGN , mode : RGN_COMBINE_MODE ) -> i32 ; } :: std :: mem :: transmute ( ExtSelectClipRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( mode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExtTextOutA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , x : i32 , y : i32 , options : ETO_OPTIONS , lprect : * const super::super::Foundation:: RECT , lpstring : Param5 , c : u32 , lpdx : * const i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ExtTextOutA ( hdc : HDC , x : i32 , y : i32 , options : ETO_OPTIONS , lprect : * const super::super::Foundation:: RECT , lpstring : super::super::Foundation:: PSTR , c : u32 , lpdx : * const i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ExtTextOutA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( options ) , :: std :: mem :: transmute ( lprect ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( lpdx ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExtTextOutW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , x : i32 , y : i32 , options : ETO_OPTIONS , lprect : * const super::super::Foundation:: RECT , lpstring : Param5 , c : u32 , lpdx : * const i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ExtTextOutW ( hdc : HDC , x : i32 , y : i32 , options : ETO_OPTIONS , lprect : * const super::super::Foundation:: RECT , lpstring : super::super::Foundation:: PWSTR , c : u32 , lpdx : * const i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ExtTextOutW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( options ) , :: std :: mem :: transmute ( lprect ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( lpdx ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const FEATURESETTING_CUSTPAPER : u32 = 3u32 ; pub const FEATURESETTING_MIRROR : u32 = 4u32 ; pub const FEATURESETTING_NEGATIVE : u32 = 5u32 ; pub const FEATURESETTING_NUP : u32 = 0u32 ; pub const FEATURESETTING_OUTPUT : u32 = 1u32 ; pub const FEATURESETTING_PRIVATE_BEGIN : u32 = 4096u32 ; pub const FEATURESETTING_PRIVATE_END : u32 = 8191u32 ; pub const FEATURESETTING_PROTOCOL : u32 = 6u32 ; pub const FEATURESETTING_PSLEVEL : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FIXED { pub fract : u16 , pub value : i16 } impl FIXED { } impl :: std :: default :: Default for FIXED { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for FIXED { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FIXED" ) . field ( "fract" , & self . fract ) . field ( "value" , & self . value ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FIXED { fn eq ( & self , other : & Self ) -> bool { self . fract == other . fract && self . value == other . value } } impl :: std :: cmp :: Eq for FIXED { } unsafe impl :: windows :: Abi for FIXED { type Abi = Self ; type DefaultType = Self ; } pub const FIXED_PITCH : u32 = 1u32 ; pub const FLI_GLYPHS : i32 = 262144i32 ; pub const FLI_MASK : u32 = 4155u32 ; pub const FLUSHOUTPUT : u32 = 6u32 ; pub type FONTENUMPROCA = unsafe extern "system" fn ( param0 : * const LOGFONTA , param1 : * const TEXTMETRICA , param2 : u32 , param3 : super::super::Foundation:: LPARAM ) -> i32 ; pub type FONTENUMPROCW = unsafe extern "system" fn ( param0 : * const LOGFONTW , param1 : * const TEXTMETRICW , param2 : u32 , param3 : super::super::Foundation:: LPARAM ) -> i32 ; pub const FONTMAPPER_MAX : u32 = 10u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FONT_CLIP_PRECISION ( pub u32 ) ; pub const CLIP_CHARACTER_PRECIS : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 1u32 ) ; pub const CLIP_DEFAULT_PRECIS : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 0u32 ) ; pub const CLIP_DFA_DISABLE : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 64u32 ) ; pub const CLIP_EMBEDDED : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 128u32 ) ; pub const CLIP_LH_ANGLES : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 16u32 ) ; pub const CLIP_MASK : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 15u32 ) ; pub const CLIP_STROKE_PRECIS : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 2u32 ) ; pub const CLIP_TT_ALWAYS : FONT_CLIP_PRECISION = FONT_CLIP_PRECISION ( 32u32 ) ; impl :: std :: convert :: From < u32 > for FONT_CLIP_PRECISION { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FONT_CLIP_PRECISION { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FONT_CLIP_PRECISION { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FONT_CLIP_PRECISION { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FONT_CLIP_PRECISION { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FONT_CLIP_PRECISION { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for FONT_CLIP_PRECISION { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FONT_LICENSE_PRIVS ( pub u32 ) ; pub const LICENSE_PREVIEWPRINT : FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS ( 4u32 ) ; pub const LICENSE_EDITABLE : FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS ( 8u32 ) ; pub const LICENSE_INSTALLABLE : FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS ( 0u32 ) ; pub const LICENSE_NOEMBEDDING : FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS ( 2u32 ) ; pub const LICENSE_DEFAULT : FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS ( 0u32 ) ; impl :: std :: convert :: From < u32 > for FONT_LICENSE_PRIVS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FONT_LICENSE_PRIVS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FONT_LICENSE_PRIVS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FONT_LICENSE_PRIVS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FONT_LICENSE_PRIVS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FONT_LICENSE_PRIVS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for FONT_LICENSE_PRIVS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FONT_OUTPUT_PRECISION ( pub u32 ) ; pub const OUT_CHARACTER_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 2u32 ) ; pub const OUT_DEFAULT_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 0u32 ) ; pub const OUT_DEVICE_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 5u32 ) ; pub const OUT_OUTLINE_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 8u32 ) ; pub const OUT_PS_ONLY_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 10u32 ) ; pub const OUT_RASTER_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 6u32 ) ; pub const OUT_STRING_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 1u32 ) ; pub const OUT_STROKE_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 3u32 ) ; pub const OUT_TT_ONLY_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 7u32 ) ; pub const OUT_TT_PRECIS : FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION ( 4u32 ) ; impl :: std :: convert :: From < u32 > for FONT_OUTPUT_PRECISION { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FONT_OUTPUT_PRECISION { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FONT_OUTPUT_PRECISION { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FONT_OUTPUT_PRECISION { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FONT_OUTPUT_PRECISION { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FONT_OUTPUT_PRECISION { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for FONT_OUTPUT_PRECISION { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FONT_PITCH_AND_FAMILY ( pub u32 ) ; pub const FF_DECORATIVE : FONT_PITCH_AND_FAMILY = FONT_PITCH_AND_FAMILY ( 80u32 ) ; pub const FF_DONTCARE : FONT_PITCH_AND_FAMILY = FONT_PITCH_AND_FAMILY ( 0u32 ) ; pub const FF_MODERN : FONT_PITCH_AND_FAMILY = FONT_PITCH_AND_FAMILY ( 48u32 ) ; pub const FF_ROMAN : FONT_PITCH_AND_FAMILY = FONT_PITCH_AND_FAMILY ( 16u32 ) ; pub const FF_SCRIPT : FONT_PITCH_AND_FAMILY = FONT_PITCH_AND_FAMILY ( 64u32 ) ; pub const FF_SWISS : FONT_PITCH_AND_FAMILY = FONT_PITCH_AND_FAMILY ( 32u32 ) ; impl :: std :: convert :: From < u32 > for FONT_PITCH_AND_FAMILY { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FONT_PITCH_AND_FAMILY { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FONT_PITCH_AND_FAMILY { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FONT_PITCH_AND_FAMILY { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FONT_PITCH_AND_FAMILY { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FONT_PITCH_AND_FAMILY { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for FONT_PITCH_AND_FAMILY { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FONT_QUALITY ( pub u32 ) ; pub const ANTIALIASED_QUALITY : FONT_QUALITY = FONT_QUALITY ( 4u32 ) ; pub const CLEARTYPE_QUALITY : FONT_QUALITY = FONT_QUALITY ( 5u32 ) ; pub const DEFAULT_QUALITY : FONT_QUALITY = FONT_QUALITY ( 0u32 ) ; pub const DRAFT_QUALITY : FONT_QUALITY = FONT_QUALITY ( 1u32 ) ; pub const NONANTIALIASED_QUALITY : FONT_QUALITY = FONT_QUALITY ( 3u32 ) ; pub const PROOF_QUALITY : FONT_QUALITY = FONT_QUALITY ( 2u32 ) ; impl :: std :: convert :: From < u32 > for FONT_QUALITY { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FONT_QUALITY { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FONT_QUALITY { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FONT_QUALITY { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FONT_QUALITY { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FONT_QUALITY { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for FONT_QUALITY { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FONT_RESOURCE_CHARACTERISTICS ( pub u32 ) ; pub const FR_PRIVATE : FONT_RESOURCE_CHARACTERISTICS = FONT_RESOURCE_CHARACTERISTICS ( 16u32 ) ; pub const FR_NOT_ENUM : FONT_RESOURCE_CHARACTERISTICS = FONT_RESOURCE_CHARACTERISTICS ( 32u32 ) ; impl :: std :: convert :: From < u32 > for FONT_RESOURCE_CHARACTERISTICS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FONT_RESOURCE_CHARACTERISTICS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FONT_RESOURCE_CHARACTERISTICS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FONT_RESOURCE_CHARACTERISTICS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FONT_RESOURCE_CHARACTERISTICS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FONT_RESOURCE_CHARACTERISTICS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for FONT_RESOURCE_CHARACTERISTICS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const FS_ARABIC : i32 = 64i32 ; pub const FS_BALTIC : i32 = 128i32 ; pub const FS_CHINESESIMP : i32 = 262144i32 ; pub const FS_CHINESETRAD : i32 = 1048576i32 ; pub const FS_CYRILLIC : i32 = 4i32 ; pub const FS_GREEK : i32 = 8i32 ; pub const FS_HEBREW : i32 = 32i32 ; pub const FS_JISJAPAN : i32 = 131072i32 ; pub const FS_JOHAB : i32 = 2097152i32 ; pub const FS_LATIN1 : i32 = 1i32 ; pub const FS_LATIN2 : i32 = 2i32 ; pub const FS_SYMBOL : i32 = -2147483648i32 ; pub const FS_THAI : i32 = 65536i32 ; pub const FS_TURKISH : i32 = 16i32 ; pub const FS_VIETNAMESE : i32 = 256i32 ; pub const FS_WANSUNG : i32 = 524288i32 ; pub const FW_BOLD : u32 = 700u32 ; pub const FW_DONTCARE : u32 = 0u32 ; pub const FW_EXTRABOLD : u32 = 800u32 ; pub const FW_EXTRALIGHT : u32 = 200u32 ; pub const FW_HEAVY : u32 = 900u32 ; pub const FW_LIGHT : u32 = 300u32 ; pub const FW_MEDIUM : u32 = 500u32 ; pub const FW_NORMAL : u32 = 400u32 ; pub const FW_SEMIBOLD : u32 = 600u32 ; pub const FW_THIN : u32 = 100u32 ; pub unsafe fn FillPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn FillPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( FillPath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FillRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param2 : :: windows :: IntoParam < 'a , HBRUSH > , > ( hdc : Param0 , lprc : * const super::super::Foundation:: RECT , hbr : Param2 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn FillRect ( hdc : HDC , lprc : * const super::super::Foundation:: RECT , hbr : HBRUSH ) -> i32 ; } :: std :: mem :: transmute ( FillRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) , hbr . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FillRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , Param2 : :: windows :: IntoParam < 'a , HBRUSH > , > ( hdc : Param0 , hrgn : Param1 , hbr : Param2 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn FillRgn ( hdc : HDC , hrgn : HRGN , hbr : HBRUSH ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( FillRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) , hbr . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FixBrushOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , ptl : * const super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn FixBrushOrgEx ( hdc : HDC , x : i32 , y : i32 , ptl : * const super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( FixBrushOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( ptl ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FlattenPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn FlattenPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( FlattenPath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FloodFill < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , color : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn FloodFill ( hdc : HDC , x : i32 , y : i32 , color : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( FloodFill ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FrameRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param2 : :: windows :: IntoParam < 'a , HBRUSH > , > ( hdc : Param0 , lprc : * const super::super::Foundation:: RECT , hbr : Param2 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn FrameRect ( hdc : HDC , lprc : * const super::super::Foundation:: RECT , hbr : HBRUSH ) -> i32 ; } :: std :: mem :: transmute ( FrameRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) , hbr . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FrameRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , Param2 : :: windows :: IntoParam < 'a , HBRUSH > , > ( hdc : Param0 , hrgn : Param1 , hbr : Param2 , w : i32 , h : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn FrameRgn ( hdc : HDC , hrgn : HRGN , hbr : HBRUSH , w : i32 , h : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( FrameRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) , hbr . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( w ) , :: std :: mem :: transmute ( h ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const GB2312_CHARSET : u32 = 134u32 ; pub const GCPCLASS_ARABIC : u32 = 2u32 ; pub const GCPCLASS_HEBREW : u32 = 2u32 ; pub const GCPCLASS_LATIN : u32 = 1u32 ; pub const GCPCLASS_LATINNUMBER : u32 = 5u32 ; pub const GCPCLASS_LATINNUMERICSEPARATOR : u32 = 7u32 ; pub const GCPCLASS_LATINNUMERICTERMINATOR : u32 = 6u32 ; pub const GCPCLASS_LOCALNUMBER : u32 = 4u32 ; pub const GCPCLASS_NEUTRAL : u32 = 3u32 ; pub const GCPCLASS_NUMERICSEPARATOR : u32 = 8u32 ; pub const GCPCLASS_POSTBOUNDLTR : u32 = 32u32 ; pub const GCPCLASS_POSTBOUNDRTL : u32 = 16u32 ; pub const GCPCLASS_PREBOUNDLTR : u32 = 128u32 ; pub const GCPCLASS_PREBOUNDRTL : u32 = 64u32 ; pub const GCPGLYPH_LINKAFTER : u32 = 16384u32 ; pub const GCPGLYPH_LINKBEFORE : u32 = 32768u32 ; pub const GCP_DBCS : u32 = 1u32 ; pub const GCP_ERROR : u32 = 32768u32 ; pub const GCP_JUSTIFYIN : i32 = 2097152i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GCP_RESULTSA { pub lStructSize : u32 , pub lpOutString : super::super::Foundation:: PSTR , pub lpOrder : * mut u32 , pub lpDx : * mut i32 , pub lpCaretPos : * mut i32 , pub lpClass : super::super::Foundation:: PSTR , pub lpGlyphs : super::super::Foundation:: PWSTR , pub nGlyphs : u32 , pub nMaxFit : i32 } impl GCP_RESULTSA { } impl :: std :: default :: Default for GCP_RESULTSA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for GCP_RESULTSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GCP_RESULTSA" ) . field ( "lStructSize" , & self . lStructSize ) . field ( "lpOutString" , & self . lpOutString ) . field ( "lpOrder" , & self . lpOrder ) . field ( "lpDx" , & self . lpDx ) . field ( "lpCaretPos" , & self . lpCaretPos ) . field ( "lpClass" , & self . lpClass ) . field ( "lpGlyphs" , & self . lpGlyphs ) . field ( "nGlyphs" , & self . nGlyphs ) . field ( "nMaxFit" , & self . nMaxFit ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GCP_RESULTSA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . lpOutString == other . lpOutString && self . lpOrder == other . lpOrder && self . lpDx == other . lpDx && self . lpCaretPos == other . lpCaretPos && self . lpClass == other . lpClass && self . lpGlyphs == other . lpGlyphs && self . nGlyphs == other . nGlyphs && self . nMaxFit == other . nMaxFit } } impl :: std :: cmp :: Eq for GCP_RESULTSA { } unsafe impl :: windows :: Abi for GCP_RESULTSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GCP_RESULTSW { pub lStructSize : u32 , pub lpOutString : super::super::Foundation:: PWSTR , pub lpOrder : * mut u32 , pub lpDx : * mut i32 , pub lpCaretPos : * mut i32 , pub lpClass : super::super::Foundation:: PSTR , pub lpGlyphs : super::super::Foundation:: PWSTR , pub nGlyphs : u32 , pub nMaxFit : i32 } impl GCP_RESULTSW { } impl :: std :: default :: Default for GCP_RESULTSW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for GCP_RESULTSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GCP_RESULTSW" ) . field ( "lStructSize" , & self . lStructSize ) . field ( "lpOutString" , & self . lpOutString ) . field ( "lpOrder" , & self . lpOrder ) . field ( "lpDx" , & self . lpDx ) . field ( "lpCaretPos" , & self . lpCaretPos ) . field ( "lpClass" , & self . lpClass ) . field ( "lpGlyphs" , & self . lpGlyphs ) . field ( "nGlyphs" , & self . nGlyphs ) . field ( "nMaxFit" , & self . nMaxFit ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GCP_RESULTSW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . lpOutString == other . lpOutString && self . lpOrder == other . lpOrder && self . lpDx == other . lpDx && self . lpCaretPos == other . lpCaretPos && self . lpClass == other . lpClass && self . lpGlyphs == other . lpGlyphs && self . nGlyphs == other . nGlyphs && self . nMaxFit == other . nMaxFit } } impl :: std :: cmp :: Eq for GCP_RESULTSW { } unsafe impl :: windows :: Abi for GCP_RESULTSW { type Abi = Self ; type DefaultType = Self ; } pub const GDICOMMENT_BEGINGROUP : u32 = 2u32 ; pub const GDICOMMENT_ENDGROUP : u32 = 3u32 ; pub const GDICOMMENT_IDENTIFIER : u32 = 1128875079u32 ; pub const GDICOMMENT_MULTIFORMATS : u32 = 1073741828u32 ; pub const GDICOMMENT_UNICODE_END : u32 = 128u32 ; pub const GDICOMMENT_UNICODE_STRING : u32 = 64u32 ; pub const GDICOMMENT_WINDOWS_METAFILE : u32 = 2147483649u32 ; pub const GDIPLUS_TS_QUERYVER : u32 = 4122u32 ; pub const GDIPLUS_TS_RECORD : u32 = 4123u32 ; pub const GDIREGISTERDDRAWPACKETVERSION : u32 = 1u32 ; pub const GDI_ERROR : i32 = -1i32 ; pub const GETCOLORTABLE : u32 = 5u32 ; pub const GETDEVICEUNITS : u32 = 42u32 ; pub const GETEXTENDEDTEXTMETRICS : u32 = 256u32 ; pub const GETEXTENTTABLE : u32 = 257u32 ; pub const GETFACENAME : u32 = 513u32 ; pub const GETPAIRKERNTABLE : u32 = 258u32 ; pub const GETPENWIDTH : u32 = 16u32 ; pub const GETPHYSPAGESIZE : u32 = 12u32 ; pub const GETPRINTINGOFFSET : u32 = 13u32 ; pub const GETSCALINGFACTOR : u32 = 14u32 ; pub const GETSETPAPERBINS : u32 = 29u32 ; pub const GETSETPAPERMETRICS : u32 = 35u32 ; pub const GETSETPRINTORIENT : u32 = 30u32 ; pub const GETSETSCREENPARAMS : u32 = 3072u32 ; pub const GETTECHNOLGY : u32 = 20u32 ; pub const GETTECHNOLOGY : u32 = 20u32 ; pub const GETTRACKKERNTABLE : u32 = 259u32 ; pub const GETVECTORBRUSHSIZE : u32 = 27u32 ; pub const GETVECTORPENSIZE : u32 = 26u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_CHARACTER_PLACEMENT_FLAGS ( pub u32 ) ; pub const GCP_CLASSIN : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 524288u32 ) ; pub const GCP_DIACRITIC : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 256u32 ) ; pub const GCP_DISPLAYZWG : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 4194304u32 ) ; pub const GCP_GLYPHSHAPE : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 16u32 ) ; pub const GCP_JUSTIFY : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 65536u32 ) ; pub const GCP_KASHIDA : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 1024u32 ) ; pub const GCP_LIGATE : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 32u32 ) ; pub const GCP_MAXEXTENT : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 1048576u32 ) ; pub const GCP_NEUTRALOVERRIDE : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 33554432u32 ) ; pub const GCP_NUMERICOVERRIDE : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 16777216u32 ) ; pub const GCP_NUMERICSLATIN : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 67108864u32 ) ; pub const GCP_NUMERICSLOCAL : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 134217728u32 ) ; pub const GCP_REORDER : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 2u32 ) ; pub const GCP_SYMSWAPOFF : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 8388608u32 ) ; pub const GCP_USEKERNING : GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS ( 8u32 ) ; impl :: std :: convert :: From < u32 > for GET_CHARACTER_PLACEMENT_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_CHARACTER_PLACEMENT_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GET_CHARACTER_PLACEMENT_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GET_CHARACTER_PLACEMENT_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GET_CHARACTER_PLACEMENT_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GET_CHARACTER_PLACEMENT_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for GET_CHARACTER_PLACEMENT_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_DCX_FLAGS ( pub u32 ) ; pub const DCX_WINDOW : GET_DCX_FLAGS = GET_DCX_FLAGS ( 1u32 ) ; pub const DCX_CACHE : GET_DCX_FLAGS = GET_DCX_FLAGS ( 2u32 ) ; pub const DCX_PARENTCLIP : GET_DCX_FLAGS = GET_DCX_FLAGS ( 32u32 ) ; pub const DCX_CLIPSIBLINGS : GET_DCX_FLAGS = GET_DCX_FLAGS ( 16u32 ) ; pub const DCX_CLIPCHILDREN : GET_DCX_FLAGS = GET_DCX_FLAGS ( 8u32 ) ; pub const DCX_NORESETATTRS : GET_DCX_FLAGS = GET_DCX_FLAGS ( 4u32 ) ; pub const DCX_LOCKWINDOWUPDATE : GET_DCX_FLAGS = GET_DCX_FLAGS ( 1024u32 ) ; pub const DCX_EXCLUDERGN : GET_DCX_FLAGS = GET_DCX_FLAGS ( 64u32 ) ; pub const DCX_INTERSECTRGN : GET_DCX_FLAGS = GET_DCX_FLAGS ( 128u32 ) ; pub const DCX_INTERSECTUPDATE : GET_DCX_FLAGS = GET_DCX_FLAGS ( 512u32 ) ; pub const DCX_VALIDATE : GET_DCX_FLAGS = GET_DCX_FLAGS ( 2097152u32 ) ; impl :: std :: convert :: From < u32 > for GET_DCX_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_DCX_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GET_DCX_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GET_DCX_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GET_DCX_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GET_DCX_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for GET_DCX_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_DEVICE_CAPS_INDEX ( pub u32 ) ; pub const DRIVERVERSION : GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX ( 0u32 ) ; impl :: std :: convert :: From < u32 > for GET_DEVICE_CAPS_INDEX { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_DEVICE_CAPS_INDEX { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GET_DEVICE_CAPS_INDEX { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GET_DEVICE_CAPS_INDEX { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GET_DEVICE_CAPS_INDEX { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GET_DEVICE_CAPS_INDEX { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for GET_DEVICE_CAPS_INDEX { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_GLYPH_OUTLINE_FORMAT ( pub u32 ) ; pub const GGO_BEZIER : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 3u32 ) ; pub const GGO_BITMAP : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 1u32 ) ; pub const GGO_GLYPH_INDEX : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 128u32 ) ; pub const GGO_GRAY2_BITMAP : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 4u32 ) ; pub const GGO_GRAY4_BITMAP : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 5u32 ) ; pub const GGO_GRAY8_BITMAP : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 6u32 ) ; pub const GGO_METRICS : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 0u32 ) ; pub const GGO_NATIVE : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 2u32 ) ; pub const GGO_UNHINTED : GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT ( 256u32 ) ; impl :: std :: convert :: From < u32 > for GET_GLYPH_OUTLINE_FORMAT { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_GLYPH_OUTLINE_FORMAT { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GET_GLYPH_OUTLINE_FORMAT { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GET_GLYPH_OUTLINE_FORMAT { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GET_GLYPH_OUTLINE_FORMAT { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GET_GLYPH_OUTLINE_FORMAT { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for GET_GLYPH_OUTLINE_FORMAT { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const GET_PS_FEATURESETTING : u32 = 4121u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_STOCK_OBJECT_FLAGS ( pub u32 ) ; pub const BLACK_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 4u32 ) ; pub const DKGRAY_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 3u32 ) ; pub const DC_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 18u32 ) ; pub const GRAY_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 2u32 ) ; pub const HOLLOW_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 5u32 ) ; pub const LTGRAY_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 1u32 ) ; pub const NULL_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 5u32 ) ; pub const WHITE_BRUSH : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 0u32 ) ; pub const BLACK_PEN : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 7u32 ) ; pub const DC_PEN : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 19u32 ) ; pub const NULL_PEN : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 8u32 ) ; pub const WHITE_PEN : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 6u32 ) ; pub const ANSI_FIXED_FONT : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 11u32 ) ; pub const ANSI_VAR_FONT : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 12u32 ) ; pub const DEVICE_DEFAULT_FONT : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 14u32 ) ; pub const DEFAULT_GUI_FONT : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 17u32 ) ; pub const OEM_FIXED_FONT : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 10u32 ) ; pub const SYSTEM_FONT : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 13u32 ) ; pub const SYSTEM_FIXED_FONT : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 16u32 ) ; pub const DEFAULT_PALETTE : GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS ( 15u32 ) ; impl :: std :: convert :: From < u32 > for GET_STOCK_OBJECT_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_STOCK_OBJECT_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GET_STOCK_OBJECT_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GET_STOCK_OBJECT_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GET_STOCK_OBJECT_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GET_STOCK_OBJECT_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for GET_STOCK_OBJECT_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const GGI_MARK_NONEXISTING_GLYPHS : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GLYPHMETRICS { pub gmBlackBoxX : u32 , pub gmBlackBoxY : u32 , pub gmptGlyphOrigin : super::super::Foundation:: POINT , pub gmCellIncX : i16 , pub gmCellIncY : i16 } impl GLYPHMETRICS { } impl :: std :: default :: Default for GLYPHMETRICS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for GLYPHMETRICS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GLYPHMETRICS" ) . field ( "gmBlackBoxX" , & self . gmBlackBoxX ) . field ( "gmBlackBoxY" , & self . gmBlackBoxY ) . field ( "gmptGlyphOrigin" , & self . gmptGlyphOrigin ) . field ( "gmCellIncX" , & self . gmCellIncX ) . field ( "gmCellIncY" , & self . gmCellIncY ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GLYPHMETRICS { fn eq ( & self , other : & Self ) -> bool { self . gmBlackBoxX == other . gmBlackBoxX && self . gmBlackBoxY == other . gmBlackBoxY && self . gmptGlyphOrigin == other . gmptGlyphOrigin && self . gmCellIncX == other . gmCellIncX && self . gmCellIncY == other . gmCellIncY } } impl :: std :: cmp :: Eq for GLYPHMETRICS { } unsafe impl :: windows :: Abi for GLYPHMETRICS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GLYPHSET { pub cbThis : u32 , pub flAccel : u32 , pub cGlyphsSupported : u32 , pub cRanges : u32 , pub ranges : [ WCRANGE ;1 ] } impl GLYPHSET { } impl :: std :: default :: Default for GLYPHSET { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for GLYPHSET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GLYPHSET" ) . field ( "cbThis" , & self . cbThis ) . field ( "flAccel" , & self . flAccel ) . field ( "cGlyphsSupported" , & self . cGlyphsSupported ) . field ( "cRanges" , & self . cRanges ) . field ( "ranges" , & self . ranges ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GLYPHSET { fn eq ( & self , other : & Self ) -> bool { self . cbThis == other . cbThis && self . flAccel == other . flAccel && self . cGlyphsSupported == other . cGlyphsSupported && self . cRanges == other . cRanges && self . ranges == other . ranges } } impl :: std :: cmp :: Eq for GLYPHSET { } unsafe impl :: windows :: Abi for GLYPHSET { type Abi = Self ; type DefaultType = Self ; } pub const GM_LAST : u32 = 2u32 ; pub type GOBJENUMPROC = unsafe extern "system" fn ( param0 : * mut :: std :: ffi :: c_void , param1 : super::super::Foundation:: LPARAM ) -> i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GRADIENT_FILL ( pub u32 ) ; pub const GRADIENT_FILL_RECT_H : GRADIENT_FILL = GRADIENT_FILL ( 0u32 ) ; pub const GRADIENT_FILL_RECT_V : GRADIENT_FILL = GRADIENT_FILL ( 1u32 ) ; pub const GRADIENT_FILL_TRIANGLE : GRADIENT_FILL = GRADIENT_FILL ( 2u32 ) ; impl :: std :: convert :: From < u32 > for GRADIENT_FILL { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GRADIENT_FILL { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GRADIENT_FILL { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GRADIENT_FILL { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GRADIENT_FILL { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GRADIENT_FILL { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for GRADIENT_FILL { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const GRADIENT_FILL_OP_FLAG : u32 = 255u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GRADIENT_RECT { pub UpperLeft : u32 , pub LowerRight : u32 } impl GRADIENT_RECT { } impl :: std :: default :: Default for GRADIENT_RECT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for GRADIENT_RECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GRADIENT_RECT" ) . field ( "UpperLeft" , & self . UpperLeft ) . field ( "LowerRight" , & self . LowerRight ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GRADIENT_RECT { fn eq ( & self , other : & Self ) -> bool { self . UpperLeft == other . UpperLeft && self . LowerRight == other . LowerRight } } impl :: std :: cmp :: Eq for GRADIENT_RECT { } unsafe impl :: windows :: Abi for GRADIENT_RECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GRADIENT_TRIANGLE { pub Vertex1 : u32 , pub Vertex2 : u32 , pub Vertex3 : u32 } impl GRADIENT_TRIANGLE { } impl :: std :: default :: Default for GRADIENT_TRIANGLE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for GRADIENT_TRIANGLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GRADIENT_TRIANGLE" ) . field ( "Vertex1" , & self . Vertex1 ) . field ( "Vertex2" , & self . Vertex2 ) . field ( "Vertex3" , & self . Vertex3 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GRADIENT_TRIANGLE { fn eq ( & self , other : & Self ) -> bool { self . Vertex1 == other . Vertex1 && self . Vertex2 == other . Vertex2 && self . Vertex3 == other . Vertex3 } } impl :: std :: cmp :: Eq for GRADIENT_TRIANGLE { } unsafe impl :: windows :: Abi for GRADIENT_TRIANGLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GRAPHICS_MODE ( pub u32 ) ; pub const GM_COMPATIBLE : GRAPHICS_MODE = GRAPHICS_MODE ( 1u32 ) ; pub const GM_ADVANCED : GRAPHICS_MODE = GRAPHICS_MODE ( 2u32 ) ; impl :: std :: convert :: From < u32 > for GRAPHICS_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GRAPHICS_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GRAPHICS_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GRAPHICS_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GRAPHICS_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GRAPHICS_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for GRAPHICS_MODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub type GRAYSTRINGPROC = unsafe extern "system" fn ( param0 : HDC , param1 : super::super::Foundation:: LPARAM , param2 : i32 ) -> super::super::Foundation:: BOOL ; pub const GREEK_CHARSET : u32 = 161u32 ; pub const GS_8BIT_INDICES : u32 = 1u32 ; pub unsafe fn GdiAlphaBlend < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , HDC > , Param10 : :: windows :: IntoParam < 'a , BLENDFUNCTION > , > ( hdcdest : Param0 , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : Param5 , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , ftn : Param10 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GdiAlphaBlend ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , ftn : BLENDFUNCTION ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GdiAlphaBlend ( hdcdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xorigindest ) , :: std :: mem :: transmute ( yorigindest ) , :: std :: mem :: transmute ( wdest ) , :: std :: mem :: transmute ( hdest ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xoriginsrc ) , :: std :: mem :: transmute ( yoriginsrc ) , :: std :: mem :: transmute ( wsrc ) , :: std :: mem :: transmute ( hsrc ) , ftn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GdiComment < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , nsize : u32 , lpdata : * const u8 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GdiComment ( hdc : HDC , nsize : u32 , lpdata : * const u8 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GdiComment ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nsize ) , :: std :: mem :: transmute ( lpdata ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GdiFlush < > ( ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GdiFlush ( ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GdiFlush ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GdiGetBatchLimit < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GdiGetBatchLimit ( ) -> u32 ; } :: std :: mem :: transmute ( GdiGetBatchLimit ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GdiGradientFill < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , pvertex : * const TRIVERTEX , nvertex : u32 , pmesh : * const :: std :: ffi :: c_void , ncount : u32 , ulmode : GRADIENT_FILL , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GdiGradientFill ( hdc : HDC , pvertex : * const TRIVERTEX , nvertex : u32 , pmesh : * const :: std :: ffi :: c_void , ncount : u32 , ulmode : GRADIENT_FILL ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GdiGradientFill ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pvertex ) , :: std :: mem :: transmute ( nvertex ) , :: std :: mem :: transmute ( pmesh ) , :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( ulmode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GdiSetBatchLimit < > ( dw : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GdiSetBatchLimit ( dw : u32 ) -> u32 ; } :: std :: mem :: transmute ( GdiSetBatchLimit ( :: std :: mem :: transmute ( dw ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GdiTransparentBlt < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , HDC > , > ( hdcdest : Param0 , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : Param5 , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , crtransparent : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GdiTransparentBlt ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , crtransparent : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GdiTransparentBlt ( hdcdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xorigindest ) , :: std :: mem :: transmute ( yorigindest ) , :: std :: mem :: transmute ( wdest ) , :: std :: mem :: transmute ( hdest ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xoriginsrc ) , :: std :: mem :: transmute ( yoriginsrc ) , :: std :: mem :: transmute ( wsrc ) , :: std :: mem :: transmute ( hsrc ) , :: std :: mem :: transmute ( crtransparent ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetArcDirection < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetArcDirection ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetArcDirection ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetAspectRatioFilterEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpsize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetAspectRatioFilterEx ( hdc : HDC , lpsize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetAspectRatioFilterEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetBitmapBits < 'a , Param0 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hbit : Param0 , cb : i32 , lpvbits : * mut :: std :: ffi :: c_void , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetBitmapBits ( hbit : HBITMAP , cb : i32 , lpvbits : * mut :: std :: ffi :: c_void ) -> i32 ; } :: std :: mem :: transmute ( GetBitmapBits ( hbit . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( lpvbits ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetBitmapDimensionEx < 'a , Param0 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hbit : Param0 , lpsize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetBitmapDimensionEx ( hbit : HBITMAP , lpsize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetBitmapDimensionEx ( hbit . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetBkColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetBkColor ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetBkColor ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetBkMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetBkMode ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetBkMode ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetBoundsRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lprect : * mut super::super::Foundation:: RECT , flags : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetBoundsRect ( hdc : HDC , lprect : * mut super::super::Foundation:: RECT , flags : u32 ) -> u32 ; } :: std :: mem :: transmute ( GetBoundsRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) , :: std :: mem :: transmute ( flags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetBrushOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetBrushOrgEx ( hdc : HDC , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetBrushOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharABCWidthsA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , wfirst : u32 , wlast : u32 , lpabc : * mut ABC , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharABCWidthsA ( hdc : HDC , wfirst : u32 , wlast : u32 , lpabc : * mut ABC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharABCWidthsA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( wfirst ) , :: std :: mem :: transmute ( wlast ) , :: std :: mem :: transmute ( lpabc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharABCWidthsFloatA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpabc : * mut ABCFLOAT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharABCWidthsFloatA ( hdc : HDC , ifirst : u32 , ilast : u32 , lpabc : * mut ABCFLOAT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharABCWidthsFloatA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpabc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharABCWidthsFloatW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpabc : * mut ABCFLOAT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharABCWidthsFloatW ( hdc : HDC , ifirst : u32 , ilast : u32 , lpabc : * mut ABCFLOAT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharABCWidthsFloatW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpabc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharABCWidthsI < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , gifirst : u32 , cgi : u32 , pgi : * const u16 , pabc : * mut ABC , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharABCWidthsI ( hdc : HDC , gifirst : u32 , cgi : u32 , pgi : * const u16 , pabc : * mut ABC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharABCWidthsI ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( gifirst ) , :: std :: mem :: transmute ( cgi ) , :: std :: mem :: transmute ( pgi ) , :: std :: mem :: transmute ( pabc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharABCWidthsW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , wfirst : u32 , wlast : u32 , lpabc : * mut ABC , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharABCWidthsW ( hdc : HDC , wfirst : u32 , wlast : u32 , lpabc : * mut ABC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharABCWidthsW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( wfirst ) , :: std :: mem :: transmute ( wlast ) , :: std :: mem :: transmute ( lpabc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharWidth32A < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharWidth32A ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharWidth32A ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharWidth32W < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharWidth32W ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharWidth32W ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharWidthA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharWidthA ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharWidthA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharWidthFloatA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpbuffer : * mut f32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharWidthFloatA ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : * mut f32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharWidthFloatA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharWidthFloatW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpbuffer : * mut f32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharWidthFloatW ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : * mut f32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharWidthFloatW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharWidthI < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , gifirst : u32 , cgi : u32 , pgi : * const u16 , piwidths : * mut i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharWidthI ( hdc : HDC , gifirst : u32 , cgi : u32 , pgi : * const u16 , piwidths : * mut i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharWidthI ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( gifirst ) , :: std :: mem :: transmute ( cgi ) , :: std :: mem :: transmute ( pgi ) , :: std :: mem :: transmute ( piwidths ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharWidthW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharWidthW ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : * mut i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCharWidthW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ifirst ) , :: std :: mem :: transmute ( ilast ) , :: std :: mem :: transmute ( lpbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharacterPlacementA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpstring : Param1 , ncount : i32 , nmexextent : i32 , lpresults : * mut GCP_RESULTSA , dwflags : GET_CHARACTER_PLACEMENT_FLAGS , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharacterPlacementA ( hdc : HDC , lpstring : super::super::Foundation:: PSTR , ncount : i32 , nmexextent : i32 , lpresults : * mut GCP_RESULTSA , dwflags : GET_CHARACTER_PLACEMENT_FLAGS ) -> u32 ; } :: std :: mem :: transmute ( GetCharacterPlacementA ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( nmexextent ) , :: std :: mem :: transmute ( lpresults ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCharacterPlacementW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpstring : Param1 , ncount : i32 , nmexextent : i32 , lpresults : * mut GCP_RESULTSW , dwflags : GET_CHARACTER_PLACEMENT_FLAGS , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCharacterPlacementW ( hdc : HDC , lpstring : super::super::Foundation:: PWSTR , ncount : i32 , nmexextent : i32 , lpresults : * mut GCP_RESULTSW , dwflags : GET_CHARACTER_PLACEMENT_FLAGS ) -> u32 ; } :: std :: mem :: transmute ( GetCharacterPlacementW ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( nmexextent ) , :: std :: mem :: transmute ( lpresults ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClipBox < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lprect : * mut super::super::Foundation:: RECT , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetClipBox ( hdc : HDC , lprect : * mut super::super::Foundation:: RECT ) -> i32 ; } :: std :: mem :: transmute ( GetClipBox ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClipRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hdc : Param0 , hrgn : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetClipRgn ( hdc : HDC , hrgn : HRGN ) -> i32 ; } :: std :: mem :: transmute ( GetClipRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetColorAdjustment < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpca : * mut COLORADJUSTMENT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetColorAdjustment ( hdc : HDC , lpca : * mut COLORADJUSTMENT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetColorAdjustment ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpca ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentObject < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , r#type : OBJ_TYPE , ) -> HGDIOBJ { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCurrentObject ( hdc : HDC , r#type : OBJ_TYPE ) -> HGDIOBJ ; } :: std :: mem :: transmute ( GetCurrentObject ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( r#type ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentPositionEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetCurrentPositionEx ( hdc : HDC , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetCurrentPositionEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDC < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , ) -> HDC { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetDC ( hwnd : super::super::Foundation:: HWND ) -> HDC ; } :: std :: mem :: transmute ( GetDC ( hwnd . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDCBrushColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetDCBrushColor ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetDCBrushColor ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDCEx < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hwnd : Param0 , hrgnclip : Param1 , flags : GET_DCX_FLAGS , ) -> HDC { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetDCEx ( hwnd : super::super::Foundation:: HWND , hrgnclip : HRGN , flags : GET_DCX_FLAGS ) -> HDC ; } :: std :: mem :: transmute ( GetDCEx ( hwnd . into_param ( ) . abi ( ) , hrgnclip . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( flags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDCOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetDCOrgEx ( hdc : HDC , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetDCOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDCPenColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetDCPenColor ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetDCPenColor ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDIBColorTable < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , istart : u32 , centries : u32 , prgbq : * mut RGBQUAD , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetDIBColorTable ( hdc : HDC , istart : u32 , centries : u32 , prgbq : * mut RGBQUAD ) -> u32 ; } :: std :: mem :: transmute ( GetDIBColorTable ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( istart ) , :: std :: mem :: transmute ( centries ) , :: std :: mem :: transmute ( prgbq ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDIBits < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hdc : Param0 , hbm : Param1 , start : u32 , clines : u32 , lpvbits : * mut :: std :: ffi :: c_void , lpbmi : * mut BITMAPINFO , usage : DIB_USAGE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetDIBits ( hdc : HDC , hbm : HBITMAP , start : u32 , clines : u32 , lpvbits : * mut :: std :: ffi :: c_void , lpbmi : * mut BITMAPINFO , usage : DIB_USAGE ) -> i32 ; } :: std :: mem :: transmute ( GetDIBits ( hdc . into_param ( ) . abi ( ) , hbm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( start ) , :: std :: mem :: transmute ( clines ) , :: std :: mem :: transmute ( lpvbits ) , :: std :: mem :: transmute ( lpbmi ) , :: std :: mem :: transmute ( usage ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDeviceCaps < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , index : GET_DEVICE_CAPS_INDEX , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetDeviceCaps ( hdc : HDC , index : GET_DEVICE_CAPS_INDEX ) -> i32 ; } :: std :: mem :: transmute ( GetDeviceCaps ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( index ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnhMetaFileA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( lpname : Param0 , ) -> HENHMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetEnhMetaFileA ( lpname : super::super::Foundation:: PSTR ) -> HENHMETAFILE ; } :: std :: mem :: transmute ( GetEnhMetaFileA ( lpname . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnhMetaFileBits < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hemf : Param0 , nsize : u32 , lpdata : * mut u8 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetEnhMetaFileBits ( hemf : HENHMETAFILE , nsize : u32 , lpdata : * mut u8 ) -> u32 ; } :: std :: mem :: transmute ( GetEnhMetaFileBits ( hemf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nsize ) , :: std :: mem :: transmute ( lpdata ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnhMetaFileDescriptionA < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hemf : Param0 , cchbuffer : u32 , lpdescription : super::super::Foundation:: PSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetEnhMetaFileDescriptionA ( hemf : HENHMETAFILE , cchbuffer : u32 , lpdescription : super::super::Foundation:: PSTR ) -> u32 ; } :: std :: mem :: transmute ( GetEnhMetaFileDescriptionA ( hemf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchbuffer ) , :: std :: mem :: transmute ( lpdescription ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnhMetaFileDescriptionW < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hemf : Param0 , cchbuffer : u32 , lpdescription : super::super::Foundation:: PWSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetEnhMetaFileDescriptionW ( hemf : HENHMETAFILE , cchbuffer : u32 , lpdescription : super::super::Foundation:: PWSTR ) -> u32 ; } :: std :: mem :: transmute ( GetEnhMetaFileDescriptionW ( hemf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchbuffer ) , :: std :: mem :: transmute ( lpdescription ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnhMetaFileHeader < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hemf : Param0 , nsize : u32 , lpenhmetaheader : * mut ENHMETAHEADER , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetEnhMetaFileHeader ( hemf : HENHMETAFILE , nsize : u32 , lpenhmetaheader : * mut ENHMETAHEADER ) -> u32 ; } :: std :: mem :: transmute ( GetEnhMetaFileHeader ( hemf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nsize ) , :: std :: mem :: transmute ( lpenhmetaheader ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnhMetaFilePaletteEntries < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hemf : Param0 , nnumentries : u32 , lppaletteentries : * mut PALETTEENTRY , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetEnhMetaFilePaletteEntries ( hemf : HENHMETAFILE , nnumentries : u32 , lppaletteentries : * mut PALETTEENTRY ) -> u32 ; } :: std :: mem :: transmute ( GetEnhMetaFilePaletteEntries ( hemf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nnumentries ) , :: std :: mem :: transmute ( lppaletteentries ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnhMetaFileW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( lpname : Param0 , ) -> HENHMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetEnhMetaFileW ( lpname : super::super::Foundation:: PWSTR ) -> HENHMETAFILE ; } :: std :: mem :: transmute ( GetEnhMetaFileW ( lpname . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFontData < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , dwtable : u32 , dwoffset : u32 , pvbuffer : * mut :: std :: ffi :: c_void , cjbuffer : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetFontData ( hdc : HDC , dwtable : u32 , dwoffset : u32 , pvbuffer : * mut :: std :: ffi :: c_void , cjbuffer : u32 ) -> u32 ; } :: std :: mem :: transmute ( GetFontData ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwtable ) , :: std :: mem :: transmute ( dwoffset ) , :: std :: mem :: transmute ( pvbuffer ) , :: std :: mem :: transmute ( cjbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFontLanguageInfo < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetFontLanguageInfo ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetFontLanguageInfo ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFontUnicodeRanges < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpgs : * mut GLYPHSET , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetFontUnicodeRanges ( hdc : HDC , lpgs : * mut GLYPHSET ) -> u32 ; } :: std :: mem :: transmute ( GetFontUnicodeRanges ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpgs ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetGlyphIndicesA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpstr : Param1 , c : i32 , pgi : * mut u16 , fl : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetGlyphIndicesA ( hdc : HDC , lpstr : super::super::Foundation:: PSTR , c : i32 , pgi : * mut u16 , fl : u32 ) -> u32 ; } :: std :: mem :: transmute ( GetGlyphIndicesA ( hdc . into_param ( ) . abi ( ) , lpstr . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( pgi ) , :: std :: mem :: transmute ( fl ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetGlyphIndicesW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpstr : Param1 , c : i32 , pgi : * mut u16 , fl : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetGlyphIndicesW ( hdc : HDC , lpstr : super::super::Foundation:: PWSTR , c : i32 , pgi : * mut u16 , fl : u32 ) -> u32 ; } :: std :: mem :: transmute ( GetGlyphIndicesW ( hdc . into_param ( ) . abi ( ) , lpstr . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( pgi ) , :: std :: mem :: transmute ( fl ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetGlyphOutlineA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , uchar : u32 , fuformat : GET_GLYPH_OUTLINE_FORMAT , lpgm : * mut GLYPHMETRICS , cjbuffer : u32 , pvbuffer : * mut :: std :: ffi :: c_void , lpmat2 : * const MAT2 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetGlyphOutlineA ( hdc : HDC , uchar : u32 , fuformat : GET_GLYPH_OUTLINE_FORMAT , lpgm : * mut GLYPHMETRICS , cjbuffer : u32 , pvbuffer : * mut :: std :: ffi :: c_void , lpmat2 : * const MAT2 ) -> u32 ; } :: std :: mem :: transmute ( GetGlyphOutlineA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( uchar ) , :: std :: mem :: transmute ( fuformat ) , :: std :: mem :: transmute ( lpgm ) , :: std :: mem :: transmute ( cjbuffer ) , :: std :: mem :: transmute ( pvbuffer ) , :: std :: mem :: transmute ( lpmat2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetGlyphOutlineW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , uchar : u32 , fuformat : GET_GLYPH_OUTLINE_FORMAT , lpgm : * mut GLYPHMETRICS , cjbuffer : u32 , pvbuffer : * mut :: std :: ffi :: c_void , lpmat2 : * const MAT2 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetGlyphOutlineW ( hdc : HDC , uchar : u32 , fuformat : GET_GLYPH_OUTLINE_FORMAT , lpgm : * mut GLYPHMETRICS , cjbuffer : u32 , pvbuffer : * mut :: std :: ffi :: c_void , lpmat2 : * const MAT2 ) -> u32 ; } :: std :: mem :: transmute ( GetGlyphOutlineW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( uchar ) , :: std :: mem :: transmute ( fuformat ) , :: std :: mem :: transmute ( lpgm ) , :: std :: mem :: transmute ( cjbuffer ) , :: std :: mem :: transmute ( pvbuffer ) , :: std :: mem :: transmute ( lpmat2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetGraphicsMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetGraphicsMode ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetGraphicsMode ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetKerningPairsA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , npairs : u32 , lpkernpair : * mut KERNINGPAIR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetKerningPairsA ( hdc : HDC , npairs : u32 , lpkernpair : * mut KERNINGPAIR ) -> u32 ; } :: std :: mem :: transmute ( GetKerningPairsA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( npairs ) , :: std :: mem :: transmute ( lpkernpair ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetKerningPairsW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , npairs : u32 , lpkernpair : * mut KERNINGPAIR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetKerningPairsW ( hdc : HDC , npairs : u32 , lpkernpair : * mut KERNINGPAIR ) -> u32 ; } :: std :: mem :: transmute ( GetKerningPairsW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( npairs ) , :: std :: mem :: transmute ( lpkernpair ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLayout < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetLayout ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetLayout ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMapMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetMapMode ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetMapMode ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMetaFileA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( lpname : Param0 , ) -> HMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetMetaFileA ( lpname : super::super::Foundation:: PSTR ) -> HMETAFILE ; } :: std :: mem :: transmute ( GetMetaFileA ( lpname . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMetaFileBitsEx < 'a , Param0 : :: windows :: IntoParam < 'a , HMETAFILE > , > ( hmf : Param0 , cbbuffer : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetMetaFileBitsEx ( hmf : HMETAFILE , cbbuffer : u32 , lpdata : * mut :: std :: ffi :: c_void ) -> u32 ; } :: std :: mem :: transmute ( GetMetaFileBitsEx ( hmf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cbbuffer ) , :: std :: mem :: transmute ( lpdata ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMetaFileW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( lpname : Param0 , ) -> HMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetMetaFileW ( lpname : super::super::Foundation:: PWSTR ) -> HMETAFILE ; } :: std :: mem :: transmute ( GetMetaFileW ( lpname . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMetaRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hdc : Param0 , hrgn : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetMetaRgn ( hdc : HDC , hrgn : HRGN ) -> i32 ; } :: std :: mem :: transmute ( GetMetaRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMiterLimit < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , plimit : * mut f32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetMiterLimit ( hdc : HDC , plimit : * mut f32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetMiterLimit ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( plimit ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMonitorInfoA < 'a , Param0 : :: windows :: IntoParam < 'a , HMONITOR > , > ( hmonitor : Param0 , lpmi : * mut MONITORINFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetMonitorInfoA ( hmonitor : HMONITOR , lpmi : * mut MONITORINFO ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetMonitorInfoA ( hmonitor . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpmi ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMonitorInfoW < 'a , Param0 : :: windows :: IntoParam < 'a , HMONITOR > , > ( hmonitor : Param0 , lpmi : * mut MONITORINFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetMonitorInfoW ( hmonitor : HMONITOR , lpmi : * mut MONITORINFO ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetMonitorInfoW ( hmonitor . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpmi ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNearestColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , color : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetNearestColor ( hdc : HDC , color : u32 ) -> u32 ; } :: std :: mem :: transmute ( GetNearestColor ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNearestPaletteIndex < 'a , Param0 : :: windows :: IntoParam < 'a , HPALETTE > , > ( h : Param0 , color : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetNearestPaletteIndex ( h : HPALETTE , color : u32 ) -> u32 ; } :: std :: mem :: transmute ( GetNearestPaletteIndex ( h . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetObjectA < 'a , Param0 : :: windows :: IntoParam < 'a , HGDIOBJ > , > ( h : Param0 , c : i32 , pv : * mut :: std :: ffi :: c_void , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetObjectA ( h : HGDIOBJ , c : i32 , pv : * mut :: std :: ffi :: c_void ) -> i32 ; } :: std :: mem :: transmute ( GetObjectA ( h . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( pv ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetObjectType < 'a , Param0 : :: windows :: IntoParam < 'a , HGDIOBJ > , > ( h : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetObjectType ( h : HGDIOBJ ) -> u32 ; } :: std :: mem :: transmute ( GetObjectType ( h . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetObjectW < 'a , Param0 : :: windows :: IntoParam < 'a , HGDIOBJ > , > ( h : Param0 , c : i32 , pv : * mut :: std :: ffi :: c_void , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetObjectW ( h : HGDIOBJ , c : i32 , pv : * mut :: std :: ffi :: c_void ) -> i32 ; } :: std :: mem :: transmute ( GetObjectW ( h . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( pv ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetOutlineTextMetricsA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , cjcopy : u32 , potm : * mut OUTLINETEXTMETRICA , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetOutlineTextMetricsA ( hdc : HDC , cjcopy : u32 , potm : * mut OUTLINETEXTMETRICA ) -> u32 ; } :: std :: mem :: transmute ( GetOutlineTextMetricsA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cjcopy ) , :: std :: mem :: transmute ( potm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetOutlineTextMetricsW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , cjcopy : u32 , potm : * mut OUTLINETEXTMETRICW , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetOutlineTextMetricsW ( hdc : HDC , cjcopy : u32 , potm : * mut OUTLINETEXTMETRICW ) -> u32 ; } :: std :: mem :: transmute ( GetOutlineTextMetricsW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cjcopy ) , :: std :: mem :: transmute ( potm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPaletteEntries < 'a , Param0 : :: windows :: IntoParam < 'a , HPALETTE > , > ( hpal : Param0 , istart : u32 , centries : u32 , ppalentries : * mut PALETTEENTRY , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetPaletteEntries ( hpal : HPALETTE , istart : u32 , centries : u32 , ppalentries : * mut PALETTEENTRY ) -> u32 ; } :: std :: mem :: transmute ( GetPaletteEntries ( hpal . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( istart ) , :: std :: mem :: transmute ( centries ) , :: std :: mem :: transmute ( ppalentries ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * mut super::super::Foundation:: POINT , aj : * mut u8 , cpt : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetPath ( hdc : HDC , apt : * mut super::super::Foundation:: POINT , aj : * mut u8 , cpt : i32 ) -> i32 ; } :: std :: mem :: transmute ( GetPath ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( aj ) , :: std :: mem :: transmute ( cpt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPixel < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetPixel ( hdc : HDC , x : i32 , y : i32 ) -> u32 ; } :: std :: mem :: transmute ( GetPixel ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPolyFillMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetPolyFillMode ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetPolyFillMode ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetROP2 < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetROP2 ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetROP2 ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetRandomRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hdc : Param0 , hrgn : Param1 , i : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetRandomRgn ( hdc : HDC , hrgn : HRGN , i : i32 ) -> i32 ; } :: std :: mem :: transmute ( GetRandomRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( i ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetRasterizerCaps < > ( lpraststat : * mut RASTERIZER_STATUS , cjbytes : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetRasterizerCaps ( lpraststat : * mut RASTERIZER_STATUS , cjbytes : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetRasterizerCaps ( :: std :: mem :: transmute ( lpraststat ) , :: std :: mem :: transmute ( cjbytes ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetRegionData < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgn : Param0 , ncount : u32 , lprgndata : * mut RGNDATA , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetRegionData ( hrgn : HRGN , ncount : u32 , lprgndata : * mut RGNDATA ) -> u32 ; } :: std :: mem :: transmute ( GetRegionData ( hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( lprgndata ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetRgnBox < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgn : Param0 , lprc : * mut super::super::Foundation:: RECT , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetRgnBox ( hrgn : HRGN , lprc : * mut super::super::Foundation:: RECT ) -> i32 ; } :: std :: mem :: transmute ( GetRgnBox ( hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetStockObject < > ( i : GET_STOCK_OBJECT_FLAGS , ) -> HGDIOBJ { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetStockObject ( i : GET_STOCK_OBJECT_FLAGS ) -> HGDIOBJ ; } :: std :: mem :: transmute ( GetStockObject ( :: std :: mem :: transmute ( i ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetStretchBltMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetStretchBltMode ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetStretchBltMode ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSysColorBrush < > ( nindex : i32 , ) -> HBRUSH { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetSysColorBrush ( nindex : i32 ) -> HBRUSH ; } :: std :: mem :: transmute ( GetSysColorBrush ( :: std :: mem :: transmute ( nindex ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSystemPaletteEntries < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , istart : u32 , centries : u32 , ppalentries : * mut PALETTEENTRY , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetSystemPaletteEntries ( hdc : HDC , istart : u32 , centries : u32 , ppalentries : * mut PALETTEENTRY ) -> u32 ; } :: std :: mem :: transmute ( GetSystemPaletteEntries ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( istart ) , :: std :: mem :: transmute ( centries ) , :: std :: mem :: transmute ( ppalentries ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSystemPaletteUse < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetSystemPaletteUse ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetSystemPaletteUse ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTabbedTextExtentA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpstring : Param1 , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetTabbedTextExtentA ( hdc : HDC , lpstring : super::super::Foundation:: PSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 ) -> u32 ; } :: std :: mem :: transmute ( GetTabbedTextExtentA ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( chcount ) , :: std :: mem :: transmute ( ntabpositions ) , :: std :: mem :: transmute ( lpntabstoppositions ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTabbedTextExtentW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpstring : Param1 , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetTabbedTextExtentW ( hdc : HDC , lpstring : super::super::Foundation:: PWSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 ) -> u32 ; } :: std :: mem :: transmute ( GetTabbedTextExtentW ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( chcount ) , :: std :: mem :: transmute ( ntabpositions ) , :: std :: mem :: transmute ( lpntabstoppositions ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextAlign < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextAlign ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetTextAlign ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextCharacterExtra < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextCharacterExtra ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( GetTextCharacterExtra ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextColor ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetTextColor ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentExPointA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpszstring : Param1 , cchstring : i32 , nmaxextent : i32 , lpnfit : * mut i32 , lpndx : * mut i32 , lpsize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentExPointA ( hdc : HDC , lpszstring : super::super::Foundation:: PSTR , cchstring : i32 , nmaxextent : i32 , lpnfit : * mut i32 , lpndx : * mut i32 , lpsize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentExPointA ( hdc . into_param ( ) . abi ( ) , lpszstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchstring ) , :: std :: mem :: transmute ( nmaxextent ) , :: std :: mem :: transmute ( lpnfit ) , :: std :: mem :: transmute ( lpndx ) , :: std :: mem :: transmute ( lpsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentExPointI < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpwszstring : * const u16 , cwchstring : i32 , nmaxextent : i32 , lpnfit : * mut i32 , lpndx : * mut i32 , lpsize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentExPointI ( hdc : HDC , lpwszstring : * const u16 , cwchstring : i32 , nmaxextent : i32 , lpnfit : * mut i32 , lpndx : * mut i32 , lpsize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentExPointI ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpwszstring ) , :: std :: mem :: transmute ( cwchstring ) , :: std :: mem :: transmute ( nmaxextent ) , :: std :: mem :: transmute ( lpnfit ) , :: std :: mem :: transmute ( lpndx ) , :: std :: mem :: transmute ( lpsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentExPointW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpszstring : Param1 , cchstring : i32 , nmaxextent : i32 , lpnfit : * mut i32 , lpndx : * mut i32 , lpsize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentExPointW ( hdc : HDC , lpszstring : super::super::Foundation:: PWSTR , cchstring : i32 , nmaxextent : i32 , lpnfit : * mut i32 , lpndx : * mut i32 , lpsize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentExPointW ( hdc . into_param ( ) . abi ( ) , lpszstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchstring ) , :: std :: mem :: transmute ( nmaxextent ) , :: std :: mem :: transmute ( lpnfit ) , :: std :: mem :: transmute ( lpndx ) , :: std :: mem :: transmute ( lpsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentPoint32A < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpstring : Param1 , c : i32 , psizl : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentPoint32A ( hdc : HDC , lpstring : super::super::Foundation:: PSTR , c : i32 , psizl : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentPoint32A ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( psizl ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentPoint32W < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpstring : Param1 , c : i32 , psizl : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentPoint32W ( hdc : HDC , lpstring : super::super::Foundation:: PWSTR , c : i32 , psizl : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentPoint32W ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( psizl ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentPointA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , lpstring : Param1 , c : i32 , lpsz : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentPointA ( hdc : HDC , lpstring : super::super::Foundation:: PSTR , c : i32 , lpsz : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentPointA ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( lpsz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentPointI < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , pgiin : * const u16 , cgi : i32 , psize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentPointI ( hdc : HDC , pgiin : * const u16 , cgi : i32 , psize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentPointI ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pgiin ) , :: std :: mem :: transmute ( cgi ) , :: std :: mem :: transmute ( psize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextExtentPointW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , lpstring : Param1 , c : i32 , lpsz : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextExtentPointW ( hdc : HDC , lpstring : super::super::Foundation:: PWSTR , c : i32 , lpsz : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextExtentPointW ( hdc . into_param ( ) . abi ( ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( lpsz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextFaceA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , c : i32 , lpname : super::super::Foundation:: PSTR , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextFaceA ( hdc : HDC , c : i32 , lpname : super::super::Foundation:: PSTR ) -> i32 ; } :: std :: mem :: transmute ( GetTextFaceA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( lpname ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextFaceW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , c : i32 , lpname : super::super::Foundation:: PWSTR , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextFaceW ( hdc : HDC , c : i32 , lpname : super::super::Foundation:: PWSTR ) -> i32 ; } :: std :: mem :: transmute ( GetTextFaceW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) , :: std :: mem :: transmute ( lpname ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextMetricsA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lptm : * mut TEXTMETRICA , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextMetricsA ( hdc : HDC , lptm : * mut TEXTMETRICA ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextMetricsA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lptm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTextMetricsW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lptm : * mut TEXTMETRICW , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetTextMetricsW ( hdc : HDC , lptm : * mut TEXTMETRICW ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetTextMetricsW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lptm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetUpdateRect < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , > ( hwnd : Param0 , lprect : * mut super::super::Foundation:: RECT , berase : Param2 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetUpdateRect ( hwnd : super::super::Foundation:: HWND , lprect : * mut super::super::Foundation:: RECT , berase : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetUpdateRect ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) , berase . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetUpdateRgn < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HRGN > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , > ( hwnd : Param0 , hrgn : Param1 , berase : Param2 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetUpdateRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN , berase : super::super::Foundation:: BOOL ) -> i32 ; } :: std :: mem :: transmute ( GetUpdateRgn ( hwnd . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) , berase . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetViewportExtEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpsize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetViewportExtEx ( hdc : HDC , lpsize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetViewportExtEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetViewportOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lppoint : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetViewportOrgEx ( hdc : HDC , lppoint : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetViewportOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppoint ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWinMetaFileBits < 'a , Param0 : :: windows :: IntoParam < 'a , HENHMETAFILE > , Param4 : :: windows :: IntoParam < 'a , HDC > , > ( hemf : Param0 , cbdata16 : u32 , pdata16 : * mut u8 , imapmode : i32 , hdcref : Param4 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetWinMetaFileBits ( hemf : HENHMETAFILE , cbdata16 : u32 , pdata16 : * mut u8 , imapmode : i32 , hdcref : HDC ) -> u32 ; } :: std :: mem :: transmute ( GetWinMetaFileBits ( hemf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cbdata16 ) , :: std :: mem :: transmute ( pdata16 ) , :: std :: mem :: transmute ( imapmode ) , hdcref . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowDC < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , ) -> HDC { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetWindowDC ( hwnd : super::super::Foundation:: HWND ) -> HDC ; } :: std :: mem :: transmute ( GetWindowDC ( hwnd . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowExtEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpsize : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetWindowExtEx ( hdc : HDC , lpsize : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetWindowExtEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lppoint : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetWindowOrgEx ( hdc : HDC , lppoint : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetWindowOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppoint ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowRgn < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hwnd : Param0 , hrgn : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetWindowRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN ) -> i32 ; } :: std :: mem :: transmute ( GetWindowRgn ( hwnd . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowRgnBox < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , lprc : * mut super::super::Foundation:: RECT , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GetWindowRgnBox ( hwnd : super::super::Foundation:: HWND , lprc : * mut super::super::Foundation:: RECT ) -> i32 ; } :: std :: mem :: transmute ( GetWindowRgnBox ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWorldTransform < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpxf : * mut XFORM , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn GetWorldTransform ( hdc : HDC , lpxf : * mut XFORM ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetWorldTransform ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpxf ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GradientFill < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , pvertex : * const TRIVERTEX , nvertex : u32 , pmesh : * const :: std :: ffi :: c_void , nmesh : u32 , ulmode : GRADIENT_FILL , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="msimg32" ) ] extern "system" { fn GradientFill ( hdc : HDC , pvertex : * const TRIVERTEX , nvertex : u32 , pmesh : * const :: std :: ffi :: c_void , nmesh : u32 , ulmode : GRADIENT_FILL ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GradientFill ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pvertex ) , :: std :: mem :: transmute ( nvertex ) , :: std :: mem :: transmute ( pmesh ) , :: std :: mem :: transmute ( nmesh ) , :: std :: mem :: transmute ( ulmode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GrayStringA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HBRUSH > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , hbrush : Param1 , lpoutputfunc : :: std :: option :: Option < GRAYSTRINGPROC > , lpdata : Param3 , ncount : i32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GrayStringA ( hdc : HDC , hbrush : HBRUSH , lpoutputfunc : :: windows :: RawPtr , lpdata : super::super::Foundation:: LPARAM , ncount : i32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GrayStringA ( hdc . into_param ( ) . abi ( ) , hbrush . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpoutputfunc ) , lpdata . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( nwidth ) , :: std :: mem :: transmute ( nheight ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GrayStringW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HBRUSH > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( hdc : Param0 , hbrush : Param1 , lpoutputfunc : :: std :: option :: Option < GRAYSTRINGPROC > , lpdata : Param3 , ncount : i32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn GrayStringW ( hdc : HDC , hbrush : HBRUSH , lpoutputfunc : :: windows :: RawPtr , lpdata : super::super::Foundation:: LPARAM , ncount : i32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GrayStringW ( hdc . into_param ( ) . abi ( ) , hbrush . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpoutputfunc ) , lpdata . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( nwidth ) , :: std :: mem :: transmute ( nheight ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct HANDLETABLE { pub objectHandle : [ HGDIOBJ ;1 ] } impl HANDLETABLE { } impl :: std :: default :: Default for HANDLETABLE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for HANDLETABLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HANDLETABLE" ) . field ( "objectHandle" , & self . objectHandle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HANDLETABLE { fn eq ( & self , other : & Self ) -> bool { self . objectHandle == other . objectHandle } } impl :: std :: cmp :: Eq for HANDLETABLE { } unsafe impl :: windows :: Abi for HANDLETABLE { type Abi = Self ; type DefaultType = Self ; } pub const HANGEUL_CHARSET : u32 = 129u32 ; pub const HANGUL_CHARSET : u32 = 129u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct HATCH_BRUSH_STYLE ( pub u32 ) ; pub const HS_BDIAGONAL : HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE ( 3u32 ) ; pub const HS_CROSS : HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE ( 4u32 ) ; pub const HS_DIAGCROSS : HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE ( 5u32 ) ; pub const HS_FDIAGONAL : HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE ( 2u32 ) ; pub const HS_HORIZONTAL : HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE ( 0u32 ) ; pub const HS_VERTICAL : HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE ( 1u32 ) ; impl :: std :: convert :: From < u32 > for HATCH_BRUSH_STYLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for HATCH_BRUSH_STYLE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for HATCH_BRUSH_STYLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for HATCH_BRUSH_STYLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for HATCH_BRUSH_STYLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for HATCH_BRUSH_STYLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for HATCH_BRUSH_STYLE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HBITMAP ( pub isize ) ; impl :: std :: default :: Default for HBITMAP { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HBITMAP { } unsafe impl :: windows :: Abi for HBITMAP { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HBITMAP { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HBRUSH ( pub isize ) ; impl :: std :: default :: Default for HBRUSH { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HBRUSH { } unsafe impl :: windows :: Abi for HBRUSH { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HBRUSH { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HDC ( pub isize ) ; impl :: std :: default :: Default for HDC { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HDC { } unsafe impl :: windows :: Abi for HDC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct HDC_MAP_MODE ( pub u32 ) ; pub const MM_ANISOTROPIC : HDC_MAP_MODE = HDC_MAP_MODE ( 8u32 ) ; pub const MM_HIENGLISH : HDC_MAP_MODE = HDC_MAP_MODE ( 5u32 ) ; pub const MM_HIMETRIC : HDC_MAP_MODE = HDC_MAP_MODE ( 3u32 ) ; pub const MM_ISOTROPIC : HDC_MAP_MODE = HDC_MAP_MODE ( 7u32 ) ; pub const MM_LOENGLISH : HDC_MAP_MODE = HDC_MAP_MODE ( 4u32 ) ; pub const MM_LOMETRIC : HDC_MAP_MODE = HDC_MAP_MODE ( 2u32 ) ; pub const MM_TEXT : HDC_MAP_MODE = HDC_MAP_MODE ( 1u32 ) ; pub const MM_TWIPS : HDC_MAP_MODE = HDC_MAP_MODE ( 6u32 ) ; impl :: std :: convert :: From < u32 > for HDC_MAP_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for HDC_MAP_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for HDC_MAP_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for HDC_MAP_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for HDC_MAP_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for HDC_MAP_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for HDC_MAP_MODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const HEBREW_CHARSET : u32 = 177u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HENHMETAFILE ( pub isize ) ; impl :: std :: default :: Default for HENHMETAFILE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HENHMETAFILE { } unsafe impl :: windows :: Abi for HENHMETAFILE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HFONT ( pub isize ) ; impl :: std :: default :: Default for HFONT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HFONT { } unsafe impl :: windows :: Abi for HFONT { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HFONT { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HGDIOBJ ( pub isize ) ; impl :: std :: default :: Default for HGDIOBJ { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HGDIOBJ { } unsafe impl :: windows :: Abi for HGDIOBJ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HMETAFILE ( pub isize ) ; impl :: std :: default :: Default for HMETAFILE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HMETAFILE { } unsafe impl :: windows :: Abi for HMETAFILE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HMONITOR ( pub isize ) ; impl :: std :: default :: Default for HMONITOR { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HMONITOR { } unsafe impl :: windows :: Abi for HMONITOR { type Abi = Self ; type DefaultType = Self ; } pub const HORZRES : u32 = 8u32 ; pub const HORZSIZE : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HPALETTE ( pub isize ) ; impl :: std :: default :: Default for HPALETTE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HPALETTE { } unsafe impl :: windows :: Abi for HPALETTE { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HPALETTE { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HPEN ( pub isize ) ; impl :: std :: default :: Default for HPEN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HPEN { } unsafe impl :: windows :: Abi for HPEN { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HPEN { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HRGN ( pub isize ) ; impl :: std :: default :: Default for HRGN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HRGN { } unsafe impl :: windows :: Abi for HRGN { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HRGN { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } pub const HS_API_MAX : u32 = 12u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HdcMetdataEnhFileHandle ( pub isize ) ; impl :: std :: default :: Default for HdcMetdataEnhFileHandle { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HdcMetdataEnhFileHandle { } unsafe impl :: windows :: Abi for HdcMetdataEnhFileHandle { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HdcMetdataFileHandle ( pub isize ) ; impl :: std :: default :: Default for HdcMetdataFileHandle { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for HdcMetdataFileHandle { } unsafe impl :: windows :: Abi for HdcMetdataFileHandle { type Abi = Self ; type DefaultType = Self ; } pub const ICM_DONE_OUTSIDEDC : u32 = 4u32 ; pub const ICM_OFF : u32 = 1u32 ; pub const ICM_ON : u32 = 2u32 ; pub const ICM_QUERY : u32 = 3u32 ; pub const ILLUMINANT_A : u32 = 1u32 ; pub const ILLUMINANT_B : u32 = 2u32 ; pub const ILLUMINANT_C : u32 = 3u32 ; pub const ILLUMINANT_D50 : u32 = 4u32 ; pub const ILLUMINANT_D55 : u32 = 5u32 ; pub const ILLUMINANT_D65 : u32 = 6u32 ; pub const ILLUMINANT_D75 : u32 = 7u32 ; pub const ILLUMINANT_DEVICE_DEFAULT : u32 = 0u32 ; pub const ILLUMINANT_F2 : u32 = 8u32 ; pub unsafe fn InflateRect < > ( lprc : * mut super::super::Foundation:: RECT , dx : i32 , dy : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn InflateRect ( lprc : * mut super::super::Foundation:: RECT , dx : i32 , dy : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( InflateRect ( :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( dx ) , :: std :: mem :: transmute ( dy ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IntersectClipRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn IntersectClipRect ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> i32 ; } :: std :: mem :: transmute ( IntersectClipRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IntersectRect < > ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc1 : * const super::super::Foundation:: RECT , lprcsrc2 : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn IntersectRect ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc1 : * const super::super::Foundation:: RECT , lprcsrc2 : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( IntersectRect ( :: std :: mem :: transmute ( lprcdst ) , :: std :: mem :: transmute ( lprcsrc1 ) , :: std :: mem :: transmute ( lprcsrc2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InvalidateRect < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , > ( hwnd : Param0 , lprect : * const super::super::Foundation:: RECT , berase : Param2 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn InvalidateRect ( hwnd : super::super::Foundation:: HWND , lprect : * const super::super::Foundation:: RECT , berase : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( InvalidateRect ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) , berase . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InvalidateRgn < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HRGN > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , > ( hwnd : Param0 , hrgn : Param1 , berase : Param2 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn InvalidateRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN , berase : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( InvalidateRgn ( hwnd . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) , berase . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InvertRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lprc : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn InvertRect ( hdc : HDC , lprc : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( InvertRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InvertRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hdc : Param0 , hrgn : Param1 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn InvertRgn ( hdc : HDC , hrgn : HRGN ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( InvertRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IsRectEmpty < > ( lprc : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn IsRectEmpty ( lprc : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( IsRectEmpty ( :: std :: mem :: transmute ( lprc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const JOHAB_CHARSET : u32 = 130u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KERNINGPAIR { pub wFirst : u16 , pub wSecond : u16 , pub iKernAmount : i32 } impl KERNINGPAIR { } impl :: std :: default :: Default for KERNINGPAIR { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for KERNINGPAIR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KERNINGPAIR" ) . field ( "wFirst" , & self . wFirst ) . field ( "wSecond" , & self . wSecond ) . field ( "iKernAmount" , & self . iKernAmount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KERNINGPAIR { fn eq ( & self , other : & Self ) -> bool { self . wFirst == other . wFirst && self . wSecond == other . wSecond && self . iKernAmount == other . iKernAmount } } impl :: std :: cmp :: Eq for KERNINGPAIR { } unsafe impl :: windows :: Abi for KERNINGPAIR { type Abi = Self ; type DefaultType = Self ; } pub const LAYOUT_BTT : u32 = 2u32 ; pub const LAYOUT_VBH : u32 = 4u32 ; pub const LCS_CALIBRATED_RGB : i32 = 0i32 ; pub const LCS_GM_ABS_COLORIMETRIC : i32 = 8i32 ; pub const LCS_GM_BUSINESS : i32 = 1i32 ; pub const LCS_GM_GRAPHICS : i32 = 2i32 ; pub const LCS_GM_IMAGES : i32 = 4i32 ; pub const LC_INTERIORS : u32 = 128u32 ; pub const LC_MARKER : u32 = 4u32 ; pub const LC_NONE : u32 = 0u32 ; pub const LC_POLYLINE : u32 = 2u32 ; pub const LC_POLYMARKER : u32 = 8u32 ; pub const LC_STYLED : u32 = 32u32 ; pub const LC_WIDE : u32 = 16u32 ; pub const LC_WIDESTYLED : u32 = 64u32 ; pub const LF_FACESIZE : u32 = 32u32 ; pub const LF_FULLFACESIZE : u32 = 64u32 ; pub const LINECAPS : u32 = 30u32 ; pub type LINEDDAPROC = unsafe extern "system" fn ( param0 : i32 , param1 : i32 , param2 : super::super::Foundation:: LPARAM ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGBRUSH { pub lbStyle : u32 , pub lbColor : u32 , pub lbHatch : usize } impl LOGBRUSH { } impl :: std :: default :: Default for LOGBRUSH { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGBRUSH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGBRUSH" ) . field ( "lbStyle" , & self . lbStyle ) . field ( "lbColor" , & self . lbColor ) . field ( "lbHatch" , & self . lbHatch ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGBRUSH { fn eq ( & self , other : & Self ) -> bool { self . lbStyle == other . lbStyle && self . lbColor == other . lbColor && self . lbHatch == other . lbHatch } } impl :: std :: cmp :: Eq for LOGBRUSH { } unsafe impl :: windows :: Abi for LOGBRUSH { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGBRUSH32 { pub lbStyle : u32 , pub lbColor : u32 , pub lbHatch : u32 } impl LOGBRUSH32 { } impl :: std :: default :: Default for LOGBRUSH32 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGBRUSH32 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGBRUSH32" ) . field ( "lbStyle" , & self . lbStyle ) . field ( "lbColor" , & self . lbColor ) . field ( "lbHatch" , & self . lbHatch ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGBRUSH32 { fn eq ( & self , other : & Self ) -> bool { self . lbStyle == other . lbStyle && self . lbColor == other . lbColor && self . lbHatch == other . lbHatch } } impl :: std :: cmp :: Eq for LOGBRUSH32 { } unsafe impl :: windows :: Abi for LOGBRUSH32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGFONTA { pub lfHeight : i32 , pub lfWidth : i32 , pub lfEscapement : i32 , pub lfOrientation : i32 , pub lfWeight : i32 , pub lfItalic : u8 , pub lfUnderline : u8 , pub lfStrikeOut : u8 , pub lfCharSet : u8 , pub lfOutPrecision : u8 , pub lfClipPrecision : u8 , pub lfQuality : u8 , pub lfPitchAndFamily : u8 , pub lfFaceName : [ super::super::System::SystemServices:: CHAR ;32 ] } impl LOGFONTA { } impl :: std :: default :: Default for LOGFONTA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGFONTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGFONTA" ) . field ( "lfHeight" , & self . lfHeight ) . field ( "lfWidth" , & self . lfWidth ) . field ( "lfEscapement" , & self . lfEscapement ) . field ( "lfOrientation" , & self . lfOrientation ) . field ( "lfWeight" , & self . lfWeight ) . field ( "lfItalic" , & self . lfItalic ) . field ( "lfUnderline" , & self . lfUnderline ) . field ( "lfStrikeOut" , & self . lfStrikeOut ) . field ( "lfCharSet" , & self . lfCharSet ) . field ( "lfOutPrecision" , & self . lfOutPrecision ) . field ( "lfClipPrecision" , & self . lfClipPrecision ) . field ( "lfQuality" , & self . lfQuality ) . field ( "lfPitchAndFamily" , & self . lfPitchAndFamily ) . field ( "lfFaceName" , & self . lfFaceName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGFONTA { fn eq ( & self , other : & Self ) -> bool { self . lfHeight == other . lfHeight && self . lfWidth == other . lfWidth && self . lfEscapement == other . lfEscapement && self . lfOrientation == other . lfOrientation && self . lfWeight == other . lfWeight && self . lfItalic == other . lfItalic && self . lfUnderline == other . lfUnderline && self . lfStrikeOut == other . lfStrikeOut && self . lfCharSet == other . lfCharSet && self . lfOutPrecision == other . lfOutPrecision && self . lfClipPrecision == other . lfClipPrecision && self . lfQuality == other . lfQuality && self . lfPitchAndFamily == other . lfPitchAndFamily && self . lfFaceName == other . lfFaceName } } impl :: std :: cmp :: Eq for LOGFONTA { } unsafe impl :: windows :: Abi for LOGFONTA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGFONTW { pub lfHeight : i32 , pub lfWidth : i32 , pub lfEscapement : i32 , pub lfOrientation : i32 , pub lfWeight : i32 , pub lfItalic : u8 , pub lfUnderline : u8 , pub lfStrikeOut : u8 , pub lfCharSet : u8 , pub lfOutPrecision : u8 , pub lfClipPrecision : u8 , pub lfQuality : u8 , pub lfPitchAndFamily : u8 , pub lfFaceName : [ u16 ;32 ] } impl LOGFONTW { } impl :: std :: default :: Default for LOGFONTW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGFONTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGFONTW" ) . field ( "lfHeight" , & self . lfHeight ) . field ( "lfWidth" , & self . lfWidth ) . field ( "lfEscapement" , & self . lfEscapement ) . field ( "lfOrientation" , & self . lfOrientation ) . field ( "lfWeight" , & self . lfWeight ) . field ( "lfItalic" , & self . lfItalic ) . field ( "lfUnderline" , & self . lfUnderline ) . field ( "lfStrikeOut" , & self . lfStrikeOut ) . field ( "lfCharSet" , & self . lfCharSet ) . field ( "lfOutPrecision" , & self . lfOutPrecision ) . field ( "lfClipPrecision" , & self . lfClipPrecision ) . field ( "lfQuality" , & self . lfQuality ) . field ( "lfPitchAndFamily" , & self . lfPitchAndFamily ) . field ( "lfFaceName" , & self . lfFaceName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGFONTW { fn eq ( & self , other : & Self ) -> bool { self . lfHeight == other . lfHeight && self . lfWidth == other . lfWidth && self . lfEscapement == other . lfEscapement && self . lfOrientation == other . lfOrientation && self . lfWeight == other . lfWeight && self . lfItalic == other . lfItalic && self . lfUnderline == other . lfUnderline && self . lfStrikeOut == other . lfStrikeOut && self . lfCharSet == other . lfCharSet && self . lfOutPrecision == other . lfOutPrecision && self . lfClipPrecision == other . lfClipPrecision && self . lfQuality == other . lfQuality && self . lfPitchAndFamily == other . lfPitchAndFamily && self . lfFaceName == other . lfFaceName } } impl :: std :: cmp :: Eq for LOGFONTW { } unsafe impl :: windows :: Abi for LOGFONTW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGPALETTE { pub palVersion : u16 , pub palNumEntries : u16 , pub palPalEntry : [ PALETTEENTRY ;1 ] } impl LOGPALETTE { } impl :: std :: default :: Default for LOGPALETTE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGPALETTE" ) . field ( "palVersion" , & self . palVersion ) . field ( "palNumEntries" , & self . palNumEntries ) . field ( "palPalEntry" , & self . palPalEntry ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGPALETTE { fn eq ( & self , other : & Self ) -> bool { self . palVersion == other . palVersion && self . palNumEntries == other . palNumEntries && self . palPalEntry == other . palPalEntry } } impl :: std :: cmp :: Eq for LOGPALETTE { } unsafe impl :: windows :: Abi for LOGPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGPEN { pub lopnStyle : u32 , pub lopnWidth : super::super::Foundation:: POINT , pub lopnColor : u32 } impl LOGPEN { } impl :: std :: default :: Default for LOGPEN { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGPEN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGPEN" ) . field ( "lopnStyle" , & self . lopnStyle ) . field ( "lopnWidth" , & self . lopnWidth ) . field ( "lopnColor" , & self . lopnColor ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGPEN { fn eq ( & self , other : & Self ) -> bool { self . lopnStyle == other . lopnStyle && self . lopnWidth == other . lopnWidth && self . lopnColor == other . lopnColor } } impl :: std :: cmp :: Eq for LOGPEN { } unsafe impl :: windows :: Abi for LOGPEN { type Abi = Self ; type DefaultType = Self ; } pub const LOGPIXELSX : u32 = 88u32 ; pub const LOGPIXELSY : u32 = 90u32 ; pub const LPD_DOUBLEBUFFER : u32 = 1u32 ; pub const LPD_SHARE_ACCUM : u32 = 256u32 ; pub const LPD_SHARE_DEPTH : u32 = 64u32 ; pub const LPD_SHARE_STENCIL : u32 = 128u32 ; pub const LPD_STEREO : u32 = 2u32 ; pub const LPD_SUPPORT_GDI : u32 = 16u32 ; pub const LPD_SUPPORT_OPENGL : u32 = 32u32 ; pub const LPD_SWAP_COPY : u32 = 1024u32 ; pub const LPD_SWAP_EXCHANGE : u32 = 512u32 ; pub const LPD_TRANSPARENT : u32 = 4096u32 ; pub const LPD_TYPE_COLORINDEX : u32 = 1u32 ; pub const LPD_TYPE_RGBA : u32 = 0u32 ; pub type LPFNDEVCAPS = unsafe extern "system" fn ( param0 : super::super::Foundation:: PSTR , param1 : super::super::Foundation:: PSTR , param2 : u32 , param3 : super::super::Foundation:: PSTR , param4 : * mut super::super::UI::DisplayDevices:: DEVMODEA ) -> u32 ; pub type LPFNDEVMODE = unsafe extern "system" fn ( param0 : super::super::Foundation:: HWND , param1 : super::super::Foundation:: HINSTANCE , param2 : * mut super::super::UI::DisplayDevices:: DEVMODEA , param3 : super::super::Foundation:: PSTR , param4 : super::super::Foundation:: PSTR , param5 : * mut super::super::UI::DisplayDevices:: DEVMODEA , param6 : super::super::Foundation:: PSTR , param7 : u32 ) -> u32 ; pub unsafe fn LPtoDP < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lppt : * mut super::super::Foundation:: POINT , c : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn LPtoDP ( hdc : HDC , lppt : * mut super::super::Foundation:: POINT , c : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( LPtoDP ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppt ) , :: std :: mem :: transmute ( c ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LineDDA < 'a , Param5 : :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , > ( xstart : i32 , ystart : i32 , xend : i32 , yend : i32 , lpproc : :: std :: option :: Option < LINEDDAPROC > , data : Param5 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn LineDDA ( xstart : i32 , ystart : i32 , xend : i32 , yend : i32 , lpproc : :: windows :: RawPtr , data : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( LineDDA ( :: std :: mem :: transmute ( xstart ) , :: std :: mem :: transmute ( ystart ) , :: std :: mem :: transmute ( xend ) , :: std :: mem :: transmute ( yend ) , :: std :: mem :: transmute ( lpproc ) , data . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LineTo < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn LineTo ( hdc : HDC , x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( LineTo ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadBitmapA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HINSTANCE > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hinstance : Param0 , lpbitmapname : Param1 , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn LoadBitmapA ( hinstance : super::super::Foundation:: HINSTANCE , lpbitmapname : super::super::Foundation:: PSTR ) -> HBITMAP ; } :: std :: mem :: transmute ( LoadBitmapA ( hinstance . into_param ( ) . abi ( ) , lpbitmapname . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadBitmapW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HINSTANCE > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hinstance : Param0 , lpbitmapname : Param1 , ) -> HBITMAP { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn LoadBitmapW ( hinstance : super::super::Foundation:: HINSTANCE , lpbitmapname : super::super::Foundation:: PWSTR ) -> HBITMAP ; } :: std :: mem :: transmute ( LoadBitmapW ( hinstance . into_param ( ) . abi ( ) , lpbitmapname . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LockWindowUpdate < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwndlock : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn LockWindowUpdate ( hwndlock : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( LockWindowUpdate ( hwndlock . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const MAC_CHARSET : u32 = 77u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MAT2 { pub eM11 : FIXED , pub eM12 : FIXED , pub eM21 : FIXED , pub eM22 : FIXED } impl MAT2 { } impl :: std :: default :: Default for MAT2 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for MAT2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MAT2" ) . field ( "eM11" , & self . eM11 ) . field ( "eM12" , & self . eM12 ) . field ( "eM21" , & self . eM21 ) . field ( "eM22" , & self . eM22 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MAT2 { fn eq ( & self , other : & Self ) -> bool { self . eM11 == other . eM11 && self . eM12 == other . eM12 && self . eM21 == other . eM21 && self . eM22 == other . eM22 } } impl :: std :: cmp :: Eq for MAT2 { } unsafe impl :: windows :: Abi for MAT2 { type Abi = Self ; type DefaultType = Self ; } pub const MAXSTRETCHBLTMODE : u32 = 4u32 ; pub const METAFILE_DRIVER : u32 = 2049u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct METAHEADER { pub mtType : u16 , pub mtHeaderSize : u16 , pub mtVersion : u16 , pub mtSize : u32 , pub mtNoObjects : u16 , pub mtMaxRecord : u32 , pub mtNoParameters : u16 } impl METAHEADER { } impl :: std :: default :: Default for METAHEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for METAHEADER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for METAHEADER { } unsafe impl :: windows :: Abi for METAHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct METARECORD { pub rdSize : u32 , pub rdFunction : u16 , pub rdParm : [ u16 ;1 ] } impl METARECORD { } impl :: std :: default :: Default for METARECORD { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for METARECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "METARECORD" ) . field ( "rdSize" , & self . rdSize ) . field ( "rdFunction" , & self . rdFunction ) . field ( "rdParm" , & self . rdParm ) . finish ( ) } } impl :: std :: cmp :: PartialEq for METARECORD { fn eq ( & self , other : & Self ) -> bool { self . rdSize == other . rdSize && self . rdFunction == other . rdFunction && self . rdParm == other . rdParm } } impl :: std :: cmp :: Eq for METARECORD { } unsafe impl :: windows :: Abi for METARECORD { type Abi = Self ; type DefaultType = Self ; } pub const META_ANIMATEPALETTE : u32 = 1078u32 ; pub const META_ARC : u32 = 2071u32 ; pub const META_BITBLT : u32 = 2338u32 ; pub const META_CHORD : u32 = 2096u32 ; pub const META_CREATEBRUSHINDIRECT : u32 = 764u32 ; pub const META_CREATEFONTINDIRECT : u32 = 763u32 ; pub const META_CREATEPALETTE : u32 = 247u32 ; pub const META_CREATEPATTERNBRUSH : u32 = 505u32 ; pub const META_CREATEPENINDIRECT : u32 = 762u32 ; pub const META_CREATEREGION : u32 = 1791u32 ; pub const META_DELETEOBJECT : u32 = 496u32 ; pub const META_DIBBITBLT : u32 = 2368u32 ; pub const META_DIBCREATEPATTERNBRUSH : u32 = 322u32 ; pub const META_DIBSTRETCHBLT : u32 = 2881u32 ; pub const META_ELLIPSE : u32 = 1048u32 ; pub const META_ESCAPE : u32 = 1574u32 ; pub const META_EXCLUDECLIPRECT : u32 = 1045u32 ; pub const META_EXTFLOODFILL : u32 = 1352u32 ; pub const META_EXTTEXTOUT : u32 = 2610u32 ; pub const META_FILLREGION : u32 = 552u32 ; pub const META_FLOODFILL : u32 = 1049u32 ; pub const META_FRAMEREGION : u32 = 1065u32 ; pub const META_INTERSECTCLIPRECT : u32 = 1046u32 ; pub const META_INVERTREGION : u32 = 298u32 ; pub const META_LINETO : u32 = 531u32 ; pub const META_MOVETO : u32 = 532u32 ; pub const META_OFFSETCLIPRGN : u32 = 544u32 ; pub const META_OFFSETVIEWPORTORG : u32 = 529u32 ; pub const META_OFFSETWINDOWORG : u32 = 527u32 ; pub const META_PAINTREGION : u32 = 299u32 ; pub const META_PATBLT : u32 = 1565u32 ; pub const META_PIE : u32 = 2074u32 ; pub const META_POLYGON : u32 = 804u32 ; pub const META_POLYLINE : u32 = 805u32 ; pub const META_POLYPOLYGON : u32 = 1336u32 ; pub const META_REALIZEPALETTE : u32 = 53u32 ; pub const META_RECTANGLE : u32 = 1051u32 ; pub const META_RESIZEPALETTE : u32 = 313u32 ; pub const META_RESTOREDC : u32 = 295u32 ; pub const META_ROUNDRECT : u32 = 1564u32 ; pub const META_SAVEDC : u32 = 30u32 ; pub const META_SCALEVIEWPORTEXT : u32 = 1042u32 ; pub const META_SCALEWINDOWEXT : u32 = 1040u32 ; pub const META_SELECTCLIPREGION : u32 = 300u32 ; pub const META_SELECTOBJECT : u32 = 301u32 ; pub const META_SELECTPALETTE : u32 = 564u32 ; pub const META_SETBKCOLOR : u32 = 513u32 ; pub const META_SETBKMODE : u32 = 258u32 ; pub const META_SETDIBTODEV : u32 = 3379u32 ; pub const META_SETLAYOUT : u32 = 329u32 ; pub const META_SETMAPMODE : u32 = 259u32 ; pub const META_SETMAPPERFLAGS : u32 = 561u32 ; pub const META_SETPALENTRIES : u32 = 55u32 ; pub const META_SETPIXEL : u32 = 1055u32 ; pub const META_SETPOLYFILLMODE : u32 = 262u32 ; pub const META_SETRELABS : u32 = 261u32 ; pub const META_SETROP2 : u32 = 260u32 ; pub const META_SETSTRETCHBLTMODE : u32 = 263u32 ; pub const META_SETTEXTALIGN : u32 = 302u32 ; pub const META_SETTEXTCHAREXTRA : u32 = 264u32 ; pub const META_SETTEXTCOLOR : u32 = 521u32 ; pub const META_SETTEXTJUSTIFICATION : u32 = 522u32 ; pub const META_SETVIEWPORTEXT : u32 = 526u32 ; pub const META_SETVIEWPORTORG : u32 = 525u32 ; pub const META_SETWINDOWEXT : u32 = 524u32 ; pub const META_SETWINDOWORG : u32 = 523u32 ; pub const META_STRETCHBLT : u32 = 2851u32 ; pub const META_STRETCHDIB : u32 = 3907u32 ; pub const META_TEXTOUT : u32 = 1313u32 ; pub const MFCOMMENT : u32 = 15u32 ; pub type MFENUMPROC = unsafe extern "system" fn ( hdc : HDC , lpht : * const HANDLETABLE , lpmr : * const METARECORD , nobj : i32 , param4 : super::super::Foundation:: LPARAM ) -> i32 ; pub const MILCORE_TS_QUERYVER_RESULT_FALSE : u32 = 0u32 ; pub const MILCORE_TS_QUERYVER_RESULT_TRUE : u32 = 2147483647u32 ; pub const MM_MAX_AXES_NAMELEN : u32 = 16u32 ; pub const MM_MAX_NUMAXES : u32 = 16u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MODIFY_WORLD_TRANSFORM_MODE ( pub u32 ) ; pub const MWT_IDENTITY : MODIFY_WORLD_TRANSFORM_MODE = MODIFY_WORLD_TRANSFORM_MODE ( 1u32 ) ; pub const MWT_LEFTMULTIPLY : MODIFY_WORLD_TRANSFORM_MODE = MODIFY_WORLD_TRANSFORM_MODE ( 2u32 ) ; pub const MWT_RIGHTMULTIPLY : MODIFY_WORLD_TRANSFORM_MODE = MODIFY_WORLD_TRANSFORM_MODE ( 3u32 ) ; impl :: std :: convert :: From < u32 > for MODIFY_WORLD_TRANSFORM_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MODIFY_WORLD_TRANSFORM_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for MODIFY_WORLD_TRANSFORM_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MODIFY_WORLD_TRANSFORM_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MODIFY_WORLD_TRANSFORM_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MODIFY_WORLD_TRANSFORM_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for MODIFY_WORLD_TRANSFORM_MODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub type MONITORENUMPROC = unsafe extern "system" fn ( param0 : HMONITOR , param1 : HDC , param2 : * mut super::super::Foundation:: RECT , param3 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MONITORINFO { pub cbSize : u32 , pub rcMonitor : super::super::Foundation:: RECT , pub rcWork : super::super::Foundation:: RECT , pub dwFlags : u32 } impl MONITORINFO { } impl :: std :: default :: Default for MONITORINFO { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for MONITORINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MONITORINFO" ) . field ( "cbSize" , & self . cbSize ) . field ( "rcMonitor" , & self . rcMonitor ) . field ( "rcWork" , & self . rcWork ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MONITORINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcMonitor == other . rcMonitor && self . rcWork == other . rcWork && self . dwFlags == other . dwFlags } } impl :: std :: cmp :: Eq for MONITORINFO { } unsafe impl :: windows :: Abi for MONITORINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MONITORINFOEXA { pub __AnonymousBase_winuser_L13554_C43 : MONITORINFO , pub szDevice : [ super::super::System::SystemServices:: CHAR ;32 ] } impl MONITORINFOEXA { } impl :: std :: default :: Default for MONITORINFOEXA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for MONITORINFOEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MONITORINFOEXA" ) . field ( "__AnonymousBase_winuser_L13554_C43" , & self . __AnonymousBase_winuser_L13554_C43 ) . field ( "szDevice" , & self . szDevice ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MONITORINFOEXA { fn eq ( & self , other : & Self ) -> bool { self . __AnonymousBase_winuser_L13554_C43 == other . __AnonymousBase_winuser_L13554_C43 && self . szDevice == other . szDevice } } impl :: std :: cmp :: Eq for MONITORINFOEXA { } unsafe impl :: windows :: Abi for MONITORINFOEXA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MONITORINFOEXW { pub __AnonymousBase_winuser_L13558_C43 : MONITORINFO , pub szDevice : [ u16 ;32 ] } impl MONITORINFOEXW { } impl :: std :: default :: Default for MONITORINFOEXW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for MONITORINFOEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MONITORINFOEXW" ) . field ( "__AnonymousBase_winuser_L13558_C43" , & self . __AnonymousBase_winuser_L13558_C43 ) . field ( "szDevice" , & self . szDevice ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MONITORINFOEXW { fn eq ( & self , other : & Self ) -> bool { self . __AnonymousBase_winuser_L13558_C43 == other . __AnonymousBase_winuser_L13558_C43 && self . szDevice == other . szDevice } } impl :: std :: cmp :: Eq for MONITORINFOEXW { } unsafe impl :: windows :: Abi for MONITORINFOEXW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MONITOR_FROM_FLAGS ( pub u32 ) ; pub const MONITOR_DEFAULTTONEAREST : MONITOR_FROM_FLAGS = MONITOR_FROM_FLAGS ( 2u32 ) ; pub const MONITOR_DEFAULTTONULL : MONITOR_FROM_FLAGS = MONITOR_FROM_FLAGS ( 0u32 ) ; pub const MONITOR_DEFAULTTOPRIMARY : MONITOR_FROM_FLAGS = MONITOR_FROM_FLAGS ( 1u32 ) ; impl :: std :: convert :: From < u32 > for MONITOR_FROM_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MONITOR_FROM_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for MONITOR_FROM_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MONITOR_FROM_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MONITOR_FROM_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MONITOR_FROM_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for MONITOR_FROM_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const MONO_FONT : u32 = 8u32 ; pub const MOUSETRAILS : u32 = 39u32 ; pub unsafe fn MapWindowPoints < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwndfrom : Param0 , hwndto : Param1 , lppoints : * mut super::super::Foundation:: POINT , cpoints : u32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn MapWindowPoints ( hwndfrom : super::super::Foundation:: HWND , hwndto : super::super::Foundation:: HWND , lppoints : * mut super::super::Foundation:: POINT , cpoints : u32 ) -> i32 ; } :: std :: mem :: transmute ( MapWindowPoints ( hwndfrom . into_param ( ) . abi ( ) , hwndto . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppoints ) , :: std :: mem :: transmute ( cpoints ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MaskBlt < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , HDC > , Param8 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hdcdest : Param0 , xdest : i32 , ydest : i32 , width : i32 , height : i32 , hdcsrc : Param5 , xsrc : i32 , ysrc : i32 , hbmmask : Param8 , xmask : i32 , ymask : i32 , rop : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn MaskBlt ( hdcdest : HDC , xdest : i32 , ydest : i32 , width : i32 , height : i32 , hdcsrc : HDC , xsrc : i32 , ysrc : i32 , hbmmask : HBITMAP , xmask : i32 , ymask : i32 , rop : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( MaskBlt ( hdcdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xdest ) , :: std :: mem :: transmute ( ydest ) , :: std :: mem :: transmute ( width ) , :: std :: mem :: transmute ( height ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xsrc ) , :: std :: mem :: transmute ( ysrc ) , hbmmask . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xmask ) , :: std :: mem :: transmute ( ymask ) , :: std :: mem :: transmute ( rop ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MergeFontPackage < > ( puchmergefontbuffer : * const u8 , ulmergefontbuffersize : u32 , puchfontpackagebuffer : * const u8 , ulfontpackagebuffersize : u32 , ppuchdestbuffer : * mut * mut u8 , puldestbuffersize : * mut u32 , pulbyteswritten : * mut u32 , usmode : u16 , lpfnallocate : :: std :: option :: Option < CFP_ALLOCPROC > , lpfnreallocate : :: std :: option :: Option < CFP_REALLOCPROC > , lpfnfree : :: std :: option :: Option < CFP_FREEPROC > , lpvreserved : * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="fontsub" ) ] extern "system" { fn MergeFontPackage ( puchmergefontbuffer : * const u8 , ulmergefontbuffersize : u32 , puchfontpackagebuffer : * const u8 , ulfontpackagebuffersize : u32 , ppuchdestbuffer : * mut * mut u8 , puldestbuffersize : * mut u32 , pulbyteswritten : * mut u32 , usmode : u16 , lpfnallocate : :: windows :: RawPtr , lpfnreallocate : :: windows :: RawPtr , lpfnfree : :: windows :: RawPtr , lpvreserved : * mut :: std :: ffi :: c_void ) -> u32 ; } :: std :: mem :: transmute ( MergeFontPackage ( :: std :: mem :: transmute ( puchmergefontbuffer ) , :: std :: mem :: transmute ( ulmergefontbuffersize ) , :: std :: mem :: transmute ( puchfontpackagebuffer ) , :: std :: mem :: transmute ( ulfontpackagebuffersize ) , :: std :: mem :: transmute ( ppuchdestbuffer ) , :: std :: mem :: transmute ( puldestbuffersize ) , :: std :: mem :: transmute ( pulbyteswritten ) , :: std :: mem :: transmute ( usmode ) , :: std :: mem :: transmute ( lpfnallocate ) , :: std :: mem :: transmute ( lpfnreallocate ) , :: std :: mem :: transmute ( lpfnfree ) , :: std :: mem :: transmute ( lpvreserved ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ModifyWorldTransform < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpxf : * const XFORM , mode : MODIFY_WORLD_TRANSFORM_MODE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ModifyWorldTransform ( hdc : HDC , lpxf : * const XFORM , mode : MODIFY_WORLD_TRANSFORM_MODE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ModifyWorldTransform ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpxf ) , :: std :: mem :: transmute ( mode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MonitorFromPoint < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: POINT > , > ( pt : Param0 , dwflags : MONITOR_FROM_FLAGS , ) -> HMONITOR { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn MonitorFromPoint ( pt : super::super::Foundation:: POINT , dwflags : MONITOR_FROM_FLAGS ) -> HMONITOR ; } :: std :: mem :: transmute ( MonitorFromPoint ( pt . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MonitorFromRect < > ( lprc : * const super::super::Foundation:: RECT , dwflags : MONITOR_FROM_FLAGS , ) -> HMONITOR { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn MonitorFromRect ( lprc : * const super::super::Foundation:: RECT , dwflags : MONITOR_FROM_FLAGS ) -> HMONITOR ; } :: std :: mem :: transmute ( MonitorFromRect ( :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MonitorFromWindow < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , dwflags : MONITOR_FROM_FLAGS , ) -> HMONITOR { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn MonitorFromWindow ( hwnd : super::super::Foundation:: HWND , dwflags : MONITOR_FROM_FLAGS ) -> HMONITOR ; } :: std :: mem :: transmute ( MonitorFromWindow ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MoveToEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn MoveToEx ( hdc : HDC , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( MoveToEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const NEWFRAME : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NEWTEXTMETRICA { pub tmHeight : i32 , pub tmAscent : i32 , pub tmDescent : i32 , pub tmInternalLeading : i32 , pub tmExternalLeading : i32 , pub tmAveCharWidth : i32 , pub tmMaxCharWidth : i32 , pub tmWeight : i32 , pub tmOverhang : i32 , pub tmDigitizedAspectX : i32 , pub tmDigitizedAspectY : i32 , pub tmFirstChar : u8 , pub tmLastChar : u8 , pub tmDefaultChar : u8 , pub tmBreakChar : u8 , pub tmItalic : u8 , pub tmUnderlined : u8 , pub tmStruckOut : u8 , pub tmPitchAndFamily : u8 , pub tmCharSet : u8 , pub ntmFlags : u32 , pub ntmSizeEM : u32 , pub ntmCellHeight : u32 , pub ntmAvgWidth : u32 } impl NEWTEXTMETRICA { } impl :: std :: default :: Default for NEWTEXTMETRICA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for NEWTEXTMETRICA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NEWTEXTMETRICA" ) . field ( "tmHeight" , & self . tmHeight ) . field ( "tmAscent" , & self . tmAscent ) . field ( "tmDescent" , & self . tmDescent ) . field ( "tmInternalLeading" , & self . tmInternalLeading ) . field ( "tmExternalLeading" , & self . tmExternalLeading ) . field ( "tmAveCharWidth" , & self . tmAveCharWidth ) . field ( "tmMaxCharWidth" , & self . tmMaxCharWidth ) . field ( "tmWeight" , & self . tmWeight ) . field ( "tmOverhang" , & self . tmOverhang ) . field ( "tmDigitizedAspectX" , & self . tmDigitizedAspectX ) . field ( "tmDigitizedAspectY" , & self . tmDigitizedAspectY ) . field ( "tmFirstChar" , & self . tmFirstChar ) . field ( "tmLastChar" , & self . tmLastChar ) . field ( "tmDefaultChar" , & self . tmDefaultChar ) . field ( "tmBreakChar" , & self . tmBreakChar ) . field ( "tmItalic" , & self . tmItalic ) . field ( "tmUnderlined" , & self . tmUnderlined ) . field ( "tmStruckOut" , & self . tmStruckOut ) . field ( "tmPitchAndFamily" , & self . tmPitchAndFamily ) . field ( "tmCharSet" , & self . tmCharSet ) . field ( "ntmFlags" , & self . ntmFlags ) . field ( "ntmSizeEM" , & self . ntmSizeEM ) . field ( "ntmCellHeight" , & self . ntmCellHeight ) . field ( "ntmAvgWidth" , & self . ntmAvgWidth ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NEWTEXTMETRICA { fn eq ( & self , other : & Self ) -> bool { self . tmHeight == other . tmHeight && self . tmAscent == other . tmAscent && self . tmDescent == other . tmDescent && self . tmInternalLeading == other . tmInternalLeading && self . tmExternalLeading == other . tmExternalLeading && self . tmAveCharWidth == other . tmAveCharWidth && self . tmMaxCharWidth == other . tmMaxCharWidth && self . tmWeight == other . tmWeight && self . tmOverhang == other . tmOverhang && self . tmDigitizedAspectX == other . tmDigitizedAspectX && self . tmDigitizedAspectY == other . tmDigitizedAspectY && self . tmFirstChar == other . tmFirstChar && self . tmLastChar == other . tmLastChar && self . tmDefaultChar == other . tmDefaultChar && self . tmBreakChar == other . tmBreakChar && self . tmItalic == other . tmItalic && self . tmUnderlined == other . tmUnderlined && self . tmStruckOut == other . tmStruckOut && self . tmPitchAndFamily == other . tmPitchAndFamily && self . tmCharSet == other . tmCharSet && self . ntmFlags == other . ntmFlags && self . ntmSizeEM == other . ntmSizeEM && self . ntmCellHeight == other . ntmCellHeight && self . ntmAvgWidth == other . ntmAvgWidth } } impl :: std :: cmp :: Eq for NEWTEXTMETRICA { } unsafe impl :: windows :: Abi for NEWTEXTMETRICA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NEWTEXTMETRICEXA { pub ntmTm : NEWTEXTMETRICA , pub ntmFontSig : super::super::Globalization:: FONTSIGNATURE } impl NEWTEXTMETRICEXA { } impl :: std :: default :: Default for NEWTEXTMETRICEXA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for NEWTEXTMETRICEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NEWTEXTMETRICEXA" ) . field ( "ntmTm" , & self . ntmTm ) . field ( "ntmFontSig" , & self . ntmFontSig ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NEWTEXTMETRICEXA { fn eq ( & self , other : & Self ) -> bool { self . ntmTm == other . ntmTm && self . ntmFontSig == other . ntmFontSig } } impl :: std :: cmp :: Eq for NEWTEXTMETRICEXA { } unsafe impl :: windows :: Abi for NEWTEXTMETRICEXA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NEWTEXTMETRICEXW { pub ntmTm : NEWTEXTMETRICW , pub ntmFontSig : super::super::Globalization:: FONTSIGNATURE } impl NEWTEXTMETRICEXW { } impl :: std :: default :: Default for NEWTEXTMETRICEXW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for NEWTEXTMETRICEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NEWTEXTMETRICEXW" ) . field ( "ntmTm" , & self . ntmTm ) . field ( "ntmFontSig" , & self . ntmFontSig ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NEWTEXTMETRICEXW { fn eq ( & self , other : & Self ) -> bool { self . ntmTm == other . ntmTm && self . ntmFontSig == other . ntmFontSig } } impl :: std :: cmp :: Eq for NEWTEXTMETRICEXW { } unsafe impl :: windows :: Abi for NEWTEXTMETRICEXW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NEWTEXTMETRICW { pub tmHeight : i32 , pub tmAscent : i32 , pub tmDescent : i32 , pub tmInternalLeading : i32 , pub tmExternalLeading : i32 , pub tmAveCharWidth : i32 , pub tmMaxCharWidth : i32 , pub tmWeight : i32 , pub tmOverhang : i32 , pub tmDigitizedAspectX : i32 , pub tmDigitizedAspectY : i32 , pub tmFirstChar : u16 , pub tmLastChar : u16 , pub tmDefaultChar : u16 , pub tmBreakChar : u16 , pub tmItalic : u8 , pub tmUnderlined : u8 , pub tmStruckOut : u8 , pub tmPitchAndFamily : u8 , pub tmCharSet : u8 , pub ntmFlags : u32 , pub ntmSizeEM : u32 , pub ntmCellHeight : u32 , pub ntmAvgWidth : u32 } impl NEWTEXTMETRICW { } impl :: std :: default :: Default for NEWTEXTMETRICW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for NEWTEXTMETRICW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NEWTEXTMETRICW" ) . field ( "tmHeight" , & self . tmHeight ) . field ( "tmAscent" , & self . tmAscent ) . field ( "tmDescent" , & self . tmDescent ) . field ( "tmInternalLeading" , & self . tmInternalLeading ) . field ( "tmExternalLeading" , & self . tmExternalLeading ) . field ( "tmAveCharWidth" , & self . tmAveCharWidth ) . field ( "tmMaxCharWidth" , & self . tmMaxCharWidth ) . field ( "tmWeight" , & self . tmWeight ) . field ( "tmOverhang" , & self . tmOverhang ) . field ( "tmDigitizedAspectX" , & self . tmDigitizedAspectX ) . field ( "tmDigitizedAspectY" , & self . tmDigitizedAspectY ) . field ( "tmFirstChar" , & self . tmFirstChar ) . field ( "tmLastChar" , & self . tmLastChar ) . field ( "tmDefaultChar" , & self . tmDefaultChar ) . field ( "tmBreakChar" , & self . tmBreakChar ) . field ( "tmItalic" , & self . tmItalic ) . field ( "tmUnderlined" , & self . tmUnderlined ) . field ( "tmStruckOut" , & self . tmStruckOut ) . field ( "tmPitchAndFamily" , & self . tmPitchAndFamily ) . field ( "tmCharSet" , & self . tmCharSet ) . field ( "ntmFlags" , & self . ntmFlags ) . field ( "ntmSizeEM" , & self . ntmSizeEM ) . field ( "ntmCellHeight" , & self . ntmCellHeight ) . field ( "ntmAvgWidth" , & self . ntmAvgWidth ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NEWTEXTMETRICW { fn eq ( & self , other : & Self ) -> bool { self . tmHeight == other . tmHeight && self . tmAscent == other . tmAscent && self . tmDescent == other . tmDescent && self . tmInternalLeading == other . tmInternalLeading && self . tmExternalLeading == other . tmExternalLeading && self . tmAveCharWidth == other . tmAveCharWidth && self . tmMaxCharWidth == other . tmMaxCharWidth && self . tmWeight == other . tmWeight && self . tmOverhang == other . tmOverhang && self . tmDigitizedAspectX == other . tmDigitizedAspectX && self . tmDigitizedAspectY == other . tmDigitizedAspectY && self . tmFirstChar == other . tmFirstChar && self . tmLastChar == other . tmLastChar && self . tmDefaultChar == other . tmDefaultChar && self . tmBreakChar == other . tmBreakChar && self . tmItalic == other . tmItalic && self . tmUnderlined == other . tmUnderlined && self . tmStruckOut == other . tmStruckOut && self . tmPitchAndFamily == other . tmPitchAndFamily && self . tmCharSet == other . tmCharSet && self . ntmFlags == other . ntmFlags && self . ntmSizeEM == other . ntmSizeEM && self . ntmCellHeight == other . ntmCellHeight && self . ntmAvgWidth == other . ntmAvgWidth } } impl :: std :: cmp :: Eq for NEWTEXTMETRICW { } unsafe impl :: windows :: Abi for NEWTEXTMETRICW { type Abi = Self ; type DefaultType = Self ; } pub const NEXTBAND : u32 = 3u32 ; pub const NTM_BOLD : i32 = 32i32 ; pub const NTM_DSIG : u32 = 2097152u32 ; pub const NTM_ITALIC : i32 = 1i32 ; pub const NTM_MULTIPLEMASTER : u32 = 524288u32 ; pub const NTM_NONNEGATIVE_AC : u32 = 65536u32 ; pub const NTM_PS_OPENTYPE : u32 = 131072u32 ; pub const NTM_REGULAR : i32 = 64i32 ; pub const NTM_TT_OPENTYPE : u32 = 262144u32 ; pub const NTM_TYPE1 : u32 = 1048576u32 ; pub const NULLREGION : u32 = 1u32 ; pub const NUMBRUSHES : u32 = 16u32 ; pub const NUMCOLORS : u32 = 24u32 ; pub const NUMFONTS : u32 = 22u32 ; pub const NUMMARKERS : u32 = 20u32 ; pub const NUMPENS : u32 = 18u32 ; pub const NUMRESERVED : u32 = 106u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct OBJ_TYPE ( pub i32 ) ; pub const OBJ_PEN : OBJ_TYPE = OBJ_TYPE ( 1i32 ) ; pub const OBJ_BRUSH : OBJ_TYPE = OBJ_TYPE ( 2i32 ) ; pub const OBJ_DC : OBJ_TYPE = OBJ_TYPE ( 3i32 ) ; pub const OBJ_METADC : OBJ_TYPE = OBJ_TYPE ( 4i32 ) ; pub const OBJ_PAL : OBJ_TYPE = OBJ_TYPE ( 5i32 ) ; pub const OBJ_FONT : OBJ_TYPE = OBJ_TYPE ( 6i32 ) ; pub const OBJ_BITMAP : OBJ_TYPE = OBJ_TYPE ( 7i32 ) ; pub const OBJ_REGION : OBJ_TYPE = OBJ_TYPE ( 8i32 ) ; pub const OBJ_METAFILE : OBJ_TYPE = OBJ_TYPE ( 9i32 ) ; pub const OBJ_MEMDC : OBJ_TYPE = OBJ_TYPE ( 10i32 ) ; pub const OBJ_EXTPEN : OBJ_TYPE = OBJ_TYPE ( 11i32 ) ; pub const OBJ_ENHMETADC : OBJ_TYPE = OBJ_TYPE ( 12i32 ) ; pub const OBJ_ENHMETAFILE : OBJ_TYPE = OBJ_TYPE ( 13i32 ) ; pub const OBJ_COLORSPACE : OBJ_TYPE = OBJ_TYPE ( 14i32 ) ; impl :: std :: convert :: From < i32 > for OBJ_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OBJ_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const OEM_CHARSET : u32 = 255u32 ; pub const OPENCHANNEL : u32 = 4110u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OUTLINETEXTMETRICA { pub otmSize : u32 , pub otmTextMetrics : TEXTMETRICA , pub otmFiller : u8 , pub otmPanoseNumber : PANOSE , pub otmfsSelection : u32 , pub otmfsType : u32 , pub otmsCharSlopeRise : i32 , pub otmsCharSlopeRun : i32 , pub otmItalicAngle : i32 , pub otmEMSquare : u32 , pub otmAscent : i32 , pub otmDescent : i32 , pub otmLineGap : u32 , pub otmsCapEmHeight : u32 , pub otmsXHeight : u32 , pub otmrcFontBox : super::super::Foundation:: RECT , pub otmMacAscent : i32 , pub otmMacDescent : i32 , pub otmMacLineGap : u32 , pub otmusMinimumPPEM : u32 , pub otmptSubscriptSize : super::super::Foundation:: POINT , pub otmptSubscriptOffset : super::super::Foundation:: POINT , pub otmptSuperscriptSize : super::super::Foundation:: POINT , pub otmptSuperscriptOffset : super::super::Foundation:: POINT , pub otmsStrikeoutSize : u32 , pub otmsStrikeoutPosition : i32 , pub otmsUnderscoreSize : i32 , pub otmsUnderscorePosition : i32 , pub otmpFamilyName : super::super::Foundation:: PSTR , pub otmpFaceName : super::super::Foundation:: PSTR , pub otmpStyleName : super::super::Foundation:: PSTR , pub otmpFullName : super::super::Foundation:: PSTR } impl OUTLINETEXTMETRICA { } impl :: std :: default :: Default for OUTLINETEXTMETRICA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for OUTLINETEXTMETRICA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OUTLINETEXTMETRICA" ) . field ( "otmSize" , & self . otmSize ) . field ( "otmTextMetrics" , & self . otmTextMetrics ) . field ( "otmFiller" , & self . otmFiller ) . field ( "otmPanoseNumber" , & self . otmPanoseNumber ) . field ( "otmfsSelection" , & self . otmfsSelection ) . field ( "otmfsType" , & self . otmfsType ) . field ( "otmsCharSlopeRise" , & self . otmsCharSlopeRise ) . field ( "otmsCharSlopeRun" , & self . otmsCharSlopeRun ) . field ( "otmItalicAngle" , & self . otmItalicAngle ) . field ( "otmEMSquare" , & self . otmEMSquare ) . field ( "otmAscent" , & self . otmAscent ) . field ( "otmDescent" , & self . otmDescent ) . field ( "otmLineGap" , & self . otmLineGap ) . field ( "otmsCapEmHeight" , & self . otmsCapEmHeight ) . field ( "otmsXHeight" , & self . otmsXHeight ) . field ( "otmrcFontBox" , & self . otmrcFontBox ) . field ( "otmMacAscent" , & self . otmMacAscent ) . field ( "otmMacDescent" , & self . otmMacDescent ) . field ( "otmMacLineGap" , & self . otmMacLineGap ) . field ( "otmusMinimumPPEM" , & self . otmusMinimumPPEM ) . field ( "otmptSubscriptSize" , & self . otmptSubscriptSize ) . field ( "otmptSubscriptOffset" , & self . otmptSubscriptOffset ) . field ( "otmptSuperscriptSize" , & self . otmptSuperscriptSize ) . field ( "otmptSuperscriptOffset" , & self . otmptSuperscriptOffset ) . field ( "otmsStrikeoutSize" , & self . otmsStrikeoutSize ) . field ( "otmsStrikeoutPosition" , & self . otmsStrikeoutPosition ) . field ( "otmsUnderscoreSize" , & self . otmsUnderscoreSize ) . field ( "otmsUnderscorePosition" , & self . otmsUnderscorePosition ) . field ( "otmpFamilyName" , & self . otmpFamilyName ) . field ( "otmpFaceName" , & self . otmpFaceName ) . field ( "otmpStyleName" , & self . otmpStyleName ) . field ( "otmpFullName" , & self . otmpFullName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OUTLINETEXTMETRICA { fn eq ( & self , other : & Self ) -> bool { self . otmSize == other . otmSize && self . otmTextMetrics == other . otmTextMetrics && self . otmFiller == other . otmFiller && self . otmPanoseNumber == other . otmPanoseNumber && self . otmfsSelection == other . otmfsSelection && self . otmfsType == other . otmfsType && self . otmsCharSlopeRise == other . otmsCharSlopeRise && self . otmsCharSlopeRun == other . otmsCharSlopeRun && self . otmItalicAngle == other . otmItalicAngle && self . otmEMSquare == other . otmEMSquare && self . otmAscent == other . otmAscent && self . otmDescent == other . otmDescent && self . otmLineGap == other . otmLineGap && self . otmsCapEmHeight == other . otmsCapEmHeight && self . otmsXHeight == other . otmsXHeight && self . otmrcFontBox == other . otmrcFontBox && self . otmMacAscent == other . otmMacAscent && self . otmMacDescent == other . otmMacDescent && self . otmMacLineGap == other . otmMacLineGap && self . otmusMinimumPPEM == other . otmusMinimumPPEM && self . otmptSubscriptSize == other . otmptSubscriptSize && self . otmptSubscriptOffset == other . otmptSubscriptOffset && self . otmptSuperscriptSize == other . otmptSuperscriptSize && self . otmptSuperscriptOffset == other . otmptSuperscriptOffset && self . otmsStrikeoutSize == other . otmsStrikeoutSize && self . otmsStrikeoutPosition == other . otmsStrikeoutPosition && self . otmsUnderscoreSize == other . otmsUnderscoreSize && self . otmsUnderscorePosition == other . otmsUnderscorePosition && self . otmpFamilyName == other . otmpFamilyName && self . otmpFaceName == other . otmpFaceName && self . otmpStyleName == other . otmpStyleName && self . otmpFullName == other . otmpFullName } } impl :: std :: cmp :: Eq for OUTLINETEXTMETRICA { } unsafe impl :: windows :: Abi for OUTLINETEXTMETRICA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OUTLINETEXTMETRICW { pub otmSize : u32 , pub otmTextMetrics : TEXTMETRICW , pub otmFiller : u8 , pub otmPanoseNumber : PANOSE , pub otmfsSelection : u32 , pub otmfsType : u32 , pub otmsCharSlopeRise : i32 , pub otmsCharSlopeRun : i32 , pub otmItalicAngle : i32 , pub otmEMSquare : u32 , pub otmAscent : i32 , pub otmDescent : i32 , pub otmLineGap : u32 , pub otmsCapEmHeight : u32 , pub otmsXHeight : u32 , pub otmrcFontBox : super::super::Foundation:: RECT , pub otmMacAscent : i32 , pub otmMacDescent : i32 , pub otmMacLineGap : u32 , pub otmusMinimumPPEM : u32 , pub otmptSubscriptSize : super::super::Foundation:: POINT , pub otmptSubscriptOffset : super::super::Foundation:: POINT , pub otmptSuperscriptSize : super::super::Foundation:: POINT , pub otmptSuperscriptOffset : super::super::Foundation:: POINT , pub otmsStrikeoutSize : u32 , pub otmsStrikeoutPosition : i32 , pub otmsUnderscoreSize : i32 , pub otmsUnderscorePosition : i32 , pub otmpFamilyName : super::super::Foundation:: PSTR , pub otmpFaceName : super::super::Foundation:: PSTR , pub otmpStyleName : super::super::Foundation:: PSTR , pub otmpFullName : super::super::Foundation:: PSTR } impl OUTLINETEXTMETRICW { } impl :: std :: default :: Default for OUTLINETEXTMETRICW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for OUTLINETEXTMETRICW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OUTLINETEXTMETRICW" ) . field ( "otmSize" , & self . otmSize ) . field ( "otmTextMetrics" , & self . otmTextMetrics ) . field ( "otmFiller" , & self . otmFiller ) . field ( "otmPanoseNumber" , & self . otmPanoseNumber ) . field ( "otmfsSelection" , & self . otmfsSelection ) . field ( "otmfsType" , & self . otmfsType ) . field ( "otmsCharSlopeRise" , & self . otmsCharSlopeRise ) . field ( "otmsCharSlopeRun" , & self . otmsCharSlopeRun ) . field ( "otmItalicAngle" , & self . otmItalicAngle ) . field ( "otmEMSquare" , & self . otmEMSquare ) . field ( "otmAscent" , & self . otmAscent ) . field ( "otmDescent" , & self . otmDescent ) . field ( "otmLineGap" , & self . otmLineGap ) . field ( "otmsCapEmHeight" , & self . otmsCapEmHeight ) . field ( "otmsXHeight" , & self . otmsXHeight ) . field ( "otmrcFontBox" , & self . otmrcFontBox ) . field ( "otmMacAscent" , & self . otmMacAscent ) . field ( "otmMacDescent" , & self . otmMacDescent ) . field ( "otmMacLineGap" , & self . otmMacLineGap ) . field ( "otmusMinimumPPEM" , & self . otmusMinimumPPEM ) . field ( "otmptSubscriptSize" , & self . otmptSubscriptSize ) . field ( "otmptSubscriptOffset" , & self . otmptSubscriptOffset ) . field ( "otmptSuperscriptSize" , & self . otmptSuperscriptSize ) . field ( "otmptSuperscriptOffset" , & self . otmptSuperscriptOffset ) . field ( "otmsStrikeoutSize" , & self . otmsStrikeoutSize ) . field ( "otmsStrikeoutPosition" , & self . otmsStrikeoutPosition ) . field ( "otmsUnderscoreSize" , & self . otmsUnderscoreSize ) . field ( "otmsUnderscorePosition" , & self . otmsUnderscorePosition ) . field ( "otmpFamilyName" , & self . otmpFamilyName ) . field ( "otmpFaceName" , & self . otmpFaceName ) . field ( "otmpStyleName" , & self . otmpStyleName ) . field ( "otmpFullName" , & self . otmpFullName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OUTLINETEXTMETRICW { fn eq ( & self , other : & Self ) -> bool { self . otmSize == other . otmSize && self . otmTextMetrics == other . otmTextMetrics && self . otmFiller == other . otmFiller && self . otmPanoseNumber == other . otmPanoseNumber && self . otmfsSelection == other . otmfsSelection && self . otmfsType == other . otmfsType && self . otmsCharSlopeRise == other . otmsCharSlopeRise && self . otmsCharSlopeRun == other . otmsCharSlopeRun && self . otmItalicAngle == other . otmItalicAngle && self . otmEMSquare == other . otmEMSquare && self . otmAscent == other . otmAscent && self . otmDescent == other . otmDescent && self . otmLineGap == other . otmLineGap && self . otmsCapEmHeight == other . otmsCapEmHeight && self . otmsXHeight == other . otmsXHeight && self . otmrcFontBox == other . otmrcFontBox && self . otmMacAscent == other . otmMacAscent && self . otmMacDescent == other . otmMacDescent && self . otmMacLineGap == other . otmMacLineGap && self . otmusMinimumPPEM == other . otmusMinimumPPEM && self . otmptSubscriptSize == other . otmptSubscriptSize && self . otmptSubscriptOffset == other . otmptSubscriptOffset && self . otmptSuperscriptSize == other . otmptSuperscriptSize && self . otmptSuperscriptOffset == other . otmptSuperscriptOffset && self . otmsStrikeoutSize == other . otmsStrikeoutSize && self . otmsStrikeoutPosition == other . otmsStrikeoutPosition && self . otmsUnderscoreSize == other . otmsUnderscoreSize && self . otmsUnderscorePosition == other . otmsUnderscorePosition && self . otmpFamilyName == other . otmpFamilyName && self . otmpFaceName == other . otmpFaceName && self . otmpStyleName == other . otmpStyleName && self . otmpFullName == other . otmpFullName } } impl :: std :: cmp :: Eq for OUTLINETEXTMETRICW { } unsafe impl :: windows :: Abi for OUTLINETEXTMETRICW { type Abi = Self ; type DefaultType = Self ; } pub const OUT_SCREEN_OUTLINE_PRECIS : u32 = 9u32 ; pub unsafe fn OffsetClipRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn OffsetClipRgn ( hdc : HDC , x : i32 , y : i32 ) -> i32 ; } :: std :: mem :: transmute ( OffsetClipRgn ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OffsetRect < > ( lprc : * mut super::super::Foundation:: RECT , dx : i32 , dy : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn OffsetRect ( lprc : * mut super::super::Foundation:: RECT , dx : i32 , dy : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( OffsetRect ( :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( dx ) , :: std :: mem :: transmute ( dy ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OffsetRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgn : Param0 , x : i32 , y : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn OffsetRgn ( hrgn : HRGN , x : i32 , y : i32 ) -> i32 ; } :: std :: mem :: transmute ( OffsetRgn ( hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OffsetViewportOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn OffsetViewportOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( OffsetViewportOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OffsetWindowOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn OffsetWindowOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( OffsetWindowOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PAINTSTRUCT { pub hdc : HDC , pub fErase : super::super::Foundation:: BOOL , pub rcPaint : super::super::Foundation:: RECT , pub fRestore : super::super::Foundation:: BOOL , pub fIncUpdate : super::super::Foundation:: BOOL , pub rgbReserved : [ u8 ;32 ] } impl PAINTSTRUCT { } impl :: std :: default :: Default for PAINTSTRUCT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for PAINTSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PAINTSTRUCT" ) . field ( "hdc" , & self . hdc ) . field ( "fErase" , & self . fErase ) . field ( "rcPaint" , & self . rcPaint ) . field ( "fRestore" , & self . fRestore ) . field ( "fIncUpdate" , & self . fIncUpdate ) . field ( "rgbReserved" , & self . rgbReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PAINTSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . hdc == other . hdc && self . fErase == other . fErase && self . rcPaint == other . rcPaint && self . fRestore == other . fRestore && self . fIncUpdate == other . fIncUpdate && self . rgbReserved == other . rgbReserved } } impl :: std :: cmp :: Eq for PAINTSTRUCT { } unsafe impl :: windows :: Abi for PAINTSTRUCT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PALETTEENTRY { pub peRed : u8 , pub peGreen : u8 , pub peBlue : u8 , pub peFlags : u8 } impl PALETTEENTRY { } impl :: std :: default :: Default for PALETTEENTRY { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for PALETTEENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PALETTEENTRY" ) . field ( "peRed" , & self . peRed ) . field ( "peGreen" , & self . peGreen ) . field ( "peBlue" , & self . peBlue ) . field ( "peFlags" , & self . peFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PALETTEENTRY { fn eq ( & self , other : & Self ) -> bool { self . peRed == other . peRed && self . peGreen == other . peGreen && self . peBlue == other . peBlue && self . peFlags == other . peFlags } } impl :: std :: cmp :: Eq for PALETTEENTRY { } unsafe impl :: windows :: Abi for PALETTEENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PANOSE { pub bFamilyType : u8 , pub bSerifStyle : u8 , pub bWeight : u8 , pub bProportion : u8 , pub bContrast : u8 , pub bStrokeVariation : u8 , pub bArmStyle : u8 , pub bLetterform : u8 , pub bMidline : u8 , pub bXHeight : u8 } impl PANOSE { } impl :: std :: default :: Default for PANOSE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for PANOSE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PANOSE" ) . field ( "bFamilyType" , & self . bFamilyType ) . field ( "bSerifStyle" , & self . bSerifStyle ) . field ( "bWeight" , & self . bWeight ) . field ( "bProportion" , & self . bProportion ) . field ( "bContrast" , & self . bContrast ) . field ( "bStrokeVariation" , & self . bStrokeVariation ) . field ( "bArmStyle" , & self . bArmStyle ) . field ( "bLetterform" , & self . bLetterform ) . field ( "bMidline" , & self . bMidline ) . field ( "bXHeight" , & self . bXHeight ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PANOSE { fn eq ( & self , other : & Self ) -> bool { self . bFamilyType == other . bFamilyType && self . bSerifStyle == other . bSerifStyle && self . bWeight == other . bWeight && self . bProportion == other . bProportion && self . bContrast == other . bContrast && self . bStrokeVariation == other . bStrokeVariation && self . bArmStyle == other . bArmStyle && self . bLetterform == other . bLetterform && self . bMidline == other . bMidline && self . bXHeight == other . bXHeight } } impl :: std :: cmp :: Eq for PANOSE { } unsafe impl :: windows :: Abi for PANOSE { type Abi = Self ; type DefaultType = Self ; } pub const PANOSE_COUNT : u32 = 10u32 ; pub const PAN_ANY : u32 = 0u32 ; pub const PAN_ARMSTYLE_INDEX : u32 = 6u32 ; pub const PAN_BENT_ARMS_DOUBLE_SERIF : u32 = 11u32 ; pub const PAN_BENT_ARMS_HORZ : u32 = 7u32 ; pub const PAN_BENT_ARMS_SINGLE_SERIF : u32 = 10u32 ; pub const PAN_BENT_ARMS_VERT : u32 = 9u32 ; pub const PAN_BENT_ARMS_WEDGE : u32 = 8u32 ; pub const PAN_CONTRAST_HIGH : u32 = 8u32 ; pub const PAN_CONTRAST_INDEX : u32 = 4u32 ; pub const PAN_CONTRAST_LOW : u32 = 4u32 ; pub const PAN_CONTRAST_MEDIUM : u32 = 6u32 ; pub const PAN_CONTRAST_MEDIUM_HIGH : u32 = 7u32 ; pub const PAN_CONTRAST_MEDIUM_LOW : u32 = 5u32 ; pub const PAN_CONTRAST_NONE : u32 = 2u32 ; pub const PAN_CONTRAST_VERY_HIGH : u32 = 9u32 ; pub const PAN_CONTRAST_VERY_LOW : u32 = 3u32 ; pub const PAN_CULTURE_LATIN : u32 = 0u32 ; pub const PAN_FAMILYTYPE_INDEX : u32 = 0u32 ; pub const PAN_FAMILY_DECORATIVE : u32 = 4u32 ; pub const PAN_FAMILY_PICTORIAL : u32 = 5u32 ; pub const PAN_FAMILY_SCRIPT : u32 = 3u32 ; pub const PAN_FAMILY_TEXT_DISPLAY : u32 = 2u32 ; pub const PAN_LETTERFORM_INDEX : u32 = 7u32 ; pub const PAN_LETT_NORMAL_BOXED : u32 = 4u32 ; pub const PAN_LETT_NORMAL_CONTACT : u32 = 2u32 ; pub const PAN_LETT_NORMAL_FLATTENED : u32 = 5u32 ; pub const PAN_LETT_NORMAL_OFF_CENTER : u32 = 7u32 ; pub const PAN_LETT_NORMAL_ROUNDED : u32 = 6u32 ; pub const PAN_LETT_NORMAL_SQUARE : u32 = 8u32 ; pub const PAN_LETT_NORMAL_WEIGHTED : u32 = 3u32 ; pub const PAN_LETT_OBLIQUE_BOXED : u32 = 11u32 ; pub const PAN_LETT_OBLIQUE_CONTACT : u32 = 9u32 ; pub const PAN_LETT_OBLIQUE_FLATTENED : u32 = 12u32 ; pub const PAN_LETT_OBLIQUE_OFF_CENTER : u32 = 14u32 ; pub const PAN_LETT_OBLIQUE_ROUNDED : u32 = 13u32 ; pub const PAN_LETT_OBLIQUE_SQUARE : u32 = 15u32 ; pub const PAN_LETT_OBLIQUE_WEIGHTED : u32 = 10u32 ; pub const PAN_MIDLINE_CONSTANT_POINTED : u32 = 9u32 ; pub const PAN_MIDLINE_CONSTANT_SERIFED : u32 = 10u32 ; pub const PAN_MIDLINE_CONSTANT_TRIMMED : u32 = 8u32 ; pub const PAN_MIDLINE_HIGH_POINTED : u32 = 6u32 ; pub const PAN_MIDLINE_HIGH_SERIFED : u32 = 7u32 ; pub const PAN_MIDLINE_HIGH_TRIMMED : u32 = 5u32 ; pub const PAN_MIDLINE_INDEX : u32 = 8u32 ; pub const PAN_MIDLINE_LOW_POINTED : u32 = 12u32 ; pub const PAN_MIDLINE_LOW_SERIFED : u32 = 13u32 ; pub const PAN_MIDLINE_LOW_TRIMMED : u32 = 11u32 ; pub const PAN_MIDLINE_STANDARD_POINTED : u32 = 3u32 ; pub const PAN_MIDLINE_STANDARD_SERIFED : u32 = 4u32 ; pub const PAN_MIDLINE_STANDARD_TRIMMED : u32 = 2u32 ; pub const PAN_NO_FIT : u32 = 1u32 ; pub const PAN_PROPORTION_INDEX : u32 = 3u32 ; pub const PAN_PROP_CONDENSED : u32 = 6u32 ; pub const PAN_PROP_EVEN_WIDTH : u32 = 4u32 ; pub const PAN_PROP_EXPANDED : u32 = 5u32 ; pub const PAN_PROP_MODERN : u32 = 3u32 ; pub const PAN_PROP_MONOSPACED : u32 = 9u32 ; pub const PAN_PROP_OLD_STYLE : u32 = 2u32 ; pub const PAN_PROP_VERY_CONDENSED : u32 = 8u32 ; pub const PAN_PROP_VERY_EXPANDED : u32 = 7u32 ; pub const PAN_SERIFSTYLE_INDEX : u32 = 1u32 ; pub const PAN_SERIF_BONE : u32 = 8u32 ; pub const PAN_SERIF_COVE : u32 = 2u32 ; pub const PAN_SERIF_EXAGGERATED : u32 = 9u32 ; pub const PAN_SERIF_FLARED : u32 = 14u32 ; pub const PAN_SERIF_NORMAL_SANS : u32 = 11u32 ; pub const PAN_SERIF_OBTUSE_COVE : u32 = 3u32 ; pub const PAN_SERIF_OBTUSE_SANS : u32 = 12u32 ; pub const PAN_SERIF_OBTUSE_SQUARE_COVE : u32 = 5u32 ; pub const PAN_SERIF_PERP_SANS : u32 = 13u32 ; pub const PAN_SERIF_ROUNDED : u32 = 15u32 ; pub const PAN_SERIF_SQUARE : u32 = 6u32 ; pub const PAN_SERIF_SQUARE_COVE : u32 = 4u32 ; pub const PAN_SERIF_THIN : u32 = 7u32 ; pub const PAN_SERIF_TRIANGLE : u32 = 10u32 ; pub const PAN_STRAIGHT_ARMS_DOUBLE_SERIF : u32 = 6u32 ; pub const PAN_STRAIGHT_ARMS_HORZ : u32 = 2u32 ; pub const PAN_STRAIGHT_ARMS_SINGLE_SERIF : u32 = 5u32 ; pub const PAN_STRAIGHT_ARMS_VERT : u32 = 4u32 ; pub const PAN_STRAIGHT_ARMS_WEDGE : u32 = 3u32 ; pub const PAN_STROKEVARIATION_INDEX : u32 = 5u32 ; pub const PAN_STROKE_GRADUAL_DIAG : u32 = 2u32 ; pub const PAN_STROKE_GRADUAL_HORZ : u32 = 5u32 ; pub const PAN_STROKE_GRADUAL_TRAN : u32 = 3u32 ; pub const PAN_STROKE_GRADUAL_VERT : u32 = 4u32 ; pub const PAN_STROKE_INSTANT_VERT : u32 = 8u32 ; pub const PAN_STROKE_RAPID_HORZ : u32 = 7u32 ; pub const PAN_STROKE_RAPID_VERT : u32 = 6u32 ; pub const PAN_WEIGHT_BLACK : u32 = 10u32 ; pub const PAN_WEIGHT_BOLD : u32 = 8u32 ; pub const PAN_WEIGHT_BOOK : u32 = 5u32 ; pub const PAN_WEIGHT_DEMI : u32 = 7u32 ; pub const PAN_WEIGHT_HEAVY : u32 = 9u32 ; pub const PAN_WEIGHT_INDEX : u32 = 2u32 ; pub const PAN_WEIGHT_LIGHT : u32 = 3u32 ; pub const PAN_WEIGHT_MEDIUM : u32 = 6u32 ; pub const PAN_WEIGHT_NORD : u32 = 11u32 ; pub const PAN_WEIGHT_THIN : u32 = 4u32 ; pub const PAN_WEIGHT_VERY_LIGHT : u32 = 2u32 ; pub const PAN_XHEIGHT_CONSTANT_LARGE : u32 = 4u32 ; pub const PAN_XHEIGHT_CONSTANT_SMALL : u32 = 2u32 ; pub const PAN_XHEIGHT_CONSTANT_STD : u32 = 3u32 ; pub const PAN_XHEIGHT_DUCKING_LARGE : u32 = 7u32 ; pub const PAN_XHEIGHT_DUCKING_SMALL : u32 = 5u32 ; pub const PAN_XHEIGHT_DUCKING_STD : u32 = 6u32 ; pub const PAN_XHEIGHT_INDEX : u32 = 9u32 ; pub const PASSTHROUGH : u32 = 19u32 ; pub const PC_EXPLICIT : u32 = 2u32 ; pub const PC_INTERIORS : u32 = 128u32 ; pub const PC_NOCOLLAPSE : u32 = 4u32 ; pub const PC_NONE : u32 = 0u32 ; pub const PC_PATHS : u32 = 512u32 ; pub const PC_POLYGON : u32 = 1u32 ; pub const PC_POLYPOLYGON : u32 = 256u32 ; pub const PC_RECTANGLE : u32 = 2u32 ; pub const PC_RESERVED : u32 = 1u32 ; pub const PC_SCANLINE : u32 = 8u32 ; pub const PC_STYLED : u32 = 32u32 ; pub const PC_TRAPEZOID : u32 = 4u32 ; pub const PC_WIDE : u32 = 16u32 ; pub const PC_WIDESTYLED : u32 = 64u32 ; pub const PC_WINDPOLYGON : u32 = 4u32 ; pub const PDEVICESIZE : u32 = 26u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PELARRAY { pub paXCount : i32 , pub paYCount : i32 , pub paXExt : i32 , pub paYExt : i32 , pub paRGBs : u8 } impl PELARRAY { } impl :: std :: default :: Default for PELARRAY { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for PELARRAY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PELARRAY" ) . field ( "paXCount" , & self . paXCount ) . field ( "paYCount" , & self . paYCount ) . field ( "paXExt" , & self . paXExt ) . field ( "paYExt" , & self . paYExt ) . field ( "paRGBs" , & self . paRGBs ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PELARRAY { fn eq ( & self , other : & Self ) -> bool { self . paXCount == other . paXCount && self . paYCount == other . paYCount && self . paXExt == other . paXExt && self . paYExt == other . paYExt && self . paRGBs == other . paRGBs } } impl :: std :: cmp :: Eq for PELARRAY { } unsafe impl :: windows :: Abi for PELARRAY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PEN_STYLE ( pub u32 ) ; pub const PS_GEOMETRIC : PEN_STYLE = PEN_STYLE ( 65536u32 ) ; pub const PS_COSMETIC : PEN_STYLE = PEN_STYLE ( 0u32 ) ; pub const PS_SOLID : PEN_STYLE = PEN_STYLE ( 0u32 ) ; pub const PS_DASH : PEN_STYLE = PEN_STYLE ( 1u32 ) ; pub const PS_DOT : PEN_STYLE = PEN_STYLE ( 2u32 ) ; pub const PS_DASHDOT : PEN_STYLE = PEN_STYLE ( 3u32 ) ; pub const PS_DASHDOTDOT : PEN_STYLE = PEN_STYLE ( 4u32 ) ; pub const PS_NULL : PEN_STYLE = PEN_STYLE ( 5u32 ) ; pub const PS_INSIDEFRAME : PEN_STYLE = PEN_STYLE ( 6u32 ) ; pub const PS_USERSTYLE : PEN_STYLE = PEN_STYLE ( 7u32 ) ; pub const PS_ALTERNATE : PEN_STYLE = PEN_STYLE ( 8u32 ) ; pub const PS_STYLE_MASK : PEN_STYLE = PEN_STYLE ( 15u32 ) ; pub const PS_ENDCAP_ROUND : PEN_STYLE = PEN_STYLE ( 0u32 ) ; pub const PS_ENDCAP_SQUARE : PEN_STYLE = PEN_STYLE ( 256u32 ) ; pub const PS_ENDCAP_FLAT : PEN_STYLE = PEN_STYLE ( 512u32 ) ; pub const PS_ENDCAP_MASK : PEN_STYLE = PEN_STYLE ( 3840u32 ) ; pub const PS_JOIN_ROUND : PEN_STYLE = PEN_STYLE ( 0u32 ) ; pub const PS_JOIN_BEVEL : PEN_STYLE = PEN_STYLE ( 4096u32 ) ; pub const PS_JOIN_MITER : PEN_STYLE = PEN_STYLE ( 8192u32 ) ; pub const PS_JOIN_MASK : PEN_STYLE = PEN_STYLE ( 61440u32 ) ; pub const PS_TYPE_MASK : PEN_STYLE = PEN_STYLE ( 983040u32 ) ; impl :: std :: convert :: From < u32 > for PEN_STYLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PEN_STYLE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for PEN_STYLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PEN_STYLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PEN_STYLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PEN_STYLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for PEN_STYLE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const PFD_DEPTH_DONTCARE : u32 = 536870912u32 ; pub const PFD_DIRECT3D_ACCELERATED : u32 = 16384u32 ; pub const PFD_DOUBLEBUFFER : u32 = 1u32 ; pub const PFD_DOUBLEBUFFER_DONTCARE : u32 = 1073741824u32 ; pub const PFD_DRAW_TO_BITMAP : u32 = 8u32 ; pub const PFD_DRAW_TO_WINDOW : u32 = 4u32 ; pub const PFD_GENERIC_ACCELERATED : u32 = 4096u32 ; pub const PFD_GENERIC_FORMAT : u32 = 64u32 ; pub const PFD_MAIN_PLANE : u32 = 0u32 ; pub const PFD_NEED_PALETTE : u32 = 128u32 ; pub const PFD_NEED_SYSTEM_PALETTE : u32 = 256u32 ; pub const PFD_OVERLAY_PLANE : u32 = 1u32 ; pub const PFD_STEREO : u32 = 2u32 ; pub const PFD_STEREO_DONTCARE : u32 = 2147483648u32 ; pub const PFD_SUPPORT_COMPOSITION : u32 = 32768u32 ; pub const PFD_SUPPORT_DIRECTDRAW : u32 = 8192u32 ; pub const PFD_SUPPORT_GDI : u32 = 16u32 ; pub const PFD_SUPPORT_OPENGL : u32 = 32u32 ; pub const PFD_SWAP_COPY : u32 = 1024u32 ; pub const PFD_SWAP_EXCHANGE : u32 = 512u32 ; pub const PFD_SWAP_LAYER_BUFFERS : u32 = 2048u32 ; pub const PFD_TYPE_COLORINDEX : u32 = 1u32 ; pub const PFD_TYPE_RGBA : u32 = 0u32 ; pub const PFD_UNDERLAY_PLANE : i32 = -1i32 ; pub const PHYSICALHEIGHT : u32 = 111u32 ; pub const PHYSICALOFFSETX : u32 = 112u32 ; pub const PHYSICALOFFSETY : u32 = 113u32 ; pub const PHYSICALWIDTH : u32 = 110u32 ; pub const PLANES : u32 = 14u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINTFX { pub x : FIXED , pub y : FIXED } impl POINTFX { } impl :: std :: default :: Default for POINTFX { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for POINTFX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINTFX" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINTFX { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINTFX { } unsafe impl :: windows :: Abi for POINTFX { type Abi = Self ; type DefaultType = Self ; } pub const POLYFILL_LAST : u32 = 2u32 ; pub const POLYGONALCAPS : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POLYTEXTA { pub x : i32 , pub y : i32 , pub n : u32 , pub lpstr : super::super::Foundation:: PSTR , pub uiFlags : u32 , pub rcl : super::super::Foundation:: RECT , pub pdx : * mut i32 } impl POLYTEXTA { } impl :: std :: default :: Default for POLYTEXTA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for POLYTEXTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POLYTEXTA" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . field ( "n" , & self . n ) . field ( "lpstr" , & self . lpstr ) . field ( "uiFlags" , & self . uiFlags ) . field ( "rcl" , & self . rcl ) . field ( "pdx" , & self . pdx ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POLYTEXTA { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y && self . n == other . n && self . lpstr == other . lpstr && self . uiFlags == other . uiFlags && self . rcl == other . rcl && self . pdx == other . pdx } } impl :: std :: cmp :: Eq for POLYTEXTA { } unsafe impl :: windows :: Abi for POLYTEXTA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POLYTEXTW { pub x : i32 , pub y : i32 , pub n : u32 , pub lpstr : super::super::Foundation:: PWSTR , pub uiFlags : u32 , pub rcl : super::super::Foundation:: RECT , pub pdx : * mut i32 } impl POLYTEXTW { } impl :: std :: default :: Default for POLYTEXTW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for POLYTEXTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POLYTEXTW" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . field ( "n" , & self . n ) . field ( "lpstr" , & self . lpstr ) . field ( "uiFlags" , & self . uiFlags ) . field ( "rcl" , & self . rcl ) . field ( "pdx" , & self . pdx ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POLYTEXTW { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y && self . n == other . n && self . lpstr == other . lpstr && self . uiFlags == other . uiFlags && self . rcl == other . rcl && self . pdx == other . pdx } } impl :: std :: cmp :: Eq for POLYTEXTW { } unsafe impl :: windows :: Abi for POLYTEXTW { type Abi = Self ; type DefaultType = Self ; } pub const POSTSCRIPT_DATA : u32 = 37u32 ; pub const POSTSCRIPT_IDENTIFY : u32 = 4117u32 ; pub const POSTSCRIPT_IGNORE : u32 = 38u32 ; pub const POSTSCRIPT_INJECTION : u32 = 4118u32 ; pub const POSTSCRIPT_PASSTHROUGH : u32 = 4115u32 ; pub const PRINTRATEUNIT_CPS : u32 = 2u32 ; pub const PRINTRATEUNIT_IPM : u32 = 4u32 ; pub const PRINTRATEUNIT_LPM : u32 = 3u32 ; pub const PRINTRATEUNIT_PPM : u32 = 1u32 ; pub const PR_JOBSTATUS : u32 = 0u32 ; pub const PSIDENT_GDICENTRIC : u32 = 0u32 ; pub const PSIDENT_PSCENTRIC : u32 = 1u32 ; pub const PSINJECT_DLFONT : u32 = 3722304989u32 ; pub const PSPROTOCOL_ASCII : u32 = 0u32 ; pub const PSPROTOCOL_BCP : u32 = 1u32 ; pub const PSPROTOCOL_BINARY : u32 = 3u32 ; pub const PSPROTOCOL_TBCP : u32 = 2u32 ; pub const PT_BEZIERTO : u32 = 4u32 ; pub const PT_CLOSEFIGURE : u32 = 1u32 ; pub const PT_LINETO : u32 = 2u32 ; pub const PT_MOVETO : u32 = 6u32 ; pub unsafe fn PaintDesktop < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn PaintDesktop ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PaintDesktop ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PaintRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hdc : Param0 , hrgn : Param1 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PaintRgn ( hdc : HDC , hrgn : HRGN ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PaintRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PatBlt < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , w : i32 , h : i32 , rop : ROP_CODE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PatBlt ( hdc : HDC , x : i32 , y : i32 , w : i32 , h : i32 , rop : ROP_CODE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PatBlt ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( w ) , :: std :: mem :: transmute ( h ) , :: std :: mem :: transmute ( rop ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PathToRegion < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> HRGN { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PathToRegion ( hdc : HDC ) -> HRGN ; } :: std :: mem :: transmute ( PathToRegion ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Pie < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , xr1 : i32 , yr1 : i32 , xr2 : i32 , yr2 : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn Pie ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 , xr1 : i32 , yr1 : i32 , xr2 : i32 , yr2 : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( Pie ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) , :: std :: mem :: transmute ( xr1 ) , :: std :: mem :: transmute ( yr1 ) , :: std :: mem :: transmute ( xr2 ) , :: std :: mem :: transmute ( yr2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PlayEnhMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HENHMETAFILE > , > ( hdc : Param0 , hmf : Param1 , lprect : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PlayEnhMetaFile ( hdc : HDC , hmf : HENHMETAFILE , lprect : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PlayEnhMetaFile ( hdc . into_param ( ) . abi ( ) , hmf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PlayEnhMetaFileRecord < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , pht : * const HANDLETABLE , pmr : * const ENHMETARECORD , cht : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PlayEnhMetaFileRecord ( hdc : HDC , pht : * const HANDLETABLE , pmr : * const ENHMETARECORD , cht : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PlayEnhMetaFileRecord ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pht ) , :: std :: mem :: transmute ( pmr ) , :: std :: mem :: transmute ( cht ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PlayMetaFile < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HMETAFILE > , > ( hdc : Param0 , hmf : Param1 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PlayMetaFile ( hdc : HDC , hmf : HMETAFILE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PlayMetaFile ( hdc . into_param ( ) . abi ( ) , hmf . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PlayMetaFileRecord < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lphandletable : * const HANDLETABLE , lpmr : * const METARECORD , noobjs : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PlayMetaFileRecord ( hdc : HDC , lphandletable : * const HANDLETABLE , lpmr : * const METARECORD , noobjs : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PlayMetaFileRecord ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lphandletable ) , :: std :: mem :: transmute ( lpmr ) , :: std :: mem :: transmute ( noobjs ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PlgBlt < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param2 : :: windows :: IntoParam < 'a , HDC > , Param7 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hdcdest : Param0 , lppoint : * const super::super::Foundation:: POINT , hdcsrc : Param2 , xsrc : i32 , ysrc : i32 , width : i32 , height : i32 , hbmmask : Param7 , xmask : i32 , ymask : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PlgBlt ( hdcdest : HDC , lppoint : * const super::super::Foundation:: POINT , hdcsrc : HDC , xsrc : i32 , ysrc : i32 , width : i32 , height : i32 , hbmmask : HBITMAP , xmask : i32 , ymask : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PlgBlt ( hdcdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppoint ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xsrc ) , :: std :: mem :: transmute ( ysrc ) , :: std :: mem :: transmute ( width ) , :: std :: mem :: transmute ( height ) , hbmmask . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xmask ) , :: std :: mem :: transmute ( ymask ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolyBezier < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , cpt : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolyBezier ( hdc : HDC , apt : * const super::super::Foundation:: POINT , cpt : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolyBezier ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( cpt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolyBezierTo < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , cpt : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolyBezierTo ( hdc : HDC , apt : * const super::super::Foundation:: POINT , cpt : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolyBezierTo ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( cpt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolyDraw < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , aj : * const u8 , cpt : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolyDraw ( hdc : HDC , apt : * const super::super::Foundation:: POINT , aj : * const u8 , cpt : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolyDraw ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( aj ) , :: std :: mem :: transmute ( cpt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolyPolygon < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , asz : * const i32 , csz : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolyPolygon ( hdc : HDC , apt : * const super::super::Foundation:: POINT , asz : * const i32 , csz : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolyPolygon ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( asz ) , :: std :: mem :: transmute ( csz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolyPolyline < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , asz : * const u32 , csz : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolyPolyline ( hdc : HDC , apt : * const super::super::Foundation:: POINT , asz : * const u32 , csz : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolyPolyline ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( asz ) , :: std :: mem :: transmute ( csz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolyTextOutA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ppt : * const POLYTEXTA , nstrings : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolyTextOutA ( hdc : HDC , ppt : * const POLYTEXTA , nstrings : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolyTextOutA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppt ) , :: std :: mem :: transmute ( nstrings ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolyTextOutW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ppt : * const POLYTEXTW , nstrings : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolyTextOutW ( hdc : HDC , ppt : * const POLYTEXTW , nstrings : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolyTextOutW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppt ) , :: std :: mem :: transmute ( nstrings ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Polygon < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , cpt : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn Polygon ( hdc : HDC , apt : * const super::super::Foundation:: POINT , cpt : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( Polygon ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( cpt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Polyline < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , cpt : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn Polyline ( hdc : HDC , apt : * const super::super::Foundation:: POINT , cpt : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( Polyline ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( cpt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PolylineTo < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , apt : * const super::super::Foundation:: POINT , cpt : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PolylineTo ( hdc : HDC , apt : * const super::super::Foundation:: POINT , cpt : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PolylineTo ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( apt ) , :: std :: mem :: transmute ( cpt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PtInRect < 'a , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: POINT > , > ( lprc : * const super::super::Foundation:: RECT , pt : Param1 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn PtInRect ( lprc : * const super::super::Foundation:: RECT , pt : super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PtInRect ( :: std :: mem :: transmute ( lprc ) , pt . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PtInRegion < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgn : Param0 , x : i32 , y : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PtInRegion ( hrgn : HRGN , x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PtInRegion ( hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PtVisible < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn PtVisible ( hdc : HDC , x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( PtVisible ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const QDC_ALL_PATHS : u32 = 1u32 ; pub const QDC_DATABASE_CURRENT : u32 = 4u32 ; pub const QDC_INCLUDE_HMD : u32 = 32u32 ; pub const QDC_ONLY_ACTIVE_PATHS : u32 = 2u32 ; pub const QDC_VIRTUAL_MODE_AWARE : u32 = 16u32 ; pub const QDI_DIBTOSCREEN : u32 = 4u32 ; pub const QDI_GETDIBITS : u32 = 2u32 ; pub const QDI_SETDIBITS : u32 = 1u32 ; pub const QDI_STRETCHDIB : u32 = 8u32 ; pub const QUERYDIBSUPPORT : u32 = 3073u32 ; pub const QUERYESCSUPPORT : u32 = 8u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct R2_MODE ( pub i32 ) ; pub const R2_BLACK : R2_MODE = R2_MODE ( 1i32 ) ; pub const R2_NOTMERGEPEN : R2_MODE = R2_MODE ( 2i32 ) ; pub const R2_MASKNOTPEN : R2_MODE = R2_MODE ( 3i32 ) ; pub const R2_NOTCOPYPEN : R2_MODE = R2_MODE ( 4i32 ) ; pub const R2_MASKPENNOT : R2_MODE = R2_MODE ( 5i32 ) ; pub const R2_NOT : R2_MODE = R2_MODE ( 6i32 ) ; pub const R2_XORPEN : R2_MODE = R2_MODE ( 7i32 ) ; pub const R2_NOTMASKPEN : R2_MODE = R2_MODE ( 8i32 ) ; pub const R2_MASKPEN : R2_MODE = R2_MODE ( 9i32 ) ; pub const R2_NOTXORPEN : R2_MODE = R2_MODE ( 10i32 ) ; pub const R2_NOP : R2_MODE = R2_MODE ( 11i32 ) ; pub const R2_MERGENOTPEN : R2_MODE = R2_MODE ( 12i32 ) ; pub const R2_COPYPEN : R2_MODE = R2_MODE ( 13i32 ) ; pub const R2_MERGEPENNOT : R2_MODE = R2_MODE ( 14i32 ) ; pub const R2_MERGEPEN : R2_MODE = R2_MODE ( 15i32 ) ; pub const R2_WHITE : R2_MODE = R2_MODE ( 16i32 ) ; pub const R2_LAST : R2_MODE = R2_MODE ( 16i32 ) ; impl :: std :: convert :: From < i32 > for R2_MODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for R2_MODE { type Abi = Self ; type DefaultType = Self ; } pub const RASTERCAPS : u32 = 38u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RASTERIZER_STATUS { pub nSize : i16 , pub wFlags : i16 , pub nLanguageID : i16 } impl RASTERIZER_STATUS { } impl :: std :: default :: Default for RASTERIZER_STATUS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for RASTERIZER_STATUS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RASTERIZER_STATUS" ) . field ( "nSize" , & self . nSize ) . field ( "wFlags" , & self . wFlags ) . field ( "nLanguageID" , & self . nLanguageID ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RASTERIZER_STATUS { fn eq ( & self , other : & Self ) -> bool { self . nSize == other . nSize && self . wFlags == other . wFlags && self . nLanguageID == other . nLanguageID } } impl :: std :: cmp :: Eq for RASTERIZER_STATUS { } unsafe impl :: windows :: Abi for RASTERIZER_STATUS { type Abi = Self ; type DefaultType = Self ; } pub const RASTER_FONTTYPE : u32 = 1u32 ; pub const RC_BANDING : u32 = 2u32 ; pub const RC_BIGFONT : u32 = 1024u32 ; pub const RC_BITBLT : u32 = 1u32 ; pub const RC_BITMAP64 : u32 = 8u32 ; pub const RC_DEVBITS : u32 = 32768u32 ; pub const RC_DIBTODEV : u32 = 512u32 ; pub const RC_DI_BITMAP : u32 = 128u32 ; pub const RC_FLOODFILL : u32 = 4096u32 ; pub const RC_GDI20_OUTPUT : u32 = 16u32 ; pub const RC_GDI20_STATE : u32 = 32u32 ; pub const RC_OP_DX_OUTPUT : u32 = 16384u32 ; pub const RC_PALETTE : u32 = 256u32 ; pub const RC_SAVEBITMAP : u32 = 64u32 ; pub const RC_SCALING : u32 = 4u32 ; pub const RC_STRETCHBLT : u32 = 2048u32 ; pub const RC_STRETCHDIB : u32 = 8192u32 ; pub const RDH_RECTANGLES : u32 = 1u32 ; pub type READEMBEDPROC = unsafe extern "system" fn ( param0 : * mut :: std :: ffi :: c_void , param1 : * mut :: std :: ffi :: c_void , param2 : u32 ) -> u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct REDRAW_WINDOW_FLAGS ( pub u32 ) ; pub const RDW_INVALIDATE : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 1u32 ) ; pub const RDW_INTERNALPAINT : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 2u32 ) ; pub const RDW_ERASE : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 4u32 ) ; pub const RDW_VALIDATE : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 8u32 ) ; pub const RDW_NOINTERNALPAINT : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 16u32 ) ; pub const RDW_NOERASE : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 32u32 ) ; pub const RDW_NOCHILDREN : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 64u32 ) ; pub const RDW_ALLCHILDREN : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 128u32 ) ; pub const RDW_UPDATENOW : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 256u32 ) ; pub const RDW_ERASENOW : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 512u32 ) ; pub const RDW_FRAME : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 1024u32 ) ; pub const RDW_NOFRAME : REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS ( 2048u32 ) ; impl :: std :: convert :: From < u32 > for REDRAW_WINDOW_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for REDRAW_WINDOW_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for REDRAW_WINDOW_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for REDRAW_WINDOW_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for REDRAW_WINDOW_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for REDRAW_WINDOW_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for REDRAW_WINDOW_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const RELATIVE : u32 = 2u32 ; pub const RESTORE_CTM : u32 = 4100u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RGBQUAD { pub rgbBlue : u8 , pub rgbGreen : u8 , pub rgbRed : u8 , pub rgbReserved : u8 } impl RGBQUAD { } impl :: std :: default :: Default for RGBQUAD { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for RGBQUAD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RGBQUAD" ) . field ( "rgbBlue" , & self . rgbBlue ) . field ( "rgbGreen" , & self . rgbGreen ) . field ( "rgbRed" , & self . rgbRed ) . field ( "rgbReserved" , & self . rgbReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RGBQUAD { fn eq ( & self , other : & Self ) -> bool { self . rgbBlue == other . rgbBlue && self . rgbGreen == other . rgbGreen && self . rgbRed == other . rgbRed && self . rgbReserved == other . rgbReserved } } impl :: std :: cmp :: Eq for RGBQUAD { } unsafe impl :: windows :: Abi for RGBQUAD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RGBTRIPLE { pub rgbtBlue : u8 , pub rgbtGreen : u8 , pub rgbtRed : u8 } impl RGBTRIPLE { } impl :: std :: default :: Default for RGBTRIPLE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for RGBTRIPLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RGBTRIPLE" ) . field ( "rgbtBlue" , & self . rgbtBlue ) . field ( "rgbtGreen" , & self . rgbtGreen ) . field ( "rgbtRed" , & self . rgbtRed ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RGBTRIPLE { fn eq ( & self , other : & Self ) -> bool { self . rgbtBlue == other . rgbtBlue && self . rgbtGreen == other . rgbtGreen && self . rgbtRed == other . rgbtRed } } impl :: std :: cmp :: Eq for RGBTRIPLE { } unsafe impl :: windows :: Abi for RGBTRIPLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RGNDATA { pub rdh : RGNDATAHEADER , pub Buffer : [ super::super::System::SystemServices:: CHAR ;1 ] } impl RGNDATA { } impl :: std :: default :: Default for RGNDATA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for RGNDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RGNDATA" ) . field ( "rdh" , & self . rdh ) . field ( "Buffer" , & self . Buffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RGNDATA { fn eq ( & self , other : & Self ) -> bool { self . rdh == other . rdh && self . Buffer == other . Buffer } } impl :: std :: cmp :: Eq for RGNDATA { } unsafe impl :: windows :: Abi for RGNDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RGNDATAHEADER { pub dwSize : u32 , pub iType : u32 , pub nCount : u32 , pub nRgnSize : u32 , pub rcBound : super::super::Foundation:: RECT } impl RGNDATAHEADER { } impl :: std :: default :: Default for RGNDATAHEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for RGNDATAHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RGNDATAHEADER" ) . field ( "dwSize" , & self . dwSize ) . field ( "iType" , & self . iType ) . field ( "nCount" , & self . nCount ) . field ( "nRgnSize" , & self . nRgnSize ) . field ( "rcBound" , & self . rcBound ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RGNDATAHEADER { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . iType == other . iType && self . nCount == other . nCount && self . nRgnSize == other . nRgnSize && self . rcBound == other . rcBound } } impl :: std :: cmp :: Eq for RGNDATAHEADER { } unsafe impl :: windows :: Abi for RGNDATAHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct RGN_COMBINE_MODE ( pub i32 ) ; pub const RGN_AND : RGN_COMBINE_MODE = RGN_COMBINE_MODE ( 1i32 ) ; pub const RGN_OR : RGN_COMBINE_MODE = RGN_COMBINE_MODE ( 2i32 ) ; pub const RGN_XOR : RGN_COMBINE_MODE = RGN_COMBINE_MODE ( 3i32 ) ; pub const RGN_DIFF : RGN_COMBINE_MODE = RGN_COMBINE_MODE ( 4i32 ) ; pub const RGN_COPY : RGN_COMBINE_MODE = RGN_COMBINE_MODE ( 5i32 ) ; pub const RGN_MIN : RGN_COMBINE_MODE = RGN_COMBINE_MODE ( 1i32 ) ; pub const RGN_MAX : RGN_COMBINE_MODE = RGN_COMBINE_MODE ( 5i32 ) ; impl :: std :: convert :: From < i32 > for RGN_COMBINE_MODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for RGN_COMBINE_MODE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ROP_CODE ( pub u32 ) ; pub const SRCCOPY : ROP_CODE = ROP_CODE ( 13369376u32 ) ; pub const SRCPAINT : ROP_CODE = ROP_CODE ( 15597702u32 ) ; pub const SRCAND : ROP_CODE = ROP_CODE ( 8913094u32 ) ; pub const SRCINVERT : ROP_CODE = ROP_CODE ( 6684742u32 ) ; pub const SRCERASE : ROP_CODE = ROP_CODE ( 4457256u32 ) ; pub const NOTSRCCOPY : ROP_CODE = ROP_CODE ( 3342344u32 ) ; pub const NOTSRCERASE : ROP_CODE = ROP_CODE ( 1114278u32 ) ; pub const MERGECOPY : ROP_CODE = ROP_CODE ( 12583114u32 ) ; pub const MERGEPAINT : ROP_CODE = ROP_CODE ( 12255782u32 ) ; pub const PATCOPY : ROP_CODE = ROP_CODE ( 15728673u32 ) ; pub const PATPAINT : ROP_CODE = ROP_CODE ( 16452105u32 ) ; pub const PATINVERT : ROP_CODE = ROP_CODE ( 5898313u32 ) ; pub const DSTINVERT : ROP_CODE = ROP_CODE ( 5570569u32 ) ; pub const BLACKNESS : ROP_CODE = ROP_CODE ( 66u32 ) ; pub const WHITENESS : ROP_CODE = ROP_CODE ( 16711778u32 ) ; pub const NOMIRRORBITMAP : ROP_CODE = ROP_CODE ( 2147483648u32 ) ; pub const CAPTUREBLT : ROP_CODE = ROP_CODE ( 1073741824u32 ) ; impl :: std :: convert :: From < u32 > for ROP_CODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ROP_CODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for ROP_CODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ROP_CODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ROP_CODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ROP_CODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for ROP_CODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const RUSSIAN_CHARSET : u32 = 204u32 ; pub unsafe fn RealizePalette < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RealizePalette ( hdc : HDC ) -> u32 ; } :: std :: mem :: transmute ( RealizePalette ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RectInRegion < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgn : Param0 , lprect : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RectInRegion ( hrgn : HRGN , lprect : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RectInRegion ( hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RectVisible < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lprect : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RectVisible ( hdc : HDC , lprect : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RectVisible ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Rectangle < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn Rectangle ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( Rectangle ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RedrawWindow < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param2 : :: windows :: IntoParam < 'a , HRGN > , > ( hwnd : Param0 , lprcupdate : * const super::super::Foundation:: RECT , hrgnupdate : Param2 , flags : REDRAW_WINDOW_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn RedrawWindow ( hwnd : super::super::Foundation:: HWND , lprcupdate : * const super::super::Foundation:: RECT , hrgnupdate : HRGN , flags : REDRAW_WINDOW_FLAGS ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RedrawWindow ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprcupdate ) , hrgnupdate . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( flags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReleaseDC < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HDC > , > ( hwnd : Param0 , hdc : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ReleaseDC ( hwnd : super::super::Foundation:: HWND , hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( ReleaseDC ( hwnd . into_param ( ) . abi ( ) , hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveFontMemResourceEx < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( h : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RemoveFontMemResourceEx ( h : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RemoveFontMemResourceEx ( h . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveFontResourceA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( lpfilename : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RemoveFontResourceA ( lpfilename : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RemoveFontResourceA ( lpfilename . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveFontResourceExA < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( name : Param0 , fl : u32 , pdv : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RemoveFontResourceExA ( name : super::super::Foundation:: PSTR , fl : u32 , pdv : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RemoveFontResourceExA ( name . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fl ) , :: std :: mem :: transmute ( pdv ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveFontResourceExW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( name : Param0 , fl : u32 , pdv : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RemoveFontResourceExW ( name : super::super::Foundation:: PWSTR , fl : u32 , pdv : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RemoveFontResourceExW ( name . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fl ) , :: std :: mem :: transmute ( pdv ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveFontResourceW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( lpfilename : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RemoveFontResourceW ( lpfilename : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RemoveFontResourceW ( lpfilename . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ResetDCA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpdm : * const super::super::UI::DisplayDevices:: DEVMODEA , ) -> HDC { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ResetDCA ( hdc : HDC , lpdm : * const super::super::UI::DisplayDevices:: DEVMODEA ) -> HDC ; } :: std :: mem :: transmute ( ResetDCA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ResetDCW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpdm : * const super::super::UI::DisplayDevices:: DEVMODEW , ) -> HDC { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ResetDCW ( hdc : HDC , lpdm : * const super::super::UI::DisplayDevices:: DEVMODEW ) -> HDC ; } :: std :: mem :: transmute ( ResetDCW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdm ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ResizePalette < 'a , Param0 : :: windows :: IntoParam < 'a , HPALETTE > , > ( hpal : Param0 , n : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ResizePalette ( hpal : HPALETTE , n : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ResizePalette ( hpal . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( n ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RestoreDC < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , nsaveddc : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RestoreDC ( hdc : HDC , nsaveddc : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RestoreDC ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nsaveddc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RoundRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , width : i32 , height : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn RoundRect ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 , width : i32 , height : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( RoundRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) , :: std :: mem :: transmute ( width ) , :: std :: mem :: transmute ( height ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const SAVE_CTM : u32 = 4101u32 ; pub const SB_CONST_ALPHA : u32 = 1u32 ; pub const SB_GRAD_RECT : u32 = 16u32 ; pub const SB_GRAD_TRI : u32 = 32u32 ; pub const SB_NONE : u32 = 0u32 ; pub const SB_PIXEL_ALPHA : u32 = 2u32 ; pub const SB_PREMULT_ALPHA : u32 = 4u32 ; pub const SCALINGFACTORX : u32 = 114u32 ; pub const SCALINGFACTORY : u32 = 115u32 ; pub const SDC_ALLOW_CHANGES : u32 = 1024u32 ; pub const SDC_ALLOW_PATH_ORDER_CHANGES : u32 = 8192u32 ; pub const SDC_APPLY : u32 = 128u32 ; pub const SDC_FORCE_MODE_ENUMERATION : u32 = 4096u32 ; pub const SDC_NO_OPTIMIZATION : u32 = 256u32 ; pub const SDC_PATH_PERSIST_IF_REQUIRED : u32 = 2048u32 ; pub const SDC_SAVE_TO_DATABASE : u32 = 512u32 ; pub const SDC_TOPOLOGY_CLONE : u32 = 2u32 ; pub const SDC_TOPOLOGY_EXTEND : u32 = 4u32 ; pub const SDC_TOPOLOGY_EXTERNAL : u32 = 8u32 ; pub const SDC_TOPOLOGY_INTERNAL : u32 = 1u32 ; pub const SDC_TOPOLOGY_SUPPLIED : u32 = 16u32 ; pub const SDC_USE_SUPPLIED_DISPLAY_CONFIG : u32 = 32u32 ; pub const SDC_VALIDATE : u32 = 64u32 ; pub const SDC_VIRTUAL_MODE_AWARE : u32 = 32768u32 ; pub const SELECTDIB : u32 = 41u32 ; pub const SELECTPAPERSOURCE : u32 = 18u32 ; pub const SETABORTPROC : u32 = 9u32 ; pub const SETALLJUSTVALUES : u32 = 771u32 ; pub const SETCHARSET : u32 = 772u32 ; pub const SETCOLORTABLE : u32 = 4u32 ; pub const SETCOPYCOUNT : u32 = 17u32 ; pub const SETDIBSCALING : u32 = 32u32 ; pub const SETICMPROFILE_EMBEDED : u32 = 1u32 ; pub const SETKERNTRACK : u32 = 770u32 ; pub const SETLINECAP : u32 = 21u32 ; pub const SETLINEJOIN : u32 = 22u32 ; pub const SETMITERLIMIT : u32 = 23u32 ; pub const SET_ARC_DIRECTION : u32 = 4102u32 ; pub const SET_BACKGROUND_COLOR : u32 = 4103u32 ; pub const SET_BOUNDS : u32 = 4109u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SET_BOUNDS_RECT_FLAGS ( pub u32 ) ; pub const DCB_ACCUMULATE : SET_BOUNDS_RECT_FLAGS = SET_BOUNDS_RECT_FLAGS ( 2u32 ) ; pub const DCB_DISABLE : SET_BOUNDS_RECT_FLAGS = SET_BOUNDS_RECT_FLAGS ( 8u32 ) ; pub const DCB_ENABLE : SET_BOUNDS_RECT_FLAGS = SET_BOUNDS_RECT_FLAGS ( 4u32 ) ; pub const DCB_RESET : SET_BOUNDS_RECT_FLAGS = SET_BOUNDS_RECT_FLAGS ( 1u32 ) ; impl :: std :: convert :: From < u32 > for SET_BOUNDS_RECT_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SET_BOUNDS_RECT_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for SET_BOUNDS_RECT_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SET_BOUNDS_RECT_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SET_BOUNDS_RECT_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SET_BOUNDS_RECT_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for SET_BOUNDS_RECT_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const SET_CLIP_BOX : u32 = 4108u32 ; pub const SET_MIRROR_MODE : u32 = 4110u32 ; pub const SET_POLY_MODE : u32 = 4104u32 ; pub const SET_SCREEN_ANGLE : u32 = 4105u32 ; pub const SET_SPREAD : u32 = 4106u32 ; pub const SHADEBLENDCAPS : u32 = 120u32 ; pub const SHIFTJIS_CHARSET : u32 = 128u32 ; pub const SIMPLEREGION : u32 = 2u32 ; pub const SIZEPALETTE : u32 = 104u32 ; pub const SPCLPASSTHROUGH2 : u32 = 4568u32 ; pub const SP_APPABORT : i32 = -2i32 ; pub const SP_ERROR : i32 = -1i32 ; pub const SP_NOTREPORTED : u32 = 16384u32 ; pub const SP_OUTOFDISK : i32 = -4i32 ; pub const SP_OUTOFMEMORY : i32 = -5i32 ; pub const SP_USERABORT : i32 = -3i32 ; pub const STARTDOC : u32 = 10u32 ; pub const STOCK_LAST : u32 = 19u32 ; pub const STRETCHBLT : u32 = 2048u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STRETCH_BLT_MODE ( pub u32 ) ; pub const BLACKONWHITE : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 1u32 ) ; pub const COLORONCOLOR : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 3u32 ) ; pub const HALFTONE : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 4u32 ) ; pub const STRETCH_ANDSCANS : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 1u32 ) ; pub const STRETCH_DELETESCANS : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 3u32 ) ; pub const STRETCH_HALFTONE : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 4u32 ) ; pub const STRETCH_ORSCANS : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 2u32 ) ; pub const WHITEONBLACK : STRETCH_BLT_MODE = STRETCH_BLT_MODE ( 2u32 ) ; impl :: std :: convert :: From < u32 > for STRETCH_BLT_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STRETCH_BLT_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for STRETCH_BLT_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for STRETCH_BLT_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for STRETCH_BLT_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for STRETCH_BLT_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for STRETCH_BLT_MODE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const SYMBOL_CHARSET : u32 = 2u32 ; pub const SYSPAL_ERROR : u32 = 0u32 ; pub const SYSRGN : u32 = 4u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SYSTEM_PALETTE_USE ( pub u32 ) ; pub const SYSPAL_NOSTATIC : SYSTEM_PALETTE_USE = SYSTEM_PALETTE_USE ( 2u32 ) ; pub const SYSPAL_NOSTATIC256 : SYSTEM_PALETTE_USE = SYSTEM_PALETTE_USE ( 3u32 ) ; pub const SYSPAL_STATIC : SYSTEM_PALETTE_USE = SYSTEM_PALETTE_USE ( 1u32 ) ; impl :: std :: convert :: From < u32 > for SYSTEM_PALETTE_USE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SYSTEM_PALETTE_USE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for SYSTEM_PALETTE_USE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SYSTEM_PALETTE_USE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SYSTEM_PALETTE_USE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SYSTEM_PALETTE_USE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for SYSTEM_PALETTE_USE { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub unsafe fn SaveDC < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SaveDC ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( SaveDC ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ScaleViewportExtEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , xn : i32 , dx : i32 , yn : i32 , yd : i32 , lpsz : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ScaleViewportExtEx ( hdc : HDC , xn : i32 , dx : i32 , yn : i32 , yd : i32 , lpsz : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ScaleViewportExtEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xn ) , :: std :: mem :: transmute ( dx ) , :: std :: mem :: transmute ( yn ) , :: std :: mem :: transmute ( yd ) , :: std :: mem :: transmute ( lpsz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ScaleWindowExtEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , xn : i32 , xd : i32 , yn : i32 , yd : i32 , lpsz : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn ScaleWindowExtEx ( hdc : HDC , xn : i32 , xd : i32 , yn : i32 , yd : i32 , lpsz : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ScaleWindowExtEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xn ) , :: std :: mem :: transmute ( xd ) , :: std :: mem :: transmute ( yn ) , :: std :: mem :: transmute ( yd ) , :: std :: mem :: transmute ( lpsz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ScreenToClient < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , lppoint : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ScreenToClient ( hwnd : super::super::Foundation:: HWND , lppoint : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ScreenToClient ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lppoint ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SelectClipPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , mode : RGN_COMBINE_MODE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SelectClipPath ( hdc : HDC , mode : RGN_COMBINE_MODE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SelectClipPath ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( mode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SelectClipRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hdc : Param0 , hrgn : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SelectClipRgn ( hdc : HDC , hrgn : HRGN ) -> i32 ; } :: std :: mem :: transmute ( SelectClipRgn ( hdc . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SelectObject < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HGDIOBJ > , > ( hdc : Param0 , h : Param1 , ) -> HGDIOBJ { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SelectObject ( hdc : HDC , h : HGDIOBJ ) -> HGDIOBJ ; } :: std :: mem :: transmute ( SelectObject ( hdc . into_param ( ) . abi ( ) , h . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SelectPalette < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HPALETTE > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , > ( hdc : Param0 , hpal : Param1 , bforcebkgd : Param2 , ) -> HPALETTE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SelectPalette ( hdc : HDC , hpal : HPALETTE , bforcebkgd : super::super::Foundation:: BOOL ) -> HPALETTE ; } :: std :: mem :: transmute ( SelectPalette ( hdc . into_param ( ) . abi ( ) , hpal . into_param ( ) . abi ( ) , bforcebkgd . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetArcDirection < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , dir : ARC_DIRECTION , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetArcDirection ( hdc : HDC , dir : ARC_DIRECTION ) -> i32 ; } :: std :: mem :: transmute ( SetArcDirection ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dir ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetBitmapBits < 'a , Param0 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hbm : Param0 , cb : u32 , pvbits : * const :: std :: ffi :: c_void , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetBitmapBits ( hbm : HBITMAP , cb : u32 , pvbits : * const :: std :: ffi :: c_void ) -> i32 ; } :: std :: mem :: transmute ( SetBitmapBits ( hbm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pvbits ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetBitmapDimensionEx < 'a , Param0 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hbm : Param0 , w : i32 , h : i32 , lpsz : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetBitmapDimensionEx ( hbm : HBITMAP , w : i32 , h : i32 , lpsz : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetBitmapDimensionEx ( hbm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( w ) , :: std :: mem :: transmute ( h ) , :: std :: mem :: transmute ( lpsz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetBkColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , color : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetBkColor ( hdc : HDC , color : u32 ) -> u32 ; } :: std :: mem :: transmute ( SetBkColor ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetBkMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , mode : BACKGROUND_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetBkMode ( hdc : HDC , mode : BACKGROUND_MODE ) -> i32 ; } :: std :: mem :: transmute ( SetBkMode ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( mode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetBoundsRect < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lprect : * const super::super::Foundation:: RECT , flags : SET_BOUNDS_RECT_FLAGS , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetBoundsRect ( hdc : HDC , lprect : * const super::super::Foundation:: RECT , flags : SET_BOUNDS_RECT_FLAGS ) -> u32 ; } :: std :: mem :: transmute ( SetBoundsRect ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) , :: std :: mem :: transmute ( flags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetBrushOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetBrushOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetBrushOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetColorAdjustment < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpca : * const COLORADJUSTMENT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetColorAdjustment ( hdc : HDC , lpca : * const COLORADJUSTMENT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetColorAdjustment ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpca ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDCBrushColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , color : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetDCBrushColor ( hdc : HDC , color : u32 ) -> u32 ; } :: std :: mem :: transmute ( SetDCBrushColor ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDCPenColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , color : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetDCPenColor ( hdc : HDC , color : u32 ) -> u32 ; } :: std :: mem :: transmute ( SetDCPenColor ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDIBColorTable < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , istart : u32 , centries : u32 , prgbq : * const RGBQUAD , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetDIBColorTable ( hdc : HDC , istart : u32 , centries : u32 , prgbq : * const RGBQUAD ) -> u32 ; } :: std :: mem :: transmute ( SetDIBColorTable ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( istart ) , :: std :: mem :: transmute ( centries ) , :: std :: mem :: transmute ( prgbq ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDIBits < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , HBITMAP > , > ( hdc : Param0 , hbm : Param1 , start : u32 , clines : u32 , lpbits : * const :: std :: ffi :: c_void , lpbmi : * const BITMAPINFO , coloruse : DIB_USAGE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetDIBits ( hdc : HDC , hbm : HBITMAP , start : u32 , clines : u32 , lpbits : * const :: std :: ffi :: c_void , lpbmi : * const BITMAPINFO , coloruse : DIB_USAGE ) -> i32 ; } :: std :: mem :: transmute ( SetDIBits ( hdc . into_param ( ) . abi ( ) , hbm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( start ) , :: std :: mem :: transmute ( clines ) , :: std :: mem :: transmute ( lpbits ) , :: std :: mem :: transmute ( lpbmi ) , :: std :: mem :: transmute ( coloruse ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDIBitsToDevice < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , xdest : i32 , ydest : i32 , w : u32 , h : u32 , xsrc : i32 , ysrc : i32 , startscan : u32 , clines : u32 , lpvbits : * const :: std :: ffi :: c_void , lpbmi : * const BITMAPINFO , coloruse : DIB_USAGE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetDIBitsToDevice ( hdc : HDC , xdest : i32 , ydest : i32 , w : u32 , h : u32 , xsrc : i32 , ysrc : i32 , startscan : u32 , clines : u32 , lpvbits : * const :: std :: ffi :: c_void , lpbmi : * const BITMAPINFO , coloruse : DIB_USAGE ) -> i32 ; } :: std :: mem :: transmute ( SetDIBitsToDevice ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xdest ) , :: std :: mem :: transmute ( ydest ) , :: std :: mem :: transmute ( w ) , :: std :: mem :: transmute ( h ) , :: std :: mem :: transmute ( xsrc ) , :: std :: mem :: transmute ( ysrc ) , :: std :: mem :: transmute ( startscan ) , :: std :: mem :: transmute ( clines ) , :: std :: mem :: transmute ( lpvbits ) , :: std :: mem :: transmute ( lpbmi ) , :: std :: mem :: transmute ( coloruse ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetEnhMetaFileBits < > ( nsize : u32 , pb : * const u8 , ) -> HENHMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetEnhMetaFileBits ( nsize : u32 , pb : * const u8 ) -> HENHMETAFILE ; } :: std :: mem :: transmute ( SetEnhMetaFileBits ( :: std :: mem :: transmute ( nsize ) , :: std :: mem :: transmute ( pb ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetGraphicsMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , imode : GRAPHICS_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetGraphicsMode ( hdc : HDC , imode : GRAPHICS_MODE ) -> i32 ; } :: std :: mem :: transmute ( SetGraphicsMode ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( imode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetLayout < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , l : DC_LAYOUT , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetLayout ( hdc : HDC , l : DC_LAYOUT ) -> u32 ; } :: std :: mem :: transmute ( SetLayout ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( l ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMapMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , imode : HDC_MAP_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetMapMode ( hdc : HDC , imode : HDC_MAP_MODE ) -> i32 ; } :: std :: mem :: transmute ( SetMapMode ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( imode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMapperFlags < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , flags : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetMapperFlags ( hdc : HDC , flags : u32 ) -> u32 ; } :: std :: mem :: transmute ( SetMapperFlags ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( flags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMetaFileBitsEx < > ( cbbuffer : u32 , lpdata : * const u8 , ) -> HMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetMetaFileBitsEx ( cbbuffer : u32 , lpdata : * const u8 ) -> HMETAFILE ; } :: std :: mem :: transmute ( SetMetaFileBitsEx ( :: std :: mem :: transmute ( cbbuffer ) , :: std :: mem :: transmute ( lpdata ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMetaRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetMetaRgn ( hdc : HDC ) -> i32 ; } :: std :: mem :: transmute ( SetMetaRgn ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMiterLimit < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , limit : f32 , old : * mut f32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetMiterLimit ( hdc : HDC , limit : f32 , old : * mut f32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetMiterLimit ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( limit ) , :: std :: mem :: transmute ( old ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPaletteEntries < 'a , Param0 : :: windows :: IntoParam < 'a , HPALETTE > , > ( hpal : Param0 , istart : u32 , centries : u32 , ppalentries : * const PALETTEENTRY , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetPaletteEntries ( hpal : HPALETTE , istart : u32 , centries : u32 , ppalentries : * const PALETTEENTRY ) -> u32 ; } :: std :: mem :: transmute ( SetPaletteEntries ( hpal . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( istart ) , :: std :: mem :: transmute ( centries ) , :: std :: mem :: transmute ( ppalentries ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPixel < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , color : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetPixel ( hdc : HDC , x : i32 , y : i32 , color : u32 ) -> u32 ; } :: std :: mem :: transmute ( SetPixel ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPixelV < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , color : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetPixelV ( hdc : HDC , x : i32 , y : i32 , color : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetPixelV ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPolyFillMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , mode : CREATE_POLYGON_RGN_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetPolyFillMode ( hdc : HDC , mode : CREATE_POLYGON_RGN_MODE ) -> i32 ; } :: std :: mem :: transmute ( SetPolyFillMode ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( mode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetROP2 < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , rop2 : R2_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetROP2 ( hdc : HDC , rop2 : R2_MODE ) -> i32 ; } :: std :: mem :: transmute ( SetROP2 ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( rop2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetRect < > ( lprc : * mut super::super::Foundation:: RECT , xleft : i32 , ytop : i32 , xright : i32 , ybottom : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn SetRect ( lprc : * mut super::super::Foundation:: RECT , xleft : i32 , ytop : i32 , xright : i32 , ybottom : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetRect ( :: std :: mem :: transmute ( lprc ) , :: std :: mem :: transmute ( xleft ) , :: std :: mem :: transmute ( ytop ) , :: std :: mem :: transmute ( xright ) , :: std :: mem :: transmute ( ybottom ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetRectEmpty < > ( lprc : * mut super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn SetRectEmpty ( lprc : * mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetRectEmpty ( :: std :: mem :: transmute ( lprc ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetRectRgn < 'a , Param0 : :: windows :: IntoParam < 'a , HRGN > , > ( hrgn : Param0 , left : i32 , top : i32 , right : i32 , bottom : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetRectRgn ( hrgn : HRGN , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetRectRgn ( hrgn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( left ) , :: std :: mem :: transmute ( top ) , :: std :: mem :: transmute ( right ) , :: std :: mem :: transmute ( bottom ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetStretchBltMode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , mode : STRETCH_BLT_MODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetStretchBltMode ( hdc : HDC , mode : STRETCH_BLT_MODE ) -> i32 ; } :: std :: mem :: transmute ( SetStretchBltMode ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( mode ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetSystemPaletteUse < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , r#use : SYSTEM_PALETTE_USE , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetSystemPaletteUse ( hdc : HDC , r#use : SYSTEM_PALETTE_USE ) -> u32 ; } :: std :: mem :: transmute ( SetSystemPaletteUse ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( r#use ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetTextAlign < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , align : super::super::UI::Controls:: TEXT_ALIGN_OPTIONS , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetTextAlign ( hdc : HDC , align : super::super::UI::Controls:: TEXT_ALIGN_OPTIONS ) -> u32 ; } :: std :: mem :: transmute ( SetTextAlign ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( align ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetTextCharacterExtra < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , extra : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetTextCharacterExtra ( hdc : HDC , extra : i32 ) -> i32 ; } :: std :: mem :: transmute ( SetTextCharacterExtra ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( extra ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetTextColor < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , color : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetTextColor ( hdc : HDC , color : u32 ) -> u32 ; } :: std :: mem :: transmute ( SetTextColor ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( color ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetTextJustification < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , extra : i32 , count : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetTextJustification ( hdc : HDC , extra : i32 , count : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetTextJustification ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( extra ) , :: std :: mem :: transmute ( count ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetViewportExtEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lpsz : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetViewportExtEx ( hdc : HDC , x : i32 , y : i32 , lpsz : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetViewportExtEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lpsz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetViewportOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetViewportOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetViewportOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWinMetaFileBits < 'a , Param2 : :: windows :: IntoParam < 'a , HDC > , > ( nsize : u32 , lpmeta16data : * const u8 , hdcref : Param2 , lpmfp : * const super::super::System::DataExchange:: METAFILEPICT , ) -> HENHMETAFILE { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetWinMetaFileBits ( nsize : u32 , lpmeta16data : * const u8 , hdcref : HDC , lpmfp : * const super::super::System::DataExchange:: METAFILEPICT ) -> HENHMETAFILE ; } :: std :: mem :: transmute ( SetWinMetaFileBits ( :: std :: mem :: transmute ( nsize ) , :: std :: mem :: transmute ( lpmeta16data ) , hdcref . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpmfp ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowExtEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lpsz : * mut super::super::Foundation:: SIZE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetWindowExtEx ( hdc : HDC , x : i32 , y : i32 , lpsz : * mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetWindowExtEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lpsz ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowOrgEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetWindowOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : * mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetWindowOrgEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( lppt ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowRgn < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HRGN > , Param2 : :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , > ( hwnd : Param0 , hrgn : Param1 , bredraw : Param2 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn SetWindowRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN , bredraw : super::super::Foundation:: BOOL ) -> i32 ; } :: std :: mem :: transmute ( SetWindowRgn ( hwnd . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) , bredraw . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWorldTransform < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , lpxf : * const XFORM , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn SetWorldTransform ( hdc : HDC , lpxf : * const XFORM ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SetWorldTransform ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpxf ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn StretchBlt < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , HDC > , > ( hdcdest : Param0 , xdest : i32 , ydest : i32 , wdest : i32 , hdest : i32 , hdcsrc : Param5 , xsrc : i32 , ysrc : i32 , wsrc : i32 , hsrc : i32 , rop : ROP_CODE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn StretchBlt ( hdcdest : HDC , xdest : i32 , ydest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xsrc : i32 , ysrc : i32 , wsrc : i32 , hsrc : i32 , rop : ROP_CODE ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( StretchBlt ( hdcdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xdest ) , :: std :: mem :: transmute ( ydest ) , :: std :: mem :: transmute ( wdest ) , :: std :: mem :: transmute ( hdest ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xsrc ) , :: std :: mem :: transmute ( ysrc ) , :: std :: mem :: transmute ( wsrc ) , :: std :: mem :: transmute ( hsrc ) , :: std :: mem :: transmute ( rop ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn StretchDIBits < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , xdest : i32 , ydest : i32 , destwidth : i32 , destheight : i32 , xsrc : i32 , ysrc : i32 , srcwidth : i32 , srcheight : i32 , lpbits : * const :: std :: ffi :: c_void , lpbmi : * const BITMAPINFO , iusage : DIB_USAGE , rop : ROP_CODE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn StretchDIBits ( hdc : HDC , xdest : i32 , ydest : i32 , destwidth : i32 , destheight : i32 , xsrc : i32 , ysrc : i32 , srcwidth : i32 , srcheight : i32 , lpbits : * const :: std :: ffi :: c_void , lpbmi : * const BITMAPINFO , iusage : DIB_USAGE , rop : ROP_CODE ) -> i32 ; } :: std :: mem :: transmute ( StretchDIBits ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xdest ) , :: std :: mem :: transmute ( ydest ) , :: std :: mem :: transmute ( destwidth ) , :: std :: mem :: transmute ( destheight ) , :: std :: mem :: transmute ( xsrc ) , :: std :: mem :: transmute ( ysrc ) , :: std :: mem :: transmute ( srcwidth ) , :: std :: mem :: transmute ( srcheight ) , :: std :: mem :: transmute ( lpbits ) , :: std :: mem :: transmute ( lpbmi ) , :: std :: mem :: transmute ( iusage ) , :: std :: mem :: transmute ( rop ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn StrokeAndFillPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn StrokeAndFillPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( StrokeAndFillPath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn StrokePath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn StrokePath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( StrokePath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SubtractRect < > ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc1 : * const super::super::Foundation:: RECT , lprcsrc2 : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn SubtractRect ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc1 : * const super::super::Foundation:: RECT , lprcsrc2 : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( SubtractRect ( :: std :: mem :: transmute ( lprcdst ) , :: std :: mem :: transmute ( lprcsrc1 ) , :: std :: mem :: transmute ( lprcsrc2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const TC_CP_STROKE : u32 = 4u32 ; pub const TC_CR_90 : u32 = 8u32 ; pub const TC_CR_ANY : u32 = 16u32 ; pub const TC_EA_DOUBLE : u32 = 512u32 ; pub const TC_IA_ABLE : u32 = 1024u32 ; pub const TC_OP_CHARACTER : u32 = 1u32 ; pub const TC_OP_STROKE : u32 = 2u32 ; pub const TC_RA_ABLE : u32 = 8192u32 ; pub const TC_RESERVED : u32 = 32768u32 ; pub const TC_SA_CONTIN : u32 = 256u32 ; pub const TC_SA_DOUBLE : u32 = 64u32 ; pub const TC_SA_INTEGER : u32 = 128u32 ; pub const TC_SCROLLBLT : u32 = 65536u32 ; pub const TC_SF_X_YINDEP : u32 = 32u32 ; pub const TC_SO_ABLE : u32 = 4096u32 ; pub const TC_UA_ABLE : u32 = 2048u32 ; pub const TC_VA_ABLE : u32 = 16384u32 ; pub const TECHNOLOGY : u32 = 2u32 ; pub const TEXTCAPS : u32 = 34u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TEXTMETRICA { pub tmHeight : i32 , pub tmAscent : i32 , pub tmDescent : i32 , pub tmInternalLeading : i32 , pub tmExternalLeading : i32 , pub tmAveCharWidth : i32 , pub tmMaxCharWidth : i32 , pub tmWeight : i32 , pub tmOverhang : i32 , pub tmDigitizedAspectX : i32 , pub tmDigitizedAspectY : i32 , pub tmFirstChar : u8 , pub tmLastChar : u8 , pub tmDefaultChar : u8 , pub tmBreakChar : u8 , pub tmItalic : u8 , pub tmUnderlined : u8 , pub tmStruckOut : u8 , pub tmPitchAndFamily : u8 , pub tmCharSet : u8 } impl TEXTMETRICA { } impl :: std :: default :: Default for TEXTMETRICA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TEXTMETRICA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TEXTMETRICA" ) . field ( "tmHeight" , & self . tmHeight ) . field ( "tmAscent" , & self . tmAscent ) . field ( "tmDescent" , & self . tmDescent ) . field ( "tmInternalLeading" , & self . tmInternalLeading ) . field ( "tmExternalLeading" , & self . tmExternalLeading ) . field ( "tmAveCharWidth" , & self . tmAveCharWidth ) . field ( "tmMaxCharWidth" , & self . tmMaxCharWidth ) . field ( "tmWeight" , & self . tmWeight ) . field ( "tmOverhang" , & self . tmOverhang ) . field ( "tmDigitizedAspectX" , & self . tmDigitizedAspectX ) . field ( "tmDigitizedAspectY" , & self . tmDigitizedAspectY ) . field ( "tmFirstChar" , & self . tmFirstChar ) . field ( "tmLastChar" , & self . tmLastChar ) . field ( "tmDefaultChar" , & self . tmDefaultChar ) . field ( "tmBreakChar" , & self . tmBreakChar ) . field ( "tmItalic" , & self . tmItalic ) . field ( "tmUnderlined" , & self . tmUnderlined ) . field ( "tmStruckOut" , & self . tmStruckOut ) . field ( "tmPitchAndFamily" , & self . tmPitchAndFamily ) . field ( "tmCharSet" , & self . tmCharSet ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TEXTMETRICA { fn eq ( & self , other : & Self ) -> bool { self . tmHeight == other . tmHeight && self . tmAscent == other . tmAscent && self . tmDescent == other . tmDescent && self . tmInternalLeading == other . tmInternalLeading && self . tmExternalLeading == other . tmExternalLeading && self . tmAveCharWidth == other . tmAveCharWidth && self . tmMaxCharWidth == other . tmMaxCharWidth && self . tmWeight == other . tmWeight && self . tmOverhang == other . tmOverhang && self . tmDigitizedAspectX == other . tmDigitizedAspectX && self . tmDigitizedAspectY == other . tmDigitizedAspectY && self . tmFirstChar == other . tmFirstChar && self . tmLastChar == other . tmLastChar && self . tmDefaultChar == other . tmDefaultChar && self . tmBreakChar == other . tmBreakChar && self . tmItalic == other . tmItalic && self . tmUnderlined == other . tmUnderlined && self . tmStruckOut == other . tmStruckOut && self . tmPitchAndFamily == other . tmPitchAndFamily && self . tmCharSet == other . tmCharSet } } impl :: std :: cmp :: Eq for TEXTMETRICA { } unsafe impl :: windows :: Abi for TEXTMETRICA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TEXTMETRICW { pub tmHeight : i32 , pub tmAscent : i32 , pub tmDescent : i32 , pub tmInternalLeading : i32 , pub tmExternalLeading : i32 , pub tmAveCharWidth : i32 , pub tmMaxCharWidth : i32 , pub tmWeight : i32 , pub tmOverhang : i32 , pub tmDigitizedAspectX : i32 , pub tmDigitizedAspectY : i32 , pub tmFirstChar : u16 , pub tmLastChar : u16 , pub tmDefaultChar : u16 , pub tmBreakChar : u16 , pub tmItalic : u8 , pub tmUnderlined : u8 , pub tmStruckOut : u8 , pub tmPitchAndFamily : u8 , pub tmCharSet : u8 } impl TEXTMETRICW { } impl :: std :: default :: Default for TEXTMETRICW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TEXTMETRICW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TEXTMETRICW" ) . field ( "tmHeight" , & self . tmHeight ) . field ( "tmAscent" , & self . tmAscent ) . field ( "tmDescent" , & self . tmDescent ) . field ( "tmInternalLeading" , & self . tmInternalLeading ) . field ( "tmExternalLeading" , & self . tmExternalLeading ) . field ( "tmAveCharWidth" , & self . tmAveCharWidth ) . field ( "tmMaxCharWidth" , & self . tmMaxCharWidth ) . field ( "tmWeight" , & self . tmWeight ) . field ( "tmOverhang" , & self . tmOverhang ) . field ( "tmDigitizedAspectX" , & self . tmDigitizedAspectX ) . field ( "tmDigitizedAspectY" , & self . tmDigitizedAspectY ) . field ( "tmFirstChar" , & self . tmFirstChar ) . field ( "tmLastChar" , & self . tmLastChar ) . field ( "tmDefaultChar" , & self . tmDefaultChar ) . field ( "tmBreakChar" , & self . tmBreakChar ) . field ( "tmItalic" , & self . tmItalic ) . field ( "tmUnderlined" , & self . tmUnderlined ) . field ( "tmStruckOut" , & self . tmStruckOut ) . field ( "tmPitchAndFamily" , & self . tmPitchAndFamily ) . field ( "tmCharSet" , & self . tmCharSet ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TEXTMETRICW { fn eq ( & self , other : & Self ) -> bool { self . tmHeight == other . tmHeight && self . tmAscent == other . tmAscent && self . tmDescent == other . tmDescent && self . tmInternalLeading == other . tmInternalLeading && self . tmExternalLeading == other . tmExternalLeading && self . tmAveCharWidth == other . tmAveCharWidth && self . tmMaxCharWidth == other . tmMaxCharWidth && self . tmWeight == other . tmWeight && self . tmOverhang == other . tmOverhang && self . tmDigitizedAspectX == other . tmDigitizedAspectX && self . tmDigitizedAspectY == other . tmDigitizedAspectY && self . tmFirstChar == other . tmFirstChar && self . tmLastChar == other . tmLastChar && self . tmDefaultChar == other . tmDefaultChar && self . tmBreakChar == other . tmBreakChar && self . tmItalic == other . tmItalic && self . tmUnderlined == other . tmUnderlined && self . tmStruckOut == other . tmStruckOut && self . tmPitchAndFamily == other . tmPitchAndFamily && self . tmCharSet == other . tmCharSet } } impl :: std :: cmp :: Eq for TEXTMETRICW { } unsafe impl :: windows :: Abi for TEXTMETRICW { type Abi = Self ; type DefaultType = Self ; } pub const THAI_CHARSET : u32 = 222u32 ; pub const TMPF_DEVICE : u32 = 8u32 ; pub const TMPF_FIXED_PITCH : u32 = 1u32 ; pub const TMPF_TRUETYPE : u32 = 4u32 ; pub const TMPF_VECTOR : u32 = 2u32 ; pub const TRANSFORM_CTM : u32 = 4107u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRIVERTEX { pub x : i32 , pub y : i32 , pub Red : u16 , pub Green : u16 , pub Blue : u16 , pub Alpha : u16 } impl TRIVERTEX { } impl :: std :: default :: Default for TRIVERTEX { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TRIVERTEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRIVERTEX" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . field ( "Red" , & self . Red ) . field ( "Green" , & self . Green ) . field ( "Blue" , & self . Blue ) . field ( "Alpha" , & self . Alpha ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRIVERTEX { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y && self . Red == other . Red && self . Green == other . Green && self . Blue == other . Blue && self . Alpha == other . Alpha } } impl :: std :: cmp :: Eq for TRIVERTEX { } unsafe impl :: windows :: Abi for TRIVERTEX { type Abi = Self ; type DefaultType = Self ; } pub const TRUETYPE_FONTTYPE : u32 = 4u32 ; pub unsafe fn TTCharToUnicode < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , puccharcodes : * const u8 , ulcharcodesize : u32 , pusshortcodes : * mut u16 , ulshortcodesize : u32 , ulflags : u32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTCharToUnicode ( hdc : HDC , puccharcodes : * const u8 , ulcharcodesize : u32 , pusshortcodes : * mut u16 , ulshortcodesize : u32 , ulflags : u32 ) -> i32 ; } :: std :: mem :: transmute ( TTCharToUnicode ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( puccharcodes ) , :: std :: mem :: transmute ( ulcharcodesize ) , :: std :: mem :: transmute ( pusshortcodes ) , :: std :: mem :: transmute ( ulshortcodesize ) , :: std :: mem :: transmute ( ulflags ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const TTDELETE_DONTREMOVEFONT : u32 = 1u32 ; pub unsafe fn TTDeleteEmbeddedFont < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( hfontreference : Param0 , ulflags : u32 , pulstatus : * mut u32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTDeleteEmbeddedFont ( hfontreference : super::super::Foundation:: HANDLE , ulflags : u32 , pulstatus : * mut u32 ) -> i32 ; } :: std :: mem :: transmute ( TTDeleteEmbeddedFont ( hfontreference . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ulflags ) , :: std :: mem :: transmute ( pulstatus ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TTEMBEDINFO { pub usStructSize : u16 , pub usRootStrSize : u16 , pub pusRootStr : * mut u16 } impl TTEMBEDINFO { } impl :: std :: default :: Default for TTEMBEDINFO { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TTEMBEDINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TTEMBEDINFO" ) . field ( "usStructSize" , & self . usStructSize ) . field ( "usRootStrSize" , & self . usRootStrSize ) . field ( "pusRootStr" , & self . pusRootStr ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TTEMBEDINFO { fn eq ( & self , other : & Self ) -> bool { self . usStructSize == other . usStructSize && self . usRootStrSize == other . usRootStrSize && self . pusRootStr == other . pusRootStr } } impl :: std :: cmp :: Eq for TTEMBEDINFO { } unsafe impl :: windows :: Abi for TTEMBEDINFO { type Abi = Self ; type DefaultType = Self ; } pub const TTEMBED_EUDCEMBEDDED : u32 = 2u32 ; pub const TTEMBED_FAILIFVARIATIONSIMULATED : u32 = 16u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TTEMBED_FLAGS ( pub u32 ) ; pub const TTEMBED_EMBEDEUDC : TTEMBED_FLAGS = TTEMBED_FLAGS ( 32u32 ) ; pub const TTEMBED_RAW : TTEMBED_FLAGS = TTEMBED_FLAGS ( 0u32 ) ; pub const TTEMBED_SUBSET : TTEMBED_FLAGS = TTEMBED_FLAGS ( 1u32 ) ; pub const TTEMBED_TTCOMPRESSED : TTEMBED_FLAGS = TTEMBED_FLAGS ( 4u32 ) ; impl :: std :: convert :: From < u32 > for TTEMBED_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TTEMBED_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for TTEMBED_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TTEMBED_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TTEMBED_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TTEMBED_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for TTEMBED_FLAGS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const TTEMBED_SUBSETCANCEL : u32 = 4u32 ; pub const TTEMBED_VARIATIONSIMULATED : u32 = 1u32 ; pub const TTEMBED_WEBOBJECT : u32 = 128u32 ; pub const TTEMBED_XORENCRYPTDATA : u32 = 268435456u32 ; pub unsafe fn TTEmbedFont < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : * mut u32 , lpfnwritetostream : :: std :: option :: Option < WRITEEMBEDPROC > , lpvwritestream : * const :: std :: ffi :: c_void , puscharcodeset : * const u16 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : * const TTEMBEDINFO , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTEmbedFont ( hdc : HDC , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : * mut u32 , lpfnwritetostream : :: windows :: RawPtr , lpvwritestream : * const :: std :: ffi :: c_void , puscharcodeset : * const u16 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : * const TTEMBEDINFO ) -> i32 ; } :: std :: mem :: transmute ( TTEmbedFont ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ulflags ) , :: std :: mem :: transmute ( ulcharset ) , :: std :: mem :: transmute ( pulprivstatus ) , :: std :: mem :: transmute ( pulstatus ) , :: std :: mem :: transmute ( lpfnwritetostream ) , :: std :: mem :: transmute ( lpvwritestream ) , :: std :: mem :: transmute ( puscharcodeset ) , :: std :: mem :: transmute ( uscharcodecount ) , :: std :: mem :: transmute ( uslanguage ) , :: std :: mem :: transmute ( pttembedinfo ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTEmbedFontEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : * mut u32 , lpfnwritetostream : :: std :: option :: Option < WRITEEMBEDPROC > , lpvwritestream : * const :: std :: ffi :: c_void , pulcharcodeset : * const u32 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : * const TTEMBEDINFO , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTEmbedFontEx ( hdc : HDC , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : * mut u32 , lpfnwritetostream : :: windows :: RawPtr , lpvwritestream : * const :: std :: ffi :: c_void , pulcharcodeset : * const u32 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : * const TTEMBEDINFO ) -> i32 ; } :: std :: mem :: transmute ( TTEmbedFontEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ulflags ) , :: std :: mem :: transmute ( ulcharset ) , :: std :: mem :: transmute ( pulprivstatus ) , :: std :: mem :: transmute ( pulstatus ) , :: std :: mem :: transmute ( lpfnwritetostream ) , :: std :: mem :: transmute ( lpvwritestream ) , :: std :: mem :: transmute ( pulcharcodeset ) , :: std :: mem :: transmute ( uscharcodecount ) , :: std :: mem :: transmute ( uslanguage ) , :: std :: mem :: transmute ( pttembedinfo ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTEmbedFontFromFileA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , szfontfilename : Param1 , usttcindex : u16 , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : * mut u32 , lpfnwritetostream : :: std :: option :: Option < WRITEEMBEDPROC > , lpvwritestream : * const :: std :: ffi :: c_void , puscharcodeset : * const u16 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : * const TTEMBEDINFO , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTEmbedFontFromFileA ( hdc : HDC , szfontfilename : super::super::Foundation:: PSTR , usttcindex : u16 , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : * mut u32 , lpfnwritetostream : :: windows :: RawPtr , lpvwritestream : * const :: std :: ffi :: c_void , puscharcodeset : * const u16 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : * const TTEMBEDINFO ) -> i32 ; } :: std :: mem :: transmute ( TTEmbedFontFromFileA ( hdc . into_param ( ) . abi ( ) , szfontfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( usttcindex ) , :: std :: mem :: transmute ( ulflags ) , :: std :: mem :: transmute ( ulcharset ) , :: std :: mem :: transmute ( pulprivstatus ) , :: std :: mem :: transmute ( pulstatus ) , :: std :: mem :: transmute ( lpfnwritetostream ) , :: std :: mem :: transmute ( lpvwritestream ) , :: std :: mem :: transmute ( puscharcodeset ) , :: std :: mem :: transmute ( uscharcodecount ) , :: std :: mem :: transmute ( uslanguage ) , :: std :: mem :: transmute ( pttembedinfo ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTEnableEmbeddingForFacename < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , Param1 : :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , > ( lpszfacename : Param0 , benable : Param1 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTEnableEmbeddingForFacename ( lpszfacename : super::super::Foundation:: PSTR , benable : super::super::Foundation:: BOOL ) -> i32 ; } :: std :: mem :: transmute ( TTEnableEmbeddingForFacename ( lpszfacename . into_param ( ) . abi ( ) , benable . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const TTFCFP_APPLE_PLATFORMID : u32 = 1u32 ; pub const TTFCFP_DELTA : u32 = 2u32 ; pub const TTFCFP_DONT_CARE : u32 = 65535u32 ; pub const TTFCFP_FLAGS_COMPRESS : u32 = 2u32 ; pub const TTFCFP_FLAGS_GLYPHLIST : u32 = 8u32 ; pub const TTFCFP_FLAGS_SUBSET : u32 = 1u32 ; pub const TTFCFP_FLAGS_TTC : u32 = 4u32 ; pub const TTFCFP_LANG_KEEP_ALL : u32 = 0u32 ; pub const TTFCFP_MS_PLATFORMID : u32 = 3u32 ; pub const TTFCFP_SUBSET : u32 = 0u32 ; pub const TTFCFP_SUBSET1 : u32 = 1u32 ; pub const TTFMFP_DELTA : u32 = 2u32 ; pub const TTFMFP_SUBSET : u32 = 0u32 ; pub const TTFMFP_SUBSET1 : u32 = 1u32 ; pub unsafe fn TTGetEmbeddedFontInfo < > ( ulflags : TTEMBED_FLAGS , pulprivstatus : * mut u32 , ulprivs : FONT_LICENSE_PRIVS , pulstatus : * mut u32 , lpfnreadfromstream : :: std :: option :: Option < READEMBEDPROC > , lpvreadstream : * const :: std :: ffi :: c_void , pttloadinfo : * const TTLOADINFO , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTGetEmbeddedFontInfo ( ulflags : TTEMBED_FLAGS , pulprivstatus : * mut u32 , ulprivs : FONT_LICENSE_PRIVS , pulstatus : * mut u32 , lpfnreadfromstream : :: windows :: RawPtr , lpvreadstream : * const :: std :: ffi :: c_void , pttloadinfo : * const TTLOADINFO ) -> i32 ; } :: std :: mem :: transmute ( TTGetEmbeddedFontInfo ( :: std :: mem :: transmute ( ulflags ) , :: std :: mem :: transmute ( pulprivstatus ) , :: std :: mem :: transmute ( ulprivs ) , :: std :: mem :: transmute ( pulstatus ) , :: std :: mem :: transmute ( lpfnreadfromstream ) , :: std :: mem :: transmute ( lpvreadstream ) , :: std :: mem :: transmute ( pttloadinfo ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTGetEmbeddingType < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , pulembedtype : * mut EMBEDDED_FONT_PRIV_STATUS , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTGetEmbeddingType ( hdc : HDC , pulembedtype : * mut EMBEDDED_FONT_PRIV_STATUS ) -> i32 ; } :: std :: mem :: transmute ( TTGetEmbeddingType ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pulembedtype ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTGetNewFontName < > ( phfontreference : * const super::super::Foundation:: HANDLE , wzwinfamilyname : super::super::Foundation:: PWSTR , cchmaxwinname : i32 , szmacfamilyname : super::super::Foundation:: PSTR , cchmaxmacname : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTGetNewFontName ( phfontreference : * const super::super::Foundation:: HANDLE , wzwinfamilyname : super::super::Foundation:: PWSTR , cchmaxwinname : i32 , szmacfamilyname : super::super::Foundation:: PSTR , cchmaxmacname : i32 ) -> i32 ; } :: std :: mem :: transmute ( TTGetNewFontName ( :: std :: mem :: transmute ( phfontreference ) , :: std :: mem :: transmute ( wzwinfamilyname ) , :: std :: mem :: transmute ( cchmaxwinname ) , :: std :: mem :: transmute ( szmacfamilyname ) , :: std :: mem :: transmute ( cchmaxmacname ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTIsEmbeddingEnabled < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , pbenabled : * mut super::super::Foundation:: BOOL , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTIsEmbeddingEnabled ( hdc : HDC , pbenabled : * mut super::super::Foundation:: BOOL ) -> i32 ; } :: std :: mem :: transmute ( TTIsEmbeddingEnabled ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbenabled ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTIsEmbeddingEnabledForFacename < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( lpszfacename : Param0 , pbenabled : * mut super::super::Foundation:: BOOL , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTIsEmbeddingEnabledForFacename ( lpszfacename : super::super::Foundation:: PSTR , pbenabled : * mut super::super::Foundation:: BOOL ) -> i32 ; } :: std :: mem :: transmute ( TTIsEmbeddingEnabledForFacename ( lpszfacename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbenabled ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TTLOADINFO { pub usStructSize : u16 , pub usRefStrSize : u16 , pub pusRefStr : * mut u16 } impl TTLOADINFO { } impl :: std :: default :: Default for TTLOADINFO { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TTLOADINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TTLOADINFO" ) . field ( "usStructSize" , & self . usStructSize ) . field ( "usRefStrSize" , & self . usRefStrSize ) . field ( "pusRefStr" , & self . pusRefStr ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TTLOADINFO { fn eq ( & self , other : & Self ) -> bool { self . usStructSize == other . usStructSize && self . usRefStrSize == other . usRefStrSize && self . pusRefStr == other . pusRefStr } } impl :: std :: cmp :: Eq for TTLOADINFO { } unsafe impl :: windows :: Abi for TTLOADINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TTLOAD_EMBEDDED_FONT_STATUS ( pub u32 ) ; pub const TTLOAD_FONT_SUBSETTED : TTLOAD_EMBEDDED_FONT_STATUS = TTLOAD_EMBEDDED_FONT_STATUS ( 1u32 ) ; pub const TTLOAD_FONT_IN_SYSSTARTUP : TTLOAD_EMBEDDED_FONT_STATUS = TTLOAD_EMBEDDED_FONT_STATUS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for TTLOAD_EMBEDDED_FONT_STATUS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TTLOAD_EMBEDDED_FONT_STATUS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for TTLOAD_EMBEDDED_FONT_STATUS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TTLOAD_EMBEDDED_FONT_STATUS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TTLOAD_EMBEDDED_FONT_STATUS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TTLOAD_EMBEDDED_FONT_STATUS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for TTLOAD_EMBEDDED_FONT_STATUS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } pub const TTLOAD_EUDC_OVERWRITE : u32 = 2u32 ; pub const TTLOAD_EUDC_SET : u32 = 4u32 ; pub const TTLOAD_PRIVATE : u32 = 1u32 ; pub unsafe fn TTLoadEmbeddedFont < 'a , Param7 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , Param8 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( phfontreference : * mut super::super::Foundation:: HANDLE , ulflags : u32 , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , ulprivs : FONT_LICENSE_PRIVS , pulstatus : * mut TTLOAD_EMBEDDED_FONT_STATUS , lpfnreadfromstream : :: std :: option :: Option < READEMBEDPROC > , lpvreadstream : * const :: std :: ffi :: c_void , szwinfamilyname : Param7 , szmacfamilyname : Param8 , pttloadinfo : * const TTLOADINFO , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTLoadEmbeddedFont ( phfontreference : * mut super::super::Foundation:: HANDLE , ulflags : u32 , pulprivstatus : * mut EMBEDDED_FONT_PRIV_STATUS , ulprivs : FONT_LICENSE_PRIVS , pulstatus : * mut TTLOAD_EMBEDDED_FONT_STATUS , lpfnreadfromstream : :: windows :: RawPtr , lpvreadstream : * const :: std :: ffi :: c_void , szwinfamilyname : super::super::Foundation:: PWSTR , szmacfamilyname : super::super::Foundation:: PSTR , pttloadinfo : * const TTLOADINFO ) -> i32 ; } :: std :: mem :: transmute ( TTLoadEmbeddedFont ( :: std :: mem :: transmute ( phfontreference ) , :: std :: mem :: transmute ( ulflags ) , :: std :: mem :: transmute ( pulprivstatus ) , :: std :: mem :: transmute ( ulprivs ) , :: std :: mem :: transmute ( pulstatus ) , :: std :: mem :: transmute ( lpfnreadfromstream ) , :: std :: mem :: transmute ( lpvreadstream ) , szwinfamilyname . into_param ( ) . abi ( ) , szmacfamilyname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pttloadinfo ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TTPOLYCURVE { pub wType : u16 , pub cpfx : u16 , pub apfx : [ POINTFX ;1 ] } impl TTPOLYCURVE { } impl :: std :: default :: Default for TTPOLYCURVE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TTPOLYCURVE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TTPOLYCURVE" ) . field ( "wType" , & self . wType ) . field ( "cpfx" , & self . cpfx ) . field ( "apfx" , & self . apfx ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TTPOLYCURVE { fn eq ( & self , other : & Self ) -> bool { self . wType == other . wType && self . cpfx == other . cpfx && self . apfx == other . apfx } } impl :: std :: cmp :: Eq for TTPOLYCURVE { } unsafe impl :: windows :: Abi for TTPOLYCURVE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TTPOLYGONHEADER { pub cb : u32 , pub dwType : u32 , pub pfxStart : POINTFX } impl TTPOLYGONHEADER { } impl :: std :: default :: Default for TTPOLYGONHEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TTPOLYGONHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TTPOLYGONHEADER" ) . field ( "cb" , & self . cb ) . field ( "dwType" , & self . dwType ) . field ( "pfxStart" , & self . pfxStart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TTPOLYGONHEADER { fn eq ( & self , other : & Self ) -> bool { self . cb == other . cb && self . dwType == other . dwType && self . pfxStart == other . pfxStart } } impl :: std :: cmp :: Eq for TTPOLYGONHEADER { } unsafe impl :: windows :: Abi for TTPOLYGONHEADER { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn TTRunValidationTests < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ptestparam : * const TTVALIDATIONTESTSPARAMS , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTRunValidationTests ( hdc : HDC , ptestparam : * const TTVALIDATIONTESTSPARAMS ) -> i32 ; } :: std :: mem :: transmute ( TTRunValidationTests ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ptestparam ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TTRunValidationTestsEx < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ptestparam : * const TTVALIDATIONTESTSPARAMSEX , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="t2embed" ) ] extern "system" { fn TTRunValidationTestsEx ( hdc : HDC , ptestparam : * const TTVALIDATIONTESTSPARAMSEX ) -> i32 ; } :: std :: mem :: transmute ( TTRunValidationTestsEx ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ptestparam ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TTVALIDATIONTESTSPARAMS { pub ulStructSize : u32 , pub lTestFromSize : i32 , pub lTestToSize : i32 , pub ulCharSet : u32 , pub usReserved1 : u16 , pub usCharCodeCount : u16 , pub pusCharCodeSet : * mut u16 } impl TTVALIDATIONTESTSPARAMS { } impl :: std :: default :: Default for TTVALIDATIONTESTSPARAMS { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TTVALIDATIONTESTSPARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TTVALIDATIONTESTSPARAMS" ) . field ( "ulStructSize" , & self . ulStructSize ) . field ( "lTestFromSize" , & self . lTestFromSize ) . field ( "lTestToSize" , & self . lTestToSize ) . field ( "ulCharSet" , & self . ulCharSet ) . field ( "usReserved1" , & self . usReserved1 ) . field ( "usCharCodeCount" , & self . usCharCodeCount ) . field ( "pusCharCodeSet" , & self . pusCharCodeSet ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TTVALIDATIONTESTSPARAMS { fn eq ( & self , other : & Self ) -> bool { self . ulStructSize == other . ulStructSize && self . lTestFromSize == other . lTestFromSize && self . lTestToSize == other . lTestToSize && self . ulCharSet == other . ulCharSet && self . usReserved1 == other . usReserved1 && self . usCharCodeCount == other . usCharCodeCount && self . pusCharCodeSet == other . pusCharCodeSet } } impl :: std :: cmp :: Eq for TTVALIDATIONTESTSPARAMS { } unsafe impl :: windows :: Abi for TTVALIDATIONTESTSPARAMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TTVALIDATIONTESTSPARAMSEX { pub ulStructSize : u32 , pub lTestFromSize : i32 , pub lTestToSize : i32 , pub ulCharSet : u32 , pub usReserved1 : u16 , pub usCharCodeCount : u16 , pub pulCharCodeSet : * mut u32 } impl TTVALIDATIONTESTSPARAMSEX { } impl :: std :: default :: Default for TTVALIDATIONTESTSPARAMSEX { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for TTVALIDATIONTESTSPARAMSEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TTVALIDATIONTESTSPARAMSEX" ) . field ( "ulStructSize" , & self . ulStructSize ) . field ( "lTestFromSize" , & self . lTestFromSize ) . field ( "lTestToSize" , & self . lTestToSize ) . field ( "ulCharSet" , & self . ulCharSet ) . field ( "usReserved1" , & self . usReserved1 ) . field ( "usCharCodeCount" , & self . usCharCodeCount ) . field ( "pulCharCodeSet" , & self . pulCharCodeSet ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TTVALIDATIONTESTSPARAMSEX { fn eq ( & self , other : & Self ) -> bool { self . ulStructSize == other . ulStructSize && self . lTestFromSize == other . lTestFromSize && self . lTestToSize == other . lTestToSize && self . ulCharSet == other . ulCharSet && self . usReserved1 == other . usReserved1 && self . usCharCodeCount == other . usCharCodeCount && self . pulCharCodeSet == other . pulCharCodeSet } } impl :: std :: cmp :: Eq for TTVALIDATIONTESTSPARAMSEX { } unsafe impl :: windows :: Abi for TTVALIDATIONTESTSPARAMSEX { type Abi = Self ; type DefaultType = Self ; } pub const TT_AVAILABLE : u32 = 1u32 ; pub const TT_ENABLED : u32 = 2u32 ; pub const TT_POLYGON_TYPE : u32 = 24u32 ; pub const TT_PRIM_CSPLINE : u32 = 3u32 ; pub const TT_PRIM_LINE : u32 = 1u32 ; pub const TT_PRIM_QSPLINE : u32 = 2u32 ; pub const TURKISH_CHARSET : u32 = 162u32 ; pub unsafe fn TabbedTextOutA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , x : i32 , y : i32 , lpstring : Param3 , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 , ntaborigin : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn TabbedTextOutA ( hdc : HDC , x : i32 , y : i32 , lpstring : super::super::Foundation:: PSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 , ntaborigin : i32 ) -> i32 ; } :: std :: mem :: transmute ( TabbedTextOutA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( chcount ) , :: std :: mem :: transmute ( ntabpositions ) , :: std :: mem :: transmute ( lpntabstoppositions ) , :: std :: mem :: transmute ( ntaborigin ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TabbedTextOutW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , x : i32 , y : i32 , lpstring : Param3 , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 , ntaborigin : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn TabbedTextOutW ( hdc : HDC , x : i32 , y : i32 , lpstring : super::super::Foundation:: PWSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : * const i32 , ntaborigin : i32 ) -> i32 ; } :: std :: mem :: transmute ( TabbedTextOutW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( chcount ) , :: std :: mem :: transmute ( ntabpositions ) , :: std :: mem :: transmute ( lpntabstoppositions ) , :: std :: mem :: transmute ( ntaborigin ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TextOutA < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , > ( hdc : Param0 , x : i32 , y : i32 , lpstring : Param3 , c : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn TextOutA ( hdc : HDC , x : i32 , y : i32 , lpstring : super::super::Foundation:: PSTR , c : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( TextOutA ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TextOutW < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param3 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( hdc : Param0 , x : i32 , y : i32 , lpstring : Param3 , c : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn TextOutW ( hdc : HDC , x : i32 , y : i32 , lpstring : super::super::Foundation:: PWSTR , c : i32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( TextOutW ( hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , lpstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( c ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TransparentBlt < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , Param5 : :: windows :: IntoParam < 'a , HDC > , > ( hdcdest : Param0 , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : Param5 , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , crtransparent : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="msimg32" ) ] extern "system" { fn TransparentBlt ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , crtransparent : u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( TransparentBlt ( hdcdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xorigindest ) , :: std :: mem :: transmute ( yorigindest ) , :: std :: mem :: transmute ( wdest ) , :: std :: mem :: transmute ( hdest ) , hdcsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( xoriginsrc ) , :: std :: mem :: transmute ( yoriginsrc ) , :: std :: mem :: transmute ( wsrc ) , :: std :: mem :: transmute ( hsrc ) , :: std :: mem :: transmute ( crtransparent ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn UnionRect < > ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc1 : * const super::super::Foundation:: RECT , lprcsrc2 : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn UnionRect ( lprcdst : * mut super::super::Foundation:: RECT , lprcsrc1 : * const super::super::Foundation:: RECT , lprcsrc2 : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( UnionRect ( :: std :: mem :: transmute ( lprcdst ) , :: std :: mem :: transmute ( lprcsrc1 ) , :: std :: mem :: transmute ( lprcsrc2 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn UnrealizeObject < 'a , Param0 : :: windows :: IntoParam < 'a , HGDIOBJ > , > ( h : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn UnrealizeObject ( h : HGDIOBJ ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( UnrealizeObject ( h . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateColors < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn UpdateColors ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( UpdateColors ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateWindow < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn UpdateWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( UpdateWindow ( hwnd . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const VARIABLE_PITCH : u32 = 2u32 ; pub const VERTRES : u32 = 10u32 ; pub const VERTSIZE : u32 = 6u32 ; pub const VIETNAMESE_CHARSET : u32 = 163u32 ; pub const VREFRESH : u32 = 116u32 ; pub unsafe fn ValidateRect < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , > ( hwnd : Param0 , lprect : * const super::super::Foundation:: RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ValidateRect ( hwnd : super::super::Foundation:: HWND , lprect : * const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ValidateRect ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprect ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ValidateRgn < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , Param1 : :: windows :: IntoParam < 'a , HRGN > , > ( hwnd : Param0 , hrgn : Param1 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn ValidateRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( ValidateRgn ( hwnd . into_param ( ) . abi ( ) , hrgn . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WCRANGE { pub wcLow : u16 , pub cGlyphs : u16 } impl WCRANGE { } impl :: std :: default :: Default for WCRANGE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for WCRANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WCRANGE" ) . field ( "wcLow" , & self . wcLow ) . field ( "cGlyphs" , & self . cGlyphs ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WCRANGE { fn eq ( & self , other : & Self ) -> bool { self . wcLow == other . wcLow && self . cGlyphs == other . cGlyphs } } impl :: std :: cmp :: Eq for WCRANGE { } unsafe impl :: windows :: Abi for WCRANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WGLSWAP { pub hdc : HDC , pub uiFlags : u32 } impl WGLSWAP { } impl :: std :: default :: Default for WGLSWAP { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for WGLSWAP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WGLSWAP" ) . field ( "hdc" , & self . hdc ) . field ( "uiFlags" , & self . uiFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WGLSWAP { fn eq ( & self , other : & Self ) -> bool { self . hdc == other . hdc && self . uiFlags == other . uiFlags } } impl :: std :: cmp :: Eq for WGLSWAP { } unsafe impl :: windows :: Abi for WGLSWAP { type Abi = Self ; type DefaultType = Self ; } pub const WGL_FONT_LINES : u32 = 0u32 ; pub const WGL_FONT_POLYGONS : u32 = 1u32 ; pub const WGL_SWAPMULTIPLE_MAX : u32 = 16u32 ; pub const WGL_SWAP_MAIN_PLANE : u32 = 1u32 ; pub const WGL_SWAP_OVERLAY1 : u32 = 2u32 ; pub const WGL_SWAP_OVERLAY10 : u32 = 1024u32 ; pub const WGL_SWAP_OVERLAY11 : u32 = 2048u32 ; pub const WGL_SWAP_OVERLAY12 : u32 = 4096u32 ; pub const WGL_SWAP_OVERLAY13 : u32 = 8192u32 ; pub const WGL_SWAP_OVERLAY14 : u32 = 16384u32 ; pub const WGL_SWAP_OVERLAY15 : u32 = 32768u32 ; pub const WGL_SWAP_OVERLAY2 : u32 = 4u32 ; pub const WGL_SWAP_OVERLAY3 : u32 = 8u32 ; pub const WGL_SWAP_OVERLAY4 : u32 = 16u32 ; pub const WGL_SWAP_OVERLAY5 : u32 = 32u32 ; pub const WGL_SWAP_OVERLAY6 : u32 = 64u32 ; pub const WGL_SWAP_OVERLAY7 : u32 = 128u32 ; pub const WGL_SWAP_OVERLAY8 : u32 = 256u32 ; pub const WGL_SWAP_OVERLAY9 : u32 = 512u32 ; pub const WGL_SWAP_UNDERLAY1 : u32 = 65536u32 ; pub const WGL_SWAP_UNDERLAY10 : u32 = 33554432u32 ; pub const WGL_SWAP_UNDERLAY11 : u32 = 67108864u32 ; pub const WGL_SWAP_UNDERLAY12 : u32 = 134217728u32 ; pub const WGL_SWAP_UNDERLAY13 : u32 = 268435456u32 ; pub const WGL_SWAP_UNDERLAY14 : u32 = 536870912u32 ; pub const WGL_SWAP_UNDERLAY15 : u32 = 1073741824u32 ; pub const WGL_SWAP_UNDERLAY2 : u32 = 131072u32 ; pub const WGL_SWAP_UNDERLAY3 : u32 = 262144u32 ; pub const WGL_SWAP_UNDERLAY4 : u32 = 524288u32 ; pub const WGL_SWAP_UNDERLAY5 : u32 = 1048576u32 ; pub const WGL_SWAP_UNDERLAY6 : u32 = 2097152u32 ; pub const WGL_SWAP_UNDERLAY7 : u32 = 4194304u32 ; pub const WGL_SWAP_UNDERLAY8 : u32 = 8388608u32 ; pub const WGL_SWAP_UNDERLAY9 : u32 = 16777216u32 ; pub type WRITEEMBEDPROC = unsafe extern "system" fn ( param0 : * mut :: std :: ffi :: c_void , param1 : * const :: std :: ffi :: c_void , param2 : u32 ) -> u32 ; pub unsafe fn WidenPath < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="gdi32" ) ] extern "system" { fn WidenPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( WidenPath ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WindowFromDC < 'a , Param0 : :: windows :: IntoParam < 'a , HDC > , > ( hdc : Param0 , ) -> super::super::Foundation:: HWND { # [ cfg ( windows ) ] { # [ link ( name ="user32" ) ] extern "system" { fn WindowFromDC ( hdc : HDC ) -> super::super::Foundation:: HWND ; } :: std :: mem :: transmute ( WindowFromDC ( hdc . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct XFORM { pub eM11 : f32 , pub eM12 : f32 , pub eM21 : f32 , pub eM22 : f32 , pub eDx : f32 , pub eDy : f32 } impl XFORM { } impl :: std :: default :: Default for XFORM { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for XFORM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "XFORM" ) . field ( "eM11" , & self . eM11 ) . field ( "eM12" , & self . eM12 ) . field ( "eM21" , & self . eM21 ) . field ( "eM22" , & self . eM22 ) . field ( "eDx" , & self . eDx ) . field ( "eDy" , & self . eDy ) . finish ( ) } } impl :: std :: cmp :: PartialEq for XFORM { fn eq ( & self , other : & Self ) -> bool { self . eM11 == other . eM11 && self . eM12 == other . eM12 && self . eM21 == other . eM21 && self . eM22 == other . eM22 && self . eDx == other . eDx && self . eDy == other . eDy } } impl :: std :: cmp :: Eq for XFORM { } unsafe impl :: windows :: Abi for XFORM { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn wglSwapMultipleBuffers < > ( param0 : u32 , param1 : * const WGLSWAP , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="opengl32" ) ] extern "system" { fn wglSwapMultipleBuffers ( param0 : u32 , param1 : * const WGLSWAP ) -> u32 ; } :: std :: mem :: transmute ( wglSwapMultipleBuffers ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod OpenGL { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PIXELFORMATDESCRIPTOR { pub nSize : u16 , pub nVersion : u16 , pub dwFlags : u32 , pub iPixelType : u8 , pub cColorBits : u8 , pub cRedBits : u8 , pub cRedShift : u8 , pub cGreenBits : u8 , pub cGreenShift : u8 , pub cBlueBits : u8 , pub cBlueShift : u8 , pub cAlphaBits : u8 , pub cAlphaShift : u8 , pub cAccumBits : u8 , pub cAccumRedBits : u8 , pub cAccumGreenBits : u8 , pub cAccumBlueBits : u8 , pub cAccumAlphaBits : u8 , pub cDepthBits : u8 , pub cStencilBits : u8 , pub cAuxBuffers : u8 , pub iLayerType : u8 , pub bReserved : u8 , pub dwLayerMask : u32 , pub dwVisibleMask : u32 , pub dwDamageMask : u32 } impl PIXELFORMATDESCRIPTOR { } impl :: std :: default :: Default for PIXELFORMATDESCRIPTOR { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for PIXELFORMATDESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PIXELFORMATDESCRIPTOR" ) . field ( "nSize" , & self . nSize ) . field ( "nVersion" , & self . nVersion ) . field ( "dwFlags" , & self . dwFlags ) . field ( "iPixelType" , & self . iPixelType ) . field ( "cColorBits" , & self . cColorBits ) . field ( "cRedBits" , & self . cRedBits ) . field ( "cRedShift" , & self . cRedShift ) . field ( "cGreenBits" , & self . cGreenBits ) . field ( "cGreenShift" , & self . cGreenShift ) . field ( "cBlueBits" , & self . cBlueBits ) . field ( "cBlueShift" , & self . cBlueShift ) . field ( "cAlphaBits" , & self . cAlphaBits ) . field ( "cAlphaShift" , & self . cAlphaShift ) . field ( "cAccumBits" , & self . cAccumBits ) . field ( "cAccumRedBits" , & self . cAccumRedBits ) . field ( "cAccumGreenBits" , & self . cAccumGreenBits ) . field ( "cAccumBlueBits" , & self . cAccumBlueBits ) . field ( "cAccumAlphaBits" , & self . cAccumAlphaBits ) . field ( "cDepthBits" , & self . cDepthBits ) . field ( "cStencilBits" , & self . cStencilBits ) . field ( "cAuxBuffers" , & self . cAuxBuffers ) . field ( "iLayerType" , & self . iLayerType ) . field ( "bReserved" , & self . bReserved ) . field ( "dwLayerMask" , & self . dwLayerMask ) . field ( "dwVisibleMask" , & self . dwVisibleMask ) . field ( "dwDamageMask" , & self . dwDamageMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PIXELFORMATDESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . nSize == other . nSize && self . nVersion == other . nVersion && self . dwFlags == other . dwFlags && self . iPixelType == other . iPixelType && self . cColorBits == other . cColorBits && self . cRedBits == other . cRedBits && self . cRedShift == other . cRedShift && self . cGreenBits == other . cGreenBits && self . cGreenShift == other . cGreenShift && self . cBlueBits == other . cBlueBits && self . cBlueShift == other . cBlueShift && self . cAlphaBits == other . cAlphaBits && self . cAlphaShift == other . cAlphaShift && self . cAccumBits == other . cAccumBits && self . cAccumRedBits == other . cAccumRedBits && self . cAccumGreenBits == other . cAccumGreenBits && self . cAccumBlueBits == other . cAccumBlueBits && self . cAccumAlphaBits == other . cAccumAlphaBits && self . cDepthBits == other . cDepthBits && self . cStencilBits == other . cStencilBits && self . cAuxBuffers == other . cAuxBuffers && self . iLayerType == other . iLayerType && self . bReserved == other . bReserved && self . dwLayerMask == other . dwLayerMask && self . dwVisibleMask == other . dwVisibleMask && self . dwDamageMask == other . dwDamageMask } } impl :: std :: cmp :: Eq for PIXELFORMATDESCRIPTOR { } unsafe impl :: windows :: Abi for PIXELFORMATDESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Storage { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod FileSystem { pub unsafe fn GetLogicalDrives < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="kernel32" ) ] extern "system" { fn GetLogicalDrives ( ) -> u32 ; } :: std :: mem :: transmute ( GetLogicalDrives ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod System { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod DataExchange { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct METAFILEPICT { pub mm : i32 , pub xExt : i32 , pub yExt : i32 , pub hMF : super::super::Graphics::Gdi:: HMETAFILE } impl METAFILEPICT { } impl :: std :: default :: Default for METAFILEPICT { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for METAFILEPICT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "METAFILEPICT" ) . field ( "mm" , & self . mm ) . field ( "xExt" , & self . xExt ) . field ( "yExt" , & self . yExt ) . field ( "hMF" , & self . hMF ) . finish ( ) } } impl :: std :: cmp :: PartialEq for METAFILEPICT { fn eq ( & self , other : & Self ) -> bool { self . mm == other . mm && self . xExt == other . xExt && self . yExt == other . yExt && self . hMF == other . hMF } } impl :: std :: cmp :: Eq for METAFILEPICT { } unsafe impl :: windows :: Abi for METAFILEPICT { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod SystemServices { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct CHAR ( pub u8 ) ; impl :: std :: default :: Default for CHAR { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } unsafe impl :: windows :: Handle for CHAR { } unsafe impl :: windows :: Abi for CHAR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LUID { pub LowPart : u32 , pub HighPart : i32 } impl LUID { } impl :: std :: default :: Default for LUID { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LUID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LUID" ) . field ( "LowPart" , & self . LowPart ) . field ( "HighPart" , & self . HighPart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LUID { fn eq ( & self , other : & Self ) -> bool { self . LowPart == other . LowPart && self . HighPart == other . HighPart } } impl :: std :: cmp :: Eq for LUID { } unsafe impl :: windows :: Abi for LUID { type Abi = Self ; type DefaultType = Self ; } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod UI { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod ColorSystem { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CIEXYZ { pub ciexyzX : i32 , pub ciexyzY : i32 , pub ciexyzZ : i32 } impl CIEXYZ { } impl :: std :: default :: Default for CIEXYZ { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for CIEXYZ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CIEXYZ" ) . field ( "ciexyzX" , & self . ciexyzX ) . field ( "ciexyzY" , & self . ciexyzY ) . field ( "ciexyzZ" , & self . ciexyzZ ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CIEXYZ { fn eq ( & self , other : & Self ) -> bool { self . ciexyzX == other . ciexyzX && self . ciexyzY == other . ciexyzY && self . ciexyzZ == other . ciexyzZ } } impl :: std :: cmp :: Eq for CIEXYZ { } unsafe impl :: windows :: Abi for CIEXYZ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CIEXYZTRIPLE { pub ciexyzRed : CIEXYZ , pub ciexyzGreen : CIEXYZ , pub ciexyzBlue : CIEXYZ } impl CIEXYZTRIPLE { } impl :: std :: default :: Default for CIEXYZTRIPLE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for CIEXYZTRIPLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CIEXYZTRIPLE" ) . field ( "ciexyzRed" , & self . ciexyzRed ) . field ( "ciexyzGreen" , & self . ciexyzGreen ) . field ( "ciexyzBlue" , & self . ciexyzBlue ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CIEXYZTRIPLE { fn eq ( & self , other : & Self ) -> bool { self . ciexyzRed == other . ciexyzRed && self . ciexyzGreen == other . ciexyzGreen && self . ciexyzBlue == other . ciexyzBlue } } impl :: std :: cmp :: Eq for CIEXYZTRIPLE { } unsafe impl :: windows :: Abi for CIEXYZTRIPLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGCOLORSPACEA { pub lcsSignature : u32 , pub lcsVersion : u32 , pub lcsSize : u32 , pub lcsCSType : i32 , pub lcsIntent : i32 , pub lcsEndpoints : CIEXYZTRIPLE , pub lcsGammaRed : u32 , pub lcsGammaGreen : u32 , pub lcsGammaBlue : u32 , pub lcsFilename : [ super::super::System::SystemServices:: CHAR ;260 ] } impl LOGCOLORSPACEA { } impl :: std :: default :: Default for LOGCOLORSPACEA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGCOLORSPACEA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGCOLORSPACEA" ) . field ( "lcsSignature" , & self . lcsSignature ) . field ( "lcsVersion" , & self . lcsVersion ) . field ( "lcsSize" , & self . lcsSize ) . field ( "lcsCSType" , & self . lcsCSType ) . field ( "lcsIntent" , & self . lcsIntent ) . field ( "lcsEndpoints" , & self . lcsEndpoints ) . field ( "lcsGammaRed" , & self . lcsGammaRed ) . field ( "lcsGammaGreen" , & self . lcsGammaGreen ) . field ( "lcsGammaBlue" , & self . lcsGammaBlue ) . field ( "lcsFilename" , & self . lcsFilename ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGCOLORSPACEA { fn eq ( & self , other : & Self ) -> bool { self . lcsSignature == other . lcsSignature && self . lcsVersion == other . lcsVersion && self . lcsSize == other . lcsSize && self . lcsCSType == other . lcsCSType && self . lcsIntent == other . lcsIntent && self . lcsEndpoints == other . lcsEndpoints && self . lcsGammaRed == other . lcsGammaRed && self . lcsGammaGreen == other . lcsGammaGreen && self . lcsGammaBlue == other . lcsGammaBlue && self . lcsFilename == other . lcsFilename } } impl :: std :: cmp :: Eq for LOGCOLORSPACEA { } unsafe impl :: windows :: Abi for LOGCOLORSPACEA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGCOLORSPACEW { pub lcsSignature : u32 , pub lcsVersion : u32 , pub lcsSize : u32 , pub lcsCSType : i32 , pub lcsIntent : i32 , pub lcsEndpoints : CIEXYZTRIPLE , pub lcsGammaRed : u32 , pub lcsGammaGreen : u32 , pub lcsGammaBlue : u32 , pub lcsFilename : [ u16 ;260 ] } impl LOGCOLORSPACEW { } impl :: std :: default :: Default for LOGCOLORSPACEW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for LOGCOLORSPACEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGCOLORSPACEW" ) . field ( "lcsSignature" , & self . lcsSignature ) . field ( "lcsVersion" , & self . lcsVersion ) . field ( "lcsSize" , & self . lcsSize ) . field ( "lcsCSType" , & self . lcsCSType ) . field ( "lcsIntent" , & self . lcsIntent ) . field ( "lcsEndpoints" , & self . lcsEndpoints ) . field ( "lcsGammaRed" , & self . lcsGammaRed ) . field ( "lcsGammaGreen" , & self . lcsGammaGreen ) . field ( "lcsGammaBlue" , & self . lcsGammaBlue ) . field ( "lcsFilename" , & self . lcsFilename ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGCOLORSPACEW { fn eq ( & self , other : & Self ) -> bool { self . lcsSignature == other . lcsSignature && self . lcsVersion == other . lcsVersion && self . lcsSize == other . lcsSize && self . lcsCSType == other . lcsCSType && self . lcsIntent == other . lcsIntent && self . lcsEndpoints == other . lcsEndpoints && self . lcsGammaRed == other . lcsGammaRed && self . lcsGammaGreen == other . lcsGammaGreen && self . lcsGammaBlue == other . lcsGammaBlue && self . lcsFilename == other . lcsFilename } } impl :: std :: cmp :: Eq for LOGCOLORSPACEW { } unsafe impl :: windows :: Abi for LOGCOLORSPACEW { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Controls { # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TEXT_ALIGN_OPTIONS ( pub u32 ) ; pub const TA_NOUPDATECP : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 0u32 ) ; pub const TA_UPDATECP : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 1u32 ) ; pub const TA_LEFT : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 0u32 ) ; pub const TA_RIGHT : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 2u32 ) ; pub const TA_CENTER : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 6u32 ) ; pub const TA_TOP : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 0u32 ) ; pub const TA_BOTTOM : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 8u32 ) ; pub const TA_BASELINE : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 24u32 ) ; pub const TA_RTLREADING : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 256u32 ) ; pub const TA_MASK : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 287u32 ) ; pub const VTA_BASELINE : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 24u32 ) ; pub const VTA_LEFT : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 8u32 ) ; pub const VTA_RIGHT : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 0u32 ) ; pub const VTA_CENTER : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 6u32 ) ; pub const VTA_BOTTOM : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 2u32 ) ; pub const VTA_TOP : TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS ( 0u32 ) ; impl :: std :: convert :: From < u32 > for TEXT_ALIGN_OPTIONS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TEXT_ALIGN_OPTIONS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for TEXT_ALIGN_OPTIONS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TEXT_ALIGN_OPTIONS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TEXT_ALIGN_OPTIONS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TEXT_ALIGN_OPTIONS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for TEXT_ALIGN_OPTIONS { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod DisplayDevices { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEA { pub dmDeviceName : [ u8 ;32 ] , pub dmSpecVersion : u16 , pub dmDriverVersion : u16 , pub dmSize : u16 , pub dmDriverExtra : u16 , pub dmFields : u32 , pub Anonymous1 : DEVMODEA_0 , pub dmColor : i16 , pub dmDuplex : i16 , pub dmYResolution : i16 , pub dmTTOption : i16 , pub dmCollate : i16 , pub dmFormName : [ u8 ;32 ] , pub dmLogPixels : u16 , pub dmBitsPerPel : u32 , pub dmPelsWidth : u32 , pub dmPelsHeight : u32 , pub Anonymous2 : DEVMODEA_1 , pub dmDisplayFrequency : u32 , pub dmICMMethod : u32 , pub dmICMIntent : u32 , pub dmMediaType : u32 , pub dmDitherType : u32 , pub dmReserved1 : u32 , pub dmReserved2 : u32 , pub dmPanningWidth : u32 , pub dmPanningHeight : u32 } impl DEVMODEA { } impl :: std :: default :: Default for DEVMODEA { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DEVMODEA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEA { } unsafe impl :: windows :: Abi for DEVMODEA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVMODEA_0 { pub Anonymous1 : DEVMODEA_0_0 , pub Anonymous2 : DEVMODEA_0_1 } impl DEVMODEA_0 { } impl :: std :: default :: Default for DEVMODEA_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DEVMODEA_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEA_0 { } unsafe impl :: windows :: Abi for DEVMODEA_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEA_0_0 { pub dmOrientation : i16 , pub dmPaperSize : i16 , pub dmPaperLength : i16 , pub dmPaperWidth : i16 , pub dmScale : i16 , pub dmCopies : i16 , pub dmDefaultSource : i16 , pub dmPrintQuality : i16 } impl DEVMODEA_0_0 { } impl :: std :: default :: Default for DEVMODEA_0_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DEVMODEA_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous1_e__Struct" ) . field ( "dmOrientation" , & self . dmOrientation ) . field ( "dmPaperSize" , & self . dmPaperSize ) . field ( "dmPaperLength" , & self . dmPaperLength ) . field ( "dmPaperWidth" , & self . dmPaperWidth ) . field ( "dmScale" , & self . dmScale ) . field ( "dmCopies" , & self . dmCopies ) . field ( "dmDefaultSource" , & self . dmDefaultSource ) . field ( "dmPrintQuality" , & self . dmPrintQuality ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVMODEA_0_0 { fn eq ( & self , other : & Self ) -> bool { self . dmOrientation == other . dmOrientation && self . dmPaperSize == other . dmPaperSize && self . dmPaperLength == other . dmPaperLength && self . dmPaperWidth == other . dmPaperWidth && self . dmScale == other . dmScale && self . dmCopies == other . dmCopies && self . dmDefaultSource == other . dmDefaultSource && self . dmPrintQuality == other . dmPrintQuality } } impl :: std :: cmp :: Eq for DEVMODEA_0_0 { } unsafe impl :: windows :: Abi for DEVMODEA_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEA_0_1 { pub dmPosition : super::super::Foundation:: POINTL , pub dmDisplayOrientation : u32 , pub dmDisplayFixedOutput : u32 } impl DEVMODEA_0_1 { } impl :: std :: default :: Default for DEVMODEA_0_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DEVMODEA_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous2_e__Struct" ) . field ( "dmPosition" , & self . dmPosition ) . field ( "dmDisplayOrientation" , & self . dmDisplayOrientation ) . field ( "dmDisplayFixedOutput" , & self . dmDisplayFixedOutput ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVMODEA_0_1 { fn eq ( & self , other : & Self ) -> bool { self . dmPosition == other . dmPosition && self . dmDisplayOrientation == other . dmDisplayOrientation && self . dmDisplayFixedOutput == other . dmDisplayFixedOutput } } impl :: std :: cmp :: Eq for DEVMODEA_0_1 { } unsafe impl :: windows :: Abi for DEVMODEA_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVMODEA_1 { pub dmDisplayFlags : u32 , pub dmNup : u32 } impl DEVMODEA_1 { } impl :: std :: default :: Default for DEVMODEA_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DEVMODEA_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEA_1 { } unsafe impl :: windows :: Abi for DEVMODEA_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEW { pub dmDeviceName : [ u16 ;32 ] , pub dmSpecVersion : u16 , pub dmDriverVersion : u16 , pub dmSize : u16 , pub dmDriverExtra : u16 , pub dmFields : u32 , pub Anonymous1 : DEVMODEW_0 , pub dmColor : i16 , pub dmDuplex : i16 , pub dmYResolution : i16 , pub dmTTOption : i16 , pub dmCollate : i16 , pub dmFormName : [ u16 ;32 ] , pub dmLogPixels : u16 , pub dmBitsPerPel : u32 , pub dmPelsWidth : u32 , pub dmPelsHeight : u32 , pub Anonymous2 : DEVMODEW_1 , pub dmDisplayFrequency : u32 , pub dmICMMethod : u32 , pub dmICMIntent : u32 , pub dmMediaType : u32 , pub dmDitherType : u32 , pub dmReserved1 : u32 , pub dmReserved2 : u32 , pub dmPanningWidth : u32 , pub dmPanningHeight : u32 } impl DEVMODEW { } impl :: std :: default :: Default for DEVMODEW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DEVMODEW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEW { } unsafe impl :: windows :: Abi for DEVMODEW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVMODEW_0 { pub Anonymous1 : DEVMODEW_0_0 , pub Anonymous2 : DEVMODEW_0_1 } impl DEVMODEW_0 { } impl :: std :: default :: Default for DEVMODEW_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DEVMODEW_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEW_0 { } unsafe impl :: windows :: Abi for DEVMODEW_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEW_0_0 { pub dmOrientation : i16 , pub dmPaperSize : i16 , pub dmPaperLength : i16 , pub dmPaperWidth : i16 , pub dmScale : i16 , pub dmCopies : i16 , pub dmDefaultSource : i16 , pub dmPrintQuality : i16 } impl DEVMODEW_0_0 { } impl :: std :: default :: Default for DEVMODEW_0_0 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DEVMODEW_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous1_e__Struct" ) . field ( "dmOrientation" , & self . dmOrientation ) . field ( "dmPaperSize" , & self . dmPaperSize ) . field ( "dmPaperLength" , & self . dmPaperLength ) . field ( "dmPaperWidth" , & self . dmPaperWidth ) . field ( "dmScale" , & self . dmScale ) . field ( "dmCopies" , & self . dmCopies ) . field ( "dmDefaultSource" , & self . dmDefaultSource ) . field ( "dmPrintQuality" , & self . dmPrintQuality ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVMODEW_0_0 { fn eq ( & self , other : & Self ) -> bool { self . dmOrientation == other . dmOrientation && self . dmPaperSize == other . dmPaperSize && self . dmPaperLength == other . dmPaperLength && self . dmPaperWidth == other . dmPaperWidth && self . dmScale == other . dmScale && self . dmCopies == other . dmCopies && self . dmDefaultSource == other . dmDefaultSource && self . dmPrintQuality == other . dmPrintQuality } } impl :: std :: cmp :: Eq for DEVMODEW_0_0 { } unsafe impl :: windows :: Abi for DEVMODEW_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEW_0_1 { pub dmPosition : super::super::Foundation:: POINTL , pub dmDisplayOrientation : u32 , pub dmDisplayFixedOutput : u32 } impl DEVMODEW_0_1 { } impl :: std :: default :: Default for DEVMODEW_0_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DEVMODEW_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous2_e__Struct" ) . field ( "dmPosition" , & self . dmPosition ) . field ( "dmDisplayOrientation" , & self . dmDisplayOrientation ) . field ( "dmDisplayFixedOutput" , & self . dmDisplayFixedOutput ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVMODEW_0_1 { fn eq ( & self , other : & Self ) -> bool { self . dmPosition == other . dmPosition && self . dmDisplayOrientation == other . dmDisplayOrientation && self . dmDisplayFixedOutput == other . dmDisplayFixedOutput } } impl :: std :: cmp :: Eq for DEVMODEW_0_1 { } unsafe impl :: windows :: Abi for DEVMODEW_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVMODEW_1 { pub dmDisplayFlags : u32 , pub dmNup : u32 } impl DEVMODEW_1 { } impl :: std :: default :: Default for DEVMODEW_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: cmp :: PartialEq for DEVMODEW_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEW_1 { } unsafe impl :: windows :: Abi for DEVMODEW_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPLAYCONFIG_DEVICE_INFO_HEADER { pub r#type : DISPLAYCONFIG_DEVICE_INFO_TYPE , pub size : u32 , pub adapterId : super::super::System::SystemServices:: LUID , pub id : u32 } impl DISPLAYCONFIG_DEVICE_INFO_HEADER { } impl :: std :: default :: Default for DISPLAYCONFIG_DEVICE_INFO_HEADER { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for DISPLAYCONFIG_DEVICE_INFO_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISPLAYCONFIG_DEVICE_INFO_HEADER" ) . field ( "r#type" , & self . r#type ) . field ( "size" , & self . size ) . field ( "adapterId" , & self . adapterId ) . field ( "id" , & self . id ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISPLAYCONFIG_DEVICE_INFO_HEADER { fn eq ( & self , other : & Self ) -> bool { self . r#type == other . r#type && self . size == other . size && self . adapterId == other . adapterId && self . id == other . id } } impl :: std :: cmp :: Eq for DISPLAYCONFIG_DEVICE_INFO_HEADER { } unsafe impl :: windows :: Abi for DISPLAYCONFIG_DEVICE_INFO_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DISPLAYCONFIG_DEVICE_INFO_TYPE ( pub i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_SOURCE_NAME : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 1i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 2i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_PREFERRED_MODE : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 3i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_ADAPTER_NAME : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 4i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_SET_TARGET_PERSISTENCE : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 5i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_BASE_TYPE : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 6i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_SUPPORT_VIRTUAL_RESOLUTION : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 7i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_SET_SUPPORT_VIRTUAL_RESOLUTION : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 8i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_ADVANCED_COLOR_INFO : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 9i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_SET_ADVANCED_COLOR_STATE : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 10i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_GET_SDR_WHITE_LEVEL : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( 11i32 ) ; pub const DISPLAYCONFIG_DEVICE_INFO_FORCE_UINT32 : DISPLAYCONFIG_DEVICE_INFO_TYPE = DISPLAYCONFIG_DEVICE_INFO_TYPE ( -1i32 ) ; impl :: std :: convert :: From < i32 > for DISPLAYCONFIG_DEVICE_INFO_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DISPLAYCONFIG_DEVICE_INFO_TYPE { type Abi = Self ; type DefaultType = Self ; } } } } }
[INFO] [stdout]   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  Documenting auto-usb v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/main.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::os::windows::prelude::*;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `auto-usb`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name auto_usb src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=37e760ffa29925b8 -L dependency=/opt/rustwide/target/debug/deps --extern bindings=/opt/rustwide/target/debug/deps/libbindings-10b67aabdd849387.rmeta --extern windows=/opt/rustwide/target/debug/deps/libwindows-efb20ce585198450.rmeta --cap-lints=warn --crate-version 0.3.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "47751d318b516dd400acf9f48557739570ec76cd7e3e58addf362e0b78bcd3ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47751d318b516dd400acf9f48557739570ec76cd7e3e58addf362e0b78bcd3ee", kill_on_drop: false }`
[INFO] [stdout] 47751d318b516dd400acf9f48557739570ec76cd7e3e58addf362e0b78bcd3ee
