search for: namew

Displaying 3 results from an estimated 3 matches for "namew".

Did you mean: name
2011 Aug 13
3
User32::MENU_CopySysPopup problem
When this code may fail? Code: /*********************************************************************** * MENU_CopySysPopup * * Return the default system menu. */ static HMENU MENU_CopySysPopup(BOOL mdi) { static const WCHAR sysmenuW[] = {'S','Y','S','M','E','N','U',0}; static const WCHAR sysmenumdiW[] =
2008 Apr 22
1
HeapAlloc vs. malloc. How does HeapAlloc work?
...L value of include_defs and later there is strcpy() with HeapAlloc as parameter. In dlls/winspool.drv/info.c function 'static LPDEVMODEA DEVMODEdupWtoA(HANDLE heap, const DEVMODEW *dmW)' line 1709 ???? if (pName) { ???????? len = MultiByteToWideChar(CP_ACP, 0, pName, -1, NULL, 0); ??????? nameW = HeapAlloc(GetProcessHeap(), 0, len * sizeof(WCHAR)); ???????? MultiByteToWideChar(CP_ACP, 0, pName, -1, nameW, len); ???? } Again nobody is checking the nameW value. Maybe it is checked inside 'MultiByteToWideChar()' but this function doesn't return any value in this case. There are...
2008 Mar 07
0
Wine release 0.9.57
...d into LoadStringW in AVIBuildFilterW and AVISaveOptionsUpdate. dinput: Fix character count passed to GetKeyNameTextW in SysKeyboardWImpl_GetObjectInfo. shell32: Fix the character count passed to SearchPathW in SHELL_execute. kernel32: Fix the number of characters passed to GetAtomNameW in test_local_get_atom_name. user32: Fix the number of characters passed to GetClassNameW in ClassTest. netapi32: Fix character count passed to GetUserNameW and GetComputerNameW in init_wksta_tests. imm32: Destroy the data of the context passed into ImmDestroyContext, not the dat...