[This is preliminary documentation and subject to change.]
When an application finishes using media, the application can make the media available again by deallocating the media using the DeallocateNtmsMedia function. If the application's media pool has the Return to Scratch property set when the medium is deallocated, the medium is returned to the Scratch pool and a new scratch label is assigned.