diff --git a/src/um/cfgmgr32.rs b/src/um/cfgmgr32.rs index 2c4c7f39f..df13d3d39 100644 --- a/src/um/cfgmgr32.rs +++ b/src/um/cfgmgr32.rs @@ -1821,6 +1821,9 @@ extern "system" { ulFlags: ULONG, hMachine: HMACHINE, ) -> CONFIGRET; + pub fn CM_Unregister_Notification( + NotifyContext: HCMNOTIFICATION, + ) -> CONFIGRET; pub fn CM_Register_Device_Driver( dnDevInst: DEVINST, ulFlags: ULONG, @@ -1830,6 +1833,12 @@ extern "system" { ulFlags: ULONG, hMachine: HMACHINE, ) -> CONFIGRET; + pub fn CM_Register_Notification( + pFilter: PCM_NOTIFY_FILTER, + pContext: PVOID, + pCallback: PCM_NOTIFY_CALLBACK, + pNotifyContext: PHCMNOTIFICATION, + ) -> CONFIGRET; pub fn CM_Remove_SubTree( dnAncestor: DEVINST, ulFlags: ULONG,