Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IDir::access ( const P6WCHAR pszFilename,
P6FACCESS  nAccess 
)
pure virtual

Determines what type of access (READ/WRITE) is allowed to the specified file/path from the current process.

Parameters
pszFilenameA P6WCHAR pointer to the file/path for which to retrieve information
nAccessA P6R::P6FACCESS value that specifies the type of access to test. These values may be OR'd together.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpszFilename is NULL
P6R::eNotInitializedThe initialize() method was not called successfully before calling this method.
P6R::eAccessThe requested level of access is not available, or the path/name is invalid.