Separates a full path into server, volume, and directory specifications
#include <stdlib.h>
#include <nwdir.h>
int ParsePath (
char *path,
char *server,
char *volume,
char *directories);
(IN) Points to the string containing the path to be parsed and can include a server name (255 character maximum).
(OUT) Points to the buffer in which to return the server name (48 character maximum).
(OUT) Points to the buffer in which to return the volume name (16 character maximum).
(OUT) Points to the buffer in which to return the directory specification (255 character maximum).
ParsePath parses the given path and separates it into server, volume, and directory specifications. Even if the path is not complete (or it is relative to the current working directory), ParsePath returns the complete path specification.
Strings for the server, volume, and directories parameters are always converted to uppercase characters.