3.4.5.1.1 Adding Pack Objects for Dynamic Providers
The server MUST maintain a list of detected dynamic disk packs. When the server discovers a new pack (either during initialization or when a new pack arrives after initialization), it MUST create a corresponding pack object and MUST assign it a unique VDS_OBJECT_ID.
The server MUST set the pack object's provider pointer to the provider object that corresponds to the dynamic provider. The server MUST add the pack object to the list of storage management objects. For each callback object that is registered in the list of callback objects, the server MUST call the callback object's IVdsAdviseSink::OnNotify (Opnum 3) method with a VDS_NOTIFICATION structure that has the following attributes:
objectType member is VDS_NTT_PACK.
Pack member is a VDS_PACK_NOTIFICATION that has the following attributes:
ulEvent is VDS_NF_PACK_ARRIVE.
packId is the VDS_OBJECT_ID of the pack object that was added.