mirror of
https://github.com/reactos/wine.git
synced 2025-02-08 21:27:31 +00:00
shell32: Make ILGetDisplayNameExA() static, remove WINAPI and fix its documentation.
This commit is contained in:
parent
a3f8fd71e1
commit
54b2984de2
@ -59,7 +59,7 @@ static LPSTR _ILGetSTextPointer(LPCITEMIDLIST pidl);
|
||||
static LPWSTR _ILGetTextPointerW(LPCITEMIDLIST pidl);
|
||||
|
||||
/*************************************************************************
|
||||
* ILGetDisplayNameEx [SHELL32.186]
|
||||
* ILGetDisplayNameExA
|
||||
*
|
||||
* Retrieves the display name of an ItemIDList
|
||||
*
|
||||
@ -75,7 +75,7 @@ static LPWSTR _ILGetTextPointerW(LPCITEMIDLIST pidl);
|
||||
* RETURNS
|
||||
* True if the display name could be retrieved successfully, False otherwise
|
||||
*/
|
||||
BOOL WINAPI ILGetDisplayNameExA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPSTR path, DWORD type)
|
||||
static BOOL ILGetDisplayNameExA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPSTR path, DWORD type)
|
||||
{
|
||||
BOOL ret = FALSE;
|
||||
WCHAR wPath[MAX_PATH];
|
||||
@ -160,6 +160,9 @@ BOOL WINAPI ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR pa
|
||||
return SUCCEEDED(ret);
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* ILGetDisplayNameEx [SHELL32.186]
|
||||
*/
|
||||
BOOL WINAPI ILGetDisplayNameEx(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPVOID path, DWORD type)
|
||||
{
|
||||
TRACE_(shell)("%p %p %p %d\n", psf, pidl, path, type);
|
||||
|
@ -270,7 +270,6 @@ void _ILFreeaPidl(LPITEMIDLIST * apidl, UINT cidl);
|
||||
LPITEMIDLIST * _ILCopyaPidl(const LPCITEMIDLIST * apidlsrc, UINT cidl);
|
||||
LPITEMIDLIST * _ILCopyCidaToaPidl(LPITEMIDLIST* pidl, const CIDA * cida);
|
||||
|
||||
BOOL WINAPI ILGetDisplayNameExA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPSTR path, DWORD type);
|
||||
BOOL WINAPI ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR path, DWORD type);
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user