Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SHLimitInputEdit function

[This function is available through Windows XP Service Pack 2 (SP2) and Windows Server 2003. It might be altered or unavailable in subsequent versions of Windows.]

Sets limits on valid characters for an edit control.

Syntax


HRESULT SHLimitInputEdit(
  _In_opt_ HWND         hwndEdit,
  _In_     IShellFolder *psf
);

Parameters

hwndEdit [in, optional]

Type: HWND

The handle of the edit control.

psf [in]

Type: IShellFolder*

An IShellFolder interface pointer. This object must also implement IItemNameLimits, which supplies a list of invalid characters and a maximum name length.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 5.0 or later)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft