Re: [4/5] dinput: Added device's owner username set by SetActionMap and the respective GetProperty to retrieve it
11 Jul
2011
11 Jul
'11
1:20 p.m.
On 07/08/2011 12:01 PM, Lucas Fialho Zawacki wrote:
+ memcpy(ps->wsz, This->owner, strlenW(This->owner)*sizeof(WCHAR)); You can use strcpyW instead. Or even lstrcpynW to guard against buffer overflow.
@@ -1459,10 +1469,22 @@ HRESULT WINAPI IDirectInputDevice8WImpl_SetActionMap(LPDIRECTINPUTDEVICE8W iface LPCWSTR lpszUserName, DWORD dwFlags) You need to modify ascii version of SetActionMap as well.
Vitaliy.
5271
Age (days ago)
5271
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vitaliy Margolen