Skip to content

Commit

Permalink
Slim doc generation (#2671)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr authored Sep 29, 2023
1 parent 126755f commit 5b092bc
Show file tree
Hide file tree
Showing 1,182 changed files with 87,123 additions and 415,719 deletions.
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

0 comments on commit 5b092bc

Please sign in to comment.