shlwapi: Forward SHRegDuplicateHKey() to shcore.dll.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c7c91b93ad
commit
3e35bf3889
|
@ -1,4 +1,5 @@
|
||||||
MODULE = shcore.dll
|
MODULE = shcore.dll
|
||||||
|
IMPORTLIB = shcore
|
||||||
IMPORTS = user32 gdi32 ole32 advapi32
|
IMPORTS = user32 gdi32 ole32 advapi32
|
||||||
|
|
||||||
EXTRADLLFLAGS = -mno-cygwin
|
EXTRADLLFLAGS = -mno-cygwin
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
EXTRADEFS = -D_SHLWAPI_
|
EXTRADEFS = -D_SHLWAPI_
|
||||||
MODULE = shlwapi.dll
|
MODULE = shlwapi.dll
|
||||||
IMPORTLIB = shlwapi
|
IMPORTLIB = shlwapi
|
||||||
IMPORTS = uuid user32 gdi32 advapi32 kernelbase
|
IMPORTS = uuid shcore user32 gdi32 advapi32 kernelbase
|
||||||
DELAYIMPORTS = userenv oleaut32 ole32 comctl32 comdlg32 mpr mlang urlmon shell32 winmm version
|
DELAYIMPORTS = userenv oleaut32 ole32 comctl32 comdlg32 mpr mlang urlmon shell32 winmm version
|
||||||
|
|
||||||
EXTRADLLFLAGS = -mno-cygwin
|
EXTRADLLFLAGS = -mno-cygwin
|
||||||
|
|
|
@ -932,26 +932,6 @@ BOOL WINAPI UnregisterExtensionForMIMETypeW(LPCWSTR lpszType)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************************************************
|
|
||||||
* SHRegDuplicateHKey [SHLWAPI.@]
|
|
||||||
*
|
|
||||||
* Create a duplicate of a registry handle.
|
|
||||||
*
|
|
||||||
* PARAMS
|
|
||||||
* hKey [I] key to duplicate.
|
|
||||||
*
|
|
||||||
* RETURNS
|
|
||||||
* A new handle pointing to the same key as hKey.
|
|
||||||
*/
|
|
||||||
HKEY WINAPI SHRegDuplicateHKey(HKEY hKey)
|
|
||||||
{
|
|
||||||
HKEY newKey = 0;
|
|
||||||
|
|
||||||
RegOpenKeyExA(hKey, 0, 0, MAXIMUM_ALLOWED, &newKey);
|
|
||||||
TRACE("new key is %p\n", newKey);
|
|
||||||
return newKey;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The following functions are ORDINAL ONLY:
|
* The following functions are ORDINAL ONLY:
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -720,7 +720,7 @@
|
||||||
@ stdcall SHRegDeleteEmptyUSKeyW(long wstr long)
|
@ stdcall SHRegDeleteEmptyUSKeyW(long wstr long)
|
||||||
@ stdcall SHRegDeleteUSValueA(long str long)
|
@ stdcall SHRegDeleteUSValueA(long str long)
|
||||||
@ stdcall SHRegDeleteUSValueW(long wstr long)
|
@ stdcall SHRegDeleteUSValueW(long wstr long)
|
||||||
@ stdcall SHRegDuplicateHKey (long)
|
@ stdcall -import SHRegDuplicateHKey(long)
|
||||||
@ stdcall SHRegEnumUSKeyA(long long str ptr long)
|
@ stdcall SHRegEnumUSKeyA(long long str ptr long)
|
||||||
@ stdcall SHRegEnumUSKeyW(long long wstr ptr long)
|
@ stdcall SHRegEnumUSKeyW(long long wstr ptr long)
|
||||||
@ stdcall SHRegEnumUSValueA(long long ptr ptr ptr ptr ptr long)
|
@ stdcall SHRegEnumUSValueA(long long ptr ptr ptr ptr ptr long)
|
||||||
|
|
Loading…
Reference in New Issue