]> git.proxmox.com Git - rustc.git/blob - vendor/winapi/src/um/propkeydef.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / vendor / winapi / src / um / propkeydef.rs
1 // Licensed under the Apache License, Version 2.0
2 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4 // All files in the project carrying such notice may not be copied, modified, or distributed
5 // except according to those terms
6 use shared::guiddef::IsEqualIID;
7 use shared::wtypes::{PROPERTYKEY, PROPID};
8 pub const PID_FIRST_USABLE: PROPID = 2;
9 pub type REFPROPERTYKEY = *const PROPERTYKEY;
10 #[inline]
11 pub fn IsEqualPropertyKey(a: &PROPERTYKEY, b: &PROPERTYKEY) -> bool {
12 (a.pid == b.pid) && IsEqualIID(&a.fmtid, &b.fmtid)
13 }