def __getDeviceHandle(self, drive=''):
        '''Returns a properly formatted device handle for DeviceIOControl call.'''
        drive = drive[:1]
        return "\\\\.\\%s:" % drive.upper()
Returns a properly formatted device handle for DeviceIOControl call.
recipes/Python/180919_Windows_CDRom_Module/recipe-180919.py