We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The support for wil::unique_hkey in wil/resource.h is conditionally enabled based on WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) here.
wil::unique_hkey
wil/resource.h
WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
This is out of sync with what protects RegCloseKey() and HKEY. See line 237 in winreg.h in the Windows SDK.
RegCloseKey()
HKEY
winreg.h
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
This means if you don't build with WINAPI_FAMILY defined as WINAPI_FAMILY_DESKTOP_APP you don't get wil::uniquey_hkey.
WINAPI_FAMILY
WINAPI_FAMILY_DESKTOP_APP
wil::uniquey_hkey
This caused problems for a shared library that wil::unique_hkey that needs to be consumed by UWP style apps.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The support for
wil::unique_hkey
inwil/resource.h
is conditionally enabled based onWINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
here.This is out of sync with what protects
RegCloseKey()
andHKEY
. See line 237 inwinreg.h
in the Windows SDK.#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
This means if you don't build with
WINAPI_FAMILY
defined asWINAPI_FAMILY_DESKTOP_APP
you don't getwil::uniquey_hkey
.This caused problems for a shared library that wil::unique_hkey that needs to be consumed by UWP style apps.
The text was updated successfully, but these errors were encountered: