mirror of
https://github.com/reactos/reactos.git
synced 2026-06-20 17:26:01 +08:00
[SHELL32] Implement SheShortenPathA (#2785)
Implement shell32!SheShortenPathA function.
This commit is contained in:
committed by
GitHub
parent
b7a97a2af2
commit
6c3775f77c
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user