Re: PathCleanupSpec Windows API function

From: KLinZ (klinz_at_NOSPAMzenobitsSPAMMERTSNO.com.invalid)
Date: 01/07/04


Date: Wed, 7 Jan 2004 00:03:36 +0100

Tim wrote (news:ec7713a5.0401061431.198299ec@posting.google.com):

> Does anyone have any example code that calls the PathCleanupSpec
> windows api function from shell32.dll.
>
> function PathCleanupSpec(pszDir: LPCWSTR; pszSpec: LPWSTR): Integer;
> stdcall;
>
> I have been unable to get this function to work.
> An empty buffer is always returned.

How do you call it? Are the minimum requirements satisfied (windows 2000,
shell32 5.0 or higher).

--
www.zenobits.com