FesfUtil2GetUniversalFilePath Function

Given a file path, which may only be valid within a given session, returns a path which is usable across all sessions on the current system.

Syntax (C++)

std::wstring

FesfUtil2GetUniversalFilePath(std::wstring_view FilePath);

Syntax (C)

DWORD

FesfUtil2GetUniversalFilePath_C(

    [in] LPCWSTR FilePath,

    [out] LPWSTR  ReturnedPath,

    [inout] DWORD* PathBufferSize);

Parameters

FilePath

A file path to query.

Return value

A fully qualified ("UNC") file path that is valid in all sessions.

Throws

Throws an FEU2Exception if an error is encountered.