mirror of
https://github.com/reactos/reactos.git
synced 2025-06-25 22:09:45 +00:00
[PSDK][SHELL32][SHELLEXT] Add SHCreateFileExtractIconW() to the PSDK and SAL-annotate it. (#4223)
Note that even if the MS PSDK and MSDN documents an hypothetical ANSI version SHCreateFileExtractIconA(), this one never existed exported in any Windows version!
This commit is contained in:
parent
14dbd66d88
commit
d7722f39fb
4 changed files with 30 additions and 16 deletions
|
@ -2091,6 +2091,28 @@ SHBindToParent(
|
|||
_Outptr_ LPVOID *ppv,
|
||||
_Outptr_opt_ PCUITEMID_CHILD *ppidlLast);
|
||||
|
||||
/****************************************************************************
|
||||
* SHCreateFileExtractIcon API
|
||||
*/
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXP)
|
||||
|
||||
// NOTE: Even if documented on MSDN, the SHCreateFileExtractIconA()
|
||||
// ANSI function never existed on Windows!
|
||||
|
||||
HRESULT
|
||||
WINAPI
|
||||
SHCreateFileExtractIconW(
|
||||
_In_ LPCWSTR pszFile,
|
||||
_In_ DWORD dwFileAttributes,
|
||||
_In_ REFIID riid,
|
||||
_Outptr_ void **ppv);
|
||||
|
||||
#ifdef UNICODE
|
||||
#define SHCreateFileExtractIcon SHCreateFileExtractIconW
|
||||
#endif
|
||||
|
||||
#endif /* (NTDDI_VERSION >= NTDDI_WINXP) */
|
||||
|
||||
/****************************************************************************
|
||||
* SHDefExtractIcon API
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue