search for: strlenw

Displaying 9 results from an estimated 9 matches for "strlenw".

Did you mean: strlen
2010 May 15
2
Wineboot: useless dialog
...n = LoadImageW( 0, (LPCWSTR)IDI_WINLOGO, IMAGE_ICON, 48, 48, LR_SHARED ); SendDlgItemMessageW( hwnd, IDC_WAITICON, STM_SETICON, (WPARAM)icon, 0 ); SendDlgItemMessageW( hwnd, IDC_WAITTEXT, WM_GETTEXT, 1024, (LPARAM)text ); buffer = HeapAlloc( GetProcessHeap(), 0, (strlenW(text) + strlenW(name) + 1) * sizeof(WCHAR) ); sprintfW( buffer, text, name ); SendDlgItemMessageW( hwnd, IDC_WAITTEXT, WM_SETTEXT, 0, (LPARAM)buffer ); HeapFree( GetProcessHeap(), 0, buffer ); } break; } return 0; } Why is this there?...
2008 Apr 22
1
HeapAlloc vs. malloc. How does HeapAlloc work?
...iByteToWideChar()' but this function doesn't return any value in this case. There are places where value returned by HeapAlloc() is checked: In dlls/wininet/internet.h 'static inline LPWSTR WININET_strdupW( LPCWSTR str )' line 82: ??? LPWSTR ret = HeapAlloc( GetProcessHeap(), 0, (strlenW(str) + 1)*sizeof(WCHAR) ); ??? if (ret) strcpyW( ret, str ); ??? return ret; Could somebody explain me the behavior of Wine HeapAlloc() and its family? Thank you, cunha
2018 Dec 14
0
Wine release 4.0-rc2
...riched32: Handle enter press in WM_CHAR instead of WM_KEYDOWN. François Gouget (6): user32/tests: Make test_LoadImage_working_directory_run() static. rpcrt4/tests: Make create_server_process() static. dbghelp: Make symt_get_best_at() static. shell32: Avoid an unneeded strlenW() call. winetest: Tweak the wording of an error message. cryptui: Avoid an unneeded strlen() call. Gabriel Ivăncescu (1): user32: Fix tracking position for non-client scrollbars. Huw D. M. Davies (1): ole32: Don't free handles that are just copied in the inproc case....
2007 Apr 27
0
Wine release 0.9.36
...sEx{A, W}. expand.exe: Add support for cabinet files. Huw Davies (5): user32: Keep track of whether the app has asked for the text buffer handle. user32: Add a function to return the length of the text buffer. user32: Cache the text buffer length to avoid excessive calls to strlenW. oleaut32: Don't try to free the typeinfo if get_funcdesc fails. oleaut32: Rewrite get_funcdesc to avoid using the funcdesc's oVft member so that it works correctly for non-dual dispinterfaces. Hwang YunSong(???) (2): cmd: Updated Korean resource. cmd: Updated Korea...
2016 May 27
0
Wine release 1.9.11
...d3d10_effect_type_destroy() in d3d10_effect_local_buffer_destroy(). d3d10: Names and semantics are allowed to be NULL (AFL). d3d10: Validate the data size in parse_fx10() (AFL). d3d10: Validate the base offset in parse_fx10_body() (AFL). Hugh McMaster (4): reg: Avoid using strlenW to check if a string is valid. reg: Update general help logic. reg: Update the general usage message. reg: Inform users about the 'add/delete/query /?' command. Huw D. M. Davies (1): fonts: Fix typo in glyph name. Jacek Caban (40): wininet: Fixed internet tes...
2008 Mar 21
0
Wine release 0.9.58
...id handles. wininet: Allow HTTP_DoAuthorization to accept a NULL username/domain in the non-Basic case. wininet: Retrieve the maximum token length from the SSP and use a buffer of that length in calls to InitializeSecurityContextW. secur32: Fix ntlm_GetCachedCredential to not call strlenW on a NULL pointer. makefiles: Simplify the use of the MODULE variable in static import libraries. rpcrt4: Check that the input to RPCRT4_strndupW was not NULL before assuming that the string couldn't be allocated due to lack of memory. rpcrt4: Fix -Oi interpreter for base type...
2019 Dec 13
0
Wine release 5.0-rc1
...allyInstalledSystemMemory() fails. winhttp/tests: Fix the spelling of ok() and skip() messages and a comment. oleaut32: Fix the spelling of a FIXME() message. user32/tests: Fix the spelling of an ok() message. winedbg: Avoid unneeded strlen() calls. cmd: Avoid unneeded strlenW() calls. msado15: Fix the name of the GetString() delimiter parameters. jscript: Fix the spelling of a couple of comments. riched32/tests: Avoid an unneeded strlen() call. msvcrt/tests: Avoid an unneeded strlen() call. qcap/tests: Avoid an unneeded lstrlenW() call....
2020 Apr 10
0
Wine release 5.6
...ad of strcpyW(). ntdll: Use wcscat() instead of strcatW(). ntdll: Use wcschr() instead of strchrW(). ntdll: Use wcspbrk() instead of strpbrkW(). ntdll: Use wcsrchr() instead of strrchrW(). ntdll: Use wcstoul() instead of strtoulW(). ntdll: Use wcslen() instead of strlenW(). ntdll: Use wcscspn() instead of strcspnW(). ntdll: Use wcsspn() instead of strspnW(). ntdll: Use wcscmp() instead of strcmpW(). ntdll: Use wcsncmp() instead of strncmpW(). kernel32: Reimplement Get/WritePrivateProfileStructW functions using exported APIs. kern...
2008 Mar 07
0
Wine release 0.9.57
...at declared in the headers. dxdiagn: Fix the variable that the result of GetFileVersionInfoW is assigned to in DXDiag_AddFileDescContainer. kernel32: Fix use of uninitialised nameW and typeW in find_resourceA. kernel32: Fix typo in UTUnRegister. quartz: Don't assume that strlenW of a constant string can be determined at compile time. Include config.h and wine/port.h in files that use snprintf. inetcomm: Add default case to sub_stream_Seek to avoid using uninitialised memory. gdi32: Move 16-bit printing functions to printdrv16.c. wininet: Fix compile...