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