PathQuoteSpaces

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

Microsoft documentation: Link

Last updated