How do I use unqualified names? #1012
Answered
by
AArnott
Gavin-Williams
asked this question in
Q&A
-
I want to use the CreateWaitableTimer function, but I'm getting a warning that the method name is ambiguous, and I should use the fully qualified name. But I just want to use the function as documented here Using Waitable Timer Objects. |
Beta Was this translation helpful? Give feedback.
Answered by
AArnott
Aug 10, 2023
Replies: 1 comment 1 reply
-
I don't know why CsWin32 is emitting that error, since it's supposed to default to the W suffixed variants. I'll look into it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, the reason is because the
CreateWaitableTimer
variants and related functions are in distinct namespaces:I filed a bug against the win32metadata repo to fix this.