-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
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
Where is InitPropVariantFromString? #1946
Comments
From the "Requirements" section of the documentation page, it looks like it's a header-only function. So it's not actually exposed by any Windows DLLs. |
If I look at the mentioned propvarutil.h I see: win32metadata/generation/WinSDK/RecompiledIdlHeaders/um/propvarutil.h Lines 497 to 517 in f1c1df8
|
Interesting observation about being an inline function. I suspect that's why the clang scanner missed it. The metadata doesn't expect to include macros most of the time, but I don't know about these inline functions. |
|
Discussed in microsoft/CsWin32#1234
Originally posted by optsing July 10, 2024
If I add
InitPropVariantFromString
toNativeMethods.txt
, I get the warning messageWhy is this method missing? What is the correct way to create PROPVARIANT without it?
It's missing from the metadata, but it is a documented function.
The text was updated successfully, but these errors were encountered: