Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Shell
Shell Reference
Path Functions
 PathMakeSystemFolder Function
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 What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker