共用方式為


IDebugControl2::OutputTextReplacements 方法 (dbgeng.h)

OutputTextReplacements 方法會將目前定義的所有使用者命名別名列印至調試程式的輸出數據流。

語法

HRESULT OutputTextReplacements(
  [in] ULONG OutputControl,
  [in] ULONG Flags
);

參數

[in] OutputControl

指定列印別名時要使用的輸出控制件。 如需可能的值,請參閱 DEBUG_OUTCTL_XXX

[in] Flags

必須設定為 DEBUG_OUT_TEXT_REPL_DEFAULT。

傳回值

這個方法也可能傳回錯誤值。 如需詳細資訊,請參閱 傳回值

傳回碼 描述
S_OK
方法成功。

言論

如需 調試程式引擎所使用的別名概觀,請參閱 使用別名。 如需搭配除錯程式引擎 API 使用別名的詳細資訊,請參閱 與引擎互動

要求

要求 價值
目標平臺 桌面
標頭 dbgeng.h (include Dbgeng.h)

另請參閱

GetNumberTextReplacements

GetTextReplacement

IDebugControl2

IDebugControl3

RemoveTextReplacements

SetTextReplacement

al (列出別名)