shell32/tests: ILFree is not exported on all versions

Vitaliy Margolen wine-devel at
Wed Jun 29 09:22:54 CDT 2005

Wednesday, June 29, 2005, 7:47:38 AM, you wrote:
> * On Wed, 29 Jun 2005, Vitaliy Margolen wrote:
>> By a looks of it wine using same IMalloc interface for both. Native, 
>> including XP and server 2003 still export SHGetMalloc.
>> In other words I don't see a problem using SHGetMalloc on wine and all 
>> of native versions.

> Not a problem, just a message from MSDN [1]:

> | SHGetMalloc Function
> | Not currently supported.
> | 
> | Remarks
> |     This function should no longer be used. Use the CoTaskMemFree and 
> | CoTaskMemAlloc functions in its place.

> Plus CoTaskMemFree() lets us get rid of one global variable. :-P
> No, this isn't a persuading act.  This might be more of my question:
> --Why MS decided to write about stopping to support this function?
That's what they do - screwing people up.

> [1]
Yeh, I read that. There is no way they can delete SHGetMalloc without braking
huge number of programs. BTW on Win CE it's still what they suggest.

And the last note: this patch made it in :P


More information about the wine-devel mailing list