mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 14:43:22 +00:00
[SHLWAPI][SDK] Add IShellFolder_... helper functions (#6893)
Implementing missing features... JIRA issue: CORE-19278 - Implement IShellFolder_GetDisplayNameOf, IShellFolder_ParseDisplayName, and IShellFolder_CompareIDs functions. - Add them to <shlwapi_undoc.h>. - Modify shlwapi.spec. - Add some SHCIDS_... macros into shobjidl.idl. - Provide a macro option SHLWAPI_ISHELLFOLDER_HELPERS to avoid conflict with <shobjidl.h> IShellFolder_... inline functions. Ugly hack but effective!
This commit is contained in:
parent
ae02934445
commit
6c2d1c31dd
4 changed files with 161 additions and 7 deletions
|
@ -218,6 +218,12 @@ interface IShellFolder : IUnknown
|
|||
cpp_quote("#define SFGAO_STORAGEANCESTOR 0x00800000L")
|
||||
cpp_quote("#define SFGAO_STORAGECAPMASK 0x70C50008L")
|
||||
cpp_quote("#define SFGAO_PKEYSFGAOMASK 0x81044000L")
|
||||
typedef ULONG SFGAOF;
|
||||
|
||||
cpp_quote("#define SHCIDS_COLUMNMASK 0x0000FFFFL")
|
||||
cpp_quote("#define SHCIDS_BITMASK 0xFFFF0000L")
|
||||
cpp_quote("#define SHCIDS_CANONICALONLY 0x10000000L")
|
||||
cpp_quote("#define SHCIDS_ALLFIELDS 0x80000000L")
|
||||
|
||||
cpp_quote("#define STR_PARSE_SHELL_PROTOCOL_TO_FILE_OBJECTS L\"Parse Shell Protocol To File Objects\"")
|
||||
cpp_quote("#define STR_FILE_SYS_BIND_DATA L\"File System Bind Data\"")
|
||||
|
@ -225,8 +231,6 @@ interface IShellFolder : IUnknown
|
|||
cpp_quote("#define STR_PARSE_TRANSLATE_ALIASES L\"Parse Translate Aliases\"")
|
||||
cpp_quote("#define STR_DONT_PARSE_RELATIVE L\"Don't Parse Relative\"")
|
||||
|
||||
typedef ULONG SFGAOF;
|
||||
|
||||
HRESULT ParseDisplayName(
|
||||
[in] HWND hwndOwner,
|
||||
[in] LPBC pbcReserved,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue