Commit dd5f3b6f authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

dinput: Rename dinput_device_init() to dinput_device_init_device_format().

parent cc5178fe
......@@ -2220,7 +2220,7 @@ static BOOL CALLBACK enum_objects_init( const DIDEVICEOBJECTINSTANCEW *instance,
return DIENUM_CONTINUE;
}
HRESULT dinput_device_init( IDirectInputDevice8W *iface )
HRESULT dinput_device_init_device_format( IDirectInputDevice8W *iface )
{
struct dinput_device *impl = impl_from_IDirectInputDevice8W( iface );
DIDATAFORMAT *format = &impl->device_format;
......
......@@ -125,7 +125,7 @@ struct dinput_device
extern HRESULT dinput_device_alloc( SIZE_T size, const struct dinput_device_vtbl *vtbl, const GUID *guid,
struct dinput *dinput, void **out ) DECLSPEC_HIDDEN;
extern HRESULT dinput_device_init( IDirectInputDevice8W *iface );
extern HRESULT dinput_device_init_device_format( IDirectInputDevice8W *iface );
extern void dinput_device_destroy( IDirectInputDevice8W *iface );
extern BOOL get_app_key(HKEY*, HKEY*) DECLSPEC_HIDDEN;
......
......@@ -546,7 +546,7 @@ static HRESULT WINAPI dinput7_CreateDeviceEx( IDirectInput7W *iface, const GUID
if (FAILED(hr)) return hr;
if (FAILED(hr = dinput_device_init( device )))
if (FAILED(hr = dinput_device_init_device_format( device )))
{
IDirectInputDevice8_Release( device );
return hr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment