PathFindNextComponent (shlwapi)
Last changed: pdellera-24.5.99.244

.
Summary
Parses a path for the next path component.

C# Signature:

[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
static extern String PathFindNextComponent([In] String pszPath);

VB Signature:

Declare Function PathFindNextComponent Lib "shlwapi.dll" (TODO) As TODO

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

string str = @"c:\path1\path2\test";
str = PathFindNextComponent(str);
// Result: str  == @"path1\path2\test"

Alternative Managed API:

Do you know one? Please contribute it!

Documentation