mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 21:48:19 +00:00
[SHELL32][SDK] Implement ShortSizeFormatW (#5829)
- Implement ShortSizeFormatW. - Add ShortSizeFormatW prototype into <undocshell.h>. - Modify shell32.spec.
This commit is contained in:
parent
81e936486e
commit
2ccdd87809
4 changed files with 19 additions and 12 deletions
|
@ -200,7 +200,7 @@
|
||||||
201 stdcall -noname SHDesktopMessageLoop(ptr)
|
201 stdcall -noname SHDesktopMessageLoop(ptr)
|
||||||
202 stub -noname DDEHandleViewFolderNotify
|
202 stub -noname DDEHandleViewFolderNotify
|
||||||
203 stdcall -noname AddCommasW(long wstr)
|
203 stdcall -noname AddCommasW(long wstr)
|
||||||
204 stdcall -noname ShortSizeFormatW(double)
|
204 stdcall -noname ShortSizeFormatW(long ptr)
|
||||||
205 stdcall -noname Printer_LoadIconsW(wstr ptr ptr)
|
205 stdcall -noname Printer_LoadIconsW(wstr ptr ptr)
|
||||||
206 stdcall ExtractAssociatedIconA(long str ptr)
|
206 stdcall ExtractAssociatedIconA(long str ptr)
|
||||||
207 stdcall ExtractAssociatedIconExA(long str long long)
|
207 stdcall ExtractAssociatedIconExA(long str long long)
|
||||||
|
|
|
@ -14,17 +14,6 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
||||||
|
|
||||||
/*
|
|
||||||
* Unimplemented
|
|
||||||
*/
|
|
||||||
EXTERN_C LPWSTR
|
|
||||||
WINAPI
|
|
||||||
ShortSizeFormatW(LONGLONG llNumber)
|
|
||||||
{
|
|
||||||
FIXME("ShortSizeFormatW() stub\n");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unimplemented
|
* Unimplemented
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -86,6 +86,19 @@ ExtractIconResInfoA(
|
||||||
return ExtractIconResInfoW(hHandle, strFileNameW, wIndex, lpSize, lpIcon);
|
return ExtractIconResInfoW(hHandle, strFileNameW, wIndex, lpSize, lpIcon);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*************************************************************************
|
||||||
|
* ShortSizeFormatW (SHELL32.204)
|
||||||
|
*/
|
||||||
|
EXTERN_C
|
||||||
|
LPWSTR WINAPI
|
||||||
|
ShortSizeFormatW(
|
||||||
|
_In_ DWORD dwNumber,
|
||||||
|
_Out_writes_(0x8FFF) LPWSTR pszBuffer)
|
||||||
|
{
|
||||||
|
TRACE("(%lu, %p)\n", dwNumber, pszBuffer);
|
||||||
|
return StrFormatByteSizeW(dwNumber, pszBuffer, 0x8FFF);
|
||||||
|
}
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
* SHOpenEffectiveToken (SHELL32.235)
|
* SHOpenEffectiveToken (SHELL32.235)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -700,6 +700,11 @@ LargeIntegerToString(
|
||||||
_In_opt_ const NUMBERFMTW *pNumberFormat,
|
_In_opt_ const NUMBERFMTW *pNumberFormat,
|
||||||
_In_ DWORD dwNumberFlags);
|
_In_ DWORD dwNumberFlags);
|
||||||
|
|
||||||
|
LPWSTR WINAPI
|
||||||
|
ShortSizeFormatW(
|
||||||
|
_In_ DWORD dwNumber,
|
||||||
|
_Out_writes_(0x8FFF) LPWSTR pszBuffer);
|
||||||
|
|
||||||
BOOL WINAPI SHOpenEffectiveToken(_Out_ LPHANDLE phToken);
|
BOOL WINAPI SHOpenEffectiveToken(_Out_ LPHANDLE phToken);
|
||||||
DWORD WINAPI SHGetUserSessionId(_In_opt_ HANDLE hToken);
|
DWORD WINAPI SHGetUserSessionId(_In_opt_ HANDLE hToken);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue