MgErr FDirName(path, dir);
Creates a path for the parent directory of a specified path. You can pass the same path variable for the parent path that you use for path. Therefore, you can call this function in the following two ways:
Name | Type | Description |
---|---|---|
path | Path | Path whose parent path you want to determine. |
dir | Path | Parameter in which FDirName stores the parent path. |
MgErr, which can contain the following errors. If you receive errors from LabVIEW Manager functions, most error names correspond to LabVIEW error codes.
Value | Corresponding Error Code or Description |
---|---|
noErr | No error. |
mgArgErr | 1 |