[Bug 15336] DirectInputCreate(): hInst is ignored; NULL value doesn't result in an error.
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Oct 12 16:55:43 CDT 2012
http://bugs.winehq.org/show_bug.cgi?id=15336
Christian Costa <titan.costa at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |titan.costa at gmail.com
--- Comment #8 from Christian Costa <titan.costa at gmail.com> 2012-10-12 16:55:43 CDT ---
This bug is fixed. DirectInputCreate{A|W|Ex} call Initialize which does the
check of the instance. Please check.
static HRESULT WINAPI IDirectInputAImpl_Initialize(LPDIRECTINPUT7A iface,
HINSTANCE hinst, DWORD version)
{
IDirectInputImpl *This = impl_from_IDirectInput7A( iface );
TRACE("(%p)->(%p, 0x%04x)\n", iface, hinst, version);
if (!hinst)
return DIERR_INVALIDPARAM;
else if (version == 0)
return DIERR_NOTINITIALIZED;
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list