Fixed ManipulateGenericDevice() return value to match its intention.