ShlwApiPathMakeSystemFolder Method
Gives an existing folder the proper attributes to become a system folder.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("ShlwApi.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)]
public static bool PathMakeSystemFolder(
string path
)
<DllImportAttribute("ShlwApi.dll", CharSet := CharSet.Auto, BestFitMapping := false,
ThrowOnUnmappableChar := true, SetLastError := true>]
Public Shared Function PathMakeSystemFolder (
path As String
) As Boolean
Dim path As String
Dim returnValue As Boolean
returnValue = ShlwApi.PathMakeSystemFolder(path)
public:
[DllImportAttribute(L"ShlwApi.dll", CharSet = CharSet::Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)]
static bool PathMakeSystemFolder(
String^ path
)
[<DllImportAttribute("ShlwApi.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)>]
static member PathMakeSystemFolder :
path : string -> bool
No code example is currently available or this language may not be supported.
- path String
-
A pointer to a null-terminated string of length MAX_PATH that contains the name of an existing folder
that will be made into a system folder.
Boolean
Returns
if successful, or
otherwise.