共用方式為


NetAddr_DisplayErrorTip巨集 (shellapi.h)

在與網路位址控件相關聯的氣球提示中顯示錯誤訊息。

語法

HRESULT NetAddr_DisplayErrorTip(
  [in]  HWND hwnd
);

參數

[in] hwnd

網路位址控件的句柄。

返回值

類型:HRESULT

備註

呼叫這個巨集,當輸入 控件的位址未針對使用巨集設定的允許網路位址類型進行驗證時,顯示錯誤訊息 NetAddr_SetAllowType。 使用巨集 NetAddr_GetAddress 來驗證位址。

需求

要求 價值觀
最低支援的用戶端 Windows Vista [僅限傳統型應用程式]
支援的最低伺服器 Windows Server 2008 [僅限傳統型應用程式]
目標平臺 窗戶
頁首 shellapi.h

另請參閱

NetAddr_GetAllowType