mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 18:33:20 +00:00
[SHELL32] Implement ExtractIconResInfoA (#5846)
- Add ExtractIconResInfoA implementation. - Add ExtractIconResInfo prototype to <undocshell.h>.
This commit is contained in:
parent
9dfb3e8e05
commit
81e936486e
3 changed files with 43 additions and 20 deletions
|
@ -65,6 +65,27 @@ PathIsSlowA(
|
|||
return PathIsSlowW(strFileW, dwAttr);
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* ExtractIconResInfoA (SHELL32.221)
|
||||
*/
|
||||
EXTERN_C
|
||||
WORD WINAPI
|
||||
ExtractIconResInfoA(
|
||||
_In_ HANDLE hHandle,
|
||||
_In_ LPCSTR lpFileName,
|
||||
_In_ WORD wIndex,
|
||||
_Out_ LPWORD lpSize,
|
||||
_Out_ LPHANDLE lpIcon)
|
||||
{
|
||||
TRACE("(%p, %s, %u, %p, %p)\n", hHandle, debugstr_a(lpFileName), wIndex, lpSize, lpIcon);
|
||||
|
||||
if (!lpFileName)
|
||||
return 0;
|
||||
|
||||
CStringW strFileNameW(lpFileName);
|
||||
return ExtractIconResInfoW(hHandle, strFileNameW, wIndex, lpSize, lpIcon);
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* SHOpenEffectiveToken (SHELL32.235)
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue