Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update metadata, regen crates #1613

Merged
merged 2 commits into from
Mar 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified crates/libs/metadata/default/Windows.Win32.Interop.winmd
Binary file not shown.
Binary file modified crates/libs/metadata/default/Windows.Win32.winmd
Binary file not shown.
2 changes: 1 addition & 1 deletion crates/libs/metadata/default/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dependent crate or workspace has an empty or non-existent `.windows/winmd` direc

## Windows.Win32.winmd
- Source: https://www.nuget.org/packages/Microsoft.Windows.SDK.Win32Metadata/
- Version: 18.0.1-preview
- Version: 19.0.1-preview

## Windows.winmd
- Source: https://www.nuget.org/packages/Microsoft.Windows.SDK.Contracts
Expand Down
67 changes: 35 additions & 32 deletions crates/libs/sys/src/Windows/Win32/Graphics/Printing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3862,8 +3862,8 @@ impl ::core::clone::Clone for JOB_INFO_1W {
}
}
#[repr(C)]
#[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
pub struct JOB_INFO_2A {
pub JobId: u32,
pub pPrinterName: ::windows_sys::core::PSTR,
Expand All @@ -3877,7 +3877,7 @@ pub struct JOB_INFO_2A {
pub pDriverName: ::windows_sys::core::PSTR,
pub pDevMode: *mut super::Gdi::DEVMODEA,
pub pStatus: ::windows_sys::core::PSTR,
pub pSecurityDescriptor: *mut ::core::ffi::c_void,
pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR,
pub Status: u32,
pub Priority: u32,
pub Position: u32,
Expand All @@ -3889,17 +3889,17 @@ pub struct JOB_INFO_2A {
pub Time: u32,
pub PagesPrinted: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
impl ::core::marker::Copy for JOB_INFO_2A {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
impl ::core::clone::Clone for JOB_INFO_2A {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
pub struct JOB_INFO_2W {
pub JobId: u32,
pub pPrinterName: ::windows_sys::core::PWSTR,
Expand All @@ -3913,7 +3913,7 @@ pub struct JOB_INFO_2W {
pub pDriverName: ::windows_sys::core::PWSTR,
pub pDevMode: *mut super::Gdi::DEVMODEW,
pub pStatus: ::windows_sys::core::PWSTR,
pub pSecurityDescriptor: *mut ::core::ffi::c_void,
pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR,
pub Status: u32,
pub Priority: u32,
pub Position: u32,
Expand All @@ -3925,9 +3925,9 @@ pub struct JOB_INFO_2W {
pub Time: u32,
pub PagesPrinted: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
impl ::core::marker::Copy for JOB_INFO_2W {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
impl ::core::clone::Clone for JOB_INFO_2W {
fn clone(&self) -> Self {
*self
Expand All @@ -3947,8 +3947,8 @@ impl ::core::clone::Clone for JOB_INFO_3 {
}
}
#[repr(C)]
#[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
pub struct JOB_INFO_4A {
pub JobId: u32,
pub pPrinterName: ::windows_sys::core::PSTR,
Expand All @@ -3962,7 +3962,7 @@ pub struct JOB_INFO_4A {
pub pDriverName: ::windows_sys::core::PSTR,
pub pDevMode: *mut super::Gdi::DEVMODEA,
pub pStatus: ::windows_sys::core::PSTR,
pub pSecurityDescriptor: *mut ::core::ffi::c_void,
pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR,
pub Status: u32,
pub Priority: u32,
pub Position: u32,
Expand All @@ -3975,17 +3975,17 @@ pub struct JOB_INFO_4A {
pub PagesPrinted: u32,
pub SizeHigh: i32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
impl ::core::marker::Copy for JOB_INFO_4A {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
impl ::core::clone::Clone for JOB_INFO_4A {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
pub struct JOB_INFO_4W {
pub JobId: u32,
pub pPrinterName: ::windows_sys::core::PWSTR,
Expand All @@ -3999,7 +3999,7 @@ pub struct JOB_INFO_4W {
pub pDriverName: ::windows_sys::core::PWSTR,
pub pDevMode: *mut super::Gdi::DEVMODEW,
pub pStatus: ::windows_sys::core::PWSTR,
pub pSecurityDescriptor: *mut ::core::ffi::c_void,
pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR,
pub Status: u32,
pub Priority: u32,
pub Position: u32,
Expand All @@ -4012,9 +4012,9 @@ pub struct JOB_INFO_4W {
pub PagesPrinted: u32,
pub SizeHigh: i32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
impl ::core::marker::Copy for JOB_INFO_4W {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
impl ::core::clone::Clone for JOB_INFO_4W {
fn clone(&self) -> Self {
*self
Expand Down Expand Up @@ -5633,8 +5633,8 @@ impl ::core::clone::Clone for PRINTER_INFO_1W {
}
}
#[repr(C)]
#[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
pub struct PRINTER_INFO_2A {
pub pServerName: ::windows_sys::core::PSTR,
pub pPrinterName: ::windows_sys::core::PSTR,
Expand All @@ -5648,7 +5648,7 @@ pub struct PRINTER_INFO_2A {
pub pPrintProcessor: ::windows_sys::core::PSTR,
pub pDatatype: ::windows_sys::core::PSTR,
pub pParameters: ::windows_sys::core::PSTR,
pub pSecurityDescriptor: *mut ::core::ffi::c_void,
pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR,
pub Attributes: u32,
pub Priority: u32,
pub DefaultPriority: u32,
Expand All @@ -5658,17 +5658,17 @@ pub struct PRINTER_INFO_2A {
pub cJobs: u32,
pub AveragePPM: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
impl ::core::marker::Copy for PRINTER_INFO_2A {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
impl ::core::clone::Clone for PRINTER_INFO_2A {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
pub struct PRINTER_INFO_2W {
pub pServerName: ::windows_sys::core::PWSTR,
pub pPrinterName: ::windows_sys::core::PWSTR,
Expand All @@ -5682,7 +5682,7 @@ pub struct PRINTER_INFO_2W {
pub pPrintProcessor: ::windows_sys::core::PWSTR,
pub pDatatype: ::windows_sys::core::PWSTR,
pub pParameters: ::windows_sys::core::PWSTR,
pub pSecurityDescriptor: *mut ::core::ffi::c_void,
pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR,
pub Attributes: u32,
pub Priority: u32,
pub DefaultPriority: u32,
Expand All @@ -5692,20 +5692,23 @@ pub struct PRINTER_INFO_2W {
pub cJobs: u32,
pub AveragePPM: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
impl ::core::marker::Copy for PRINTER_INFO_2W {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))]
impl ::core::clone::Clone for PRINTER_INFO_2W {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"]
#[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Security\"`*"]
#[cfg(feature = "Win32_Security")]
pub struct PRINTER_INFO_3 {
pub pSecurityDescriptor: *mut ::core::ffi::c_void,
pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR,
}
#[cfg(feature = "Win32_Security")]
impl ::core::marker::Copy for PRINTER_INFO_3 {}
#[cfg(feature = "Win32_Security")]
impl ::core::clone::Clone for PRINTER_INFO_3 {
fn clone(&self) -> Self {
*self
Expand Down
Loading