Hi,
I am running our application under the WinPE environment. Although
the mount manager is registered to get a notification of VOLUME arrival &
departure using IoRegisterPlugPlayNotification(), When I try to
create/delete a partition, the mount manager’s callback is not getting
called. As a result the drive letter is not assigned by mount manager and
the call to SetVolumeMountPoint(…) never returns.
Although an entry for the new volume gets created under the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\STORAGE\Volume
the interface is not getting added to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
Can you tell me how the OS decides when to add the interface ?
Thanks.