共用方式為


IAgentCharacter::GetDescription

[Microsoft代理程式從 Windows 7 開始已被取代,而且可能無法在後續版本的 Windows 中使用。]

HRESULT GetDescription(
   BSTR * pbszDescription   // address of buffer for character description
); 

擷取字元的描述。

  • 傳回S_OK,表示作業成功。

pbszDescription

BSTR 的位址,接收字元的描述值。 使用Microsoft代理程式字元編輯器編譯時,會定義字元的描述。 描述設定是選擇性的,可能無法為所有字元提供。