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 win32 metadata #1387

Merged
merged 1 commit into from
Dec 17, 2021
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/reader/default/Windows.Win32.Interop.winmd
Binary file not shown.
Binary file modified crates/libs/reader/default/Windows.Win32.winmd
Binary file not shown.
2 changes: 1 addition & 1 deletion crates/libs/reader/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: 15.0.2-preview
- Version: 15.0.22-preview

## Windows.winmd
- Source: https://www.nuget.org/packages/Microsoft.Windows.SDK.Contracts
Expand Down
5 changes: 0 additions & 5 deletions crates/libs/reader/src/type_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ impl TypeReader {
continue;
}

// TODO: workaround for https://github.com/microsoft/win32metadata/issues/725
if type_name == TypeName::new("Windows.Win32.System.Diagnostics.Debug", "DISPATCHER_CONTEXT_ARM64") {
continue;
}

let extends = def.extends();

if extends == TypeName::Attribute {
Expand Down
51 changes: 50 additions & 1 deletion crates/libs/sys/src/Windows/Win32/Foundation/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,8 @@ pub const CONTEXT_S_FIRST: i32 = 319488i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const CONTEXT_S_LAST: i32 = 319535i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const CONTROL_C_EXIT: NTSTATUS = -1073741510i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const CONVERT10_E_FIRST: i32 = -2147221056i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const CONVERT10_E_LAST: i32 = -2147221041i32;
Expand Down Expand Up @@ -2406,6 +2408,52 @@ pub const EVENT_S_NOSUBSCRIBERS: ::windows_sys::core::HRESULT = 262658i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EVENT_S_SOME_SUBSCRIBERS_FAILED: ::windows_sys::core::HRESULT = 262656i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_ACCESS_VIOLATION: NTSTATUS = -1073741819i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_ARRAY_BOUNDS_EXCEEDED: NTSTATUS = -1073741684i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_BREAKPOINT: NTSTATUS = -2147483645i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_DATATYPE_MISALIGNMENT: NTSTATUS = -2147483646i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_FLT_DENORMAL_OPERAND: NTSTATUS = -1073741683i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_FLT_DIVIDE_BY_ZERO: NTSTATUS = -1073741682i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_FLT_INEXACT_RESULT: NTSTATUS = -1073741681i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_FLT_INVALID_OPERATION: NTSTATUS = -1073741680i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_FLT_OVERFLOW: NTSTATUS = -1073741679i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_FLT_STACK_CHECK: NTSTATUS = -1073741678i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_FLT_UNDERFLOW: NTSTATUS = -1073741677i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_GUARD_PAGE: NTSTATUS = -2147483647i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_ILLEGAL_INSTRUCTION: NTSTATUS = -1073741795i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_INT_DIVIDE_BY_ZERO: NTSTATUS = -1073741676i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_INT_OVERFLOW: NTSTATUS = -1073741675i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_INVALID_DISPOSITION: NTSTATUS = -1073741786i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_INVALID_HANDLE: NTSTATUS = -1073741816i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_IN_PAGE_ERROR: NTSTATUS = -1073741818i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_NONCONTINUABLE_EXCEPTION: NTSTATUS = -1073741787i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_POSSIBLE_DEADLOCK: NTSTATUS = -1073741420i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_PRIV_INSTRUCTION: NTSTATUS = -1073741674i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_SINGLE_STEP: NTSTATUS = -2147483644i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const EXCEPTION_STACK_OVERFLOW: NTSTATUS = -1073741571i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const E_ABORT: ::windows_sys::core::HRESULT = -2147467260i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const E_ACCESSDENIED: ::windows_sys::core::HRESULT = -2147024891i32;
Expand Down Expand Up @@ -3740,7 +3788,6 @@ pub const LANGUAGE_E_DATABASE_NOT_FOUND: ::windows_sys::core::HRESULT = -2147215
pub const LANGUAGE_S_LARGE_WORD: ::windows_sys::core::HRESULT = 268161i32;
pub type LPARAM = isize;
pub type LRESULT = isize;
pub type LSTATUS = i32;
#[repr(C)]
#[doc = "*Required features: 'Win32_Foundation'*"]
pub struct LUID {
Expand Down Expand Up @@ -11633,6 +11680,8 @@ pub const STG_S_POWER_CYCLE_REQUIRED: ::windows_sys::core::HRESULT = 197127i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const STG_S_RETRYNOW: ::windows_sys::core::HRESULT = 197122i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const STILL_ACTIVE: NTSTATUS = 259i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const STORE_ERROR_LICENSE_REVOKED: i32 = 15864i32;
#[doc = "*Required features: 'Win32_Foundation'*"]
pub const STORE_ERROR_PENDING_COM_TRANSACTION: i32 = 15863i32;
Expand Down
84 changes: 84 additions & 0 deletions crates/libs/sys/src/Windows/Win32/Globalization/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5834,6 +5834,38 @@ pub const UCNV_SI: u32 = 15u32;
pub const UCNV_SO: u32 = 14u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_ENABLE_PLUGINS: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_FORMAT_FASTPATHS_49: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_HAVE_PARSEALLINPUT: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_NO_BREAK_ITERATION: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_NO_COLLATION: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_NO_CONVERSION: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_NO_FILE_IO: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_NO_FILTERED_BREAK_ITERATION: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_NO_FORMATTING: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_NO_IDNA: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_NO_LEGACY_CONVERSION: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_NO_NORMALIZATION: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_NO_REGULAR_EXPRESSIONS: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_NO_SERVICE: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_NO_TRANSLITERATION: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_ONLY_COLLATION: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const UCONFIG_ONLY_HTML_CONVERSION: u32 = 0u32;
#[repr(C)]
pub struct UCPMap(pub u8);
#[doc = "*Required features: 'Win32_Globalization'*"]
Expand Down Expand Up @@ -9872,6 +9904,12 @@ pub const U_WB_WSEGSPACE: UWordBreakValues = 22i32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_ASCII_FAMILY: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_CHAR16_IS_TYPEDEF: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_CHARSET_FAMILY: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_CHARSET_IS_UTF8: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_CHECK_DYLOAD: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_COMBINED_IMPLEMENTATION: u32 = 1u32;
Expand All @@ -9882,6 +9920,10 @@ pub const U_COMPARE_IGNORE_CASE: u32 = 65536u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_COPYRIGHT_STRING_LENGTH: u32 = 128u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_CPLUSPLUS_VERSION: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_DEBUG: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_DEFAULT_SHOW_DRAFT: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_DEFINE_FALSE_AND_TRUE: u32 = 1u32;
Expand All @@ -9900,10 +9942,30 @@ pub const U_FOLD_CASE_DEFAULT: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_FOLD_CASE_EXCLUDE_SPECIAL_I: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_GCC_MAJOR_MINOR: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HAVE_CHAR16_T: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HAVE_DEBUG_LOCATION_NEW: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HAVE_INTTYPES_H: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HAVE_LIB_SUFFIX: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HAVE_PLACEMENT_NEW: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HAVE_RBNF: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HAVE_RVALUE_REFERENCES: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HAVE_STDINT_H: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HAVE_STD_STRING: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HAVE_WCHAR_H: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HAVE_WCSCPY: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HIDE_DEPRECATED_API: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HIDE_DRAFT_API: u32 = 1u32;
Expand All @@ -9912,8 +9974,12 @@ pub const U_HIDE_INTERNAL_API: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HIDE_OBSOLETE_API: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_HIDE_OBSOLETE_UTF_OLD_H: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_IOSTREAM_SOURCE: u32 = 199711u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_IS_BIG_ENDIAN: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_MAX_VERSION_LENGTH: u32 = 4u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_MAX_VERSION_STRING_LENGTH: u32 = 20u32;
Expand Down Expand Up @@ -9972,6 +10038,20 @@ pub const U_PF_UNKNOWN: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_PF_WINDOWS: u32 = 1000u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_PLATFORM: u32 = 1800u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_PLATFORM_HAS_WIN32_API: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_PLATFORM_HAS_WINUWP_API: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_PLATFORM_IMPLEMENTS_POSIX: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_PLATFORM_IS_DARWIN_BASED: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_PLATFORM_IS_LINUX_BASED: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_PLATFORM_USES_ONLY_WIN32_API: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_SENTINEL: i32 = -1i32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_SHAPE_AGGREGATE_TASHKEEL: u32 = 16384u32;
Expand Down Expand Up @@ -10078,6 +10158,8 @@ pub const U_SHOW_CPLUSPLUS_API: u32 = 0u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_SIZEOF_UCHAR: u32 = 2u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_SIZEOF_WCHAR_T: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_TITLECASE_ADJUST_TO_CASED: u32 = 1024u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_TITLECASE_NO_BREAK_ADJUSTMENT: u32 = 512u32;
Expand All @@ -10088,6 +10170,8 @@ pub const U_TITLECASE_SENTENCES: u32 = 64u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_TITLECASE_WHOLE_STRING: u32 = 32u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const U_USING_ICU_NAMESPACE: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const VS_ALLOW_LATIN: u32 = 1u32;
#[doc = "*Required features: 'Win32_Globalization'*"]
pub const WC_COMPOSITECHECK: u32 = 512u32;
Expand Down
4 changes: 2 additions & 2 deletions crates/libs/sys/src/Windows/Win32/Graphics/Gdi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5804,7 +5804,7 @@ impl ::core::clone::Clone for MONITORINFO {
#[doc = "*Required features: 'Win32_Graphics_Gdi', 'Win32_Foundation'*"]
#[cfg(feature = "Win32_Foundation")]
pub struct MONITORINFOEXA {
pub __AnonymousBase_winuser_L13567_C43: MONITORINFO,
pub monitorInfo: MONITORINFO,
pub szDevice: [super::super::Foundation::CHAR; 32],
}
#[cfg(feature = "Win32_Foundation")]
Expand All @@ -5819,7 +5819,7 @@ impl ::core::clone::Clone for MONITORINFOEXA {
#[doc = "*Required features: 'Win32_Graphics_Gdi', 'Win32_Foundation'*"]
#[cfg(feature = "Win32_Foundation")]
pub struct MONITORINFOEXW {
pub __AnonymousBase_winuser_L13571_C43: MONITORINFO,
pub monitorInfo: MONITORINFO,
pub szDevice: [u16; 32],
}
#[cfg(feature = "Win32_Foundation")]
Expand Down
58 changes: 47 additions & 11 deletions crates/libs/sys/src/Windows/Win32/Graphics/Printing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6207,11 +6207,51 @@ pub const PPCAPS_RIGHT_THEN_DOWN: u32 = 1u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PPCAPS_SQUARE_SCALING: u32 = 1u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_ACCESS_ADMINISTER: u32 = 4u32;
pub type PRINTER_ACCESS_RIGHTS = u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_ACCESS_MANAGE_LIMITED: u32 = 64u32;
pub const PRINTER_ALL_ACCESS: PRINTER_ACCESS_RIGHTS = 983052u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_ACCESS_USE: u32 = 8u32;
pub const PRINTER_READ: PRINTER_ACCESS_RIGHTS = 131080u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_WRITE: PRINTER_ACCESS_RIGHTS = 131080u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_EXECUTE: PRINTER_ACCESS_RIGHTS = 131080u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const SERVER_ALL_ACCESS: PRINTER_ACCESS_RIGHTS = 983043u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const SERVER_READ: PRINTER_ACCESS_RIGHTS = 131074u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const SERVER_WRITE: PRINTER_ACCESS_RIGHTS = 131075u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const SERVER_EXECUTE: PRINTER_ACCESS_RIGHTS = 131074u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_DELETE: PRINTER_ACCESS_RIGHTS = 65536u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_READ_CONTROL: PRINTER_ACCESS_RIGHTS = 131072u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_WRITE_DAC: PRINTER_ACCESS_RIGHTS = 262144u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_WRITE_OWNER: PRINTER_ACCESS_RIGHTS = 524288u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_SYNCHRONIZE: PRINTER_ACCESS_RIGHTS = 1048576u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_STANDARD_RIGHTS_REQUIRED: PRINTER_ACCESS_RIGHTS = 983040u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_STANDARD_RIGHTS_READ: PRINTER_ACCESS_RIGHTS = 131072u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_STANDARD_RIGHTS_WRITE: PRINTER_ACCESS_RIGHTS = 131072u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_STANDARD_RIGHTS_EXECUTE: PRINTER_ACCESS_RIGHTS = 131072u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const SERVER_ACCESS_ADMINISTER: PRINTER_ACCESS_RIGHTS = 1u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const SERVER_ACCESS_ENUMERATE: PRINTER_ACCESS_RIGHTS = 2u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_ACCESS_ADMINISTER: PRINTER_ACCESS_RIGHTS = 4u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_ACCESS_USE: PRINTER_ACCESS_RIGHTS = 8u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_ACCESS_MANAGE_LIMITED: PRINTER_ACCESS_RIGHTS = 64u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const PRINTER_ATTRIBUTE_DEFAULT: u32 = 4u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
Expand Down Expand Up @@ -6362,7 +6402,7 @@ pub const PRINTER_CONTROL_SET_STATUS: u32 = 4u32;
pub struct PRINTER_DEFAULTSA {
pub pDatatype: super::super::Foundation::PSTR,
pub pDevMode: *mut super::Gdi::DEVMODEA,
pub DesiredAccess: u32,
pub DesiredAccess: PRINTER_ACCESS_RIGHTS,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::marker::Copy for PRINTER_DEFAULTSA {}
Expand All @@ -6378,7 +6418,7 @@ impl ::core::clone::Clone for PRINTER_DEFAULTSA {
pub struct PRINTER_DEFAULTSW {
pub pDatatype: super::super::Foundation::PWSTR,
pub pDevMode: *mut super::Gdi::DEVMODEW,
pub DesiredAccess: u32,
pub DesiredAccess: PRINTER_ACCESS_RIGHTS,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::marker::Copy for PRINTER_DEFAULTSW {}
Expand Down Expand Up @@ -7007,7 +7047,7 @@ pub const PRINTER_OEMINTF_VERSION: u32 = 65536u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub struct PRINTER_OPTIONSA {
pub cbSize: u32,
pub dwFlags: u32,
pub dwFlags: PRINTER_OPTION_FLAGS,
}
impl ::core::marker::Copy for PRINTER_OPTIONSA {}
impl ::core::clone::Clone for PRINTER_OPTIONSA {
Expand All @@ -7019,7 +7059,7 @@ impl ::core::clone::Clone for PRINTER_OPTIONSA {
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub struct PRINTER_OPTIONSW {
pub cbSize: u32,
pub dwFlags: u32,
pub dwFlags: PRINTER_OPTION_FLAGS,
}
impl ::core::marker::Copy for PRINTER_OPTIONSW {}
impl ::core::clone::Clone for PRINTER_OPTIONSW {
Expand Down Expand Up @@ -7862,10 +7902,6 @@ pub const ROUTER_SUCCESS: u32 = 1u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const ROUTER_UNKNOWN: u32 = 0u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const SERVER_ACCESS_ADMINISTER: u32 = 1u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const SERVER_ACCESS_ENUMERATE: u32 = 2u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const SERVER_NOTIFY_FIELD_PRINT_DRIVER_ISOLATION_GROUP: u32 = 0u32;
#[doc = "*Required features: 'Win32_Graphics_Printing'*"]
pub const SERVER_NOTIFY_TYPE: u32 = 2u32;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2598,7 +2598,7 @@ impl ::core::clone::Clone for MDNS_QUERY_REQUEST {
pub type PDNS_QUERY_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(pquerycontext: *const ::core::ffi::c_void, pqueryresults: *mut DNS_QUERY_RESULT)>;
#[doc = "*Required features: 'Win32_NetworkManagement_Dns', 'Win32_Foundation'*"]
#[cfg(feature = "Win32_Foundation")]
pub type PDNS_SERVICE_BROWSE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(status: u32, pquerycontext: *const ::core::ffi::c_void, pdnsrecord: *const DNS_RECORDA)>;
pub type PDNS_SERVICE_BROWSE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(status: u32, pquerycontext: *const ::core::ffi::c_void, pdnsrecord: DNS_RECORDW)>;
#[doc = "*Required features: 'Win32_NetworkManagement_Dns', 'Win32_Foundation'*"]
#[cfg(feature = "Win32_Foundation")]
pub type PDNS_SERVICE_REGISTER_COMPLETE = ::core::option::Option<unsafe extern "system" fn(status: u32, pquerycontext: *const ::core::ffi::c_void, pinstance: *const DNS_SERVICE_INSTANCE)>;
Expand Down
Loading