PathRemoveBackslash

[DllImport("shlwapi.dll", CharSet = CharSet.Unicode)]
public static extern IntPtr PathRemoveBackslash(
   [MarshalAs(UnmanagedType.LPWStr)] string pszPath
);

Microsoft documentation: Linkarrow-up-right

Last updated