mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:51:58 +00:00
[SHELL32] shlexec: Initial support of App Paths (#4850)
- Fix SHELL_TryAppPathW helper function by using SHRegQueryValueExW function. - Fix SHRegQueryValueExA/W functions. CORE-11335
This commit is contained in:
parent
05d2935eed
commit
140aa11c36
3 changed files with 37 additions and 20 deletions
|
@ -721,6 +721,26 @@ IStream* WINAPI SHGetViewStream(LPCITEMIDLIST, DWORD, LPCTSTR, LPCTSTR, LPCTSTR)
|
|||
|
||||
EXTERN_C HRESULT WINAPI SHCreateSessionKey(REGSAM samDesired, PHKEY phKey);
|
||||
|
||||
LONG WINAPI SHRegQueryValueExA(
|
||||
HKEY hkey,
|
||||
LPCSTR lpValueName,
|
||||
LPDWORD lpReserved,
|
||||
LPDWORD lpType,
|
||||
LPBYTE lpData,
|
||||
LPDWORD lpcbData);
|
||||
LONG WINAPI SHRegQueryValueExW(
|
||||
HKEY hkey,
|
||||
LPCWSTR pszValue,
|
||||
LPDWORD pdwReserved,
|
||||
LPDWORD pdwType,
|
||||
LPVOID pvData,
|
||||
LPDWORD pcbData);
|
||||
#ifdef UNICODE
|
||||
#define SHRegQueryValueEx SHRegQueryValueExW
|
||||
#else
|
||||
#define SHRegQueryValueEx SHRegQueryValueExA
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* INVALID_FILETITLE_CHARACTERS
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue