/// <summary>
/// Removes any arguments from a given path.
/// </summary>
/// <param name="lpszPath">Pointer to a null-terminated string of length MAX_PATH that contains the path from which to remove arguments.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathRemoveArgsW", SetLastError = true, CharSet = CharSet.Unicode)]
static extern void PathRemoveArgs([MarshalAs(UnmanagedType.LPTStr)]System.Text.StringBuilder lpszPath);
''' <summary>
''' Removes any arguments from a given path.
''' </summary>
''' <param name="lpszPath">Pointer to a null-terminated string of length MAX_PATH that contains the path from which to remove arguments.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathRemoveArgsW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
Public sub PathRemoveArgs(<MarshalAs(UnmanagedType.LPTStr)>lpszPath As System.Text.StringBuilder)
End sub
Public Declare Sub PathRemoveArgs Lib "shlwapi" Alias "PathRemoveArgsA" _
(ByVal pszPath As String)
None.
Do you know one? Please contribute it!
None.
Please add some!
Please add some!