FPathToDSString (LabVIEW Manager Function)
- Updated2025-01-28
- 1 minute(s) read
FPathToDSString (LabVIEW Manager Function)
MgErr FPathToDSString(p, txt);
Purpose
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.
Parameters
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. |
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 |
---|---|
noErr | No error. |
mgArgErr | 1 |
mFullErr | 2 |
fIOErr | 6 |