OutputDebugStringWrapW 函式

[此函式可用於 Windows XP。 後續版本可能無法使用。 在其位置使用 OutputDebugStringW 。]

將 Unicode 字串傳送至偵錯工具以供顯示。

注意

OutputDebugStringWrapWOutputDebugStringW 函式的包裝函式。 如需進一步的使用注意事項,請參閱 OutputDebugString 頁面。

 

語法

void OutputDebugStringWrapW(
  _In_ LPCWSTR lpOutputString
);

參數

lpOutputString [in]

類型: LPCWSTR

要顯示的 Null 終止 Unicode 字串指標。

傳回值

此函式不會傳回值。

備註

OutputDebugStringWrapW 可讓您在 Windows XP 之前的作業系統中使用 Unicode 字串。 慣用的方法是搭配使用 OutputDebugStringW 與 Microsoft Layer for Unicode (MSLU) 。

OutputDebugStringWrapW 必須使用序數 115 直接從Shlwapi.dll呼叫。

如果應用程式沒有偵錯工具,系統偵錯工具會顯示字串。 如果應用程式沒有偵錯工具,而且系統偵錯工具沒有作用中, OutputDebugStringWrapW 不會執行任何動作。

規格需求

需求
最低支援的用戶端
Windows 2000 Professional、Windows XP [僅限桌面應用程式]
最低支援的伺服器
Windows Server 2003 [僅限桌面應用程式]
標頭
Shlwapip.h
DLL
Shlwapi.dll (5.0 版或更新版本)

另請參閱

OutputDebugString