mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:35:45 +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
|
WINAPI
|
||||||
SheShortenPathA(LPSTR lpPath, BOOL bShorten)
|
SheShortenPathA(LPSTR lpPath, BOOL bShorten)
|
||||||
{
|
{
|
||||||
FIXME("SheShortenPathA() stub\n");
|
BOOL ret;
|
||||||
return FALSE;
|
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…
Add table
Add a link
Reference in a new issue