FNamePtr (LabVIEW Manager Function)

MgErr FNamePtr(path, name);

Purpose

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.

Parameters

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.

Return Value

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
noErrNo error.
mgArgErr1
mFullErr2