Re: shell32: Use SHStrDupW in IShellFolder2::GetDetailsOf to allocate returned string
2 Nov
2007
2 Nov
'07
8:05 a.m.
Thomas Weidenmueller wrote:
Use SHStrDupW in IShellFolder2::GetDetailsOf to allocate the returned string. pOleStr in the STRRET structure has to be allocated using CoTaskMemAlloc(). SHStrDupW uses CoTaskMemAlloc() whereas StrDupW uses LocalAlloc().
- Thomas ------------------------------------------------------------------------
Index: recyclebin.c =================================================================== RCS file: /home/wine/wine/dlls/shell32/recyclebin.c,v retrieving revision 1.5 diff -u -r1.5 recyclebin.c --- recyclebin.c 11 Jun 2007 13:47:57 -0000 1.5 +++ recyclebin.c 1 Nov 2007 21:58:30 -0000
Please diff it from the top of the source tree. The above should say dlls/shell32/recyclebin.c Vitaliy.
6705
Age (days ago)
6705
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vitaliy Margolen