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

Slim doc generation #2671

Merged
merged 4 commits into from
Sep 29, 2023
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 5 additions & 3 deletions crates/libs/bindgen/src/rust/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,12 @@ fn namespace(writer: &Writer, tree: &Tree) -> String {

for (name, tree) in &tree.nested {
let name = to_ident(name);
let namespace_feature = tree.namespace[tree.namespace.find('.').unwrap() + 1..].replace('.', "_");
let feature = tree.namespace[tree.namespace.find('.').unwrap() + 1..].replace('.', "_");
let doc = format!("Required features: `{feature}`");
if writer.package {
tokens.combine(&quote! {
#[cfg(feature = #namespace_feature)]
#[cfg(feature = #feature)]
#[doc = #doc]
pub mod #name;
});
} else {
Expand Down Expand Up @@ -234,7 +236,7 @@ fn namespace_impl(writer: &Writer, tree: &Tree) -> String {
writer.namespace = tree.namespace;
let mut types = BTreeMap::<&str, TokenStream>::new();

for item in writer.reader.namespace_items(writer.namespace, writer.filter) {
for item in writer.reader.namespace_items(tree.namespace, writer.filter) {
if let Item::Type(def) = item {
let type_name = writer.reader.type_def_type_name(def);
if CORE_TYPES.iter().any(|(x, _)| x == &type_name) {
Expand Down
23 changes: 13 additions & 10 deletions crates/libs/bindgen/src/rust/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,18 +325,18 @@ impl<'a> Writer<'a> {
if !self.package {
quote! {}
} else {
let mut tokens = format!(r#"`\"{}\"`"#, to_feature(self.namespace));
let features = self.cfg_features_imp(cfg, self.namespace);
let mut tokens = String::new();

for features in features {
write!(tokens, r#", `\"{}\"`"#, to_feature(features)).unwrap();
for features in self.cfg_features_imp(cfg, self.namespace) {
write!(tokens, r#"`{}`, "#, to_feature(features)).unwrap();
}

if cfg.implement {
tokens.push_str(r#", `\"implement\"`"#)
if tokens.is_empty() {
TokenStream::new()
} else {
tokens.truncate(tokens.len() - 2);
format!(r#" #[doc = "Required features: {tokens}"]"#).into()
}

format!(r#" #[doc = "*Required features: {tokens}*"]"#).into()
}
}

Expand All @@ -347,15 +347,18 @@ impl<'a> Writer<'a> {
quote! {}
} else {
let features = self.cfg_features_imp(cfg, self.namespace);

if features.is_empty() {
quote! {}
} else {
let mut tokens = String::new();

for features in features {
write!(tokens, r#"`\"{}\"`, "#, to_feature(features)).unwrap();
write!(tokens, r#"`{}`, "#, to_feature(features)).unwrap();
}

tokens.truncate(tokens.len() - 2);
format!(r#"#[doc = "*Required features: {tokens}*"]"#).into()
format!(r#"#[doc = "Required features: {tokens}"]"#).into()
}
}
}
Expand Down
349 changes: 139 additions & 210 deletions crates/libs/sys/src/Windows/Wdk/Foundation/mod.rs

Large diffs are not rendered by default.

4,040 changes: 692 additions & 3,348 deletions crates/libs/sys/src/Windows/Wdk/Graphics/Direct3D/mod.rs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions crates/libs/sys/src/Windows/Wdk/Graphics/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#[cfg(feature = "Wdk_Graphics_Direct3D")]
#[doc = "Required features: `Wdk_Graphics_Direct3D`"]
pub mod Direct3D;
840 changes: 365 additions & 475 deletions crates/libs/sys/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs

Large diffs are not rendered by default.

2,557 changes: 769 additions & 1,788 deletions crates/libs/sys/src/Windows/Wdk/Storage/FileSystem/mod.rs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions crates/libs/sys/src/Windows/Wdk/Storage/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#[cfg(feature = "Wdk_Storage_FileSystem")]
#[doc = "Required features: `Wdk_Storage_FileSystem`"]
pub mod FileSystem;
2 changes: 1 addition & 1 deletion crates/libs/sys/src/Windows/Wdk/System/IO/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
::windows_targets::link!("ntdll.dll" "system" #[doc = "*Required features: `\"Wdk_System_IO\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] fn NtDeviceIoControlFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, iocontrolcode : u32, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `Win32_Foundation`, `Win32_System_IO`"] fn NtDeviceIoControlFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, iocontrolcode : u32, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
48 changes: 24 additions & 24 deletions crates/libs/sys/src/Windows/Wdk/System/OfflineRegistry/mod.rs
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORCloseHive(handle : ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORCloseHive(handle : ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORCloseKey(keyhandle : ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORCloseKey(keyhandle : ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORCreateHive(horkey : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORCreateHive(horkey : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn ORCreateKey(keyhandle : ORHKEY, lpsubkey : ::windows_sys::core::PCWSTR, lpclass : ::windows_sys::core::PCWSTR, dwoptions : u32, psecuritydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, phkresult : *mut ORHKEY, pdwdisposition : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`, `Win32_Security`"] fn ORCreateKey(keyhandle : ORHKEY, lpsubkey : ::windows_sys::core::PCWSTR, lpclass : ::windows_sys::core::PCWSTR, dwoptions : u32, psecuritydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, phkresult : *mut ORHKEY, pdwdisposition : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORDeleteKey(handle : ORHKEY, lpsubkey : ::windows_sys::core::PCWSTR) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORDeleteKey(handle : ORHKEY, lpsubkey : ::windows_sys::core::PCWSTR) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORDeleteValue(handle : ORHKEY, lpvaluename : ::windows_sys::core::PCWSTR) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORDeleteValue(handle : ORHKEY, lpvaluename : ::windows_sys::core::PCWSTR) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn OREnumKey(handle : ORHKEY, dwindex : u32, lpname : ::windows_sys::core::PWSTR, lpcname : *mut u32, lpclass : ::windows_sys::core::PWSTR, lpcclass : *mut u32, lpftlastwritetime : *mut super::super::super::Win32::Foundation:: FILETIME) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn OREnumKey(handle : ORHKEY, dwindex : u32, lpname : ::windows_sys::core::PWSTR, lpcname : *mut u32, lpclass : ::windows_sys::core::PWSTR, lpcclass : *mut u32, lpftlastwritetime : *mut super::super::super::Win32::Foundation:: FILETIME) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn OREnumValue(handle : ORHKEY, dwindex : u32, lpvaluename : ::windows_sys::core::PWSTR, lpcvaluename : *mut u32, lptype : *mut u32, lpdata : *mut u8, lpcbdata : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn OREnumValue(handle : ORHKEY, dwindex : u32, lpvaluename : ::windows_sys::core::PWSTR, lpcvaluename : *mut u32, lptype : *mut u32, lpdata : *mut u8, lpcbdata : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn ORGetKeySecurity(handle : ORHKEY, securityinformation : u32, psecuritydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`, `Win32_Security`"] fn ORGetKeySecurity(handle : ORHKEY, securityinformation : u32, psecuritydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORGetValue(handle : ORHKEY, lpsubkey : ::windows_sys::core::PCWSTR, lpvalue : ::windows_sys::core::PCWSTR, pdwtype : *mut u32, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORGetValue(handle : ORHKEY, lpsubkey : ::windows_sys::core::PCWSTR, lpvalue : ::windows_sys::core::PCWSTR, pdwtype : *mut u32, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORGetVersion(pdwmajorversion : *mut u32, pdwminorversion : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORGetVersion(pdwmajorversion : *mut u32, pdwminorversion : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORGetVirtualFlags(handle : ORHKEY, pdwflags : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORGetVirtualFlags(handle : ORHKEY, pdwflags : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORMergeHives(hivehandles : *const ORHKEY, hivecount : u32, phkresult : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORMergeHives(hivehandles : *const ORHKEY, hivecount : u32, phkresult : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn OROpenHive(filepath : ::windows_sys::core::PCWSTR, horkey : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn OROpenHive(filepath : ::windows_sys::core::PCWSTR, horkey : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn OROpenHiveByHandle(filehandle : super::super::super::Win32::Foundation:: HANDLE, horkey : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn OROpenHiveByHandle(filehandle : super::super::super::Win32::Foundation:: HANDLE, horkey : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn OROpenKey(handle : ORHKEY, lpsubkey : ::windows_sys::core::PCWSTR, phkresult : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn OROpenKey(handle : ORHKEY, lpsubkey : ::windows_sys::core::PCWSTR, phkresult : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORQueryInfoKey(handle : ORHKEY, lpclass : ::windows_sys::core::PWSTR, lpcclass : *mut u32, lpcsubkeys : *mut u32, lpcmaxsubkeylen : *mut u32, lpcmaxclasslen : *mut u32, lpcvalues : *mut u32, lpcmaxvaluenamelen : *mut u32, lpcmaxvaluelen : *mut u32, lpcbsecuritydescriptor : *mut u32, lpftlastwritetime : *mut super::super::super::Win32::Foundation:: FILETIME) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORQueryInfoKey(handle : ORHKEY, lpclass : ::windows_sys::core::PWSTR, lpcclass : *mut u32, lpcsubkeys : *mut u32, lpcmaxsubkeylen : *mut u32, lpcmaxclasslen : *mut u32, lpcvalues : *mut u32, lpcmaxvaluenamelen : *mut u32, lpcmaxvaluelen : *mut u32, lpcbsecuritydescriptor : *mut u32, lpftlastwritetime : *mut super::super::super::Win32::Foundation:: FILETIME) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORRenameKey(handle : ORHKEY, lpnewname : ::windows_sys::core::PCWSTR) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORRenameKey(handle : ORHKEY, lpnewname : ::windows_sys::core::PCWSTR) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORSaveHive(horkey : ORHKEY, hivepath : ::windows_sys::core::PCWSTR, osmajorversion : u32, osminorversion : u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORSaveHive(horkey : ORHKEY, hivepath : ::windows_sys::core::PCWSTR, osmajorversion : u32, osminorversion : u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn ORSetKeySecurity(handle : ORHKEY, securityinformation : u32, psecuritydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`, `Win32_Security`"] fn ORSetKeySecurity(handle : ORHKEY, securityinformation : u32, psecuritydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORSetValue(handle : ORHKEY, lpvaluename : ::windows_sys::core::PCWSTR, dwtype : u32, lpdata : *const u8, cbdata : u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORSetValue(handle : ORHKEY, lpvaluename : ::windows_sys::core::PCWSTR, dwtype : u32, lpdata : *const u8, cbdata : u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORSetVirtualFlags(handle : ORHKEY, dwflags : u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORSetVirtualFlags(handle : ORHKEY, dwflags : u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORShutdown() -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORShutdown() -> super::super::super::Win32::Foundation:: WIN32_ERROR);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("offreg.dll" "system" #[doc = "*Required features: `\"Wdk_System_OfflineRegistry\"`, `\"Win32_Foundation\"`*"] fn ORStart() -> super::super::super::Win32::Foundation:: WIN32_ERROR);
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `Win32_Foundation`"] fn ORStart() -> super::super::super::Win32::Foundation:: WIN32_ERROR);
pub type ORHKEY = isize;
Loading