FStringToPath (LabVIEW Manager Function)
- 更新时间2025-07-30
- 阅读时长2分钟
MgErr FStringToPath(text, p);
Purpose
Creates a path from an LStr. The LStr contains the platform-specific syntax for a path.
Parameters
| Name | Type | Description |
|---|---|---|
| text | LstrHandle | String that contains the path in platform-specific syntax. |
| p | Path * | Address at which FStringToPath stores the resulting path. If nonzero, the function assumes it is a valid path, resizes the path, and fills in its value. If NULL, the function creates a new path, fills in its value, and stores the path at the address referred to by p. 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. |
| mFullErr | 2 |