Expand Minimize
0 out of 1 rated this helpful - Rate this topic

PathGetShortPath function

[PathGetShortPath is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Retrieves the short path form of a specified input path.

Syntax


void PathGetShortPath(
  _Inout_  PWSTR pszLongPath
);

Parameters

pszLongPath [in, out]

Type: PWSTR

A pointer to a null-terminated, Unicode string that contains the long path. When the function returns, it contains the equivalent short path.

Return value

This function does not return a value.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP with SP2

End of server support

Windows Server 2003

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 5.0 or later)

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.