This method can be used to retrieve the location of the specified directory.
- Parameters
-
nDir | [ in ] A value from the P6DIRS enumeration that specifies which directory to retrieve. |
pBuffer | [ in ] A pointer to a P6R::P6WCHAR * buffer in which will be placed the requested directory path. |
cBuffer | [ in ] The length in characters of the buffer pointed to by pBuffer. |
pcWritten | [ out ] [OPTIONAL] The address of a P6SIZE in which to place the number of characters written to pBuffer. |
- Returns
Success | P6R::eOk | The pathname was successfully placed in pBuffer. |
Failure | P6R::eInvalidArg | Either pBuffer or pcBuffer is NULL. *pcBuffer is zero, or nDir is not a valid value. |
P6R::eTooSmall | pszBuffer was too small, The required buffer size has been placed in pcBuffer. |
- See Also
- P6DIRS