short path name to long path name

Hi All,
Is there any kernel routine or method to convert a short path name to
long path name in windows xp?

eg:
c:\Progra~1\Sample~1\xxxx.exe to
c:\Program Files\Sample app\xxxx.exe

Thanx in advance,
binoj.

Hi All,
Is there any kernel routine or method to convert a short path name to
long path name in windows xp?

eg:
c:\Progra~1\Sample~1\xxxx.exe to
c:\Program Files\Sample app\xxxx.exe

Thanx in advance,
binoj.