| #[inline] |
| pub unsafe fn CMP_WaitNoPendingInstallEvents(dwtimeout: u32) -> u32 { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CMP_WaitNoPendingInstallEvents(dwtimeout : u32) -> u32); |
| CMP_WaitNoPendingInstallEvents(dwtimeout) |
| } |
| #[doc = "Required features: `\"Win32_Data_HtmlHelp\"`"] |
| #[cfg(feature = "Win32_Data_HtmlHelp")] |
| #[inline] |
| pub unsafe fn CM_Add_Empty_Log_Conf(plclogconf: *mut usize, dndevinst: u32, priority: super::super::Data::HtmlHelp::PRIORITY, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Add_Empty_Log_Conf(plclogconf : *mut usize, dndevinst : u32, priority : super::super::Data::HtmlHelp:: PRIORITY, ulflags : u32) -> CONFIGRET); |
| CM_Add_Empty_Log_Conf(plclogconf, dndevinst, priority, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_Data_HtmlHelp\"`"] |
| #[cfg(feature = "Win32_Data_HtmlHelp")] |
| #[inline] |
| pub unsafe fn CM_Add_Empty_Log_Conf_Ex(plclogconf: *mut usize, dndevinst: u32, priority: super::super::Data::HtmlHelp::PRIORITY, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Add_Empty_Log_Conf_Ex(plclogconf : *mut usize, dndevinst : u32, priority : super::super::Data::HtmlHelp:: PRIORITY, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Add_Empty_Log_Conf_Ex(plclogconf, dndevinst, priority, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Add_IDA<P0>(dndevinst: u32, pszid: P0, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Add_IDA(dndevinst : u32, pszid : ::windows_core::PCSTR, ulflags : u32) -> CONFIGRET); |
| CM_Add_IDA(dndevinst, pszid.into_param().abi(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Add_IDW<P0>(dndevinst: u32, pszid: P0, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Add_IDW(dndevinst : u32, pszid : ::windows_core::PCWSTR, ulflags : u32) -> CONFIGRET); |
| CM_Add_IDW(dndevinst, pszid.into_param().abi(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Add_ID_ExA<P0>(dndevinst: u32, pszid: P0, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Add_ID_ExA(dndevinst : u32, pszid : ::windows_core::PCSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Add_ID_ExA(dndevinst, pszid.into_param().abi(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Add_ID_ExW<P0>(dndevinst: u32, pszid: P0, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Add_ID_ExW(dndevinst : u32, pszid : ::windows_core::PCWSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Add_ID_ExW(dndevinst, pszid.into_param().abi(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Add_Range(ullstartvalue: u64, ullendvalue: u64, rlh: usize, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Add_Range(ullstartvalue : u64, ullendvalue : u64, rlh : usize, ulflags : u32) -> CONFIGRET); |
| CM_Add_Range(ullstartvalue, ullendvalue, rlh, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Add_Res_Des(prdresdes: ::core::option::Option<*mut usize>, lclogconf: usize, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Add_Res_Des(prdresdes : *mut usize, lclogconf : usize, resourceid : u32, resourcedata : *const ::core::ffi::c_void, resourcelen : u32, ulflags : u32) -> CONFIGRET); |
| CM_Add_Res_Des(::core::mem::transmute(prdresdes.unwrap_or(::std::ptr::null_mut())), lclogconf, resourceid, resourcedata, resourcelen, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Add_Res_Des_Ex(prdresdes: ::core::option::Option<*mut usize>, lclogconf: usize, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Add_Res_Des_Ex(prdresdes : *mut usize, lclogconf : usize, resourceid : u32, resourcedata : *const ::core::ffi::c_void, resourcelen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Add_Res_Des_Ex(::core::mem::transmute(prdresdes.unwrap_or(::std::ptr::null_mut())), lclogconf, resourceid, resourcedata, resourcelen, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Connect_MachineA<P0>(uncservername: P0, phmachine: *mut isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Connect_MachineA(uncservername : ::windows_core::PCSTR, phmachine : *mut isize) -> CONFIGRET); |
| CM_Connect_MachineA(uncservername.into_param().abi(), phmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Connect_MachineW<P0>(uncservername: P0, phmachine: *mut isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Connect_MachineW(uncservername : ::windows_core::PCWSTR, phmachine : *mut isize) -> CONFIGRET); |
| CM_Connect_MachineW(uncservername.into_param().abi(), phmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Create_DevNodeA<P0>(pdndevinst: *mut u32, pdeviceid: P0, dnparent: u32, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Create_DevNodeA(pdndevinst : *mut u32, pdeviceid : ::windows_core::PCSTR, dnparent : u32, ulflags : u32) -> CONFIGRET); |
| CM_Create_DevNodeA(pdndevinst, pdeviceid.into_param().abi(), dnparent, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Create_DevNodeW<P0>(pdndevinst: *mut u32, pdeviceid: P0, dnparent: u32, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Create_DevNodeW(pdndevinst : *mut u32, pdeviceid : ::windows_core::PCWSTR, dnparent : u32, ulflags : u32) -> CONFIGRET); |
| CM_Create_DevNodeW(pdndevinst, pdeviceid.into_param().abi(), dnparent, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Create_DevNode_ExA<P0>(pdndevinst: *mut u32, pdeviceid: P0, dnparent: u32, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Create_DevNode_ExA(pdndevinst : *mut u32, pdeviceid : ::windows_core::PCSTR, dnparent : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Create_DevNode_ExA(pdndevinst, pdeviceid.into_param().abi(), dnparent, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Create_DevNode_ExW<P0>(pdndevinst: *mut u32, pdeviceid: P0, dnparent: u32, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Create_DevNode_ExW(pdndevinst : *mut u32, pdeviceid : ::windows_core::PCWSTR, dnparent : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Create_DevNode_ExW(pdndevinst, pdeviceid.into_param().abi(), dnparent, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Create_Range_List(prlh: *mut usize, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Create_Range_List(prlh : *mut usize, ulflags : u32) -> CONFIGRET); |
| CM_Create_Range_List(prlh, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Delete_Class_Key(classguid: *const ::windows_core::GUID, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Delete_Class_Key(classguid : *const ::windows_core::GUID, ulflags : u32) -> CONFIGRET); |
| CM_Delete_Class_Key(classguid, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Delete_Class_Key_Ex(classguid: *const ::windows_core::GUID, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Delete_Class_Key_Ex(classguid : *const ::windows_core::GUID, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Delete_Class_Key_Ex(classguid, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Delete_DevNode_Key(dndevnode: u32, ulhardwareprofile: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Delete_DevNode_Key(dndevnode : u32, ulhardwareprofile : u32, ulflags : u32) -> CONFIGRET); |
| CM_Delete_DevNode_Key(dndevnode, ulhardwareprofile, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Delete_DevNode_Key_Ex(dndevnode: u32, ulhardwareprofile: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Delete_DevNode_Key_Ex(dndevnode : u32, ulhardwareprofile : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Delete_DevNode_Key_Ex(dndevnode, ulhardwareprofile, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Delete_Device_Interface_KeyA<P0>(pszdeviceinterface: P0, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Delete_Device_Interface_KeyA(pszdeviceinterface : ::windows_core::PCSTR, ulflags : u32) -> CONFIGRET); |
| CM_Delete_Device_Interface_KeyA(pszdeviceinterface.into_param().abi(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Delete_Device_Interface_KeyW<P0>(pszdeviceinterface: P0, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Delete_Device_Interface_KeyW(pszdeviceinterface : ::windows_core::PCWSTR, ulflags : u32) -> CONFIGRET); |
| CM_Delete_Device_Interface_KeyW(pszdeviceinterface.into_param().abi(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Delete_Device_Interface_Key_ExA<P0>(pszdeviceinterface: P0, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Delete_Device_Interface_Key_ExA(pszdeviceinterface : ::windows_core::PCSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Delete_Device_Interface_Key_ExA(pszdeviceinterface.into_param().abi(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Delete_Device_Interface_Key_ExW<P0>(pszdeviceinterface: P0, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Delete_Device_Interface_Key_ExW(pszdeviceinterface : ::windows_core::PCWSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Delete_Device_Interface_Key_ExW(pszdeviceinterface.into_param().abi(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Delete_Range(ullstartvalue: u64, ullendvalue: u64, rlh: usize, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Delete_Range(ullstartvalue : u64, ullendvalue : u64, rlh : usize, ulflags : u32) -> CONFIGRET); |
| CM_Delete_Range(ullstartvalue, ullendvalue, rlh, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CM_Detect_Resource_Conflict(dndevinst: u32, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, pbconflictdetected: *mut super::super::Foundation::BOOL, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Detect_Resource_Conflict(dndevinst : u32, resourceid : u32, resourcedata : *const ::core::ffi::c_void, resourcelen : u32, pbconflictdetected : *mut super::super::Foundation:: BOOL, ulflags : u32) -> CONFIGRET); |
| CM_Detect_Resource_Conflict(dndevinst, resourceid, resourcedata, resourcelen, pbconflictdetected, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CM_Detect_Resource_Conflict_Ex(dndevinst: u32, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, pbconflictdetected: *mut super::super::Foundation::BOOL, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Detect_Resource_Conflict_Ex(dndevinst : u32, resourceid : u32, resourcedata : *const ::core::ffi::c_void, resourcelen : u32, pbconflictdetected : *mut super::super::Foundation:: BOOL, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Detect_Resource_Conflict_Ex(dndevinst, resourceid, resourcedata, resourcelen, pbconflictdetected, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Disable_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Disable_DevNode(dndevinst : u32, ulflags : u32) -> CONFIGRET); |
| CM_Disable_DevNode(dndevinst, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Disable_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Disable_DevNode_Ex(dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Disable_DevNode_Ex(dndevinst, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Disconnect_Machine(hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Disconnect_Machine(hmachine : isize) -> CONFIGRET); |
| CM_Disconnect_Machine(hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Dup_Range_List(rlhold: usize, rlhnew: usize, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Dup_Range_List(rlhold : usize, rlhnew : usize, ulflags : u32) -> CONFIGRET); |
| CM_Dup_Range_List(rlhold, rlhnew, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Enable_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Enable_DevNode(dndevinst : u32, ulflags : u32) -> CONFIGRET); |
| CM_Enable_DevNode(dndevinst, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Enable_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Enable_DevNode_Ex(dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Enable_DevNode_Ex(dndevinst, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Enumerate_Classes(ulclassindex: u32, classguid: *mut ::windows_core::GUID, ulflags: CM_ENUMERATE_FLAGS) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Enumerate_Classes(ulclassindex : u32, classguid : *mut ::windows_core::GUID, ulflags : CM_ENUMERATE_FLAGS) -> CONFIGRET); |
| CM_Enumerate_Classes(ulclassindex, classguid, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Enumerate_Classes_Ex(ulclassindex: u32, classguid: *mut ::windows_core::GUID, ulflags: CM_ENUMERATE_FLAGS, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Enumerate_Classes_Ex(ulclassindex : u32, classguid : *mut ::windows_core::GUID, ulflags : CM_ENUMERATE_FLAGS, hmachine : isize) -> CONFIGRET); |
| CM_Enumerate_Classes_Ex(ulclassindex, classguid, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Enumerate_EnumeratorsA(ulenumindex: u32, buffer: ::windows_core::PSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Enumerate_EnumeratorsA(ulenumindex : u32, buffer : ::windows_core::PSTR, pullength : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Enumerate_EnumeratorsA(ulenumindex, ::core::mem::transmute(buffer), pullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Enumerate_EnumeratorsW(ulenumindex: u32, buffer: ::windows_core::PWSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Enumerate_EnumeratorsW(ulenumindex : u32, buffer : ::windows_core::PWSTR, pullength : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Enumerate_EnumeratorsW(ulenumindex, ::core::mem::transmute(buffer), pullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Enumerate_Enumerators_ExA(ulenumindex: u32, buffer: ::windows_core::PSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Enumerate_Enumerators_ExA(ulenumindex : u32, buffer : ::windows_core::PSTR, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Enumerate_Enumerators_ExA(ulenumindex, ::core::mem::transmute(buffer), pullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Enumerate_Enumerators_ExW(ulenumindex: u32, buffer: ::windows_core::PWSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Enumerate_Enumerators_ExW(ulenumindex : u32, buffer : ::windows_core::PWSTR, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Enumerate_Enumerators_ExW(ulenumindex, ::core::mem::transmute(buffer), pullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Find_Range(pullstart: *mut u64, ullstart: u64, ullength: u32, ullalignment: u64, ullend: u64, rlh: usize, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Find_Range(pullstart : *mut u64, ullstart : u64, ullength : u32, ullalignment : u64, ullend : u64, rlh : usize, ulflags : u32) -> CONFIGRET); |
| CM_Find_Range(pullstart, ullstart, ullength, ullalignment, ullend, rlh, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_First_Range(rlh: usize, pullstart: *mut u64, pullend: *mut u64, preelement: *mut usize, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_First_Range(rlh : usize, pullstart : *mut u64, pullend : *mut u64, preelement : *mut usize, ulflags : u32) -> CONFIGRET); |
| CM_First_Range(rlh, pullstart, pullend, preelement, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Free_Log_Conf(lclogconftobefreed: usize, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Free_Log_Conf(lclogconftobefreed : usize, ulflags : u32) -> CONFIGRET); |
| CM_Free_Log_Conf(lclogconftobefreed, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Free_Log_Conf_Ex(lclogconftobefreed: usize, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Free_Log_Conf_Ex(lclogconftobefreed : usize, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Free_Log_Conf_Ex(lclogconftobefreed, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Free_Log_Conf_Handle(lclogconf: usize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Free_Log_Conf_Handle(lclogconf : usize) -> CONFIGRET); |
| CM_Free_Log_Conf_Handle(lclogconf) |
| } |
| #[inline] |
| pub unsafe fn CM_Free_Range_List(rlh: usize, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Free_Range_List(rlh : usize, ulflags : u32) -> CONFIGRET); |
| CM_Free_Range_List(rlh, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Free_Res_Des(prdresdes: ::core::option::Option<*mut usize>, rdresdes: usize, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Free_Res_Des(prdresdes : *mut usize, rdresdes : usize, ulflags : u32) -> CONFIGRET); |
| CM_Free_Res_Des(::core::mem::transmute(prdresdes.unwrap_or(::std::ptr::null_mut())), rdresdes, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Free_Res_Des_Ex(prdresdes: ::core::option::Option<*mut usize>, rdresdes: usize, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Free_Res_Des_Ex(prdresdes : *mut usize, rdresdes : usize, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Free_Res_Des_Ex(::core::mem::transmute(prdresdes.unwrap_or(::std::ptr::null_mut())), rdresdes, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Free_Res_Des_Handle(rdresdes: usize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Free_Res_Des_Handle(rdresdes : usize) -> CONFIGRET); |
| CM_Free_Res_Des_Handle(rdresdes) |
| } |
| #[inline] |
| pub unsafe fn CM_Free_Resource_Conflict_Handle(clconflictlist: usize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Free_Resource_Conflict_Handle(clconflictlist : usize) -> CONFIGRET); |
| CM_Free_Resource_Conflict_Handle(clconflictlist) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Child(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Child(pdndevinst : *mut u32, dndevinst : u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Child(pdndevinst, dndevinst, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Child_Ex(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Child_Ex(pdndevinst : *mut u32, dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Child_Ex(pdndevinst, dndevinst, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Class_Key_NameA(classguid: *const ::windows_core::GUID, pszkeyname: ::windows_core::PSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Class_Key_NameA(classguid : *const ::windows_core::GUID, pszkeyname : ::windows_core::PSTR, pullength : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Class_Key_NameA(classguid, ::core::mem::transmute(pszkeyname), pullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Class_Key_NameW(classguid: *const ::windows_core::GUID, pszkeyname: ::windows_core::PWSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Class_Key_NameW(classguid : *const ::windows_core::GUID, pszkeyname : ::windows_core::PWSTR, pullength : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Class_Key_NameW(classguid, ::core::mem::transmute(pszkeyname), pullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Class_Key_Name_ExA(classguid: *const ::windows_core::GUID, pszkeyname: ::windows_core::PSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Class_Key_Name_ExA(classguid : *const ::windows_core::GUID, pszkeyname : ::windows_core::PSTR, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Class_Key_Name_ExA(classguid, ::core::mem::transmute(pszkeyname), pullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Class_Key_Name_ExW(classguid: *const ::windows_core::GUID, pszkeyname: ::windows_core::PWSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Class_Key_Name_ExW(classguid : *const ::windows_core::GUID, pszkeyname : ::windows_core::PWSTR, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Class_Key_Name_ExW(classguid, ::core::mem::transmute(pszkeyname), pullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Class_NameA(classguid: *const ::windows_core::GUID, buffer: ::windows_core::PSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Class_NameA(classguid : *const ::windows_core::GUID, buffer : ::windows_core::PSTR, pullength : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Class_NameA(classguid, ::core::mem::transmute(buffer), pullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Class_NameW(classguid: *const ::windows_core::GUID, buffer: ::windows_core::PWSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Class_NameW(classguid : *const ::windows_core::GUID, buffer : ::windows_core::PWSTR, pullength : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Class_NameW(classguid, ::core::mem::transmute(buffer), pullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Class_Name_ExA(classguid: *const ::windows_core::GUID, buffer: ::windows_core::PSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Class_Name_ExA(classguid : *const ::windows_core::GUID, buffer : ::windows_core::PSTR, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Class_Name_ExA(classguid, ::core::mem::transmute(buffer), pullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Class_Name_ExW(classguid: *const ::windows_core::GUID, buffer: ::windows_core::PWSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Class_Name_ExW(classguid : *const ::windows_core::GUID, buffer : ::windows_core::PWSTR, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Class_Name_ExW(classguid, ::core::mem::transmute(buffer), pullength, ulflags, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Get_Class_PropertyW(classguid: *const ::windows_core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<*mut u8>, propertybuffersize: *mut u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Class_PropertyW(classguid : *const ::windows_core::GUID, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : *mut super::Properties:: DEVPROPTYPE, propertybuffer : *mut u8, propertybuffersize : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Class_PropertyW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), propertybuffersize, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Get_Class_Property_ExW(classguid: *const ::windows_core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<*mut u8>, propertybuffersize: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Class_Property_ExW(classguid : *const ::windows_core::GUID, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : *mut super::Properties:: DEVPROPTYPE, propertybuffer : *mut u8, propertybuffersize : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Class_Property_ExW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), propertybuffersize, ulflags, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Get_Class_Property_Keys(classguid: *const ::windows_core::GUID, propertykeyarray: ::core::option::Option<*mut super::Properties::DEVPROPKEY>, propertykeycount: *mut u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Class_Property_Keys(classguid : *const ::windows_core::GUID, propertykeyarray : *mut super::Properties:: DEVPROPKEY, propertykeycount : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Class_Property_Keys(classguid, ::core::mem::transmute(propertykeyarray.unwrap_or(::std::ptr::null_mut())), propertykeycount, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Get_Class_Property_Keys_Ex(classguid: *const ::windows_core::GUID, propertykeyarray: ::core::option::Option<*mut super::Properties::DEVPROPKEY>, propertykeycount: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Class_Property_Keys_Ex(classguid : *const ::windows_core::GUID, propertykeyarray : *mut super::Properties:: DEVPROPKEY, propertykeycount : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Class_Property_Keys_Ex(classguid, ::core::mem::transmute(propertykeyarray.unwrap_or(::std::ptr::null_mut())), propertykeycount, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Class_Registry_PropertyA(classguid: *const ::windows_core::GUID, ulproperty: u32, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Class_Registry_PropertyA(classguid : *const ::windows_core::GUID, ulproperty : u32, pulregdatatype : *mut u32, buffer : *mut ::core::ffi::c_void, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Class_Registry_PropertyA(classguid, ulproperty, ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Class_Registry_PropertyW(classguid: *const ::windows_core::GUID, ulproperty: u32, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Class_Registry_PropertyW(classguid : *const ::windows_core::GUID, ulproperty : u32, pulregdatatype : *mut u32, buffer : *mut ::core::ffi::c_void, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Class_Registry_PropertyW(classguid, ulproperty, ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Depth(puldepth: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Depth(puldepth : *mut u32, dndevinst : u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Depth(puldepth, dndevinst, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Depth_Ex(puldepth: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Depth_Ex(puldepth : *mut u32, dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Depth_Ex(puldepth, dndevinst, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_DevNode_Custom_PropertyA<P0>(dndevinst: u32, pszcustompropertyname: P0, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Custom_PropertyA(dndevinst : u32, pszcustompropertyname : ::windows_core::PCSTR, pulregdatatype : *mut u32, buffer : *mut ::core::ffi::c_void, pullength : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_DevNode_Custom_PropertyA(dndevinst, pszcustompropertyname.into_param().abi(), ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_DevNode_Custom_PropertyW<P0>(dndevinst: u32, pszcustompropertyname: P0, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Custom_PropertyW(dndevinst : u32, pszcustompropertyname : ::windows_core::PCWSTR, pulregdatatype : *mut u32, buffer : *mut ::core::ffi::c_void, pullength : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_DevNode_Custom_PropertyW(dndevinst, pszcustompropertyname.into_param().abi(), ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_DevNode_Custom_Property_ExA<P0>(dndevinst: u32, pszcustompropertyname: P0, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Custom_Property_ExA(dndevinst : u32, pszcustompropertyname : ::windows_core::PCSTR, pulregdatatype : *mut u32, buffer : *mut ::core::ffi::c_void, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_DevNode_Custom_Property_ExA(dndevinst, pszcustompropertyname.into_param().abi(), ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_DevNode_Custom_Property_ExW<P0>(dndevinst: u32, pszcustompropertyname: P0, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Custom_Property_ExW(dndevinst : u32, pszcustompropertyname : ::windows_core::PCWSTR, pulregdatatype : *mut u32, buffer : *mut ::core::ffi::c_void, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_DevNode_Custom_Property_ExW(dndevinst, pszcustompropertyname.into_param().abi(), ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Get_DevNode_PropertyW(dndevinst: u32, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<*mut u8>, propertybuffersize: *mut u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_PropertyW(dndevinst : u32, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : *mut super::Properties:: DEVPROPTYPE, propertybuffer : *mut u8, propertybuffersize : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_DevNode_PropertyW(dndevinst, propertykey, propertytype, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), propertybuffersize, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Get_DevNode_Property_ExW(dndevinst: u32, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<*mut u8>, propertybuffersize: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Property_ExW(dndevinst : u32, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : *mut super::Properties:: DEVPROPTYPE, propertybuffer : *mut u8, propertybuffersize : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_DevNode_Property_ExW(dndevinst, propertykey, propertytype, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), propertybuffersize, ulflags, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Get_DevNode_Property_Keys(dndevinst: u32, propertykeyarray: ::core::option::Option<*mut super::Properties::DEVPROPKEY>, propertykeycount: *mut u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Property_Keys(dndevinst : u32, propertykeyarray : *mut super::Properties:: DEVPROPKEY, propertykeycount : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_DevNode_Property_Keys(dndevinst, ::core::mem::transmute(propertykeyarray.unwrap_or(::std::ptr::null_mut())), propertykeycount, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Get_DevNode_Property_Keys_Ex(dndevinst: u32, propertykeyarray: ::core::option::Option<*mut super::Properties::DEVPROPKEY>, propertykeycount: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Property_Keys_Ex(dndevinst : u32, propertykeyarray : *mut super::Properties:: DEVPROPKEY, propertykeycount : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_DevNode_Property_Keys_Ex(dndevinst, ::core::mem::transmute(propertykeyarray.unwrap_or(::std::ptr::null_mut())), propertykeycount, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_DevNode_Registry_PropertyA(dndevinst: u32, ulproperty: u32, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Registry_PropertyA(dndevinst : u32, ulproperty : u32, pulregdatatype : *mut u32, buffer : *mut ::core::ffi::c_void, pullength : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_DevNode_Registry_PropertyA(dndevinst, ulproperty, ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_DevNode_Registry_PropertyW(dndevinst: u32, ulproperty: u32, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Registry_PropertyW(dndevinst : u32, ulproperty : u32, pulregdatatype : *mut u32, buffer : *mut ::core::ffi::c_void, pullength : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_DevNode_Registry_PropertyW(dndevinst, ulproperty, ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_DevNode_Registry_Property_ExA(dndevinst: u32, ulproperty: u32, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Registry_Property_ExA(dndevinst : u32, ulproperty : u32, pulregdatatype : *mut u32, buffer : *mut ::core::ffi::c_void, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_DevNode_Registry_Property_ExA(dndevinst, ulproperty, ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_DevNode_Registry_Property_ExW(dndevinst: u32, ulproperty: u32, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Registry_Property_ExW(dndevinst : u32, ulproperty : u32, pulregdatatype : *mut u32, buffer : *mut ::core::ffi::c_void, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_DevNode_Registry_Property_ExW(dndevinst, ulproperty, ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_DevNode_Status(pulstatus: *mut CM_DEVNODE_STATUS_FLAGS, pulproblemnumber: *mut CM_PROB, dndevinst: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Status(pulstatus : *mut CM_DEVNODE_STATUS_FLAGS, pulproblemnumber : *mut CM_PROB, dndevinst : u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_DevNode_Status(pulstatus, pulproblemnumber, dndevinst, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_DevNode_Status_Ex(pulstatus: *mut CM_DEVNODE_STATUS_FLAGS, pulproblemnumber: *mut CM_PROB, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Status_Ex(pulstatus : *mut CM_DEVNODE_STATUS_FLAGS, pulproblemnumber : *mut CM_PROB, dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_DevNode_Status_Ex(pulstatus, pulproblemnumber, dndevinst, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_IDA(dndevinst: u32, buffer: &mut [u8], ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_IDA(dndevinst : u32, buffer : ::windows_core::PSTR, bufferlen : u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Device_IDA(dndevinst, ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_IDW(dndevinst: u32, buffer: &mut [u16], ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_IDW(dndevinst : u32, buffer : ::windows_core::PWSTR, bufferlen : u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Device_IDW(dndevinst, ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_ID_ExA(dndevinst: u32, buffer: &mut [u8], ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_ID_ExA(dndevinst : u32, buffer : ::windows_core::PSTR, bufferlen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_ID_ExA(dndevinst, ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_ID_ExW(dndevinst: u32, buffer: &mut [u16], ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_ID_ExW(dndevinst : u32, buffer : ::windows_core::PWSTR, bufferlen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_ID_ExW(dndevinst, ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_ID_ListA<P0>(pszfilter: P0, buffer: &mut [u8], ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_ID_ListA(pszfilter : ::windows_core::PCSTR, buffer : ::windows_core::PSTR, bufferlen : u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Device_ID_ListA(pszfilter.into_param().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_ID_ListW<P0>(pszfilter: P0, buffer: &mut [u16], ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_ID_ListW(pszfilter : ::windows_core::PCWSTR, buffer : ::windows_core::PWSTR, bufferlen : u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Device_ID_ListW(pszfilter.into_param().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_ID_List_ExA<P0>(pszfilter: P0, buffer: &mut [u8], ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_ID_List_ExA(pszfilter : ::windows_core::PCSTR, buffer : ::windows_core::PSTR, bufferlen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_ID_List_ExA(pszfilter.into_param().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_ID_List_ExW<P0>(pszfilter: P0, buffer: &mut [u16], ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_ID_List_ExW(pszfilter : ::windows_core::PCWSTR, buffer : ::windows_core::PWSTR, bufferlen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_ID_List_ExW(pszfilter.into_param().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_ID_List_SizeA<P0>(pullen: *mut u32, pszfilter: P0, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_ID_List_SizeA(pullen : *mut u32, pszfilter : ::windows_core::PCSTR, ulflags : u32) -> CONFIGRET); |
| CM_Get_Device_ID_List_SizeA(pullen, pszfilter.into_param().abi(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_ID_List_SizeW<P0>(pullen: *mut u32, pszfilter: P0, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_ID_List_SizeW(pullen : *mut u32, pszfilter : ::windows_core::PCWSTR, ulflags : u32) -> CONFIGRET); |
| CM_Get_Device_ID_List_SizeW(pullen, pszfilter.into_param().abi(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_ID_List_Size_ExA<P0>(pullen: *mut u32, pszfilter: P0, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_ID_List_Size_ExA(pullen : *mut u32, pszfilter : ::windows_core::PCSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_ID_List_Size_ExA(pullen, pszfilter.into_param().abi(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_ID_List_Size_ExW<P0>(pullen: *mut u32, pszfilter: P0, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_ID_List_Size_ExW(pullen : *mut u32, pszfilter : ::windows_core::PCWSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_ID_List_Size_ExW(pullen, pszfilter.into_param().abi(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_ID_Size(pullen: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_ID_Size(pullen : *mut u32, dndevinst : u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Device_ID_Size(pullen, dndevinst, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_ID_Size_Ex(pullen: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_ID_Size_Ex(pullen : *mut u32, dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_ID_Size_Ex(pullen, dndevinst, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_AliasA<P0>(pszdeviceinterface: P0, aliasinterfaceguid: *const ::windows_core::GUID, pszaliasdeviceinterface: ::windows_core::PSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_AliasA(pszdeviceinterface : ::windows_core::PCSTR, aliasinterfaceguid : *const ::windows_core::GUID, pszaliasdeviceinterface : ::windows_core::PSTR, pullength : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Device_Interface_AliasA(pszdeviceinterface.into_param().abi(), aliasinterfaceguid, ::core::mem::transmute(pszaliasdeviceinterface), pullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_AliasW<P0>(pszdeviceinterface: P0, aliasinterfaceguid: *const ::windows_core::GUID, pszaliasdeviceinterface: ::windows_core::PWSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_AliasW(pszdeviceinterface : ::windows_core::PCWSTR, aliasinterfaceguid : *const ::windows_core::GUID, pszaliasdeviceinterface : ::windows_core::PWSTR, pullength : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Device_Interface_AliasW(pszdeviceinterface.into_param().abi(), aliasinterfaceguid, ::core::mem::transmute(pszaliasdeviceinterface), pullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_Alias_ExA<P0>(pszdeviceinterface: P0, aliasinterfaceguid: *const ::windows_core::GUID, pszaliasdeviceinterface: ::windows_core::PSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_Alias_ExA(pszdeviceinterface : ::windows_core::PCSTR, aliasinterfaceguid : *const ::windows_core::GUID, pszaliasdeviceinterface : ::windows_core::PSTR, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_Interface_Alias_ExA(pszdeviceinterface.into_param().abi(), aliasinterfaceguid, ::core::mem::transmute(pszaliasdeviceinterface), pullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_Alias_ExW<P0>(pszdeviceinterface: P0, aliasinterfaceguid: *const ::windows_core::GUID, pszaliasdeviceinterface: ::windows_core::PWSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_Alias_ExW(pszdeviceinterface : ::windows_core::PCWSTR, aliasinterfaceguid : *const ::windows_core::GUID, pszaliasdeviceinterface : ::windows_core::PWSTR, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_Interface_Alias_ExW(pszdeviceinterface.into_param().abi(), aliasinterfaceguid, ::core::mem::transmute(pszaliasdeviceinterface), pullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_ListA<P0>(interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, buffer: &mut [u8], ulflags: CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_ListA(interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCSTR, buffer : ::windows_core::PSTR, bufferlen : u32, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET); |
| CM_Get_Device_Interface_ListA(interfaceclassguid, pdeviceid.into_param().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_ListW<P0>(interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, buffer: &mut [u16], ulflags: CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_ListW(interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCWSTR, buffer : ::windows_core::PWSTR, bufferlen : u32, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET); |
| CM_Get_Device_Interface_ListW(interfaceclassguid, pdeviceid.into_param().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_List_ExA<P0>(interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, buffer: &mut [u8], ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_ExA(interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCSTR, buffer : ::windows_core::PSTR, bufferlen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_Interface_List_ExA(interfaceclassguid, pdeviceid.into_param().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_List_ExW<P0>(interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, buffer: &mut [u16], ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_ExW(interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCWSTR, buffer : ::windows_core::PWSTR, bufferlen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_Interface_List_ExW(interfaceclassguid, pdeviceid.into_param().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_List_SizeA<P0>(pullen: *mut u32, interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, ulflags: CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_SizeA(pullen : *mut u32, interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCSTR, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET); |
| CM_Get_Device_Interface_List_SizeA(pullen, interfaceclassguid, pdeviceid.into_param().abi(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_List_SizeW<P0>(pullen: *mut u32, interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, ulflags: CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_SizeW(pullen : *mut u32, interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCWSTR, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET); |
| CM_Get_Device_Interface_List_SizeW(pullen, interfaceclassguid, pdeviceid.into_param().abi(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_List_Size_ExA<P0>(pullen: *mut u32, interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, ulflags: CM_GET_DEVICE_INTERFACE_LIST_FLAGS, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_Size_ExA(pullen : *mut u32, interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCSTR, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_Interface_List_Size_ExA(pullen, interfaceclassguid, pdeviceid.into_param().abi(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_List_Size_ExW<P0>(pullen: *mut u32, interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, ulflags: CM_GET_DEVICE_INTERFACE_LIST_FLAGS, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_Size_ExW(pullen : *mut u32, interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCWSTR, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_Interface_List_Size_ExW(pullen, interfaceclassguid, pdeviceid.into_param().abi(), ulflags, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_PropertyW<P0>(pszdeviceinterface: P0, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<*mut u8>, propertybuffersize: *mut u32, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_PropertyW(pszdeviceinterface : ::windows_core::PCWSTR, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : *mut super::Properties:: DEVPROPTYPE, propertybuffer : *mut u8, propertybuffersize : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Device_Interface_PropertyW(pszdeviceinterface.into_param().abi(), propertykey, propertytype, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), propertybuffersize, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_Property_ExW<P0>(pszdeviceinterface: P0, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<*mut u8>, propertybuffersize: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_Property_ExW(pszdeviceinterface : ::windows_core::PCWSTR, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : *mut super::Properties:: DEVPROPTYPE, propertybuffer : *mut u8, propertybuffersize : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_Interface_Property_ExW(pszdeviceinterface.into_param().abi(), propertykey, propertytype, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), propertybuffersize, ulflags, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_Property_KeysW<P0>(pszdeviceinterface: P0, propertykeyarray: ::core::option::Option<*mut super::Properties::DEVPROPKEY>, propertykeycount: *mut u32, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_Property_KeysW(pszdeviceinterface : ::windows_core::PCWSTR, propertykeyarray : *mut super::Properties:: DEVPROPKEY, propertykeycount : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Device_Interface_Property_KeysW(pszdeviceinterface.into_param().abi(), ::core::mem::transmute(propertykeyarray.unwrap_or(::std::ptr::null_mut())), propertykeycount, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Get_Device_Interface_Property_Keys_ExW<P0>(pszdeviceinterface: P0, propertykeyarray: ::core::option::Option<*mut super::Properties::DEVPROPKEY>, propertykeycount: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_Property_Keys_ExW(pszdeviceinterface : ::windows_core::PCWSTR, propertykeyarray : *mut super::Properties:: DEVPROPKEY, propertykeycount : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Device_Interface_Property_Keys_ExW(pszdeviceinterface.into_param().abi(), ::core::mem::transmute(propertykeyarray.unwrap_or(::std::ptr::null_mut())), propertykeycount, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_First_Log_Conf(plclogconf: ::core::option::Option<*mut usize>, dndevinst: u32, ulflags: CM_LOG_CONF) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_First_Log_Conf(plclogconf : *mut usize, dndevinst : u32, ulflags : CM_LOG_CONF) -> CONFIGRET); |
| CM_Get_First_Log_Conf(::core::mem::transmute(plclogconf.unwrap_or(::std::ptr::null_mut())), dndevinst, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_First_Log_Conf_Ex(plclogconf: ::core::option::Option<*mut usize>, dndevinst: u32, ulflags: CM_LOG_CONF, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_First_Log_Conf_Ex(plclogconf : *mut usize, dndevinst : u32, ulflags : CM_LOG_CONF, hmachine : isize) -> CONFIGRET); |
| CM_Get_First_Log_Conf_Ex(::core::mem::transmute(plclogconf.unwrap_or(::std::ptr::null_mut())), dndevinst, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Global_State(pulstate: *mut u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Global_State(pulstate : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Global_State(pulstate, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Global_State_Ex(pulstate: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Global_State_Ex(pulstate : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Global_State_Ex(pulstate, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_HW_Prof_FlagsA<P0>(pdeviceid: P0, ulhardwareprofile: u32, pulvalue: *mut u32, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_HW_Prof_FlagsA(pdeviceid : ::windows_core::PCSTR, ulhardwareprofile : u32, pulvalue : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_HW_Prof_FlagsA(pdeviceid.into_param().abi(), ulhardwareprofile, pulvalue, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_HW_Prof_FlagsW<P0>(pdeviceid: P0, ulhardwareprofile: u32, pulvalue: *mut u32, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_HW_Prof_FlagsW(pdeviceid : ::windows_core::PCWSTR, ulhardwareprofile : u32, pulvalue : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_HW_Prof_FlagsW(pdeviceid.into_param().abi(), ulhardwareprofile, pulvalue, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_HW_Prof_Flags_ExA<P0>(pdeviceid: P0, ulhardwareprofile: u32, pulvalue: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_HW_Prof_Flags_ExA(pdeviceid : ::windows_core::PCSTR, ulhardwareprofile : u32, pulvalue : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_HW_Prof_Flags_ExA(pdeviceid.into_param().abi(), ulhardwareprofile, pulvalue, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_HW_Prof_Flags_ExW<P0>(pdeviceid: P0, ulhardwareprofile: u32, pulvalue: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_HW_Prof_Flags_ExW(pdeviceid : ::windows_core::PCWSTR, ulhardwareprofile : u32, pulvalue : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_HW_Prof_Flags_ExW(pdeviceid.into_param().abi(), ulhardwareprofile, pulvalue, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Hardware_Profile_InfoA(ulindex: u32, phwprofileinfo: *mut HWPROFILEINFO_A, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Hardware_Profile_InfoA(ulindex : u32, phwprofileinfo : *mut HWPROFILEINFO_A, ulflags : u32) -> CONFIGRET); |
| CM_Get_Hardware_Profile_InfoA(ulindex, phwprofileinfo, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Hardware_Profile_InfoW(ulindex: u32, phwprofileinfo: *mut HWPROFILEINFO_W, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Hardware_Profile_InfoW(ulindex : u32, phwprofileinfo : *mut HWPROFILEINFO_W, ulflags : u32) -> CONFIGRET); |
| CM_Get_Hardware_Profile_InfoW(ulindex, phwprofileinfo, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Hardware_Profile_Info_ExA(ulindex: u32, phwprofileinfo: *mut HWPROFILEINFO_A, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Hardware_Profile_Info_ExA(ulindex : u32, phwprofileinfo : *mut HWPROFILEINFO_A, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Hardware_Profile_Info_ExA(ulindex, phwprofileinfo, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Hardware_Profile_Info_ExW(ulindex: u32, phwprofileinfo: *mut HWPROFILEINFO_W, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Hardware_Profile_Info_ExW(ulindex : u32, phwprofileinfo : *mut HWPROFILEINFO_W, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Hardware_Profile_Info_ExW(ulindex, phwprofileinfo, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Log_Conf_Priority(lclogconf: usize, ppriority: *mut u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Log_Conf_Priority(lclogconf : usize, ppriority : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Log_Conf_Priority(lclogconf, ppriority, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Log_Conf_Priority_Ex(lclogconf: usize, ppriority: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Log_Conf_Priority_Ex(lclogconf : usize, ppriority : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Log_Conf_Priority_Ex(lclogconf, ppriority, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Next_Log_Conf(plclogconf: ::core::option::Option<*mut usize>, lclogconf: usize, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Next_Log_Conf(plclogconf : *mut usize, lclogconf : usize, ulflags : u32) -> CONFIGRET); |
| CM_Get_Next_Log_Conf(::core::mem::transmute(plclogconf.unwrap_or(::std::ptr::null_mut())), lclogconf, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Next_Log_Conf_Ex(plclogconf: ::core::option::Option<*mut usize>, lclogconf: usize, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Next_Log_Conf_Ex(plclogconf : *mut usize, lclogconf : usize, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Next_Log_Conf_Ex(::core::mem::transmute(plclogconf.unwrap_or(::std::ptr::null_mut())), lclogconf, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Next_Res_Des(prdresdes: *mut usize, rdresdes: usize, forresource: CM_RESTYPE, presourceid: ::core::option::Option<*mut CM_RESTYPE>, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Next_Res_Des(prdresdes : *mut usize, rdresdes : usize, forresource : CM_RESTYPE, presourceid : *mut CM_RESTYPE, ulflags : u32) -> CONFIGRET); |
| CM_Get_Next_Res_Des(prdresdes, rdresdes, forresource, ::core::mem::transmute(presourceid.unwrap_or(::std::ptr::null_mut())), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Next_Res_Des_Ex(prdresdes: *mut usize, rdresdes: usize, forresource: CM_RESTYPE, presourceid: ::core::option::Option<*mut CM_RESTYPE>, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Next_Res_Des_Ex(prdresdes : *mut usize, rdresdes : usize, forresource : CM_RESTYPE, presourceid : *mut CM_RESTYPE, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Next_Res_Des_Ex(prdresdes, rdresdes, forresource, ::core::mem::transmute(presourceid.unwrap_or(::std::ptr::null_mut())), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Parent(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Parent(pdndevinst : *mut u32, dndevinst : u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Parent(pdndevinst, dndevinst, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Parent_Ex(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Parent_Ex(pdndevinst : *mut u32, dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Parent_Ex(pdndevinst, dndevinst, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Res_Des_Data(rdresdes: usize, buffer: *mut ::core::ffi::c_void, bufferlen: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Res_Des_Data(rdresdes : usize, buffer : *mut ::core::ffi::c_void, bufferlen : u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Res_Des_Data(rdresdes, buffer, bufferlen, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Res_Des_Data_Ex(rdresdes: usize, buffer: *mut ::core::ffi::c_void, bufferlen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Res_Des_Data_Ex(rdresdes : usize, buffer : *mut ::core::ffi::c_void, bufferlen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Res_Des_Data_Ex(rdresdes, buffer, bufferlen, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Res_Des_Data_Size(pulsize: *mut u32, rdresdes: usize, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Res_Des_Data_Size(pulsize : *mut u32, rdresdes : usize, ulflags : u32) -> CONFIGRET); |
| CM_Get_Res_Des_Data_Size(pulsize, rdresdes, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Res_Des_Data_Size_Ex(pulsize: *mut u32, rdresdes: usize, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Res_Des_Data_Size_Ex(pulsize : *mut u32, rdresdes : usize, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Res_Des_Data_Size_Ex(pulsize, rdresdes, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Resource_Conflict_Count(clconflictlist: usize, pulcount: *mut u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Resource_Conflict_Count(clconflictlist : usize, pulcount : *mut u32) -> CONFIGRET); |
| CM_Get_Resource_Conflict_Count(clconflictlist, pulcount) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Resource_Conflict_DetailsA(clconflictlist: usize, ulindex: u32, pconflictdetails: *mut CONFLICT_DETAILS_A) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Resource_Conflict_DetailsA(clconflictlist : usize, ulindex : u32, pconflictdetails : *mut CONFLICT_DETAILS_A) -> CONFIGRET); |
| CM_Get_Resource_Conflict_DetailsA(clconflictlist, ulindex, pconflictdetails) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Resource_Conflict_DetailsW(clconflictlist: usize, ulindex: u32, pconflictdetails: *mut CONFLICT_DETAILS_W) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Resource_Conflict_DetailsW(clconflictlist : usize, ulindex : u32, pconflictdetails : *mut CONFLICT_DETAILS_W) -> CONFIGRET); |
| CM_Get_Resource_Conflict_DetailsW(clconflictlist, ulindex, pconflictdetails) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Sibling(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Sibling(pdndevinst : *mut u32, dndevinst : u32, ulflags : u32) -> CONFIGRET); |
| CM_Get_Sibling(pdndevinst, dndevinst, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Sibling_Ex(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Sibling_Ex(pdndevinst : *mut u32, dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Get_Sibling_Ex(pdndevinst, dndevinst, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Version() -> u16 { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Version() -> u16); |
| CM_Get_Version() |
| } |
| #[inline] |
| pub unsafe fn CM_Get_Version_Ex(hmachine: isize) -> u16 { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Version_Ex(hmachine : isize) -> u16); |
| CM_Get_Version_Ex(hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Intersect_Range_List(rlhold1: usize, rlhold2: usize, rlhnew: usize, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Intersect_Range_List(rlhold1 : usize, rlhold2 : usize, rlhnew : usize, ulflags : u32) -> CONFIGRET); |
| CM_Intersect_Range_List(rlhold1, rlhold2, rlhnew, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Invert_Range_List(rlhold: usize, rlhnew: usize, ullmaxvalue: u64, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Invert_Range_List(rlhold : usize, rlhnew : usize, ullmaxvalue : u64, ulflags : u32) -> CONFIGRET); |
| CM_Invert_Range_List(rlhold, rlhnew, ullmaxvalue, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CM_Is_Dock_Station_Present(pbpresent: *mut super::super::Foundation::BOOL) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Is_Dock_Station_Present(pbpresent : *mut super::super::Foundation:: BOOL) -> CONFIGRET); |
| CM_Is_Dock_Station_Present(pbpresent) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CM_Is_Dock_Station_Present_Ex(pbpresent: *mut super::super::Foundation::BOOL, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Is_Dock_Station_Present_Ex(pbpresent : *mut super::super::Foundation:: BOOL, hmachine : isize) -> CONFIGRET); |
| CM_Is_Dock_Station_Present_Ex(pbpresent, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CM_Is_Version_Available(wversion: u16) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Is_Version_Available(wversion : u16) -> super::super::Foundation:: BOOL); |
| CM_Is_Version_Available(wversion) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CM_Is_Version_Available_Ex(wversion: u16, hmachine: isize) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Is_Version_Available_Ex(wversion : u16, hmachine : isize) -> super::super::Foundation:: BOOL); |
| CM_Is_Version_Available_Ex(wversion, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Locate_DevNodeA<P0>(pdndevinst: *mut u32, pdeviceid: P0, ulflags: CM_LOCATE_DEVNODE_FLAGS) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Locate_DevNodeA(pdndevinst : *mut u32, pdeviceid : ::windows_core::PCSTR, ulflags : CM_LOCATE_DEVNODE_FLAGS) -> CONFIGRET); |
| CM_Locate_DevNodeA(pdndevinst, pdeviceid.into_param().abi(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Locate_DevNodeW<P0>(pdndevinst: *mut u32, pdeviceid: P0, ulflags: CM_LOCATE_DEVNODE_FLAGS) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Locate_DevNodeW(pdndevinst : *mut u32, pdeviceid : ::windows_core::PCWSTR, ulflags : CM_LOCATE_DEVNODE_FLAGS) -> CONFIGRET); |
| CM_Locate_DevNodeW(pdndevinst, pdeviceid.into_param().abi(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Locate_DevNode_ExA<P0>(pdndevinst: *mut u32, pdeviceid: P0, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Locate_DevNode_ExA(pdndevinst : *mut u32, pdeviceid : ::windows_core::PCSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Locate_DevNode_ExA(pdndevinst, pdeviceid.into_param().abi(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Locate_DevNode_ExW<P0>(pdndevinst: *mut u32, pdeviceid: P0, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Locate_DevNode_ExW(pdndevinst : *mut u32, pdeviceid : ::windows_core::PCWSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Locate_DevNode_ExW(pdndevinst, pdeviceid.into_param().abi(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_MapCrToWin32Err(cmreturncode: CONFIGRET, defaulterr: u32) -> u32 { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_MapCrToWin32Err(cmreturncode : CONFIGRET, defaulterr : u32) -> u32); |
| CM_MapCrToWin32Err(cmreturncode, defaulterr) |
| } |
| #[inline] |
| pub unsafe fn CM_Merge_Range_List(rlhold1: usize, rlhold2: usize, rlhnew: usize, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Merge_Range_List(rlhold1 : usize, rlhold2 : usize, rlhnew : usize, ulflags : u32) -> CONFIGRET); |
| CM_Merge_Range_List(rlhold1, rlhold2, rlhnew, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Modify_Res_Des(prdresdes: *mut usize, rdresdes: usize, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Modify_Res_Des(prdresdes : *mut usize, rdresdes : usize, resourceid : u32, resourcedata : *const ::core::ffi::c_void, resourcelen : u32, ulflags : u32) -> CONFIGRET); |
| CM_Modify_Res_Des(prdresdes, rdresdes, resourceid, resourcedata, resourcelen, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Modify_Res_Des_Ex(prdresdes: *mut usize, rdresdes: usize, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Modify_Res_Des_Ex(prdresdes : *mut usize, rdresdes : usize, resourceid : u32, resourcedata : *const ::core::ffi::c_void, resourcelen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Modify_Res_Des_Ex(prdresdes, rdresdes, resourceid, resourcedata, resourcelen, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Move_DevNode(dnfromdevinst: u32, dntodevinst: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Move_DevNode(dnfromdevinst : u32, dntodevinst : u32, ulflags : u32) -> CONFIGRET); |
| CM_Move_DevNode(dnfromdevinst, dntodevinst, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Move_DevNode_Ex(dnfromdevinst: u32, dntodevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Move_DevNode_Ex(dnfromdevinst : u32, dntodevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Move_DevNode_Ex(dnfromdevinst, dntodevinst, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Next_Range(preelement: *mut usize, pullstart: *mut u64, pullend: *mut u64, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Next_Range(preelement : *mut usize, pullstart : *mut u64, pullend : *mut u64, ulflags : u32) -> CONFIGRET); |
| CM_Next_Range(preelement, pullstart, pullend, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn CM_Open_Class_KeyA<P0>(classguid: ::core::option::Option<*const ::windows_core::GUID>, pszclassname: P0, samdesired: u32, disposition: u32, phkclass: *mut super::super::System::Registry::HKEY, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Open_Class_KeyA(classguid : *const ::windows_core::GUID, pszclassname : ::windows_core::PCSTR, samdesired : u32, disposition : u32, phkclass : *mut super::super::System::Registry:: HKEY, ulflags : u32) -> CONFIGRET); |
| CM_Open_Class_KeyA(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), pszclassname.into_param().abi(), samdesired, disposition, phkclass, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn CM_Open_Class_KeyW<P0>(classguid: ::core::option::Option<*const ::windows_core::GUID>, pszclassname: P0, samdesired: u32, disposition: u32, phkclass: *mut super::super::System::Registry::HKEY, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Open_Class_KeyW(classguid : *const ::windows_core::GUID, pszclassname : ::windows_core::PCWSTR, samdesired : u32, disposition : u32, phkclass : *mut super::super::System::Registry:: HKEY, ulflags : u32) -> CONFIGRET); |
| CM_Open_Class_KeyW(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), pszclassname.into_param().abi(), samdesired, disposition, phkclass, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn CM_Open_Class_Key_ExA<P0>(classguid: ::core::option::Option<*const ::windows_core::GUID>, pszclassname: P0, samdesired: u32, disposition: u32, phkclass: *mut super::super::System::Registry::HKEY, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Open_Class_Key_ExA(classguid : *const ::windows_core::GUID, pszclassname : ::windows_core::PCSTR, samdesired : u32, disposition : u32, phkclass : *mut super::super::System::Registry:: HKEY, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Open_Class_Key_ExA(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), pszclassname.into_param().abi(), samdesired, disposition, phkclass, ulflags, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn CM_Open_Class_Key_ExW<P0>(classguid: ::core::option::Option<*const ::windows_core::GUID>, pszclassname: P0, samdesired: u32, disposition: u32, phkclass: *mut super::super::System::Registry::HKEY, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Open_Class_Key_ExW(classguid : *const ::windows_core::GUID, pszclassname : ::windows_core::PCWSTR, samdesired : u32, disposition : u32, phkclass : *mut super::super::System::Registry:: HKEY, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Open_Class_Key_ExW(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), pszclassname.into_param().abi(), samdesired, disposition, phkclass, ulflags, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn CM_Open_DevNode_Key(dndevnode: u32, samdesired: u32, ulhardwareprofile: u32, disposition: u32, phkdevice: *mut super::super::System::Registry::HKEY, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Open_DevNode_Key(dndevnode : u32, samdesired : u32, ulhardwareprofile : u32, disposition : u32, phkdevice : *mut super::super::System::Registry:: HKEY, ulflags : u32) -> CONFIGRET); |
| CM_Open_DevNode_Key(dndevnode, samdesired, ulhardwareprofile, disposition, phkdevice, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn CM_Open_DevNode_Key_Ex(dndevnode: u32, samdesired: u32, ulhardwareprofile: u32, disposition: u32, phkdevice: *mut super::super::System::Registry::HKEY, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Open_DevNode_Key_Ex(dndevnode : u32, samdesired : u32, ulhardwareprofile : u32, disposition : u32, phkdevice : *mut super::super::System::Registry:: HKEY, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Open_DevNode_Key_Ex(dndevnode, samdesired, ulhardwareprofile, disposition, phkdevice, ulflags, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn CM_Open_Device_Interface_KeyA<P0>(pszdeviceinterface: P0, samdesired: u32, disposition: u32, phkdeviceinterface: *mut super::super::System::Registry::HKEY, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Open_Device_Interface_KeyA(pszdeviceinterface : ::windows_core::PCSTR, samdesired : u32, disposition : u32, phkdeviceinterface : *mut super::super::System::Registry:: HKEY, ulflags : u32) -> CONFIGRET); |
| CM_Open_Device_Interface_KeyA(pszdeviceinterface.into_param().abi(), samdesired, disposition, phkdeviceinterface, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn CM_Open_Device_Interface_KeyW<P0>(pszdeviceinterface: P0, samdesired: u32, disposition: u32, phkdeviceinterface: *mut super::super::System::Registry::HKEY, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Open_Device_Interface_KeyW(pszdeviceinterface : ::windows_core::PCWSTR, samdesired : u32, disposition : u32, phkdeviceinterface : *mut super::super::System::Registry:: HKEY, ulflags : u32) -> CONFIGRET); |
| CM_Open_Device_Interface_KeyW(pszdeviceinterface.into_param().abi(), samdesired, disposition, phkdeviceinterface, ulflags) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn CM_Open_Device_Interface_Key_ExA<P0>(pszdeviceinterface: P0, samdesired: u32, disposition: u32, phkdeviceinterface: *mut super::super::System::Registry::HKEY, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Open_Device_Interface_Key_ExA(pszdeviceinterface : ::windows_core::PCSTR, samdesired : u32, disposition : u32, phkdeviceinterface : *mut super::super::System::Registry:: HKEY, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Open_Device_Interface_Key_ExA(pszdeviceinterface.into_param().abi(), samdesired, disposition, phkdeviceinterface, ulflags, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn CM_Open_Device_Interface_Key_ExW<P0>(pszdeviceinterface: P0, samdesired: u32, disposition: u32, phkdeviceinterface: *mut super::super::System::Registry::HKEY, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Open_Device_Interface_Key_ExW(pszdeviceinterface : ::windows_core::PCWSTR, samdesired : u32, disposition : u32, phkdeviceinterface : *mut super::super::System::Registry:: HKEY, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Open_Device_Interface_Key_ExW(pszdeviceinterface.into_param().abi(), samdesired, disposition, phkdeviceinterface, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Query_And_Remove_SubTreeA(dnancestor: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u8]>, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Query_And_Remove_SubTreeA(dnancestor : u32, pvetotype : *mut PNP_VETO_TYPE, pszvetoname : ::windows_core::PSTR, ulnamelength : u32, ulflags : u32) -> CONFIGRET); |
| CM_Query_And_Remove_SubTreeA(dnancestor, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Query_And_Remove_SubTreeW(dnancestor: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u16]>, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Query_And_Remove_SubTreeW(dnancestor : u32, pvetotype : *mut PNP_VETO_TYPE, pszvetoname : ::windows_core::PWSTR, ulnamelength : u32, ulflags : u32) -> CONFIGRET); |
| CM_Query_And_Remove_SubTreeW(dnancestor, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Query_And_Remove_SubTree_ExA(dnancestor: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u8]>, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Query_And_Remove_SubTree_ExA(dnancestor : u32, pvetotype : *mut PNP_VETO_TYPE, pszvetoname : ::windows_core::PSTR, ulnamelength : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Query_And_Remove_SubTree_ExA(dnancestor, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Query_And_Remove_SubTree_ExW(dnancestor: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u16]>, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Query_And_Remove_SubTree_ExW(dnancestor : u32, pvetotype : *mut PNP_VETO_TYPE, pszvetoname : ::windows_core::PWSTR, ulnamelength : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Query_And_Remove_SubTree_ExW(dnancestor, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Query_Arbitrator_Free_Data(pdata: *mut ::core::ffi::c_void, datalen: u32, dndevinst: u32, resourceid: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Query_Arbitrator_Free_Data(pdata : *mut ::core::ffi::c_void, datalen : u32, dndevinst : u32, resourceid : u32, ulflags : u32) -> CONFIGRET); |
| CM_Query_Arbitrator_Free_Data(pdata, datalen, dndevinst, resourceid, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Query_Arbitrator_Free_Data_Ex(pdata: *mut ::core::ffi::c_void, datalen: u32, dndevinst: u32, resourceid: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Query_Arbitrator_Free_Data_Ex(pdata : *mut ::core::ffi::c_void, datalen : u32, dndevinst : u32, resourceid : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Query_Arbitrator_Free_Data_Ex(pdata, datalen, dndevinst, resourceid, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Query_Arbitrator_Free_Size(pulsize: *mut u32, dndevinst: u32, resourceid: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Query_Arbitrator_Free_Size(pulsize : *mut u32, dndevinst : u32, resourceid : u32, ulflags : u32) -> CONFIGRET); |
| CM_Query_Arbitrator_Free_Size(pulsize, dndevinst, resourceid, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Query_Arbitrator_Free_Size_Ex(pulsize: *mut u32, dndevinst: u32, resourceid: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Query_Arbitrator_Free_Size_Ex(pulsize : *mut u32, dndevinst : u32, resourceid : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Query_Arbitrator_Free_Size_Ex(pulsize, dndevinst, resourceid, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Query_Remove_SubTree(dnancestor: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Query_Remove_SubTree(dnancestor : u32, ulflags : u32) -> CONFIGRET); |
| CM_Query_Remove_SubTree(dnancestor, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Query_Remove_SubTree_Ex(dnancestor: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Query_Remove_SubTree_Ex(dnancestor : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Query_Remove_SubTree_Ex(dnancestor, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Query_Resource_Conflict_List(pclconflictlist: *mut usize, dndevinst: u32, resourceid: CM_RESTYPE, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Query_Resource_Conflict_List(pclconflictlist : *mut usize, dndevinst : u32, resourceid : CM_RESTYPE, resourcedata : *const ::core::ffi::c_void, resourcelen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Query_Resource_Conflict_List(pclconflictlist, dndevinst, resourceid, resourcedata, resourcelen, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Reenumerate_DevNode(dndevinst: u32, ulflags: CM_REENUMERATE_FLAGS) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Reenumerate_DevNode(dndevinst : u32, ulflags : CM_REENUMERATE_FLAGS) -> CONFIGRET); |
| CM_Reenumerate_DevNode(dndevinst, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Reenumerate_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Reenumerate_DevNode_Ex(dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Reenumerate_DevNode_Ex(dndevinst, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Register_Device_Driver(dndevinst: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Register_Device_Driver(dndevinst : u32, ulflags : u32) -> CONFIGRET); |
| CM_Register_Device_Driver(dndevinst, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Register_Device_Driver_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Register_Device_Driver_Ex(dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Register_Device_Driver_Ex(dndevinst, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Register_Device_InterfaceA<P0>(dndevinst: u32, interfaceclassguid: *const ::windows_core::GUID, pszreference: P0, pszdeviceinterface: ::windows_core::PSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Register_Device_InterfaceA(dndevinst : u32, interfaceclassguid : *const ::windows_core::GUID, pszreference : ::windows_core::PCSTR, pszdeviceinterface : ::windows_core::PSTR, pullength : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Register_Device_InterfaceA(dndevinst, interfaceclassguid, pszreference.into_param().abi(), ::core::mem::transmute(pszdeviceinterface), pullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Register_Device_InterfaceW<P0>(dndevinst: u32, interfaceclassguid: *const ::windows_core::GUID, pszreference: P0, pszdeviceinterface: ::windows_core::PWSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Register_Device_InterfaceW(dndevinst : u32, interfaceclassguid : *const ::windows_core::GUID, pszreference : ::windows_core::PCWSTR, pszdeviceinterface : ::windows_core::PWSTR, pullength : *mut u32, ulflags : u32) -> CONFIGRET); |
| CM_Register_Device_InterfaceW(dndevinst, interfaceclassguid, pszreference.into_param().abi(), ::core::mem::transmute(pszdeviceinterface), pullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Register_Device_Interface_ExA<P0>(dndevinst: u32, interfaceclassguid: *const ::windows_core::GUID, pszreference: P0, pszdeviceinterface: ::windows_core::PSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Register_Device_Interface_ExA(dndevinst : u32, interfaceclassguid : *const ::windows_core::GUID, pszreference : ::windows_core::PCSTR, pszdeviceinterface : ::windows_core::PSTR, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Register_Device_Interface_ExA(dndevinst, interfaceclassguid, pszreference.into_param().abi(), ::core::mem::transmute(pszdeviceinterface), pullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Register_Device_Interface_ExW<P0>(dndevinst: u32, interfaceclassguid: *const ::windows_core::GUID, pszreference: P0, pszdeviceinterface: ::windows_core::PWSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Register_Device_Interface_ExW(dndevinst : u32, interfaceclassguid : *const ::windows_core::GUID, pszreference : ::windows_core::PCWSTR, pszdeviceinterface : ::windows_core::PWSTR, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Register_Device_Interface_ExW(dndevinst, interfaceclassguid, pszreference.into_param().abi(), ::core::mem::transmute(pszdeviceinterface), pullength, ulflags, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CM_Register_Notification(pfilter: *const CM_NOTIFY_FILTER, pcontext: ::core::option::Option<*const ::core::ffi::c_void>, pcallback: PCM_NOTIFY_CALLBACK, pnotifycontext: *mut HCMNOTIFICATION) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Register_Notification(pfilter : *const CM_NOTIFY_FILTER, pcontext : *const ::core::ffi::c_void, pcallback : PCM_NOTIFY_CALLBACK, pnotifycontext : *mut HCMNOTIFICATION) -> CONFIGRET); |
| CM_Register_Notification(pfilter, ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null())), pcallback, pnotifycontext) |
| } |
| #[inline] |
| pub unsafe fn CM_Remove_SubTree(dnancestor: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Remove_SubTree(dnancestor : u32, ulflags : u32) -> CONFIGRET); |
| CM_Remove_SubTree(dnancestor, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Remove_SubTree_Ex(dnancestor: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Remove_SubTree_Ex(dnancestor : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Remove_SubTree_Ex(dnancestor, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Request_Device_EjectA(dndevinst: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u8]>, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Request_Device_EjectA(dndevinst : u32, pvetotype : *mut PNP_VETO_TYPE, pszvetoname : ::windows_core::PSTR, ulnamelength : u32, ulflags : u32) -> CONFIGRET); |
| CM_Request_Device_EjectA(dndevinst, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Request_Device_EjectW(dndevinst: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u16]>, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Request_Device_EjectW(dndevinst : u32, pvetotype : *mut PNP_VETO_TYPE, pszvetoname : ::windows_core::PWSTR, ulnamelength : u32, ulflags : u32) -> CONFIGRET); |
| CM_Request_Device_EjectW(dndevinst, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Request_Device_Eject_ExA(dndevinst: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u8]>, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Request_Device_Eject_ExA(dndevinst : u32, pvetotype : *mut PNP_VETO_TYPE, pszvetoname : ::windows_core::PSTR, ulnamelength : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Request_Device_Eject_ExA(dndevinst, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Request_Device_Eject_ExW(dndevinst: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u16]>, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Request_Device_Eject_ExW(dndevinst : u32, pvetotype : *mut PNP_VETO_TYPE, pszvetoname : ::windows_core::PWSTR, ulnamelength : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Request_Device_Eject_ExW(dndevinst, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Request_Eject_PC() -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Request_Eject_PC() -> CONFIGRET); |
| CM_Request_Eject_PC() |
| } |
| #[inline] |
| pub unsafe fn CM_Request_Eject_PC_Ex(hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Request_Eject_PC_Ex(hmachine : isize) -> CONFIGRET); |
| CM_Request_Eject_PC_Ex(hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Run_Detection(ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Run_Detection(ulflags : u32) -> CONFIGRET); |
| CM_Run_Detection(ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Run_Detection_Ex(ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Run_Detection_Ex(ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Run_Detection_Ex(ulflags, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Set_Class_PropertyW(classguid: *const ::windows_core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<&[u8]>, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_Class_PropertyW(classguid : *const ::windows_core::GUID, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : super::Properties:: DEVPROPTYPE, propertybuffer : *const u8, propertybuffersize : u32, ulflags : u32) -> CONFIGRET); |
| CM_Set_Class_PropertyW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ulflags) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Set_Class_Property_ExW(classguid: *const ::windows_core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<&[u8]>, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_Class_Property_ExW(classguid : *const ::windows_core::GUID, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : super::Properties:: DEVPROPTYPE, propertybuffer : *const u8, propertybuffersize : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Set_Class_Property_ExW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Set_Class_Registry_PropertyA(classguid: *const ::windows_core::GUID, ulproperty: u32, buffer: ::core::option::Option<*const ::core::ffi::c_void>, ullength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_Class_Registry_PropertyA(classguid : *const ::windows_core::GUID, ulproperty : u32, buffer : *const ::core::ffi::c_void, ullength : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Set_Class_Registry_PropertyA(classguid, ulproperty, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), ullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Set_Class_Registry_PropertyW(classguid: *const ::windows_core::GUID, ulproperty: u32, buffer: ::core::option::Option<*const ::core::ffi::c_void>, ullength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_Class_Registry_PropertyW(classguid : *const ::windows_core::GUID, ulproperty : u32, buffer : *const ::core::ffi::c_void, ullength : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Set_Class_Registry_PropertyW(classguid, ulproperty, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), ullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Set_DevNode_Problem(dndevinst: u32, ulproblem: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_DevNode_Problem(dndevinst : u32, ulproblem : u32, ulflags : u32) -> CONFIGRET); |
| CM_Set_DevNode_Problem(dndevinst, ulproblem, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Set_DevNode_Problem_Ex(dndevinst: u32, ulproblem: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_DevNode_Problem_Ex(dndevinst : u32, ulproblem : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Set_DevNode_Problem_Ex(dndevinst, ulproblem, ulflags, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Set_DevNode_PropertyW(dndevinst: u32, propertykey: *const super::Properties::DEVPROPKEY, propertytype: super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<&[u8]>, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_DevNode_PropertyW(dndevinst : u32, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : super::Properties:: DEVPROPTYPE, propertybuffer : *const u8, propertybuffersize : u32, ulflags : u32) -> CONFIGRET); |
| CM_Set_DevNode_PropertyW(dndevinst, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ulflags) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Set_DevNode_Property_ExW(dndevinst: u32, propertykey: *const super::Properties::DEVPROPKEY, propertytype: super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<&[u8]>, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_DevNode_Property_ExW(dndevinst : u32, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : super::Properties:: DEVPROPTYPE, propertybuffer : *const u8, propertybuffersize : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Set_DevNode_Property_ExW(dndevinst, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Set_DevNode_Registry_PropertyA(dndevinst: u32, ulproperty: u32, buffer: ::core::option::Option<*const ::core::ffi::c_void>, ullength: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_DevNode_Registry_PropertyA(dndevinst : u32, ulproperty : u32, buffer : *const ::core::ffi::c_void, ullength : u32, ulflags : u32) -> CONFIGRET); |
| CM_Set_DevNode_Registry_PropertyA(dndevinst, ulproperty, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), ullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Set_DevNode_Registry_PropertyW(dndevinst: u32, ulproperty: u32, buffer: ::core::option::Option<*const ::core::ffi::c_void>, ullength: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_DevNode_Registry_PropertyW(dndevinst : u32, ulproperty : u32, buffer : *const ::core::ffi::c_void, ullength : u32, ulflags : u32) -> CONFIGRET); |
| CM_Set_DevNode_Registry_PropertyW(dndevinst, ulproperty, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), ullength, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Set_DevNode_Registry_Property_ExA(dndevinst: u32, ulproperty: u32, buffer: ::core::option::Option<*const ::core::ffi::c_void>, ullength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_DevNode_Registry_Property_ExA(dndevinst : u32, ulproperty : u32, buffer : *const ::core::ffi::c_void, ullength : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Set_DevNode_Registry_Property_ExA(dndevinst, ulproperty, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), ullength, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Set_DevNode_Registry_Property_ExW(dndevinst: u32, ulproperty: u32, buffer: ::core::option::Option<*const ::core::ffi::c_void>, ullength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_DevNode_Registry_Property_ExW(dndevinst : u32, ulproperty : u32, buffer : *const ::core::ffi::c_void, ullength : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Set_DevNode_Registry_Property_ExW(dndevinst, ulproperty, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), ullength, ulflags, hmachine) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Set_Device_Interface_PropertyW<P0>(pszdeviceinterface: P0, propertykey: *const super::Properties::DEVPROPKEY, propertytype: super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<&[u8]>, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_Device_Interface_PropertyW(pszdeviceinterface : ::windows_core::PCWSTR, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : super::Properties:: DEVPROPTYPE, propertybuffer : *const u8, propertybuffersize : u32, ulflags : u32) -> CONFIGRET); |
| CM_Set_Device_Interface_PropertyW(pszdeviceinterface.into_param().abi(), propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ulflags) |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| #[inline] |
| pub unsafe fn CM_Set_Device_Interface_Property_ExW<P0>(pszdeviceinterface: P0, propertykey: *const super::Properties::DEVPROPKEY, propertytype: super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<&[u8]>, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_Device_Interface_Property_ExW(pszdeviceinterface : ::windows_core::PCWSTR, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : super::Properties:: DEVPROPTYPE, propertybuffer : *const u8, propertybuffersize : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Set_Device_Interface_Property_ExW(pszdeviceinterface.into_param().abi(), propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Set_HW_Prof(ulhardwareprofile: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_HW_Prof(ulhardwareprofile : u32, ulflags : u32) -> CONFIGRET); |
| CM_Set_HW_Prof(ulhardwareprofile, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Set_HW_Prof_Ex(ulhardwareprofile: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_HW_Prof_Ex(ulhardwareprofile : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Set_HW_Prof_Ex(ulhardwareprofile, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Set_HW_Prof_FlagsA<P0>(pdeviceid: P0, ulconfig: u32, ulvalue: u32, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_HW_Prof_FlagsA(pdeviceid : ::windows_core::PCSTR, ulconfig : u32, ulvalue : u32, ulflags : u32) -> CONFIGRET); |
| CM_Set_HW_Prof_FlagsA(pdeviceid.into_param().abi(), ulconfig, ulvalue, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Set_HW_Prof_FlagsW<P0>(pdeviceid: P0, ulconfig: u32, ulvalue: u32, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_HW_Prof_FlagsW(pdeviceid : ::windows_core::PCWSTR, ulconfig : u32, ulvalue : u32, ulflags : u32) -> CONFIGRET); |
| CM_Set_HW_Prof_FlagsW(pdeviceid.into_param().abi(), ulconfig, ulvalue, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Set_HW_Prof_Flags_ExA<P0>(pdeviceid: P0, ulconfig: u32, ulvalue: u32, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_HW_Prof_Flags_ExA(pdeviceid : ::windows_core::PCSTR, ulconfig : u32, ulvalue : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Set_HW_Prof_Flags_ExA(pdeviceid.into_param().abi(), ulconfig, ulvalue, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Set_HW_Prof_Flags_ExW<P0>(pdeviceid: P0, ulconfig: u32, ulvalue: u32, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Set_HW_Prof_Flags_ExW(pdeviceid : ::windows_core::PCWSTR, ulconfig : u32, ulvalue : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Set_HW_Prof_Flags_ExW(pdeviceid.into_param().abi(), ulconfig, ulvalue, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Setup_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Setup_DevNode(dndevinst : u32, ulflags : u32) -> CONFIGRET); |
| CM_Setup_DevNode(dndevinst, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Setup_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Setup_DevNode_Ex(dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Setup_DevNode_Ex(dndevinst, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Test_Range_Available(ullstartvalue: u64, ullendvalue: u64, rlh: usize, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Test_Range_Available(ullstartvalue : u64, ullendvalue : u64, rlh : usize, ulflags : u32) -> CONFIGRET); |
| CM_Test_Range_Available(ullstartvalue, ullendvalue, rlh, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Uninstall_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Uninstall_DevNode(dndevinst : u32, ulflags : u32) -> CONFIGRET); |
| CM_Uninstall_DevNode(dndevinst, ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Uninstall_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Uninstall_DevNode_Ex(dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Uninstall_DevNode_Ex(dndevinst, ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Unregister_Device_InterfaceA<P0>(pszdeviceinterface: P0, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Unregister_Device_InterfaceA(pszdeviceinterface : ::windows_core::PCSTR, ulflags : u32) -> CONFIGRET); |
| CM_Unregister_Device_InterfaceA(pszdeviceinterface.into_param().abi(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Unregister_Device_InterfaceW<P0>(pszdeviceinterface: P0, ulflags: u32) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Unregister_Device_InterfaceW(pszdeviceinterface : ::windows_core::PCWSTR, ulflags : u32) -> CONFIGRET); |
| CM_Unregister_Device_InterfaceW(pszdeviceinterface.into_param().abi(), ulflags) |
| } |
| #[inline] |
| pub unsafe fn CM_Unregister_Device_Interface_ExA<P0>(pszdeviceinterface: P0, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Unregister_Device_Interface_ExA(pszdeviceinterface : ::windows_core::PCSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Unregister_Device_Interface_ExA(pszdeviceinterface.into_param().abi(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Unregister_Device_Interface_ExW<P0>(pszdeviceinterface: P0, ulflags: u32, hmachine: isize) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Unregister_Device_Interface_ExW(pszdeviceinterface : ::windows_core::PCWSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); |
| CM_Unregister_Device_Interface_ExW(pszdeviceinterface.into_param().abi(), ulflags, hmachine) |
| } |
| #[inline] |
| pub unsafe fn CM_Unregister_Notification<P0>(notifycontext: P0) -> CONFIGRET |
| where |
| P0: ::windows_core::IntoParam<HCMNOTIFICATION>, |
| { |
| ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Unregister_Notification(notifycontext : HCMNOTIFICATION) -> CONFIGRET); |
| CM_Unregister_Notification(notifycontext.into_param().abi()) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DiInstallDevice<P0, P1>(hwndparent: P0, deviceinfoset: P1, deviceinfodata: *const SP_DEVINFO_DATA, driverinfodata: ::core::option::Option<*const SP_DRVINFO_DATA_V2_W>, flags: DIINSTALLDEVICE_FLAGS, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("newdev.dll" "system" fn DiInstallDevice(hwndparent : super::super::Foundation:: HWND, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, driverinfodata : *const SP_DRVINFO_DATA_V2_W, flags : DIINSTALLDEVICE_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| DiInstallDevice(hwndparent.into_param().abi(), deviceinfoset.into_param().abi(), deviceinfodata, ::core::mem::transmute(driverinfodata.unwrap_or(::std::ptr::null())), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DiInstallDriverA<P0, P1>(hwndparent: P0, infpath: P1, flags: DIINSTALLDRIVER_FLAGS, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("newdev.dll" "system" fn DiInstallDriverA(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_core::PCSTR, flags : DIINSTALLDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| DiInstallDriverA(hwndparent.into_param().abi(), infpath.into_param().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DiInstallDriverW<P0, P1>(hwndparent: P0, infpath: P1, flags: DIINSTALLDRIVER_FLAGS, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("newdev.dll" "system" fn DiInstallDriverW(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_core::PCWSTR, flags : DIINSTALLDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| DiInstallDriverW(hwndparent.into_param().abi(), infpath.into_param().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DiRollbackDriver<P0, P1>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, hwndparent: P1, flags: DIROLLBACKDRIVER_FLAGS, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("newdev.dll" "system" fn DiRollbackDriver(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, hwndparent : super::super::Foundation:: HWND, flags : DIROLLBACKDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| DiRollbackDriver(deviceinfoset.into_param().abi(), deviceinfodata, hwndparent.into_param().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DiShowUpdateDevice<P0, P1>(hwndparent: P0, deviceinfoset: P1, deviceinfodata: *const SP_DEVINFO_DATA, flags: u32, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("newdev.dll" "system" fn DiShowUpdateDevice(hwndparent : super::super::Foundation:: HWND, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| DiShowUpdateDevice(hwndparent.into_param().abi(), deviceinfoset.into_param().abi(), deviceinfodata, flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DiShowUpdateDriver<P0, P1>(hwndparent: P0, filepath: P1, flags: u32, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("newdev.dll" "system" fn DiShowUpdateDriver(hwndparent : super::super::Foundation:: HWND, filepath : ::windows_core::PCWSTR, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| DiShowUpdateDriver(hwndparent.into_param().abi(), filepath.into_param().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DiUninstallDevice<P0, P1>(hwndparent: P0, deviceinfoset: P1, deviceinfodata: *const SP_DEVINFO_DATA, flags: u32, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("newdev.dll" "system" fn DiUninstallDevice(hwndparent : super::super::Foundation:: HWND, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| DiUninstallDevice(hwndparent.into_param().abi(), deviceinfoset.into_param().abi(), deviceinfodata, flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DiUninstallDriverA<P0, P1>(hwndparent: P0, infpath: P1, flags: DIUNINSTALLDRIVER_FLAGS, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("newdev.dll" "system" fn DiUninstallDriverA(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_core::PCSTR, flags : DIUNINSTALLDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| DiUninstallDriverA(hwndparent.into_param().abi(), infpath.into_param().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DiUninstallDriverW<P0, P1>(hwndparent: P0, infpath: P1, flags: DIUNINSTALLDRIVER_FLAGS, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("newdev.dll" "system" fn DiUninstallDriverW(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_core::PCWSTR, flags : DIUNINSTALLDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| DiUninstallDriverW(hwndparent.into_param().abi(), infpath.into_param().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn InstallHinfSectionA<P0, P1, P2>(window: P0, modulehandle: P1, commandline: P2, showcommand: i32) |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::HINSTANCE>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn InstallHinfSectionA(window : super::super::Foundation:: HWND, modulehandle : super::super::Foundation:: HINSTANCE, commandline : ::windows_core::PCSTR, showcommand : i32) -> ()); |
| InstallHinfSectionA(window.into_param().abi(), modulehandle.into_param().abi(), commandline.into_param().abi(), showcommand) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn InstallHinfSectionW<P0, P1, P2>(window: P0, modulehandle: P1, commandline: P2, showcommand: i32) |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::HINSTANCE>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn InstallHinfSectionW(window : super::super::Foundation:: HWND, modulehandle : super::super::Foundation:: HINSTANCE, commandline : ::windows_core::PCWSTR, showcommand : i32) -> ()); |
| InstallHinfSectionW(window.into_param().abi(), modulehandle.into_param().abi(), commandline.into_param().abi(), showcommand) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupAddInstallSectionToDiskSpaceListA<P0>(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, layoutinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, sectionname: P0, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupAddInstallSectionToDiskSpaceListA(diskspace : *const ::core::ffi::c_void, infhandle : *const ::core::ffi::c_void, layoutinfhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCSTR, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupAddInstallSectionToDiskSpaceListA(diskspace, infhandle, ::core::mem::transmute(layoutinfhandle.unwrap_or(::std::ptr::null())), sectionname.into_param().abi(), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupAddInstallSectionToDiskSpaceListW<P0>(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, layoutinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, sectionname: P0, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupAddInstallSectionToDiskSpaceListW(diskspace : *const ::core::ffi::c_void, infhandle : *const ::core::ffi::c_void, layoutinfhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCWSTR, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupAddInstallSectionToDiskSpaceListW(diskspace, infhandle, ::core::mem::transmute(layoutinfhandle.unwrap_or(::std::ptr::null())), sectionname.into_param().abi(), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupAddSectionToDiskSpaceListA<P0>(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, sectionname: P0, operation: SETUP_FILE_OPERATION, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupAddSectionToDiskSpaceListA(diskspace : *const ::core::ffi::c_void, infhandle : *const ::core::ffi::c_void, listinfhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCSTR, operation : SETUP_FILE_OPERATION, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupAddSectionToDiskSpaceListA(diskspace, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), sectionname.into_param().abi(), operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupAddSectionToDiskSpaceListW<P0>(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, sectionname: P0, operation: SETUP_FILE_OPERATION, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupAddSectionToDiskSpaceListW(diskspace : *const ::core::ffi::c_void, infhandle : *const ::core::ffi::c_void, listinfhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCWSTR, operation : SETUP_FILE_OPERATION, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupAddSectionToDiskSpaceListW(diskspace, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), sectionname.into_param().abi(), operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupAddToDiskSpaceListA<P0>(diskspace: *const ::core::ffi::c_void, targetfilespec: P0, filesize: i64, operation: SETUP_FILE_OPERATION, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupAddToDiskSpaceListA(diskspace : *const ::core::ffi::c_void, targetfilespec : ::windows_core::PCSTR, filesize : i64, operation : SETUP_FILE_OPERATION, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupAddToDiskSpaceListA(diskspace, targetfilespec.into_param().abi(), filesize, operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupAddToDiskSpaceListW<P0>(diskspace: *const ::core::ffi::c_void, targetfilespec: P0, filesize: i64, operation: SETUP_FILE_OPERATION, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupAddToDiskSpaceListW(diskspace : *const ::core::ffi::c_void, targetfilespec : ::windows_core::PCWSTR, filesize : i64, operation : SETUP_FILE_OPERATION, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupAddToDiskSpaceListW(diskspace, targetfilespec.into_param().abi(), filesize, operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupAddToSourceListA<P0>(flags: u32, source: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupAddToSourceListA(flags : u32, source : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); |
| SetupAddToSourceListA(flags, source.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupAddToSourceListW<P0>(flags: u32, source: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupAddToSourceListW(flags : u32, source : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); |
| SetupAddToSourceListW(flags, source.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupAdjustDiskSpaceListA<P0>(diskspace: *const ::core::ffi::c_void, driveroot: P0, amount: i64, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupAdjustDiskSpaceListA(diskspace : *const ::core::ffi::c_void, driveroot : ::windows_core::PCSTR, amount : i64, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupAdjustDiskSpaceListA(diskspace, driveroot.into_param().abi(), amount, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupAdjustDiskSpaceListW<P0>(diskspace: *const ::core::ffi::c_void, driveroot: P0, amount: i64, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupAdjustDiskSpaceListW(diskspace : *const ::core::ffi::c_void, driveroot : ::windows_core::PCWSTR, amount : i64, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupAdjustDiskSpaceListW(diskspace, driveroot.into_param().abi(), amount, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupBackupErrorA<P0, P1, P2, P3>(hwndparent: P0, dialogtitle: P1, sourcefile: P2, targetfile: P3, win32errorcode: u32, style: u32) -> u32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupBackupErrorA(hwndparent : super::super::Foundation:: HWND, dialogtitle : ::windows_core::PCSTR, sourcefile : ::windows_core::PCSTR, targetfile : ::windows_core::PCSTR, win32errorcode : u32, style : u32) -> u32); |
| SetupBackupErrorA(hwndparent.into_param().abi(), dialogtitle.into_param().abi(), sourcefile.into_param().abi(), targetfile.into_param().abi(), win32errorcode, style) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupBackupErrorW<P0, P1, P2, P3>(hwndparent: P0, dialogtitle: P1, sourcefile: P2, targetfile: P3, win32errorcode: u32, style: u32) -> u32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupBackupErrorW(hwndparent : super::super::Foundation:: HWND, dialogtitle : ::windows_core::PCWSTR, sourcefile : ::windows_core::PCWSTR, targetfile : ::windows_core::PCWSTR, win32errorcode : u32, style : u32) -> u32); |
| SetupBackupErrorW(hwndparent.into_param().abi(), dialogtitle.into_param().abi(), sourcefile.into_param().abi(), targetfile.into_param().abi(), win32errorcode, style) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupCancelTemporarySourceList() -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupCancelTemporarySourceList() -> super::super::Foundation:: BOOL); |
| SetupCancelTemporarySourceList().ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupCloseFileQueue(queuehandle: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupCloseFileQueue(queuehandle : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupCloseFileQueue(queuehandle) |
| } |
| #[inline] |
| pub unsafe fn SetupCloseInfFile(infhandle: *const ::core::ffi::c_void) { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupCloseInfFile(infhandle : *const ::core::ffi::c_void) -> ()); |
| SetupCloseInfFile(infhandle) |
| } |
| #[inline] |
| pub unsafe fn SetupCloseLog() { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupCloseLog() -> ()); |
| SetupCloseLog() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupCommitFileQueueA<P0>(owner: P0, queuehandle: *const ::core::ffi::c_void, msghandler: PSP_FILE_CALLBACK_A, context: *const ::core::ffi::c_void) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupCommitFileQueueA(owner : super::super::Foundation:: HWND, queuehandle : *const ::core::ffi::c_void, msghandler : PSP_FILE_CALLBACK_A, context : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupCommitFileQueueA(owner.into_param().abi(), queuehandle, msghandler, context).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupCommitFileQueueW<P0>(owner: P0, queuehandle: *const ::core::ffi::c_void, msghandler: PSP_FILE_CALLBACK_W, context: *const ::core::ffi::c_void) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupCommitFileQueueW(owner : super::super::Foundation:: HWND, queuehandle : *const ::core::ffi::c_void, msghandler : PSP_FILE_CALLBACK_W, context : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupCommitFileQueueW(owner.into_param().abi(), queuehandle, msghandler, context).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupConfigureWmiFromInfSectionA<P0>(infhandle: *const ::core::ffi::c_void, sectionname: P0, flags: u32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupConfigureWmiFromInfSectionA(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCSTR, flags : u32) -> super::super::Foundation:: BOOL); |
| SetupConfigureWmiFromInfSectionA(infhandle, sectionname.into_param().abi(), flags) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupConfigureWmiFromInfSectionW<P0>(infhandle: *const ::core::ffi::c_void, sectionname: P0, flags: u32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupConfigureWmiFromInfSectionW(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCWSTR, flags : u32) -> super::super::Foundation:: BOOL); |
| SetupConfigureWmiFromInfSectionW(infhandle, sectionname.into_param().abi(), flags) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupCopyErrorA<P0, P1, P2, P3, P4, P5>(hwndparent: P0, dialogtitle: P1, diskname: P2, pathtosource: P3, sourcefile: P4, targetpathfile: P5, win32errorcode: u32, style: u32, pathbuffer: ::core::option::Option<&mut [u8]>, pathrequiredsize: ::core::option::Option<*mut u32>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P4: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P5: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupCopyErrorA(hwndparent : super::super::Foundation:: HWND, dialogtitle : ::windows_core::PCSTR, diskname : ::windows_core::PCSTR, pathtosource : ::windows_core::PCSTR, sourcefile : ::windows_core::PCSTR, targetpathfile : ::windows_core::PCSTR, win32errorcode : u32, style : u32, pathbuffer : ::windows_core::PSTR, pathbuffersize : u32, pathrequiredsize : *mut u32) -> u32); |
| SetupCopyErrorA(hwndparent.into_param().abi(), dialogtitle.into_param().abi(), diskname.into_param().abi(), pathtosource.into_param().abi(), sourcefile.into_param().abi(), targetpathfile.into_param().abi(), win32errorcode, style, ::core::mem::transmute(pathbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pathbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pathrequiredsize.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupCopyErrorW<P0, P1, P2, P3, P4, P5>(hwndparent: P0, dialogtitle: P1, diskname: P2, pathtosource: P3, sourcefile: P4, targetpathfile: P5, win32errorcode: u32, style: u32, pathbuffer: ::core::option::Option<&mut [u16]>, pathrequiredsize: ::core::option::Option<*mut u32>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P4: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P5: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupCopyErrorW(hwndparent : super::super::Foundation:: HWND, dialogtitle : ::windows_core::PCWSTR, diskname : ::windows_core::PCWSTR, pathtosource : ::windows_core::PCWSTR, sourcefile : ::windows_core::PCWSTR, targetpathfile : ::windows_core::PCWSTR, win32errorcode : u32, style : u32, pathbuffer : ::windows_core::PWSTR, pathbuffersize : u32, pathrequiredsize : *mut u32) -> u32); |
| SetupCopyErrorW(hwndparent.into_param().abi(), dialogtitle.into_param().abi(), diskname.into_param().abi(), pathtosource.into_param().abi(), sourcefile.into_param().abi(), targetpathfile.into_param().abi(), win32errorcode, style, ::core::mem::transmute(pathbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pathbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pathrequiredsize.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupCopyOEMInfA<P0, P1>(sourceinffilename: P0, oemsourcemedialocation: P1, oemsourcemediatype: OEM_SOURCE_MEDIA_TYPE, copystyle: SP_COPY_STYLE, destinationinffilename: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>, destinationinffilenamecomponent: ::core::option::Option<*mut ::windows_core::PSTR>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupCopyOEMInfA(sourceinffilename : ::windows_core::PCSTR, oemsourcemedialocation : ::windows_core::PCSTR, oemsourcemediatype : OEM_SOURCE_MEDIA_TYPE, copystyle : SP_COPY_STYLE, destinationinffilename : ::windows_core::PSTR, destinationinffilenamesize : u32, requiredsize : *mut u32, destinationinffilenamecomponent : *mut ::windows_core::PSTR) -> super::super::Foundation:: BOOL); |
| SetupCopyOEMInfA(sourceinffilename.into_param().abi(), oemsourcemedialocation.into_param().abi(), oemsourcemediatype, copystyle, ::core::mem::transmute(destinationinffilename.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), destinationinffilename.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(destinationinffilenamecomponent.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupCopyOEMInfW<P0, P1>(sourceinffilename: P0, oemsourcemedialocation: P1, oemsourcemediatype: OEM_SOURCE_MEDIA_TYPE, copystyle: SP_COPY_STYLE, destinationinffilename: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>, destinationinffilenamecomponent: ::core::option::Option<*mut ::windows_core::PWSTR>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupCopyOEMInfW(sourceinffilename : ::windows_core::PCWSTR, oemsourcemedialocation : ::windows_core::PCWSTR, oemsourcemediatype : OEM_SOURCE_MEDIA_TYPE, copystyle : SP_COPY_STYLE, destinationinffilename : ::windows_core::PWSTR, destinationinffilenamesize : u32, requiredsize : *mut u32, destinationinffilenamecomponent : *mut ::windows_core::PWSTR) -> super::super::Foundation:: BOOL); |
| SetupCopyOEMInfW(sourceinffilename.into_param().abi(), oemsourcemedialocation.into_param().abi(), oemsourcemediatype, copystyle, ::core::mem::transmute(destinationinffilename.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), destinationinffilename.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(destinationinffilenamecomponent.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[inline] |
| pub unsafe fn SetupCreateDiskSpaceListA(reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32, flags: u32) -> *mut ::core::ffi::c_void { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupCreateDiskSpaceListA(reserved1 : *const ::core::ffi::c_void, reserved2 : u32, flags : u32) -> *mut ::core::ffi::c_void); |
| SetupCreateDiskSpaceListA(::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2, flags) |
| } |
| #[inline] |
| pub unsafe fn SetupCreateDiskSpaceListW(reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32, flags: u32) -> *mut ::core::ffi::c_void { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupCreateDiskSpaceListW(reserved1 : *const ::core::ffi::c_void, reserved2 : u32, flags : u32) -> *mut ::core::ffi::c_void); |
| SetupCreateDiskSpaceListW(::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2, flags) |
| } |
| #[inline] |
| pub unsafe fn SetupDecompressOrCopyFileA<P0, P1>(sourcefilename: P0, targetfilename: P1, compressiontype: ::core::option::Option<*const u32>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDecompressOrCopyFileA(sourcefilename : ::windows_core::PCSTR, targetfilename : ::windows_core::PCSTR, compressiontype : *const u32) -> u32); |
| SetupDecompressOrCopyFileA(sourcefilename.into_param().abi(), targetfilename.into_param().abi(), ::core::mem::transmute(compressiontype.unwrap_or(::std::ptr::null()))) |
| } |
| #[inline] |
| pub unsafe fn SetupDecompressOrCopyFileW<P0, P1>(sourcefilename: P0, targetfilename: P1, compressiontype: ::core::option::Option<*const u32>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDecompressOrCopyFileW(sourcefilename : ::windows_core::PCWSTR, targetfilename : ::windows_core::PCWSTR, compressiontype : *const u32) -> u32); |
| SetupDecompressOrCopyFileW(sourcefilename.into_param().abi(), targetfilename.into_param().abi(), ::core::mem::transmute(compressiontype.unwrap_or(::std::ptr::null()))) |
| } |
| #[inline] |
| pub unsafe fn SetupDefaultQueueCallbackA(context: *const ::core::ffi::c_void, notification: u32, param1: usize, param2: usize) -> u32 { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDefaultQueueCallbackA(context : *const ::core::ffi::c_void, notification : u32, param1 : usize, param2 : usize) -> u32); |
| SetupDefaultQueueCallbackA(context, notification, param1, param2) |
| } |
| #[inline] |
| pub unsafe fn SetupDefaultQueueCallbackW(context: *const ::core::ffi::c_void, notification: u32, param1: usize, param2: usize) -> u32 { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDefaultQueueCallbackW(context : *const ::core::ffi::c_void, notification : u32, param1 : usize, param2 : usize) -> u32); |
| SetupDefaultQueueCallbackW(context, notification, param1, param2) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDeleteErrorA<P0, P1, P2>(hwndparent: P0, dialogtitle: P1, file: P2, win32errorcode: u32, style: u32) -> u32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDeleteErrorA(hwndparent : super::super::Foundation:: HWND, dialogtitle : ::windows_core::PCSTR, file : ::windows_core::PCSTR, win32errorcode : u32, style : u32) -> u32); |
| SetupDeleteErrorA(hwndparent.into_param().abi(), dialogtitle.into_param().abi(), file.into_param().abi(), win32errorcode, style) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDeleteErrorW<P0, P1, P2>(hwndparent: P0, dialogtitle: P1, file: P2, win32errorcode: u32, style: u32) -> u32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDeleteErrorW(hwndparent : super::super::Foundation:: HWND, dialogtitle : ::windows_core::PCWSTR, file : ::windows_core::PCWSTR, win32errorcode : u32, style : u32) -> u32); |
| SetupDeleteErrorW(hwndparent.into_param().abi(), dialogtitle.into_param().abi(), file.into_param().abi(), win32errorcode, style) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDestroyDiskSpaceList(diskspace: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDestroyDiskSpaceList(diskspace : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDestroyDiskSpaceList(diskspace).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiAskForOEMDisk<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiAskForOEMDisk(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiAskForOEMDisk(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiBuildClassInfoList(flags: u32, classguidlist: ::core::option::Option<&mut [::windows_core::GUID]>, requiredsize: *mut u32) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiBuildClassInfoList(flags : u32, classguidlist : *mut ::windows_core::GUID, classguidlistsize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiBuildClassInfoList(flags, ::core::mem::transmute(classguidlist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), classguidlist.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), requiredsize).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiBuildClassInfoListExA<P0>(flags: u32, classguidlist: ::core::option::Option<&mut [::windows_core::GUID]>, requiredsize: *mut u32, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiBuildClassInfoListExA(flags : u32, classguidlist : *mut ::windows_core::GUID, classguidlistsize : u32, requiredsize : *mut u32, machinename : ::windows_core::PCSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiBuildClassInfoListExA(flags, ::core::mem::transmute(classguidlist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), classguidlist.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), requiredsize, machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiBuildClassInfoListExW<P0>(flags: u32, classguidlist: ::core::option::Option<&mut [::windows_core::GUID]>, requiredsize: *mut u32, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiBuildClassInfoListExW(flags : u32, classguidlist : *mut ::windows_core::GUID, classguidlistsize : u32, requiredsize : *mut u32, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiBuildClassInfoListExW(flags, ::core::mem::transmute(classguidlist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), classguidlist.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), requiredsize, machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiBuildDriverInfoList<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*mut SP_DEVINFO_DATA>, drivertype: SETUP_DI_BUILD_DRIVER_DRIVER_TYPE) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiBuildDriverInfoList(deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA, drivertype : SETUP_DI_BUILD_DRIVER_DRIVER_TYPE) -> super::super::Foundation:: BOOL); |
| SetupDiBuildDriverInfoList(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut())), drivertype).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiCallClassInstaller<P0>(installfunction: u32, deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiCallClassInstaller(installfunction : u32, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiCallClassInstaller(installfunction, deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiCancelDriverInfoSearch<P0>(deviceinfoset: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiCancelDriverInfoSearch(deviceinfoset : HDEVINFO) -> super::super::Foundation:: BOOL); |
| SetupDiCancelDriverInfoSearch(deviceinfoset.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiChangeState<P0>(deviceinfoset: P0, deviceinfodata: *mut SP_DEVINFO_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiChangeState(deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiChangeState(deviceinfoset.into_param().abi(), deviceinfodata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiClassGuidsFromNameA<P0>(classname: P0, classguidlist: &mut [::windows_core::GUID], requiredsize: *mut u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiClassGuidsFromNameA(classname : ::windows_core::PCSTR, classguidlist : *mut ::windows_core::GUID, classguidlistsize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiClassGuidsFromNameA(classname.into_param().abi(), ::core::mem::transmute(classguidlist.as_ptr()), classguidlist.len().try_into().unwrap(), requiredsize).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiClassGuidsFromNameExA<P0, P1>(classname: P0, classguidlist: &mut [::windows_core::GUID], requiredsize: *mut u32, machinename: P1, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiClassGuidsFromNameExA(classname : ::windows_core::PCSTR, classguidlist : *mut ::windows_core::GUID, classguidlistsize : u32, requiredsize : *mut u32, machinename : ::windows_core::PCSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiClassGuidsFromNameExA(classname.into_param().abi(), ::core::mem::transmute(classguidlist.as_ptr()), classguidlist.len().try_into().unwrap(), requiredsize, machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiClassGuidsFromNameExW<P0, P1>(classname: P0, classguidlist: &mut [::windows_core::GUID], requiredsize: *mut u32, machinename: P1, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiClassGuidsFromNameExW(classname : ::windows_core::PCWSTR, classguidlist : *mut ::windows_core::GUID, classguidlistsize : u32, requiredsize : *mut u32, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiClassGuidsFromNameExW(classname.into_param().abi(), ::core::mem::transmute(classguidlist.as_ptr()), classguidlist.len().try_into().unwrap(), requiredsize, machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiClassGuidsFromNameW<P0>(classname: P0, classguidlist: &mut [::windows_core::GUID], requiredsize: *mut u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiClassGuidsFromNameW(classname : ::windows_core::PCWSTR, classguidlist : *mut ::windows_core::GUID, classguidlistsize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiClassGuidsFromNameW(classname.into_param().abi(), ::core::mem::transmute(classguidlist.as_ptr()), classguidlist.len().try_into().unwrap(), requiredsize).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiClassNameFromGuidA(classguid: *const ::windows_core::GUID, classname: &mut [u8], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiClassNameFromGuidA(classguid : *const ::windows_core::GUID, classname : ::windows_core::PSTR, classnamesize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiClassNameFromGuidA(classguid, ::core::mem::transmute(classname.as_ptr()), classname.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiClassNameFromGuidExA<P0>(classguid: *const ::windows_core::GUID, classname: &mut [u8], requiredsize: ::core::option::Option<*mut u32>, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiClassNameFromGuidExA(classguid : *const ::windows_core::GUID, classname : ::windows_core::PSTR, classnamesize : u32, requiredsize : *mut u32, machinename : ::windows_core::PCSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiClassNameFromGuidExA(classguid, ::core::mem::transmute(classname.as_ptr()), classname.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiClassNameFromGuidExW<P0>(classguid: *const ::windows_core::GUID, classname: &mut [u16], requiredsize: ::core::option::Option<*mut u32>, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiClassNameFromGuidExW(classguid : *const ::windows_core::GUID, classname : ::windows_core::PWSTR, classnamesize : u32, requiredsize : *mut u32, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiClassNameFromGuidExW(classguid, ::core::mem::transmute(classname.as_ptr()), classname.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiClassNameFromGuidW(classguid: *const ::windows_core::GUID, classname: &mut [u16], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiClassNameFromGuidW(classguid : *const ::windows_core::GUID, classname : ::windows_core::PWSTR, classnamesize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiClassNameFromGuidW(classguid, ::core::mem::transmute(classname.as_ptr()), classname.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn SetupDiCreateDevRegKeyA<P0, P1>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, scope: u32, hwprofile: u32, keytype: u32, infhandle: ::core::option::Option<*const ::core::ffi::c_void>, infsectionname: P1) -> ::windows_core::Result<super::super::System::Registry::HKEY> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiCreateDevRegKeyA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, scope : u32, hwprofile : u32, keytype : u32, infhandle : *const ::core::ffi::c_void, infsectionname : ::windows_core::PCSTR) -> super::super::System::Registry:: HKEY); |
| let result__ = SetupDiCreateDevRegKeyA(deviceinfoset.into_param().abi(), deviceinfodata, scope, hwprofile, keytype, ::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), infsectionname.into_param().abi()); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn SetupDiCreateDevRegKeyW<P0, P1>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, scope: u32, hwprofile: u32, keytype: u32, infhandle: ::core::option::Option<*const ::core::ffi::c_void>, infsectionname: P1) -> ::windows_core::Result<super::super::System::Registry::HKEY> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiCreateDevRegKeyW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, scope : u32, hwprofile : u32, keytype : u32, infhandle : *const ::core::ffi::c_void, infsectionname : ::windows_core::PCWSTR) -> super::super::System::Registry:: HKEY); |
| let result__ = SetupDiCreateDevRegKeyW(deviceinfoset.into_param().abi(), deviceinfodata, scope, hwprofile, keytype, ::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), infsectionname.into_param().abi()); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiCreateDeviceInfoA<P0, P1, P2, P3>(deviceinfoset: P0, devicename: P1, classguid: *const ::windows_core::GUID, devicedescription: P2, hwndparent: P3, creationflags: u32, deviceinfodata: ::core::option::Option<*mut SP_DEVINFO_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P3: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiCreateDeviceInfoA(deviceinfoset : HDEVINFO, devicename : ::windows_core::PCSTR, classguid : *const ::windows_core::GUID, devicedescription : ::windows_core::PCSTR, hwndparent : super::super::Foundation:: HWND, creationflags : u32, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiCreateDeviceInfoA(deviceinfoset.into_param().abi(), devicename.into_param().abi(), classguid, devicedescription.into_param().abi(), hwndparent.into_param().abi(), creationflags, ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiCreateDeviceInfoList<P0>(classguid: ::core::option::Option<*const ::windows_core::GUID>, hwndparent: P0) -> ::windows_core::Result<HDEVINFO> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiCreateDeviceInfoList(classguid : *const ::windows_core::GUID, hwndparent : super::super::Foundation:: HWND) -> HDEVINFO); |
| let result__ = SetupDiCreateDeviceInfoList(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), hwndparent.into_param().abi()); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiCreateDeviceInfoListExA<P0, P1>(classguid: ::core::option::Option<*const ::windows_core::GUID>, hwndparent: P0, machinename: P1, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<HDEVINFO> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiCreateDeviceInfoListExA(classguid : *const ::windows_core::GUID, hwndparent : super::super::Foundation:: HWND, machinename : ::windows_core::PCSTR, reserved : *const ::core::ffi::c_void) -> HDEVINFO); |
| let result__ = SetupDiCreateDeviceInfoListExA(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), hwndparent.into_param().abi(), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiCreateDeviceInfoListExW<P0, P1>(classguid: ::core::option::Option<*const ::windows_core::GUID>, hwndparent: P0, machinename: P1, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<HDEVINFO> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiCreateDeviceInfoListExW(classguid : *const ::windows_core::GUID, hwndparent : super::super::Foundation:: HWND, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> HDEVINFO); |
| let result__ = SetupDiCreateDeviceInfoListExW(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), hwndparent.into_param().abi(), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiCreateDeviceInfoW<P0, P1, P2, P3>(deviceinfoset: P0, devicename: P1, classguid: *const ::windows_core::GUID, devicedescription: P2, hwndparent: P3, creationflags: u32, deviceinfodata: ::core::option::Option<*mut SP_DEVINFO_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P3: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiCreateDeviceInfoW(deviceinfoset : HDEVINFO, devicename : ::windows_core::PCWSTR, classguid : *const ::windows_core::GUID, devicedescription : ::windows_core::PCWSTR, hwndparent : super::super::Foundation:: HWND, creationflags : u32, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiCreateDeviceInfoW(deviceinfoset.into_param().abi(), devicename.into_param().abi(), classguid, devicedescription.into_param().abi(), hwndparent.into_param().abi(), creationflags, ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiCreateDeviceInterfaceA<P0, P1>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, interfaceclassguid: *const ::windows_core::GUID, referencestring: P1, creationflags: u32, deviceinterfacedata: ::core::option::Option<*mut SP_DEVICE_INTERFACE_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiCreateDeviceInterfaceA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, interfaceclassguid : *const ::windows_core::GUID, referencestring : ::windows_core::PCSTR, creationflags : u32, deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiCreateDeviceInterfaceA(deviceinfoset.into_param().abi(), deviceinfodata, interfaceclassguid, referencestring.into_param().abi(), creationflags, ::core::mem::transmute(deviceinterfacedata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn SetupDiCreateDeviceInterfaceRegKeyA<P0, P1>(deviceinfoset: P0, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, reserved: u32, samdesired: u32, infhandle: ::core::option::Option<*const ::core::ffi::c_void>, infsectionname: P1) -> ::windows_core::Result<super::super::System::Registry::HKEY> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiCreateDeviceInterfaceRegKeyA(deviceinfoset : HDEVINFO, deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA, reserved : u32, samdesired : u32, infhandle : *const ::core::ffi::c_void, infsectionname : ::windows_core::PCSTR) -> super::super::System::Registry:: HKEY); |
| let result__ = SetupDiCreateDeviceInterfaceRegKeyA(deviceinfoset.into_param().abi(), deviceinterfacedata, reserved, samdesired, ::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), infsectionname.into_param().abi()); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn SetupDiCreateDeviceInterfaceRegKeyW<P0, P1>(deviceinfoset: P0, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, reserved: u32, samdesired: u32, infhandle: ::core::option::Option<*const ::core::ffi::c_void>, infsectionname: P1) -> ::windows_core::Result<super::super::System::Registry::HKEY> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiCreateDeviceInterfaceRegKeyW(deviceinfoset : HDEVINFO, deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA, reserved : u32, samdesired : u32, infhandle : *const ::core::ffi::c_void, infsectionname : ::windows_core::PCWSTR) -> super::super::System::Registry:: HKEY); |
| let result__ = SetupDiCreateDeviceInterfaceRegKeyW(deviceinfoset.into_param().abi(), deviceinterfacedata, reserved, samdesired, ::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), infsectionname.into_param().abi()); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiCreateDeviceInterfaceW<P0, P1>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, interfaceclassguid: *const ::windows_core::GUID, referencestring: P1, creationflags: u32, deviceinterfacedata: ::core::option::Option<*mut SP_DEVICE_INTERFACE_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiCreateDeviceInterfaceW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, interfaceclassguid : *const ::windows_core::GUID, referencestring : ::windows_core::PCWSTR, creationflags : u32, deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiCreateDeviceInterfaceW(deviceinfoset.into_param().abi(), deviceinfodata, interfaceclassguid, referencestring.into_param().abi(), creationflags, ::core::mem::transmute(deviceinterfacedata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiDeleteDevRegKey<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, scope: u32, hwprofile: u32, keytype: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiDeleteDevRegKey(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, scope : u32, hwprofile : u32, keytype : u32) -> super::super::Foundation:: BOOL); |
| SetupDiDeleteDevRegKey(deviceinfoset.into_param().abi(), deviceinfodata, scope, hwprofile, keytype).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiDeleteDeviceInfo<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiDeleteDeviceInfo(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiDeleteDeviceInfo(deviceinfoset.into_param().abi(), deviceinfodata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiDeleteDeviceInterfaceData<P0>(deviceinfoset: P0, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiDeleteDeviceInterfaceData(deviceinfoset : HDEVINFO, deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiDeleteDeviceInterfaceData(deviceinfoset.into_param().abi(), deviceinterfacedata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiDeleteDeviceInterfaceRegKey<P0>(deviceinfoset: P0, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, reserved: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiDeleteDeviceInterfaceRegKey(deviceinfoset : HDEVINFO, deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA, reserved : u32) -> super::super::Foundation:: BOOL); |
| SetupDiDeleteDeviceInterfaceRegKey(deviceinfoset.into_param().abi(), deviceinterfacedata, reserved).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| #[inline] |
| pub unsafe fn SetupDiDestroyClassImageList(classimagelistdata: *const SP_CLASSIMAGELIST_DATA) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiDestroyClassImageList(classimagelistdata : *const SP_CLASSIMAGELIST_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiDestroyClassImageList(classimagelistdata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiDestroyDeviceInfoList<P0>(deviceinfoset: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiDestroyDeviceInfoList(deviceinfoset : HDEVINFO) -> super::super::Foundation:: BOOL); |
| SetupDiDestroyDeviceInfoList(deviceinfoset.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiDestroyDriverInfoList<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, drivertype: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiDestroyDriverInfoList(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, drivertype : u32) -> super::super::Foundation:: BOOL); |
| SetupDiDestroyDriverInfoList(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), drivertype).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] |
| #[inline] |
| pub unsafe fn SetupDiDrawMiniIcon<P0>(hdc: P0, rc: super::super::Foundation::RECT, miniiconindex: i32, flags: u32) -> i32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Graphics::Gdi::HDC>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiDrawMiniIcon(hdc : super::super::Graphics::Gdi:: HDC, rc : super::super::Foundation:: RECT, miniiconindex : i32, flags : u32) -> i32); |
| SetupDiDrawMiniIcon(hdc.into_param().abi(), ::core::mem::transmute(rc), miniiconindex, flags) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiEnumDeviceInfo<P0>(deviceinfoset: P0, memberindex: u32, deviceinfodata: *mut SP_DEVINFO_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiEnumDeviceInfo(deviceinfoset : HDEVINFO, memberindex : u32, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiEnumDeviceInfo(deviceinfoset.into_param().abi(), memberindex, deviceinfodata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiEnumDeviceInterfaces<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, interfaceclassguid: *const ::windows_core::GUID, memberindex: u32, deviceinterfacedata: *mut SP_DEVICE_INTERFACE_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiEnumDeviceInterfaces(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, interfaceclassguid : *const ::windows_core::GUID, memberindex : u32, deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiEnumDeviceInterfaces(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), interfaceclassguid, memberindex, deviceinterfacedata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiEnumDriverInfoA<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, drivertype: u32, memberindex: u32, driverinfodata: *mut SP_DRVINFO_DATA_V2_A) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiEnumDriverInfoA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, drivertype : u32, memberindex : u32, driverinfodata : *mut SP_DRVINFO_DATA_V2_A) -> super::super::Foundation:: BOOL); |
| SetupDiEnumDriverInfoA(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), drivertype, memberindex, driverinfodata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiEnumDriverInfoW<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, drivertype: u32, memberindex: u32, driverinfodata: *mut SP_DRVINFO_DATA_V2_W) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiEnumDriverInfoW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, drivertype : u32, memberindex : u32, driverinfodata : *mut SP_DRVINFO_DATA_V2_W) -> super::super::Foundation:: BOOL); |
| SetupDiEnumDriverInfoW(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), drivertype, memberindex, driverinfodata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] |
| #[inline] |
| pub unsafe fn SetupDiGetActualModelsSectionA(context: *const INFCONTEXT, alternateplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, infsectionwithext: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetActualModelsSectionA(context : *const INFCONTEXT, alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2, infsectionwithext : ::windows_core::PSTR, infsectionwithextsize : u32, requiredsize : *mut u32, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetActualModelsSectionA(context, ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infsectionwithext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), infsectionwithext.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] |
| #[inline] |
| pub unsafe fn SetupDiGetActualModelsSectionW(context: *const INFCONTEXT, alternateplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, infsectionwithext: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetActualModelsSectionW(context : *const INFCONTEXT, alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2, infsectionwithext : ::windows_core::PWSTR, infsectionwithextsize : u32, requiredsize : *mut u32, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetActualModelsSectionW(context, ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infsectionwithext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), infsectionwithext.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetActualSectionToInstallA<P0>(infhandle: *const ::core::ffi::c_void, infsectionname: P0, infsectionwithext: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>, extension: ::core::option::Option<*mut ::windows_core::PSTR>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetActualSectionToInstallA(infhandle : *const ::core::ffi::c_void, infsectionname : ::windows_core::PCSTR, infsectionwithext : ::windows_core::PSTR, infsectionwithextsize : u32, requiredsize : *mut u32, extension : *mut ::windows_core::PSTR) -> super::super::Foundation:: BOOL); |
| SetupDiGetActualSectionToInstallA(infhandle, infsectionname.into_param().abi(), ::core::mem::transmute(infsectionwithext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), infsectionwithext.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(extension.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] |
| #[inline] |
| pub unsafe fn SetupDiGetActualSectionToInstallExA<P0>(infhandle: *const ::core::ffi::c_void, infsectionname: P0, alternateplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, infsectionwithext: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>, extension: ::core::option::Option<*mut ::windows_core::PSTR>, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetActualSectionToInstallExA(infhandle : *const ::core::ffi::c_void, infsectionname : ::windows_core::PCSTR, alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2, infsectionwithext : ::windows_core::PSTR, infsectionwithextsize : u32, requiredsize : *mut u32, extension : *mut ::windows_core::PSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetActualSectionToInstallExA( |
| infhandle, |
| infsectionname.into_param().abi(), |
| ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), |
| ::core::mem::transmute(infsectionwithext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), |
| infsectionwithext.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), |
| ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), |
| ::core::mem::transmute(extension.unwrap_or(::std::ptr::null_mut())), |
| ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), |
| ) |
| .ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] |
| #[inline] |
| pub unsafe fn SetupDiGetActualSectionToInstallExW<P0>(infhandle: *const ::core::ffi::c_void, infsectionname: P0, alternateplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, infsectionwithext: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>, extension: ::core::option::Option<*mut ::windows_core::PWSTR>, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetActualSectionToInstallExW(infhandle : *const ::core::ffi::c_void, infsectionname : ::windows_core::PCWSTR, alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2, infsectionwithext : ::windows_core::PWSTR, infsectionwithextsize : u32, requiredsize : *mut u32, extension : *mut ::windows_core::PWSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetActualSectionToInstallExW( |
| infhandle, |
| infsectionname.into_param().abi(), |
| ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), |
| ::core::mem::transmute(infsectionwithext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), |
| infsectionwithext.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), |
| ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), |
| ::core::mem::transmute(extension.unwrap_or(::std::ptr::null_mut())), |
| ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), |
| ) |
| .ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetActualSectionToInstallW<P0>(infhandle: *const ::core::ffi::c_void, infsectionname: P0, infsectionwithext: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>, extension: ::core::option::Option<*mut ::windows_core::PWSTR>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetActualSectionToInstallW(infhandle : *const ::core::ffi::c_void, infsectionname : ::windows_core::PCWSTR, infsectionwithext : ::windows_core::PWSTR, infsectionwithextsize : u32, requiredsize : *mut u32, extension : *mut ::windows_core::PWSTR) -> super::super::Foundation:: BOOL); |
| SetupDiGetActualSectionToInstallW(infhandle, infsectionname.into_param().abi(), ::core::mem::transmute(infsectionwithext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), infsectionwithext.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(extension.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetClassBitmapIndex(classguid: ::core::option::Option<*const ::windows_core::GUID>, miniiconindex: *mut i32) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassBitmapIndex(classguid : *const ::windows_core::GUID, miniiconindex : *mut i32) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassBitmapIndex(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), miniiconindex).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetClassDescriptionA(classguid: *const ::windows_core::GUID, classdescription: &mut [u8], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassDescriptionA(classguid : *const ::windows_core::GUID, classdescription : ::windows_core::PSTR, classdescriptionsize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassDescriptionA(classguid, ::core::mem::transmute(classdescription.as_ptr()), classdescription.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetClassDescriptionExA<P0>(classguid: *const ::windows_core::GUID, classdescription: &mut [u8], requiredsize: ::core::option::Option<*mut u32>, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassDescriptionExA(classguid : *const ::windows_core::GUID, classdescription : ::windows_core::PSTR, classdescriptionsize : u32, requiredsize : *mut u32, machinename : ::windows_core::PCSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassDescriptionExA(classguid, ::core::mem::transmute(classdescription.as_ptr()), classdescription.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetClassDescriptionExW<P0>(classguid: *const ::windows_core::GUID, classdescription: &mut [u16], requiredsize: ::core::option::Option<*mut u32>, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassDescriptionExW(classguid : *const ::windows_core::GUID, classdescription : ::windows_core::PWSTR, classdescriptionsize : u32, requiredsize : *mut u32, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassDescriptionExW(classguid, ::core::mem::transmute(classdescription.as_ptr()), classdescription.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetClassDescriptionW(classguid: *const ::windows_core::GUID, classdescription: &mut [u16], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassDescriptionW(classguid : *const ::windows_core::GUID, classdescription : ::windows_core::PWSTR, classdescriptionsize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassDescriptionW(classguid, ::core::mem::transmute(classdescription.as_ptr()), classdescription.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] |
| #[inline] |
| pub unsafe fn SetupDiGetClassDevPropertySheetsA<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, propertysheetheader: *const super::super::UI::Controls::PROPSHEETHEADERA_V2, propertysheetheaderpagelistsize: u32, requiredsize: ::core::option::Option<*mut u32>, propertysheettype: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassDevPropertySheetsA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, propertysheetheader : *const super::super::UI::Controls:: PROPSHEETHEADERA_V2, propertysheetheaderpagelistsize : u32, requiredsize : *mut u32, propertysheettype : u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassDevPropertySheetsA(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), propertysheetheader, propertysheetheaderpagelistsize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), propertysheettype).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] |
| #[inline] |
| pub unsafe fn SetupDiGetClassDevPropertySheetsW<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, propertysheetheader: *const super::super::UI::Controls::PROPSHEETHEADERW_V2, propertysheetheaderpagelistsize: u32, requiredsize: ::core::option::Option<*mut u32>, propertysheettype: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassDevPropertySheetsW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, propertysheetheader : *const super::super::UI::Controls:: PROPSHEETHEADERW_V2, propertysheetheaderpagelistsize : u32, requiredsize : *mut u32, propertysheettype : u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassDevPropertySheetsW(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), propertysheetheader, propertysheetheaderpagelistsize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), propertysheettype).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetClassDevsA<P0, P1>(classguid: ::core::option::Option<*const ::windows_core::GUID>, enumerator: P0, hwndparent: P1, flags: u32) -> ::windows_core::Result<HDEVINFO> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassDevsA(classguid : *const ::windows_core::GUID, enumerator : ::windows_core::PCSTR, hwndparent : super::super::Foundation:: HWND, flags : u32) -> HDEVINFO); |
| let result__ = SetupDiGetClassDevsA(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), enumerator.into_param().abi(), hwndparent.into_param().abi(), flags); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetClassDevsExA<P0, P1, P2, P3>(classguid: ::core::option::Option<*const ::windows_core::GUID>, enumerator: P0, hwndparent: P1, flags: u32, deviceinfoset: P2, machinename: P3, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<HDEVINFO> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P2: ::windows_core::IntoParam<HDEVINFO>, |
| P3: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassDevsExA(classguid : *const ::windows_core::GUID, enumerator : ::windows_core::PCSTR, hwndparent : super::super::Foundation:: HWND, flags : u32, deviceinfoset : HDEVINFO, machinename : ::windows_core::PCSTR, reserved : *const ::core::ffi::c_void) -> HDEVINFO); |
| let result__ = SetupDiGetClassDevsExA(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), enumerator.into_param().abi(), hwndparent.into_param().abi(), flags, deviceinfoset.into_param().abi(), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetClassDevsExW<P0, P1, P2, P3>(classguid: ::core::option::Option<*const ::windows_core::GUID>, enumerator: P0, hwndparent: P1, flags: u32, deviceinfoset: P2, machinename: P3, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<HDEVINFO> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P2: ::windows_core::IntoParam<HDEVINFO>, |
| P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassDevsExW(classguid : *const ::windows_core::GUID, enumerator : ::windows_core::PCWSTR, hwndparent : super::super::Foundation:: HWND, flags : u32, deviceinfoset : HDEVINFO, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> HDEVINFO); |
| let result__ = SetupDiGetClassDevsExW(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), enumerator.into_param().abi(), hwndparent.into_param().abi(), flags, deviceinfoset.into_param().abi(), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetClassDevsW<P0, P1>(classguid: ::core::option::Option<*const ::windows_core::GUID>, enumerator: P0, hwndparent: P1, flags: u32) -> ::windows_core::Result<HDEVINFO> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassDevsW(classguid : *const ::windows_core::GUID, enumerator : ::windows_core::PCWSTR, hwndparent : super::super::Foundation:: HWND, flags : u32) -> HDEVINFO); |
| let result__ = SetupDiGetClassDevsW(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), enumerator.into_param().abi(), hwndparent.into_param().abi(), flags); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| #[inline] |
| pub unsafe fn SetupDiGetClassImageIndex(classimagelistdata: *const SP_CLASSIMAGELIST_DATA, classguid: *const ::windows_core::GUID, imageindex: *mut i32) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassImageIndex(classimagelistdata : *const SP_CLASSIMAGELIST_DATA, classguid : *const ::windows_core::GUID, imageindex : *mut i32) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassImageIndex(classimagelistdata, classguid, imageindex).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| #[inline] |
| pub unsafe fn SetupDiGetClassImageList(classimagelistdata: *mut SP_CLASSIMAGELIST_DATA) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassImageList(classimagelistdata : *mut SP_CLASSIMAGELIST_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassImageList(classimagelistdata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| #[inline] |
| pub unsafe fn SetupDiGetClassImageListExA<P0>(classimagelistdata: *mut SP_CLASSIMAGELIST_DATA, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassImageListExA(classimagelistdata : *mut SP_CLASSIMAGELIST_DATA, machinename : ::windows_core::PCSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassImageListExA(classimagelistdata, machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| #[inline] |
| pub unsafe fn SetupDiGetClassImageListExW<P0>(classimagelistdata: *mut SP_CLASSIMAGELIST_DATA, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassImageListExW(classimagelistdata : *mut SP_CLASSIMAGELIST_DATA, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassImageListExW(classimagelistdata, machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetClassInstallParamsA<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, classinstallparams: ::core::option::Option<*mut SP_CLASSINSTALL_HEADER>, classinstallparamssize: u32, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassInstallParamsA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, classinstallparams : *mut SP_CLASSINSTALL_HEADER, classinstallparamssize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassInstallParamsA(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(classinstallparams.unwrap_or(::std::ptr::null_mut())), classinstallparamssize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetClassInstallParamsW<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, classinstallparams: ::core::option::Option<*mut SP_CLASSINSTALL_HEADER>, classinstallparamssize: u32, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassInstallParamsW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, classinstallparams : *mut SP_CLASSINSTALL_HEADER, classinstallparamssize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassInstallParamsW(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(classinstallparams.unwrap_or(::std::ptr::null_mut())), classinstallparamssize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`"] |
| #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] |
| #[inline] |
| pub unsafe fn SetupDiGetClassPropertyExW<P0>(classguid: *const ::windows_core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>, flags: u32, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassPropertyExW(classguid : *const ::windows_core::GUID, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : *mut super::Properties:: DEVPROPTYPE, propertybuffer : *mut u8, propertybuffersize : u32, requiredsize : *mut u32, flags : u32, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassPropertyExW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), flags, machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`"] |
| #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] |
| #[inline] |
| pub unsafe fn SetupDiGetClassPropertyKeys(classguid: *const ::windows_core::GUID, propertykeyarray: ::core::option::Option<&mut [super::Properties::DEVPROPKEY]>, requiredpropertykeycount: ::core::option::Option<*mut u32>, flags: u32) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassPropertyKeys(classguid : *const ::windows_core::GUID, propertykeyarray : *mut super::Properties:: DEVPROPKEY, propertykeycount : u32, requiredpropertykeycount : *mut u32, flags : u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassPropertyKeys(classguid, ::core::mem::transmute(propertykeyarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertykeyarray.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredpropertykeycount.unwrap_or(::std::ptr::null_mut())), flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`"] |
| #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] |
| #[inline] |
| pub unsafe fn SetupDiGetClassPropertyKeysExW<P0>(classguid: *const ::windows_core::GUID, propertykeyarray: ::core::option::Option<&mut [super::Properties::DEVPROPKEY]>, requiredpropertykeycount: ::core::option::Option<*mut u32>, flags: u32, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassPropertyKeysExW(classguid : *const ::windows_core::GUID, propertykeyarray : *mut super::Properties:: DEVPROPKEY, propertykeycount : u32, requiredpropertykeycount : *mut u32, flags : u32, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassPropertyKeysExW(classguid, ::core::mem::transmute(propertykeyarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertykeyarray.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredpropertykeycount.unwrap_or(::std::ptr::null_mut())), flags, machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`"] |
| #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] |
| #[inline] |
| pub unsafe fn SetupDiGetClassPropertyW(classguid: *const ::windows_core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>, flags: u32) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassPropertyW(classguid : *const ::windows_core::GUID, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : *mut super::Properties:: DEVPROPTYPE, propertybuffer : *mut u8, propertybuffersize : u32, requiredsize : *mut u32, flags : u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassPropertyW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetClassRegistryPropertyA<P0>(classguid: *const ::windows_core::GUID, property: u32, propertyregdatatype: ::core::option::Option<*mut u32>, propertybuffer: &mut [u8], requiredsize: ::core::option::Option<*mut u32>, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassRegistryPropertyA(classguid : *const ::windows_core::GUID, property : u32, propertyregdatatype : *mut u32, propertybuffer : *mut u8, propertybuffersize : u32, requiredsize : *mut u32, machinename : ::windows_core::PCSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassRegistryPropertyA(classguid, property, ::core::mem::transmute(propertyregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propertybuffer.as_ptr()), propertybuffer.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetClassRegistryPropertyW<P0>(classguid: *const ::windows_core::GUID, property: u32, propertyregdatatype: ::core::option::Option<*mut u32>, propertybuffer: &mut [u8], requiredsize: ::core::option::Option<*mut u32>, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetClassRegistryPropertyW(classguid : *const ::windows_core::GUID, property : u32, propertyregdatatype : *mut u32, propertybuffer : *mut u8, propertybuffersize : u32, requiredsize : *mut u32, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetClassRegistryPropertyW(classguid, property, ::core::mem::transmute(propertyregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propertybuffer.as_ptr()), propertybuffer.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetCustomDevicePropertyA<P0, P1>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, custompropertyname: P1, flags: u32, propertyregdatatype: ::core::option::Option<*mut u32>, propertybuffer: &mut [u8], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetCustomDevicePropertyA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, custompropertyname : ::windows_core::PCSTR, flags : u32, propertyregdatatype : *mut u32, propertybuffer : *mut u8, propertybuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetCustomDevicePropertyA(deviceinfoset.into_param().abi(), deviceinfodata, custompropertyname.into_param().abi(), flags, ::core::mem::transmute(propertyregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propertybuffer.as_ptr()), propertybuffer.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetCustomDevicePropertyW<P0, P1>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, custompropertyname: P1, flags: u32, propertyregdatatype: ::core::option::Option<*mut u32>, propertybuffer: &mut [u8], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetCustomDevicePropertyW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, custompropertyname : ::windows_core::PCWSTR, flags : u32, propertyregdatatype : *mut u32, propertybuffer : *mut u8, propertybuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetCustomDevicePropertyW(deviceinfoset.into_param().abi(), deviceinfodata, custompropertyname.into_param().abi(), flags, ::core::mem::transmute(propertyregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propertybuffer.as_ptr()), propertybuffer.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDeviceInfoListClass<P0>(deviceinfoset: P0, classguid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDeviceInfoListClass(deviceinfoset : HDEVINFO, classguid : *mut ::windows_core::GUID) -> super::super::Foundation:: BOOL); |
| SetupDiGetDeviceInfoListClass(deviceinfoset.into_param().abi(), classguid).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDeviceInfoListDetailA<P0>(deviceinfoset: P0, deviceinfosetdetaildata: *mut SP_DEVINFO_LIST_DETAIL_DATA_A) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDeviceInfoListDetailA(deviceinfoset : HDEVINFO, deviceinfosetdetaildata : *mut SP_DEVINFO_LIST_DETAIL_DATA_A) -> super::super::Foundation:: BOOL); |
| SetupDiGetDeviceInfoListDetailA(deviceinfoset.into_param().abi(), deviceinfosetdetaildata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDeviceInfoListDetailW<P0>(deviceinfoset: P0, deviceinfosetdetaildata: *mut SP_DEVINFO_LIST_DETAIL_DATA_W) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDeviceInfoListDetailW(deviceinfoset : HDEVINFO, deviceinfosetdetaildata : *mut SP_DEVINFO_LIST_DETAIL_DATA_W) -> super::super::Foundation:: BOOL); |
| SetupDiGetDeviceInfoListDetailW(deviceinfoset.into_param().abi(), deviceinfosetdetaildata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDeviceInstallParamsA<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, deviceinstallparams: *mut SP_DEVINSTALL_PARAMS_A) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDeviceInstallParamsA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, deviceinstallparams : *mut SP_DEVINSTALL_PARAMS_A) -> super::super::Foundation:: BOOL); |
| SetupDiGetDeviceInstallParamsA(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), deviceinstallparams).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDeviceInstallParamsW<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, deviceinstallparams: *mut SP_DEVINSTALL_PARAMS_W) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDeviceInstallParamsW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, deviceinstallparams : *mut SP_DEVINSTALL_PARAMS_W) -> super::super::Foundation:: BOOL); |
| SetupDiGetDeviceInstallParamsW(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), deviceinstallparams).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDeviceInstanceIdA<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, deviceinstanceid: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDeviceInstanceIdA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, deviceinstanceid : ::windows_core::PSTR, deviceinstanceidsize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetDeviceInstanceIdA(deviceinfoset.into_param().abi(), deviceinfodata, ::core::mem::transmute(deviceinstanceid.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), deviceinstanceid.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDeviceInstanceIdW<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, deviceinstanceid: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDeviceInstanceIdW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, deviceinstanceid : ::windows_core::PWSTR, deviceinstanceidsize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetDeviceInstanceIdW(deviceinfoset.into_param().abi(), deviceinfodata, ::core::mem::transmute(deviceinstanceid.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), deviceinstanceid.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDeviceInterfaceAlias<P0>(deviceinfoset: P0, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, aliasinterfaceclassguid: *const ::windows_core::GUID, aliasdeviceinterfacedata: *mut SP_DEVICE_INTERFACE_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDeviceInterfaceAlias(deviceinfoset : HDEVINFO, deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA, aliasinterfaceclassguid : *const ::windows_core::GUID, aliasdeviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiGetDeviceInterfaceAlias(deviceinfoset.into_param().abi(), deviceinterfacedata, aliasinterfaceclassguid, aliasdeviceinterfacedata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDeviceInterfaceDetailA<P0>(deviceinfoset: P0, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, deviceinterfacedetaildata: ::core::option::Option<*mut SP_DEVICE_INTERFACE_DETAIL_DATA_A>, deviceinterfacedetaildatasize: u32, requiredsize: ::core::option::Option<*mut u32>, deviceinfodata: ::core::option::Option<*mut SP_DEVINFO_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDeviceInterfaceDetailA(deviceinfoset : HDEVINFO, deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA, deviceinterfacedetaildata : *mut SP_DEVICE_INTERFACE_DETAIL_DATA_A, deviceinterfacedetaildatasize : u32, requiredsize : *mut u32, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiGetDeviceInterfaceDetailA(deviceinfoset.into_param().abi(), deviceinterfacedata, ::core::mem::transmute(deviceinterfacedetaildata.unwrap_or(::std::ptr::null_mut())), deviceinterfacedetaildatasize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDeviceInterfaceDetailW<P0>(deviceinfoset: P0, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, deviceinterfacedetaildata: ::core::option::Option<*mut SP_DEVICE_INTERFACE_DETAIL_DATA_W>, deviceinterfacedetaildatasize: u32, requiredsize: ::core::option::Option<*mut u32>, deviceinfodata: ::core::option::Option<*mut SP_DEVINFO_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDeviceInterfaceDetailW(deviceinfoset : HDEVINFO, deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA, deviceinterfacedetaildata : *mut SP_DEVICE_INTERFACE_DETAIL_DATA_W, deviceinterfacedetaildatasize : u32, requiredsize : *mut u32, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiGetDeviceInterfaceDetailW(deviceinfoset.into_param().abi(), deviceinterfacedata, ::core::mem::transmute(deviceinterfacedetaildata.unwrap_or(::std::ptr::null_mut())), deviceinterfacedetaildatasize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`"] |
| #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] |
| #[inline] |
| pub unsafe fn SetupDiGetDeviceInterfacePropertyKeys<P0>(deviceinfoset: P0, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, propertykeyarray: ::core::option::Option<&mut [super::Properties::DEVPROPKEY]>, requiredpropertykeycount: ::core::option::Option<*mut u32>, flags: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDeviceInterfacePropertyKeys(deviceinfoset : HDEVINFO, deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA, propertykeyarray : *mut super::Properties:: DEVPROPKEY, propertykeycount : u32, requiredpropertykeycount : *mut u32, flags : u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetDeviceInterfacePropertyKeys(deviceinfoset.into_param().abi(), deviceinterfacedata, ::core::mem::transmute(propertykeyarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertykeyarray.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredpropertykeycount.unwrap_or(::std::ptr::null_mut())), flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`"] |
| #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] |
| #[inline] |
| pub unsafe fn SetupDiGetDeviceInterfacePropertyW<P0>(deviceinfoset: P0, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>, flags: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDeviceInterfacePropertyW(deviceinfoset : HDEVINFO, deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : *mut super::Properties:: DEVPROPTYPE, propertybuffer : *mut u8, propertybuffersize : u32, requiredsize : *mut u32, flags : u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetDeviceInterfacePropertyW(deviceinfoset.into_param().abi(), deviceinterfacedata, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`"] |
| #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] |
| #[inline] |
| pub unsafe fn SetupDiGetDevicePropertyKeys<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, propertykeyarray: ::core::option::Option<&mut [super::Properties::DEVPROPKEY]>, requiredpropertykeycount: ::core::option::Option<*mut u32>, flags: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDevicePropertyKeys(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, propertykeyarray : *mut super::Properties:: DEVPROPKEY, propertykeycount : u32, requiredpropertykeycount : *mut u32, flags : u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetDevicePropertyKeys(deviceinfoset.into_param().abi(), deviceinfodata, ::core::mem::transmute(propertykeyarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertykeyarray.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredpropertykeycount.unwrap_or(::std::ptr::null_mut())), flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`"] |
| #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] |
| #[inline] |
| pub unsafe fn SetupDiGetDevicePropertyW<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>, flags: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDevicePropertyW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : *mut super::Properties:: DEVPROPTYPE, propertybuffer : *mut u8, propertybuffersize : u32, requiredsize : *mut u32, flags : u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetDevicePropertyW(deviceinfoset.into_param().abi(), deviceinfodata, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDeviceRegistryPropertyA<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, property: u32, propertyregdatatype: ::core::option::Option<*mut u32>, propertybuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDeviceRegistryPropertyA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, property : u32, propertyregdatatype : *mut u32, propertybuffer : *mut u8, propertybuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetDeviceRegistryPropertyA(deviceinfoset.into_param().abi(), deviceinfodata, property, ::core::mem::transmute(propertyregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDeviceRegistryPropertyW<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, property: u32, propertyregdatatype: ::core::option::Option<*mut u32>, propertybuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDeviceRegistryPropertyW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, property : u32, propertyregdatatype : *mut u32, propertybuffer : *mut u8, propertybuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetDeviceRegistryPropertyW(deviceinfoset.into_param().abi(), deviceinfodata, property, ::core::mem::transmute(propertyregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDriverInfoDetailA<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, driverinfodata: *const SP_DRVINFO_DATA_V2_A, driverinfodetaildata: ::core::option::Option<*mut SP_DRVINFO_DETAIL_DATA_A>, driverinfodetaildatasize: u32, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDriverInfoDetailA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, driverinfodata : *const SP_DRVINFO_DATA_V2_A, driverinfodetaildata : *mut SP_DRVINFO_DETAIL_DATA_A, driverinfodetaildatasize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetDriverInfoDetailA(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata, ::core::mem::transmute(driverinfodetaildata.unwrap_or(::std::ptr::null_mut())), driverinfodetaildatasize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDriverInfoDetailW<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, driverinfodata: *const SP_DRVINFO_DATA_V2_W, driverinfodetaildata: ::core::option::Option<*mut SP_DRVINFO_DETAIL_DATA_W>, driverinfodetaildatasize: u32, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDriverInfoDetailW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, driverinfodata : *const SP_DRVINFO_DATA_V2_W, driverinfodetaildata : *mut SP_DRVINFO_DETAIL_DATA_W, driverinfodetaildatasize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetDriverInfoDetailW(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata, ::core::mem::transmute(driverinfodetaildata.unwrap_or(::std::ptr::null_mut())), driverinfodetaildatasize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDriverInstallParamsA<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, driverinfodata: *const SP_DRVINFO_DATA_V2_A, driverinstallparams: *mut SP_DRVINSTALL_PARAMS) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDriverInstallParamsA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, driverinfodata : *const SP_DRVINFO_DATA_V2_A, driverinstallparams : *mut SP_DRVINSTALL_PARAMS) -> super::super::Foundation:: BOOL); |
| SetupDiGetDriverInstallParamsA(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata, driverinstallparams).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetDriverInstallParamsW<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, driverinfodata: *const SP_DRVINFO_DATA_V2_W, driverinstallparams: *mut SP_DRVINSTALL_PARAMS) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetDriverInstallParamsW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, driverinfodata : *const SP_DRVINFO_DATA_V2_W, driverinstallparams : *mut SP_DRVINSTALL_PARAMS) -> super::super::Foundation:: BOOL); |
| SetupDiGetDriverInstallParamsW(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata, driverinstallparams).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetHwProfileFriendlyNameA(hwprofile: u32, friendlyname: &mut [u8], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetHwProfileFriendlyNameA(hwprofile : u32, friendlyname : ::windows_core::PSTR, friendlynamesize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetHwProfileFriendlyNameA(hwprofile, ::core::mem::transmute(friendlyname.as_ptr()), friendlyname.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetHwProfileFriendlyNameExA<P0>(hwprofile: u32, friendlyname: &mut [u8], requiredsize: ::core::option::Option<*mut u32>, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetHwProfileFriendlyNameExA(hwprofile : u32, friendlyname : ::windows_core::PSTR, friendlynamesize : u32, requiredsize : *mut u32, machinename : ::windows_core::PCSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetHwProfileFriendlyNameExA(hwprofile, ::core::mem::transmute(friendlyname.as_ptr()), friendlyname.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetHwProfileFriendlyNameExW<P0>(hwprofile: u32, friendlyname: &mut [u16], requiredsize: ::core::option::Option<*mut u32>, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetHwProfileFriendlyNameExW(hwprofile : u32, friendlyname : ::windows_core::PWSTR, friendlynamesize : u32, requiredsize : *mut u32, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetHwProfileFriendlyNameExW(hwprofile, ::core::mem::transmute(friendlyname.as_ptr()), friendlyname.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetHwProfileFriendlyNameW(hwprofile: u32, friendlyname: &mut [u16], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetHwProfileFriendlyNameW(hwprofile : u32, friendlyname : ::windows_core::PWSTR, friendlynamesize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetHwProfileFriendlyNameW(hwprofile, ::core::mem::transmute(friendlyname.as_ptr()), friendlyname.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetHwProfileList(hwprofilelist: &mut [u32], requiredsize: *mut u32, currentlyactiveindex: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetHwProfileList(hwprofilelist : *mut u32, hwprofilelistsize : u32, requiredsize : *mut u32, currentlyactiveindex : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetHwProfileList(::core::mem::transmute(hwprofilelist.as_ptr()), hwprofilelist.len().try_into().unwrap(), requiredsize, ::core::mem::transmute(currentlyactiveindex.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetHwProfileListExA<P0>(hwprofilelist: &mut [u32], requiredsize: *mut u32, currentlyactiveindex: ::core::option::Option<*mut u32>, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetHwProfileListExA(hwprofilelist : *mut u32, hwprofilelistsize : u32, requiredsize : *mut u32, currentlyactiveindex : *mut u32, machinename : ::windows_core::PCSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetHwProfileListExA(::core::mem::transmute(hwprofilelist.as_ptr()), hwprofilelist.len().try_into().unwrap(), requiredsize, ::core::mem::transmute(currentlyactiveindex.unwrap_or(::std::ptr::null_mut())), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetHwProfileListExW<P0>(hwprofilelist: &mut [u32], requiredsize: *mut u32, currentlyactiveindex: ::core::option::Option<*mut u32>, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetHwProfileListExW(hwprofilelist : *mut u32, hwprofilelistsize : u32, requiredsize : *mut u32, currentlyactiveindex : *mut u32, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiGetHwProfileListExW(::core::mem::transmute(hwprofilelist.as_ptr()), hwprofilelist.len().try_into().unwrap(), requiredsize, ::core::mem::transmute(currentlyactiveindex.unwrap_or(::std::ptr::null_mut())), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetINFClassA<P0>(infname: P0, classguid: *mut ::windows_core::GUID, classname: &mut [u8], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetINFClassA(infname : ::windows_core::PCSTR, classguid : *mut ::windows_core::GUID, classname : ::windows_core::PSTR, classnamesize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetINFClassA(infname.into_param().abi(), classguid, ::core::mem::transmute(classname.as_ptr()), classname.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetINFClassW<P0>(infname: P0, classguid: *mut ::windows_core::GUID, classname: &mut [u16], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetINFClassW(infname : ::windows_core::PCWSTR, classguid : *mut ::windows_core::GUID, classname : ::windows_core::PWSTR, classnamesize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupDiGetINFClassW(infname.into_param().abi(), classguid, ::core::mem::transmute(classname.as_ptr()), classname.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetSelectedDevice<P0>(deviceinfoset: P0, deviceinfodata: *mut SP_DEVINFO_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetSelectedDevice(deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiGetSelectedDevice(deviceinfoset.into_param().abi(), deviceinfodata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetSelectedDriverA<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, driverinfodata: *mut SP_DRVINFO_DATA_V2_A) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetSelectedDriverA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, driverinfodata : *mut SP_DRVINFO_DATA_V2_A) -> super::super::Foundation:: BOOL); |
| SetupDiGetSelectedDriverA(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiGetSelectedDriverW<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, driverinfodata: *mut SP_DRVINFO_DATA_V2_W) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetSelectedDriverW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, driverinfodata : *mut SP_DRVINFO_DATA_V2_W) -> super::super::Foundation:: BOOL); |
| SetupDiGetSelectedDriverW(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| #[inline] |
| pub unsafe fn SetupDiGetWizardPage<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, installwizarddata: *const SP_INSTALLWIZARD_DATA, pagetype: u32, flags: u32) -> super::super::UI::Controls::HPROPSHEETPAGE |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiGetWizardPage(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, installwizarddata : *const SP_INSTALLWIZARD_DATA, pagetype : u32, flags : u32) -> super::super::UI::Controls:: HPROPSHEETPAGE); |
| SetupDiGetWizardPage(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), installwizarddata, pagetype, flags) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiInstallClassA<P0, P1>(hwndparent: P0, inffilename: P1, flags: u32, filequeue: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiInstallClassA(hwndparent : super::super::Foundation:: HWND, inffilename : ::windows_core::PCSTR, flags : u32, filequeue : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiInstallClassA(hwndparent.into_param().abi(), inffilename.into_param().abi(), flags, ::core::mem::transmute(filequeue.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiInstallClassExA<P0, P1>(hwndparent: P0, inffilename: P1, flags: u32, filequeue: ::core::option::Option<*const ::core::ffi::c_void>, interfaceclassguid: ::core::option::Option<*const ::windows_core::GUID>, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiInstallClassExA(hwndparent : super::super::Foundation:: HWND, inffilename : ::windows_core::PCSTR, flags : u32, filequeue : *const ::core::ffi::c_void, interfaceclassguid : *const ::windows_core::GUID, reserved1 : *const ::core::ffi::c_void, reserved2 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiInstallClassExA(hwndparent.into_param().abi(), inffilename.into_param().abi(), flags, ::core::mem::transmute(filequeue.unwrap_or(::std::ptr::null())), ::core::mem::transmute(interfaceclassguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiInstallClassExW<P0, P1>(hwndparent: P0, inffilename: P1, flags: u32, filequeue: ::core::option::Option<*const ::core::ffi::c_void>, interfaceclassguid: ::core::option::Option<*const ::windows_core::GUID>, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiInstallClassExW(hwndparent : super::super::Foundation:: HWND, inffilename : ::windows_core::PCWSTR, flags : u32, filequeue : *const ::core::ffi::c_void, interfaceclassguid : *const ::windows_core::GUID, reserved1 : *const ::core::ffi::c_void, reserved2 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiInstallClassExW(hwndparent.into_param().abi(), inffilename.into_param().abi(), flags, ::core::mem::transmute(filequeue.unwrap_or(::std::ptr::null())), ::core::mem::transmute(interfaceclassguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiInstallClassW<P0, P1>(hwndparent: P0, inffilename: P1, flags: u32, filequeue: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiInstallClassW(hwndparent : super::super::Foundation:: HWND, inffilename : ::windows_core::PCWSTR, flags : u32, filequeue : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiInstallClassW(hwndparent.into_param().abi(), inffilename.into_param().abi(), flags, ::core::mem::transmute(filequeue.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiInstallDevice<P0>(deviceinfoset: P0, deviceinfodata: *mut SP_DEVINFO_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiInstallDevice(deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiInstallDevice(deviceinfoset.into_param().abi(), deviceinfodata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiInstallDeviceInterfaces<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiInstallDeviceInterfaces(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiInstallDeviceInterfaces(deviceinfoset.into_param().abi(), deviceinfodata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiInstallDriverFiles<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiInstallDriverFiles(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiInstallDriverFiles(deviceinfoset.into_param().abi(), deviceinfodata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| #[inline] |
| pub unsafe fn SetupDiLoadClassIcon(classguid: *const ::windows_core::GUID, largeicon: ::core::option::Option<*mut super::super::UI::WindowsAndMessaging::HICON>, miniiconindex: ::core::option::Option<*mut i32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiLoadClassIcon(classguid : *const ::windows_core::GUID, largeicon : *mut super::super::UI::WindowsAndMessaging:: HICON, miniiconindex : *mut i32) -> super::super::Foundation:: BOOL); |
| SetupDiLoadClassIcon(classguid, ::core::mem::transmute(largeicon.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(miniiconindex.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| #[inline] |
| pub unsafe fn SetupDiLoadDeviceIcon<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, cxicon: u32, cyicon: u32, flags: u32, hicon: *mut super::super::UI::WindowsAndMessaging::HICON) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiLoadDeviceIcon(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, cxicon : u32, cyicon : u32, flags : u32, hicon : *mut super::super::UI::WindowsAndMessaging:: HICON) -> super::super::Foundation:: BOOL); |
| SetupDiLoadDeviceIcon(deviceinfoset.into_param().abi(), deviceinfodata, cxicon, cyicon, flags, hicon).ok() |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn SetupDiOpenClassRegKey(classguid: ::core::option::Option<*const ::windows_core::GUID>, samdesired: u32) -> ::windows_core::Result<super::super::System::Registry::HKEY> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiOpenClassRegKey(classguid : *const ::windows_core::GUID, samdesired : u32) -> super::super::System::Registry:: HKEY); |
| let result__ = SetupDiOpenClassRegKey(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), samdesired); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn SetupDiOpenClassRegKeyExA<P0>(classguid: ::core::option::Option<*const ::windows_core::GUID>, samdesired: u32, flags: u32, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<super::super::System::Registry::HKEY> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiOpenClassRegKeyExA(classguid : *const ::windows_core::GUID, samdesired : u32, flags : u32, machinename : ::windows_core::PCSTR, reserved : *const ::core::ffi::c_void) -> super::super::System::Registry:: HKEY); |
| let result__ = SetupDiOpenClassRegKeyExA(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), samdesired, flags, machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn SetupDiOpenClassRegKeyExW<P0>(classguid: ::core::option::Option<*const ::windows_core::GUID>, samdesired: u32, flags: u32, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<super::super::System::Registry::HKEY> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiOpenClassRegKeyExW(classguid : *const ::windows_core::GUID, samdesired : u32, flags : u32, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> super::super::System::Registry:: HKEY); |
| let result__ = SetupDiOpenClassRegKeyExW(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), samdesired, flags, machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn SetupDiOpenDevRegKey<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, scope: u32, hwprofile: u32, keytype: u32, samdesired: u32) -> ::windows_core::Result<super::super::System::Registry::HKEY> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiOpenDevRegKey(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, scope : u32, hwprofile : u32, keytype : u32, samdesired : u32) -> super::super::System::Registry:: HKEY); |
| let result__ = SetupDiOpenDevRegKey(deviceinfoset.into_param().abi(), deviceinfodata, scope, hwprofile, keytype, samdesired); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiOpenDeviceInfoA<P0, P1, P2>(deviceinfoset: P0, deviceinstanceid: P1, hwndparent: P2, openflags: u32, deviceinfodata: ::core::option::Option<*mut SP_DEVINFO_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiOpenDeviceInfoA(deviceinfoset : HDEVINFO, deviceinstanceid : ::windows_core::PCSTR, hwndparent : super::super::Foundation:: HWND, openflags : u32, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiOpenDeviceInfoA(deviceinfoset.into_param().abi(), deviceinstanceid.into_param().abi(), hwndparent.into_param().abi(), openflags, ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiOpenDeviceInfoW<P0, P1, P2>(deviceinfoset: P0, deviceinstanceid: P1, hwndparent: P2, openflags: u32, deviceinfodata: ::core::option::Option<*mut SP_DEVINFO_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiOpenDeviceInfoW(deviceinfoset : HDEVINFO, deviceinstanceid : ::windows_core::PCWSTR, hwndparent : super::super::Foundation:: HWND, openflags : u32, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiOpenDeviceInfoW(deviceinfoset.into_param().abi(), deviceinstanceid.into_param().abi(), hwndparent.into_param().abi(), openflags, ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiOpenDeviceInterfaceA<P0, P1>(deviceinfoset: P0, devicepath: P1, openflags: u32, deviceinterfacedata: ::core::option::Option<*mut SP_DEVICE_INTERFACE_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiOpenDeviceInterfaceA(deviceinfoset : HDEVINFO, devicepath : ::windows_core::PCSTR, openflags : u32, deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiOpenDeviceInterfaceA(deviceinfoset.into_param().abi(), devicepath.into_param().abi(), openflags, ::core::mem::transmute(deviceinterfacedata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_System_Registry\"`"] |
| #[cfg(feature = "Win32_System_Registry")] |
| #[inline] |
| pub unsafe fn SetupDiOpenDeviceInterfaceRegKey<P0>(deviceinfoset: P0, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, reserved: u32, samdesired: u32) -> ::windows_core::Result<super::super::System::Registry::HKEY> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiOpenDeviceInterfaceRegKey(deviceinfoset : HDEVINFO, deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA, reserved : u32, samdesired : u32) -> super::super::System::Registry:: HKEY); |
| let result__ = SetupDiOpenDeviceInterfaceRegKey(deviceinfoset.into_param().abi(), deviceinterfacedata, reserved, samdesired); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiOpenDeviceInterfaceW<P0, P1>(deviceinfoset: P0, devicepath: P1, openflags: u32, deviceinterfacedata: ::core::option::Option<*mut SP_DEVICE_INTERFACE_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiOpenDeviceInterfaceW(deviceinfoset : HDEVINFO, devicepath : ::windows_core::PCWSTR, openflags : u32, deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiOpenDeviceInterfaceW(deviceinfoset.into_param().abi(), devicepath.into_param().abi(), openflags, ::core::mem::transmute(deviceinterfacedata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiRegisterCoDeviceInstallers<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiRegisterCoDeviceInstallers(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiRegisterCoDeviceInstallers(deviceinfoset.into_param().abi(), deviceinfodata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiRegisterDeviceInfo<P0>(deviceinfoset: P0, deviceinfodata: *mut SP_DEVINFO_DATA, flags: u32, compareproc: PSP_DETSIG_CMPPROC, comparecontext: ::core::option::Option<*const ::core::ffi::c_void>, dupdeviceinfodata: ::core::option::Option<*mut SP_DEVINFO_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiRegisterDeviceInfo(deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA, flags : u32, compareproc : PSP_DETSIG_CMPPROC, comparecontext : *const ::core::ffi::c_void, dupdeviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiRegisterDeviceInfo(deviceinfoset.into_param().abi(), deviceinfodata, flags, compareproc, ::core::mem::transmute(comparecontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dupdeviceinfodata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiRemoveDevice<P0>(deviceinfoset: P0, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiRemoveDevice(deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiRemoveDevice(deviceinfoset.into_param().abi(), deviceinfodata) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiRemoveDeviceInterface<P0>(deviceinfoset: P0, deviceinterfacedata: *mut SP_DEVICE_INTERFACE_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiRemoveDeviceInterface(deviceinfoset : HDEVINFO, deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiRemoveDeviceInterface(deviceinfoset.into_param().abi(), deviceinterfacedata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiRestartDevices<P0>(deviceinfoset: P0, deviceinfodata: *mut SP_DEVINFO_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiRestartDevices(deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiRestartDevices(deviceinfoset.into_param().abi(), deviceinfodata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSelectBestCompatDrv<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*mut SP_DEVINFO_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSelectBestCompatDrv(deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiSelectBestCompatDrv(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSelectDevice<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*mut SP_DEVINFO_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSelectDevice(deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiSelectDevice(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSelectOEMDrv<P0, P1>(hwndparent: P0, deviceinfoset: P1, deviceinfodata: ::core::option::Option<*mut SP_DEVINFO_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSelectOEMDrv(hwndparent : super::super::Foundation:: HWND, deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiSelectOEMDrv(hwndparent.into_param().abi(), deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSetClassInstallParamsA<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, classinstallparams: ::core::option::Option<*const SP_CLASSINSTALL_HEADER>, classinstallparamssize: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetClassInstallParamsA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, classinstallparams : *const SP_CLASSINSTALL_HEADER, classinstallparamssize : u32) -> super::super::Foundation:: BOOL); |
| SetupDiSetClassInstallParamsA(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(classinstallparams.unwrap_or(::std::ptr::null())), classinstallparamssize).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSetClassInstallParamsW<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, classinstallparams: ::core::option::Option<*const SP_CLASSINSTALL_HEADER>, classinstallparamssize: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetClassInstallParamsW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, classinstallparams : *const SP_CLASSINSTALL_HEADER, classinstallparamssize : u32) -> super::super::Foundation:: BOOL); |
| SetupDiSetClassInstallParamsW(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(classinstallparams.unwrap_or(::std::ptr::null())), classinstallparamssize).ok() |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`"] |
| #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] |
| #[inline] |
| pub unsafe fn SetupDiSetClassPropertyExW<P0>(classguid: *const ::windows_core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<&[u8]>, flags: u32, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetClassPropertyExW(classguid : *const ::windows_core::GUID, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : super::Properties:: DEVPROPTYPE, propertybuffer : *const u8, propertybuffersize : u32, flags : u32, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiSetClassPropertyExW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), flags, machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`"] |
| #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] |
| #[inline] |
| pub unsafe fn SetupDiSetClassPropertyW(classguid: *const ::windows_core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<&[u8]>, flags: u32) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetClassPropertyW(classguid : *const ::windows_core::GUID, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : super::Properties:: DEVPROPTYPE, propertybuffer : *const u8, propertybuffersize : u32, flags : u32) -> super::super::Foundation:: BOOL); |
| SetupDiSetClassPropertyW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSetClassRegistryPropertyA<P0>(classguid: *const ::windows_core::GUID, property: u32, propertybuffer: ::core::option::Option<&[u8]>, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetClassRegistryPropertyA(classguid : *const ::windows_core::GUID, property : u32, propertybuffer : *const u8, propertybuffersize : u32, machinename : ::windows_core::PCSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiSetClassRegistryPropertyA(classguid, property, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSetClassRegistryPropertyW<P0>(classguid: *const ::windows_core::GUID, property: u32, propertybuffer: ::core::option::Option<&[u8]>, machinename: P0, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetClassRegistryPropertyW(classguid : *const ::windows_core::GUID, property : u32, propertybuffer : *const u8, propertybuffersize : u32, machinename : ::windows_core::PCWSTR, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiSetClassRegistryPropertyW(classguid, property, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), machinename.into_param().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSetDeviceInstallParamsA<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, deviceinstallparams: *const SP_DEVINSTALL_PARAMS_A) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetDeviceInstallParamsA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, deviceinstallparams : *const SP_DEVINSTALL_PARAMS_A) -> super::super::Foundation:: BOOL); |
| SetupDiSetDeviceInstallParamsA(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), deviceinstallparams).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSetDeviceInstallParamsW<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, deviceinstallparams: *const SP_DEVINSTALL_PARAMS_W) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetDeviceInstallParamsW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, deviceinstallparams : *const SP_DEVINSTALL_PARAMS_W) -> super::super::Foundation:: BOOL); |
| SetupDiSetDeviceInstallParamsW(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), deviceinstallparams).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSetDeviceInterfaceDefault<P0>(deviceinfoset: P0, deviceinterfacedata: *mut SP_DEVICE_INTERFACE_DATA, flags: u32, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetDeviceInterfaceDefault(deviceinfoset : HDEVINFO, deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA, flags : u32, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupDiSetDeviceInterfaceDefault(deviceinfoset.into_param().abi(), deviceinterfacedata, flags, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`"] |
| #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] |
| #[inline] |
| pub unsafe fn SetupDiSetDeviceInterfacePropertyW<P0>(deviceinfoset: P0, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, propertykey: *const super::Properties::DEVPROPKEY, propertytype: super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<&[u8]>, flags: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetDeviceInterfacePropertyW(deviceinfoset : HDEVINFO, deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : super::Properties:: DEVPROPTYPE, propertybuffer : *const u8, propertybuffersize : u32, flags : u32) -> super::super::Foundation:: BOOL); |
| SetupDiSetDeviceInterfacePropertyW(deviceinfoset.into_param().abi(), deviceinterfacedata, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`"] |
| #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] |
| #[inline] |
| pub unsafe fn SetupDiSetDevicePropertyW<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, propertykey: *const super::Properties::DEVPROPKEY, propertytype: super::Properties::DEVPROPTYPE, propertybuffer: ::core::option::Option<&[u8]>, flags: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetDevicePropertyW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : super::Properties:: DEVPROPTYPE, propertybuffer : *const u8, propertybuffersize : u32, flags : u32) -> super::super::Foundation:: BOOL); |
| SetupDiSetDevicePropertyW(deviceinfoset.into_param().abi(), deviceinfodata, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSetDeviceRegistryPropertyA<P0>(deviceinfoset: P0, deviceinfodata: *mut SP_DEVINFO_DATA, property: u32, propertybuffer: ::core::option::Option<&[u8]>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetDeviceRegistryPropertyA(deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA, property : u32, propertybuffer : *const u8, propertybuffersize : u32) -> super::super::Foundation:: BOOL); |
| SetupDiSetDeviceRegistryPropertyA(deviceinfoset.into_param().abi(), deviceinfodata, property, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap())).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSetDeviceRegistryPropertyW<P0>(deviceinfoset: P0, deviceinfodata: *mut SP_DEVINFO_DATA, property: u32, propertybuffer: ::core::option::Option<&[u8]>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetDeviceRegistryPropertyW(deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA, property : u32, propertybuffer : *const u8, propertybuffersize : u32) -> super::super::Foundation:: BOOL); |
| SetupDiSetDeviceRegistryPropertyW(deviceinfoset.into_param().abi(), deviceinfodata, property, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap())).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSetDriverInstallParamsA<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, driverinfodata: *const SP_DRVINFO_DATA_V2_A, driverinstallparams: *const SP_DRVINSTALL_PARAMS) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetDriverInstallParamsA(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, driverinfodata : *const SP_DRVINFO_DATA_V2_A, driverinstallparams : *const SP_DRVINSTALL_PARAMS) -> super::super::Foundation:: BOOL); |
| SetupDiSetDriverInstallParamsA(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata, driverinstallparams).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSetDriverInstallParamsW<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, driverinfodata: *const SP_DRVINFO_DATA_V2_W, driverinstallparams: *const SP_DRVINSTALL_PARAMS) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetDriverInstallParamsW(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, driverinfodata : *const SP_DRVINFO_DATA_V2_W, driverinstallparams : *const SP_DRVINSTALL_PARAMS) -> super::super::Foundation:: BOOL); |
| SetupDiSetDriverInstallParamsW(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata, driverinstallparams).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSetSelectedDevice<P0>(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetSelectedDevice(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiSetSelectedDevice(deviceinfoset.into_param().abi(), deviceinfodata).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSetSelectedDriverA<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*mut SP_DEVINFO_DATA>, driverinfodata: ::core::option::Option<*mut SP_DRVINFO_DATA_V2_A>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetSelectedDriverA(deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA, driverinfodata : *mut SP_DRVINFO_DATA_V2_A) -> super::super::Foundation:: BOOL); |
| SetupDiSetSelectedDriverA(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(driverinfodata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiSetSelectedDriverW<P0>(deviceinfoset: P0, deviceinfodata: ::core::option::Option<*mut SP_DEVINFO_DATA>, driverinfodata: ::core::option::Option<*mut SP_DRVINFO_DATA_V2_W>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiSetSelectedDriverW(deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA, driverinfodata : *mut SP_DRVINFO_DATA_V2_W) -> super::super::Foundation:: BOOL); |
| SetupDiSetSelectedDriverW(deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(driverinfodata.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupDiUnremoveDevice<P0>(deviceinfoset: P0, deviceinfodata: *mut SP_DEVINFO_DATA) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDiUnremoveDevice(deviceinfoset : HDEVINFO, deviceinfodata : *mut SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupDiUnremoveDevice(deviceinfoset.into_param().abi(), deviceinfodata).ok() |
| } |
| #[inline] |
| pub unsafe fn SetupDuplicateDiskSpaceListA(diskspace: *const ::core::ffi::c_void, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32, flags: u32) -> *mut ::core::ffi::c_void { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDuplicateDiskSpaceListA(diskspace : *const ::core::ffi::c_void, reserved1 : *const ::core::ffi::c_void, reserved2 : u32, flags : u32) -> *mut ::core::ffi::c_void); |
| SetupDuplicateDiskSpaceListA(diskspace, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2, flags) |
| } |
| #[inline] |
| pub unsafe fn SetupDuplicateDiskSpaceListW(diskspace: *const ::core::ffi::c_void, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32, flags: u32) -> *mut ::core::ffi::c_void { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupDuplicateDiskSpaceListW(diskspace : *const ::core::ffi::c_void, reserved1 : *const ::core::ffi::c_void, reserved2 : u32, flags : u32) -> *mut ::core::ffi::c_void); |
| SetupDuplicateDiskSpaceListW(diskspace, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2, flags) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupEnumInfSectionsA(infhandle: *const ::core::ffi::c_void, index: u32, buffer: ::core::option::Option<&mut [u8]>, sizeneeded: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupEnumInfSectionsA(infhandle : *const ::core::ffi::c_void, index : u32, buffer : ::windows_core::PSTR, size : u32, sizeneeded : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupEnumInfSectionsA(infhandle, index, ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(sizeneeded.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupEnumInfSectionsW(infhandle: *const ::core::ffi::c_void, index: u32, buffer: ::core::option::Option<&mut [u16]>, sizeneeded: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupEnumInfSectionsW(infhandle : *const ::core::ffi::c_void, index : u32, buffer : ::windows_core::PWSTR, size : u32, sizeneeded : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupEnumInfSectionsW(infhandle, index, ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(sizeneeded.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupFindFirstLineA<P0, P1>(infhandle: *const ::core::ffi::c_void, section: P0, key: P1, context: *mut INFCONTEXT) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupFindFirstLineA(infhandle : *const ::core::ffi::c_void, section : ::windows_core::PCSTR, key : ::windows_core::PCSTR, context : *mut INFCONTEXT) -> super::super::Foundation:: BOOL); |
| SetupFindFirstLineA(infhandle, section.into_param().abi(), key.into_param().abi(), context).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupFindFirstLineW<P0, P1>(infhandle: *const ::core::ffi::c_void, section: P0, key: P1, context: *mut INFCONTEXT) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupFindFirstLineW(infhandle : *const ::core::ffi::c_void, section : ::windows_core::PCWSTR, key : ::windows_core::PCWSTR, context : *mut INFCONTEXT) -> super::super::Foundation:: BOOL); |
| SetupFindFirstLineW(infhandle, section.into_param().abi(), key.into_param().abi(), context).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupFindNextLine(contextin: *const INFCONTEXT, contextout: *mut INFCONTEXT) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupFindNextLine(contextin : *const INFCONTEXT, contextout : *mut INFCONTEXT) -> super::super::Foundation:: BOOL); |
| SetupFindNextLine(contextin, contextout).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupFindNextMatchLineA<P0>(contextin: *const INFCONTEXT, key: P0, contextout: *mut INFCONTEXT) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupFindNextMatchLineA(contextin : *const INFCONTEXT, key : ::windows_core::PCSTR, contextout : *mut INFCONTEXT) -> super::super::Foundation:: BOOL); |
| SetupFindNextMatchLineA(contextin, key.into_param().abi(), contextout).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupFindNextMatchLineW<P0>(contextin: *const INFCONTEXT, key: P0, contextout: *mut INFCONTEXT) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupFindNextMatchLineW(contextin : *const INFCONTEXT, key : ::windows_core::PCWSTR, contextout : *mut INFCONTEXT) -> super::super::Foundation:: BOOL); |
| SetupFindNextMatchLineW(contextin, key.into_param().abi(), contextout).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupFreeSourceListA(list: &mut [*mut ::windows_core::PCSTR]) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupFreeSourceListA(list : *mut *mut ::windows_core::PCSTR, count : u32) -> super::super::Foundation:: BOOL); |
| SetupFreeSourceListA(::core::mem::transmute(list.as_ptr()), list.len().try_into().unwrap()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupFreeSourceListW(list: &mut [*mut ::windows_core::PCWSTR]) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupFreeSourceListW(list : *mut *mut ::windows_core::PCWSTR, count : u32) -> super::super::Foundation:: BOOL); |
| SetupFreeSourceListW(::core::mem::transmute(list.as_ptr()), list.len().try_into().unwrap()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetBackupInformationA(queuehandle: *const ::core::ffi::c_void, backupparams: *mut SP_BACKUP_QUEUE_PARAMS_V2_A) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetBackupInformationA(queuehandle : *const ::core::ffi::c_void, backupparams : *mut SP_BACKUP_QUEUE_PARAMS_V2_A) -> super::super::Foundation:: BOOL); |
| SetupGetBackupInformationA(queuehandle, backupparams) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetBackupInformationW(queuehandle: *const ::core::ffi::c_void, backupparams: *mut SP_BACKUP_QUEUE_PARAMS_V2_W) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetBackupInformationW(queuehandle : *const ::core::ffi::c_void, backupparams : *mut SP_BACKUP_QUEUE_PARAMS_V2_W) -> super::super::Foundation:: BOOL); |
| SetupGetBackupInformationW(queuehandle, backupparams) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetBinaryField(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetBinaryField(context : *const INFCONTEXT, fieldindex : u32, returnbuffer : *mut u8, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetBinaryField(context, fieldindex, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[inline] |
| pub unsafe fn SetupGetFieldCount(context: *const INFCONTEXT) -> u32 { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetFieldCount(context : *const INFCONTEXT) -> u32); |
| SetupGetFieldCount(context) |
| } |
| #[inline] |
| pub unsafe fn SetupGetFileCompressionInfoA<P0>(sourcefilename: P0, actualsourcefilename: *mut ::windows_core::PSTR, sourcefilesize: *mut u32, targetfilesize: *mut u32, compressiontype: *mut u32) -> u32 |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetFileCompressionInfoA(sourcefilename : ::windows_core::PCSTR, actualsourcefilename : *mut ::windows_core::PSTR, sourcefilesize : *mut u32, targetfilesize : *mut u32, compressiontype : *mut u32) -> u32); |
| SetupGetFileCompressionInfoA(sourcefilename.into_param().abi(), actualsourcefilename, sourcefilesize, targetfilesize, compressiontype) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetFileCompressionInfoExA<P0>(sourcefilename: P0, actualsourcefilenamebuffer: ::core::option::Option<&[u8]>, requiredbufferlen: ::core::option::Option<*mut u32>, sourcefilesize: *mut u32, targetfilesize: *mut u32, compressiontype: *mut u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetFileCompressionInfoExA(sourcefilename : ::windows_core::PCSTR, actualsourcefilenamebuffer : ::windows_core::PCSTR, actualsourcefilenamebufferlen : u32, requiredbufferlen : *mut u32, sourcefilesize : *mut u32, targetfilesize : *mut u32, compressiontype : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetFileCompressionInfoExA(sourcefilename.into_param().abi(), ::core::mem::transmute(actualsourcefilenamebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), actualsourcefilenamebuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredbufferlen.unwrap_or(::std::ptr::null_mut())), sourcefilesize, targetfilesize, compressiontype).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetFileCompressionInfoExW<P0>(sourcefilename: P0, actualsourcefilenamebuffer: ::core::option::Option<&[u16]>, requiredbufferlen: ::core::option::Option<*mut u32>, sourcefilesize: *mut u32, targetfilesize: *mut u32, compressiontype: *mut u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetFileCompressionInfoExW(sourcefilename : ::windows_core::PCWSTR, actualsourcefilenamebuffer : ::windows_core::PCWSTR, actualsourcefilenamebufferlen : u32, requiredbufferlen : *mut u32, sourcefilesize : *mut u32, targetfilesize : *mut u32, compressiontype : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetFileCompressionInfoExW(sourcefilename.into_param().abi(), ::core::mem::transmute(actualsourcefilenamebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), actualsourcefilenamebuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredbufferlen.unwrap_or(::std::ptr::null_mut())), sourcefilesize, targetfilesize, compressiontype).ok() |
| } |
| #[inline] |
| pub unsafe fn SetupGetFileCompressionInfoW<P0>(sourcefilename: P0, actualsourcefilename: *mut ::windows_core::PWSTR, sourcefilesize: *mut u32, targetfilesize: *mut u32, compressiontype: *mut u32) -> u32 |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetFileCompressionInfoW(sourcefilename : ::windows_core::PCWSTR, actualsourcefilename : *mut ::windows_core::PWSTR, sourcefilesize : *mut u32, targetfilesize : *mut u32, compressiontype : *mut u32) -> u32); |
| SetupGetFileCompressionInfoW(sourcefilename.into_param().abi(), actualsourcefilename, sourcefilesize, targetfilesize, compressiontype) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetFileQueueCount(filequeue: *const ::core::ffi::c_void, subqueuefileop: u32, numoperations: *mut u32) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetFileQueueCount(filequeue : *const ::core::ffi::c_void, subqueuefileop : u32, numoperations : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetFileQueueCount(filequeue, subqueuefileop, numoperations).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetFileQueueFlags(filequeue: *const ::core::ffi::c_void, flags: *mut u32) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetFileQueueFlags(filequeue : *const ::core::ffi::c_void, flags : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetFileQueueFlags(filequeue, flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] |
| #[inline] |
| pub unsafe fn SetupGetInfDriverStoreLocationA<P0, P1>(filename: P0, alternateplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, localename: P1, returnbuffer: &mut [u8], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetInfDriverStoreLocationA(filename : ::windows_core::PCSTR, alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2, localename : ::windows_core::PCSTR, returnbuffer : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetInfDriverStoreLocationA(filename.into_param().abi(), ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), localename.into_param().abi(), ::core::mem::transmute(returnbuffer.as_ptr()), returnbuffer.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] |
| #[inline] |
| pub unsafe fn SetupGetInfDriverStoreLocationW<P0, P1>(filename: P0, alternateplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, localename: P1, returnbuffer: &mut [u16], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetInfDriverStoreLocationW(filename : ::windows_core::PCWSTR, alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2, localename : ::windows_core::PCWSTR, returnbuffer : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetInfDriverStoreLocationW(filename.into_param().abi(), ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), localename.into_param().abi(), ::core::mem::transmute(returnbuffer.as_ptr()), returnbuffer.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetInfFileListA<P0>(directorypath: P0, infstyle: INF_STYLE, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetInfFileListA(directorypath : ::windows_core::PCSTR, infstyle : INF_STYLE, returnbuffer : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetInfFileListA(directorypath.into_param().abi(), infstyle, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetInfFileListW<P0>(directorypath: P0, infstyle: INF_STYLE, returnbuffer: &mut [u16], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetInfFileListW(directorypath : ::windows_core::PCWSTR, infstyle : INF_STYLE, returnbuffer : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetInfFileListW(directorypath.into_param().abi(), infstyle, ::core::mem::transmute(returnbuffer.as_ptr()), returnbuffer.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetInfInformationA(infspec: *const ::core::ffi::c_void, searchcontrol: u32, returnbuffer: ::core::option::Option<*mut SP_INF_INFORMATION>, returnbuffersize: u32, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetInfInformationA(infspec : *const ::core::ffi::c_void, searchcontrol : u32, returnbuffer : *mut SP_INF_INFORMATION, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetInfInformationA(infspec, searchcontrol, ::core::mem::transmute(returnbuffer.unwrap_or(::std::ptr::null_mut())), returnbuffersize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetInfInformationW(infspec: *const ::core::ffi::c_void, searchcontrol: u32, returnbuffer: ::core::option::Option<*mut SP_INF_INFORMATION>, returnbuffersize: u32, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetInfInformationW(infspec : *const ::core::ffi::c_void, searchcontrol : u32, returnbuffer : *mut SP_INF_INFORMATION, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetInfInformationW(infspec, searchcontrol, ::core::mem::transmute(returnbuffer.unwrap_or(::std::ptr::null_mut())), returnbuffersize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetInfPublishedNameA<P0>(driverstorelocation: P0, returnbuffer: &mut [u8], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetInfPublishedNameA(driverstorelocation : ::windows_core::PCSTR, returnbuffer : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetInfPublishedNameA(driverstorelocation.into_param().abi(), ::core::mem::transmute(returnbuffer.as_ptr()), returnbuffer.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetInfPublishedNameW<P0>(driverstorelocation: P0, returnbuffer: &mut [u16], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetInfPublishedNameW(driverstorelocation : ::windows_core::PCWSTR, returnbuffer : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetInfPublishedNameW(driverstorelocation.into_param().abi(), ::core::mem::transmute(returnbuffer.as_ptr()), returnbuffer.len().try_into().unwrap(), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetIntField(context: *const INFCONTEXT, fieldindex: u32, integervalue: *mut i32) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetIntField(context : *const INFCONTEXT, fieldindex : u32, integervalue : *mut i32) -> super::super::Foundation:: BOOL); |
| SetupGetIntField(context, fieldindex, integervalue).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetLineByIndexA<P0>(infhandle: *const ::core::ffi::c_void, section: P0, index: u32, context: *mut INFCONTEXT) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetLineByIndexA(infhandle : *const ::core::ffi::c_void, section : ::windows_core::PCSTR, index : u32, context : *mut INFCONTEXT) -> super::super::Foundation:: BOOL); |
| SetupGetLineByIndexA(infhandle, section.into_param().abi(), index, context).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetLineByIndexW<P0>(infhandle: *const ::core::ffi::c_void, section: P0, index: u32, context: *mut INFCONTEXT) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetLineByIndexW(infhandle : *const ::core::ffi::c_void, section : ::windows_core::PCWSTR, index : u32, context : *mut INFCONTEXT) -> super::super::Foundation:: BOOL); |
| SetupGetLineByIndexW(infhandle, section.into_param().abi(), index, context).ok() |
| } |
| #[inline] |
| pub unsafe fn SetupGetLineCountA<P0>(infhandle: *const ::core::ffi::c_void, section: P0) -> i32 |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetLineCountA(infhandle : *const ::core::ffi::c_void, section : ::windows_core::PCSTR) -> i32); |
| SetupGetLineCountA(infhandle, section.into_param().abi()) |
| } |
| #[inline] |
| pub unsafe fn SetupGetLineCountW<P0>(infhandle: *const ::core::ffi::c_void, section: P0) -> i32 |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetLineCountW(infhandle : *const ::core::ffi::c_void, section : ::windows_core::PCWSTR) -> i32); |
| SetupGetLineCountW(infhandle, section.into_param().abi()) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetLineTextA<P0, P1>(context: ::core::option::Option<*const INFCONTEXT>, infhandle: ::core::option::Option<*const ::core::ffi::c_void>, section: P0, key: P1, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetLineTextA(context : *const INFCONTEXT, infhandle : *const ::core::ffi::c_void, section : ::windows_core::PCSTR, key : ::windows_core::PCSTR, returnbuffer : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetLineTextA(::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), section.into_param().abi(), key.into_param().abi(), ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetLineTextW<P0, P1>(context: ::core::option::Option<*const INFCONTEXT>, infhandle: ::core::option::Option<*const ::core::ffi::c_void>, section: P0, key: P1, returnbuffer: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetLineTextW(context : *const INFCONTEXT, infhandle : *const ::core::ffi::c_void, section : ::windows_core::PCWSTR, key : ::windows_core::PCWSTR, returnbuffer : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetLineTextW(::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), section.into_param().abi(), key.into_param().abi(), ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetMultiSzFieldA(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetMultiSzFieldA(context : *const INFCONTEXT, fieldindex : u32, returnbuffer : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetMultiSzFieldA(context, fieldindex, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetMultiSzFieldW(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetMultiSzFieldW(context : *const INFCONTEXT, fieldindex : u32, returnbuffer : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetMultiSzFieldW(context, fieldindex, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetNonInteractiveMode() -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetNonInteractiveMode() -> super::super::Foundation:: BOOL); |
| SetupGetNonInteractiveMode() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetSourceFileLocationA<P0>(infhandle: *const ::core::ffi::c_void, infcontext: ::core::option::Option<*const INFCONTEXT>, filename: P0, sourceid: *mut u32, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetSourceFileLocationA(infhandle : *const ::core::ffi::c_void, infcontext : *const INFCONTEXT, filename : ::windows_core::PCSTR, sourceid : *mut u32, returnbuffer : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetSourceFileLocationA(infhandle, ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), filename.into_param().abi(), sourceid, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetSourceFileLocationW<P0>(infhandle: *const ::core::ffi::c_void, infcontext: ::core::option::Option<*const INFCONTEXT>, filename: P0, sourceid: *mut u32, returnbuffer: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetSourceFileLocationW(infhandle : *const ::core::ffi::c_void, infcontext : *const INFCONTEXT, filename : ::windows_core::PCWSTR, sourceid : *mut u32, returnbuffer : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetSourceFileLocationW(infhandle, ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), filename.into_param().abi(), sourceid, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetSourceFileSizeA<P0, P1>(infhandle: *const ::core::ffi::c_void, infcontext: ::core::option::Option<*const INFCONTEXT>, filename: P0, section: P1, filesize: *mut u32, roundingfactor: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetSourceFileSizeA(infhandle : *const ::core::ffi::c_void, infcontext : *const INFCONTEXT, filename : ::windows_core::PCSTR, section : ::windows_core::PCSTR, filesize : *mut u32, roundingfactor : u32) -> super::super::Foundation:: BOOL); |
| SetupGetSourceFileSizeA(infhandle, ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), filename.into_param().abi(), section.into_param().abi(), filesize, roundingfactor).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetSourceFileSizeW<P0, P1>(infhandle: *const ::core::ffi::c_void, infcontext: ::core::option::Option<*const INFCONTEXT>, filename: P0, section: P1, filesize: *mut u32, roundingfactor: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetSourceFileSizeW(infhandle : *const ::core::ffi::c_void, infcontext : *const INFCONTEXT, filename : ::windows_core::PCWSTR, section : ::windows_core::PCWSTR, filesize : *mut u32, roundingfactor : u32) -> super::super::Foundation:: BOOL); |
| SetupGetSourceFileSizeW(infhandle, ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), filename.into_param().abi(), section.into_param().abi(), filesize, roundingfactor).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetSourceInfoA(infhandle: *const ::core::ffi::c_void, sourceid: u32, infodesired: u32, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetSourceInfoA(infhandle : *const ::core::ffi::c_void, sourceid : u32, infodesired : u32, returnbuffer : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetSourceInfoA(infhandle, sourceid, infodesired, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetSourceInfoW(infhandle: *const ::core::ffi::c_void, sourceid: u32, infodesired: u32, returnbuffer: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetSourceInfoW(infhandle : *const ::core::ffi::c_void, sourceid : u32, infodesired : u32, returnbuffer : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetSourceInfoW(infhandle, sourceid, infodesired, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetStringFieldA(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetStringFieldA(context : *const INFCONTEXT, fieldindex : u32, returnbuffer : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetStringFieldA(context, fieldindex, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetStringFieldW(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetStringFieldW(context : *const INFCONTEXT, fieldindex : u32, returnbuffer : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetStringFieldW(context, fieldindex, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetTargetPathA<P0>(infhandle: *const ::core::ffi::c_void, infcontext: ::core::option::Option<*const INFCONTEXT>, section: P0, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetTargetPathA(infhandle : *const ::core::ffi::c_void, infcontext : *const INFCONTEXT, section : ::windows_core::PCSTR, returnbuffer : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetTargetPathA(infhandle, ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), section.into_param().abi(), ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupGetTargetPathW<P0>(infhandle: *const ::core::ffi::c_void, infcontext: ::core::option::Option<*const INFCONTEXT>, section: P0, returnbuffer: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetTargetPathW(infhandle : *const ::core::ffi::c_void, infcontext : *const INFCONTEXT, section : ::windows_core::PCWSTR, returnbuffer : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupGetTargetPathW(infhandle, ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), section.into_param().abi(), ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[inline] |
| pub unsafe fn SetupGetThreadLogToken() -> u64 { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupGetThreadLogToken() -> u64); |
| SetupGetThreadLogToken() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupInitDefaultQueueCallback<P0>(ownerwindow: P0) -> *mut ::core::ffi::c_void |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInitDefaultQueueCallback(ownerwindow : super::super::Foundation:: HWND) -> *mut ::core::ffi::c_void); |
| SetupInitDefaultQueueCallback(ownerwindow.into_param().abi()) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupInitDefaultQueueCallbackEx<P0, P1>(ownerwindow: P0, alternateprogresswindow: P1, progressmessage: u32, reserved1: u32, reserved2: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut ::core::ffi::c_void |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInitDefaultQueueCallbackEx(ownerwindow : super::super::Foundation:: HWND, alternateprogresswindow : super::super::Foundation:: HWND, progressmessage : u32, reserved1 : u32, reserved2 : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void); |
| SetupInitDefaultQueueCallbackEx(ownerwindow.into_param().abi(), alternateprogresswindow.into_param().abi(), progressmessage, reserved1, ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))) |
| } |
| #[inline] |
| pub unsafe fn SetupInitializeFileLogA<P0>(logfilename: P0, flags: u32) -> *mut ::core::ffi::c_void |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInitializeFileLogA(logfilename : ::windows_core::PCSTR, flags : u32) -> *mut ::core::ffi::c_void); |
| SetupInitializeFileLogA(logfilename.into_param().abi(), flags) |
| } |
| #[inline] |
| pub unsafe fn SetupInitializeFileLogW<P0>(logfilename: P0, flags: u32) -> *mut ::core::ffi::c_void |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInitializeFileLogW(logfilename : ::windows_core::PCWSTR, flags : u32) -> *mut ::core::ffi::c_void); |
| SetupInitializeFileLogW(logfilename.into_param().abi(), flags) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupInstallFileA<P0, P1, P2>(infhandle: ::core::option::Option<*const ::core::ffi::c_void>, infcontext: ::core::option::Option<*const INFCONTEXT>, sourcefile: P0, sourcepathroot: P1, destinationname: P2, copystyle: SP_COPY_STYLE, copymsghandler: PSP_FILE_CALLBACK_A, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallFileA(infhandle : *const ::core::ffi::c_void, infcontext : *const INFCONTEXT, sourcefile : ::windows_core::PCSTR, sourcepathroot : ::windows_core::PCSTR, destinationname : ::windows_core::PCSTR, copystyle : SP_COPY_STYLE, copymsghandler : PSP_FILE_CALLBACK_A, context : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupInstallFileA(::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), sourcefile.into_param().abi(), sourcepathroot.into_param().abi(), destinationname.into_param().abi(), copystyle, copymsghandler, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupInstallFileExA<P0, P1, P2>(infhandle: ::core::option::Option<*const ::core::ffi::c_void>, infcontext: ::core::option::Option<*const INFCONTEXT>, sourcefile: P0, sourcepathroot: P1, destinationname: P2, copystyle: SP_COPY_STYLE, copymsghandler: PSP_FILE_CALLBACK_A, context: ::core::option::Option<*const ::core::ffi::c_void>, filewasinuse: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallFileExA(infhandle : *const ::core::ffi::c_void, infcontext : *const INFCONTEXT, sourcefile : ::windows_core::PCSTR, sourcepathroot : ::windows_core::PCSTR, destinationname : ::windows_core::PCSTR, copystyle : SP_COPY_STYLE, copymsghandler : PSP_FILE_CALLBACK_A, context : *const ::core::ffi::c_void, filewasinuse : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| SetupInstallFileExA(::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), sourcefile.into_param().abi(), sourcepathroot.into_param().abi(), destinationname.into_param().abi(), copystyle, copymsghandler, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), filewasinuse).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupInstallFileExW<P0, P1, P2>(infhandle: ::core::option::Option<*const ::core::ffi::c_void>, infcontext: ::core::option::Option<*const INFCONTEXT>, sourcefile: P0, sourcepathroot: P1, destinationname: P2, copystyle: SP_COPY_STYLE, copymsghandler: PSP_FILE_CALLBACK_W, context: ::core::option::Option<*const ::core::ffi::c_void>, filewasinuse: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallFileExW(infhandle : *const ::core::ffi::c_void, infcontext : *const INFCONTEXT, sourcefile : ::windows_core::PCWSTR, sourcepathroot : ::windows_core::PCWSTR, destinationname : ::windows_core::PCWSTR, copystyle : SP_COPY_STYLE, copymsghandler : PSP_FILE_CALLBACK_W, context : *const ::core::ffi::c_void, filewasinuse : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| SetupInstallFileExW(::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), sourcefile.into_param().abi(), sourcepathroot.into_param().abi(), destinationname.into_param().abi(), copystyle, copymsghandler, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), filewasinuse).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupInstallFileW<P0, P1, P2>(infhandle: ::core::option::Option<*const ::core::ffi::c_void>, infcontext: ::core::option::Option<*const INFCONTEXT>, sourcefile: P0, sourcepathroot: P1, destinationname: P2, copystyle: SP_COPY_STYLE, copymsghandler: PSP_FILE_CALLBACK_W, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallFileW(infhandle : *const ::core::ffi::c_void, infcontext : *const INFCONTEXT, sourcefile : ::windows_core::PCWSTR, sourcepathroot : ::windows_core::PCWSTR, destinationname : ::windows_core::PCWSTR, copystyle : SP_COPY_STYLE, copymsghandler : PSP_FILE_CALLBACK_W, context : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupInstallFileW(::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), sourcefile.into_param().abi(), sourcepathroot.into_param().abi(), destinationname.into_param().abi(), copystyle, copymsghandler, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupInstallFilesFromInfSectionA<P0, P1>(infhandle: *const ::core::ffi::c_void, layoutinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, filequeue: *const ::core::ffi::c_void, sectionname: P0, sourcerootpath: P1, copyflags: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallFilesFromInfSectionA(infhandle : *const ::core::ffi::c_void, layoutinfhandle : *const ::core::ffi::c_void, filequeue : *const ::core::ffi::c_void, sectionname : ::windows_core::PCSTR, sourcerootpath : ::windows_core::PCSTR, copyflags : u32) -> super::super::Foundation:: BOOL); |
| SetupInstallFilesFromInfSectionA(infhandle, ::core::mem::transmute(layoutinfhandle.unwrap_or(::std::ptr::null())), filequeue, sectionname.into_param().abi(), sourcerootpath.into_param().abi(), copyflags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupInstallFilesFromInfSectionW<P0, P1>(infhandle: *const ::core::ffi::c_void, layoutinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, filequeue: *const ::core::ffi::c_void, sectionname: P0, sourcerootpath: P1, copyflags: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallFilesFromInfSectionW(infhandle : *const ::core::ffi::c_void, layoutinfhandle : *const ::core::ffi::c_void, filequeue : *const ::core::ffi::c_void, sectionname : ::windows_core::PCWSTR, sourcerootpath : ::windows_core::PCWSTR, copyflags : u32) -> super::super::Foundation:: BOOL); |
| SetupInstallFilesFromInfSectionW(infhandle, ::core::mem::transmute(layoutinfhandle.unwrap_or(::std::ptr::null())), filequeue, sectionname.into_param().abi(), sourcerootpath.into_param().abi(), copyflags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] |
| #[inline] |
| pub unsafe fn SetupInstallFromInfSectionA<P0, P1, P2, P3, P4>(owner: P0, infhandle: *const ::core::ffi::c_void, sectionname: P1, flags: u32, relativekeyroot: P2, sourcerootpath: P3, copyflags: u32, msghandler: PSP_FILE_CALLBACK_A, context: ::core::option::Option<*const ::core::ffi::c_void>, deviceinfoset: P4, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<super::super::System::Registry::HKEY>, |
| P3: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P4: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallFromInfSectionA(owner : super::super::Foundation:: HWND, infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCSTR, flags : u32, relativekeyroot : super::super::System::Registry:: HKEY, sourcerootpath : ::windows_core::PCSTR, copyflags : u32, msghandler : PSP_FILE_CALLBACK_A, context : *const ::core::ffi::c_void, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupInstallFromInfSectionA(owner.into_param().abi(), infhandle, sectionname.into_param().abi(), flags, relativekeyroot.into_param().abi(), sourcerootpath.into_param().abi(), copyflags, msghandler, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] |
| #[inline] |
| pub unsafe fn SetupInstallFromInfSectionW<P0, P1, P2, P3, P4>(owner: P0, infhandle: *const ::core::ffi::c_void, sectionname: P1, flags: u32, relativekeyroot: P2, sourcerootpath: P3, copyflags: u32, msghandler: PSP_FILE_CALLBACK_W, context: ::core::option::Option<*const ::core::ffi::c_void>, deviceinfoset: P4, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<super::super::System::Registry::HKEY>, |
| P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P4: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallFromInfSectionW(owner : super::super::Foundation:: HWND, infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCWSTR, flags : u32, relativekeyroot : super::super::System::Registry:: HKEY, sourcerootpath : ::windows_core::PCWSTR, copyflags : u32, msghandler : PSP_FILE_CALLBACK_W, context : *const ::core::ffi::c_void, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); |
| SetupInstallFromInfSectionW(owner.into_param().abi(), infhandle, sectionname.into_param().abi(), flags, relativekeyroot.into_param().abi(), sourcerootpath.into_param().abi(), copyflags, msghandler, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupInstallServicesFromInfSectionA<P0>(infhandle: *const ::core::ffi::c_void, sectionname: P0, flags: SPSVCINST_FLAGS) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallServicesFromInfSectionA(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCSTR, flags : SPSVCINST_FLAGS) -> super::super::Foundation:: BOOL); |
| SetupInstallServicesFromInfSectionA(infhandle, sectionname.into_param().abi(), flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupInstallServicesFromInfSectionExA<P0, P1>(infhandle: *const ::core::ffi::c_void, sectionname: P0, flags: SPSVCINST_FLAGS, deviceinfoset: P1, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallServicesFromInfSectionExA(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCSTR, flags : SPSVCINST_FLAGS, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, reserved1 : *const ::core::ffi::c_void, reserved2 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupInstallServicesFromInfSectionExA(infhandle, sectionname.into_param().abi(), flags, deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupInstallServicesFromInfSectionExW<P0, P1>(infhandle: *const ::core::ffi::c_void, sectionname: P0, flags: SPSVCINST_FLAGS, deviceinfoset: P1, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<HDEVINFO>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallServicesFromInfSectionExW(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCWSTR, flags : SPSVCINST_FLAGS, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, reserved1 : *const ::core::ffi::c_void, reserved2 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupInstallServicesFromInfSectionExW(infhandle, sectionname.into_param().abi(), flags, deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupInstallServicesFromInfSectionW<P0>(infhandle: *const ::core::ffi::c_void, sectionname: P0, flags: SPSVCINST_FLAGS) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallServicesFromInfSectionW(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCWSTR, flags : SPSVCINST_FLAGS) -> super::super::Foundation:: BOOL); |
| SetupInstallServicesFromInfSectionW(infhandle, sectionname.into_param().abi(), flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupIterateCabinetA<P0>(cabinetfile: P0, reserved: u32, msghandler: PSP_FILE_CALLBACK_A, context: *const ::core::ffi::c_void) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupIterateCabinetA(cabinetfile : ::windows_core::PCSTR, reserved : u32, msghandler : PSP_FILE_CALLBACK_A, context : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupIterateCabinetA(cabinetfile.into_param().abi(), reserved, msghandler, context).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupIterateCabinetW<P0>(cabinetfile: P0, reserved: u32, msghandler: PSP_FILE_CALLBACK_W, context: *const ::core::ffi::c_void) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupIterateCabinetW(cabinetfile : ::windows_core::PCWSTR, reserved : u32, msghandler : PSP_FILE_CALLBACK_W, context : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupIterateCabinetW(cabinetfile.into_param().abi(), reserved, msghandler, context).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupLogErrorA<P0>(messagestring: P0, severity: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupLogErrorA(messagestring : ::windows_core::PCSTR, severity : u32) -> super::super::Foundation:: BOOL); |
| SetupLogErrorA(messagestring.into_param().abi(), severity).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupLogErrorW<P0>(messagestring: P0, severity: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupLogErrorW(messagestring : ::windows_core::PCWSTR, severity : u32) -> super::super::Foundation:: BOOL); |
| SetupLogErrorW(messagestring.into_param().abi(), severity).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupLogFileA<P0, P1, P2, P3, P4, P5>(fileloghandle: *const ::core::ffi::c_void, logsectionname: P0, sourcefilename: P1, targetfilename: P2, checksum: u32, disktagfile: P3, diskdescription: P4, otherinfo: P5, flags: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P4: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P5: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupLogFileA(fileloghandle : *const ::core::ffi::c_void, logsectionname : ::windows_core::PCSTR, sourcefilename : ::windows_core::PCSTR, targetfilename : ::windows_core::PCSTR, checksum : u32, disktagfile : ::windows_core::PCSTR, diskdescription : ::windows_core::PCSTR, otherinfo : ::windows_core::PCSTR, flags : u32) -> super::super::Foundation:: BOOL); |
| SetupLogFileA(fileloghandle, logsectionname.into_param().abi(), sourcefilename.into_param().abi(), targetfilename.into_param().abi(), checksum, disktagfile.into_param().abi(), diskdescription.into_param().abi(), otherinfo.into_param().abi(), flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupLogFileW<P0, P1, P2, P3, P4, P5>(fileloghandle: *const ::core::ffi::c_void, logsectionname: P0, sourcefilename: P1, targetfilename: P2, checksum: u32, disktagfile: P3, diskdescription: P4, otherinfo: P5, flags: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P4: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P5: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupLogFileW(fileloghandle : *const ::core::ffi::c_void, logsectionname : ::windows_core::PCWSTR, sourcefilename : ::windows_core::PCWSTR, targetfilename : ::windows_core::PCWSTR, checksum : u32, disktagfile : ::windows_core::PCWSTR, diskdescription : ::windows_core::PCWSTR, otherinfo : ::windows_core::PCWSTR, flags : u32) -> super::super::Foundation:: BOOL); |
| SetupLogFileW(fileloghandle, logsectionname.into_param().abi(), sourcefilename.into_param().abi(), targetfilename.into_param().abi(), checksum, disktagfile.into_param().abi(), diskdescription.into_param().abi(), otherinfo.into_param().abi(), flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupOpenAppendInfFileA<P0>(filename: P0, infhandle: *const ::core::ffi::c_void, errorline: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupOpenAppendInfFileA(filename : ::windows_core::PCSTR, infhandle : *const ::core::ffi::c_void, errorline : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupOpenAppendInfFileA(filename.into_param().abi(), infhandle, ::core::mem::transmute(errorline.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupOpenAppendInfFileW<P0>(filename: P0, infhandle: *const ::core::ffi::c_void, errorline: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupOpenAppendInfFileW(filename : ::windows_core::PCWSTR, infhandle : *const ::core::ffi::c_void, errorline : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupOpenAppendInfFileW(filename.into_param().abi(), infhandle, ::core::mem::transmute(errorline.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[inline] |
| pub unsafe fn SetupOpenFileQueue() -> *mut ::core::ffi::c_void { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupOpenFileQueue() -> *mut ::core::ffi::c_void); |
| SetupOpenFileQueue() |
| } |
| #[inline] |
| pub unsafe fn SetupOpenInfFileA<P0, P1>(filename: P0, infclass: P1, infstyle: INF_STYLE, errorline: ::core::option::Option<*mut u32>) -> *mut ::core::ffi::c_void |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupOpenInfFileA(filename : ::windows_core::PCSTR, infclass : ::windows_core::PCSTR, infstyle : INF_STYLE, errorline : *mut u32) -> *mut ::core::ffi::c_void); |
| SetupOpenInfFileA(filename.into_param().abi(), infclass.into_param().abi(), infstyle, ::core::mem::transmute(errorline.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[inline] |
| pub unsafe fn SetupOpenInfFileW<P0, P1>(filename: P0, infclass: P1, infstyle: INF_STYLE, errorline: ::core::option::Option<*mut u32>) -> *mut ::core::ffi::c_void |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupOpenInfFileW(filename : ::windows_core::PCWSTR, infclass : ::windows_core::PCWSTR, infstyle : INF_STYLE, errorline : *mut u32) -> *mut ::core::ffi::c_void); |
| SetupOpenInfFileW(filename.into_param().abi(), infclass.into_param().abi(), infstyle, ::core::mem::transmute(errorline.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupOpenLog<P0>(erase: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupOpenLog(erase : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| SetupOpenLog(erase.into_param().abi()).ok() |
| } |
| #[inline] |
| pub unsafe fn SetupOpenMasterInf() -> *mut ::core::ffi::c_void { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupOpenMasterInf() -> *mut ::core::ffi::c_void); |
| SetupOpenMasterInf() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupPrepareQueueForRestoreA<P0>(queuehandle: *const ::core::ffi::c_void, backuppath: P0, restoreflags: u32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupPrepareQueueForRestoreA(queuehandle : *const ::core::ffi::c_void, backuppath : ::windows_core::PCSTR, restoreflags : u32) -> super::super::Foundation:: BOOL); |
| SetupPrepareQueueForRestoreA(queuehandle, backuppath.into_param().abi(), restoreflags) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupPrepareQueueForRestoreW<P0>(queuehandle: *const ::core::ffi::c_void, backuppath: P0, restoreflags: u32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupPrepareQueueForRestoreW(queuehandle : *const ::core::ffi::c_void, backuppath : ::windows_core::PCWSTR, restoreflags : u32) -> super::super::Foundation:: BOOL); |
| SetupPrepareQueueForRestoreW(queuehandle, backuppath.into_param().abi(), restoreflags) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupPromptForDiskA<P0, P1, P2, P3, P4, P5>(hwndparent: P0, dialogtitle: P1, diskname: P2, pathtosource: P3, filesought: P4, tagfile: P5, diskpromptstyle: u32, pathbuffer: ::core::option::Option<&mut [u8]>, pathrequiredsize: ::core::option::Option<*mut u32>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P4: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P5: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupPromptForDiskA(hwndparent : super::super::Foundation:: HWND, dialogtitle : ::windows_core::PCSTR, diskname : ::windows_core::PCSTR, pathtosource : ::windows_core::PCSTR, filesought : ::windows_core::PCSTR, tagfile : ::windows_core::PCSTR, diskpromptstyle : u32, pathbuffer : ::windows_core::PSTR, pathbuffersize : u32, pathrequiredsize : *mut u32) -> u32); |
| SetupPromptForDiskA(hwndparent.into_param().abi(), dialogtitle.into_param().abi(), diskname.into_param().abi(), pathtosource.into_param().abi(), filesought.into_param().abi(), tagfile.into_param().abi(), diskpromptstyle, ::core::mem::transmute(pathbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pathbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pathrequiredsize.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupPromptForDiskW<P0, P1, P2, P3, P4, P5>(hwndparent: P0, dialogtitle: P1, diskname: P2, pathtosource: P3, filesought: P4, tagfile: P5, diskpromptstyle: u32, pathbuffer: ::core::option::Option<&mut [u16]>, pathrequiredsize: ::core::option::Option<*mut u32>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P4: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P5: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupPromptForDiskW(hwndparent : super::super::Foundation:: HWND, dialogtitle : ::windows_core::PCWSTR, diskname : ::windows_core::PCWSTR, pathtosource : ::windows_core::PCWSTR, filesought : ::windows_core::PCWSTR, tagfile : ::windows_core::PCWSTR, diskpromptstyle : u32, pathbuffer : ::windows_core::PWSTR, pathbuffersize : u32, pathrequiredsize : *mut u32) -> u32); |
| SetupPromptForDiskW(hwndparent.into_param().abi(), dialogtitle.into_param().abi(), diskname.into_param().abi(), pathtosource.into_param().abi(), filesought.into_param().abi(), tagfile.into_param().abi(), diskpromptstyle, ::core::mem::transmute(pathbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pathbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pathrequiredsize.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupPromptReboot<P0, P1>(filequeue: ::core::option::Option<*const ::core::ffi::c_void>, owner: P0, scanonly: P1) -> i32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupPromptReboot(filequeue : *const ::core::ffi::c_void, owner : super::super::Foundation:: HWND, scanonly : super::super::Foundation:: BOOL) -> i32); |
| SetupPromptReboot(::core::mem::transmute(filequeue.unwrap_or(::std::ptr::null())), owner.into_param().abi(), scanonly.into_param().abi()) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueryDrivesInDiskSpaceListA(diskspace: *const ::core::ffi::c_void, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueryDrivesInDiskSpaceListA(diskspace : *const ::core::ffi::c_void, returnbuffer : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupQueryDrivesInDiskSpaceListA(diskspace, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueryDrivesInDiskSpaceListW(diskspace: *const ::core::ffi::c_void, returnbuffer: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueryDrivesInDiskSpaceListW(diskspace : *const ::core::ffi::c_void, returnbuffer : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupQueryDrivesInDiskSpaceListW(diskspace, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueryFileLogA<P0, P1>(fileloghandle: *const ::core::ffi::c_void, logsectionname: P0, targetfilename: P1, desiredinfo: SetupFileLogInfo, dataout: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueryFileLogA(fileloghandle : *const ::core::ffi::c_void, logsectionname : ::windows_core::PCSTR, targetfilename : ::windows_core::PCSTR, desiredinfo : SetupFileLogInfo, dataout : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupQueryFileLogA(fileloghandle, logsectionname.into_param().abi(), targetfilename.into_param().abi(), desiredinfo, ::core::mem::transmute(dataout.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dataout.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueryFileLogW<P0, P1>(fileloghandle: *const ::core::ffi::c_void, logsectionname: P0, targetfilename: P1, desiredinfo: SetupFileLogInfo, dataout: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueryFileLogW(fileloghandle : *const ::core::ffi::c_void, logsectionname : ::windows_core::PCWSTR, targetfilename : ::windows_core::PCWSTR, desiredinfo : SetupFileLogInfo, dataout : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupQueryFileLogW(fileloghandle, logsectionname.into_param().abi(), targetfilename.into_param().abi(), desiredinfo, ::core::mem::transmute(dataout.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dataout.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueryInfFileInformationA(infinformation: *const SP_INF_INFORMATION, infindex: u32, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueryInfFileInformationA(infinformation : *const SP_INF_INFORMATION, infindex : u32, returnbuffer : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupQueryInfFileInformationA(infinformation, infindex, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueryInfFileInformationW(infinformation: *const SP_INF_INFORMATION, infindex: u32, returnbuffer: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueryInfFileInformationW(infinformation : *const SP_INF_INFORMATION, infindex : u32, returnbuffer : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupQueryInfFileInformationW(infinformation, infindex, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] |
| #[inline] |
| pub unsafe fn SetupQueryInfOriginalFileInformationA(infinformation: *const SP_INF_INFORMATION, infindex: u32, alternateplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, originalfileinfo: *mut SP_ORIGINAL_FILE_INFO_A) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueryInfOriginalFileInformationA(infinformation : *const SP_INF_INFORMATION, infindex : u32, alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2, originalfileinfo : *mut SP_ORIGINAL_FILE_INFO_A) -> super::super::Foundation:: BOOL); |
| SetupQueryInfOriginalFileInformationA(infinformation, infindex, ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), originalfileinfo).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] |
| #[inline] |
| pub unsafe fn SetupQueryInfOriginalFileInformationW(infinformation: *const SP_INF_INFORMATION, infindex: u32, alternateplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, originalfileinfo: *mut SP_ORIGINAL_FILE_INFO_W) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueryInfOriginalFileInformationW(infinformation : *const SP_INF_INFORMATION, infindex : u32, alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2, originalfileinfo : *mut SP_ORIGINAL_FILE_INFO_W) -> super::super::Foundation:: BOOL); |
| SetupQueryInfOriginalFileInformationW(infinformation, infindex, ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), originalfileinfo).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueryInfVersionInformationA<P0>(infinformation: *const SP_INF_INFORMATION, infindex: u32, key: P0, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueryInfVersionInformationA(infinformation : *const SP_INF_INFORMATION, infindex : u32, key : ::windows_core::PCSTR, returnbuffer : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupQueryInfVersionInformationA(infinformation, infindex, key.into_param().abi(), ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueryInfVersionInformationW<P0>(infinformation: *const SP_INF_INFORMATION, infindex: u32, key: P0, returnbuffer: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueryInfVersionInformationW(infinformation : *const SP_INF_INFORMATION, infindex : u32, key : ::windows_core::PCWSTR, returnbuffer : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupQueryInfVersionInformationW(infinformation, infindex, key.into_param().abi(), ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQuerySourceListA(flags: u32, list: *mut *mut ::windows_core::PCSTR, count: *mut u32) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQuerySourceListA(flags : u32, list : *mut *mut ::windows_core::PCSTR, count : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupQuerySourceListA(flags, list, count).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQuerySourceListW(flags: u32, list: *mut *mut ::windows_core::PCWSTR, count: *mut u32) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQuerySourceListW(flags : u32, list : *mut *mut ::windows_core::PCWSTR, count : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupQuerySourceListW(flags, list, count).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQuerySpaceRequiredOnDriveA<P0>(diskspace: *const ::core::ffi::c_void, drivespec: P0, spacerequired: *mut i64, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQuerySpaceRequiredOnDriveA(diskspace : *const ::core::ffi::c_void, drivespec : ::windows_core::PCSTR, spacerequired : *mut i64, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupQuerySpaceRequiredOnDriveA(diskspace, drivespec.into_param().abi(), spacerequired, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQuerySpaceRequiredOnDriveW<P0>(diskspace: *const ::core::ffi::c_void, drivespec: P0, spacerequired: *mut i64, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQuerySpaceRequiredOnDriveW(diskspace : *const ::core::ffi::c_void, drivespec : ::windows_core::PCWSTR, spacerequired : *mut i64, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupQuerySpaceRequiredOnDriveW(diskspace, drivespec.into_param().abi(), spacerequired, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueCopyA<P0, P1, P2, P3, P4, P5, P6>(queuehandle: *const ::core::ffi::c_void, sourcerootpath: P0, sourcepath: P1, sourcefilename: P2, sourcedescription: P3, sourcetagfile: P4, targetdirectory: P5, targetfilename: P6, copystyle: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P4: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P5: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P6: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueCopyA(queuehandle : *const ::core::ffi::c_void, sourcerootpath : ::windows_core::PCSTR, sourcepath : ::windows_core::PCSTR, sourcefilename : ::windows_core::PCSTR, sourcedescription : ::windows_core::PCSTR, sourcetagfile : ::windows_core::PCSTR, targetdirectory : ::windows_core::PCSTR, targetfilename : ::windows_core::PCSTR, copystyle : u32) -> super::super::Foundation:: BOOL); |
| SetupQueueCopyA(queuehandle, sourcerootpath.into_param().abi(), sourcepath.into_param().abi(), sourcefilename.into_param().abi(), sourcedescription.into_param().abi(), sourcetagfile.into_param().abi(), targetdirectory.into_param().abi(), targetfilename.into_param().abi(), copystyle).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueCopyIndirectA(copyparams: *const SP_FILE_COPY_PARAMS_A) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueCopyIndirectA(copyparams : *const SP_FILE_COPY_PARAMS_A) -> super::super::Foundation:: BOOL); |
| SetupQueueCopyIndirectA(copyparams).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueCopyIndirectW(copyparams: *const SP_FILE_COPY_PARAMS_W) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueCopyIndirectW(copyparams : *const SP_FILE_COPY_PARAMS_W) -> super::super::Foundation:: BOOL); |
| SetupQueueCopyIndirectW(copyparams).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueCopySectionA<P0, P1>(queuehandle: *const ::core::ffi::c_void, sourcerootpath: P0, infhandle: *const ::core::ffi::c_void, listinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, section: P1, copystyle: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueCopySectionA(queuehandle : *const ::core::ffi::c_void, sourcerootpath : ::windows_core::PCSTR, infhandle : *const ::core::ffi::c_void, listinfhandle : *const ::core::ffi::c_void, section : ::windows_core::PCSTR, copystyle : u32) -> super::super::Foundation:: BOOL); |
| SetupQueueCopySectionA(queuehandle, sourcerootpath.into_param().abi(), infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), section.into_param().abi(), copystyle).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueCopySectionW<P0, P1>(queuehandle: *const ::core::ffi::c_void, sourcerootpath: P0, infhandle: *const ::core::ffi::c_void, listinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, section: P1, copystyle: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueCopySectionW(queuehandle : *const ::core::ffi::c_void, sourcerootpath : ::windows_core::PCWSTR, infhandle : *const ::core::ffi::c_void, listinfhandle : *const ::core::ffi::c_void, section : ::windows_core::PCWSTR, copystyle : u32) -> super::super::Foundation:: BOOL); |
| SetupQueueCopySectionW(queuehandle, sourcerootpath.into_param().abi(), infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), section.into_param().abi(), copystyle).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueCopyW<P0, P1, P2, P3, P4, P5, P6>(queuehandle: *const ::core::ffi::c_void, sourcerootpath: P0, sourcepath: P1, sourcefilename: P2, sourcedescription: P3, sourcetagfile: P4, targetdirectory: P5, targetfilename: P6, copystyle: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P4: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P5: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P6: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueCopyW(queuehandle : *const ::core::ffi::c_void, sourcerootpath : ::windows_core::PCWSTR, sourcepath : ::windows_core::PCWSTR, sourcefilename : ::windows_core::PCWSTR, sourcedescription : ::windows_core::PCWSTR, sourcetagfile : ::windows_core::PCWSTR, targetdirectory : ::windows_core::PCWSTR, targetfilename : ::windows_core::PCWSTR, copystyle : u32) -> super::super::Foundation:: BOOL); |
| SetupQueueCopyW(queuehandle, sourcerootpath.into_param().abi(), sourcepath.into_param().abi(), sourcefilename.into_param().abi(), sourcedescription.into_param().abi(), sourcetagfile.into_param().abi(), targetdirectory.into_param().abi(), targetfilename.into_param().abi(), copystyle).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueDefaultCopyA<P0, P1, P2>(queuehandle: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, sourcerootpath: P0, sourcefilename: P1, targetfilename: P2, copystyle: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueDefaultCopyA(queuehandle : *const ::core::ffi::c_void, infhandle : *const ::core::ffi::c_void, sourcerootpath : ::windows_core::PCSTR, sourcefilename : ::windows_core::PCSTR, targetfilename : ::windows_core::PCSTR, copystyle : u32) -> super::super::Foundation:: BOOL); |
| SetupQueueDefaultCopyA(queuehandle, infhandle, sourcerootpath.into_param().abi(), sourcefilename.into_param().abi(), targetfilename.into_param().abi(), copystyle).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueDefaultCopyW<P0, P1, P2>(queuehandle: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, sourcerootpath: P0, sourcefilename: P1, targetfilename: P2, copystyle: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueDefaultCopyW(queuehandle : *const ::core::ffi::c_void, infhandle : *const ::core::ffi::c_void, sourcerootpath : ::windows_core::PCWSTR, sourcefilename : ::windows_core::PCWSTR, targetfilename : ::windows_core::PCWSTR, copystyle : u32) -> super::super::Foundation:: BOOL); |
| SetupQueueDefaultCopyW(queuehandle, infhandle, sourcerootpath.into_param().abi(), sourcefilename.into_param().abi(), targetfilename.into_param().abi(), copystyle).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueDeleteA<P0, P1>(queuehandle: *const ::core::ffi::c_void, pathpart1: P0, pathpart2: P1) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueDeleteA(queuehandle : *const ::core::ffi::c_void, pathpart1 : ::windows_core::PCSTR, pathpart2 : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); |
| SetupQueueDeleteA(queuehandle, pathpart1.into_param().abi(), pathpart2.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueDeleteSectionA<P0>(queuehandle: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, section: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueDeleteSectionA(queuehandle : *const ::core::ffi::c_void, infhandle : *const ::core::ffi::c_void, listinfhandle : *const ::core::ffi::c_void, section : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); |
| SetupQueueDeleteSectionA(queuehandle, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), section.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueDeleteSectionW<P0>(queuehandle: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, section: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueDeleteSectionW(queuehandle : *const ::core::ffi::c_void, infhandle : *const ::core::ffi::c_void, listinfhandle : *const ::core::ffi::c_void, section : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); |
| SetupQueueDeleteSectionW(queuehandle, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), section.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueDeleteW<P0, P1>(queuehandle: *const ::core::ffi::c_void, pathpart1: P0, pathpart2: P1) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueDeleteW(queuehandle : *const ::core::ffi::c_void, pathpart1 : ::windows_core::PCWSTR, pathpart2 : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); |
| SetupQueueDeleteW(queuehandle, pathpart1.into_param().abi(), pathpart2.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueRenameA<P0, P1, P2, P3>(queuehandle: *const ::core::ffi::c_void, sourcepath: P0, sourcefilename: P1, targetpath: P2, targetfilename: P3) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueRenameA(queuehandle : *const ::core::ffi::c_void, sourcepath : ::windows_core::PCSTR, sourcefilename : ::windows_core::PCSTR, targetpath : ::windows_core::PCSTR, targetfilename : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); |
| SetupQueueRenameA(queuehandle, sourcepath.into_param().abi(), sourcefilename.into_param().abi(), targetpath.into_param().abi(), targetfilename.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueRenameSectionA<P0>(queuehandle: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, section: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueRenameSectionA(queuehandle : *const ::core::ffi::c_void, infhandle : *const ::core::ffi::c_void, listinfhandle : *const ::core::ffi::c_void, section : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); |
| SetupQueueRenameSectionA(queuehandle, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), section.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueRenameSectionW<P0>(queuehandle: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, section: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueRenameSectionW(queuehandle : *const ::core::ffi::c_void, infhandle : *const ::core::ffi::c_void, listinfhandle : *const ::core::ffi::c_void, section : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); |
| SetupQueueRenameSectionW(queuehandle, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), section.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupQueueRenameW<P0, P1, P2, P3>(queuehandle: *const ::core::ffi::c_void, sourcepath: P0, sourcefilename: P1, targetpath: P2, targetfilename: P3) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupQueueRenameW(queuehandle : *const ::core::ffi::c_void, sourcepath : ::windows_core::PCWSTR, sourcefilename : ::windows_core::PCWSTR, targetpath : ::windows_core::PCWSTR, targetfilename : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); |
| SetupQueueRenameW(queuehandle, sourcepath.into_param().abi(), sourcefilename.into_param().abi(), targetpath.into_param().abi(), targetfilename.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupRemoveFileLogEntryA<P0, P1>(fileloghandle: *const ::core::ffi::c_void, logsectionname: P0, targetfilename: P1) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupRemoveFileLogEntryA(fileloghandle : *const ::core::ffi::c_void, logsectionname : ::windows_core::PCSTR, targetfilename : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); |
| SetupRemoveFileLogEntryA(fileloghandle, logsectionname.into_param().abi(), targetfilename.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupRemoveFileLogEntryW<P0, P1>(fileloghandle: *const ::core::ffi::c_void, logsectionname: P0, targetfilename: P1) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupRemoveFileLogEntryW(fileloghandle : *const ::core::ffi::c_void, logsectionname : ::windows_core::PCWSTR, targetfilename : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); |
| SetupRemoveFileLogEntryW(fileloghandle, logsectionname.into_param().abi(), targetfilename.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupRemoveFromDiskSpaceListA<P0>(diskspace: *const ::core::ffi::c_void, targetfilespec: P0, operation: SETUP_FILE_OPERATION, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupRemoveFromDiskSpaceListA(diskspace : *const ::core::ffi::c_void, targetfilespec : ::windows_core::PCSTR, operation : SETUP_FILE_OPERATION, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupRemoveFromDiskSpaceListA(diskspace, targetfilespec.into_param().abi(), operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupRemoveFromDiskSpaceListW<P0>(diskspace: *const ::core::ffi::c_void, targetfilespec: P0, operation: SETUP_FILE_OPERATION, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupRemoveFromDiskSpaceListW(diskspace : *const ::core::ffi::c_void, targetfilespec : ::windows_core::PCWSTR, operation : SETUP_FILE_OPERATION, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupRemoveFromDiskSpaceListW(diskspace, targetfilespec.into_param().abi(), operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupRemoveFromSourceListA<P0>(flags: u32, source: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupRemoveFromSourceListA(flags : u32, source : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); |
| SetupRemoveFromSourceListA(flags, source.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupRemoveFromSourceListW<P0>(flags: u32, source: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupRemoveFromSourceListW(flags : u32, source : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); |
| SetupRemoveFromSourceListW(flags, source.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupRemoveInstallSectionFromDiskSpaceListA<P0>(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, layoutinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, sectionname: P0, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupRemoveInstallSectionFromDiskSpaceListA(diskspace : *const ::core::ffi::c_void, infhandle : *const ::core::ffi::c_void, layoutinfhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCSTR, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupRemoveInstallSectionFromDiskSpaceListA(diskspace, infhandle, ::core::mem::transmute(layoutinfhandle.unwrap_or(::std::ptr::null())), sectionname.into_param().abi(), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupRemoveInstallSectionFromDiskSpaceListW<P0>(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, layoutinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, sectionname: P0, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupRemoveInstallSectionFromDiskSpaceListW(diskspace : *const ::core::ffi::c_void, infhandle : *const ::core::ffi::c_void, layoutinfhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCWSTR, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupRemoveInstallSectionFromDiskSpaceListW(diskspace, infhandle, ::core::mem::transmute(layoutinfhandle.unwrap_or(::std::ptr::null())), sectionname.into_param().abi(), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupRemoveSectionFromDiskSpaceListA<P0>(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, sectionname: P0, operation: SETUP_FILE_OPERATION, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupRemoveSectionFromDiskSpaceListA(diskspace : *const ::core::ffi::c_void, infhandle : *const ::core::ffi::c_void, listinfhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCSTR, operation : SETUP_FILE_OPERATION, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupRemoveSectionFromDiskSpaceListA(diskspace, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), sectionname.into_param().abi(), operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupRemoveSectionFromDiskSpaceListW<P0>(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: ::core::option::Option<*const ::core::ffi::c_void>, sectionname: P0, operation: SETUP_FILE_OPERATION, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupRemoveSectionFromDiskSpaceListW(diskspace : *const ::core::ffi::c_void, infhandle : *const ::core::ffi::c_void, listinfhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCWSTR, operation : SETUP_FILE_OPERATION, reserved1 : *const ::core::ffi::c_void, reserved2 : u32) -> super::super::Foundation:: BOOL); |
| SetupRemoveSectionFromDiskSpaceListW(diskspace, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), sectionname.into_param().abi(), operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupRenameErrorA<P0, P1, P2, P3>(hwndparent: P0, dialogtitle: P1, sourcefile: P2, targetfile: P3, win32errorcode: u32, style: u32) -> u32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupRenameErrorA(hwndparent : super::super::Foundation:: HWND, dialogtitle : ::windows_core::PCSTR, sourcefile : ::windows_core::PCSTR, targetfile : ::windows_core::PCSTR, win32errorcode : u32, style : u32) -> u32); |
| SetupRenameErrorA(hwndparent.into_param().abi(), dialogtitle.into_param().abi(), sourcefile.into_param().abi(), targetfile.into_param().abi(), win32errorcode, style) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupRenameErrorW<P0, P1, P2, P3>(hwndparent: P0, dialogtitle: P1, sourcefile: P2, targetfile: P3, win32errorcode: u32, style: u32) -> u32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupRenameErrorW(hwndparent : super::super::Foundation:: HWND, dialogtitle : ::windows_core::PCWSTR, sourcefile : ::windows_core::PCWSTR, targetfile : ::windows_core::PCWSTR, win32errorcode : u32, style : u32) -> u32); |
| SetupRenameErrorW(hwndparent.into_param().abi(), dialogtitle.into_param().abi(), sourcefile.into_param().abi(), targetfile.into_param().abi(), win32errorcode, style) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupScanFileQueueA<P0>(filequeue: *const ::core::ffi::c_void, flags: SETUPSCANFILEQUEUE_FLAGS, window: P0, callbackroutine: PSP_FILE_CALLBACK_A, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, result: *mut u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupScanFileQueueA(filequeue : *const ::core::ffi::c_void, flags : SETUPSCANFILEQUEUE_FLAGS, window : super::super::Foundation:: HWND, callbackroutine : PSP_FILE_CALLBACK_A, callbackcontext : *const ::core::ffi::c_void, result : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupScanFileQueueA(filequeue, flags, window.into_param().abi(), callbackroutine, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), result).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupScanFileQueueW<P0>(filequeue: *const ::core::ffi::c_void, flags: SETUPSCANFILEQUEUE_FLAGS, window: P0, callbackroutine: PSP_FILE_CALLBACK_W, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, result: *mut u32) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupScanFileQueueW(filequeue : *const ::core::ffi::c_void, flags : SETUPSCANFILEQUEUE_FLAGS, window : super::super::Foundation:: HWND, callbackroutine : PSP_FILE_CALLBACK_W, callbackcontext : *const ::core::ffi::c_void, result : *mut u32) -> super::super::Foundation:: BOOL); |
| SetupScanFileQueueW(filequeue, flags, window.into_param().abi(), callbackroutine, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), result).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupSetDirectoryIdA<P0>(infhandle: *const ::core::ffi::c_void, id: u32, directory: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupSetDirectoryIdA(infhandle : *const ::core::ffi::c_void, id : u32, directory : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); |
| SetupSetDirectoryIdA(infhandle, id, directory.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupSetDirectoryIdExA<P0>(infhandle: *const ::core::ffi::c_void, id: u32, directory: P0, flags: u32, reserved1: u32, reserved2: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupSetDirectoryIdExA(infhandle : *const ::core::ffi::c_void, id : u32, directory : ::windows_core::PCSTR, flags : u32, reserved1 : u32, reserved2 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupSetDirectoryIdExA(infhandle, id, directory.into_param().abi(), flags, reserved1, ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupSetDirectoryIdExW<P0>(infhandle: *const ::core::ffi::c_void, id: u32, directory: P0, flags: u32, reserved1: u32, reserved2: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupSetDirectoryIdExW(infhandle : *const ::core::ffi::c_void, id : u32, directory : ::windows_core::PCWSTR, flags : u32, reserved1 : u32, reserved2 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupSetDirectoryIdExW(infhandle, id, directory.into_param().abi(), flags, reserved1, ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupSetDirectoryIdW<P0>(infhandle: *const ::core::ffi::c_void, id: u32, directory: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupSetDirectoryIdW(infhandle : *const ::core::ffi::c_void, id : u32, directory : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); |
| SetupSetDirectoryIdW(infhandle, id, directory.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] |
| #[inline] |
| pub unsafe fn SetupSetFileQueueAlternatePlatformA<P0>(queuehandle: *const ::core::ffi::c_void, alternateplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, alternatedefaultcatalogfile: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupSetFileQueueAlternatePlatformA(queuehandle : *const ::core::ffi::c_void, alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2, alternatedefaultcatalogfile : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); |
| SetupSetFileQueueAlternatePlatformA(queuehandle, ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), alternatedefaultcatalogfile.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] |
| #[inline] |
| pub unsafe fn SetupSetFileQueueAlternatePlatformW<P0>(queuehandle: *const ::core::ffi::c_void, alternateplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, alternatedefaultcatalogfile: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupSetFileQueueAlternatePlatformW(queuehandle : *const ::core::ffi::c_void, alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2, alternatedefaultcatalogfile : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); |
| SetupSetFileQueueAlternatePlatformW(queuehandle, ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), alternatedefaultcatalogfile.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupSetFileQueueFlags(filequeue: *const ::core::ffi::c_void, flagmask: u32, flags: u32) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupSetFileQueueFlags(filequeue : *const ::core::ffi::c_void, flagmask : u32, flags : u32) -> super::super::Foundation:: BOOL); |
| SetupSetFileQueueFlags(filequeue, flagmask, flags).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupSetNonInteractiveMode<P0>(noninteractiveflag: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupSetNonInteractiveMode(noninteractiveflag : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| SetupSetNonInteractiveMode(noninteractiveflag.into_param().abi()) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupSetPlatformPathOverrideA<P0>(r#override: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupSetPlatformPathOverrideA(r#override : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); |
| SetupSetPlatformPathOverrideA(r#override.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupSetPlatformPathOverrideW<P0>(r#override: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupSetPlatformPathOverrideW(r#override : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); |
| SetupSetPlatformPathOverrideW(r#override.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupSetSourceListA(flags: u32, sourcelist: &[::windows_core::PCSTR]) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupSetSourceListA(flags : u32, sourcelist : *const ::windows_core::PCSTR, sourcecount : u32) -> super::super::Foundation:: BOOL); |
| SetupSetSourceListA(flags, ::core::mem::transmute(sourcelist.as_ptr()), sourcelist.len().try_into().unwrap()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupSetSourceListW(flags: u32, sourcelist: &[::windows_core::PCWSTR]) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupSetSourceListW(flags : u32, sourcelist : *const ::windows_core::PCWSTR, sourcecount : u32) -> super::super::Foundation:: BOOL); |
| SetupSetSourceListW(flags, ::core::mem::transmute(sourcelist.as_ptr()), sourcelist.len().try_into().unwrap()).ok() |
| } |
| #[inline] |
| pub unsafe fn SetupSetThreadLogToken(logtoken: u64) { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupSetThreadLogToken(logtoken : u64) -> ()); |
| SetupSetThreadLogToken(logtoken) |
| } |
| #[inline] |
| pub unsafe fn SetupTermDefaultQueueCallback(context: *const ::core::ffi::c_void) { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupTermDefaultQueueCallback(context : *const ::core::ffi::c_void) -> ()); |
| SetupTermDefaultQueueCallback(context) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupTerminateFileLog(fileloghandle: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupTerminateFileLog(fileloghandle : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupTerminateFileLog(fileloghandle).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupUninstallNewlyCopiedInfs(filequeue: *const ::core::ffi::c_void, flags: u32, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupUninstallNewlyCopiedInfs(filequeue : *const ::core::ffi::c_void, flags : u32, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupUninstallNewlyCopiedInfs(filequeue, flags, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupUninstallOEMInfA<P0>(inffilename: P0, flags: u32, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupUninstallOEMInfA(inffilename : ::windows_core::PCSTR, flags : u32, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupUninstallOEMInfA(inffilename.into_param().abi(), flags, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetupUninstallOEMInfW<P0>(inffilename: P0, flags: u32, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupUninstallOEMInfW(inffilename : ::windows_core::PCWSTR, flags : u32, reserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| SetupUninstallOEMInfW(inffilename.into_param().abi(), flags, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] |
| #[inline] |
| pub unsafe fn SetupVerifyInfFileA<P0>(infname: P0, altplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, infsignerinfo: *mut SP_INF_SIGNER_INFO_V2_A) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupVerifyInfFileA(infname : ::windows_core::PCSTR, altplatforminfo : *const SP_ALTPLATFORM_INFO_V2, infsignerinfo : *mut SP_INF_SIGNER_INFO_V2_A) -> super::super::Foundation:: BOOL); |
| SetupVerifyInfFileA(infname.into_param().abi(), ::core::mem::transmute(altplatforminfo.unwrap_or(::std::ptr::null())), infsignerinfo) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] |
| #[inline] |
| pub unsafe fn SetupVerifyInfFileW<P0>(infname: P0, altplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, infsignerinfo: *mut SP_INF_SIGNER_INFO_V2_W) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupVerifyInfFileW(infname : ::windows_core::PCWSTR, altplatforminfo : *const SP_ALTPLATFORM_INFO_V2, infsignerinfo : *mut SP_INF_SIGNER_INFO_V2_W) -> super::super::Foundation:: BOOL); |
| SetupVerifyInfFileW(infname.into_param().abi(), ::core::mem::transmute(altplatforminfo.unwrap_or(::std::ptr::null())), infsignerinfo) |
| } |
| #[inline] |
| pub unsafe fn SetupWriteTextLog<P0>(logtoken: u64, category: u32, flags: u32, messagestr: P0) |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "cdecl" fn SetupWriteTextLog(logtoken : u64, category : u32, flags : u32, messagestr : ::windows_core::PCSTR) -> ()); |
| SetupWriteTextLog(logtoken, category, flags, messagestr.into_param().abi()) |
| } |
| #[inline] |
| pub unsafe fn SetupWriteTextLogError<P0>(logtoken: u64, category: u32, logflags: u32, error: u32, messagestr: P0) |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("setupapi.dll" "cdecl" fn SetupWriteTextLogError(logtoken : u64, category : u32, logflags : u32, error : u32, messagestr : ::windows_core::PCSTR) -> ()); |
| SetupWriteTextLogError(logtoken, category, logflags, error, messagestr.into_param().abi()) |
| } |
| #[inline] |
| pub unsafe fn SetupWriteTextLogInfLine(logtoken: u64, flags: u32, infhandle: *const ::core::ffi::c_void, context: *const INFCONTEXT) { |
| ::windows_targets::link!("setupapi.dll" "system" fn SetupWriteTextLogInfLine(logtoken : u64, flags : u32, infhandle : *const ::core::ffi::c_void, context : *const INFCONTEXT) -> ()); |
| SetupWriteTextLogInfLine(logtoken, flags, infhandle, context) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn UpdateDriverForPlugAndPlayDevicesA<P0, P1, P2>(hwndparent: P0, hardwareid: P1, fullinfpath: P2, installflags: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS, brebootrequired: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("newdev.dll" "system" fn UpdateDriverForPlugAndPlayDevicesA(hwndparent : super::super::Foundation:: HWND, hardwareid : ::windows_core::PCSTR, fullinfpath : ::windows_core::PCSTR, installflags : UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS, brebootrequired : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| UpdateDriverForPlugAndPlayDevicesA(hwndparent.into_param().abi(), hardwareid.into_param().abi(), fullinfpath.into_param().abi(), installflags, ::core::mem::transmute(brebootrequired.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn UpdateDriverForPlugAndPlayDevicesW<P0, P1, P2>(hwndparent: P0, hardwareid: P1, fullinfpath: P2, installflags: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS, brebootrequired: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("newdev.dll" "system" fn UpdateDriverForPlugAndPlayDevicesW(hwndparent : super::super::Foundation:: HWND, hardwareid : ::windows_core::PCWSTR, fullinfpath : ::windows_core::PCWSTR, installflags : UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS, brebootrequired : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| UpdateDriverForPlugAndPlayDevicesW(hwndparent.into_param().abi(), hardwareid.into_param().abi(), fullinfpath.into_param().abi(), installflags, ::core::mem::transmute(brebootrequired.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| pub const ALLOC_LOG_CONF: CM_LOG_CONF = CM_LOG_CONF(2u32); |
| pub const BASIC_LOG_CONF: CM_LOG_CONF = CM_LOG_CONF(0u32); |
| pub const BOOT_LOG_CONF: CM_LOG_CONF = CM_LOG_CONF(3u32); |
| pub const CM_ADD_ID_BITS: u32 = 1u32; |
| pub const CM_ADD_ID_COMPATIBLE: u32 = 1u32; |
| pub const CM_ADD_ID_HARDWARE: u32 = 0u32; |
| pub const CM_ADD_RANGE_ADDIFCONFLICT: u32 = 0u32; |
| pub const CM_ADD_RANGE_BITS: u32 = 1u32; |
| pub const CM_ADD_RANGE_DONOTADDIFCONFLICT: u32 = 1u32; |
| pub const CM_CDFLAGS_DRIVER: CM_CDFLAGS = CM_CDFLAGS(1u32); |
| pub const CM_CDFLAGS_RESERVED: CM_CDFLAGS = CM_CDFLAGS(4u32); |
| pub const CM_CDFLAGS_ROOT_OWNED: CM_CDFLAGS = CM_CDFLAGS(2u32); |
| pub const CM_CDMASK_DESCRIPTION: CM_CDMASK = CM_CDMASK(8u32); |
| pub const CM_CDMASK_DEVINST: CM_CDMASK = CM_CDMASK(1u32); |
| pub const CM_CDMASK_FLAGS: CM_CDMASK = CM_CDMASK(4u32); |
| pub const CM_CDMASK_RESDES: CM_CDMASK = CM_CDMASK(2u32); |
| pub const CM_CDMASK_VALID: CM_CDMASK = CM_CDMASK(15u32); |
| pub const CM_CLASS_PROPERTY_BITS: u32 = 1u32; |
| pub const CM_CLASS_PROPERTY_INSTALLER: u32 = 0u32; |
| pub const CM_CLASS_PROPERTY_INTERFACE: u32 = 1u32; |
| pub const CM_CREATE_DEVINST_BITS: u32 = 15u32; |
| pub const CM_CREATE_DEVINST_DO_NOT_INSTALL: u32 = 8u32; |
| pub const CM_CREATE_DEVINST_GENERATE_ID: u32 = 4u32; |
| pub const CM_CREATE_DEVINST_NORMAL: u32 = 0u32; |
| pub const CM_CREATE_DEVINST_NO_WAIT_INSTALL: u32 = 1u32; |
| pub const CM_CREATE_DEVINST_PHANTOM: u32 = 2u32; |
| pub const CM_CREATE_DEVNODE_BITS: u32 = 15u32; |
| pub const CM_CREATE_DEVNODE_DO_NOT_INSTALL: u32 = 8u32; |
| pub const CM_CREATE_DEVNODE_GENERATE_ID: u32 = 4u32; |
| pub const CM_CREATE_DEVNODE_NORMAL: u32 = 0u32; |
| pub const CM_CREATE_DEVNODE_NO_WAIT_INSTALL: u32 = 1u32; |
| pub const CM_CREATE_DEVNODE_PHANTOM: u32 = 2u32; |
| pub const CM_CRP_CHARACTERISTICS: u32 = 28u32; |
| pub const CM_CRP_DEVTYPE: u32 = 26u32; |
| pub const CM_CRP_EXCLUSIVE: u32 = 27u32; |
| pub const CM_CRP_LOWERFILTERS: u32 = 19u32; |
| pub const CM_CRP_MAX: u32 = 37u32; |
| pub const CM_CRP_MIN: u32 = 1u32; |
| pub const CM_CRP_SECURITY: u32 = 24u32; |
| pub const CM_CRP_SECURITY_SDS: u32 = 25u32; |
| pub const CM_CRP_UPPERFILTERS: u32 = 18u32; |
| pub const CM_CUSTOMDEVPROP_BITS: u32 = 1u32; |
| pub const CM_CUSTOMDEVPROP_MERGE_MULTISZ: u32 = 1u32; |
| pub const CM_DELETE_CLASS_BITS: u32 = 3u32; |
| pub const CM_DELETE_CLASS_INTERFACE: u32 = 2u32; |
| pub const CM_DELETE_CLASS_ONLY: u32 = 0u32; |
| pub const CM_DELETE_CLASS_SUBKEYS: u32 = 1u32; |
| pub const CM_DETECT_BITS: u32 = 2147483655u32; |
| pub const CM_DETECT_CRASHED: u32 = 2u32; |
| pub const CM_DETECT_HWPROF_FIRST_BOOT: u32 = 4u32; |
| pub const CM_DETECT_NEW_PROFILE: u32 = 1u32; |
| pub const CM_DETECT_RUN: u32 = 2147483648u32; |
| pub const CM_DEVCAP_DOCKDEVICE: CM_DEVCAP = CM_DEVCAP(8u32); |
| pub const CM_DEVCAP_EJECTSUPPORTED: CM_DEVCAP = CM_DEVCAP(2u32); |
| pub const CM_DEVCAP_HARDWAREDISABLED: CM_DEVCAP = CM_DEVCAP(256u32); |
| pub const CM_DEVCAP_LOCKSUPPORTED: CM_DEVCAP = CM_DEVCAP(1u32); |
| pub const CM_DEVCAP_NONDYNAMIC: CM_DEVCAP = CM_DEVCAP(512u32); |
| pub const CM_DEVCAP_RAWDEVICEOK: CM_DEVCAP = CM_DEVCAP(64u32); |
| pub const CM_DEVCAP_REMOVABLE: CM_DEVCAP = CM_DEVCAP(4u32); |
| pub const CM_DEVCAP_SECUREDEVICE: CM_DEVCAP = CM_DEVCAP(1024u32); |
| pub const CM_DEVCAP_SILENTINSTALL: CM_DEVCAP = CM_DEVCAP(32u32); |
| pub const CM_DEVCAP_SURPRISEREMOVALOK: CM_DEVCAP = CM_DEVCAP(128u32); |
| pub const CM_DEVCAP_UNIQUEID: CM_DEVCAP = CM_DEVCAP(16u32); |
| pub const CM_DEVICE_PANEL_EDGE_BOTTOM: u32 = 2u32; |
| pub const CM_DEVICE_PANEL_EDGE_LEFT: u32 = 3u32; |
| pub const CM_DEVICE_PANEL_EDGE_RIGHT: u32 = 4u32; |
| pub const CM_DEVICE_PANEL_EDGE_TOP: u32 = 1u32; |
| pub const CM_DEVICE_PANEL_EDGE_UNKNOWN: u32 = 0u32; |
| pub const CM_DEVICE_PANEL_JOINT_TYPE_HINGE: u32 = 2u32; |
| pub const CM_DEVICE_PANEL_JOINT_TYPE_PIVOT: u32 = 3u32; |
| pub const CM_DEVICE_PANEL_JOINT_TYPE_PLANAR: u32 = 1u32; |
| pub const CM_DEVICE_PANEL_JOINT_TYPE_SWIVEL: u32 = 4u32; |
| pub const CM_DEVICE_PANEL_JOINT_TYPE_UNKNOWN: u32 = 0u32; |
| pub const CM_DEVICE_PANEL_ORIENTATION_HORIZONTAL: u32 = 0u32; |
| pub const CM_DEVICE_PANEL_ORIENTATION_VERTICAL: u32 = 1u32; |
| pub const CM_DEVICE_PANEL_SHAPE_OVAL: u32 = 2u32; |
| pub const CM_DEVICE_PANEL_SHAPE_RECTANGLE: u32 = 1u32; |
| pub const CM_DEVICE_PANEL_SHAPE_UNKNOWN: u32 = 0u32; |
| pub const CM_DEVICE_PANEL_SIDE_BACK: u32 = 6u32; |
| pub const CM_DEVICE_PANEL_SIDE_BOTTOM: u32 = 2u32; |
| pub const CM_DEVICE_PANEL_SIDE_FRONT: u32 = 5u32; |
| pub const CM_DEVICE_PANEL_SIDE_LEFT: u32 = 3u32; |
| pub const CM_DEVICE_PANEL_SIDE_RIGHT: u32 = 4u32; |
| pub const CM_DEVICE_PANEL_SIDE_TOP: u32 = 1u32; |
| pub const CM_DEVICE_PANEL_SIDE_UNKNOWN: u32 = 0u32; |
| pub const CM_DISABLE_ABSOLUTE: u32 = 1u32; |
| pub const CM_DISABLE_BITS: u32 = 15u32; |
| pub const CM_DISABLE_HARDWARE: u32 = 2u32; |
| pub const CM_DISABLE_PERSIST: u32 = 8u32; |
| pub const CM_DISABLE_POLITE: u32 = 0u32; |
| pub const CM_DISABLE_UI_NOT_OK: u32 = 4u32; |
| pub const CM_DRP_ADDRESS: u32 = 29u32; |
| pub const CM_DRP_BASE_CONTAINERID: u32 = 37u32; |
| pub const CM_DRP_BUSNUMBER: u32 = 22u32; |
| pub const CM_DRP_BUSTYPEGUID: u32 = 20u32; |
| pub const CM_DRP_CAPABILITIES: u32 = 16u32; |
| pub const CM_DRP_CHARACTERISTICS: u32 = 28u32; |
| pub const CM_DRP_CLASS: u32 = 8u32; |
| pub const CM_DRP_CLASSGUID: u32 = 9u32; |
| pub const CM_DRP_COMPATIBLEIDS: u32 = 3u32; |
| pub const CM_DRP_CONFIGFLAGS: u32 = 11u32; |
| pub const CM_DRP_DEVICEDESC: u32 = 1u32; |
| pub const CM_DRP_DEVICE_POWER_DATA: u32 = 31u32; |
| pub const CM_DRP_DEVTYPE: u32 = 26u32; |
| pub const CM_DRP_DRIVER: u32 = 10u32; |
| pub const CM_DRP_ENUMERATOR_NAME: u32 = 23u32; |
| pub const CM_DRP_EXCLUSIVE: u32 = 27u32; |
| pub const CM_DRP_FRIENDLYNAME: u32 = 13u32; |
| pub const CM_DRP_HARDWAREID: u32 = 2u32; |
| pub const CM_DRP_INSTALL_STATE: u32 = 35u32; |
| pub const CM_DRP_LEGACYBUSTYPE: u32 = 21u32; |
| pub const CM_DRP_LOCATION_INFORMATION: u32 = 14u32; |
| pub const CM_DRP_LOCATION_PATHS: u32 = 36u32; |
| pub const CM_DRP_LOWERFILTERS: u32 = 19u32; |
| pub const CM_DRP_MAX: u32 = 37u32; |
| pub const CM_DRP_MFG: u32 = 12u32; |
| pub const CM_DRP_MIN: u32 = 1u32; |
| pub const CM_DRP_PHYSICAL_DEVICE_OBJECT_NAME: u32 = 15u32; |
| pub const CM_DRP_REMOVAL_POLICY: u32 = 32u32; |
| pub const CM_DRP_REMOVAL_POLICY_HW_DEFAULT: u32 = 33u32; |
| pub const CM_DRP_REMOVAL_POLICY_OVERRIDE: u32 = 34u32; |
| pub const CM_DRP_SECURITY: u32 = 24u32; |
| pub const CM_DRP_SECURITY_SDS: u32 = 25u32; |
| pub const CM_DRP_SERVICE: u32 = 5u32; |
| pub const CM_DRP_UI_NUMBER: u32 = 17u32; |
| pub const CM_DRP_UI_NUMBER_DESC_FORMAT: u32 = 30u32; |
| pub const CM_DRP_UNUSED0: u32 = 4u32; |
| pub const CM_DRP_UNUSED1: u32 = 6u32; |
| pub const CM_DRP_UNUSED2: u32 = 7u32; |
| pub const CM_DRP_UPPERFILTERS: u32 = 18u32; |
| pub const CM_ENUMERATE_CLASSES_BITS: CM_ENUMERATE_FLAGS = CM_ENUMERATE_FLAGS(1u32); |
| pub const CM_ENUMERATE_CLASSES_INSTALLER: CM_ENUMERATE_FLAGS = CM_ENUMERATE_FLAGS(0u32); |
| pub const CM_ENUMERATE_CLASSES_INTERFACE: CM_ENUMERATE_FLAGS = CM_ENUMERATE_FLAGS(1u32); |
| pub const CM_GETIDLIST_DONOTGENERATE: u32 = 268435520u32; |
| pub const CM_GETIDLIST_FILTER_BITS: u32 = 268435583u32; |
| pub const CM_GETIDLIST_FILTER_BUSRELATIONS: u32 = 32u32; |
| pub const CM_GETIDLIST_FILTER_CLASS: u32 = 512u32; |
| pub const CM_GETIDLIST_FILTER_EJECTRELATIONS: u32 = 4u32; |
| pub const CM_GETIDLIST_FILTER_ENUMERATOR: u32 = 1u32; |
| pub const CM_GETIDLIST_FILTER_NONE: u32 = 0u32; |
| pub const CM_GETIDLIST_FILTER_POWERRELATIONS: u32 = 16u32; |
| pub const CM_GETIDLIST_FILTER_PRESENT: u32 = 256u32; |
| pub const CM_GETIDLIST_FILTER_REMOVALRELATIONS: u32 = 8u32; |
| pub const CM_GETIDLIST_FILTER_SERVICE: u32 = 2u32; |
| pub const CM_GETIDLIST_FILTER_TRANSPORTRELATIONS: u32 = 128u32; |
| pub const CM_GET_DEVICE_INTERFACE_LIST_ALL_DEVICES: CM_GET_DEVICE_INTERFACE_LIST_FLAGS = CM_GET_DEVICE_INTERFACE_LIST_FLAGS(1u32); |
| pub const CM_GET_DEVICE_INTERFACE_LIST_BITS: CM_GET_DEVICE_INTERFACE_LIST_FLAGS = CM_GET_DEVICE_INTERFACE_LIST_FLAGS(1u32); |
| pub const CM_GET_DEVICE_INTERFACE_LIST_PRESENT: CM_GET_DEVICE_INTERFACE_LIST_FLAGS = CM_GET_DEVICE_INTERFACE_LIST_FLAGS(0u32); |
| pub const CM_GLOBAL_STATE_CAN_DO_UI: u32 = 1u32; |
| pub const CM_GLOBAL_STATE_DETECTION_PENDING: u32 = 16u32; |
| pub const CM_GLOBAL_STATE_ON_BIG_STACK: u32 = 2u32; |
| pub const CM_GLOBAL_STATE_REBOOT_REQUIRED: u32 = 32u32; |
| pub const CM_GLOBAL_STATE_SERVICES_AVAILABLE: u32 = 4u32; |
| pub const CM_GLOBAL_STATE_SHUTTING_DOWN: u32 = 8u32; |
| pub const CM_HWPI_DOCKED: u32 = 2u32; |
| pub const CM_HWPI_NOT_DOCKABLE: u32 = 0u32; |
| pub const CM_HWPI_UNDOCKED: u32 = 1u32; |
| pub const CM_INSTALL_STATE_FAILED_INSTALL: CM_INSTALL_STATE = CM_INSTALL_STATE(2u32); |
| pub const CM_INSTALL_STATE_FINISH_INSTALL: CM_INSTALL_STATE = CM_INSTALL_STATE(3u32); |
| pub const CM_INSTALL_STATE_INSTALLED: CM_INSTALL_STATE = CM_INSTALL_STATE(0u32); |
| pub const CM_INSTALL_STATE_NEEDS_REINSTALL: CM_INSTALL_STATE = CM_INSTALL_STATE(1u32); |
| pub const CM_LOCATE_DEVNODE_BITS: CM_LOCATE_DEVNODE_FLAGS = CM_LOCATE_DEVNODE_FLAGS(7u32); |
| pub const CM_LOCATE_DEVNODE_CANCELREMOVE: CM_LOCATE_DEVNODE_FLAGS = CM_LOCATE_DEVNODE_FLAGS(2u32); |
| pub const CM_LOCATE_DEVNODE_NORMAL: CM_LOCATE_DEVNODE_FLAGS = CM_LOCATE_DEVNODE_FLAGS(0u32); |
| pub const CM_LOCATE_DEVNODE_NOVALIDATION: CM_LOCATE_DEVNODE_FLAGS = CM_LOCATE_DEVNODE_FLAGS(4u32); |
| pub const CM_LOCATE_DEVNODE_PHANTOM: CM_LOCATE_DEVNODE_FLAGS = CM_LOCATE_DEVNODE_FLAGS(1u32); |
| pub const CM_NAME_ATTRIBUTE_NAME_RETRIEVED_FROM_DEVICE: u32 = 1u32; |
| pub const CM_NAME_ATTRIBUTE_USER_ASSIGNED_NAME: u32 = 2u32; |
| pub const CM_NOTIFY_ACTION_DEVICECUSTOMEVENT: CM_NOTIFY_ACTION = CM_NOTIFY_ACTION(6i32); |
| pub const CM_NOTIFY_ACTION_DEVICEINSTANCEENUMERATED: CM_NOTIFY_ACTION = CM_NOTIFY_ACTION(7i32); |
| pub const CM_NOTIFY_ACTION_DEVICEINSTANCEREMOVED: CM_NOTIFY_ACTION = CM_NOTIFY_ACTION(9i32); |
| pub const CM_NOTIFY_ACTION_DEVICEINSTANCESTARTED: CM_NOTIFY_ACTION = CM_NOTIFY_ACTION(8i32); |
| pub const CM_NOTIFY_ACTION_DEVICEINTERFACEARRIVAL: CM_NOTIFY_ACTION = CM_NOTIFY_ACTION(0i32); |
| pub const CM_NOTIFY_ACTION_DEVICEINTERFACEREMOVAL: CM_NOTIFY_ACTION = CM_NOTIFY_ACTION(1i32); |
| pub const CM_NOTIFY_ACTION_DEVICEQUERYREMOVE: CM_NOTIFY_ACTION = CM_NOTIFY_ACTION(2i32); |
| pub const CM_NOTIFY_ACTION_DEVICEQUERYREMOVEFAILED: CM_NOTIFY_ACTION = CM_NOTIFY_ACTION(3i32); |
| pub const CM_NOTIFY_ACTION_DEVICEREMOVECOMPLETE: CM_NOTIFY_ACTION = CM_NOTIFY_ACTION(5i32); |
| pub const CM_NOTIFY_ACTION_DEVICEREMOVEPENDING: CM_NOTIFY_ACTION = CM_NOTIFY_ACTION(4i32); |
| pub const CM_NOTIFY_ACTION_MAX: CM_NOTIFY_ACTION = CM_NOTIFY_ACTION(10i32); |
| pub const CM_NOTIFY_FILTER_FLAG_ALL_DEVICE_INSTANCES: u32 = 2u32; |
| pub const CM_NOTIFY_FILTER_FLAG_ALL_INTERFACE_CLASSES: u32 = 1u32; |
| pub const CM_NOTIFY_FILTER_TYPE_DEVICEHANDLE: CM_NOTIFY_FILTER_TYPE = CM_NOTIFY_FILTER_TYPE(1i32); |
| pub const CM_NOTIFY_FILTER_TYPE_DEVICEINSTANCE: CM_NOTIFY_FILTER_TYPE = CM_NOTIFY_FILTER_TYPE(2i32); |
| pub const CM_NOTIFY_FILTER_TYPE_DEVICEINTERFACE: CM_NOTIFY_FILTER_TYPE = CM_NOTIFY_FILTER_TYPE(0i32); |
| pub const CM_NOTIFY_FILTER_TYPE_MAX: CM_NOTIFY_FILTER_TYPE = CM_NOTIFY_FILTER_TYPE(3i32); |
| pub const CM_OPEN_CLASS_KEY_BITS: u32 = 1u32; |
| pub const CM_OPEN_CLASS_KEY_INSTALLER: u32 = 0u32; |
| pub const CM_OPEN_CLASS_KEY_INTERFACE: u32 = 1u32; |
| pub const CM_PROB_BIOS_TABLE: CM_PROB = CM_PROB(35u32); |
| pub const CM_PROB_BOOT_CONFIG_CONFLICT: CM_PROB = CM_PROB(6u32); |
| pub const CM_PROB_CANT_SHARE_IRQ: CM_PROB = CM_PROB(30u32); |
| pub const CM_PROB_CONSOLE_LOCKED: CM_PROB = CM_PROB(55u32); |
| pub const CM_PROB_DEVICE_NOT_THERE: CM_PROB = CM_PROB(24u32); |
| pub const CM_PROB_DEVICE_RESET: CM_PROB = CM_PROB(54u32); |
| pub const CM_PROB_DEVLOADER_FAILED: CM_PROB = CM_PROB(2u32); |
| pub const CM_PROB_DEVLOADER_NOT_FOUND: CM_PROB = CM_PROB(8u32); |
| pub const CM_PROB_DEVLOADER_NOT_READY: CM_PROB = CM_PROB(23u32); |
| pub const CM_PROB_DISABLED: CM_PROB = CM_PROB(22u32); |
| pub const CM_PROB_DISABLED_SERVICE: CM_PROB = CM_PROB(32u32); |
| pub const CM_PROB_DRIVER_BLOCKED: CM_PROB = CM_PROB(48u32); |
| pub const CM_PROB_DRIVER_FAILED_LOAD: CM_PROB = CM_PROB(39u32); |
| pub const CM_PROB_DRIVER_FAILED_PRIOR_UNLOAD: CM_PROB = CM_PROB(38u32); |
| pub const CM_PROB_DRIVER_SERVICE_KEY_INVALID: CM_PROB = CM_PROB(40u32); |
| pub const CM_PROB_DUPLICATE_DEVICE: CM_PROB = CM_PROB(42u32); |
| pub const CM_PROB_ENTRY_IS_WRONG_TYPE: CM_PROB = CM_PROB(4u32); |
| pub const CM_PROB_FAILED_ADD: CM_PROB = CM_PROB(31u32); |
| pub const CM_PROB_FAILED_DRIVER_ENTRY: CM_PROB = CM_PROB(37u32); |
| pub const CM_PROB_FAILED_FILTER: CM_PROB = CM_PROB(7u32); |
| pub const CM_PROB_FAILED_INSTALL: CM_PROB = CM_PROB(28u32); |
| pub const CM_PROB_FAILED_POST_START: CM_PROB = CM_PROB(43u32); |
| pub const CM_PROB_FAILED_START: CM_PROB = CM_PROB(10u32); |
| pub const CM_PROB_GUEST_ASSIGNMENT_FAILED: CM_PROB = CM_PROB(57u32); |
| pub const CM_PROB_HALTED: CM_PROB = CM_PROB(44u32); |
| pub const CM_PROB_HARDWARE_DISABLED: CM_PROB = CM_PROB(29u32); |
| pub const CM_PROB_HELD_FOR_EJECT: CM_PROB = CM_PROB(47u32); |
| pub const CM_PROB_INVALID_DATA: CM_PROB = CM_PROB(9u32); |
| pub const CM_PROB_IRQ_TRANSLATION_FAILED: CM_PROB = CM_PROB(36u32); |
| pub const CM_PROB_LACKED_ARBITRATOR: CM_PROB = CM_PROB(5u32); |
| pub const CM_PROB_LEGACY_SERVICE_NO_DEVICES: CM_PROB = CM_PROB(41u32); |
| pub const CM_PROB_LIAR: CM_PROB = CM_PROB(11u32); |
| pub const CM_PROB_MOVED: CM_PROB = CM_PROB(25u32); |
| pub const CM_PROB_NEED_CLASS_CONFIG: CM_PROB = CM_PROB(56u32); |
| pub const CM_PROB_NEED_RESTART: CM_PROB = CM_PROB(14u32); |
| pub const CM_PROB_NORMAL_CONFLICT: CM_PROB = CM_PROB(12u32); |
| pub const CM_PROB_NOT_CONFIGURED: CM_PROB = CM_PROB(1u32); |
| pub const CM_PROB_NOT_VERIFIED: CM_PROB = CM_PROB(13u32); |
| pub const CM_PROB_NO_SOFTCONFIG: CM_PROB = CM_PROB(34u32); |
| pub const CM_PROB_NO_VALID_LOG_CONF: CM_PROB = CM_PROB(27u32); |
| pub const CM_PROB_OUT_OF_MEMORY: CM_PROB = CM_PROB(3u32); |
| pub const CM_PROB_PARTIAL_LOG_CONF: CM_PROB = CM_PROB(16u32); |
| pub const CM_PROB_PHANTOM: CM_PROB = CM_PROB(45u32); |
| pub const CM_PROB_REENUMERATION: CM_PROB = CM_PROB(15u32); |
| pub const CM_PROB_REGISTRY: CM_PROB = CM_PROB(19u32); |
| pub const CM_PROB_REGISTRY_TOO_LARGE: CM_PROB = CM_PROB(49u32); |
| pub const CM_PROB_REINSTALL: CM_PROB = CM_PROB(18u32); |
| pub const CM_PROB_SETPROPERTIES_FAILED: CM_PROB = CM_PROB(50u32); |
| pub const CM_PROB_SYSTEM_SHUTDOWN: CM_PROB = CM_PROB(46u32); |
| pub const CM_PROB_TOO_EARLY: CM_PROB = CM_PROB(26u32); |
| pub const CM_PROB_TRANSLATION_FAILED: CM_PROB = CM_PROB(33u32); |
| pub const CM_PROB_UNKNOWN_RESOURCE: CM_PROB = CM_PROB(17u32); |
| pub const CM_PROB_UNSIGNED_DRIVER: CM_PROB = CM_PROB(52u32); |
| pub const CM_PROB_USED_BY_DEBUGGER: CM_PROB = CM_PROB(53u32); |
| pub const CM_PROB_VXDLDR: CM_PROB = CM_PROB(20u32); |
| pub const CM_PROB_WAITING_ON_DEPENDENCY: CM_PROB = CM_PROB(51u32); |
| pub const CM_PROB_WILL_BE_REMOVED: CM_PROB = CM_PROB(21u32); |
| pub const CM_QUERY_ARBITRATOR_BITS: u32 = 1u32; |
| pub const CM_QUERY_ARBITRATOR_RAW: u32 = 0u32; |
| pub const CM_QUERY_ARBITRATOR_TRANSLATED: u32 = 1u32; |
| pub const CM_QUERY_REMOVE_UI_NOT_OK: u32 = 1u32; |
| pub const CM_QUERY_REMOVE_UI_OK: u32 = 0u32; |
| pub const CM_REENUMERATE_ASYNCHRONOUS: CM_REENUMERATE_FLAGS = CM_REENUMERATE_FLAGS(4u32); |
| pub const CM_REENUMERATE_BITS: CM_REENUMERATE_FLAGS = CM_REENUMERATE_FLAGS(7u32); |
| pub const CM_REENUMERATE_NORMAL: CM_REENUMERATE_FLAGS = CM_REENUMERATE_FLAGS(0u32); |
| pub const CM_REENUMERATE_RETRY_INSTALLATION: CM_REENUMERATE_FLAGS = CM_REENUMERATE_FLAGS(2u32); |
| pub const CM_REENUMERATE_SYNCHRONOUS: CM_REENUMERATE_FLAGS = CM_REENUMERATE_FLAGS(1u32); |
| pub const CM_REGISTER_DEVICE_DRIVER_BITS: u32 = 3u32; |
| pub const CM_REGISTER_DEVICE_DRIVER_DISABLEABLE: u32 = 1u32; |
| pub const CM_REGISTER_DEVICE_DRIVER_REMOVABLE: u32 = 2u32; |
| pub const CM_REGISTER_DEVICE_DRIVER_STATIC: u32 = 0u32; |
| pub const CM_REGISTRY_BITS: u32 = 769u32; |
| pub const CM_REGISTRY_CONFIG: u32 = 512u32; |
| pub const CM_REGISTRY_HARDWARE: u32 = 0u32; |
| pub const CM_REGISTRY_SOFTWARE: u32 = 1u32; |
| pub const CM_REGISTRY_USER: u32 = 256u32; |
| pub const CM_REMOVAL_POLICY_EXPECT_NO_REMOVAL: CM_REMOVAL_POLICY = CM_REMOVAL_POLICY(1u32); |
| pub const CM_REMOVAL_POLICY_EXPECT_ORDERLY_REMOVAL: CM_REMOVAL_POLICY = CM_REMOVAL_POLICY(2u32); |
| pub const CM_REMOVAL_POLICY_EXPECT_SURPRISE_REMOVAL: CM_REMOVAL_POLICY = CM_REMOVAL_POLICY(3u32); |
| pub const CM_REMOVE_BITS: u32 = 7u32; |
| pub const CM_REMOVE_DISABLE: u32 = 4u32; |
| pub const CM_REMOVE_NO_RESTART: u32 = 2u32; |
| pub const CM_REMOVE_UI_NOT_OK: u32 = 1u32; |
| pub const CM_REMOVE_UI_OK: u32 = 0u32; |
| pub const CM_RESDES_WIDTH_32: u32 = 1u32; |
| pub const CM_RESDES_WIDTH_64: u32 = 2u32; |
| pub const CM_RESDES_WIDTH_BITS: u32 = 3u32; |
| pub const CM_RESDES_WIDTH_DEFAULT: u32 = 0u32; |
| pub const CM_SETUP_BITS: u32 = 15u32; |
| pub const CM_SETUP_DEVINST_CONFIG: u32 = 5u32; |
| pub const CM_SETUP_DEVINST_CONFIG_CLASS: u32 = 6u32; |
| pub const CM_SETUP_DEVINST_CONFIG_EXTENSIONS: u32 = 7u32; |
| pub const CM_SETUP_DEVINST_CONFIG_RESET: u32 = 8u32; |
| pub const CM_SETUP_DEVINST_READY: u32 = 0u32; |
| pub const CM_SETUP_DEVINST_RESET: u32 = 4u32; |
| pub const CM_SETUP_DEVNODE_CONFIG: u32 = 5u32; |
| pub const CM_SETUP_DEVNODE_CONFIG_CLASS: u32 = 6u32; |
| pub const CM_SETUP_DEVNODE_CONFIG_EXTENSIONS: u32 = 7u32; |
| pub const CM_SETUP_DEVNODE_CONFIG_RESET: u32 = 8u32; |
| pub const CM_SETUP_DEVNODE_READY: u32 = 0u32; |
| pub const CM_SETUP_DEVNODE_RESET: u32 = 4u32; |
| pub const CM_SETUP_DOWNLOAD: u32 = 1u32; |
| pub const CM_SETUP_PROP_CHANGE: u32 = 3u32; |
| pub const CM_SETUP_WRITE_LOG_CONFS: u32 = 2u32; |
| pub const CM_SET_DEVINST_PROBLEM_BITS: u32 = 1u32; |
| pub const CM_SET_DEVINST_PROBLEM_NORMAL: u32 = 0u32; |
| pub const CM_SET_DEVINST_PROBLEM_OVERRIDE: u32 = 1u32; |
| pub const CM_SET_DEVNODE_PROBLEM_BITS: u32 = 1u32; |
| pub const CM_SET_DEVNODE_PROBLEM_NORMAL: u32 = 0u32; |
| pub const CM_SET_DEVNODE_PROBLEM_OVERRIDE: u32 = 1u32; |
| pub const CM_SET_HW_PROF_FLAGS_BITS: u32 = 1u32; |
| pub const CM_SET_HW_PROF_FLAGS_UI_NOT_OK: u32 = 1u32; |
| pub const CONFIGMG_VERSION: u32 = 1024u32; |
| pub const COPYFLG_FORCE_FILE_IN_USE: u32 = 8u32; |
| pub const COPYFLG_IN_USE_TRY_RENAME: u32 = 16384u32; |
| pub const COPYFLG_NODECOMP: u32 = 2048u32; |
| pub const COPYFLG_NOPRUNE: u32 = 8192u32; |
| pub const COPYFLG_NOSKIP: u32 = 2u32; |
| pub const COPYFLG_NOVERSIONCHECK: u32 = 4u32; |
| pub const COPYFLG_NO_OVERWRITE: u32 = 16u32; |
| pub const COPYFLG_NO_VERSION_DIALOG: u32 = 32u32; |
| pub const COPYFLG_OVERWRITE_OLDER_ONLY: u32 = 64u32; |
| pub const COPYFLG_PROTECTED_WINDOWS_DRIVER_FILE: u32 = 256u32; |
| pub const COPYFLG_REPLACEONLY: u32 = 1024u32; |
| pub const COPYFLG_REPLACE_BOOT_FILE: u32 = 4096u32; |
| pub const COPYFLG_WARN_IF_SKIP: u32 = 1u32; |
| pub const CR_ACCESS_DENIED: CONFIGRET = CONFIGRET(51u32); |
| pub const CR_ALREADY_SUCH_DEVINST: CONFIGRET = CONFIGRET(16u32); |
| pub const CR_ALREADY_SUCH_DEVNODE: CONFIGRET = CONFIGRET(16u32); |
| pub const CR_APM_VETOED: CONFIGRET = CONFIGRET(24u32); |
| pub const CR_BUFFER_SMALL: CONFIGRET = CONFIGRET(26u32); |
| pub const CR_CALL_NOT_IMPLEMENTED: CONFIGRET = CONFIGRET(52u32); |
| pub const CR_CANT_SHARE_IRQ: CONFIGRET = CONFIGRET(43u32); |
| pub const CR_CREATE_BLOCKED: CONFIGRET = CONFIGRET(21u32); |
| pub const CR_DEFAULT: CONFIGRET = CONFIGRET(1u32); |
| pub const CR_DEVICE_INTERFACE_ACTIVE: CONFIGRET = CONFIGRET(54u32); |
| pub const CR_DEVICE_NOT_THERE: CONFIGRET = CONFIGRET(36u32); |
| pub const CR_DEVINST_HAS_REQS: CONFIGRET = CONFIGRET(10u32); |
| pub const CR_DEVLOADER_NOT_READY: CONFIGRET = CONFIGRET(33u32); |
| pub const CR_DEVNODE_HAS_REQS: CONFIGRET = CONFIGRET(10u32); |
| pub const CR_DLVXD_NOT_FOUND: CONFIGRET = CONFIGRET(12u32); |
| pub const CR_FAILURE: CONFIGRET = CONFIGRET(19u32); |
| pub const CR_FREE_RESOURCES: CONFIGRET = CONFIGRET(41u32); |
| pub const CR_INVALID_API: CONFIGRET = CONFIGRET(32u32); |
| pub const CR_INVALID_ARBITRATOR: CONFIGRET = CONFIGRET(8u32); |
| pub const CR_INVALID_CONFLICT_LIST: CONFIGRET = CONFIGRET(57u32); |
| pub const CR_INVALID_DATA: CONFIGRET = CONFIGRET(31u32); |
| pub const CR_INVALID_DEVICE_ID: CONFIGRET = CONFIGRET(30u32); |
| pub const CR_INVALID_DEVINST: CONFIGRET = CONFIGRET(5u32); |
| pub const CR_INVALID_DEVNODE: CONFIGRET = CONFIGRET(5u32); |
| pub const CR_INVALID_FLAG: CONFIGRET = CONFIGRET(4u32); |
| pub const CR_INVALID_INDEX: CONFIGRET = CONFIGRET(58u32); |
| pub const CR_INVALID_LOAD_TYPE: CONFIGRET = CONFIGRET(25u32); |
| pub const CR_INVALID_LOG_CONF: CONFIGRET = CONFIGRET(7u32); |
| pub const CR_INVALID_MACHINENAME: CONFIGRET = CONFIGRET(47u32); |
| pub const CR_INVALID_NODELIST: CONFIGRET = CONFIGRET(9u32); |
| pub const CR_INVALID_POINTER: CONFIGRET = CONFIGRET(3u32); |
| pub const CR_INVALID_PRIORITY: CONFIGRET = CONFIGRET(39u32); |
| pub const CR_INVALID_PROPERTY: CONFIGRET = CONFIGRET(53u32); |
| pub const CR_INVALID_RANGE: CONFIGRET = CONFIGRET(18u32); |
| pub const CR_INVALID_RANGE_LIST: CONFIGRET = CONFIGRET(17u32); |
| pub const CR_INVALID_REFERENCE_STRING: CONFIGRET = CONFIGRET(56u32); |
| pub const CR_INVALID_RESOURCEID: CONFIGRET = CONFIGRET(11u32); |
| pub const CR_INVALID_RES_DES: CONFIGRET = CONFIGRET(6u32); |
| pub const CR_INVALID_STRUCTURE_SIZE: CONFIGRET = CONFIGRET(59u32); |
| pub const CR_MACHINE_UNAVAILABLE: CONFIGRET = CONFIGRET(49u32); |
| pub const CR_NEED_RESTART: CONFIGRET = CONFIGRET(34u32); |
| pub const CR_NOT_DISABLEABLE: CONFIGRET = CONFIGRET(40u32); |
| pub const CR_NOT_SYSTEM_VM: CONFIGRET = CONFIGRET(22u32); |
| pub const CR_NO_ARBITRATOR: CONFIGRET = CONFIGRET(27u32); |
| pub const CR_NO_CM_SERVICES: CONFIGRET = CONFIGRET(50u32); |
| pub const CR_NO_DEPENDENT: CONFIGRET = CONFIGRET(44u32); |
| pub const CR_NO_MORE_HW_PROFILES: CONFIGRET = CONFIGRET(35u32); |
| pub const CR_NO_MORE_LOG_CONF: CONFIGRET = CONFIGRET(14u32); |
| pub const CR_NO_MORE_RES_DES: CONFIGRET = CONFIGRET(15u32); |
| pub const CR_NO_REGISTRY_HANDLE: CONFIGRET = CONFIGRET(28u32); |
| pub const CR_NO_SUCH_DEVICE_INTERFACE: CONFIGRET = CONFIGRET(55u32); |
| pub const CR_NO_SUCH_DEVINST: CONFIGRET = CONFIGRET(13u32); |
| pub const CR_NO_SUCH_DEVNODE: CONFIGRET = CONFIGRET(13u32); |
| pub const CR_NO_SUCH_LOGICAL_DEV: CONFIGRET = CONFIGRET(20u32); |
| pub const CR_NO_SUCH_REGISTRY_KEY: CONFIGRET = CONFIGRET(46u32); |
| pub const CR_NO_SUCH_VALUE: CONFIGRET = CONFIGRET(37u32); |
| pub const CR_OUT_OF_MEMORY: CONFIGRET = CONFIGRET(2u32); |
| pub const CR_QUERY_VETOED: CONFIGRET = CONFIGRET(42u32); |
| pub const CR_REGISTRY_ERROR: CONFIGRET = CONFIGRET(29u32); |
| pub const CR_REMOTE_COMM_FAILURE: CONFIGRET = CONFIGRET(48u32); |
| pub const CR_REMOVE_VETOED: CONFIGRET = CONFIGRET(23u32); |
| pub const CR_SAME_RESOURCES: CONFIGRET = CONFIGRET(45u32); |
| pub const CR_SUCCESS: CONFIGRET = CONFIGRET(0u32); |
| pub const CR_WRONG_TYPE: CONFIGRET = CONFIGRET(38u32); |
| pub const DELFLG_IN_USE: u32 = 1u32; |
| pub const DELFLG_IN_USE1: u32 = 65536u32; |
| pub const DIBCI_NODISPLAYCLASS: u32 = 2u32; |
| pub const DIBCI_NOINSTALLCLASS: u32 = 1u32; |
| pub const DICD_GENERATE_ID: u32 = 1u32; |
| pub const DICD_INHERIT_CLASSDRVS: u32 = 2u32; |
| pub const DICLASSPROP_INSTALLER: u32 = 1u32; |
| pub const DICLASSPROP_INTERFACE: u32 = 2u32; |
| pub const DICS_DISABLE: u32 = 2u32; |
| pub const DICS_ENABLE: u32 = 1u32; |
| pub const DICS_FLAG_CONFIGGENERAL: u32 = 4u32; |
| pub const DICS_FLAG_CONFIGSPECIFIC: u32 = 2u32; |
| pub const DICS_FLAG_GLOBAL: u32 = 1u32; |
| pub const DICS_PROPCHANGE: u32 = 3u32; |
| pub const DICS_START: u32 = 4u32; |
| pub const DICS_STOP: u32 = 5u32; |
| pub const DICUSTOMDEVPROP_MERGE_MULTISZ: u32 = 1u32; |
| pub const DIF_ADDPROPERTYPAGE_ADVANCED: u32 = 35u32; |
| pub const DIF_ADDPROPERTYPAGE_BASIC: u32 = 36u32; |
| pub const DIF_ADDREMOTEPROPERTYPAGE_ADVANCED: u32 = 40u32; |
| pub const DIF_ALLOW_INSTALL: u32 = 24u32; |
| pub const DIF_ASSIGNRESOURCES: u32 = 3u32; |
| pub const DIF_CALCDISKSPACE: u32 = 11u32; |
| pub const DIF_DESTROYPRIVATEDATA: u32 = 12u32; |
| pub const DIF_DESTROYWIZARDDATA: u32 = 17u32; |
| pub const DIF_DETECT: u32 = 15u32; |
| pub const DIF_DETECTCANCEL: u32 = 33u32; |
| pub const DIF_DETECTVERIFY: u32 = 20u32; |
| pub const DIF_ENABLECLASS: u32 = 19u32; |
| pub const DIF_FINISHINSTALL_ACTION: u32 = 42u32; |
| pub const DIF_FIRSTTIMESETUP: u32 = 6u32; |
| pub const DIF_FOUNDDEVICE: u32 = 7u32; |
| pub const DIF_INSTALLCLASSDRIVERS: u32 = 10u32; |
| pub const DIF_INSTALLDEVICE: u32 = 2u32; |
| pub const DIF_INSTALLDEVICEFILES: u32 = 21u32; |
| pub const DIF_INSTALLINTERFACES: u32 = 32u32; |
| pub const DIF_INSTALLWIZARD: u32 = 16u32; |
| pub const DIF_MOVEDEVICE: u32 = 14u32; |
| pub const DIF_NEWDEVICEWIZARD_FINISHINSTALL: u32 = 30u32; |
| pub const DIF_NEWDEVICEWIZARD_POSTANALYZE: u32 = 29u32; |
| pub const DIF_NEWDEVICEWIZARD_PREANALYZE: u32 = 28u32; |
| pub const DIF_NEWDEVICEWIZARD_PRESELECT: u32 = 26u32; |
| pub const DIF_NEWDEVICEWIZARD_SELECT: u32 = 27u32; |
| pub const DIF_POWERMESSAGEWAKE: u32 = 39u32; |
| pub const DIF_PROPERTIES: u32 = 4u32; |
| pub const DIF_PROPERTYCHANGE: u32 = 18u32; |
| pub const DIF_REGISTERDEVICE: u32 = 25u32; |
| pub const DIF_REGISTER_COINSTALLERS: u32 = 34u32; |
| pub const DIF_REMOVE: u32 = 5u32; |
| pub const DIF_RESERVED1: u32 = 37u32; |
| pub const DIF_RESERVED2: u32 = 48u32; |
| pub const DIF_SELECTBESTCOMPATDRV: u32 = 23u32; |
| pub const DIF_SELECTCLASSDRIVERS: u32 = 8u32; |
| pub const DIF_SELECTDEVICE: u32 = 1u32; |
| pub const DIF_TROUBLESHOOTER: u32 = 38u32; |
| pub const DIF_UNREMOVE: u32 = 22u32; |
| pub const DIF_UNUSED1: u32 = 31u32; |
| pub const DIF_UPDATEDRIVER_UI: u32 = 41u32; |
| pub const DIF_VALIDATECLASSDRIVERS: u32 = 9u32; |
| pub const DIF_VALIDATEDRIVER: u32 = 13u32; |
| pub const DIGCDP_FLAG_ADVANCED: u32 = 2u32; |
| pub const DIGCDP_FLAG_BASIC: u32 = 1u32; |
| pub const DIGCDP_FLAG_REMOTE_ADVANCED: u32 = 4u32; |
| pub const DIGCDP_FLAG_REMOTE_BASIC: u32 = 3u32; |
| pub const DIGCF_ALLCLASSES: u32 = 4u32; |
| pub const DIGCF_DEFAULT: u32 = 1u32; |
| pub const DIGCF_DEVICEINTERFACE: u32 = 16u32; |
| pub const DIGCF_INTERFACEDEVICE: u32 = 16u32; |
| pub const DIGCF_PRESENT: u32 = 2u32; |
| pub const DIGCF_PROFILE: u32 = 8u32; |
| pub const DIIDFLAG_BITS: DIINSTALLDEVICE_FLAGS = DIINSTALLDEVICE_FLAGS(15u32); |
| pub const DIIDFLAG_INSTALLCOPYINFDRIVERS: DIINSTALLDEVICE_FLAGS = DIINSTALLDEVICE_FLAGS(8u32); |
| pub const DIIDFLAG_INSTALLNULLDRIVER: DIINSTALLDEVICE_FLAGS = DIINSTALLDEVICE_FLAGS(4u32); |
| pub const DIIDFLAG_NOFINISHINSTALLUI: DIINSTALLDEVICE_FLAGS = DIINSTALLDEVICE_FLAGS(2u32); |
| pub const DIIDFLAG_SHOWSEARCHUI: DIINSTALLDEVICE_FLAGS = DIINSTALLDEVICE_FLAGS(1u32); |
| pub const DIIRFLAG_BITS: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(106u32); |
| pub const DIIRFLAG_FORCE_INF: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(2u32); |
| pub const DIIRFLAG_HOTPATCH: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(8u32); |
| pub const DIIRFLAG_HW_USING_THE_INF: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(4u32); |
| pub const DIIRFLAG_INF_ALREADY_COPIED: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(1u32); |
| pub const DIIRFLAG_INSTALL_AS_SET: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(64u32); |
| pub const DIIRFLAG_NOBACKUP: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(16u32); |
| pub const DIIRFLAG_PRE_CONFIGURE_INF: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(32u32); |
| pub const DIIRFLAG_SYSTEM_BITS: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(127u32); |
| pub const DIOCR_INSTALLER: u32 = 1u32; |
| pub const DIOCR_INTERFACE: u32 = 2u32; |
| pub const DIODI_NO_ADD: u32 = 1u32; |
| pub const DIOD_CANCEL_REMOVE: u32 = 4u32; |
| pub const DIOD_INHERIT_CLASSDRVS: u32 = 2u32; |
| pub const DIREG_BOTH: u32 = 4u32; |
| pub const DIREG_DEV: u32 = 1u32; |
| pub const DIREG_DRV: u32 = 2u32; |
| pub const DIRID_ABSOLUTE: i32 = -1i32; |
| pub const DIRID_ABSOLUTE_16BIT: u32 = 65535u32; |
| pub const DIRID_APPS: u32 = 24u32; |
| pub const DIRID_BOOT: u32 = 30u32; |
| pub const DIRID_COLOR: u32 = 23u32; |
| pub const DIRID_COMMON_APPDATA: u32 = 16419u32; |
| pub const DIRID_COMMON_DESKTOPDIRECTORY: u32 = 16409u32; |
| pub const DIRID_COMMON_DOCUMENTS: u32 = 16430u32; |
| pub const DIRID_COMMON_FAVORITES: u32 = 16415u32; |
| pub const DIRID_COMMON_PROGRAMS: u32 = 16407u32; |
| pub const DIRID_COMMON_STARTMENU: u32 = 16406u32; |
| pub const DIRID_COMMON_STARTUP: u32 = 16408u32; |
| pub const DIRID_COMMON_TEMPLATES: u32 = 16429u32; |
| pub const DIRID_DEFAULT: u32 = 11u32; |
| pub const DIRID_DRIVERS: u32 = 12u32; |
| pub const DIRID_DRIVER_STORE: u32 = 13u32; |
| pub const DIRID_FONTS: u32 = 20u32; |
| pub const DIRID_HELP: u32 = 18u32; |
| pub const DIRID_INF: u32 = 17u32; |
| pub const DIRID_IOSUBSYS: u32 = 12u32; |
| pub const DIRID_LOADER: u32 = 54u32; |
| pub const DIRID_NULL: u32 = 0u32; |
| pub const DIRID_PRINTPROCESSOR: u32 = 55u32; |
| pub const DIRID_PROGRAM_FILES: u32 = 16422u32; |
| pub const DIRID_PROGRAM_FILES_COMMON: u32 = 16427u32; |
| pub const DIRID_PROGRAM_FILES_COMMONX86: u32 = 16428u32; |
| pub const DIRID_PROGRAM_FILES_X86: u32 = 16426u32; |
| pub const DIRID_SHARED: u32 = 25u32; |
| pub const DIRID_SPOOL: u32 = 51u32; |
| pub const DIRID_SPOOLDRIVERS: u32 = 52u32; |
| pub const DIRID_SRCPATH: u32 = 1u32; |
| pub const DIRID_SYSTEM: u32 = 11u32; |
| pub const DIRID_SYSTEM16: u32 = 50u32; |
| pub const DIRID_SYSTEM_X86: u32 = 16425u32; |
| pub const DIRID_USER: u32 = 32768u32; |
| pub const DIRID_USERPROFILE: u32 = 53u32; |
| pub const DIRID_VIEWERS: u32 = 21u32; |
| pub const DIRID_WINDOWS: u32 = 10u32; |
| pub const DIURFLAG_NO_REMOVE_INF: DIUNINSTALLDRIVER_FLAGS = DIUNINSTALLDRIVER_FLAGS(1u32); |
| pub const DIURFLAG_RESERVED: DIUNINSTALLDRIVER_FLAGS = DIUNINSTALLDRIVER_FLAGS(2u32); |
| pub const DIURFLAG_VALID: DIUNINSTALLDRIVER_FLAGS = DIUNINSTALLDRIVER_FLAGS(3u32); |
| pub const DI_AUTOASSIGNRES: i32 = 64i32; |
| pub const DI_CLASSINSTALLPARAMS: i32 = 1048576i32; |
| pub const DI_COMPAT_FROM_CLASS: i32 = 524288i32; |
| pub const DI_DIDCLASS: i32 = 32i32; |
| pub const DI_DIDCOMPAT: i32 = 16i32; |
| pub const DI_DISABLED: i32 = 2048i32; |
| pub const DI_DONOTCALLCONFIGMG: i32 = 131072i32; |
| pub const DI_DRIVERPAGE_ADDED: i32 = 67108864i32; |
| pub const DI_ENUMSINGLEINF: i32 = 65536i32; |
| pub const DI_FLAGSEX_ALLOWEXCLUDEDDRVS: i32 = 2048i32; |
| pub const DI_FLAGSEX_ALTPLATFORM_DRVSEARCH: i32 = 268435456i32; |
| pub const DI_FLAGSEX_ALWAYSWRITEIDS: i32 = 512i32; |
| pub const DI_FLAGSEX_APPENDDRIVERLIST: i32 = 262144i32; |
| pub const DI_FLAGSEX_BACKUPONREPLACE: i32 = 1048576i32; |
| pub const DI_FLAGSEX_CI_FAILED: i32 = 4i32; |
| pub const DI_FLAGSEX_DEVICECHANGE: i32 = 256i32; |
| pub const DI_FLAGSEX_DIDCOMPATINFO: i32 = 32i32; |
| pub const DI_FLAGSEX_DIDINFOLIST: i32 = 16i32; |
| pub const DI_FLAGSEX_DRIVERLIST_FROM_URL: i32 = 2097152i32; |
| pub const DI_FLAGSEX_EXCLUDE_OLD_INET_DRIVERS: i32 = 8388608i32; |
| pub const DI_FLAGSEX_FILTERCLASSES: i32 = 64i32; |
| pub const DI_FLAGSEX_FILTERSIMILARDRIVERS: i32 = 33554432i32; |
| pub const DI_FLAGSEX_FINISHINSTALL_ACTION: i32 = 8i32; |
| pub const DI_FLAGSEX_INET_DRIVER: i32 = 131072i32; |
| pub const DI_FLAGSEX_INSTALLEDDRIVER: i32 = 67108864i32; |
| pub const DI_FLAGSEX_IN_SYSTEM_SETUP: i32 = 65536i32; |
| pub const DI_FLAGSEX_NOUIONQUERYREMOVE: i32 = 4096i32; |
| pub const DI_FLAGSEX_NO_CLASSLIST_NODE_MERGE: i32 = 134217728i32; |
| pub const DI_FLAGSEX_NO_DRVREG_MODIFY: i32 = 32768i32; |
| pub const DI_FLAGSEX_POWERPAGE_ADDED: i32 = 16777216i32; |
| pub const DI_FLAGSEX_PREINSTALLBACKUP: i32 = 524288i32; |
| pub const DI_FLAGSEX_PROPCHANGE_PENDING: i32 = 1024i32; |
| pub const DI_FLAGSEX_RECURSIVESEARCH: i32 = 1073741824i32; |
| pub const DI_FLAGSEX_RESERVED1: i32 = 4194304i32; |
| pub const DI_FLAGSEX_RESERVED2: i32 = 1i32; |
| pub const DI_FLAGSEX_RESERVED3: i32 = 2i32; |
| pub const DI_FLAGSEX_RESERVED4: i32 = 16384i32; |
| pub const DI_FLAGSEX_RESTART_DEVICE_ONLY: i32 = 536870912i32; |
| pub const DI_FLAGSEX_SEARCH_PUBLISHED_INFS: i32 = -2147483648i32; |
| pub const DI_FLAGSEX_SETFAILEDINSTALL: i32 = 128i32; |
| pub const DI_FLAGSEX_USECLASSFORCOMPAT: i32 = 8192i32; |
| pub const DI_FORCECOPY: i32 = 33554432i32; |
| pub const DI_GENERALPAGE_ADDED: i32 = 4096i32; |
| pub const DI_INF_IS_SORTED: i32 = 32768i32; |
| pub const DI_INSTALLDISABLED: i32 = 262144i32; |
| pub const DI_MULTMFGS: i32 = 1024i32; |
| pub const DI_NEEDREBOOT: i32 = 256i32; |
| pub const DI_NEEDRESTART: i32 = 128i32; |
| pub const DI_NOBROWSE: i32 = 512i32; |
| pub const DI_NODI_DEFAULTACTION: i32 = 2097152i32; |
| pub const DI_NOFILECOPY: i32 = 16777216i32; |
| pub const DI_NOSELECTICONS: i32 = 1073741824i32; |
| pub const DI_NOVCP: i32 = 8i32; |
| pub const DI_NOWRITE_IDS: i32 = -2147483648i32; |
| pub const DI_OVERRIDE_INFFLAGS: i32 = 268435456i32; |
| pub const DI_PROPERTIES_CHANGE: i32 = 16384i32; |
| pub const DI_PROPS_NOCHANGEUSAGE: i32 = 536870912i32; |
| pub const DI_QUIETINSTALL: i32 = 8388608i32; |
| pub const DI_REMOVEDEVICE_CONFIGSPECIFIC: u32 = 2u32; |
| pub const DI_REMOVEDEVICE_GLOBAL: u32 = 1u32; |
| pub const DI_RESOURCEPAGE_ADDED: i32 = 8192i32; |
| pub const DI_SHOWALL: i32 = 7i32; |
| pub const DI_SHOWCLASS: i32 = 4i32; |
| pub const DI_SHOWCOMPAT: i32 = 2i32; |
| pub const DI_SHOWOEM: i32 = 1i32; |
| pub const DI_UNREMOVEDEVICE_CONFIGSPECIFIC: u32 = 2u32; |
| pub const DI_USECI_SELECTSTRINGS: i32 = 134217728i32; |
| pub const DMI_BKCOLOR: u32 = 2u32; |
| pub const DMI_MASK: u32 = 1u32; |
| pub const DMI_USERECT: u32 = 4u32; |
| pub const DNF_ALWAYSEXCLUDEFROMLIST: u32 = 524288u32; |
| pub const DNF_AUTHENTICODE_SIGNED: u32 = 131072u32; |
| pub const DNF_BAD_DRIVER: u32 = 2048u32; |
| pub const DNF_BASIC_DRIVER: u32 = 65536u32; |
| pub const DNF_CLASS_DRIVER: u32 = 32u32; |
| pub const DNF_COMPATIBLE_DRIVER: u32 = 64u32; |
| pub const DNF_DUPDESC: u32 = 1u32; |
| pub const DNF_DUPDRIVERVER: u32 = 32768u32; |
| pub const DNF_DUPPROVIDER: u32 = 4096u32; |
| pub const DNF_EXCLUDEFROMLIST: u32 = 4u32; |
| pub const DNF_INBOX_DRIVER: u32 = 1048576u32; |
| pub const DNF_INET_DRIVER: u32 = 128u32; |
| pub const DNF_INF_IS_SIGNED: u32 = 8192u32; |
| pub const DNF_INSTALLEDDRIVER: u32 = 262144u32; |
| pub const DNF_LEGACYINF: u32 = 16u32; |
| pub const DNF_NODRIVER: u32 = 8u32; |
| pub const DNF_OEM_F6_INF: u32 = 16384u32; |
| pub const DNF_OLDDRIVER: u32 = 2u32; |
| pub const DNF_OLD_INET_DRIVER: u32 = 1024u32; |
| pub const DNF_REQUESTADDITIONALSOFTWARE: u32 = 2097152u32; |
| pub const DNF_UNUSED1: u32 = 256u32; |
| pub const DNF_UNUSED2: u32 = 512u32; |
| pub const DNF_UNUSED_22: u32 = 4194304u32; |
| pub const DNF_UNUSED_23: u32 = 8388608u32; |
| pub const DNF_UNUSED_24: u32 = 16777216u32; |
| pub const DNF_UNUSED_25: u32 = 33554432u32; |
| pub const DNF_UNUSED_26: u32 = 67108864u32; |
| pub const DNF_UNUSED_27: u32 = 134217728u32; |
| pub const DNF_UNUSED_28: u32 = 268435456u32; |
| pub const DNF_UNUSED_29: u32 = 536870912u32; |
| pub const DNF_UNUSED_30: u32 = 1073741824u32; |
| pub const DNF_UNUSED_31: u32 = 2147483648u32; |
| pub const DN_APM_DRIVER: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(268435456u32); |
| pub const DN_APM_ENUMERATOR: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(134217728u32); |
| pub const DN_ARM_WAKEUP: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(67108864u32); |
| pub const DN_BAD_PARTIAL: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(4194304u32); |
| pub const DN_BOOT_LOG_PROB: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(2147483648u32); |
| pub const DN_CHANGEABLE_FLAGS: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(1639670464u32); |
| pub const DN_CHILD_WITH_INVALID_ID: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(512u32); |
| pub const DN_DEVICE_DISCONNECTED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(33554432u32); |
| pub const DN_DISABLEABLE: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(8192u32); |
| pub const DN_DRIVER_BLOCKED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(64u32); |
| pub const DN_DRIVER_LOADED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(2u32); |
| pub const DN_ENUM_LOADED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(4u32); |
| pub const DN_FILTERED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(2048u32); |
| pub const DN_HARDWARE_ENUM: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(128u32); |
| pub const DN_HAS_MARK: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(512u32); |
| pub const DN_HAS_PROBLEM: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(1024u32); |
| pub const DN_LEGACY_DRIVER: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(4096u32); |
| pub const DN_LIAR: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(256u32); |
| pub const DN_MANUAL: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(16u32); |
| pub const DN_MF_CHILD: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(131072u32); |
| pub const DN_MF_PARENT: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(65536u32); |
| pub const DN_MOVED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(4096u32); |
| pub const DN_NEEDS_LOCKING: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(33554432u32); |
| pub const DN_NEED_RESTART: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(256u32); |
| pub const DN_NEED_TO_ENUM: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(32u32); |
| pub const DN_NOT_FIRST_TIME: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(64u32); |
| pub const DN_NOT_FIRST_TIMEE: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(524288u32); |
| pub const DN_NO_SHOW_IN_DM: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(1073741824u32); |
| pub const DN_NT_DRIVER: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(16777216u32); |
| pub const DN_NT_ENUMERATOR: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(8388608u32); |
| pub const DN_PRIVATE_PROBLEM: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(32768u32); |
| pub const DN_QUERY_REMOVE_ACTIVE: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(131072u32); |
| pub const DN_QUERY_REMOVE_PENDING: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(65536u32); |
| pub const DN_REBAL_CANDIDATE: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(2097152u32); |
| pub const DN_REMOVABLE: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(16384u32); |
| pub const DN_ROOT_ENUMERATED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(1u32); |
| pub const DN_SILENT_INSTALL: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(536870912u32); |
| pub const DN_STARTED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(8u32); |
| pub const DN_STOP_FREE_RES: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(1048576u32); |
| pub const DN_WILL_BE_REMOVED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(262144u32); |
| pub const DPROMPT_BUFFERTOOSMALL: u32 = 3u32; |
| pub const DPROMPT_CANCEL: u32 = 1u32; |
| pub const DPROMPT_OUTOFMEMORY: u32 = 4u32; |
| pub const DPROMPT_SKIPFILE: u32 = 2u32; |
| pub const DPROMPT_SUCCESS: u32 = 0u32; |
| pub const DRIVER_COMPATID_RANK: u32 = 16383u32; |
| pub const DRIVER_HARDWAREID_MASK: u32 = 2147487743u32; |
| pub const DRIVER_HARDWAREID_RANK: u32 = 4095u32; |
| pub const DRIVER_UNTRUSTED_COMPATID_RANK: u32 = 49151u32; |
| pub const DRIVER_UNTRUSTED_HARDWAREID_RANK: u32 = 36863u32; |
| pub const DRIVER_UNTRUSTED_RANK: u32 = 2147483648u32; |
| pub const DRIVER_W9X_SUSPECT_COMPATID_RANK: u32 = 65535u32; |
| pub const DRIVER_W9X_SUSPECT_HARDWAREID_RANK: u32 = 53247u32; |
| pub const DRIVER_W9X_SUSPECT_RANK: u32 = 3221225472u32; |
| pub const DWORD_MAX: u32 = 4294967295u32; |
| pub const DYNAWIZ_FLAG_ANALYZE_HANDLECONFLICT: u32 = 8u32; |
| pub const DYNAWIZ_FLAG_INSTALLDET_NEXT: u32 = 2u32; |
| pub const DYNAWIZ_FLAG_INSTALLDET_PREV: u32 = 4u32; |
| pub const DYNAWIZ_FLAG_PAGESADDED: u32 = 1u32; |
| pub const ENABLECLASS_FAILURE: u32 = 2u32; |
| pub const ENABLECLASS_QUERY: u32 = 0u32; |
| pub const ENABLECLASS_SUCCESS: u32 = 1u32; |
| pub const FILEOP_ABORT: u32 = 0u32; |
| pub const FILEOP_BACKUP: u32 = 3u32; |
| pub const FILEOP_COPY: SETUP_FILE_OPERATION = SETUP_FILE_OPERATION(0u32); |
| pub const FILEOP_DELETE: SETUP_FILE_OPERATION = SETUP_FILE_OPERATION(2u32); |
| pub const FILEOP_DOIT: u32 = 1u32; |
| pub const FILEOP_NEWPATH: u32 = 4u32; |
| pub const FILEOP_RENAME: u32 = 1u32; |
| pub const FILEOP_RETRY: u32 = 1u32; |
| pub const FILEOP_SKIP: u32 = 2u32; |
| pub const FILE_COMPRESSION_MSZIP: u32 = 2u32; |
| pub const FILE_COMPRESSION_NONE: u32 = 0u32; |
| pub const FILE_COMPRESSION_NTCAB: u32 = 3u32; |
| pub const FILE_COMPRESSION_WINLZA: u32 = 1u32; |
| pub const FILTERED_LOG_CONF: CM_LOG_CONF = CM_LOG_CONF(1u32); |
| pub const FLG_ADDPROPERTY_AND: u32 = 16u32; |
| pub const FLG_ADDPROPERTY_APPEND: u32 = 4u32; |
| pub const FLG_ADDPROPERTY_NOCLOBBER: u32 = 1u32; |
| pub const FLG_ADDPROPERTY_OR: u32 = 8u32; |
| pub const FLG_ADDPROPERTY_OVERWRITEONLY: u32 = 2u32; |
| pub const FLG_ADDREG_32BITKEY: u32 = 16384u32; |
| pub const FLG_ADDREG_64BITKEY: u32 = 4096u32; |
| pub const FLG_ADDREG_APPEND: u32 = 8u32; |
| pub const FLG_ADDREG_BINVALUETYPE: u32 = 1u32; |
| pub const FLG_ADDREG_DELREG_BIT: u32 = 32768u32; |
| pub const FLG_ADDREG_DELVAL: u32 = 4u32; |
| pub const FLG_ADDREG_KEYONLY: u32 = 16u32; |
| pub const FLG_ADDREG_KEYONLY_COMMON: u32 = 8192u32; |
| pub const FLG_ADDREG_NOCLOBBER: u32 = 2u32; |
| pub const FLG_ADDREG_OVERWRITEONLY: u32 = 32u32; |
| pub const FLG_ADDREG_TYPE_EXPAND_SZ: u32 = 131072u32; |
| pub const FLG_ADDREG_TYPE_MULTI_SZ: u32 = 65536u32; |
| pub const FLG_ADDREG_TYPE_SZ: u32 = 0u32; |
| pub const FLG_BITREG_32BITKEY: u32 = 16384u32; |
| pub const FLG_BITREG_64BITKEY: u32 = 4096u32; |
| pub const FLG_BITREG_CLEARBITS: u32 = 0u32; |
| pub const FLG_BITREG_SETBITS: u32 = 1u32; |
| pub const FLG_DELPROPERTY_MULTI_SZ_DELSTRING: u32 = 1u32; |
| pub const FLG_DELREG_32BITKEY: u32 = 16384u32; |
| pub const FLG_DELREG_64BITKEY: u32 = 4096u32; |
| pub const FLG_DELREG_KEYONLY_COMMON: u32 = 8192u32; |
| pub const FLG_DELREG_OPERATION_MASK: u32 = 254u32; |
| pub const FLG_DELREG_TYPE_EXPAND_SZ: u32 = 131072u32; |
| pub const FLG_DELREG_TYPE_MULTI_SZ: u32 = 65536u32; |
| pub const FLG_DELREG_TYPE_SZ: u32 = 0u32; |
| pub const FLG_DELREG_VALUE: u32 = 0u32; |
| pub const FLG_INI2REG_32BITKEY: u32 = 16384u32; |
| pub const FLG_INI2REG_64BITKEY: u32 = 4096u32; |
| pub const FLG_PROFITEM_CSIDL: u32 = 8u32; |
| pub const FLG_PROFITEM_CURRENTUSER: u32 = 1u32; |
| pub const FLG_PROFITEM_DELETE: u32 = 2u32; |
| pub const FLG_PROFITEM_GROUP: u32 = 4u32; |
| pub const FLG_REGSVR_DLLINSTALL: u32 = 2u32; |
| pub const FLG_REGSVR_DLLREGISTER: u32 = 1u32; |
| pub const FORCED_LOG_CONF: CM_LOG_CONF = CM_LOG_CONF(4u32); |
| pub const GUID_ACPI_CMOS_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a8d0384_6505_40ca_bc39_56c15f8c5fed); |
| pub const GUID_ACPI_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb091a08a_ba97_11d0_bd14_00aa00b7b32a); |
| pub const GUID_ACPI_INTERFACE_STANDARD2: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8695f63_1831_4870_a8cf_9c2f03f9dcb5); |
| pub const GUID_ACPI_PORT_RANGES_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf14f609b_cbbd_4957_a674_bc00213f1c97); |
| pub const GUID_ACPI_REGS_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06141966_7245_6369_462e_4e656c736f6e); |
| pub const GUID_AGP_TARGET_BUS_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb15cfce8_06d1_4d37_9d4c_bedde0c2a6ff); |
| pub const GUID_ARBITER_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe644f185_8c0e_11d0_becf_08002be2092f); |
| pub const GUID_BUS_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x496b8280_6f25_11d0_beaf_08002be2092f); |
| pub const GUID_BUS_RESOURCE_UPDATE_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27d0102d_bfb2_4164_81dd_dbb82f968b48); |
| pub const GUID_BUS_TYPE_1394: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf74e73eb_9ac5_45eb_be4d_772cc71ddfb3); |
| pub const GUID_BUS_TYPE_ACPI: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7b46895_001a_4942_891f_a7d46610a843); |
| pub const GUID_BUS_TYPE_AVC: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc06ff265_ae09_48f0_812c_16753d7cba83); |
| pub const GUID_BUS_TYPE_DOT4PRT: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x441ee001_4342_11d5_a184_00c04f60524d); |
| pub const GUID_BUS_TYPE_EISA: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddc35509_f3fc_11d0_a537_0000f8753ed1); |
| pub const GUID_BUS_TYPE_HID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeeaf37d0_1963_47c4_aa48_72476db7cf49); |
| pub const GUID_BUS_TYPE_INTERNAL: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1530ea73_086b_11d1_a09f_00c04fc340b1); |
| pub const GUID_BUS_TYPE_IRDA: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ae17dc1_c944_44d6_881f_4c2e61053bc1); |
| pub const GUID_BUS_TYPE_ISAPNP: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe676f854_d87d_11d0_92b2_00a0c9055fc5); |
| pub const GUID_BUS_TYPE_LPTENUM: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4ca1000_2ddc_11d5_a17a_00c04f60524d); |
| pub const GUID_BUS_TYPE_MCA: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c75997a_dc33_11d0_92b2_00a0c9055fc5); |
| pub const GUID_BUS_TYPE_PCI: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8ebdfb0_b510_11d0_80e5_00a0c92542e3); |
| pub const GUID_BUS_TYPE_PCMCIA: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09343630_af9f_11d0_92e9_0000f81e1b30); |
| pub const GUID_BUS_TYPE_SCM: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x375a5912_804c_45aa_bdc2_fdd25a1d9512); |
| pub const GUID_BUS_TYPE_SD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe700cc04_4036_4e89_9579_89ebf45f00cd); |
| pub const GUID_BUS_TYPE_SERENUM: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77114a87_8944_11d1_bd90_00a0c906be2d); |
| pub const GUID_BUS_TYPE_SW_DEVICE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06d10322_7de0_4cef_8e25_197d0e7442e2); |
| pub const GUID_BUS_TYPE_USB: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d7debbc_c85d_11d1_9eb4_006008c3a19a); |
| pub const GUID_BUS_TYPE_USBPRINT: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x441ee000_4342_11d5_a184_00c04f60524d); |
| pub const GUID_D3COLD_AUX_POWER_AND_TIMING_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0044d8aa_f664_4588_9ffc_2afeaf5950b9); |
| pub const GUID_D3COLD_SUPPORT_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb38290e5_3cd0_4f9d_9937_f5fe2b44d47a); |
| pub const GUID_DEVCLASS_1394: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bdd1fc1_810f_11d0_bec7_08002be2092f); |
| pub const GUID_DEVCLASS_1394DEBUG: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66f250d6_7801_4a64_b139_eea80a450b24); |
| pub const GUID_DEVCLASS_61883: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ebefbc0_3200_11d2_b4c2_00a0c9697d07); |
| pub const GUID_DEVCLASS_ADAPTER: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e964_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_APMSUPPORT: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd45b1c18_c8fa_11d1_9f77_0000f805f530); |
| pub const GUID_DEVCLASS_AVC: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc06ff265_ae09_48f0_812c_16753d7cba83); |
| pub const GUID_DEVCLASS_BATTERY: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72631e54_78a4_11d0_bcf7_00aa00b7b32a); |
| pub const GUID_DEVCLASS_BIOMETRIC: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53d29ef7_377c_4d14_864b_eb3a85769359); |
| pub const GUID_DEVCLASS_BLUETOOTH: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0cbf06c_cd8b_4647_bb8a_263b43f0f974); |
| pub const GUID_DEVCLASS_CAMERA: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca3e7ab9_b4c3_4ae6_8251_579ef933890f); |
| pub const GUID_DEVCLASS_CDROM: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e965_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_COMPUTEACCELERATOR: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf01a9d53_3ff6_48d2_9f97_c8a7004be10c); |
| pub const GUID_DEVCLASS_COMPUTER: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e966_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_DECODER: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bdd1fc2_810f_11d0_bec7_08002be2092f); |
| pub const GUID_DEVCLASS_DISKDRIVE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e967_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_DISPLAY: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e968_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_DOT4: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48721b56_6795_11d2_b1a8_0080c72e74a2); |
| pub const GUID_DEVCLASS_DOT4PRINT: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49ce6ac8_6f86_11d2_b1e5_0080c72e74a2); |
| pub const GUID_DEVCLASS_EHSTORAGESILO: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9da2b80f_f89f_4a49_a5c2_511b085b9e8a); |
| pub const GUID_DEVCLASS_ENUM1394: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc459df55_db08_11d1_b009_00a0c9081ff6); |
| pub const GUID_DEVCLASS_EXTENSION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2f84ce7_8efa_411c_aa69_97454ca4cb57); |
| pub const GUID_DEVCLASS_FDC: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e969_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_FIRMWARE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e7dd72_6468_4e36_b6f1_6488f42c1b52); |
| pub const GUID_DEVCLASS_FLOPPYDISK: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e980_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_FSFILTER_ACTIVITYMONITOR: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb86dff51_a31e_4bac_b3cf_e8cfe75c9fc2); |
| pub const GUID_DEVCLASS_FSFILTER_ANTIVIRUS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1d1a169_c54f_4379_81db_bee7d88d7454); |
| pub const GUID_DEVCLASS_FSFILTER_BOTTOM: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37765ea0_5958_4fc9_b04b_2fdfef97e59e); |
| pub const GUID_DEVCLASS_FSFILTER_CFSMETADATASERVER: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcdcf0939_b75b_4630_bf76_80f7ba655884); |
| pub const GUID_DEVCLASS_FSFILTER_COMPRESSION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3586baf_b5aa_49b5_8d6c_0569284c639f); |
| pub const GUID_DEVCLASS_FSFILTER_CONTENTSCREENER: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e3f0674_c83c_4558_bb26_9820e1eba5c5); |
| pub const GUID_DEVCLASS_FSFILTER_CONTINUOUSBACKUP: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71aa14f8_6fad_4622_ad77_92bb9d7e6947); |
| pub const GUID_DEVCLASS_FSFILTER_COPYPROTECTION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89786ff1_9c12_402f_9c9e_17753c7f4375); |
| pub const GUID_DEVCLASS_FSFILTER_ENCRYPTION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0a701c0_a511_42ff_aa6c_06dc0395576f); |
| pub const GUID_DEVCLASS_FSFILTER_HSM: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd546500a_2aeb_45f6_9482_f4b1799c3177); |
| pub const GUID_DEVCLASS_FSFILTER_INFRASTRUCTURE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe55fa6f9_128c_4d04_abab_630c74b1453a); |
| pub const GUID_DEVCLASS_FSFILTER_OPENFILEBACKUP: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8ecafa6_66d1_41a5_899b_66585d7216b7); |
| pub const GUID_DEVCLASS_FSFILTER_PHYSICALQUOTAMANAGEMENT: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a0a8e78_bba6_4fc4_a709_1e33cd09d67e); |
| pub const GUID_DEVCLASS_FSFILTER_QUOTAMANAGEMENT: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8503c911_a6c7_4919_8f79_5028f5866b0c); |
| pub const GUID_DEVCLASS_FSFILTER_REPLICATION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48d3ebc4_4cf8_48ff_b869_9c68ad42eb9f); |
| pub const GUID_DEVCLASS_FSFILTER_SECURITYENHANCER: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd02bc3da_0c8e_4945_9bd5_f1883c226c8c); |
| pub const GUID_DEVCLASS_FSFILTER_SYSTEM: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d1b9aaa_01e2_46af_849f_272b3f324c46); |
| pub const GUID_DEVCLASS_FSFILTER_SYSTEMRECOVERY: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2db15374_706e_4131_a0c7_d7c78eb0289a); |
| pub const GUID_DEVCLASS_FSFILTER_TOP: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb369baf4_5568_4e82_a87e_a93eb16bca87); |
| pub const GUID_DEVCLASS_FSFILTER_UNDELETE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe8f1572_c67a_48c0_bbac_0b5c6d66cafb); |
| pub const GUID_DEVCLASS_FSFILTER_VIRTUALIZATION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf75a86c0_10d8_4c3a_b233_ed60e4cdfaac); |
| pub const GUID_DEVCLASS_GENERIC: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff494df1_c4ed_4fac_9b3f_3786f6e91e7e); |
| pub const GUID_DEVCLASS_GPS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bdd1fc3_810f_11d0_bec7_08002be2092f); |
| pub const GUID_DEVCLASS_HDC: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e96a_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_HIDCLASS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x745a17a0_74d3_11d0_b6fe_00a0c90f57da); |
| pub const GUID_DEVCLASS_HOLOGRAPHIC: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd612553d_06b1_49ca_8938_e39ef80eb16f); |
| pub const GUID_DEVCLASS_IMAGE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bdd1fc6_810f_11d0_bec7_08002be2092f); |
| pub const GUID_DEVCLASS_INFINIBAND: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30ef7132_d858_4a0c_ac24_b9028a5cca3f); |
| pub const GUID_DEVCLASS_INFRARED: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bdd1fc5_810f_11d0_bec7_08002be2092f); |
| pub const GUID_DEVCLASS_KEYBOARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e96b_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_LEGACYDRIVER: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ecc055d_047f_11d1_a537_0000f8753ed1); |
| pub const GUID_DEVCLASS_MEDIA: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e96c_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_MEDIUM_CHANGER: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce5939ae_ebde_11d0_b181_0000f8753ec4); |
| pub const GUID_DEVCLASS_MEMORY: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5099944a_f6b9_4057_a056_8c550228544c); |
| pub const GUID_DEVCLASS_MODEM: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e96d_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_MONITOR: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e96e_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_MOUSE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e96f_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_MTD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e970_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_MULTIFUNCTION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e971_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_MULTIPORTSERIAL: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50906cb8_ba12_11d1_bf5d_0000f805f530); |
| pub const GUID_DEVCLASS_NET: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e972_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_NETCLIENT: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e973_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_NETDRIVER: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87ef9ad1_8f70_49ee_b215_ab1fcadcbe3c); |
| pub const GUID_DEVCLASS_NETSERVICE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e974_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_NETTRANS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e975_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_NETUIO: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x78912bc1_cb8e_4b28_a329_f322ebadbe0f); |
| pub const GUID_DEVCLASS_NODRIVER: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e976_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_PCMCIA: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e977_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_PNPPRINTERS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4658ee7e_f050_11d1_b6bd_00c04fa372a7); |
| pub const GUID_DEVCLASS_PORTS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e978_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_PRIMITIVE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x242681d1_eed3_41d2_a1ef_1468fc843106); |
| pub const GUID_DEVCLASS_PRINTER: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e979_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_PRINTERUPGRADE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e97a_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_PRINTQUEUE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ed2bbf9_11f0_4084_b21f_ad83a8e6dcdc); |
| pub const GUID_DEVCLASS_PROCESSOR: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50127dc3_0f36_415e_a6cc_4cb3be910b65); |
| pub const GUID_DEVCLASS_SBP2: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd48179be_ec20_11d1_b6b8_00c04fa372a7); |
| pub const GUID_DEVCLASS_SCMDISK: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53966cb1_4d46_4166_bf23_c522403cd495); |
| pub const GUID_DEVCLASS_SCMVOLUME: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53ccb149_e543_4c84_b6e0_bce4f6b7e806); |
| pub const GUID_DEVCLASS_SCSIADAPTER: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e97b_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_SECURITYACCELERATOR: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x268c95a1_edfe_11d3_95c3_0010dc4050a5); |
| pub const GUID_DEVCLASS_SENSOR: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5175d334_c371_4806_b3ba_71fd53c9258d); |
| pub const GUID_DEVCLASS_SIDESHOW: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x997b5d8d_c442_4f2e_baf3_9c8e671e9e21); |
| pub const GUID_DEVCLASS_SMARTCARDREADER: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50dd5230_ba8a_11d1_bf5d_0000f805f530); |
| pub const GUID_DEVCLASS_SMRDISK: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53487c23_680f_4585_acc3_1f10d6777e82); |
| pub const GUID_DEVCLASS_SMRVOLUME: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53b3cf03_8f5a_4788_91b6_d19ed9fcccbf); |
| pub const GUID_DEVCLASS_SOFTWARECOMPONENT: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c4c3332_344d_483c_8739_259e934c9cc8); |
| pub const GUID_DEVCLASS_SOUND: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e97c_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_SYSTEM: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e97d_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_TAPEDRIVE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d807884_7d21_11cf_801c_08002be10318); |
| pub const GUID_DEVCLASS_UCM: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6f1aa1c_7f3b_4473_b2e8_c97d8ac71d53); |
| pub const GUID_DEVCLASS_UNKNOWN: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d36e97e_e325_11ce_bfc1_08002be10318); |
| pub const GUID_DEVCLASS_USB: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36fc9e60_c465_11cf_8056_444553540000); |
| pub const GUID_DEVCLASS_VOLUME: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71a27cdd_812a_11d0_bec7_08002be2092f); |
| pub const GUID_DEVCLASS_VOLUMESNAPSHOT: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x533c5b84_ec70_11d2_9505_00c04f79deaf); |
| pub const GUID_DEVCLASS_WCEUSBS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25dbce51_6c8f_4a72_8a6d_b54c2b4fc835); |
| pub const GUID_DEVCLASS_WPD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeec5ad98_8080_425f_922a_dabf3de3f69a); |
| pub const GUID_DEVICE_INTERFACE_ARRIVAL: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb3a4004_46f0_11d0_b08f_00609713053f); |
| pub const GUID_DEVICE_INTERFACE_REMOVAL: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb3a4005_46f0_11d0_b08f_00609713053f); |
| pub const GUID_DEVICE_RESET_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x649fdf26_3bc0_4813_ad24_7e0c1eda3fa3); |
| pub const GUID_DMA_CACHE_COHERENCY_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb520f7fa_8a5a_4e40_a3f6_6be1e162d935); |
| pub const GUID_HWPROFILE_CHANGE_CANCELLED: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb3a4002_46f0_11d0_b08f_00609713053f); |
| pub const GUID_HWPROFILE_CHANGE_COMPLETE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb3a4003_46f0_11d0_b08f_00609713053f); |
| pub const GUID_HWPROFILE_QUERY_CHANGE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb3a4001_46f0_11d0_b08f_00609713053f); |
| pub const GUID_INT_ROUTE_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70941bf4_0073_11d1_a09e_00c04fc340b1); |
| pub const GUID_IOMMU_BUS_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1efee0b2_d278_4ae4_bddc_1b34dd648043); |
| pub const GUID_KERNEL_SOFT_RESTART_CANCEL: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31d737e7_8c0b_468a_956e_9f433ec358fb); |
| pub const GUID_KERNEL_SOFT_RESTART_FINALIZE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20e91abd_350a_4d4f_8577_99c81507473a); |
| pub const GUID_KERNEL_SOFT_RESTART_PREPARE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde373def_a85c_4f76_8cbf_f96bea8bd10f); |
| pub const GUID_LEGACY_DEVICE_DETECTION_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50feb0de_596a_11d2_a5b8_0000f81a4619); |
| pub const GUID_MF_ENUMERATION_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaeb895f0_5586_11d1_8d84_00a0c906b244); |
| pub const GUID_MSIX_TABLE_CONFIG_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a6a460b_194f_455d_b34b_b84c5b05712b); |
| pub const GUID_NPEM_CONTROL_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d95573d_b774_488a_b120_4f284a9eff51); |
| pub const GUID_PARTITION_UNIT_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52363f5b_d891_429b_8195_aec5fef6853c); |
| pub const GUID_PCC_INTERFACE_INTERNAL: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7cce62ce_c189_4814_a6a7_12112089e938); |
| pub const GUID_PCC_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ee8ba63_0f59_4a24_8a45_35808bdd1249); |
| pub const GUID_PCI_ATS_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x010a7fe8_96f5_4943_bedf_95e651b93412); |
| pub const GUID_PCI_BUS_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x496b8281_6f25_11d0_beaf_08002be2092f); |
| pub const GUID_PCI_BUS_INTERFACE_STANDARD2: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde94e966_fdff_4c9c_9998_6747b150e74c); |
| pub const GUID_PCI_DEVICE_PRESENT_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1b82c26_bf49_45ef_b216_71cbd7889b57); |
| pub const GUID_PCI_EXPRESS_LINK_QUIESCENT_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x146cd41c_dae3_4437_8aff_2af3f038099b); |
| pub const GUID_PCI_EXPRESS_ROOT_PORT_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83a7734a_84c7_4161_9a98_6000ed0c4a33); |
| pub const GUID_PCI_FPGA_CONTROL_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2df3f7a8_b9b3_4063_9215_b5d14a0b266e); |
| pub const GUID_PCI_PTM_CONTROL_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x348a5ebb_ba24_44b7_9916_285687735117); |
| pub const GUID_PCI_SECURITY_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e7f1451_199e_4acc_ba2d_762b4edf4674); |
| pub const GUID_PCI_VIRTUALIZATION_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64897b47_3a4a_4d75_bc74_89dd6c078293); |
| pub const GUID_PCMCIA_BUS_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76173af0_c504_11d1_947f_00c04fb960ee); |
| pub const GUID_PNP_CUSTOM_NOTIFICATION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaca73f8e_8d23_11d1_ac7d_0000f87571d0); |
| pub const GUID_PNP_EXTENDED_ADDRESS_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8e992ec_a797_4dc4_8846_84d041707446); |
| pub const GUID_PNP_LOCATION_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70211b0e_0afb_47db_afc1_410bf842497a); |
| pub const GUID_PNP_POWER_NOTIFICATION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2cf0660_eb7a_11d1_bd7f_0000f87571d0); |
| pub const GUID_PNP_POWER_SETTING_CHANGE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29c69b3e_c79a_43bf_bbde_a932fa1bea7e); |
| pub const GUID_POWER_DEVICE_ENABLE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x827c0a6f_feb0_11d0_bd26_00aa00b7b32a); |
| pub const GUID_POWER_DEVICE_TIMEOUTS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa45da735_feb0_11d0_bd26_00aa00b7b32a); |
| pub const GUID_POWER_DEVICE_WAKE_ENABLE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9546a82_feb0_11d0_bd26_00aa00b7b32a); |
| pub const GUID_PROCESSOR_PCC_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37b17e9a_c21c_4296_972d_11c4b32b28f0); |
| pub const GUID_QUERY_CRASHDUMP_FUNCTIONS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9cc6b8ff_32e2_4834_b1de_b32ef8880a4b); |
| pub const GUID_RECOVERY_NVMED_PREPARE_SHUTDOWN: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b9770ea_bde7_400b_a9b9_4f684f54cc2a); |
| pub const GUID_RECOVERY_PCI_PREPARE_SHUTDOWN: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90d889de_8704_44cf_8115_ed8528d2b2da); |
| pub const GUID_REENUMERATE_SELF_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2aeb0243_6a6e_486b_82fc_d815f6b97006); |
| pub const GUID_SCM_BUS_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25944783_ce79_4232_815e_4a30014e8eb4); |
| pub const GUID_SCM_BUS_LD_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b89307d_d76b_4f48_b186_54041ae92e8d); |
| pub const GUID_SCM_BUS_NVD_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8de064ff_b630_42e4_88ea_6f24c8641175); |
| pub const GUID_SCM_PHYSICAL_NVDIMM_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0079c21b_917e_405e_a9ce_0732b5bbcebd); |
| pub const GUID_SDEV_IDENTIFIER_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49d67af8_916c_4ee8_9df1_889f17d21e91); |
| pub const GUID_SECURE_DRIVER_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x370f67e1_4ff5_4a94_9a35_06c5d9cc30e2); |
| pub const GUID_TARGET_DEVICE_QUERY_REMOVE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb3a4006_46f0_11d0_b08f_00609713053f); |
| pub const GUID_TARGET_DEVICE_REMOVE_CANCELLED: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb3a4007_46f0_11d0_b08f_00609713053f); |
| pub const GUID_TARGET_DEVICE_REMOVE_COMPLETE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb3a4008_46f0_11d0_b08f_00609713053f); |
| pub const GUID_TARGET_DEVICE_TRANSPORT_RELATIONS_CHANGED: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcf528f6_a82f_47b1_ad3a_8050594cad28); |
| pub const GUID_THERMAL_COOLING_INTERFACE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xecbe47a8_c498_4bb9_bd70_e867e0940d22); |
| pub const GUID_TRANSLATOR_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c154a92_aacf_11d0_8d2a_00a0c906b244); |
| pub const GUID_WUDF_DEVICE_HOST_PROBLEM: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc43d25bd_9346_40ee_a2d2_d70c15f8b75b); |
| pub const IDD_DYNAWIZ_ANALYZEDEV_PAGE: u32 = 10010u32; |
| pub const IDD_DYNAWIZ_ANALYZE_NEXTPAGE: u32 = 10004u32; |
| pub const IDD_DYNAWIZ_ANALYZE_PREVPAGE: u32 = 10003u32; |
| pub const IDD_DYNAWIZ_FIRSTPAGE: u32 = 10000u32; |
| pub const IDD_DYNAWIZ_INSTALLDETECTEDDEVS_PAGE: u32 = 10011u32; |
| pub const IDD_DYNAWIZ_INSTALLDETECTED_NEXTPAGE: u32 = 10007u32; |
| pub const IDD_DYNAWIZ_INSTALLDETECTED_NODEVS: u32 = 10008u32; |
| pub const IDD_DYNAWIZ_INSTALLDETECTED_PREVPAGE: u32 = 10006u32; |
| pub const IDD_DYNAWIZ_SELECTCLASS_PAGE: u32 = 10012u32; |
| pub const IDD_DYNAWIZ_SELECTDEV_PAGE: u32 = 10009u32; |
| pub const IDD_DYNAWIZ_SELECT_NEXTPAGE: u32 = 10002u32; |
| pub const IDD_DYNAWIZ_SELECT_PREVPAGE: u32 = 10001u32; |
| pub const IDF_CHECKFIRST: u32 = 256u32; |
| pub const IDF_NOBEEP: u32 = 512u32; |
| pub const IDF_NOBROWSE: u32 = 1u32; |
| pub const IDF_NOCOMPRESSED: u32 = 8u32; |
| pub const IDF_NODETAILS: u32 = 4u32; |
| pub const IDF_NOFOREGROUND: u32 = 1024u32; |
| pub const IDF_NOREMOVABLEMEDIAPROMPT: u32 = 4096u32; |
| pub const IDF_NOSKIP: u32 = 2u32; |
| pub const IDF_OEMDISK: u32 = 2147483648u32; |
| pub const IDF_USEDISKNAMEASPROMPT: u32 = 8192u32; |
| pub const IDF_WARNIFSKIP: u32 = 2048u32; |
| pub const IDI_CLASSICON_OVERLAYFIRST: u32 = 500u32; |
| pub const IDI_CLASSICON_OVERLAYLAST: u32 = 502u32; |
| pub const IDI_CONFLICT: u32 = 161u32; |
| pub const IDI_DISABLED_OVL: u32 = 501u32; |
| pub const IDI_FORCED_OVL: u32 = 502u32; |
| pub const IDI_PROBLEM_OVL: u32 = 500u32; |
| pub const IDI_RESOURCE: u32 = 159u32; |
| pub const IDI_RESOURCEFIRST: u32 = 159u32; |
| pub const IDI_RESOURCELAST: u32 = 161u32; |
| pub const IDI_RESOURCEOVERLAYFIRST: u32 = 161u32; |
| pub const IDI_RESOURCEOVERLAYLAST: u32 = 161u32; |
| pub const INFINFO_DEFAULT_SEARCH: u32 = 3u32; |
| pub const INFINFO_INF_NAME_IS_ABSOLUTE: u32 = 2u32; |
| pub const INFINFO_INF_PATH_LIST_SEARCH: u32 = 5u32; |
| pub const INFINFO_INF_SPEC_IS_HINF: u32 = 1u32; |
| pub const INFINFO_REVERSE_DEFAULT_SEARCH: u32 = 4u32; |
| pub const INFSTR_BUS_ALL: ::windows_core::PCWSTR = ::windows_core::w!("BUS_ALL"); |
| pub const INFSTR_BUS_EISA: ::windows_core::PCWSTR = ::windows_core::w!("BUS_EISA"); |
| pub const INFSTR_BUS_ISA: ::windows_core::PCWSTR = ::windows_core::w!("BUS_ISA"); |
| pub const INFSTR_BUS_MCA: ::windows_core::PCWSTR = ::windows_core::w!("BUS_MCA"); |
| pub const INFSTR_CFGPRI_DESIRED: ::windows_core::PCWSTR = ::windows_core::w!("DESIRED"); |
| pub const INFSTR_CFGPRI_DISABLED: ::windows_core::PCWSTR = ::windows_core::w!("DISABLED"); |
| pub const INFSTR_CFGPRI_FORCECONFIG: ::windows_core::PCWSTR = ::windows_core::w!("FORCECONFIG"); |
| pub const INFSTR_CFGPRI_HARDRECONFIG: ::windows_core::PCWSTR = ::windows_core::w!("HARDRECONFIG"); |
| pub const INFSTR_CFGPRI_HARDWIRED: ::windows_core::PCWSTR = ::windows_core::w!("HARDWIRED"); |
| pub const INFSTR_CFGPRI_NORMAL: ::windows_core::PCWSTR = ::windows_core::w!("NORMAL"); |
| pub const INFSTR_CFGPRI_POWEROFF: ::windows_core::PCWSTR = ::windows_core::w!("POWEROFF"); |
| pub const INFSTR_CFGPRI_REBOOT: ::windows_core::PCWSTR = ::windows_core::w!("REBOOT"); |
| pub const INFSTR_CFGPRI_RESTART: ::windows_core::PCWSTR = ::windows_core::w!("RESTART"); |
| pub const INFSTR_CFGPRI_SUBOPTIMAL: ::windows_core::PCWSTR = ::windows_core::w!("SUBOPTIMAL"); |
| pub const INFSTR_CFGTYPE_BASIC: ::windows_core::PCWSTR = ::windows_core::w!("BASIC"); |
| pub const INFSTR_CFGTYPE_FORCED: ::windows_core::PCWSTR = ::windows_core::w!("FORCED"); |
| pub const INFSTR_CFGTYPE_OVERRIDE: ::windows_core::PCWSTR = ::windows_core::w!("OVERRIDE"); |
| pub const INFSTR_CLASS_SAFEEXCL: ::windows_core::PCWSTR = ::windows_core::w!("SAFE_EXCL"); |
| pub const INFSTR_CONTROLFLAGS_SECTION: ::windows_core::PCWSTR = ::windows_core::w!("ControlFlags"); |
| pub const INFSTR_DRIVERSELECT_FUNCTIONS: ::windows_core::PCWSTR = ::windows_core::w!("DriverSelectFunctions"); |
| pub const INFSTR_DRIVERSELECT_SECTION: ::windows_core::PCWSTR = ::windows_core::w!("DriverSelect"); |
| pub const INFSTR_DRIVERVERSION_SECTION: ::windows_core::PCWSTR = ::windows_core::w!("DriverVer"); |
| pub const INFSTR_KEY_ACTION: ::windows_core::PCWSTR = ::windows_core::w!("Action"); |
| pub const INFSTR_KEY_ALWAYSEXCLUDEFROMSELECT: ::windows_core::PCWSTR = ::windows_core::w!("AlwaysExcludeFromSelect"); |
| pub const INFSTR_KEY_BUFFER_SIZE: ::windows_core::PCWSTR = ::windows_core::w!("BufferSize"); |
| pub const INFSTR_KEY_CATALOGFILE: ::windows_core::PCWSTR = ::windows_core::w!("CatalogFile"); |
| pub const INFSTR_KEY_CHANNEL_ACCESS: ::windows_core::PCWSTR = ::windows_core::w!("Access"); |
| pub const INFSTR_KEY_CHANNEL_ENABLED: ::windows_core::PCWSTR = ::windows_core::w!("Enabled"); |
| pub const INFSTR_KEY_CHANNEL_ISOLATION: ::windows_core::PCWSTR = ::windows_core::w!("Isolation"); |
| pub const INFSTR_KEY_CHANNEL_VALUE: ::windows_core::PCWSTR = ::windows_core::w!("Value"); |
| pub const INFSTR_KEY_CLASS: ::windows_core::PCWSTR = ::windows_core::w!("Class"); |
| pub const INFSTR_KEY_CLASSGUID: ::windows_core::PCWSTR = ::windows_core::w!("ClassGUID"); |
| pub const INFSTR_KEY_CLOCK_TYPE: ::windows_core::PCWSTR = ::windows_core::w!("ClockType"); |
| pub const INFSTR_KEY_CONFIGPRIORITY: ::windows_core::PCWSTR = ::windows_core::w!("ConfigPriority"); |
| pub const INFSTR_KEY_COPYFILESONLY: ::windows_core::PCWSTR = ::windows_core::w!("CopyFilesOnly"); |
| pub const INFSTR_KEY_DATA_ITEM: ::windows_core::PCWSTR = ::windows_core::w!("DataItem"); |
| pub const INFSTR_KEY_DELAYEDAUTOSTART: ::windows_core::PCWSTR = ::windows_core::w!("DelayedAutoStart"); |
| pub const INFSTR_KEY_DEPENDENCIES: ::windows_core::PCWSTR = ::windows_core::w!("Dependencies"); |
| pub const INFSTR_KEY_DESCRIPTION: ::windows_core::PCWSTR = ::windows_core::w!("Description"); |
| pub const INFSTR_KEY_DETECTLIST: ::windows_core::PCWSTR = ::windows_core::w!("DetectList"); |
| pub const INFSTR_KEY_DETPARAMS: ::windows_core::PCWSTR = ::windows_core::w!("Params"); |
| pub const INFSTR_KEY_DISABLE_REALTIME_PERSISTENCE: ::windows_core::PCWSTR = ::windows_core::w!("DisableRealtimePersistence"); |
| pub const INFSTR_KEY_DISPLAYNAME: ::windows_core::PCWSTR = ::windows_core::w!("DisplayName"); |
| pub const INFSTR_KEY_DMA: ::windows_core::PCWSTR = ::windows_core::w!("DMA"); |
| pub const INFSTR_KEY_DMACONFIG: ::windows_core::PCWSTR = ::windows_core::w!("DMAConfig"); |
| pub const INFSTR_KEY_DRIVERSET: ::windows_core::PCWSTR = ::windows_core::w!("DriverSet"); |
| pub const INFSTR_KEY_ENABLED: ::windows_core::PCWSTR = ::windows_core::w!("Enabled"); |
| pub const INFSTR_KEY_ENABLE_FLAGS: ::windows_core::PCWSTR = ::windows_core::w!("EnableFlags"); |
| pub const INFSTR_KEY_ENABLE_LEVEL: ::windows_core::PCWSTR = ::windows_core::w!("EnableLevel"); |
| pub const INFSTR_KEY_ENABLE_PROPERTY: ::windows_core::PCWSTR = ::windows_core::w!("EnableProperty"); |
| pub const INFSTR_KEY_ERRORCONTROL: ::windows_core::PCWSTR = ::windows_core::w!("ErrorControl"); |
| pub const INFSTR_KEY_EXCLUDEFROMSELECT: ::windows_core::PCWSTR = ::windows_core::w!("ExcludeFromSelect"); |
| pub const INFSTR_KEY_EXCLUDERES: ::windows_core::PCWSTR = ::windows_core::w!("ExcludeRes"); |
| pub const INFSTR_KEY_EXTENSIONID: ::windows_core::PCWSTR = ::windows_core::w!("ExtensionId"); |
| pub const INFSTR_KEY_FAILURE_ACTION: ::windows_core::PCWSTR = ::windows_core::w!("Action"); |
| pub const INFSTR_KEY_FILE_MAX: ::windows_core::PCWSTR = ::windows_core::w!("FileMax"); |
| pub const INFSTR_KEY_FILE_NAME: ::windows_core::PCWSTR = ::windows_core::w!("FileName"); |
| pub const INFSTR_KEY_FLUSH_TIMER: ::windows_core::PCWSTR = ::windows_core::w!("FlushTimer"); |
| pub const INFSTR_KEY_FROMINET: ::windows_core::PCWSTR = ::windows_core::w!("FromINet"); |
| pub const INFSTR_KEY_HARDWARE_CLASS: ::windows_core::PCWSTR = ::windows_core::w!("Class"); |
| pub const INFSTR_KEY_HARDWARE_CLASSGUID: ::windows_core::PCWSTR = ::windows_core::w!("ClassGUID"); |
| pub const INFSTR_KEY_INTERACTIVEINSTALL: ::windows_core::PCWSTR = ::windows_core::w!("InteractiveInstall"); |
| pub const INFSTR_KEY_IO: ::windows_core::PCWSTR = ::windows_core::w!("IO"); |
| pub const INFSTR_KEY_IOCONFIG: ::windows_core::PCWSTR = ::windows_core::w!("IOConfig"); |
| pub const INFSTR_KEY_IRQ: ::windows_core::PCWSTR = ::windows_core::w!("IRQ"); |
| pub const INFSTR_KEY_IRQCONFIG: ::windows_core::PCWSTR = ::windows_core::w!("IRQConfig"); |
| pub const INFSTR_KEY_LOADORDERGROUP: ::windows_core::PCWSTR = ::windows_core::w!("LoadOrderGroup"); |
| pub const INFSTR_KEY_LOGGING_AUTOBACKUP: ::windows_core::PCWSTR = ::windows_core::w!("LoggingAutoBackup"); |
| pub const INFSTR_KEY_LOGGING_MAXSIZE: ::windows_core::PCWSTR = ::windows_core::w!("LoggingMaxSize"); |
| pub const INFSTR_KEY_LOGGING_RETENTION: ::windows_core::PCWSTR = ::windows_core::w!("LoggingRetention"); |
| pub const INFSTR_KEY_LOG_FILE_MODE: ::windows_core::PCWSTR = ::windows_core::w!("LogFileMode"); |
| pub const INFSTR_KEY_MATCH_ALL_KEYWORD: ::windows_core::PCWSTR = ::windows_core::w!("MatchAllKeyword"); |
| pub const INFSTR_KEY_MATCH_ANY_KEYWORD: ::windows_core::PCWSTR = ::windows_core::w!("MatchAnyKeyword"); |
| pub const INFSTR_KEY_MAXIMUM_BUFFERS: ::windows_core::PCWSTR = ::windows_core::w!("MaximumBuffers"); |
| pub const INFSTR_KEY_MAX_FILE_SIZE: ::windows_core::PCWSTR = ::windows_core::w!("MaxFileSize"); |
| pub const INFSTR_KEY_MEM: ::windows_core::PCWSTR = ::windows_core::w!("Mem"); |
| pub const INFSTR_KEY_MEMCONFIG: ::windows_core::PCWSTR = ::windows_core::w!("MemConfig"); |
| pub const INFSTR_KEY_MEMLARGECONFIG: ::windows_core::PCWSTR = ::windows_core::w!("MemLargeConfig"); |
| pub const INFSTR_KEY_MESSAGE_FILE: ::windows_core::PCWSTR = ::windows_core::w!("MessageFile"); |
| pub const INFSTR_KEY_MFCARDCONFIG: ::windows_core::PCWSTR = ::windows_core::w!("MfCardConfig"); |
| pub const INFSTR_KEY_MINIMUM_BUFFERS: ::windows_core::PCWSTR = ::windows_core::w!("MinimumBuffers"); |
| pub const INFSTR_KEY_NAME: ::windows_core::PCWSTR = ::windows_core::w!("Name"); |
| pub const INFSTR_KEY_NON_CRASH_FAILURES: ::windows_core::PCWSTR = ::windows_core::w!("NonCrashFailures"); |
| pub const INFSTR_KEY_NOSETUPINF: ::windows_core::PCWSTR = ::windows_core::w!("NoSetupInf"); |
| pub const INFSTR_KEY_PARAMETER_FILE: ::windows_core::PCWSTR = ::windows_core::w!("ParameterFile"); |
| pub const INFSTR_KEY_PATH: ::windows_core::PCWSTR = ::windows_core::w!("Path"); |
| pub const INFSTR_KEY_PCCARDCONFIG: ::windows_core::PCWSTR = ::windows_core::w!("PcCardConfig"); |
| pub const INFSTR_KEY_PNPLOCKDOWN: ::windows_core::PCWSTR = ::windows_core::w!("PnpLockDown"); |
| pub const INFSTR_KEY_PROVIDER: ::windows_core::PCWSTR = ::windows_core::w!("Provider"); |
| pub const INFSTR_KEY_PROVIDER_NAME: ::windows_core::PCWSTR = ::windows_core::w!("ProviderName"); |
| pub const INFSTR_KEY_REQUESTADDITIONALSOFTWARE: ::windows_core::PCWSTR = ::windows_core::w!("RequestAdditionalSoftware"); |
| pub const INFSTR_KEY_REQUIREDPRIVILEGES: ::windows_core::PCWSTR = ::windows_core::w!("RequiredPrivileges"); |
| pub const INFSTR_KEY_RESET_PERIOD: ::windows_core::PCWSTR = ::windows_core::w!("ResetPeriod"); |
| pub const INFSTR_KEY_RESOURCE_FILE: ::windows_core::PCWSTR = ::windows_core::w!("ResourceFile"); |
| pub const INFSTR_KEY_SECURITY: ::windows_core::PCWSTR = ::windows_core::w!("Security"); |
| pub const INFSTR_KEY_SERVICEBINARY: ::windows_core::PCWSTR = ::windows_core::w!("ServiceBinary"); |
| pub const INFSTR_KEY_SERVICESIDTYPE: ::windows_core::PCWSTR = ::windows_core::w!("ServiceSidType"); |
| pub const INFSTR_KEY_SERVICETYPE: ::windows_core::PCWSTR = ::windows_core::w!("ServiceType"); |
| pub const INFSTR_KEY_SIGNATURE: ::windows_core::PCWSTR = ::windows_core::w!("Signature"); |
| pub const INFSTR_KEY_SKIPLIST: ::windows_core::PCWSTR = ::windows_core::w!("SkipList"); |
| pub const INFSTR_KEY_START: ::windows_core::PCWSTR = ::windows_core::w!("Start"); |
| pub const INFSTR_KEY_STARTNAME: ::windows_core::PCWSTR = ::windows_core::w!("StartName"); |
| pub const INFSTR_KEY_STARTTYPE: ::windows_core::PCWSTR = ::windows_core::w!("StartType"); |
| pub const INFSTR_KEY_SUB_TYPE: ::windows_core::PCWSTR = ::windows_core::w!("SubType"); |
| pub const INFSTR_KEY_TRIGGER_TYPE: ::windows_core::PCWSTR = ::windows_core::w!("TriggerType"); |
| pub const INFSTR_PLATFORM_NT: ::windows_core::PCWSTR = ::windows_core::w!("NT"); |
| pub const INFSTR_PLATFORM_NTALPHA: ::windows_core::PCWSTR = ::windows_core::w!("NTAlpha"); |
| pub const INFSTR_PLATFORM_NTAMD64: ::windows_core::PCWSTR = ::windows_core::w!("NTAMD64"); |
| pub const INFSTR_PLATFORM_NTARM: ::windows_core::PCWSTR = ::windows_core::w!("NTARM"); |
| pub const INFSTR_PLATFORM_NTARM64: ::windows_core::PCWSTR = ::windows_core::w!("NTARM64"); |
| pub const INFSTR_PLATFORM_NTAXP64: ::windows_core::PCWSTR = ::windows_core::w!("NTAXP64"); |
| pub const INFSTR_PLATFORM_NTIA64: ::windows_core::PCWSTR = ::windows_core::w!("NTIA64"); |
| pub const INFSTR_PLATFORM_NTMIPS: ::windows_core::PCWSTR = ::windows_core::w!("NTMIPS"); |
| pub const INFSTR_PLATFORM_NTPPC: ::windows_core::PCWSTR = ::windows_core::w!("NTPPC"); |
| pub const INFSTR_PLATFORM_NTX86: ::windows_core::PCWSTR = ::windows_core::w!("NTx86"); |
| pub const INFSTR_PLATFORM_WIN: ::windows_core::PCWSTR = ::windows_core::w!("Win"); |
| pub const INFSTR_REBOOT: ::windows_core::PCWSTR = ::windows_core::w!("Reboot"); |
| pub const INFSTR_RESTART: ::windows_core::PCWSTR = ::windows_core::w!("Restart"); |
| pub const INFSTR_RISK_BIOSROMRD: ::windows_core::PCWSTR = ::windows_core::w!("RISK_BIOSROMRD"); |
| pub const INFSTR_RISK_DELICATE: ::windows_core::PCWSTR = ::windows_core::w!("RISK_DELICATE"); |
| pub const INFSTR_RISK_IORD: ::windows_core::PCWSTR = ::windows_core::w!("RISK_IORD"); |
| pub const INFSTR_RISK_IOWR: ::windows_core::PCWSTR = ::windows_core::w!("RISK_IOWR"); |
| pub const INFSTR_RISK_LOW: ::windows_core::PCWSTR = ::windows_core::w!("RISK_LOW"); |
| pub const INFSTR_RISK_MEMRD: ::windows_core::PCWSTR = ::windows_core::w!("RISK_MEMRD"); |
| pub const INFSTR_RISK_MEMWR: ::windows_core::PCWSTR = ::windows_core::w!("RISK_MEMWR"); |
| pub const INFSTR_RISK_NONE: ::windows_core::PCWSTR = ::windows_core::w!("RISK_NONE"); |
| pub const INFSTR_RISK_QUERYDRV: ::windows_core::PCWSTR = ::windows_core::w!("RISK_QUERYDRV"); |
| pub const INFSTR_RISK_SWINT: ::windows_core::PCWSTR = ::windows_core::w!("RISK_SWINT"); |
| pub const INFSTR_RISK_UNRELIABLE: ::windows_core::PCWSTR = ::windows_core::w!("RISK_UNRELIABLE"); |
| pub const INFSTR_RISK_VERYHIGH: ::windows_core::PCWSTR = ::windows_core::w!("RISK_VERYHIGH"); |
| pub const INFSTR_RISK_VERYLOW: ::windows_core::PCWSTR = ::windows_core::w!("RISK_VERYLOW"); |
| pub const INFSTR_SECT_AUTOEXECBAT: ::windows_core::PCWSTR = ::windows_core::w!("AutoexecBatDrivers"); |
| pub const INFSTR_SECT_AVOIDCFGSYSDEV: ::windows_core::PCWSTR = ::windows_core::w!("Det.AvoidCfgSysDev"); |
| pub const INFSTR_SECT_AVOIDENVDEV: ::windows_core::PCWSTR = ::windows_core::w!("Det.AvoidEnvDev"); |
| pub const INFSTR_SECT_AVOIDINIDEV: ::windows_core::PCWSTR = ::windows_core::w!("Det.AvoidIniDev"); |
| pub const INFSTR_SECT_BADACPIBIOS: ::windows_core::PCWSTR = ::windows_core::w!("BadACPIBios"); |
| pub const INFSTR_SECT_BADDISKBIOS: ::windows_core::PCWSTR = ::windows_core::w!("BadDiskBios"); |
| pub const INFSTR_SECT_BADDSBIOS: ::windows_core::PCWSTR = ::windows_core::w!("BadDSBios"); |
| pub const INFSTR_SECT_BADPMCALLBIOS: ::windows_core::PCWSTR = ::windows_core::w!("BadProtectedModeCallBios"); |
| pub const INFSTR_SECT_BADPNPBIOS: ::windows_core::PCWSTR = ::windows_core::w!("BadPnpBios"); |
| pub const INFSTR_SECT_BADRMCALLBIOS: ::windows_core::PCWSTR = ::windows_core::w!("BadRealModeCallBios"); |
| pub const INFSTR_SECT_BADROUTINGTABLEBIOS: ::windows_core::PCWSTR = ::windows_core::w!("BadPCIIRQRoutingTableBios"); |
| pub const INFSTR_SECT_CFGSYS: ::windows_core::PCWSTR = ::windows_core::w!("ConfigSysDrivers"); |
| pub const INFSTR_SECT_CLASS_INSTALL: ::windows_core::PCWSTR = ::windows_core::w!("ClassInstall"); |
| pub const INFSTR_SECT_CLASS_INSTALL_32: ::windows_core::PCWSTR = ::windows_core::w!("ClassInstall32"); |
| pub const INFSTR_SECT_DEFAULT_INSTALL: ::windows_core::PCWSTR = ::windows_core::w!("DefaultInstall"); |
| pub const INFSTR_SECT_DEFAULT_UNINSTALL: ::windows_core::PCWSTR = ::windows_core::w!("DefaultUninstall"); |
| pub const INFSTR_SECT_DETCLASSINFO: ::windows_core::PCWSTR = ::windows_core::w!("Det.ClassInfo"); |
| pub const INFSTR_SECT_DETMODULES: ::windows_core::PCWSTR = ::windows_core::w!("Det.Modules"); |
| pub const INFSTR_SECT_DETOPTIONS: ::windows_core::PCWSTR = ::windows_core::w!("Det.Options"); |
| pub const INFSTR_SECT_DEVINFS: ::windows_core::PCWSTR = ::windows_core::w!("Det.DevINFs"); |
| pub const INFSTR_SECT_DISPLAY_CLEANUP: ::windows_core::PCWSTR = ::windows_core::w!("DisplayCleanup"); |
| pub const INFSTR_SECT_EXTENSIONCONTRACTS: ::windows_core::PCWSTR = ::windows_core::w!("ExtensionContracts"); |
| pub const INFSTR_SECT_FORCEHWVERIFY: ::windows_core::PCWSTR = ::windows_core::w!("Det.ForceHWVerify"); |
| pub const INFSTR_SECT_GOODACPIBIOS: ::windows_core::PCWSTR = ::windows_core::w!("GoodACPIBios"); |
| pub const INFSTR_SECT_HPOMNIBOOK: ::windows_core::PCWSTR = ::windows_core::w!("Det.HPOmnibook"); |
| pub const INFSTR_SECT_INTERFACE_INSTALL_32: ::windows_core::PCWSTR = ::windows_core::w!("InterfaceInstall32"); |
| pub const INFSTR_SECT_MACHINEIDBIOS: ::windows_core::PCWSTR = ::windows_core::w!("MachineIDBios"); |
| pub const INFSTR_SECT_MANUALDEV: ::windows_core::PCWSTR = ::windows_core::w!("Det.ManualDev"); |
| pub const INFSTR_SECT_MFG: ::windows_core::PCWSTR = ::windows_core::w!("Manufacturer"); |
| pub const INFSTR_SECT_REGCFGSYSDEV: ::windows_core::PCWSTR = ::windows_core::w!("Det.RegCfgSysDev"); |
| pub const INFSTR_SECT_REGENVDEV: ::windows_core::PCWSTR = ::windows_core::w!("Det.RegEnvDev"); |
| pub const INFSTR_SECT_REGINIDEV: ::windows_core::PCWSTR = ::windows_core::w!("Det.RegIniDev"); |
| pub const INFSTR_SECT_SYSINI: ::windows_core::PCWSTR = ::windows_core::w!("SystemIniDrivers"); |
| pub const INFSTR_SECT_SYSINIDRV: ::windows_core::PCWSTR = ::windows_core::w!("SystemIniDriversLine"); |
| pub const INFSTR_SECT_TARGETCOMPUTERS: ::windows_core::PCWSTR = ::windows_core::w!("TargetComputers"); |
| pub const INFSTR_SECT_VERSION: ::windows_core::PCWSTR = ::windows_core::w!("Version"); |
| pub const INFSTR_SECT_WININIRUN: ::windows_core::PCWSTR = ::windows_core::w!("WinIniRunLine"); |
| pub const INFSTR_SOFTWAREVERSION_SECTION: ::windows_core::PCWSTR = ::windows_core::w!("SoftwareVersion"); |
| pub const INFSTR_STRKEY_DRVDESC: ::windows_core::PCWSTR = ::windows_core::w!("DriverDesc"); |
| pub const INFSTR_SUBKEY_COINSTALLERS: ::windows_core::PCWSTR = ::windows_core::w!("CoInstallers"); |
| pub const INFSTR_SUBKEY_CTL: ::windows_core::PCWSTR = ::windows_core::w!("CTL"); |
| pub const INFSTR_SUBKEY_DET: ::windows_core::PCWSTR = ::windows_core::w!("Det"); |
| pub const INFSTR_SUBKEY_EVENTS: ::windows_core::PCWSTR = ::windows_core::w!("Events"); |
| pub const INFSTR_SUBKEY_FACTDEF: ::windows_core::PCWSTR = ::windows_core::w!("FactDef"); |
| pub const INFSTR_SUBKEY_FILTERS: ::windows_core::PCWSTR = ::windows_core::w!("Filters"); |
| pub const INFSTR_SUBKEY_HW: ::windows_core::PCWSTR = ::windows_core::w!("Hw"); |
| pub const INFSTR_SUBKEY_INTERFACES: ::windows_core::PCWSTR = ::windows_core::w!("Interfaces"); |
| pub const INFSTR_SUBKEY_LOGCONFIG: ::windows_core::PCWSTR = ::windows_core::w!("LogConfig"); |
| pub const INFSTR_SUBKEY_LOGCONFIGOVERRIDE: ::windows_core::PCWSTR = ::windows_core::w!("LogConfigOverride"); |
| pub const INFSTR_SUBKEY_NORESOURCEDUPS: ::windows_core::PCWSTR = ::windows_core::w!("NoResDup"); |
| pub const INFSTR_SUBKEY_POSSIBLEDUPS: ::windows_core::PCWSTR = ::windows_core::w!("PosDup"); |
| pub const INFSTR_SUBKEY_SERVICES: ::windows_core::PCWSTR = ::windows_core::w!("Services"); |
| pub const INFSTR_SUBKEY_SOFTWARE: ::windows_core::PCWSTR = ::windows_core::w!("Software"); |
| pub const INFSTR_SUBKEY_WMI: ::windows_core::PCWSTR = ::windows_core::w!("WMI"); |
| pub const INF_STYLE_CACHE_DISABLE: INF_STYLE = INF_STYLE(32u32); |
| pub const INF_STYLE_CACHE_ENABLE: INF_STYLE = INF_STYLE(16u32); |
| pub const INF_STYLE_CACHE_IGNORE: INF_STYLE = INF_STYLE(64u32); |
| pub const INF_STYLE_NONE: INF_STYLE = INF_STYLE(0u32); |
| pub const INF_STYLE_OLDNT: INF_STYLE = INF_STYLE(1u32); |
| pub const INF_STYLE_WIN4: INF_STYLE = INF_STYLE(2u32); |
| pub const INSTALLFLAG_BITS: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS = UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS(7u32); |
| pub const INSTALLFLAG_FORCE: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS = UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS(1u32); |
| pub const INSTALLFLAG_NONINTERACTIVE: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS = UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS(4u32); |
| pub const INSTALLFLAG_READONLY: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS = UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS(2u32); |
| pub const IOA_Local: u32 = 255u32; |
| pub const IO_ALIAS_10_BIT_DECODE: u32 = 4u32; |
| pub const IO_ALIAS_12_BIT_DECODE: u32 = 16u32; |
| pub const IO_ALIAS_16_BIT_DECODE: u32 = 0u32; |
| pub const IO_ALIAS_POSITIVE_DECODE: u32 = 255u32; |
| pub const LCPRI_BOOTCONFIG: u32 = 1u32; |
| pub const LCPRI_DESIRED: u32 = 8192u32; |
| pub const LCPRI_DISABLED: u32 = 65535u32; |
| pub const LCPRI_FORCECONFIG: u32 = 0u32; |
| pub const LCPRI_HARDRECONFIG: u32 = 49152u32; |
| pub const LCPRI_HARDWIRED: u32 = 57344u32; |
| pub const LCPRI_IMPOSSIBLE: u32 = 61440u32; |
| pub const LCPRI_LASTBESTCONFIG: u32 = 16383u32; |
| pub const LCPRI_LASTSOFTCONFIG: u32 = 32767u32; |
| pub const LCPRI_NORMAL: u32 = 12288u32; |
| pub const LCPRI_POWEROFF: u32 = 40960u32; |
| pub const LCPRI_REBOOT: u32 = 36864u32; |
| pub const LCPRI_RESTART: u32 = 32768u32; |
| pub const LCPRI_SUBOPTIMAL: u32 = 20480u32; |
| pub const LINE_LEN: u32 = 256u32; |
| pub const LOG_CONF_BITS: u32 = 7u32; |
| pub const LogSevError: u32 = 2u32; |
| pub const LogSevFatalError: u32 = 3u32; |
| pub const LogSevInformation: u32 = 0u32; |
| pub const LogSevMaximum: u32 = 4u32; |
| pub const LogSevWarning: u32 = 1u32; |
| pub const MAX_CLASS_NAME_LEN: u32 = 32u32; |
| pub const MAX_CONFIG_VALUE: u32 = 9999u32; |
| pub const MAX_DEVICE_ID_LEN: u32 = 200u32; |
| pub const MAX_DEVNODE_ID_LEN: u32 = 200u32; |
| pub const MAX_DMA_CHANNELS: u32 = 7u32; |
| pub const MAX_GUID_STRING_LEN: u32 = 39u32; |
| pub const MAX_IDD_DYNAWIZ_RESOURCE_ID: u32 = 11000u32; |
| pub const MAX_INFSTR_STRKEY_LEN: u32 = 32u32; |
| pub const MAX_INF_FLAG: u32 = 20u32; |
| pub const MAX_INF_SECTION_NAME_LENGTH: u32 = 255u32; |
| pub const MAX_INF_STRING_LENGTH: u32 = 4096u32; |
| pub const MAX_INSTALLWIZARD_DYNAPAGES: u32 = 20u32; |
| pub const MAX_INSTANCE_VALUE: u32 = 9999u32; |
| pub const MAX_INSTRUCTION_LEN: u32 = 256u32; |
| pub const MAX_IO_PORTS: u32 = 20u32; |
| pub const MAX_IRQS: u32 = 7u32; |
| pub const MAX_KEY_LEN: u32 = 100u32; |
| pub const MAX_LABEL_LEN: u32 = 30u32; |
| pub const MAX_LCPRI: u32 = 65535u32; |
| pub const MAX_MEM_REGISTERS: u32 = 9u32; |
| pub const MAX_PRIORITYSTR_LEN: u32 = 16u32; |
| pub const MAX_PROFILE_LEN: u32 = 80u32; |
| pub const MAX_SERVICE_NAME_LEN: u32 = 256u32; |
| pub const MAX_SUBTITLE_LEN: u32 = 256u32; |
| pub const MAX_TITLE_LEN: u32 = 60u32; |
| pub const MIN_IDD_DYNAWIZ_RESOURCE_ID: u32 = 10000u32; |
| pub const NDW_INSTALLFLAG_CI_PICKED_OEM: u32 = 32768u32; |
| pub const NDW_INSTALLFLAG_DIDFACTDEFS: u32 = 1u32; |
| pub const NDW_INSTALLFLAG_EXPRESSINTRO: u32 = 1024u32; |
| pub const NDW_INSTALLFLAG_HARDWAREALLREADYIN: u32 = 2u32; |
| pub const NDW_INSTALLFLAG_INSTALLSPECIFIC: u32 = 8192u32; |
| pub const NDW_INSTALLFLAG_KNOWNCLASS: u32 = 524288u32; |
| pub const NDW_INSTALLFLAG_NEEDREBOOT: i32 = 256i32; |
| pub const NDW_INSTALLFLAG_NEEDRESTART: i32 = 128i32; |
| pub const NDW_INSTALLFLAG_NEEDSHUTDOWN: u32 = 512u32; |
| pub const NDW_INSTALLFLAG_NODETECTEDDEVS: u32 = 4096u32; |
| pub const NDW_INSTALLFLAG_PCMCIADEVICE: u32 = 131072u32; |
| pub const NDW_INSTALLFLAG_PCMCIAMODE: u32 = 65536u32; |
| pub const NDW_INSTALLFLAG_SKIPCLASSLIST: u32 = 16384u32; |
| pub const NDW_INSTALLFLAG_SKIPISDEVINSTALLED: u32 = 2048u32; |
| pub const NDW_INSTALLFLAG_USERCANCEL: u32 = 262144u32; |
| pub const NUM_CM_PROB: u32 = 58u32; |
| pub const NUM_CM_PROB_V1: u32 = 37u32; |
| pub const NUM_CM_PROB_V2: u32 = 50u32; |
| pub const NUM_CM_PROB_V3: u32 = 51u32; |
| pub const NUM_CM_PROB_V4: u32 = 52u32; |
| pub const NUM_CM_PROB_V5: u32 = 53u32; |
| pub const NUM_CM_PROB_V6: u32 = 54u32; |
| pub const NUM_CM_PROB_V7: u32 = 55u32; |
| pub const NUM_CM_PROB_V8: u32 = 57u32; |
| pub const NUM_CM_PROB_V9: u32 = 58u32; |
| pub const NUM_CR_RESULTS: CONFIGRET = CONFIGRET(60u32); |
| pub const NUM_LOG_CONF: CM_LOG_CONF = CM_LOG_CONF(6u32); |
| pub const OVERRIDE_LOG_CONF: CM_LOG_CONF = CM_LOG_CONF(5u32); |
| pub const PCD_MAX_IO: u32 = 2u32; |
| pub const PCD_MAX_MEMORY: u32 = 2u32; |
| pub const PNP_VetoAlreadyRemoved: PNP_VETO_TYPE = PNP_VETO_TYPE(13i32); |
| pub const PNP_VetoDevice: PNP_VETO_TYPE = PNP_VETO_TYPE(6i32); |
| pub const PNP_VetoDriver: PNP_VETO_TYPE = PNP_VETO_TYPE(7i32); |
| pub const PNP_VetoIllegalDeviceRequest: PNP_VETO_TYPE = PNP_VETO_TYPE(8i32); |
| pub const PNP_VetoInsufficientPower: PNP_VETO_TYPE = PNP_VETO_TYPE(9i32); |
| pub const PNP_VetoInsufficientRights: PNP_VETO_TYPE = PNP_VETO_TYPE(12i32); |
| pub const PNP_VetoLegacyDevice: PNP_VETO_TYPE = PNP_VETO_TYPE(1i32); |
| pub const PNP_VetoLegacyDriver: PNP_VETO_TYPE = PNP_VETO_TYPE(11i32); |
| pub const PNP_VetoNonDisableable: PNP_VETO_TYPE = PNP_VETO_TYPE(10i32); |
| pub const PNP_VetoOutstandingOpen: PNP_VETO_TYPE = PNP_VETO_TYPE(5i32); |
| pub const PNP_VetoPendingClose: PNP_VETO_TYPE = PNP_VETO_TYPE(2i32); |
| pub const PNP_VetoTypeUnknown: PNP_VETO_TYPE = PNP_VETO_TYPE(0i32); |
| pub const PNP_VetoWindowsApp: PNP_VETO_TYPE = PNP_VETO_TYPE(3i32); |
| pub const PNP_VetoWindowsService: PNP_VETO_TYPE = PNP_VETO_TYPE(4i32); |
| pub const PRIORITY_BIT: u32 = 8u32; |
| pub const PRIORITY_EQUAL_FIRST: u32 = 8u32; |
| pub const PRIORITY_EQUAL_LAST: u32 = 0u32; |
| pub const ROLLBACK_BITS: DIROLLBACKDRIVER_FLAGS = DIROLLBACKDRIVER_FLAGS(1u32); |
| pub const ROLLBACK_FLAG_NO_UI: DIROLLBACKDRIVER_FLAGS = DIROLLBACKDRIVER_FLAGS(1u32); |
| pub const RegDisposition_Bits: u32 = 1u32; |
| pub const RegDisposition_OpenAlways: u32 = 0u32; |
| pub const RegDisposition_OpenExisting: u32 = 1u32; |
| pub const ResType_All: CM_RESTYPE = CM_RESTYPE(0u32); |
| pub const ResType_BusNumber: CM_RESTYPE = CM_RESTYPE(6u32); |
| pub const ResType_ClassSpecific: CM_RESTYPE = CM_RESTYPE(65535u32); |
| pub const ResType_Connection: CM_RESTYPE = CM_RESTYPE(32772u32); |
| pub const ResType_DMA: CM_RESTYPE = CM_RESTYPE(3u32); |
| pub const ResType_DevicePrivate: CM_RESTYPE = CM_RESTYPE(32769u32); |
| pub const ResType_DoNotUse: CM_RESTYPE = CM_RESTYPE(5u32); |
| pub const ResType_IO: CM_RESTYPE = CM_RESTYPE(2u32); |
| pub const ResType_IRQ: CM_RESTYPE = CM_RESTYPE(4u32); |
| pub const ResType_Ignored_Bit: CM_RESTYPE = CM_RESTYPE(32768u32); |
| pub const ResType_MAX: CM_RESTYPE = CM_RESTYPE(7u32); |
| pub const ResType_Mem: CM_RESTYPE = CM_RESTYPE(1u32); |
| pub const ResType_MemLarge: CM_RESTYPE = CM_RESTYPE(7u32); |
| pub const ResType_MfCardConfig: CM_RESTYPE = CM_RESTYPE(32771u32); |
| pub const ResType_None: CM_RESTYPE = CM_RESTYPE(0u32); |
| pub const ResType_PcCardConfig: CM_RESTYPE = CM_RESTYPE(32770u32); |
| pub const ResType_Reserved: CM_RESTYPE = CM_RESTYPE(32768u32); |
| pub const SCWMI_CLOBBER_SECURITY: u32 = 1u32; |
| pub const SETDIRID_NOT_FULL_PATH: u32 = 1u32; |
| pub const SIGNERSCORE_AUTHENTICODE: u32 = 251658240u32; |
| pub const SIGNERSCORE_INBOX: u32 = 218103811u32; |
| pub const SIGNERSCORE_LOGO_PREMIUM: u32 = 218103809u32; |
| pub const SIGNERSCORE_LOGO_STANDARD: u32 = 218103810u32; |
| pub const SIGNERSCORE_MASK: u32 = 4278190080u32; |
| pub const SIGNERSCORE_SIGNED_MASK: u32 = 4026531840u32; |
| pub const SIGNERSCORE_UNCLASSIFIED: u32 = 218103812u32; |
| pub const SIGNERSCORE_UNKNOWN: u32 = 4278190080u32; |
| pub const SIGNERSCORE_UNSIGNED: u32 = 2147483648u32; |
| pub const SIGNERSCORE_W9X_SUSPECT: u32 = 3221225472u32; |
| pub const SIGNERSCORE_WHQL: u32 = 218103813u32; |
| pub const SPCRP_CHARACTERISTICS: u32 = 27u32; |
| pub const SPCRP_DEVTYPE: u32 = 25u32; |
| pub const SPCRP_EXCLUSIVE: u32 = 26u32; |
| pub const SPCRP_LOWERFILTERS: u32 = 18u32; |
| pub const SPCRP_MAXIMUM_PROPERTY: u32 = 28u32; |
| pub const SPCRP_SECURITY: u32 = 23u32; |
| pub const SPCRP_SECURITY_SDS: u32 = 24u32; |
| pub const SPCRP_UPPERFILTERS: u32 = 17u32; |
| pub const SPDIT_CLASSDRIVER: SETUP_DI_BUILD_DRIVER_DRIVER_TYPE = SETUP_DI_BUILD_DRIVER_DRIVER_TYPE(1u32); |
| pub const SPDIT_COMPATDRIVER: SETUP_DI_BUILD_DRIVER_DRIVER_TYPE = SETUP_DI_BUILD_DRIVER_DRIVER_TYPE(2u32); |
| pub const SPDIT_NODRIVER: u32 = 0u32; |
| pub const SPDRP_ADDRESS: u32 = 28u32; |
| pub const SPDRP_BASE_CONTAINERID: u32 = 36u32; |
| pub const SPDRP_BUSNUMBER: u32 = 21u32; |
| pub const SPDRP_BUSTYPEGUID: u32 = 19u32; |
| pub const SPDRP_CAPABILITIES: u32 = 15u32; |
| pub const SPDRP_CHARACTERISTICS: u32 = 27u32; |
| pub const SPDRP_CLASS: u32 = 7u32; |
| pub const SPDRP_CLASSGUID: u32 = 8u32; |
| pub const SPDRP_COMPATIBLEIDS: u32 = 2u32; |
| pub const SPDRP_CONFIGFLAGS: u32 = 10u32; |
| pub const SPDRP_DEVICEDESC: u32 = 0u32; |
| pub const SPDRP_DEVICE_POWER_DATA: u32 = 30u32; |
| pub const SPDRP_DEVTYPE: u32 = 25u32; |
| pub const SPDRP_DRIVER: u32 = 9u32; |
| pub const SPDRP_ENUMERATOR_NAME: u32 = 22u32; |
| pub const SPDRP_EXCLUSIVE: u32 = 26u32; |
| pub const SPDRP_FRIENDLYNAME: u32 = 12u32; |
| pub const SPDRP_HARDWAREID: u32 = 1u32; |
| pub const SPDRP_INSTALL_STATE: u32 = 34u32; |
| pub const SPDRP_LEGACYBUSTYPE: u32 = 20u32; |
| pub const SPDRP_LOCATION_INFORMATION: u32 = 13u32; |
| pub const SPDRP_LOCATION_PATHS: u32 = 35u32; |
| pub const SPDRP_LOWERFILTERS: u32 = 18u32; |
| pub const SPDRP_MAXIMUM_PROPERTY: u32 = 37u32; |
| pub const SPDRP_MFG: u32 = 11u32; |
| pub const SPDRP_PHYSICAL_DEVICE_OBJECT_NAME: u32 = 14u32; |
| pub const SPDRP_REMOVAL_POLICY: u32 = 31u32; |
| pub const SPDRP_REMOVAL_POLICY_HW_DEFAULT: u32 = 32u32; |
| pub const SPDRP_REMOVAL_POLICY_OVERRIDE: u32 = 33u32; |
| pub const SPDRP_SECURITY: u32 = 23u32; |
| pub const SPDRP_SECURITY_SDS: u32 = 24u32; |
| pub const SPDRP_SERVICE: u32 = 4u32; |
| pub const SPDRP_UI_NUMBER: u32 = 16u32; |
| pub const SPDRP_UI_NUMBER_DESC_FORMAT: u32 = 29u32; |
| pub const SPDRP_UNUSED0: u32 = 3u32; |
| pub const SPDRP_UNUSED1: u32 = 5u32; |
| pub const SPDRP_UNUSED2: u32 = 6u32; |
| pub const SPDRP_UPPERFILTERS: u32 = 17u32; |
| pub const SPDSL_DISALLOW_NEGATIVE_ADJUST: u32 = 2u32; |
| pub const SPDSL_IGNORE_DISK: u32 = 1u32; |
| pub const SPFILELOG_FORCENEW: u32 = 2u32; |
| pub const SPFILELOG_OEMFILE: u32 = 1u32; |
| pub const SPFILELOG_QUERYONLY: u32 = 4u32; |
| pub const SPFILELOG_SYSTEMLOG: u32 = 1u32; |
| pub const SPFILENOTIFY_BACKUPERROR: u32 = 22u32; |
| pub const SPFILENOTIFY_CABINETINFO: u32 = 16u32; |
| pub const SPFILENOTIFY_COPYERROR: u32 = 13u32; |
| pub const SPFILENOTIFY_DELETEERROR: u32 = 7u32; |
| pub const SPFILENOTIFY_ENDBACKUP: u32 = 23u32; |
| pub const SPFILENOTIFY_ENDCOPY: u32 = 12u32; |
| pub const SPFILENOTIFY_ENDDELETE: u32 = 6u32; |
| pub const SPFILENOTIFY_ENDQUEUE: u32 = 2u32; |
| pub const SPFILENOTIFY_ENDREGISTRATION: u32 = 32u32; |
| pub const SPFILENOTIFY_ENDRENAME: u32 = 9u32; |
| pub const SPFILENOTIFY_ENDSUBQUEUE: u32 = 4u32; |
| pub const SPFILENOTIFY_FILEEXTRACTED: u32 = 19u32; |
| pub const SPFILENOTIFY_FILEINCABINET: u32 = 17u32; |
| pub const SPFILENOTIFY_FILEOPDELAYED: u32 = 20u32; |
| pub const SPFILENOTIFY_LANGMISMATCH: u32 = 65536u32; |
| pub const SPFILENOTIFY_NEEDMEDIA: u32 = 14u32; |
| pub const SPFILENOTIFY_NEEDNEWCABINET: u32 = 18u32; |
| pub const SPFILENOTIFY_QUEUESCAN: u32 = 15u32; |
| pub const SPFILENOTIFY_QUEUESCAN_EX: u32 = 24u32; |
| pub const SPFILENOTIFY_QUEUESCAN_SIGNERINFO: u32 = 64u32; |
| pub const SPFILENOTIFY_RENAMEERROR: u32 = 10u32; |
| pub const SPFILENOTIFY_STARTBACKUP: u32 = 21u32; |
| pub const SPFILENOTIFY_STARTCOPY: u32 = 11u32; |
| pub const SPFILENOTIFY_STARTDELETE: u32 = 5u32; |
| pub const SPFILENOTIFY_STARTQUEUE: u32 = 1u32; |
| pub const SPFILENOTIFY_STARTREGISTRATION: u32 = 25u32; |
| pub const SPFILENOTIFY_STARTRENAME: u32 = 8u32; |
| pub const SPFILENOTIFY_STARTSUBQUEUE: u32 = 3u32; |
| pub const SPFILENOTIFY_TARGETEXISTS: u32 = 131072u32; |
| pub const SPFILENOTIFY_TARGETNEWER: u32 = 262144u32; |
| pub const SPFILEQ_FILE_IN_USE: u32 = 1u32; |
| pub const SPFILEQ_REBOOT_IN_PROGRESS: u32 = 4u32; |
| pub const SPFILEQ_REBOOT_RECOMMENDED: u32 = 2u32; |
| pub const SPID_ACTIVE: u32 = 1u32; |
| pub const SPID_DEFAULT: u32 = 2u32; |
| pub const SPID_REMOVED: u32 = 4u32; |
| pub const SPINST_ALL: u32 = 2047u32; |
| pub const SPINST_BITREG: u32 = 32u32; |
| pub const SPINST_COPYINF: u32 = 512u32; |
| pub const SPINST_DEVICEINSTALL: u32 = 1048576u32; |
| pub const SPINST_FILES: u32 = 16u32; |
| pub const SPINST_INI2REG: u32 = 8u32; |
| pub const SPINST_INIFILES: u32 = 2u32; |
| pub const SPINST_LOGCONFIG: u32 = 1u32; |
| pub const SPINST_LOGCONFIGS_ARE_OVERRIDES: u32 = 262144u32; |
| pub const SPINST_LOGCONFIG_IS_FORCED: u32 = 131072u32; |
| pub const SPINST_PROFILEITEMS: u32 = 256u32; |
| pub const SPINST_PROPERTIES: u32 = 1024u32; |
| pub const SPINST_REGISTERCALLBACKAWARE: u32 = 524288u32; |
| pub const SPINST_REGISTRY: u32 = 4u32; |
| pub const SPINST_REGSVR: u32 = 64u32; |
| pub const SPINST_SINGLESECTION: u32 = 65536u32; |
| pub const SPINST_UNREGSVR: u32 = 128u32; |
| pub const SPINT_ACTIVE: u32 = 1u32; |
| pub const SPINT_DEFAULT: u32 = 2u32; |
| pub const SPINT_REMOVED: u32 = 4u32; |
| pub const SPOST_MAX: u32 = 3u32; |
| pub const SPOST_NONE: OEM_SOURCE_MEDIA_TYPE = OEM_SOURCE_MEDIA_TYPE(0u32); |
| pub const SPOST_PATH: OEM_SOURCE_MEDIA_TYPE = OEM_SOURCE_MEDIA_TYPE(1u32); |
| pub const SPOST_URL: OEM_SOURCE_MEDIA_TYPE = OEM_SOURCE_MEDIA_TYPE(2u32); |
| pub const SPPSR_ENUM_ADV_DEVICE_PROPERTIES: u32 = 3u32; |
| pub const SPPSR_ENUM_BASIC_DEVICE_PROPERTIES: u32 = 2u32; |
| pub const SPPSR_SELECT_DEVICE_RESOURCES: u32 = 1u32; |
| pub const SPQ_DELAYED_COPY: u32 = 1u32; |
| pub const SPQ_FLAG_ABORT_IF_UNSIGNED: u32 = 2u32; |
| pub const SPQ_FLAG_BACKUP_AWARE: u32 = 1u32; |
| pub const SPQ_FLAG_DO_SHUFFLEMOVE: u32 = 8u32; |
| pub const SPQ_FLAG_FILES_MODIFIED: u32 = 4u32; |
| pub const SPQ_FLAG_VALID: u32 = 15u32; |
| pub const SPQ_SCAN_ACTIVATE_DRP: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(1024u32); |
| pub const SPQ_SCAN_FILE_COMPARISON: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(512u32); |
| pub const SPQ_SCAN_FILE_PRESENCE: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(1u32); |
| pub const SPQ_SCAN_FILE_PRESENCE_WITHOUT_SOURCE: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(256u32); |
| pub const SPQ_SCAN_FILE_VALIDITY: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(2u32); |
| pub const SPQ_SCAN_INFORM_USER: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(16u32); |
| pub const SPQ_SCAN_PRUNE_COPY_QUEUE: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(32u32); |
| pub const SPQ_SCAN_PRUNE_DELREN: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(128u32); |
| pub const SPQ_SCAN_USE_CALLBACK: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(4u32); |
| pub const SPQ_SCAN_USE_CALLBACKEX: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(8u32); |
| pub const SPQ_SCAN_USE_CALLBACK_SIGNERINFO: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(64u32); |
| pub const SPRDI_FIND_DUPS: u32 = 1u32; |
| pub const SPREG_DLLINSTALL: u32 = 4u32; |
| pub const SPREG_GETPROCADDR: u32 = 2u32; |
| pub const SPREG_LOADLIBRARY: u32 = 1u32; |
| pub const SPREG_REGSVR: u32 = 3u32; |
| pub const SPREG_SUCCESS: u32 = 0u32; |
| pub const SPREG_TIMEOUT: u32 = 5u32; |
| pub const SPREG_UNKNOWN: u32 = 4294967295u32; |
| pub const SPSVCINST_ASSOCSERVICE: SPSVCINST_FLAGS = SPSVCINST_FLAGS(2u32); |
| pub const SPSVCINST_CLOBBER_SECURITY: SPSVCINST_FLAGS = SPSVCINST_FLAGS(1024u32); |
| pub const SPSVCINST_DELETEEVENTLOGENTRY: SPSVCINST_FLAGS = SPSVCINST_FLAGS(4u32); |
| pub const SPSVCINST_NOCLOBBER_DELAYEDAUTOSTART: SPSVCINST_FLAGS = SPSVCINST_FLAGS(32768u32); |
| pub const SPSVCINST_NOCLOBBER_DEPENDENCIES: SPSVCINST_FLAGS = SPSVCINST_FLAGS(128u32); |
| pub const SPSVCINST_NOCLOBBER_DESCRIPTION: SPSVCINST_FLAGS = SPSVCINST_FLAGS(256u32); |
| pub const SPSVCINST_NOCLOBBER_DISPLAYNAME: SPSVCINST_FLAGS = SPSVCINST_FLAGS(8u32); |
| pub const SPSVCINST_NOCLOBBER_ERRORCONTROL: SPSVCINST_FLAGS = SPSVCINST_FLAGS(32u32); |
| pub const SPSVCINST_NOCLOBBER_FAILUREACTIONS: SPSVCINST_FLAGS = SPSVCINST_FLAGS(131072u32); |
| pub const SPSVCINST_NOCLOBBER_LOADORDERGROUP: SPSVCINST_FLAGS = SPSVCINST_FLAGS(64u32); |
| pub const SPSVCINST_NOCLOBBER_REQUIREDPRIVILEGES: SPSVCINST_FLAGS = SPSVCINST_FLAGS(4096u32); |
| pub const SPSVCINST_NOCLOBBER_SERVICESIDTYPE: SPSVCINST_FLAGS = SPSVCINST_FLAGS(16384u32); |
| pub const SPSVCINST_NOCLOBBER_STARTTYPE: SPSVCINST_FLAGS = SPSVCINST_FLAGS(16u32); |
| pub const SPSVCINST_NOCLOBBER_TRIGGERS: SPSVCINST_FLAGS = SPSVCINST_FLAGS(8192u32); |
| pub const SPSVCINST_STARTSERVICE: SPSVCINST_FLAGS = SPSVCINST_FLAGS(2048u32); |
| pub const SPSVCINST_STOPSERVICE: SPSVCINST_FLAGS = SPSVCINST_FLAGS(512u32); |
| pub const SPSVCINST_TAGTOFRONT: SPSVCINST_FLAGS = SPSVCINST_FLAGS(1u32); |
| pub const SPSVCINST_UNIQUE_NAME: SPSVCINST_FLAGS = SPSVCINST_FLAGS(65536u32); |
| pub const SPWPT_SELECTDEVICE: u32 = 1u32; |
| pub const SPWP_USE_DEVINFO_DATA: u32 = 1u32; |
| pub const SP_ALTPLATFORM_FLAGS_SUITE_MASK: u32 = 2u32; |
| pub const SP_ALTPLATFORM_FLAGS_VERSION_RANGE: u32 = 1u32; |
| pub const SP_BACKUP_BACKUPPASS: u32 = 1u32; |
| pub const SP_BACKUP_BOOTFILE: u32 = 8u32; |
| pub const SP_BACKUP_DEMANDPASS: u32 = 2u32; |
| pub const SP_BACKUP_SPECIAL: u32 = 4u32; |
| pub const SP_COPY_ALREADYDECOMP: SP_COPY_STYLE = SP_COPY_STYLE(4194304u32); |
| pub const SP_COPY_DELETESOURCE: SP_COPY_STYLE = SP_COPY_STYLE(1u32); |
| pub const SP_COPY_FORCE_IN_USE: SP_COPY_STYLE = SP_COPY_STYLE(512u32); |
| pub const SP_COPY_FORCE_NEWER: SP_COPY_STYLE = SP_COPY_STYLE(8192u32); |
| pub const SP_COPY_FORCE_NOOVERWRITE: SP_COPY_STYLE = SP_COPY_STYLE(4096u32); |
| pub const SP_COPY_HARDLINK: SP_COPY_STYLE = SP_COPY_STYLE(268435456u32); |
| pub const SP_COPY_INBOX_INF: SP_COPY_STYLE = SP_COPY_STYLE(134217728u32); |
| pub const SP_COPY_IN_USE_NEEDS_REBOOT: SP_COPY_STYLE = SP_COPY_STYLE(256u32); |
| pub const SP_COPY_IN_USE_TRY_RENAME: SP_COPY_STYLE = SP_COPY_STYLE(67108864u32); |
| pub const SP_COPY_LANGUAGEAWARE: SP_COPY_STYLE = SP_COPY_STYLE(32u32); |
| pub const SP_COPY_NEWER: SP_COPY_STYLE = SP_COPY_STYLE(4u32); |
| pub const SP_COPY_NEWER_ONLY: SP_COPY_STYLE = SP_COPY_STYLE(65536u32); |
| pub const SP_COPY_NEWER_OR_SAME: SP_COPY_STYLE = SP_COPY_STYLE(4u32); |
| pub const SP_COPY_NOBROWSE: SP_COPY_STYLE = SP_COPY_STYLE(32768u32); |
| pub const SP_COPY_NODECOMP: SP_COPY_STYLE = SP_COPY_STYLE(16u32); |
| pub const SP_COPY_NOOVERWRITE: SP_COPY_STYLE = SP_COPY_STYLE(8u32); |
| pub const SP_COPY_NOPRUNE: SP_COPY_STYLE = SP_COPY_STYLE(1048576u32); |
| pub const SP_COPY_NOSKIP: SP_COPY_STYLE = SP_COPY_STYLE(1024u32); |
| pub const SP_COPY_OEMINF_CATALOG_ONLY: SP_COPY_STYLE = SP_COPY_STYLE(262144u32); |
| pub const SP_COPY_OEM_F6_INF: SP_COPY_STYLE = SP_COPY_STYLE(2097152u32); |
| pub const SP_COPY_PNPLOCKED: SP_COPY_STYLE = SP_COPY_STYLE(33554432u32); |
| pub const SP_COPY_REPLACEONLY: SP_COPY_STYLE = SP_COPY_STYLE(2u32); |
| pub const SP_COPY_REPLACE_BOOT_FILE: SP_COPY_STYLE = SP_COPY_STYLE(524288u32); |
| pub const SP_COPY_RESERVED: SP_COPY_STYLE = SP_COPY_STYLE(131072u32); |
| pub const SP_COPY_SOURCEPATH_ABSOLUTE: SP_COPY_STYLE = SP_COPY_STYLE(128u32); |
| pub const SP_COPY_SOURCE_ABSOLUTE: SP_COPY_STYLE = SP_COPY_STYLE(64u32); |
| pub const SP_COPY_WARNIFSKIP: SP_COPY_STYLE = SP_COPY_STYLE(16384u32); |
| pub const SP_COPY_WINDOWS_SIGNED: SP_COPY_STYLE = SP_COPY_STYLE(16777216u32); |
| pub const SP_FLAG_CABINETCONTINUATION: u32 = 2048u32; |
| pub const SP_MAX_MACHINENAME_LENGTH: u32 = 263u32; |
| pub const SRCINFO_DESCRIPTION: u32 = 3u32; |
| pub const SRCINFO_FLAGS: u32 = 4u32; |
| pub const SRCINFO_PATH: u32 = 1u32; |
| pub const SRCINFO_TAGFILE: u32 = 2u32; |
| pub const SRCINFO_TAGFILE2: u32 = 5u32; |
| pub const SRCLIST_APPEND: u32 = 512u32; |
| pub const SRCLIST_NOBROWSE: u32 = 2u32; |
| pub const SRCLIST_NOSTRIPPLATFORM: u32 = 1024u32; |
| pub const SRCLIST_SUBDIRS: u32 = 256u32; |
| pub const SRCLIST_SYSIFADMIN: u32 = 64u32; |
| pub const SRCLIST_SYSTEM: u32 = 16u32; |
| pub const SRCLIST_TEMPORARY: u32 = 1u32; |
| pub const SRCLIST_USER: u32 = 32u32; |
| pub const SRC_FLAGS_CABFILE: u32 = 16u32; |
| pub const SUOI_FORCEDELETE: u32 = 1u32; |
| pub const SUOI_INTERNAL1: u32 = 2u32; |
| pub const SZ_KEY_ADDAUTOLOGGER: ::windows_core::PCWSTR = ::windows_core::w!("AddAutoLogger"); |
| pub const SZ_KEY_ADDAUTOLOGGERPROVIDER: ::windows_core::PCWSTR = ::windows_core::w!("AddAutoLoggerProvider"); |
| pub const SZ_KEY_ADDCHANNEL: ::windows_core::PCWSTR = ::windows_core::w!("AddChannel"); |
| pub const SZ_KEY_ADDEVENTPROVIDER: ::windows_core::PCWSTR = ::windows_core::w!("AddEventProvider"); |
| pub const SZ_KEY_ADDFILTER: ::windows_core::PCWSTR = ::windows_core::w!("AddFilter"); |
| pub const SZ_KEY_ADDIME: ::windows_core::PCWSTR = ::windows_core::w!("AddIme"); |
| pub const SZ_KEY_ADDINTERFACE: ::windows_core::PCWSTR = ::windows_core::w!("AddInterface"); |
| pub const SZ_KEY_ADDPOWERSETTING: ::windows_core::PCWSTR = ::windows_core::w!("AddPowerSetting"); |
| pub const SZ_KEY_ADDPROP: ::windows_core::PCWSTR = ::windows_core::w!("AddProperty"); |
| pub const SZ_KEY_ADDREG: ::windows_core::PCWSTR = ::windows_core::w!("AddReg"); |
| pub const SZ_KEY_ADDREGNOCLOBBER: ::windows_core::PCWSTR = ::windows_core::w!("AddRegNoClobber"); |
| pub const SZ_KEY_ADDSERVICE: ::windows_core::PCWSTR = ::windows_core::w!("AddService"); |
| pub const SZ_KEY_ADDTRIGGER: ::windows_core::PCWSTR = ::windows_core::w!("AddTrigger"); |
| pub const SZ_KEY_BITREG: ::windows_core::PCWSTR = ::windows_core::w!("BitReg"); |
| pub const SZ_KEY_CLEANONLY: ::windows_core::PCWSTR = ::windows_core::w!("CleanOnly"); |
| pub const SZ_KEY_COPYFILES: ::windows_core::PCWSTR = ::windows_core::w!("CopyFiles"); |
| pub const SZ_KEY_COPYINF: ::windows_core::PCWSTR = ::windows_core::w!("CopyINF"); |
| pub const SZ_KEY_DEFAULTOPTION: ::windows_core::PCWSTR = ::windows_core::w!("DefaultOption"); |
| pub const SZ_KEY_DEFDESTDIR: ::windows_core::PCWSTR = ::windows_core::w!("DefaultDestDir"); |
| pub const SZ_KEY_DELFILES: ::windows_core::PCWSTR = ::windows_core::w!("DelFiles"); |
| pub const SZ_KEY_DELIME: ::windows_core::PCWSTR = ::windows_core::w!("DelIme"); |
| pub const SZ_KEY_DELPROP: ::windows_core::PCWSTR = ::windows_core::w!("DelProperty"); |
| pub const SZ_KEY_DELREG: ::windows_core::PCWSTR = ::windows_core::w!("DelReg"); |
| pub const SZ_KEY_DELSERVICE: ::windows_core::PCWSTR = ::windows_core::w!("DelService"); |
| pub const SZ_KEY_DESTDIRS: ::windows_core::PCWSTR = ::windows_core::w!("DestinationDirs"); |
| pub const SZ_KEY_EXCLUDEID: ::windows_core::PCWSTR = ::windows_core::w!("ExcludeId"); |
| pub const SZ_KEY_FAILUREACTIONS: ::windows_core::PCWSTR = ::windows_core::w!("FailureActions"); |
| pub const SZ_KEY_FEATURESCORE: ::windows_core::PCWSTR = ::windows_core::w!("FeatureScore"); |
| pub const SZ_KEY_FILTERLEVEL: ::windows_core::PCWSTR = ::windows_core::w!("FilterLevel"); |
| pub const SZ_KEY_FILTERPOSITION: ::windows_core::PCWSTR = ::windows_core::w!("FilterPosition"); |
| pub const SZ_KEY_HARDWARE: ::windows_core::PCWSTR = ::windows_core::w!("Hardware"); |
| pub const SZ_KEY_IMPORTCHANNEL: ::windows_core::PCWSTR = ::windows_core::w!("ImportChannel"); |
| pub const SZ_KEY_INI2REG: ::windows_core::PCWSTR = ::windows_core::w!("Ini2Reg"); |
| pub const SZ_KEY_LAYOUT_FILE: ::windows_core::PCWSTR = ::windows_core::w!("LayoutFile"); |
| pub const SZ_KEY_LDIDOEM: ::windows_core::PCWSTR = ::windows_core::w!("LdidOEM"); |
| pub const SZ_KEY_LFN_SECTION: ::windows_core::PCWSTR = ::windows_core::w!("VarLDID.LFN"); |
| pub const SZ_KEY_LISTOPTIONS: ::windows_core::PCWSTR = ::windows_core::w!("ListOptions"); |
| pub const SZ_KEY_LOGCONFIG: ::windows_core::PCWSTR = ::windows_core::w!("LogConfig"); |
| pub const SZ_KEY_MODULES: ::windows_core::PCWSTR = ::windows_core::w!("Modules"); |
| pub const SZ_KEY_OPTIONDESC: ::windows_core::PCWSTR = ::windows_core::w!("OptionDesc"); |
| pub const SZ_KEY_PHASE1: ::windows_core::PCWSTR = ::windows_core::w!("Phase1"); |
| pub const SZ_KEY_PROFILEITEMS: ::windows_core::PCWSTR = ::windows_core::w!("ProfileItems"); |
| pub const SZ_KEY_REGSVR: ::windows_core::PCWSTR = ::windows_core::w!("RegisterDlls"); |
| pub const SZ_KEY_RENFILES: ::windows_core::PCWSTR = ::windows_core::w!("RenFiles"); |
| pub const SZ_KEY_SFN_SECTION: ::windows_core::PCWSTR = ::windows_core::w!("VarLDID.SFN"); |
| pub const SZ_KEY_SRCDISKFILES: ::windows_core::PCWSTR = ::windows_core::w!("SourceDisksFiles"); |
| pub const SZ_KEY_SRCDISKNAMES: ::windows_core::PCWSTR = ::windows_core::w!("SourceDisksNames"); |
| pub const SZ_KEY_STRINGS: ::windows_core::PCWSTR = ::windows_core::w!("Strings"); |
| pub const SZ_KEY_UNREGSVR: ::windows_core::PCWSTR = ::windows_core::w!("UnregisterDlls"); |
| pub const SZ_KEY_UPDATEAUTOLOGGER: ::windows_core::PCWSTR = ::windows_core::w!("UpdateAutoLogger"); |
| pub const SZ_KEY_UPDATEINIFIELDS: ::windows_core::PCWSTR = ::windows_core::w!("UpdateIniFields"); |
| pub const SZ_KEY_UPDATEINIS: ::windows_core::PCWSTR = ::windows_core::w!("UpdateInis"); |
| pub const SZ_KEY_UPGRADEONLY: ::windows_core::PCWSTR = ::windows_core::w!("UpgradeOnly"); |
| pub const SetupFileLogChecksum: SetupFileLogInfo = SetupFileLogInfo(1i32); |
| pub const SetupFileLogDiskDescription: SetupFileLogInfo = SetupFileLogInfo(3i32); |
| pub const SetupFileLogDiskTagfile: SetupFileLogInfo = SetupFileLogInfo(2i32); |
| pub const SetupFileLogMax: SetupFileLogInfo = SetupFileLogInfo(5i32); |
| pub const SetupFileLogOtherInfo: SetupFileLogInfo = SetupFileLogInfo(4i32); |
| pub const SetupFileLogSourceFilename: SetupFileLogInfo = SetupFileLogInfo(0i32); |
| pub const fDD_BYTE: u32 = 0u32; |
| pub const fDD_BYTE_AND_WORD: u32 = 3u32; |
| pub const fDD_BusMaster: u32 = 4u32; |
| pub const fDD_DWORD: u32 = 2u32; |
| pub const fDD_NoBusMaster: u32 = 0u32; |
| pub const fDD_TypeA: u32 = 8u32; |
| pub const fDD_TypeB: u32 = 16u32; |
| pub const fDD_TypeF: u32 = 24u32; |
| pub const fDD_TypeStandard: u32 = 0u32; |
| pub const fDD_WORD: u32 = 1u32; |
| pub const fIOD_10_BIT_DECODE: u32 = 4u32; |
| pub const fIOD_12_BIT_DECODE: u32 = 8u32; |
| pub const fIOD_16_BIT_DECODE: u32 = 16u32; |
| pub const fIOD_DECODE: u32 = 252u32; |
| pub const fIOD_IO: u32 = 1u32; |
| pub const fIOD_Memory: u32 = 0u32; |
| pub const fIOD_PASSIVE_DECODE: u32 = 64u32; |
| pub const fIOD_PORT_BAR: u32 = 256u32; |
| pub const fIOD_POSITIVE_DECODE: u32 = 32u32; |
| pub const fIOD_PortType: u32 = 1u32; |
| pub const fIOD_WINDOW_DECODE: u32 = 128u32; |
| pub const fIRQD_Edge: u32 = 2u32; |
| pub const fIRQD_Exclusive: u32 = 0u32; |
| pub const fIRQD_Level: u32 = 0u32; |
| pub const fIRQD_Level_Bit: u32 = 1u32; |
| pub const fIRQD_Share: u32 = 1u32; |
| pub const fIRQD_Share_Bit: u32 = 0u32; |
| pub const fMD_24: u32 = 0u32; |
| pub const fMD_32: u32 = 2u32; |
| pub const fMD_32_24: u32 = 2u32; |
| pub const fMD_Cacheable: u32 = 32u32; |
| pub const fMD_CombinedWrite: u32 = 16u32; |
| pub const fMD_CombinedWriteAllowed: u32 = 16u32; |
| pub const fMD_CombinedWriteDisallowed: u32 = 0u32; |
| pub const fMD_MEMORY_BAR: u32 = 128u32; |
| pub const fMD_MemoryType: u32 = 1u32; |
| pub const fMD_NonCacheable: u32 = 0u32; |
| pub const fMD_Pref: u32 = 4u32; |
| pub const fMD_PrefetchAllowed: u32 = 4u32; |
| pub const fMD_PrefetchDisallowed: u32 = 0u32; |
| pub const fMD_Prefetchable: u32 = 4u32; |
| pub const fMD_RAM: u32 = 1u32; |
| pub const fMD_ROM: u32 = 0u32; |
| pub const fMD_ReadAllowed: u32 = 0u32; |
| pub const fMD_ReadDisallowed: u32 = 8u32; |
| pub const fMD_Readable: u32 = 8u32; |
| pub const fMD_WINDOW_DECODE: u32 = 64u32; |
| pub const fPCD_ATTRIBUTES_PER_WINDOW: u32 = 32768u32; |
| pub const fPCD_IO1_16: u32 = 65536u32; |
| pub const fPCD_IO1_SRC_16: u32 = 262144u32; |
| pub const fPCD_IO1_WS_16: u32 = 524288u32; |
| pub const fPCD_IO1_ZW_8: u32 = 131072u32; |
| pub const fPCD_IO2_16: u32 = 1048576u32; |
| pub const fPCD_IO2_SRC_16: u32 = 4194304u32; |
| pub const fPCD_IO2_WS_16: u32 = 8388608u32; |
| pub const fPCD_IO2_ZW_8: u32 = 2097152u32; |
| pub const fPCD_IO_16: u32 = 1u32; |
| pub const fPCD_IO_8: u32 = 0u32; |
| pub const fPCD_IO_SRC_16: u32 = 32u32; |
| pub const fPCD_IO_WS_16: u32 = 64u32; |
| pub const fPCD_IO_ZW_8: u32 = 16u32; |
| pub const fPCD_MEM1_16: u32 = 67108864u32; |
| pub const fPCD_MEM1_A: u32 = 4u32; |
| pub const fPCD_MEM1_WS_ONE: u32 = 16777216u32; |
| pub const fPCD_MEM1_WS_THREE: u32 = 50331648u32; |
| pub const fPCD_MEM1_WS_TWO: u32 = 33554432u32; |
| pub const fPCD_MEM2_16: u32 = 1073741824u32; |
| pub const fPCD_MEM2_A: u32 = 8u32; |
| pub const fPCD_MEM2_WS_ONE: u32 = 268435456u32; |
| pub const fPCD_MEM2_WS_THREE: u32 = 805306368u32; |
| pub const fPCD_MEM2_WS_TWO: u32 = 536870912u32; |
| pub const fPCD_MEM_16: u32 = 2u32; |
| pub const fPCD_MEM_8: u32 = 0u32; |
| pub const fPCD_MEM_A: u32 = 4u32; |
| pub const fPCD_MEM_WS_ONE: u32 = 256u32; |
| pub const fPCD_MEM_WS_THREE: u32 = 768u32; |
| pub const fPCD_MEM_WS_TWO: u32 = 512u32; |
| pub const fPMF_AUDIO_ENABLE: u32 = 8u32; |
| pub const mDD_BusMaster: u32 = 4u32; |
| pub const mDD_Type: u32 = 24u32; |
| pub const mDD_Width: u32 = 3u32; |
| pub const mIRQD_Edge_Level: u32 = 2u32; |
| pub const mIRQD_Share: u32 = 1u32; |
| pub const mMD_32_24: u32 = 2u32; |
| pub const mMD_Cacheable: u32 = 32u32; |
| pub const mMD_CombinedWrite: u32 = 16u32; |
| pub const mMD_MemoryType: u32 = 1u32; |
| pub const mMD_Prefetchable: u32 = 4u32; |
| pub const mMD_Readable: u32 = 8u32; |
| pub const mPCD_IO_8_16: u32 = 1u32; |
| pub const mPCD_MEM1_WS: u32 = 50331648u32; |
| pub const mPCD_MEM2_WS: u32 = 805306368u32; |
| pub const mPCD_MEM_8_16: u32 = 2u32; |
| pub const mPCD_MEM_A_C: u32 = 12u32; |
| pub const mPCD_MEM_WS: u32 = 768u32; |
| pub const mPMF_AUDIO_ENABLE: u32 = 8u32; |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_CDFLAGS(pub u32); |
| impl ::core::marker::Copy for CM_CDFLAGS {} |
| impl ::core::clone::Clone for CM_CDFLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_CDFLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_CDFLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_CDFLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_CDFLAGS").field(&self.0).finish() |
| } |
| } |
| impl CM_CDFLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for CM_CDFLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for CM_CDFLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for CM_CDFLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for CM_CDFLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for CM_CDFLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_CDMASK(pub u32); |
| impl ::core::marker::Copy for CM_CDMASK {} |
| impl ::core::clone::Clone for CM_CDMASK { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_CDMASK { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_CDMASK { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_CDMASK { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_CDMASK").field(&self.0).finish() |
| } |
| } |
| impl CM_CDMASK { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for CM_CDMASK { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for CM_CDMASK { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for CM_CDMASK { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for CM_CDMASK { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for CM_CDMASK { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_DEVCAP(pub u32); |
| impl ::core::marker::Copy for CM_DEVCAP {} |
| impl ::core::clone::Clone for CM_DEVCAP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_DEVCAP { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_DEVCAP { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_DEVCAP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_DEVCAP").field(&self.0).finish() |
| } |
| } |
| impl CM_DEVCAP { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for CM_DEVCAP { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for CM_DEVCAP { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for CM_DEVCAP { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for CM_DEVCAP { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for CM_DEVCAP { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_DEVNODE_STATUS_FLAGS(pub u32); |
| impl ::core::marker::Copy for CM_DEVNODE_STATUS_FLAGS {} |
| impl ::core::clone::Clone for CM_DEVNODE_STATUS_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_DEVNODE_STATUS_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_DEVNODE_STATUS_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_DEVNODE_STATUS_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_DEVNODE_STATUS_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl CM_DEVNODE_STATUS_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for CM_DEVNODE_STATUS_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for CM_DEVNODE_STATUS_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for CM_DEVNODE_STATUS_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for CM_DEVNODE_STATUS_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for CM_DEVNODE_STATUS_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_ENUMERATE_FLAGS(pub u32); |
| impl ::core::marker::Copy for CM_ENUMERATE_FLAGS {} |
| impl ::core::clone::Clone for CM_ENUMERATE_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_ENUMERATE_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_ENUMERATE_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_ENUMERATE_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_ENUMERATE_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl CM_ENUMERATE_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for CM_ENUMERATE_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for CM_ENUMERATE_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for CM_ENUMERATE_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for CM_ENUMERATE_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for CM_ENUMERATE_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_GET_DEVICE_INTERFACE_LIST_FLAGS(pub u32); |
| impl ::core::marker::Copy for CM_GET_DEVICE_INTERFACE_LIST_FLAGS {} |
| impl ::core::clone::Clone for CM_GET_DEVICE_INTERFACE_LIST_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_GET_DEVICE_INTERFACE_LIST_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_GET_DEVICE_INTERFACE_LIST_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_GET_DEVICE_INTERFACE_LIST_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_GET_DEVICE_INTERFACE_LIST_FLAGS").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_INSTALL_STATE(pub u32); |
| impl ::core::marker::Copy for CM_INSTALL_STATE {} |
| impl ::core::clone::Clone for CM_INSTALL_STATE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_INSTALL_STATE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_INSTALL_STATE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_INSTALL_STATE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_INSTALL_STATE").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_LOCATE_DEVNODE_FLAGS(pub u32); |
| impl ::core::marker::Copy for CM_LOCATE_DEVNODE_FLAGS {} |
| impl ::core::clone::Clone for CM_LOCATE_DEVNODE_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_LOCATE_DEVNODE_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_LOCATE_DEVNODE_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_LOCATE_DEVNODE_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_LOCATE_DEVNODE_FLAGS").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_LOG_CONF(pub u32); |
| impl ::core::marker::Copy for CM_LOG_CONF {} |
| impl ::core::clone::Clone for CM_LOG_CONF { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_LOG_CONF { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_LOG_CONF { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_LOG_CONF { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_LOG_CONF").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_NOTIFY_ACTION(pub i32); |
| impl ::core::marker::Copy for CM_NOTIFY_ACTION {} |
| impl ::core::clone::Clone for CM_NOTIFY_ACTION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_NOTIFY_ACTION { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_NOTIFY_ACTION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_NOTIFY_ACTION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_NOTIFY_ACTION").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_NOTIFY_FILTER_TYPE(pub i32); |
| impl ::core::marker::Copy for CM_NOTIFY_FILTER_TYPE {} |
| impl ::core::clone::Clone for CM_NOTIFY_FILTER_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_NOTIFY_FILTER_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_NOTIFY_FILTER_TYPE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_NOTIFY_FILTER_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_NOTIFY_FILTER_TYPE").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_PROB(pub u32); |
| impl ::core::marker::Copy for CM_PROB {} |
| impl ::core::clone::Clone for CM_PROB { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_PROB { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_PROB { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_PROB { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_PROB").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_REENUMERATE_FLAGS(pub u32); |
| impl ::core::marker::Copy for CM_REENUMERATE_FLAGS {} |
| impl ::core::clone::Clone for CM_REENUMERATE_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_REENUMERATE_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_REENUMERATE_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_REENUMERATE_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_REENUMERATE_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl CM_REENUMERATE_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for CM_REENUMERATE_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for CM_REENUMERATE_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for CM_REENUMERATE_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for CM_REENUMERATE_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for CM_REENUMERATE_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_REMOVAL_POLICY(pub u32); |
| impl ::core::marker::Copy for CM_REMOVAL_POLICY {} |
| impl ::core::clone::Clone for CM_REMOVAL_POLICY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_REMOVAL_POLICY { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_REMOVAL_POLICY { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_REMOVAL_POLICY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_REMOVAL_POLICY").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CM_RESTYPE(pub u32); |
| impl ::core::marker::Copy for CM_RESTYPE {} |
| impl ::core::clone::Clone for CM_RESTYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CM_RESTYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CM_RESTYPE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CM_RESTYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CM_RESTYPE").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CONFIGRET(pub u32); |
| impl ::core::marker::Copy for CONFIGRET {} |
| impl ::core::clone::Clone for CONFIGRET { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CONFIGRET { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CONFIGRET { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CONFIGRET { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CONFIGRET").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DIINSTALLDEVICE_FLAGS(pub u32); |
| impl ::core::marker::Copy for DIINSTALLDEVICE_FLAGS {} |
| impl ::core::clone::Clone for DIINSTALLDEVICE_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DIINSTALLDEVICE_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DIINSTALLDEVICE_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DIINSTALLDEVICE_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DIINSTALLDEVICE_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl DIINSTALLDEVICE_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for DIINSTALLDEVICE_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for DIINSTALLDEVICE_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for DIINSTALLDEVICE_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for DIINSTALLDEVICE_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for DIINSTALLDEVICE_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DIINSTALLDRIVER_FLAGS(pub u32); |
| impl ::core::marker::Copy for DIINSTALLDRIVER_FLAGS {} |
| impl ::core::clone::Clone for DIINSTALLDRIVER_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DIINSTALLDRIVER_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DIINSTALLDRIVER_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DIINSTALLDRIVER_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DIINSTALLDRIVER_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl DIINSTALLDRIVER_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for DIINSTALLDRIVER_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for DIINSTALLDRIVER_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for DIINSTALLDRIVER_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for DIINSTALLDRIVER_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for DIINSTALLDRIVER_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DIROLLBACKDRIVER_FLAGS(pub u32); |
| impl ::core::marker::Copy for DIROLLBACKDRIVER_FLAGS {} |
| impl ::core::clone::Clone for DIROLLBACKDRIVER_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DIROLLBACKDRIVER_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DIROLLBACKDRIVER_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DIROLLBACKDRIVER_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DIROLLBACKDRIVER_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl DIROLLBACKDRIVER_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for DIROLLBACKDRIVER_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for DIROLLBACKDRIVER_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for DIROLLBACKDRIVER_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for DIROLLBACKDRIVER_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for DIROLLBACKDRIVER_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DIUNINSTALLDRIVER_FLAGS(pub u32); |
| impl ::core::marker::Copy for DIUNINSTALLDRIVER_FLAGS {} |
| impl ::core::clone::Clone for DIUNINSTALLDRIVER_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DIUNINSTALLDRIVER_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DIUNINSTALLDRIVER_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DIUNINSTALLDRIVER_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DIUNINSTALLDRIVER_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl DIUNINSTALLDRIVER_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for DIUNINSTALLDRIVER_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for DIUNINSTALLDRIVER_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for DIUNINSTALLDRIVER_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for DIUNINSTALLDRIVER_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for DIUNINSTALLDRIVER_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct INF_STYLE(pub u32); |
| impl ::core::marker::Copy for INF_STYLE {} |
| impl ::core::clone::Clone for INF_STYLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for INF_STYLE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for INF_STYLE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for INF_STYLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("INF_STYLE").field(&self.0).finish() |
| } |
| } |
| impl INF_STYLE { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for INF_STYLE { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for INF_STYLE { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for INF_STYLE { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for INF_STYLE { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for INF_STYLE { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct OEM_SOURCE_MEDIA_TYPE(pub u32); |
| impl ::core::marker::Copy for OEM_SOURCE_MEDIA_TYPE {} |
| impl ::core::clone::Clone for OEM_SOURCE_MEDIA_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for OEM_SOURCE_MEDIA_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for OEM_SOURCE_MEDIA_TYPE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for OEM_SOURCE_MEDIA_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("OEM_SOURCE_MEDIA_TYPE").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PNP_VETO_TYPE(pub i32); |
| impl ::core::marker::Copy for PNP_VETO_TYPE {} |
| impl ::core::clone::Clone for PNP_VETO_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PNP_VETO_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for PNP_VETO_TYPE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for PNP_VETO_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PNP_VETO_TYPE").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SETUPSCANFILEQUEUE_FLAGS(pub u32); |
| impl ::core::marker::Copy for SETUPSCANFILEQUEUE_FLAGS {} |
| impl ::core::clone::Clone for SETUPSCANFILEQUEUE_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SETUPSCANFILEQUEUE_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for SETUPSCANFILEQUEUE_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for SETUPSCANFILEQUEUE_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SETUPSCANFILEQUEUE_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl SETUPSCANFILEQUEUE_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for SETUPSCANFILEQUEUE_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for SETUPSCANFILEQUEUE_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for SETUPSCANFILEQUEUE_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for SETUPSCANFILEQUEUE_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for SETUPSCANFILEQUEUE_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SETUP_DI_BUILD_DRIVER_DRIVER_TYPE(pub u32); |
| impl ::core::marker::Copy for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE {} |
| impl ::core::clone::Clone for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SETUP_DI_BUILD_DRIVER_DRIVER_TYPE").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SETUP_FILE_OPERATION(pub u32); |
| impl ::core::marker::Copy for SETUP_FILE_OPERATION {} |
| impl ::core::clone::Clone for SETUP_FILE_OPERATION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SETUP_FILE_OPERATION { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for SETUP_FILE_OPERATION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for SETUP_FILE_OPERATION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SETUP_FILE_OPERATION").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SPSVCINST_FLAGS(pub u32); |
| impl ::core::marker::Copy for SPSVCINST_FLAGS {} |
| impl ::core::clone::Clone for SPSVCINST_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SPSVCINST_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for SPSVCINST_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for SPSVCINST_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SPSVCINST_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl SPSVCINST_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for SPSVCINST_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for SPSVCINST_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for SPSVCINST_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for SPSVCINST_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for SPSVCINST_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SP_COPY_STYLE(pub u32); |
| impl ::core::marker::Copy for SP_COPY_STYLE {} |
| impl ::core::clone::Clone for SP_COPY_STYLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SP_COPY_STYLE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for SP_COPY_STYLE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for SP_COPY_STYLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SP_COPY_STYLE").field(&self.0).finish() |
| } |
| } |
| impl SP_COPY_STYLE { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for SP_COPY_STYLE { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for SP_COPY_STYLE { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for SP_COPY_STYLE { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for SP_COPY_STYLE { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for SP_COPY_STYLE { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SetupFileLogInfo(pub i32); |
| impl ::core::marker::Copy for SetupFileLogInfo {} |
| impl ::core::clone::Clone for SetupFileLogInfo { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SetupFileLogInfo { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for SetupFileLogInfo { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for SetupFileLogInfo { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SetupFileLogInfo").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS(pub u32); |
| impl ::core::marker::Copy for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS {} |
| impl ::core::clone::Clone for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct BUSNUMBER_DES { |
| pub BUSD_Count: u32, |
| pub BUSD_Type: u32, |
| pub BUSD_Flags: u32, |
| pub BUSD_Alloc_Base: u32, |
| pub BUSD_Alloc_End: u32, |
| } |
| impl ::core::marker::Copy for BUSNUMBER_DES {} |
| impl ::core::clone::Clone for BUSNUMBER_DES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for BUSNUMBER_DES { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for BUSNUMBER_DES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct BUSNUMBER_RANGE { |
| pub BUSR_Min: u32, |
| pub BUSR_Max: u32, |
| pub BUSR_nBusNumbers: u32, |
| pub BUSR_Flags: u32, |
| } |
| impl ::core::marker::Copy for BUSNUMBER_RANGE {} |
| impl ::core::clone::Clone for BUSNUMBER_RANGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for BUSNUMBER_RANGE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for BUSNUMBER_RANGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct BUSNUMBER_RESOURCE { |
| pub BusNumber_Header: BUSNUMBER_DES, |
| pub BusNumber_Data: [BUSNUMBER_RANGE; 1], |
| } |
| impl ::core::marker::Copy for BUSNUMBER_RESOURCE {} |
| impl ::core::clone::Clone for BUSNUMBER_RESOURCE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for BUSNUMBER_RESOURCE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for BUSNUMBER_RESOURCE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct CABINET_INFO_A { |
| pub CabinetPath: ::windows_core::PCSTR, |
| pub CabinetFile: ::windows_core::PCSTR, |
| pub DiskName: ::windows_core::PCSTR, |
| pub SetId: u16, |
| pub CabinetNumber: u16, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for CABINET_INFO_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for CABINET_INFO_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for CABINET_INFO_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for CABINET_INFO_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct CABINET_INFO_A { |
| pub CabinetPath: ::windows_core::PCSTR, |
| pub CabinetFile: ::windows_core::PCSTR, |
| pub DiskName: ::windows_core::PCSTR, |
| pub SetId: u16, |
| pub CabinetNumber: u16, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for CABINET_INFO_A {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for CABINET_INFO_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for CABINET_INFO_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for CABINET_INFO_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct CABINET_INFO_W { |
| pub CabinetPath: ::windows_core::PCWSTR, |
| pub CabinetFile: ::windows_core::PCWSTR, |
| pub DiskName: ::windows_core::PCWSTR, |
| pub SetId: u16, |
| pub CabinetNumber: u16, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for CABINET_INFO_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for CABINET_INFO_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for CABINET_INFO_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for CABINET_INFO_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct CABINET_INFO_W { |
| pub CabinetPath: ::windows_core::PCWSTR, |
| pub CabinetFile: ::windows_core::PCWSTR, |
| pub DiskName: ::windows_core::PCWSTR, |
| pub SetId: u16, |
| pub CabinetNumber: u16, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for CABINET_INFO_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for CABINET_INFO_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for CABINET_INFO_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for CABINET_INFO_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct CM_NOTIFY_EVENT_DATA { |
| pub FilterType: CM_NOTIFY_FILTER_TYPE, |
| pub Reserved: u32, |
| pub u: CM_NOTIFY_EVENT_DATA_0, |
| } |
| impl ::core::marker::Copy for CM_NOTIFY_EVENT_DATA {} |
| impl ::core::clone::Clone for CM_NOTIFY_EVENT_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for CM_NOTIFY_EVENT_DATA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for CM_NOTIFY_EVENT_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub union CM_NOTIFY_EVENT_DATA_0 { |
| pub DeviceInterface: CM_NOTIFY_EVENT_DATA_0_2, |
| pub DeviceHandle: CM_NOTIFY_EVENT_DATA_0_0, |
| pub DeviceInstance: CM_NOTIFY_EVENT_DATA_0_1, |
| } |
| impl ::core::marker::Copy for CM_NOTIFY_EVENT_DATA_0 {} |
| impl ::core::clone::Clone for CM_NOTIFY_EVENT_DATA_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for CM_NOTIFY_EVENT_DATA_0 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for CM_NOTIFY_EVENT_DATA_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct CM_NOTIFY_EVENT_DATA_0_0 { |
| pub EventGuid: ::windows_core::GUID, |
| pub NameOffset: i32, |
| pub DataSize: u32, |
| pub Data: [u8; 1], |
| } |
| impl ::core::marker::Copy for CM_NOTIFY_EVENT_DATA_0_0 {} |
| impl ::core::clone::Clone for CM_NOTIFY_EVENT_DATA_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for CM_NOTIFY_EVENT_DATA_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CM_NOTIFY_EVENT_DATA_0_0").field("EventGuid", &self.EventGuid).field("NameOffset", &self.NameOffset).field("DataSize", &self.DataSize).field("Data", &self.Data).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for CM_NOTIFY_EVENT_DATA_0_0 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for CM_NOTIFY_EVENT_DATA_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.EventGuid == other.EventGuid && self.NameOffset == other.NameOffset && self.DataSize == other.DataSize && self.Data == other.Data |
| } |
| } |
| impl ::core::cmp::Eq for CM_NOTIFY_EVENT_DATA_0_0 {} |
| impl ::core::default::Default for CM_NOTIFY_EVENT_DATA_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct CM_NOTIFY_EVENT_DATA_0_1 { |
| pub InstanceId: [u16; 1], |
| } |
| impl ::core::marker::Copy for CM_NOTIFY_EVENT_DATA_0_1 {} |
| impl ::core::clone::Clone for CM_NOTIFY_EVENT_DATA_0_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for CM_NOTIFY_EVENT_DATA_0_1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CM_NOTIFY_EVENT_DATA_0_1").field("InstanceId", &self.InstanceId).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for CM_NOTIFY_EVENT_DATA_0_1 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for CM_NOTIFY_EVENT_DATA_0_1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.InstanceId == other.InstanceId |
| } |
| } |
| impl ::core::cmp::Eq for CM_NOTIFY_EVENT_DATA_0_1 {} |
| impl ::core::default::Default for CM_NOTIFY_EVENT_DATA_0_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct CM_NOTIFY_EVENT_DATA_0_2 { |
| pub ClassGuid: ::windows_core::GUID, |
| pub SymbolicLink: [u16; 1], |
| } |
| impl ::core::marker::Copy for CM_NOTIFY_EVENT_DATA_0_2 {} |
| impl ::core::clone::Clone for CM_NOTIFY_EVENT_DATA_0_2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for CM_NOTIFY_EVENT_DATA_0_2 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CM_NOTIFY_EVENT_DATA_0_2").field("ClassGuid", &self.ClassGuid).field("SymbolicLink", &self.SymbolicLink).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for CM_NOTIFY_EVENT_DATA_0_2 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for CM_NOTIFY_EVENT_DATA_0_2 { |
| fn eq(&self, other: &Self) -> bool { |
| self.ClassGuid == other.ClassGuid && self.SymbolicLink == other.SymbolicLink |
| } |
| } |
| impl ::core::cmp::Eq for CM_NOTIFY_EVENT_DATA_0_2 {} |
| impl ::core::default::Default for CM_NOTIFY_EVENT_DATA_0_2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct CM_NOTIFY_FILTER { |
| pub cbSize: u32, |
| pub Flags: u32, |
| pub FilterType: CM_NOTIFY_FILTER_TYPE, |
| pub Reserved: u32, |
| pub u: CM_NOTIFY_FILTER_0, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for CM_NOTIFY_FILTER {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for CM_NOTIFY_FILTER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for CM_NOTIFY_FILTER { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for CM_NOTIFY_FILTER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub union CM_NOTIFY_FILTER_0 { |
| pub DeviceInterface: CM_NOTIFY_FILTER_0_2, |
| pub DeviceHandle: CM_NOTIFY_FILTER_0_0, |
| pub DeviceInstance: CM_NOTIFY_FILTER_0_1, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for CM_NOTIFY_FILTER_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for CM_NOTIFY_FILTER_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for CM_NOTIFY_FILTER_0 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for CM_NOTIFY_FILTER_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct CM_NOTIFY_FILTER_0_0 { |
| pub hTarget: super::super::Foundation::HANDLE, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for CM_NOTIFY_FILTER_0_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for CM_NOTIFY_FILTER_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for CM_NOTIFY_FILTER_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CM_NOTIFY_FILTER_0_0").field("hTarget", &self.hTarget).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for CM_NOTIFY_FILTER_0_0 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for CM_NOTIFY_FILTER_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.hTarget == other.hTarget |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for CM_NOTIFY_FILTER_0_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for CM_NOTIFY_FILTER_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct CM_NOTIFY_FILTER_0_1 { |
| pub InstanceId: [u16; 200], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for CM_NOTIFY_FILTER_0_1 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for CM_NOTIFY_FILTER_0_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for CM_NOTIFY_FILTER_0_1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CM_NOTIFY_FILTER_0_1").field("InstanceId", &self.InstanceId).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for CM_NOTIFY_FILTER_0_1 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for CM_NOTIFY_FILTER_0_1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.InstanceId == other.InstanceId |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for CM_NOTIFY_FILTER_0_1 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for CM_NOTIFY_FILTER_0_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct CM_NOTIFY_FILTER_0_2 { |
| pub ClassGuid: ::windows_core::GUID, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for CM_NOTIFY_FILTER_0_2 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for CM_NOTIFY_FILTER_0_2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for CM_NOTIFY_FILTER_0_2 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CM_NOTIFY_FILTER_0_2").field("ClassGuid", &self.ClassGuid).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for CM_NOTIFY_FILTER_0_2 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for CM_NOTIFY_FILTER_0_2 { |
| fn eq(&self, other: &Self) -> bool { |
| self.ClassGuid == other.ClassGuid |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for CM_NOTIFY_FILTER_0_2 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for CM_NOTIFY_FILTER_0_2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct COINSTALLER_CONTEXT_DATA { |
| pub PostProcessing: super::super::Foundation::BOOL, |
| pub InstallResult: u32, |
| pub PrivateData: *mut ::core::ffi::c_void, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for COINSTALLER_CONTEXT_DATA {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for COINSTALLER_CONTEXT_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for COINSTALLER_CONTEXT_DATA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for COINSTALLER_CONTEXT_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct COINSTALLER_CONTEXT_DATA { |
| pub PostProcessing: super::super::Foundation::BOOL, |
| pub InstallResult: u32, |
| pub PrivateData: *mut ::core::ffi::c_void, |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for COINSTALLER_CONTEXT_DATA {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for COINSTALLER_CONTEXT_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for COINSTALLER_CONTEXT_DATA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for COINSTALLER_CONTEXT_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct CONFLICT_DETAILS_A { |
| pub CD_ulSize: u32, |
| pub CD_ulMask: CM_CDMASK, |
| pub CD_dnDevInst: u32, |
| pub CD_rdResDes: usize, |
| pub CD_ulFlags: CM_CDFLAGS, |
| pub CD_szDescription: [u8; 260], |
| } |
| impl ::core::marker::Copy for CONFLICT_DETAILS_A {} |
| impl ::core::clone::Clone for CONFLICT_DETAILS_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for CONFLICT_DETAILS_A { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CONFLICT_DETAILS_A").field("CD_ulSize", &self.CD_ulSize).field("CD_ulMask", &self.CD_ulMask).field("CD_dnDevInst", &self.CD_dnDevInst).field("CD_rdResDes", &self.CD_rdResDes).field("CD_ulFlags", &self.CD_ulFlags).field("CD_szDescription", &self.CD_szDescription).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for CONFLICT_DETAILS_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for CONFLICT_DETAILS_A { |
| fn eq(&self, other: &Self) -> bool { |
| self.CD_ulSize == other.CD_ulSize && self.CD_ulMask == other.CD_ulMask && self.CD_dnDevInst == other.CD_dnDevInst && self.CD_rdResDes == other.CD_rdResDes && self.CD_ulFlags == other.CD_ulFlags && self.CD_szDescription == other.CD_szDescription |
| } |
| } |
| impl ::core::cmp::Eq for CONFLICT_DETAILS_A {} |
| impl ::core::default::Default for CONFLICT_DETAILS_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct CONFLICT_DETAILS_W { |
| pub CD_ulSize: u32, |
| pub CD_ulMask: CM_CDMASK, |
| pub CD_dnDevInst: u32, |
| pub CD_rdResDes: usize, |
| pub CD_ulFlags: CM_CDFLAGS, |
| pub CD_szDescription: [u16; 260], |
| } |
| impl ::core::marker::Copy for CONFLICT_DETAILS_W {} |
| impl ::core::clone::Clone for CONFLICT_DETAILS_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for CONFLICT_DETAILS_W { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CONFLICT_DETAILS_W").field("CD_ulSize", &self.CD_ulSize).field("CD_ulMask", &self.CD_ulMask).field("CD_dnDevInst", &self.CD_dnDevInst).field("CD_rdResDes", &self.CD_rdResDes).field("CD_ulFlags", &self.CD_ulFlags).field("CD_szDescription", &self.CD_szDescription).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for CONFLICT_DETAILS_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for CONFLICT_DETAILS_W { |
| fn eq(&self, other: &Self) -> bool { |
| self.CD_ulSize == other.CD_ulSize && self.CD_ulMask == other.CD_ulMask && self.CD_dnDevInst == other.CD_dnDevInst && self.CD_rdResDes == other.CD_rdResDes && self.CD_ulFlags == other.CD_ulFlags && self.CD_szDescription == other.CD_szDescription |
| } |
| } |
| impl ::core::cmp::Eq for CONFLICT_DETAILS_W {} |
| impl ::core::default::Default for CONFLICT_DETAILS_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct CONNECTION_DES { |
| pub COND_Type: u32, |
| pub COND_Flags: u32, |
| pub COND_Class: u8, |
| pub COND_ClassType: u8, |
| pub COND_Reserved1: u8, |
| pub COND_Reserved2: u8, |
| pub COND_Id: i64, |
| } |
| impl ::core::marker::Copy for CONNECTION_DES {} |
| impl ::core::clone::Clone for CONNECTION_DES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for CONNECTION_DES { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for CONNECTION_DES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct CONNECTION_RESOURCE { |
| pub Connection_Header: CONNECTION_DES, |
| } |
| impl ::core::marker::Copy for CONNECTION_RESOURCE {} |
| impl ::core::clone::Clone for CONNECTION_RESOURCE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for CONNECTION_RESOURCE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for CONNECTION_RESOURCE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct CS_DES { |
| pub CSD_SignatureLength: u32, |
| pub CSD_LegacyDataOffset: u32, |
| pub CSD_LegacyDataSize: u32, |
| pub CSD_Flags: u32, |
| pub CSD_ClassGuid: ::windows_core::GUID, |
| pub CSD_Signature: [u8; 1], |
| } |
| impl ::core::marker::Copy for CS_DES {} |
| impl ::core::clone::Clone for CS_DES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for CS_DES { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for CS_DES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct CS_RESOURCE { |
| pub CS_Header: CS_DES, |
| } |
| impl ::core::marker::Copy for CS_RESOURCE {} |
| impl ::core::clone::Clone for CS_RESOURCE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for CS_RESOURCE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for CS_RESOURCE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct DEVPRIVATE_DES { |
| pub PD_Count: u32, |
| pub PD_Type: u32, |
| pub PD_Data1: u32, |
| pub PD_Data2: u32, |
| pub PD_Data3: u32, |
| pub PD_Flags: u32, |
| } |
| impl ::core::marker::Copy for DEVPRIVATE_DES {} |
| impl ::core::clone::Clone for DEVPRIVATE_DES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for DEVPRIVATE_DES { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for DEVPRIVATE_DES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct DEVPRIVATE_RANGE { |
| pub PR_Data1: u32, |
| pub PR_Data2: u32, |
| pub PR_Data3: u32, |
| } |
| impl ::core::marker::Copy for DEVPRIVATE_RANGE {} |
| impl ::core::clone::Clone for DEVPRIVATE_RANGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for DEVPRIVATE_RANGE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for DEVPRIVATE_RANGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct DEVPRIVATE_RESOURCE { |
| pub PRV_Header: DEVPRIVATE_DES, |
| pub PRV_Data: [DEVPRIVATE_RANGE; 1], |
| } |
| impl ::core::marker::Copy for DEVPRIVATE_RESOURCE {} |
| impl ::core::clone::Clone for DEVPRIVATE_RESOURCE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for DEVPRIVATE_RESOURCE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for DEVPRIVATE_RESOURCE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct DMA_DES { |
| pub DD_Count: u32, |
| pub DD_Type: u32, |
| pub DD_Flags: u32, |
| pub DD_Alloc_Chan: u32, |
| } |
| impl ::core::marker::Copy for DMA_DES {} |
| impl ::core::clone::Clone for DMA_DES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for DMA_DES { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for DMA_DES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct DMA_RANGE { |
| pub DR_Min: u32, |
| pub DR_Max: u32, |
| pub DR_Flags: u32, |
| } |
| impl ::core::marker::Copy for DMA_RANGE {} |
| impl ::core::clone::Clone for DMA_RANGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for DMA_RANGE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for DMA_RANGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct DMA_RESOURCE { |
| pub DMA_Header: DMA_DES, |
| pub DMA_Data: [DMA_RANGE; 1], |
| } |
| impl ::core::marker::Copy for DMA_RESOURCE {} |
| impl ::core::clone::Clone for DMA_RESOURCE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for DMA_RESOURCE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for DMA_RESOURCE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct FILEPATHS_A { |
| pub Target: ::windows_core::PCSTR, |
| pub Source: ::windows_core::PCSTR, |
| pub Win32Error: u32, |
| pub Flags: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for FILEPATHS_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for FILEPATHS_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for FILEPATHS_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for FILEPATHS_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct FILEPATHS_A { |
| pub Target: ::windows_core::PCSTR, |
| pub Source: ::windows_core::PCSTR, |
| pub Win32Error: u32, |
| pub Flags: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for FILEPATHS_A {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for FILEPATHS_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for FILEPATHS_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for FILEPATHS_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct FILEPATHS_SIGNERINFO_A { |
| pub Target: ::windows_core::PCSTR, |
| pub Source: ::windows_core::PCSTR, |
| pub Win32Error: u32, |
| pub Flags: u32, |
| pub DigitalSigner: ::windows_core::PCSTR, |
| pub Version: ::windows_core::PCSTR, |
| pub CatalogFile: ::windows_core::PCSTR, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for FILEPATHS_SIGNERINFO_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for FILEPATHS_SIGNERINFO_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for FILEPATHS_SIGNERINFO_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for FILEPATHS_SIGNERINFO_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct FILEPATHS_SIGNERINFO_A { |
| pub Target: ::windows_core::PCSTR, |
| pub Source: ::windows_core::PCSTR, |
| pub Win32Error: u32, |
| pub Flags: u32, |
| pub DigitalSigner: ::windows_core::PCSTR, |
| pub Version: ::windows_core::PCSTR, |
| pub CatalogFile: ::windows_core::PCSTR, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for FILEPATHS_SIGNERINFO_A {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for FILEPATHS_SIGNERINFO_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for FILEPATHS_SIGNERINFO_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for FILEPATHS_SIGNERINFO_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct FILEPATHS_SIGNERINFO_W { |
| pub Target: ::windows_core::PCWSTR, |
| pub Source: ::windows_core::PCWSTR, |
| pub Win32Error: u32, |
| pub Flags: u32, |
| pub DigitalSigner: ::windows_core::PCWSTR, |
| pub Version: ::windows_core::PCWSTR, |
| pub CatalogFile: ::windows_core::PCWSTR, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for FILEPATHS_SIGNERINFO_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for FILEPATHS_SIGNERINFO_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for FILEPATHS_SIGNERINFO_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for FILEPATHS_SIGNERINFO_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct FILEPATHS_SIGNERINFO_W { |
| pub Target: ::windows_core::PCWSTR, |
| pub Source: ::windows_core::PCWSTR, |
| pub Win32Error: u32, |
| pub Flags: u32, |
| pub DigitalSigner: ::windows_core::PCWSTR, |
| pub Version: ::windows_core::PCWSTR, |
| pub CatalogFile: ::windows_core::PCWSTR, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for FILEPATHS_SIGNERINFO_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for FILEPATHS_SIGNERINFO_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for FILEPATHS_SIGNERINFO_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for FILEPATHS_SIGNERINFO_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct FILEPATHS_W { |
| pub Target: ::windows_core::PCWSTR, |
| pub Source: ::windows_core::PCWSTR, |
| pub Win32Error: u32, |
| pub Flags: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for FILEPATHS_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for FILEPATHS_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for FILEPATHS_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for FILEPATHS_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct FILEPATHS_W { |
| pub Target: ::windows_core::PCWSTR, |
| pub Source: ::windows_core::PCWSTR, |
| pub Win32Error: u32, |
| pub Flags: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for FILEPATHS_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for FILEPATHS_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for FILEPATHS_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for FILEPATHS_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct FILE_IN_CABINET_INFO_A { |
| pub NameInCabinet: ::windows_core::PCSTR, |
| pub FileSize: u32, |
| pub Win32Error: u32, |
| pub DosDate: u16, |
| pub DosTime: u16, |
| pub DosAttribs: u16, |
| pub FullTargetName: [u8; 260], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for FILE_IN_CABINET_INFO_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for FILE_IN_CABINET_INFO_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for FILE_IN_CABINET_INFO_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for FILE_IN_CABINET_INFO_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct FILE_IN_CABINET_INFO_A { |
| pub NameInCabinet: ::windows_core::PCSTR, |
| pub FileSize: u32, |
| pub Win32Error: u32, |
| pub DosDate: u16, |
| pub DosTime: u16, |
| pub DosAttribs: u16, |
| pub FullTargetName: [u8; 260], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for FILE_IN_CABINET_INFO_A {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for FILE_IN_CABINET_INFO_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for FILE_IN_CABINET_INFO_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for FILE_IN_CABINET_INFO_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct FILE_IN_CABINET_INFO_W { |
| pub NameInCabinet: ::windows_core::PCWSTR, |
| pub FileSize: u32, |
| pub Win32Error: u32, |
| pub DosDate: u16, |
| pub DosTime: u16, |
| pub DosAttribs: u16, |
| pub FullTargetName: [u16; 260], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for FILE_IN_CABINET_INFO_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for FILE_IN_CABINET_INFO_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for FILE_IN_CABINET_INFO_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for FILE_IN_CABINET_INFO_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct FILE_IN_CABINET_INFO_W { |
| pub NameInCabinet: ::windows_core::PCWSTR, |
| pub FileSize: u32, |
| pub Win32Error: u32, |
| pub DosDate: u16, |
| pub DosTime: u16, |
| pub DosAttribs: u16, |
| pub FullTargetName: [u16; 260], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for FILE_IN_CABINET_INFO_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for FILE_IN_CABINET_INFO_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for FILE_IN_CABINET_INFO_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for FILE_IN_CABINET_INFO_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HCMNOTIFICATION(pub isize); |
| impl HCMNOTIFICATION { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HCMNOTIFICATION { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HCMNOTIFICATION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HCMNOTIFICATION {} |
| impl ::core::fmt::Debug for HCMNOTIFICATION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HCMNOTIFICATION").field(&self.0).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HCMNOTIFICATION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HDEVINFO(pub isize); |
| impl HDEVINFO { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HDEVINFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HDEVINFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HDEVINFO {} |
| impl ::core::fmt::Debug for HDEVINFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HDEVINFO").field(&self.0).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HDEVINFO { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[repr(C, packed(1))] |
| pub struct HWPROFILEINFO_A { |
| pub HWPI_ulHWProfile: u32, |
| pub HWPI_szFriendlyName: [u8; 80], |
| pub HWPI_dwFlags: u32, |
| } |
| impl ::core::marker::Copy for HWPROFILEINFO_A {} |
| impl ::core::clone::Clone for HWPROFILEINFO_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for HWPROFILEINFO_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for HWPROFILEINFO_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct HWPROFILEINFO_W { |
| pub HWPI_ulHWProfile: u32, |
| pub HWPI_szFriendlyName: [u16; 80], |
| pub HWPI_dwFlags: u32, |
| } |
| impl ::core::marker::Copy for HWPROFILEINFO_W {} |
| impl ::core::clone::Clone for HWPROFILEINFO_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for HWPROFILEINFO_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for HWPROFILEINFO_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct INFCONTEXT { |
| pub Inf: *mut ::core::ffi::c_void, |
| pub CurrentInf: *mut ::core::ffi::c_void, |
| pub Section: u32, |
| pub Line: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for INFCONTEXT {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for INFCONTEXT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for INFCONTEXT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for INFCONTEXT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct INFCONTEXT { |
| pub Inf: *mut ::core::ffi::c_void, |
| pub CurrentInf: *mut ::core::ffi::c_void, |
| pub Section: u32, |
| pub Line: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for INFCONTEXT {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for INFCONTEXT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for INFCONTEXT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for INFCONTEXT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct IO_DES { |
| pub IOD_Count: u32, |
| pub IOD_Type: u32, |
| pub IOD_Alloc_Base: u64, |
| pub IOD_Alloc_End: u64, |
| pub IOD_DesFlags: u32, |
| } |
| impl ::core::marker::Copy for IO_DES {} |
| impl ::core::clone::Clone for IO_DES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for IO_DES { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for IO_DES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct IO_RANGE { |
| pub IOR_Align: u64, |
| pub IOR_nPorts: u32, |
| pub IOR_Min: u64, |
| pub IOR_Max: u64, |
| pub IOR_RangeFlags: u32, |
| pub IOR_Alias: u64, |
| } |
| impl ::core::marker::Copy for IO_RANGE {} |
| impl ::core::clone::Clone for IO_RANGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for IO_RANGE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for IO_RANGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct IO_RESOURCE { |
| pub IO_Header: IO_DES, |
| pub IO_Data: [IO_RANGE; 1], |
| } |
| impl ::core::marker::Copy for IO_RESOURCE {} |
| impl ::core::clone::Clone for IO_RESOURCE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for IO_RESOURCE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for IO_RESOURCE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct IRQ_DES_32 { |
| pub IRQD_Count: u32, |
| pub IRQD_Type: u32, |
| pub IRQD_Flags: u32, |
| pub IRQD_Alloc_Num: u32, |
| pub IRQD_Affinity: u32, |
| } |
| impl ::core::marker::Copy for IRQ_DES_32 {} |
| impl ::core::clone::Clone for IRQ_DES_32 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for IRQ_DES_32 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for IRQ_DES_32 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct IRQ_DES_64 { |
| pub IRQD_Count: u32, |
| pub IRQD_Type: u32, |
| pub IRQD_Flags: u32, |
| pub IRQD_Alloc_Num: u32, |
| pub IRQD_Affinity: u64, |
| } |
| impl ::core::marker::Copy for IRQ_DES_64 {} |
| impl ::core::clone::Clone for IRQ_DES_64 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for IRQ_DES_64 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for IRQ_DES_64 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct IRQ_RANGE { |
| pub IRQR_Min: u32, |
| pub IRQR_Max: u32, |
| pub IRQR_Flags: u32, |
| } |
| impl ::core::marker::Copy for IRQ_RANGE {} |
| impl ::core::clone::Clone for IRQ_RANGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for IRQ_RANGE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for IRQ_RANGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct IRQ_RESOURCE_32 { |
| pub IRQ_Header: IRQ_DES_32, |
| pub IRQ_Data: [IRQ_RANGE; 1], |
| } |
| impl ::core::marker::Copy for IRQ_RESOURCE_32 {} |
| impl ::core::clone::Clone for IRQ_RESOURCE_32 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for IRQ_RESOURCE_32 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for IRQ_RESOURCE_32 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct IRQ_RESOURCE_64 { |
| pub IRQ_Header: IRQ_DES_64, |
| pub IRQ_Data: [IRQ_RANGE; 1], |
| } |
| impl ::core::marker::Copy for IRQ_RESOURCE_64 {} |
| impl ::core::clone::Clone for IRQ_RESOURCE_64 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for IRQ_RESOURCE_64 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for IRQ_RESOURCE_64 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct MEM_DES { |
| pub MD_Count: u32, |
| pub MD_Type: u32, |
| pub MD_Alloc_Base: u64, |
| pub MD_Alloc_End: u64, |
| pub MD_Flags: u32, |
| pub MD_Reserved: u32, |
| } |
| impl ::core::marker::Copy for MEM_DES {} |
| impl ::core::clone::Clone for MEM_DES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for MEM_DES { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for MEM_DES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct MEM_LARGE_DES { |
| pub MLD_Count: u32, |
| pub MLD_Type: u32, |
| pub MLD_Alloc_Base: u64, |
| pub MLD_Alloc_End: u64, |
| pub MLD_Flags: u32, |
| pub MLD_Reserved: u32, |
| } |
| impl ::core::marker::Copy for MEM_LARGE_DES {} |
| impl ::core::clone::Clone for MEM_LARGE_DES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for MEM_LARGE_DES { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for MEM_LARGE_DES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct MEM_LARGE_RANGE { |
| pub MLR_Align: u64, |
| pub MLR_nBytes: u64, |
| pub MLR_Min: u64, |
| pub MLR_Max: u64, |
| pub MLR_Flags: u32, |
| pub MLR_Reserved: u32, |
| } |
| impl ::core::marker::Copy for MEM_LARGE_RANGE {} |
| impl ::core::clone::Clone for MEM_LARGE_RANGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for MEM_LARGE_RANGE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for MEM_LARGE_RANGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct MEM_LARGE_RESOURCE { |
| pub MEM_LARGE_Header: MEM_LARGE_DES, |
| pub MEM_LARGE_Data: [MEM_LARGE_RANGE; 1], |
| } |
| impl ::core::marker::Copy for MEM_LARGE_RESOURCE {} |
| impl ::core::clone::Clone for MEM_LARGE_RESOURCE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for MEM_LARGE_RESOURCE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for MEM_LARGE_RESOURCE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct MEM_RANGE { |
| pub MR_Align: u64, |
| pub MR_nBytes: u32, |
| pub MR_Min: u64, |
| pub MR_Max: u64, |
| pub MR_Flags: u32, |
| pub MR_Reserved: u32, |
| } |
| impl ::core::marker::Copy for MEM_RANGE {} |
| impl ::core::clone::Clone for MEM_RANGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for MEM_RANGE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for MEM_RANGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct MEM_RESOURCE { |
| pub MEM_Header: MEM_DES, |
| pub MEM_Data: [MEM_RANGE; 1], |
| } |
| impl ::core::marker::Copy for MEM_RESOURCE {} |
| impl ::core::clone::Clone for MEM_RESOURCE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for MEM_RESOURCE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for MEM_RESOURCE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct MFCARD_DES { |
| pub PMF_Count: u32, |
| pub PMF_Type: u32, |
| pub PMF_Flags: u32, |
| pub PMF_ConfigOptions: u8, |
| pub PMF_IoResourceIndex: u8, |
| pub PMF_Reserved: [u8; 2], |
| pub PMF_ConfigRegisterBase: u32, |
| } |
| impl ::core::marker::Copy for MFCARD_DES {} |
| impl ::core::clone::Clone for MFCARD_DES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for MFCARD_DES { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for MFCARD_DES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct MFCARD_RESOURCE { |
| pub MfCard_Header: MFCARD_DES, |
| } |
| impl ::core::marker::Copy for MFCARD_RESOURCE {} |
| impl ::core::clone::Clone for MFCARD_RESOURCE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for MFCARD_RESOURCE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for MFCARD_RESOURCE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct PCCARD_DES { |
| pub PCD_Count: u32, |
| pub PCD_Type: u32, |
| pub PCD_Flags: u32, |
| pub PCD_ConfigIndex: u8, |
| pub PCD_Reserved: [u8; 3], |
| pub PCD_MemoryCardBase1: u32, |
| pub PCD_MemoryCardBase2: u32, |
| pub PCD_MemoryCardBase: [u32; 2], |
| pub PCD_MemoryFlags: [u16; 2], |
| pub PCD_IoFlags: [u8; 2], |
| } |
| impl ::core::marker::Copy for PCCARD_DES {} |
| impl ::core::clone::Clone for PCCARD_DES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for PCCARD_DES { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for PCCARD_DES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| pub struct PCCARD_RESOURCE { |
| pub PcCard_Header: PCCARD_DES, |
| } |
| impl ::core::marker::Copy for PCCARD_RESOURCE {} |
| impl ::core::clone::Clone for PCCARD_RESOURCE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for PCCARD_RESOURCE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for PCCARD_RESOURCE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SOURCE_MEDIA_A { |
| pub Reserved: ::windows_core::PCSTR, |
| pub Tagfile: ::windows_core::PCSTR, |
| pub Description: ::windows_core::PCSTR, |
| pub SourcePath: ::windows_core::PCSTR, |
| pub SourceFile: ::windows_core::PCSTR, |
| pub Flags: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SOURCE_MEDIA_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SOURCE_MEDIA_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SOURCE_MEDIA_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SOURCE_MEDIA_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SOURCE_MEDIA_A { |
| pub Reserved: ::windows_core::PCSTR, |
| pub Tagfile: ::windows_core::PCSTR, |
| pub Description: ::windows_core::PCSTR, |
| pub SourcePath: ::windows_core::PCSTR, |
| pub SourceFile: ::windows_core::PCSTR, |
| pub Flags: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SOURCE_MEDIA_A {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SOURCE_MEDIA_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SOURCE_MEDIA_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SOURCE_MEDIA_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SOURCE_MEDIA_W { |
| pub Reserved: ::windows_core::PCWSTR, |
| pub Tagfile: ::windows_core::PCWSTR, |
| pub Description: ::windows_core::PCWSTR, |
| pub SourcePath: ::windows_core::PCWSTR, |
| pub SourceFile: ::windows_core::PCWSTR, |
| pub Flags: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SOURCE_MEDIA_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SOURCE_MEDIA_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SOURCE_MEDIA_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SOURCE_MEDIA_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SOURCE_MEDIA_W { |
| pub Reserved: ::windows_core::PCWSTR, |
| pub Tagfile: ::windows_core::PCWSTR, |
| pub Description: ::windows_core::PCWSTR, |
| pub SourcePath: ::windows_core::PCWSTR, |
| pub SourceFile: ::windows_core::PCWSTR, |
| pub Flags: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SOURCE_MEDIA_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SOURCE_MEDIA_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SOURCE_MEDIA_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SOURCE_MEDIA_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| pub struct SP_ALTPLATFORM_INFO_V1 { |
| pub cbSize: u32, |
| pub Platform: super::super::System::Diagnostics::Debug::VER_PLATFORM, |
| pub MajorVersion: u32, |
| pub MinorVersion: u32, |
| pub ProcessorArchitecture: u16, |
| pub Reserved: u16, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::marker::Copy for SP_ALTPLATFORM_INFO_V1 {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::clone::Clone for SP_ALTPLATFORM_INFO_V1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::windows_core::TypeKind for SP_ALTPLATFORM_INFO_V1 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::default::Default for SP_ALTPLATFORM_INFO_V1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| pub struct SP_ALTPLATFORM_INFO_V1 { |
| pub cbSize: u32, |
| pub Platform: super::super::System::Diagnostics::Debug::VER_PLATFORM, |
| pub MajorVersion: u32, |
| pub MinorVersion: u32, |
| pub ProcessorArchitecture: u16, |
| pub Reserved: u16, |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::marker::Copy for SP_ALTPLATFORM_INFO_V1 {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::clone::Clone for SP_ALTPLATFORM_INFO_V1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::windows_core::TypeKind for SP_ALTPLATFORM_INFO_V1 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::default::Default for SP_ALTPLATFORM_INFO_V1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| pub struct SP_ALTPLATFORM_INFO_V2 { |
| pub cbSize: u32, |
| pub Platform: super::super::System::Diagnostics::Debug::VER_PLATFORM, |
| pub MajorVersion: u32, |
| pub MinorVersion: u32, |
| pub ProcessorArchitecture: u16, |
| pub Anonymous: SP_ALTPLATFORM_INFO_V2_0, |
| pub FirstValidatedMajorVersion: u32, |
| pub FirstValidatedMinorVersion: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::marker::Copy for SP_ALTPLATFORM_INFO_V2 {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::clone::Clone for SP_ALTPLATFORM_INFO_V2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::windows_core::TypeKind for SP_ALTPLATFORM_INFO_V2 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::default::Default for SP_ALTPLATFORM_INFO_V2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| pub union SP_ALTPLATFORM_INFO_V2_0 { |
| pub Reserved: u16, |
| pub Flags: u16, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::marker::Copy for SP_ALTPLATFORM_INFO_V2_0 {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::clone::Clone for SP_ALTPLATFORM_INFO_V2_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::windows_core::TypeKind for SP_ALTPLATFORM_INFO_V2_0 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::default::Default for SP_ALTPLATFORM_INFO_V2_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| pub struct SP_ALTPLATFORM_INFO_V2 { |
| pub cbSize: u32, |
| pub Platform: super::super::System::Diagnostics::Debug::VER_PLATFORM, |
| pub MajorVersion: u32, |
| pub MinorVersion: u32, |
| pub ProcessorArchitecture: u16, |
| pub Anonymous: SP_ALTPLATFORM_INFO_V2_0, |
| pub FirstValidatedMajorVersion: u32, |
| pub FirstValidatedMinorVersion: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::marker::Copy for SP_ALTPLATFORM_INFO_V2 {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::clone::Clone for SP_ALTPLATFORM_INFO_V2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::windows_core::TypeKind for SP_ALTPLATFORM_INFO_V2 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::default::Default for SP_ALTPLATFORM_INFO_V2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_System_Diagnostics_Debug\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| pub union SP_ALTPLATFORM_INFO_V2_0 { |
| pub Reserved: u16, |
| pub Flags: u16, |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::marker::Copy for SP_ALTPLATFORM_INFO_V2_0 {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::clone::Clone for SP_ALTPLATFORM_INFO_V2_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::windows_core::TypeKind for SP_ALTPLATFORM_INFO_V2_0 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_System_Diagnostics_Debug")] |
| impl ::core::default::Default for SP_ALTPLATFORM_INFO_V2_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_ALTPLATFORM_INFO_V3 { |
| pub cbSize: u32, |
| pub Platform: u32, |
| pub MajorVersion: u32, |
| pub MinorVersion: u32, |
| pub ProcessorArchitecture: u16, |
| pub Anonymous: SP_ALTPLATFORM_INFO_V3_0, |
| pub FirstValidatedMajorVersion: u32, |
| pub FirstValidatedMinorVersion: u32, |
| pub ProductType: u8, |
| pub SuiteMask: u16, |
| pub BuildNumber: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_ALTPLATFORM_INFO_V3 {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_ALTPLATFORM_INFO_V3 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_ALTPLATFORM_INFO_V3 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_ALTPLATFORM_INFO_V3 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub union SP_ALTPLATFORM_INFO_V3_0 { |
| pub Reserved: u16, |
| pub Flags: u16, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_ALTPLATFORM_INFO_V3_0 {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_ALTPLATFORM_INFO_V3_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_ALTPLATFORM_INFO_V3_0 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_ALTPLATFORM_INFO_V3_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_ALTPLATFORM_INFO_V3 { |
| pub cbSize: u32, |
| pub Platform: u32, |
| pub MajorVersion: u32, |
| pub MinorVersion: u32, |
| pub ProcessorArchitecture: u16, |
| pub Anonymous: SP_ALTPLATFORM_INFO_V3_0, |
| pub FirstValidatedMajorVersion: u32, |
| pub FirstValidatedMinorVersion: u32, |
| pub ProductType: u8, |
| pub SuiteMask: u16, |
| pub BuildNumber: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_ALTPLATFORM_INFO_V3 {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_ALTPLATFORM_INFO_V3 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_ALTPLATFORM_INFO_V3 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_ALTPLATFORM_INFO_V3 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub union SP_ALTPLATFORM_INFO_V3_0 { |
| pub Reserved: u16, |
| pub Flags: u16, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_ALTPLATFORM_INFO_V3_0 {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_ALTPLATFORM_INFO_V3_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_ALTPLATFORM_INFO_V3_0 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_ALTPLATFORM_INFO_V3_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_BACKUP_QUEUE_PARAMS_V1_A { |
| pub cbSize: u32, |
| pub FullInfPath: [u8; 260], |
| pub FilenameOffset: i32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_BACKUP_QUEUE_PARAMS_V1_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_BACKUP_QUEUE_PARAMS_V1_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_BACKUP_QUEUE_PARAMS_V1_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_BACKUP_QUEUE_PARAMS_V1_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_BACKUP_QUEUE_PARAMS_V1_A { |
| pub cbSize: u32, |
| pub FullInfPath: [u8; 260], |
| pub FilenameOffset: i32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_BACKUP_QUEUE_PARAMS_V1_A {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_BACKUP_QUEUE_PARAMS_V1_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_BACKUP_QUEUE_PARAMS_V1_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_BACKUP_QUEUE_PARAMS_V1_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_BACKUP_QUEUE_PARAMS_V1_W { |
| pub cbSize: u32, |
| pub FullInfPath: [u16; 260], |
| pub FilenameOffset: i32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_BACKUP_QUEUE_PARAMS_V1_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_BACKUP_QUEUE_PARAMS_V1_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_BACKUP_QUEUE_PARAMS_V1_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_BACKUP_QUEUE_PARAMS_V1_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_BACKUP_QUEUE_PARAMS_V1_W { |
| pub cbSize: u32, |
| pub FullInfPath: [u16; 260], |
| pub FilenameOffset: i32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_BACKUP_QUEUE_PARAMS_V1_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_BACKUP_QUEUE_PARAMS_V1_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_BACKUP_QUEUE_PARAMS_V1_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_BACKUP_QUEUE_PARAMS_V1_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_BACKUP_QUEUE_PARAMS_V2_A { |
| pub cbSize: u32, |
| pub FullInfPath: [u8; 260], |
| pub FilenameOffset: i32, |
| pub ReinstallInstance: [u8; 260], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_BACKUP_QUEUE_PARAMS_V2_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_BACKUP_QUEUE_PARAMS_V2_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_BACKUP_QUEUE_PARAMS_V2_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_BACKUP_QUEUE_PARAMS_V2_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_BACKUP_QUEUE_PARAMS_V2_A { |
| pub cbSize: u32, |
| pub FullInfPath: [u8; 260], |
| pub FilenameOffset: i32, |
| pub ReinstallInstance: [u8; 260], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_BACKUP_QUEUE_PARAMS_V2_A {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_BACKUP_QUEUE_PARAMS_V2_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_BACKUP_QUEUE_PARAMS_V2_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_BACKUP_QUEUE_PARAMS_V2_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_BACKUP_QUEUE_PARAMS_V2_W { |
| pub cbSize: u32, |
| pub FullInfPath: [u16; 260], |
| pub FilenameOffset: i32, |
| pub ReinstallInstance: [u16; 260], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_BACKUP_QUEUE_PARAMS_V2_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_BACKUP_QUEUE_PARAMS_V2_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_BACKUP_QUEUE_PARAMS_V2_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_BACKUP_QUEUE_PARAMS_V2_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_BACKUP_QUEUE_PARAMS_V2_W { |
| pub cbSize: u32, |
| pub FullInfPath: [u16; 260], |
| pub FilenameOffset: i32, |
| pub ReinstallInstance: [u16; 260], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_BACKUP_QUEUE_PARAMS_V2_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_BACKUP_QUEUE_PARAMS_V2_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_BACKUP_QUEUE_PARAMS_V2_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_BACKUP_QUEUE_PARAMS_V2_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_UI_Controls\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_UI_Controls")] |
| pub struct SP_CLASSIMAGELIST_DATA { |
| pub cbSize: u32, |
| pub ImageList: super::super::UI::Controls::HIMAGELIST, |
| pub Reserved: usize, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_UI_Controls")] |
| impl ::core::marker::Copy for SP_CLASSIMAGELIST_DATA {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_UI_Controls")] |
| impl ::core::clone::Clone for SP_CLASSIMAGELIST_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_UI_Controls")] |
| impl ::windows_core::TypeKind for SP_CLASSIMAGELIST_DATA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_UI_Controls")] |
| impl ::core::default::Default for SP_CLASSIMAGELIST_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_UI_Controls\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_UI_Controls")] |
| pub struct SP_CLASSIMAGELIST_DATA { |
| pub cbSize: u32, |
| pub ImageList: super::super::UI::Controls::HIMAGELIST, |
| pub Reserved: usize, |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_UI_Controls")] |
| impl ::core::marker::Copy for SP_CLASSIMAGELIST_DATA {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_UI_Controls")] |
| impl ::core::clone::Clone for SP_CLASSIMAGELIST_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_UI_Controls")] |
| impl ::windows_core::TypeKind for SP_CLASSIMAGELIST_DATA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_UI_Controls")] |
| impl ::core::default::Default for SP_CLASSIMAGELIST_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_CLASSINSTALL_HEADER { |
| pub cbSize: u32, |
| pub InstallFunction: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_CLASSINSTALL_HEADER {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_CLASSINSTALL_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_CLASSINSTALL_HEADER { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_CLASSINSTALL_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_CLASSINSTALL_HEADER { |
| pub cbSize: u32, |
| pub InstallFunction: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_CLASSINSTALL_HEADER {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_CLASSINSTALL_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_CLASSINSTALL_HEADER { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_CLASSINSTALL_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DETECTDEVICE_PARAMS { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub DetectProgressNotify: PDETECT_PROGRESS_NOTIFY, |
| pub ProgressNotifyParam: *mut ::core::ffi::c_void, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DETECTDEVICE_PARAMS {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DETECTDEVICE_PARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DETECTDEVICE_PARAMS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DETECTDEVICE_PARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DETECTDEVICE_PARAMS { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub DetectProgressNotify: PDETECT_PROGRESS_NOTIFY, |
| pub ProgressNotifyParam: *mut ::core::ffi::c_void, |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DETECTDEVICE_PARAMS {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DETECTDEVICE_PARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DETECTDEVICE_PARAMS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DETECTDEVICE_PARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_DEVICE_INTERFACE_DATA { |
| pub cbSize: u32, |
| pub InterfaceClassGuid: ::windows_core::GUID, |
| pub Flags: u32, |
| pub Reserved: usize, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_DEVICE_INTERFACE_DATA {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_DEVICE_INTERFACE_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_DEVICE_INTERFACE_DATA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_DEVICE_INTERFACE_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_DEVICE_INTERFACE_DATA { |
| pub cbSize: u32, |
| pub InterfaceClassGuid: ::windows_core::GUID, |
| pub Flags: u32, |
| pub Reserved: usize, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_DEVICE_INTERFACE_DATA {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_DEVICE_INTERFACE_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_DEVICE_INTERFACE_DATA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_DEVICE_INTERFACE_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_DEVICE_INTERFACE_DETAIL_DATA_A { |
| pub cbSize: u32, |
| pub DevicePath: [u8; 1], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_DEVICE_INTERFACE_DETAIL_DATA_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_DEVICE_INTERFACE_DETAIL_DATA_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_DEVICE_INTERFACE_DETAIL_DATA_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_DEVICE_INTERFACE_DETAIL_DATA_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_DEVICE_INTERFACE_DETAIL_DATA_A { |
| pub cbSize: u32, |
| pub DevicePath: [u8; 1], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_DEVICE_INTERFACE_DETAIL_DATA_A {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_DEVICE_INTERFACE_DETAIL_DATA_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_DEVICE_INTERFACE_DETAIL_DATA_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_DEVICE_INTERFACE_DETAIL_DATA_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_DEVICE_INTERFACE_DETAIL_DATA_W { |
| pub cbSize: u32, |
| pub DevicePath: [u16; 1], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_DEVICE_INTERFACE_DETAIL_DATA_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_DEVICE_INTERFACE_DETAIL_DATA_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_DEVICE_INTERFACE_DETAIL_DATA_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_DEVICE_INTERFACE_DETAIL_DATA_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_DEVICE_INTERFACE_DETAIL_DATA_W { |
| pub cbSize: u32, |
| pub DevicePath: [u16; 1], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_DEVICE_INTERFACE_DETAIL_DATA_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_DEVICE_INTERFACE_DETAIL_DATA_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_DEVICE_INTERFACE_DETAIL_DATA_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_DEVICE_INTERFACE_DETAIL_DATA_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_DEVINFO_DATA { |
| pub cbSize: u32, |
| pub ClassGuid: ::windows_core::GUID, |
| pub DevInst: u32, |
| pub Reserved: usize, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_DEVINFO_DATA {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_DEVINFO_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_DEVINFO_DATA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_DEVINFO_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_DEVINFO_DATA { |
| pub cbSize: u32, |
| pub ClassGuid: ::windows_core::GUID, |
| pub DevInst: u32, |
| pub Reserved: usize, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_DEVINFO_DATA {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_DEVINFO_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_DEVINFO_DATA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_DEVINFO_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DEVINFO_LIST_DETAIL_DATA_A { |
| pub cbSize: u32, |
| pub ClassGuid: ::windows_core::GUID, |
| pub RemoteMachineHandle: super::super::Foundation::HANDLE, |
| pub RemoteMachineName: [u8; 263], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DEVINFO_LIST_DETAIL_DATA_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DEVINFO_LIST_DETAIL_DATA_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DEVINFO_LIST_DETAIL_DATA_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DEVINFO_LIST_DETAIL_DATA_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DEVINFO_LIST_DETAIL_DATA_A { |
| pub cbSize: u32, |
| pub ClassGuid: ::windows_core::GUID, |
| pub RemoteMachineHandle: super::super::Foundation::HANDLE, |
| pub RemoteMachineName: [u8; 263], |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DEVINFO_LIST_DETAIL_DATA_A {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DEVINFO_LIST_DETAIL_DATA_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DEVINFO_LIST_DETAIL_DATA_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DEVINFO_LIST_DETAIL_DATA_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DEVINFO_LIST_DETAIL_DATA_W { |
| pub cbSize: u32, |
| pub ClassGuid: ::windows_core::GUID, |
| pub RemoteMachineHandle: super::super::Foundation::HANDLE, |
| pub RemoteMachineName: [u16; 263], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DEVINFO_LIST_DETAIL_DATA_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DEVINFO_LIST_DETAIL_DATA_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DEVINFO_LIST_DETAIL_DATA_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DEVINFO_LIST_DETAIL_DATA_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DEVINFO_LIST_DETAIL_DATA_W { |
| pub cbSize: u32, |
| pub ClassGuid: ::windows_core::GUID, |
| pub RemoteMachineHandle: super::super::Foundation::HANDLE, |
| pub RemoteMachineName: [u16; 263], |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DEVINFO_LIST_DETAIL_DATA_W {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DEVINFO_LIST_DETAIL_DATA_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DEVINFO_LIST_DETAIL_DATA_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DEVINFO_LIST_DETAIL_DATA_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DEVINSTALL_PARAMS_A { |
| pub cbSize: u32, |
| pub Flags: u32, |
| pub FlagsEx: u32, |
| pub hwndParent: super::super::Foundation::HWND, |
| pub InstallMsgHandler: PSP_FILE_CALLBACK_A, |
| pub InstallMsgHandlerContext: *mut ::core::ffi::c_void, |
| pub FileQueue: *mut ::core::ffi::c_void, |
| pub ClassInstallReserved: usize, |
| pub Reserved: u32, |
| pub DriverPath: [u8; 260], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DEVINSTALL_PARAMS_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DEVINSTALL_PARAMS_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DEVINSTALL_PARAMS_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DEVINSTALL_PARAMS_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DEVINSTALL_PARAMS_A { |
| pub cbSize: u32, |
| pub Flags: u32, |
| pub FlagsEx: u32, |
| pub hwndParent: super::super::Foundation::HWND, |
| pub InstallMsgHandler: PSP_FILE_CALLBACK_A, |
| pub InstallMsgHandlerContext: *mut ::core::ffi::c_void, |
| pub FileQueue: *mut ::core::ffi::c_void, |
| pub ClassInstallReserved: usize, |
| pub Reserved: u32, |
| pub DriverPath: [u8; 260], |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DEVINSTALL_PARAMS_A {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DEVINSTALL_PARAMS_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DEVINSTALL_PARAMS_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DEVINSTALL_PARAMS_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DEVINSTALL_PARAMS_W { |
| pub cbSize: u32, |
| pub Flags: u32, |
| pub FlagsEx: u32, |
| pub hwndParent: super::super::Foundation::HWND, |
| pub InstallMsgHandler: PSP_FILE_CALLBACK_W, |
| pub InstallMsgHandlerContext: *mut ::core::ffi::c_void, |
| pub FileQueue: *mut ::core::ffi::c_void, |
| pub ClassInstallReserved: usize, |
| pub Reserved: u32, |
| pub DriverPath: [u16; 260], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DEVINSTALL_PARAMS_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DEVINSTALL_PARAMS_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DEVINSTALL_PARAMS_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DEVINSTALL_PARAMS_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DEVINSTALL_PARAMS_W { |
| pub cbSize: u32, |
| pub Flags: u32, |
| pub FlagsEx: u32, |
| pub hwndParent: super::super::Foundation::HWND, |
| pub InstallMsgHandler: PSP_FILE_CALLBACK_W, |
| pub InstallMsgHandlerContext: *mut ::core::ffi::c_void, |
| pub FileQueue: *mut ::core::ffi::c_void, |
| pub ClassInstallReserved: usize, |
| pub Reserved: u32, |
| pub DriverPath: [u16; 260], |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DEVINSTALL_PARAMS_W {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DEVINSTALL_PARAMS_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DEVINSTALL_PARAMS_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DEVINSTALL_PARAMS_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_DRVINFO_DATA_V1_A { |
| pub cbSize: u32, |
| pub DriverType: u32, |
| pub Reserved: usize, |
| pub Description: [u8; 256], |
| pub MfgName: [u8; 256], |
| pub ProviderName: [u8; 256], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_DRVINFO_DATA_V1_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_DRVINFO_DATA_V1_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_DRVINFO_DATA_V1_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_DRVINFO_DATA_V1_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_DRVINFO_DATA_V1_A { |
| pub cbSize: u32, |
| pub DriverType: u32, |
| pub Reserved: usize, |
| pub Description: [u8; 256], |
| pub MfgName: [u8; 256], |
| pub ProviderName: [u8; 256], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_DRVINFO_DATA_V1_A {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_DRVINFO_DATA_V1_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_DRVINFO_DATA_V1_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_DRVINFO_DATA_V1_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_DRVINFO_DATA_V1_W { |
| pub cbSize: u32, |
| pub DriverType: u32, |
| pub Reserved: usize, |
| pub Description: [u16; 256], |
| pub MfgName: [u16; 256], |
| pub ProviderName: [u16; 256], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_DRVINFO_DATA_V1_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_DRVINFO_DATA_V1_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_DRVINFO_DATA_V1_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_DRVINFO_DATA_V1_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_DRVINFO_DATA_V1_W { |
| pub cbSize: u32, |
| pub DriverType: u32, |
| pub Reserved: usize, |
| pub Description: [u16; 256], |
| pub MfgName: [u16; 256], |
| pub ProviderName: [u16; 256], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_DRVINFO_DATA_V1_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_DRVINFO_DATA_V1_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_DRVINFO_DATA_V1_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_DRVINFO_DATA_V1_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DRVINFO_DATA_V2_A { |
| pub cbSize: u32, |
| pub DriverType: u32, |
| pub Reserved: usize, |
| pub Description: [u8; 256], |
| pub MfgName: [u8; 256], |
| pub ProviderName: [u8; 256], |
| pub DriverDate: super::super::Foundation::FILETIME, |
| pub DriverVersion: u64, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DRVINFO_DATA_V2_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DRVINFO_DATA_V2_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DRVINFO_DATA_V2_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DRVINFO_DATA_V2_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DRVINFO_DATA_V2_A { |
| pub cbSize: u32, |
| pub DriverType: u32, |
| pub Reserved: usize, |
| pub Description: [u8; 256], |
| pub MfgName: [u8; 256], |
| pub ProviderName: [u8; 256], |
| pub DriverDate: super::super::Foundation::FILETIME, |
| pub DriverVersion: u64, |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DRVINFO_DATA_V2_A {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DRVINFO_DATA_V2_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DRVINFO_DATA_V2_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DRVINFO_DATA_V2_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DRVINFO_DATA_V2_W { |
| pub cbSize: u32, |
| pub DriverType: u32, |
| pub Reserved: usize, |
| pub Description: [u16; 256], |
| pub MfgName: [u16; 256], |
| pub ProviderName: [u16; 256], |
| pub DriverDate: super::super::Foundation::FILETIME, |
| pub DriverVersion: u64, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DRVINFO_DATA_V2_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DRVINFO_DATA_V2_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DRVINFO_DATA_V2_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DRVINFO_DATA_V2_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DRVINFO_DATA_V2_W { |
| pub cbSize: u32, |
| pub DriverType: u32, |
| pub Reserved: usize, |
| pub Description: [u16; 256], |
| pub MfgName: [u16; 256], |
| pub ProviderName: [u16; 256], |
| pub DriverDate: super::super::Foundation::FILETIME, |
| pub DriverVersion: u64, |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DRVINFO_DATA_V2_W {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DRVINFO_DATA_V2_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DRVINFO_DATA_V2_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DRVINFO_DATA_V2_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DRVINFO_DETAIL_DATA_A { |
| pub cbSize: u32, |
| pub InfDate: super::super::Foundation::FILETIME, |
| pub CompatIDsOffset: u32, |
| pub CompatIDsLength: u32, |
| pub Reserved: usize, |
| pub SectionName: [u8; 256], |
| pub InfFileName: [u8; 260], |
| pub DrvDescription: [u8; 256], |
| pub HardwareID: [u8; 1], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DRVINFO_DETAIL_DATA_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DRVINFO_DETAIL_DATA_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DRVINFO_DETAIL_DATA_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DRVINFO_DETAIL_DATA_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DRVINFO_DETAIL_DATA_A { |
| pub cbSize: u32, |
| pub InfDate: super::super::Foundation::FILETIME, |
| pub CompatIDsOffset: u32, |
| pub CompatIDsLength: u32, |
| pub Reserved: usize, |
| pub SectionName: [u8; 256], |
| pub InfFileName: [u8; 260], |
| pub DrvDescription: [u8; 256], |
| pub HardwareID: [u8; 1], |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DRVINFO_DETAIL_DATA_A {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DRVINFO_DETAIL_DATA_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DRVINFO_DETAIL_DATA_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DRVINFO_DETAIL_DATA_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DRVINFO_DETAIL_DATA_W { |
| pub cbSize: u32, |
| pub InfDate: super::super::Foundation::FILETIME, |
| pub CompatIDsOffset: u32, |
| pub CompatIDsLength: u32, |
| pub Reserved: usize, |
| pub SectionName: [u16; 256], |
| pub InfFileName: [u16; 260], |
| pub DrvDescription: [u16; 256], |
| pub HardwareID: [u16; 1], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DRVINFO_DETAIL_DATA_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DRVINFO_DETAIL_DATA_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DRVINFO_DETAIL_DATA_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DRVINFO_DETAIL_DATA_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SP_DRVINFO_DETAIL_DATA_W { |
| pub cbSize: u32, |
| pub InfDate: super::super::Foundation::FILETIME, |
| pub CompatIDsOffset: u32, |
| pub CompatIDsLength: u32, |
| pub Reserved: usize, |
| pub SectionName: [u16; 256], |
| pub InfFileName: [u16; 260], |
| pub DrvDescription: [u16; 256], |
| pub HardwareID: [u16; 1], |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SP_DRVINFO_DETAIL_DATA_W {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SP_DRVINFO_DETAIL_DATA_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for SP_DRVINFO_DETAIL_DATA_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SP_DRVINFO_DETAIL_DATA_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_DRVINSTALL_PARAMS { |
| pub cbSize: u32, |
| pub Rank: u32, |
| pub Flags: u32, |
| pub PrivateData: usize, |
| pub Reserved: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_DRVINSTALL_PARAMS {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_DRVINSTALL_PARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_DRVINSTALL_PARAMS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_DRVINSTALL_PARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_DRVINSTALL_PARAMS { |
| pub cbSize: u32, |
| pub Rank: u32, |
| pub Flags: u32, |
| pub PrivateData: usize, |
| pub Reserved: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_DRVINSTALL_PARAMS {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_DRVINSTALL_PARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_DRVINSTALL_PARAMS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_DRVINSTALL_PARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_ENABLECLASS_PARAMS { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub ClassGuid: ::windows_core::GUID, |
| pub EnableMessage: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_ENABLECLASS_PARAMS {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_ENABLECLASS_PARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_ENABLECLASS_PARAMS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_ENABLECLASS_PARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_ENABLECLASS_PARAMS { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub ClassGuid: ::windows_core::GUID, |
| pub EnableMessage: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_ENABLECLASS_PARAMS {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_ENABLECLASS_PARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_ENABLECLASS_PARAMS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_ENABLECLASS_PARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_FILE_COPY_PARAMS_A { |
| pub cbSize: u32, |
| pub QueueHandle: *mut ::core::ffi::c_void, |
| pub SourceRootPath: ::windows_core::PCSTR, |
| pub SourcePath: ::windows_core::PCSTR, |
| pub SourceFilename: ::windows_core::PCSTR, |
| pub SourceDescription: ::windows_core::PCSTR, |
| pub SourceTagfile: ::windows_core::PCSTR, |
| pub TargetDirectory: ::windows_core::PCSTR, |
| pub TargetFilename: ::windows_core::PCSTR, |
| pub CopyStyle: u32, |
| pub LayoutInf: *mut ::core::ffi::c_void, |
| pub SecurityDescriptor: ::windows_core::PCSTR, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_FILE_COPY_PARAMS_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_FILE_COPY_PARAMS_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_FILE_COPY_PARAMS_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_FILE_COPY_PARAMS_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_FILE_COPY_PARAMS_A { |
| pub cbSize: u32, |
| pub QueueHandle: *mut ::core::ffi::c_void, |
| pub SourceRootPath: ::windows_core::PCSTR, |
| pub SourcePath: ::windows_core::PCSTR, |
| pub SourceFilename: ::windows_core::PCSTR, |
| pub SourceDescription: ::windows_core::PCSTR, |
| pub SourceTagfile: ::windows_core::PCSTR, |
| pub TargetDirectory: ::windows_core::PCSTR, |
| pub TargetFilename: ::windows_core::PCSTR, |
| pub CopyStyle: u32, |
| pub LayoutInf: *mut ::core::ffi::c_void, |
| pub SecurityDescriptor: ::windows_core::PCSTR, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_FILE_COPY_PARAMS_A {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_FILE_COPY_PARAMS_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_FILE_COPY_PARAMS_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_FILE_COPY_PARAMS_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_FILE_COPY_PARAMS_W { |
| pub cbSize: u32, |
| pub QueueHandle: *mut ::core::ffi::c_void, |
| pub SourceRootPath: ::windows_core::PCWSTR, |
| pub SourcePath: ::windows_core::PCWSTR, |
| pub SourceFilename: ::windows_core::PCWSTR, |
| pub SourceDescription: ::windows_core::PCWSTR, |
| pub SourceTagfile: ::windows_core::PCWSTR, |
| pub TargetDirectory: ::windows_core::PCWSTR, |
| pub TargetFilename: ::windows_core::PCWSTR, |
| pub CopyStyle: u32, |
| pub LayoutInf: *mut ::core::ffi::c_void, |
| pub SecurityDescriptor: ::windows_core::PCWSTR, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_FILE_COPY_PARAMS_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_FILE_COPY_PARAMS_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_FILE_COPY_PARAMS_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_FILE_COPY_PARAMS_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_FILE_COPY_PARAMS_W { |
| pub cbSize: u32, |
| pub QueueHandle: *mut ::core::ffi::c_void, |
| pub SourceRootPath: ::windows_core::PCWSTR, |
| pub SourcePath: ::windows_core::PCWSTR, |
| pub SourceFilename: ::windows_core::PCWSTR, |
| pub SourceDescription: ::windows_core::PCWSTR, |
| pub SourceTagfile: ::windows_core::PCWSTR, |
| pub TargetDirectory: ::windows_core::PCWSTR, |
| pub TargetFilename: ::windows_core::PCWSTR, |
| pub CopyStyle: u32, |
| pub LayoutInf: *mut ::core::ffi::c_void, |
| pub SecurityDescriptor: ::windows_core::PCWSTR, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_FILE_COPY_PARAMS_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_FILE_COPY_PARAMS_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_FILE_COPY_PARAMS_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_FILE_COPY_PARAMS_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_INF_INFORMATION { |
| pub InfStyle: INF_STYLE, |
| pub InfCount: u32, |
| pub VersionData: [u8; 1], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_INF_INFORMATION {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_INF_INFORMATION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_INF_INFORMATION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_INF_INFORMATION { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_INF_INFORMATION { |
| pub InfStyle: INF_STYLE, |
| pub InfCount: u32, |
| pub VersionData: [u8; 1], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_INF_INFORMATION {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_INF_INFORMATION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_INF_INFORMATION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_INF_INFORMATION { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_INF_SIGNER_INFO_V1_A { |
| pub cbSize: u32, |
| pub CatalogFile: [u8; 260], |
| pub DigitalSigner: [u8; 260], |
| pub DigitalSignerVersion: [u8; 260], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_INF_SIGNER_INFO_V1_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_INF_SIGNER_INFO_V1_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_INF_SIGNER_INFO_V1_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_INF_SIGNER_INFO_V1_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_INF_SIGNER_INFO_V1_A { |
| pub cbSize: u32, |
| pub CatalogFile: [u8; 260], |
| pub DigitalSigner: [u8; 260], |
| pub DigitalSignerVersion: [u8; 260], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_INF_SIGNER_INFO_V1_A {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_INF_SIGNER_INFO_V1_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_INF_SIGNER_INFO_V1_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_INF_SIGNER_INFO_V1_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_INF_SIGNER_INFO_V1_W { |
| pub cbSize: u32, |
| pub CatalogFile: [u16; 260], |
| pub DigitalSigner: [u16; 260], |
| pub DigitalSignerVersion: [u16; 260], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_INF_SIGNER_INFO_V1_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_INF_SIGNER_INFO_V1_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_INF_SIGNER_INFO_V1_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_INF_SIGNER_INFO_V1_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_INF_SIGNER_INFO_V1_W { |
| pub cbSize: u32, |
| pub CatalogFile: [u16; 260], |
| pub DigitalSigner: [u16; 260], |
| pub DigitalSignerVersion: [u16; 260], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_INF_SIGNER_INFO_V1_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_INF_SIGNER_INFO_V1_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_INF_SIGNER_INFO_V1_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_INF_SIGNER_INFO_V1_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_INF_SIGNER_INFO_V2_A { |
| pub cbSize: u32, |
| pub CatalogFile: [u8; 260], |
| pub DigitalSigner: [u8; 260], |
| pub DigitalSignerVersion: [u8; 260], |
| pub SignerScore: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_INF_SIGNER_INFO_V2_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_INF_SIGNER_INFO_V2_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_INF_SIGNER_INFO_V2_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_INF_SIGNER_INFO_V2_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_INF_SIGNER_INFO_V2_A { |
| pub cbSize: u32, |
| pub CatalogFile: [u8; 260], |
| pub DigitalSigner: [u8; 260], |
| pub DigitalSignerVersion: [u8; 260], |
| pub SignerScore: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_INF_SIGNER_INFO_V2_A {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_INF_SIGNER_INFO_V2_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_INF_SIGNER_INFO_V2_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_INF_SIGNER_INFO_V2_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_INF_SIGNER_INFO_V2_W { |
| pub cbSize: u32, |
| pub CatalogFile: [u16; 260], |
| pub DigitalSigner: [u16; 260], |
| pub DigitalSignerVersion: [u16; 260], |
| pub SignerScore: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_INF_SIGNER_INFO_V2_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_INF_SIGNER_INFO_V2_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_INF_SIGNER_INFO_V2_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_INF_SIGNER_INFO_V2_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_INF_SIGNER_INFO_V2_W { |
| pub cbSize: u32, |
| pub CatalogFile: [u16; 260], |
| pub DigitalSigner: [u16; 260], |
| pub DigitalSignerVersion: [u16; 260], |
| pub SignerScore: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_INF_SIGNER_INFO_V2_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_INF_SIGNER_INFO_V2_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_INF_SIGNER_INFO_V2_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_INF_SIGNER_INFO_V2_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| pub struct SP_INSTALLWIZARD_DATA { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub Flags: u32, |
| pub DynamicPages: [super::super::UI::Controls::HPROPSHEETPAGE; 20], |
| pub NumDynamicPages: u32, |
| pub DynamicPageFlags: u32, |
| pub PrivateFlags: u32, |
| pub PrivateData: super::super::Foundation::LPARAM, |
| pub hwndWizardDlg: super::super::Foundation::HWND, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::core::marker::Copy for SP_INSTALLWIZARD_DATA {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::core::clone::Clone for SP_INSTALLWIZARD_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::windows_core::TypeKind for SP_INSTALLWIZARD_DATA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::core::default::Default for SP_INSTALLWIZARD_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| pub struct SP_INSTALLWIZARD_DATA { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub Flags: u32, |
| pub DynamicPages: [super::super::UI::Controls::HPROPSHEETPAGE; 20], |
| pub NumDynamicPages: u32, |
| pub DynamicPageFlags: u32, |
| pub PrivateFlags: u32, |
| pub PrivateData: super::super::Foundation::LPARAM, |
| pub hwndWizardDlg: super::super::Foundation::HWND, |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::core::marker::Copy for SP_INSTALLWIZARD_DATA {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::core::clone::Clone for SP_INSTALLWIZARD_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::windows_core::TypeKind for SP_INSTALLWIZARD_DATA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::core::default::Default for SP_INSTALLWIZARD_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| pub struct SP_NEWDEVICEWIZARD_DATA { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub Flags: u32, |
| pub DynamicPages: [super::super::UI::Controls::HPROPSHEETPAGE; 20], |
| pub NumDynamicPages: u32, |
| pub hwndWizardDlg: super::super::Foundation::HWND, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::core::marker::Copy for SP_NEWDEVICEWIZARD_DATA {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::core::clone::Clone for SP_NEWDEVICEWIZARD_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::windows_core::TypeKind for SP_NEWDEVICEWIZARD_DATA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::core::default::Default for SP_NEWDEVICEWIZARD_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] |
| #[cfg(target_arch = "x86")] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| pub struct SP_NEWDEVICEWIZARD_DATA { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub Flags: u32, |
| pub DynamicPages: [super::super::UI::Controls::HPROPSHEETPAGE; 20], |
| pub NumDynamicPages: u32, |
| pub hwndWizardDlg: super::super::Foundation::HWND, |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::core::marker::Copy for SP_NEWDEVICEWIZARD_DATA {} |
| #[cfg(target_arch = "x86")] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::core::clone::Clone for SP_NEWDEVICEWIZARD_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::windows_core::TypeKind for SP_NEWDEVICEWIZARD_DATA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| impl ::core::default::Default for SP_NEWDEVICEWIZARD_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_ORIGINAL_FILE_INFO_A { |
| pub cbSize: u32, |
| pub OriginalInfName: [u8; 260], |
| pub OriginalCatalogName: [u8; 260], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_ORIGINAL_FILE_INFO_A {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_ORIGINAL_FILE_INFO_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_ORIGINAL_FILE_INFO_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_ORIGINAL_FILE_INFO_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_ORIGINAL_FILE_INFO_A { |
| pub cbSize: u32, |
| pub OriginalInfName: [u8; 260], |
| pub OriginalCatalogName: [u8; 260], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_ORIGINAL_FILE_INFO_A {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_ORIGINAL_FILE_INFO_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_ORIGINAL_FILE_INFO_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_ORIGINAL_FILE_INFO_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_ORIGINAL_FILE_INFO_W { |
| pub cbSize: u32, |
| pub OriginalInfName: [u16; 260], |
| pub OriginalCatalogName: [u16; 260], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_ORIGINAL_FILE_INFO_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_ORIGINAL_FILE_INFO_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_ORIGINAL_FILE_INFO_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_ORIGINAL_FILE_INFO_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_ORIGINAL_FILE_INFO_W { |
| pub cbSize: u32, |
| pub OriginalInfName: [u16; 260], |
| pub OriginalCatalogName: [u16; 260], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_ORIGINAL_FILE_INFO_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_ORIGINAL_FILE_INFO_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_ORIGINAL_FILE_INFO_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_ORIGINAL_FILE_INFO_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct SP_POWERMESSAGEWAKE_PARAMS_A { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub PowerMessageWake: [u8; 512], |
| } |
| impl ::core::marker::Copy for SP_POWERMESSAGEWAKE_PARAMS_A {} |
| impl ::core::clone::Clone for SP_POWERMESSAGEWAKE_PARAMS_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for SP_POWERMESSAGEWAKE_PARAMS_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for SP_POWERMESSAGEWAKE_PARAMS_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_POWERMESSAGEWAKE_PARAMS_W { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub PowerMessageWake: [u16; 512], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_POWERMESSAGEWAKE_PARAMS_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_POWERMESSAGEWAKE_PARAMS_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_POWERMESSAGEWAKE_PARAMS_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_POWERMESSAGEWAKE_PARAMS_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_POWERMESSAGEWAKE_PARAMS_W { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub PowerMessageWake: [u16; 512], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_POWERMESSAGEWAKE_PARAMS_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_POWERMESSAGEWAKE_PARAMS_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_POWERMESSAGEWAKE_PARAMS_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_POWERMESSAGEWAKE_PARAMS_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_PROPCHANGE_PARAMS { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub StateChange: u32, |
| pub Scope: u32, |
| pub HwProfile: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_PROPCHANGE_PARAMS {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_PROPCHANGE_PARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_PROPCHANGE_PARAMS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_PROPCHANGE_PARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_PROPCHANGE_PARAMS { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub StateChange: u32, |
| pub Scope: u32, |
| pub HwProfile: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_PROPCHANGE_PARAMS {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_PROPCHANGE_PARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_PROPCHANGE_PARAMS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_PROPCHANGE_PARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_PROPSHEETPAGE_REQUEST { |
| pub cbSize: u32, |
| pub PageRequested: u32, |
| pub DeviceInfoSet: HDEVINFO, |
| pub DeviceInfoData: *mut SP_DEVINFO_DATA, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_PROPSHEETPAGE_REQUEST {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_PROPSHEETPAGE_REQUEST { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_PROPSHEETPAGE_REQUEST { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_PROPSHEETPAGE_REQUEST { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_PROPSHEETPAGE_REQUEST { |
| pub cbSize: u32, |
| pub PageRequested: u32, |
| pub DeviceInfoSet: HDEVINFO, |
| pub DeviceInfoData: *mut SP_DEVINFO_DATA, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_PROPSHEETPAGE_REQUEST {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_PROPSHEETPAGE_REQUEST { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_PROPSHEETPAGE_REQUEST { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_PROPSHEETPAGE_REQUEST { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_REGISTER_CONTROL_STATUSA { |
| pub cbSize: u32, |
| pub FileName: ::windows_core::PCSTR, |
| pub Win32Error: u32, |
| pub FailureCode: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_REGISTER_CONTROL_STATUSA {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_REGISTER_CONTROL_STATUSA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_REGISTER_CONTROL_STATUSA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_REGISTER_CONTROL_STATUSA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_REGISTER_CONTROL_STATUSA { |
| pub cbSize: u32, |
| pub FileName: ::windows_core::PCSTR, |
| pub Win32Error: u32, |
| pub FailureCode: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_REGISTER_CONTROL_STATUSA {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_REGISTER_CONTROL_STATUSA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_REGISTER_CONTROL_STATUSA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_REGISTER_CONTROL_STATUSA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_REGISTER_CONTROL_STATUSW { |
| pub cbSize: u32, |
| pub FileName: ::windows_core::PCWSTR, |
| pub Win32Error: u32, |
| pub FailureCode: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_REGISTER_CONTROL_STATUSW {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_REGISTER_CONTROL_STATUSW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_REGISTER_CONTROL_STATUSW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_REGISTER_CONTROL_STATUSW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_REGISTER_CONTROL_STATUSW { |
| pub cbSize: u32, |
| pub FileName: ::windows_core::PCWSTR, |
| pub Win32Error: u32, |
| pub FailureCode: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_REGISTER_CONTROL_STATUSW {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_REGISTER_CONTROL_STATUSW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_REGISTER_CONTROL_STATUSW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_REGISTER_CONTROL_STATUSW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_REMOVEDEVICE_PARAMS { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub Scope: u32, |
| pub HwProfile: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_REMOVEDEVICE_PARAMS {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_REMOVEDEVICE_PARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_REMOVEDEVICE_PARAMS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_REMOVEDEVICE_PARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_REMOVEDEVICE_PARAMS { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub Scope: u32, |
| pub HwProfile: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_REMOVEDEVICE_PARAMS {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_REMOVEDEVICE_PARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_REMOVEDEVICE_PARAMS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_REMOVEDEVICE_PARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct SP_SELECTDEVICE_PARAMS_A { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub Title: [u8; 60], |
| pub Instructions: [u8; 256], |
| pub ListLabel: [u8; 30], |
| pub SubTitle: [u8; 256], |
| pub Reserved: [u8; 2], |
| } |
| impl ::core::marker::Copy for SP_SELECTDEVICE_PARAMS_A {} |
| impl ::core::clone::Clone for SP_SELECTDEVICE_PARAMS_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for SP_SELECTDEVICE_PARAMS_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for SP_SELECTDEVICE_PARAMS_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_SELECTDEVICE_PARAMS_W { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub Title: [u16; 60], |
| pub Instructions: [u16; 256], |
| pub ListLabel: [u16; 30], |
| pub SubTitle: [u16; 256], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_SELECTDEVICE_PARAMS_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_SELECTDEVICE_PARAMS_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_SELECTDEVICE_PARAMS_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_SELECTDEVICE_PARAMS_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_SELECTDEVICE_PARAMS_W { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub Title: [u16; 60], |
| pub Instructions: [u16; 256], |
| pub ListLabel: [u16; 30], |
| pub SubTitle: [u16; 256], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_SELECTDEVICE_PARAMS_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_SELECTDEVICE_PARAMS_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_SELECTDEVICE_PARAMS_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_SELECTDEVICE_PARAMS_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct SP_TROUBLESHOOTER_PARAMS_A { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub ChmFile: [u8; 260], |
| pub HtmlTroubleShooter: [u8; 260], |
| } |
| impl ::core::marker::Copy for SP_TROUBLESHOOTER_PARAMS_A {} |
| impl ::core::clone::Clone for SP_TROUBLESHOOTER_PARAMS_A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for SP_TROUBLESHOOTER_PARAMS_A { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for SP_TROUBLESHOOTER_PARAMS_A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_TROUBLESHOOTER_PARAMS_W { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub ChmFile: [u16; 260], |
| pub HtmlTroubleShooter: [u16; 260], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_TROUBLESHOOTER_PARAMS_W {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_TROUBLESHOOTER_PARAMS_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_TROUBLESHOOTER_PARAMS_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_TROUBLESHOOTER_PARAMS_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_TROUBLESHOOTER_PARAMS_W { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub ChmFile: [u16; 260], |
| pub HtmlTroubleShooter: [u16; 260], |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_TROUBLESHOOTER_PARAMS_W {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_TROUBLESHOOTER_PARAMS_W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_TROUBLESHOOTER_PARAMS_W { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_TROUBLESHOOTER_PARAMS_W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SP_UNREMOVEDEVICE_PARAMS { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub Scope: u32, |
| pub HwProfile: u32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SP_UNREMOVEDEVICE_PARAMS {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SP_UNREMOVEDEVICE_PARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows_core::TypeKind for SP_UNREMOVEDEVICE_PARAMS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SP_UNREMOVEDEVICE_PARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[cfg(target_arch = "x86")] |
| pub struct SP_UNREMOVEDEVICE_PARAMS { |
| pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, |
| pub Scope: u32, |
| pub HwProfile: u32, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SP_UNREMOVEDEVICE_PARAMS {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SP_UNREMOVEDEVICE_PARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows_core::TypeKind for SP_UNREMOVEDEVICE_PARAMS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SP_UNREMOVEDEVICE_PARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| pub type PCM_NOTIFY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(hnotify: HCMNOTIFICATION, context: *const ::core::ffi::c_void, action: CM_NOTIFY_ACTION, eventdata: *const CM_NOTIFY_EVENT_DATA, eventdatasize: u32) -> u32>; |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type PDETECT_PROGRESS_NOTIFY = ::core::option::Option<unsafe extern "system" fn(progressnotifyparam: *const ::core::ffi::c_void, detectcomplete: u32) -> super::super::Foundation::BOOL>; |
| pub type PSP_DETSIG_CMPPROC = ::core::option::Option<unsafe extern "system" fn(deviceinfoset: HDEVINFO, newdevicedata: *const SP_DEVINFO_DATA, existingdevicedata: *const SP_DEVINFO_DATA, comparecontext: *const ::core::ffi::c_void) -> u32>; |
| pub type PSP_FILE_CALLBACK_A = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, notification: u32, param1: usize, param2: usize) -> u32>; |
| pub type PSP_FILE_CALLBACK_W = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, notification: u32, param1: usize, param2: usize) -> u32>; |