mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
[SHELL32] Implement SheShortenPathA (#2785)
Implement shell32!SheShortenPathA function.
This commit is contained in:
parent
b7a97a2af2
commit
6c3775f77c
1 changed files with 6 additions and 2 deletions
|
@ -453,8 +453,12 @@ EXTERN_C BOOL
|
|||
WINAPI
|
||||
SheShortenPathA(LPSTR lpPath, BOOL bShorten)
|
||||
{
|
||||
FIXME("SheShortenPathA() stub\n");
|
||||
return FALSE;
|
||||
BOOL ret;
|
||||
WCHAR szPath[MAX_PATH];
|
||||
MultiByteToWideChar(CP_ACP, 0, lpPath, -1, szPath, _countof(szPath));
|
||||
ret = SheShortenPathW(szPath, bShorten);
|
||||
WideCharToMultiByte(CP_ACP, 0, szPath, -1, lpPath, MAX_PATH, NULL, NULL);
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue