共用方式為


GetName method

Gets the Java file name.

Syntax

HRESULT retVal = object.GetName(dwType, pbstrName);

Parameters

  • dwType [in]
    Type: DWORD

    A flag.

  • pbstrName [out]
    Type: BSTR

    A pointer to a file name.

Return value

Type: HRESULT

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