Platform SDK: Removable Storage Manager

Creating and Configuring Media Pools

Applications use media pools to hold media that share common attributes. These attributes are: media type, relationship to the free pool and security. These properties are set on a pool and all media in that pool are then governed by these properties. All media in a pool are of the same type. Accessibility to each cartridge in the pool is governed by the ACL placed on the pool. The media pool used by the application determines what happens when an application requires a new cartridge or is done with a cartridge.

Your application might use two media pools, for example, if it needs to use cartridges of two different types. Similarly, your application might need to use two media pools if it has some cartridges that must only be accessible to certain users and other cartridges that are available to every one.

The following points should be considered when you set the parameters for this function and configure the media pool:

The first task your application should perform, usually when installed, is to create and configure media pools. You can use the CreateNtmsMediaPool function to create media pools.