Huw Davies (@huw) commented about dlls/sapi/token.c:
static HRESULT WINAPI data_key_SetStringValue( ISpRegDataKey *iface, LPCWSTR name, LPCWSTR value ) {
- FIXME( "stub\n" );
- return E_NOTIMPL;
- struct data_key *This = impl_from_ISpRegDataKey( iface );
- DWORD ret, size;
- TRACE( "%p, %s, %s\n", This, debugstr_w(name), debugstr_w(value) );
- if (!This->key)
return E_HANDLE;
- size = (lstrlenW(value) + 1) * sizeof(WCHAR);
```suggestion:-0+0 size = (wcslen(value) + 1) * sizeof(WCHAR); ```
These days (now that we link against msvcrt) we can use `wcslen()` (unless we really need the exception handler).