MgErr FNamePtr(path, name);
Copies the last component name of a path to the address specified by name. This routine does not allocate space for the returned data. Therefore, name must specify allocated memory of sufficient size to hold the component name.
Name | Type | Description |
---|---|---|
path | Path | Path whose last component name you want to determine. |
name | PStr | Address at which FNamePtr stores the last component name as a Pascal string. This address must specify allocated memory of sufficient size to hold the name. This parameter is a pointer. |
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 |
mFullErr | 2 |