FFlattenPath (LabVIEW Manager Function)

int32 FFlattenPath(p, fp);

Purpose

Converts path into a flat form that you can use to write the path as information to a file. This function stores the resulting flat path in a pre-allocated buffer and returns the number of bytes.

To determine the size needed for the flattened path, pass NULL for fp. The function returns the necessary size without writing anything into the location pointed to by fp.

Parameters

Name Type Description
path Path Path you want to flatten.
fp UPtr Address in which FFlattenPath stores the resulting flattened path. If NULL, FFlattenPath does not write anything to this address, but does return the size that the flattened path would require. This parameter is a pointer.

Return Value

int32, indicating the number of bytes required to store the flattened path.