11 Jul
2011
11 Jul
'11
8:20 a.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.