Closes the specified directory.
The function has the following parameter:
- A pointer to a
PRDirstructure representing the directory to be closed.
- If successful,
- If unsuccessful,
PR_FAILURE. The reason for the failure can be retrieved via
PRDir object is no longer needed, it must be closed and freed with a call to
PR_CloseDir call. Note that after a
PR_CloseDir call, any
PRDirEntry object returned by a previous
PR_ReadDir call on the same
PRDir object becomes invalid.