Partager via


IDebugProgram2::GetName

Gets the name of the program.

HRESULT GetName( 
   BSTR* pbstrName
);
int GetName( 
   out string pbstrName
);

Parameters

  • pbstrName
    [out] Returns the name of the program.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The name returned by this method is always a friendly, user-displayable name that describes the program.

See Also

Reference

IDebugProgram2