association of a physical driver object with its logical contents in a logical driver object by identifying the logical driver object and using a non - operating system component to cause recreation of the physical driver object . a handle and a memory address of a logical driver object are obtained and the handle is locked to prevent its movement in memory . a clone of the logical driver object is created , whereupon the contents of the logical driver object and the contents of the clone are swapped . the clone is then deleted . subsequent reselection of the logical driver object into a device context results in an observable recreation of a corresponding physical driver object .