During boot time I open the mount manager and get the epic number.
I then query the volumes and ask for the Volume paths with
IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATHS and get only the drive letter for
the volume (which is expected at this point).
I then issue a notify IOCTL_MOUNTMGR_CHANGE_NOTIFY with the epic number
and get back STATUS_PENDING (which is expected).
HOWEVER at no time do I get notified with any kind of change. I wait a
while after this system has finished booting (say a minute) and reissue
the IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATHS and get a bunch of volume
paths.
SO why was I not notified when these volume paths came into existence
(or where ready)?
How can I know when they are ready?
NOTE: When my driver loads as automatice all the volume paths are there
on the initial request.
Thanks,
Ken