| 1 |
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 2 |
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn NtNotifyChangeMultipleKeys(masterkeyhandle : super::super::super::Win32::Foundation:: HANDLE, count : u32, subordinateobjects : *const super::super::Foundation:: OBJECT_ATTRIBUTES, 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, completionfilter : u32, watchtree : super::super::super::Win32::Foundation:: BOOLEAN, buffer : *mut ::core::ffi::c_void, buffersize : u32, asynchronous : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); |
| 3 |
#[cfg(feature = "Win32_Foundation")] |
| 4 |
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtQueryMultipleValueKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, valueentries : *mut KEY_VALUE_ENTRY, entrycount : u32, valuebuffer : *mut ::core::ffi::c_void, bufferlength : *mut u32, requiredbufferlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); |
| 5 |
#[cfg(feature = "Win32_Foundation")] |
| 6 |
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtRenameKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, newname : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); |
| 7 |
#[cfg(feature = "Win32_Foundation")] |
| 8 |
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtSetInformationKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, keysetinformationclass : KEY_SET_INFORMATION_CLASS, keysetinformation : *const ::core::ffi::c_void, keysetinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); |
| 9 |
#[cfg(feature = "Win32_Foundation")] |
| 10 |
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ZwSetInformationKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, keysetinformationclass : KEY_SET_INFORMATION_CLASS, keysetinformation : *const ::core::ffi::c_void, keysetinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); |
| 11 |
pub const KeyControlFlagsInformation: KEY_SET_INFORMATION_CLASS = 2i32; |
| 12 |
pub const KeySetDebugInformation: KEY_SET_INFORMATION_CLASS = 4i32; |
| 13 |
pub const KeySetHandleTagsInformation: KEY_SET_INFORMATION_CLASS = 5i32; |
| 14 |
pub const KeySetLayerInformation: KEY_SET_INFORMATION_CLASS = 6i32; |
| 15 |
pub const KeySetVirtualizationInformation: KEY_SET_INFORMATION_CLASS = 3i32; |
| 16 |
pub const KeyWow64FlagsInformation: KEY_SET_INFORMATION_CLASS = 1i32; |
| 17 |
pub const KeyWriteTimeInformation: KEY_SET_INFORMATION_CLASS = 0i32; |
| 18 |
pub const MaxKeySetInfoClass: KEY_SET_INFORMATION_CLASS = 7i32; |
| 19 |
pub type KEY_SET_INFORMATION_CLASS = i32; |
| 20 |
#[repr(C)] |
| 21 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 22 |
#[cfg(feature = "Win32_Foundation")] |
| 23 |
pub struct KEY_VALUE_ENTRY { |
| 24 |
pub ValueName: *mut super::super::super::Win32::Foundation::UNICODE_STRING, |
| 25 |
pub DataLength: u32, |
| 26 |
pub DataOffset: u32, |
| 27 |
pub Type: u32, |
| 28 |
} |
| 29 |
#[cfg(feature = "Win32_Foundation")] |
| 30 |
impl ::core::marker::Copy for KEY_VALUE_ENTRY {} |
| 31 |
#[cfg(feature = "Win32_Foundation")] |
| 32 |
impl ::core::clone::Clone for KEY_VALUE_ENTRY { |
| 33 |
fn clone(&self) -> Self { |
| 34 |
*self |
| 35 |
} |
| 36 |
} |
| 37 |
#[repr(C)] |
| 38 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 39 |
#[cfg(feature = "Win32_Foundation")] |
| 40 |
pub struct REG_QUERY_MULTIPLE_VALUE_KEY_INFORMATION { |
| 41 |
pub Object: *mut ::core::ffi::c_void, |
| 42 |
pub ValueEntries: *mut KEY_VALUE_ENTRY, |
| 43 |
pub EntryCount: u32, |
| 44 |
pub ValueBuffer: *mut ::core::ffi::c_void, |
| 45 |
pub BufferLength: *mut u32, |
| 46 |
pub RequiredBufferLength: *mut u32, |
| 47 |
pub CallContext: *mut ::core::ffi::c_void, |
| 48 |
pub ObjectContext: *mut ::core::ffi::c_void, |
| 49 |
pub Reserved: *mut ::core::ffi::c_void, |
| 50 |
} |
| 51 |
#[cfg(feature = "Win32_Foundation")] |
| 52 |
impl ::core::marker::Copy for REG_QUERY_MULTIPLE_VALUE_KEY_INFORMATION {} |
| 53 |
#[cfg(feature = "Win32_Foundation")] |
| 54 |
impl ::core::clone::Clone for REG_QUERY_MULTIPLE_VALUE_KEY_INFORMATION { |
| 55 |
fn clone(&self) -> Self { |
| 56 |
*self |
| 57 |
} |
| 58 |
} |
| 59 |
#[repr(C)] |
| 60 |
pub struct REG_SET_INFORMATION_KEY_INFORMATION { |
| 61 |
pub Object: *mut ::core::ffi::c_void, |
| 62 |
pub KeySetInformationClass: KEY_SET_INFORMATION_CLASS, |
| 63 |
pub KeySetInformation: *mut ::core::ffi::c_void, |
| 64 |
pub KeySetInformationLength: u32, |
| 65 |
pub CallContext: *mut ::core::ffi::c_void, |
| 66 |
pub ObjectContext: *mut ::core::ffi::c_void, |
| 67 |
pub Reserved: *mut ::core::ffi::c_void, |
| 68 |
} |
| 69 |
impl ::core::marker::Copy for REG_SET_INFORMATION_KEY_INFORMATION {} |
| 70 |
impl ::core::clone::Clone for REG_SET_INFORMATION_KEY_INFORMATION { |
| 71 |
fn clone(&self) -> Self { |
| 72 |
*self |
| 73 |
} |
| 74 |
} |