Ported CIrrDeviceStub.d, CLogger.d