46logger->Log("SetDataFormat() failed: DIERR_ACQUIRED", Logger::Level::Warn); // The operation cannot be performed while the device is acquired.
47elseif (hr == DIERR_INVALIDPARAM)
48logger->Log("SetDataFormat() failed: DIERR_INVALIDPARAM", Logger::Level::Warn); // An invalid parameter was passed to the returning function, or the object was not in a state that permitted the function to be called. This value is equal to the E_INVALIDARG standard COM return value.
49elseif (hr == DIERR_NOTINITIALIZED)
50logger->Log("SetDataFormat() failed: DIERR_NOTINITIALIZED", Logger::Level::Warn); // This object has not been initialized.