[SHELL32][SHELL32_APITEST][SDK] Implement SHGetUserDisplayName (#7612)

Implemementing missing features...
JIRA issue: CORE-19278
- Add netapi32 and secur32 delay importing.
- Move function definition from stubs.cpp into utils.cpp.
- Include some security headers in utils.cpp.
- Adapt <secext.h> to C++.
- Add prototype to <undocshell.h>.
This commit is contained in:
Katayama Hirofumi MZ 2025-01-17 09:33:52 +09:00 committed by GitHub
parent ee5ff8ce0c
commit fcbcaa10a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 114 additions and 14 deletions

View file

@ -1,8 +1,13 @@
#ifndef _SECEXT_H
#define _SECEXT_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef RC_INVOKED
#if (_WIN32_WINNT >= 0x0500)
typedef enum
{
NameUnknown = 0,
@ -34,7 +39,11 @@ BOOLEAN WINAPI TranslateNameW(LPCWSTR,EXTENDED_NAME_FORMAT,EXTENDED_NAME_FORMAT,
#define TranslateName TranslateNameA
#endif
#endif /* ! RC_INVOKED */
#endif /* _WIN32_WINNT >= 0x0500 */
#ifdef __cplusplus
} // extern "C"
#endif
#endif /* ! _SECEXT_H */