From: rogero on
On Jan 27, 4:25 pm, Kerem Gümrükcü <kareem...(a)hotmail.com> wrote:

> > BTW: MSDN online says that PathMakeUniqueName is suppported on W2K as
> > well.
>
> I am always very cautious on functions i never used or know, so i always
> check
> first whether there is a (implemented) export of the function on the named
> library
> and this time i was right on checking it, because my up2date W2k system does
> NOT have such a export in the library! Yes, MSDN says that, but in fact it
> seems to
> be wrong since i do have a shell32.dll (5.00.3900.7155) on my W2k and it
> does
> NOT export that function at least it has no named export! But MSDN says:
>
> Minimum DLL Version shell32.dll version 5.0 or later
> Custom Implementation No
> Header shlobj.h
> Import library shell32.lib
> Minimum operating systems Windows 2000
>
> Thats simply wrong!
>
> And what export name is that "PathYetAnotherMakeUniqueName", available
> since >=XP  *g*

Ah - they're exported by ordinal not by name.
PathMakeUniqueName is ordinal #47 in shell32.dll on W2K

Regards,
Roger.