PathMakeSystemFolder Function

Gives an existing folder the proper attributes to become a system folder.

Syntax

BOOL PathMakeSystemFolder(      
    LPTSTR pszPath );

Parameters

pszPath
[in] 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.

Return Value

Returns nonzero if successful, or zero otherwise.

Function Information

Minimum DLL Versionshlwapi.dll version 4.71 or later
Custom ImplementationNo
Headershlwapi.h
Import libraryshlwapi.lib
Minimum operating systems Windows 2000, Windows NT 4.0 with Internet Explorer 4.0, Windows 98, Windows 95 with Internet Explorer 4.0
UnicodeImplemented as ANSI and Unicode versions.
Tags :


Page view tracker