Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IDir::mkdir ( const P6WCHAR pszPathname,
P6FILEMODE  nMode 
)
pure virtual

Creates a new directory.

If the underlying filesystem supports security, the specified P6FILEMODE will be applied to the newly created directory. Developers should always specify a valid filemode that is the most restrictive possible for the situation. This will help to minimize security problems.

Parameters
pszPathnameA pointer to a P6WCHAR string containing the pathname of the directory to be created.
nModeIf the underlying filsystem supports it, a P6FILEMODE specified the type of access allowed for the new directory.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpszPathname is NULL
P6R::eNotInitializedThe initialize() method was not called successfully before calling this method.
Any valid P6ERR