GetFilePath method

Gets a file path.

Syntax

HRESULT retVal = object.GetFilePath(pbstrPath);

Parameters

  • pbstrPath [out]
    Type: BSTR

    A pointer to the path.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.