[INCLUDE][SHELL32_APITEST] Add SHLimitInputEdit testcase (#2053)

- Add IItemNameLimits interface into shobjidl.idl.
- Add a testcase for shell32!SHLimitInputEdit function.
CORE-11701
This commit is contained in:
Katayama Hirofumi MZ 2019-11-18 20:02:18 +09:00 committed by GitHub
parent 9420daee3d
commit 6cc8e7db4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 399 additions and 0 deletions

View file

@ -4745,4 +4745,22 @@ interface IUserNotification2 : IUnknown
[in, string] LPCWSTR pszSoundName);
};
/*****************************************************************************
* IItemNameLimits interface
*/
[
uuid(1df0d7f1-b267-4d28-8b10-12e23202a5c4)
]
interface IItemNameLimits : IUnknown
{
HRESULT GetValidCharacters(
[out, string] LPWSTR *ppwszValidChars,
[out, string] LPWSTR *ppwszInvalidChars);
HRESULT GetMaxLength(
[in, string] LPCWSTR pszName,
[out] int *piMaxNameLen);
};
#endif // __REACTOS__