Compartilhar via


GetFilePathA method

Gets a file path.

Syntax

HRESULT retVal = object.GetFilePathA(pszPath, cbPath);

Parameters

  • pszPath [out]
    Type: LPSTR

    The file path.

  • cbPath [in]
    Type: DWORD

    The path size.

Return value

Type: HRESULT

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