diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
commit | 5363f350887b1e5b5dd21a86f88c8af9d7fea6da (patch) | |
tree | 35ca005eb6e0e9a1ba3bb5dbc033209ad445dc17 /vendor/windows-sys/src/Windows/Win32/System/ApplicationVerifier | |
parent | Adding debian version 1.66.0+dfsg1-1. (diff) | |
download | rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.tar.xz rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.zip |
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/ApplicationVerifier')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/System/ApplicationVerifier/mod.rs | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/System/ApplicationVerifier/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/ApplicationVerifier/mod.rs index 706ae84fd..2f88bfbd2 100644 --- a/vendor/windows-sys/src/Windows/Win32/System/ApplicationVerifier/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/System/ApplicationVerifier/mod.rs @@ -1,9 +1,57 @@ -#[link(name = "windows")] +#[cfg_attr(windows, link(name = "windows"))] extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VerifierEnumerateResource(process: super::super::Foundation::HANDLE, flags: VERIFIER_ENUM_RESOURCE_FLAGS, resourcetype: eAvrfResourceTypes, resourcecallback: AVRF_RESOURCE_ENUMERATE_CALLBACK, enumerationcontext: *mut ::core::ffi::c_void) -> u32; } +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const AVRF_MAX_TRACES: u32 = 32u32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub type VERIFIER_ENUM_RESOURCE_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const AVRF_ENUM_RESOURCES_FLAGS_DONT_RESOLVE_TRACES: VERIFIER_ENUM_RESOURCE_FLAGS = 2u32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const AVRF_ENUM_RESOURCES_FLAGS_SUSPEND: VERIFIER_ENUM_RESOURCE_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub type eAvrfResourceTypes = i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const AvrfResourceHeapAllocation: eAvrfResourceTypes = 0i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const AvrfResourceHandleTrace: eAvrfResourceTypes = 1i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const AvrfResourceMax: eAvrfResourceTypes = 2i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub type eHANDLE_TRACE_OPERATIONS = i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const OperationDbUnused: eHANDLE_TRACE_OPERATIONS = 0i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const OperationDbOPEN: eHANDLE_TRACE_OPERATIONS = 1i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const OperationDbCLOSE: eHANDLE_TRACE_OPERATIONS = 2i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const OperationDbBADREF: eHANDLE_TRACE_OPERATIONS = 3i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub type eHeapAllocationState = i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const HeapFullPageHeap: eHeapAllocationState = 1073741824i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const HeapMetadata: eHeapAllocationState = -2147483648i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const HeapStateMask: eHeapAllocationState = -65536i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub type eHeapEnumerationLevel = i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const HeapEnumerationEverything: eHeapEnumerationLevel = 0i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const HeapEnumerationStop: eHeapEnumerationLevel = -1i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub type eUserAllocationState = i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const AllocationStateUnknown: eUserAllocationState = 0i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const AllocationStateBusy: eUserAllocationState = 1i32; +#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] +pub const AllocationStateFree: eUserAllocationState = 2i32; #[repr(C)] #[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] pub struct AVRF_BACKTRACE_INFORMATION { @@ -17,8 +65,6 @@ impl ::core::clone::Clone for AVRF_BACKTRACE_INFORMATION { *self } } -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub type AVRF_HANDLEOPERATION_ENUMERATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(handleoperation: *mut AVRF_HANDLE_OPERATION, enumerationcontext: *mut ::core::ffi::c_void, enumerationlevel: *mut u32) -> u32>; #[repr(C)] #[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] pub struct AVRF_HANDLE_OPERATION { @@ -35,8 +81,6 @@ impl ::core::clone::Clone for AVRF_HANDLE_OPERATION { *self } } -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub type AVRF_HEAPALLOCATION_ENUMERATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(heapallocation: *mut AVRF_HEAP_ALLOCATION, enumerationcontext: *mut ::core::ffi::c_void, enumerationlevel: *mut u32) -> u32>; #[repr(C)] #[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] pub struct AVRF_HEAP_ALLOCATION { @@ -57,52 +101,8 @@ impl ::core::clone::Clone for AVRF_HEAP_ALLOCATION { } } #[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const AVRF_MAX_TRACES: u32 = 32u32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub type AVRF_RESOURCE_ENUMERATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(resourcedescription: *mut ::core::ffi::c_void, enumerationcontext: *mut ::core::ffi::c_void, enumerationlevel: *mut u32) -> u32>; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub type VERIFIER_ENUM_RESOURCE_FLAGS = u32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const AVRF_ENUM_RESOURCES_FLAGS_DONT_RESOLVE_TRACES: VERIFIER_ENUM_RESOURCE_FLAGS = 2u32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const AVRF_ENUM_RESOURCES_FLAGS_SUSPEND: VERIFIER_ENUM_RESOURCE_FLAGS = 1u32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub type eAvrfResourceTypes = i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const AvrfResourceHeapAllocation: eAvrfResourceTypes = 0i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const AvrfResourceHandleTrace: eAvrfResourceTypes = 1i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const AvrfResourceMax: eAvrfResourceTypes = 2i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub type eHANDLE_TRACE_OPERATIONS = i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const OperationDbUnused: eHANDLE_TRACE_OPERATIONS = 0i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const OperationDbOPEN: eHANDLE_TRACE_OPERATIONS = 1i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const OperationDbCLOSE: eHANDLE_TRACE_OPERATIONS = 2i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const OperationDbBADREF: eHANDLE_TRACE_OPERATIONS = 3i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub type eHeapAllocationState = i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const HeapFullPageHeap: eHeapAllocationState = 1073741824i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const HeapMetadata: eHeapAllocationState = -2147483648i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const HeapStateMask: eHeapAllocationState = -65536i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub type eHeapEnumerationLevel = i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const HeapEnumerationEverything: eHeapEnumerationLevel = 0i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const HeapEnumerationStop: eHeapEnumerationLevel = -1i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub type eUserAllocationState = i32; -#[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const AllocationStateUnknown: eUserAllocationState = 0i32; +pub type AVRF_HANDLEOPERATION_ENUMERATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(handleoperation: *mut AVRF_HANDLE_OPERATION, enumerationcontext: *mut ::core::ffi::c_void, enumerationlevel: *mut u32) -> u32>; #[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const AllocationStateBusy: eUserAllocationState = 1i32; +pub type AVRF_HEAPALLOCATION_ENUMERATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(heapallocation: *mut AVRF_HEAP_ALLOCATION, enumerationcontext: *mut ::core::ffi::c_void, enumerationlevel: *mut u32) -> u32>; #[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] -pub const AllocationStateFree: eUserAllocationState = 2i32; +pub type AVRF_RESOURCE_ENUMERATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(resourcedescription: *mut ::core::ffi::c_void, enumerationcontext: *mut ::core::ffi::c_void, enumerationlevel: *mut u32) -> u32>; |