Export (0) Print
Expand All

NetAddr_DisplayErrorTip macro

Displays an error message in the balloon tip associated with the network address control.

Syntax


HRESULT NetAddr_DisplayErrorTip(
  [in]  HWND hwnd
);

Parameters

hwnd [in]

A handle to the network address control.

Return value

If this macro succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Call this macro to display an error message when an address typed into the control does not validate against the allowed network address types set with macro NetAddr_SetAllowType. Use the macro NetAddr_GetAddress to validate the address.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shellapi.h

See also

NetAddr_GetAllowType

 

 

Community Additions

ADD
Show:
© 2014 Microsoft