• Advertisement
Sign in to follow this  

No effect?

This topic is 4369 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I get the following error: DI_NOEFFECT The operation had no effect. This value is equal to the S_FALSE standard Component Object Model (COM) return value. On this code:
		returnValue = this->pDevice->GetDeviceData (sizeof(DIDEVICEOBJECTDATA), pBuffer, &this->CurrentObjectsAmount, 0); // <=Error return value
		if (returnValue == DIERR_INPUTLOST || returnValue == DIERR_NOTACQUIRED)
		{
			this->Acquire();
			GlobalErrorWrap::HandleDirectInputError (this->pDevice->GetDeviceData (sizeof(DIDEVICEOBJECTDATA), pBuffer, &this->CurrentObjectsAmount, 0));
		}
		else
			GlobalErrorWrap::HandleDirectInputError (returnValue);
What does this error means? It happend after I return from an Alt-Tab. Althoug upon restore I do acquire before reaching this method again. Should I just ignore this error or try to acquire the device? Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement