MgErr FPathToDSString(p, txt);
Converts a path to an LStr and stores the string as a data space zone handle. The LStr contains the platform-specific syntax for the path.
Name | Type | Description |
---|---|---|
p | Path | Path you want to convert to a string. |
txt | LstrHandle * | Address at which FPathToDSString stores the resulting string. If nonzero, the function assumes it is a valid handle, resizes the handle, fills in its value, and stores the handle at the address referred to by txt. 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 |
fIOErr | 6 |