Determines what type of access (READ/WRITE) is allowed to the specified file/path from the current process.
- Parameters
-
pszFilename | A P6WCHAR pointer to the file/path for which to retrieve information |
nAccess | A P6R::P6FACCESS value that specifies the type of access to test. These values may be OR'd together. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pszFilename is NULL |
P6R::eNotInitialized | The initialize() method was not called successfully before calling this method. |
P6R::eAccess | The requested level of access is not available, or the path/name is invalid. |