Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DIRECTORY_FLAGS
enumeration defines the flags that can be used with the CreateDirectory2 function to specify how the directory should be created.
Syntax
typedef enum DIRECTORY_FLAGS {
DIRECTORY_FLAGS_NONE,
DIRECTORY_FLAGS_DISALLOW_PATH_REDIRECTS
} ;
Constants
DIRECTORY_FLAGS_NONE Indicates that no flags are set. |
DIRECTORY_FLAGS_DISALLOW_PATH_REDIRECTS Prevent specified path name from being redirected by reparse points or symbolic links. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 24H2 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2025 [desktop apps | UWP apps] |
Header | fileapi.h (include Windows.h) |