Sign in to follow this  
The C modest god

No effect?

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this