FesfUtil2GetFullyQualifiedPath Function

Given a Volume GUID and a path relative to that Volume GUID, returns a fully qualified path specification for the file, as well as an indication as to whether the file is likely to be accessed via the network.

Syntax (C++)

std::pair<std::wstring, bool>

FesfUtil2GetFullyQualifiedPath(
      GUID VolumeGUID,

      std::wstring_view RelativePath);

Syntax (C)

DWORD

FesfUtil2GetFullyQualifiedPath_C(

     [in] GUID    VolumeGUID,

     [in] LPCWSTR RelativePath,

     [out] BOOL*  IsNetworkPath,

     [out] PWSTR   ReturnedPath,

     [inout] DWORD* PathBufferSize));

Parameters

VolumeGUID

A Windows Volume ID, or the FESF-reserved values FE_NETWORK_GUID, FE_SHADOW_VOLUME_GUID, or GUID_NULL.

RelativePath

A file path specification relative to the VolumeGUID.

Return value

A string containing a fully qualified path for the file, plus a bool indicating whether the returned path represents a path on the network.

Throws

Throws an FEU2Exception if an error is encountered.

Replaces

IFesfUtil:: GetFullyQualifiedLocalPath