You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a follow-up to microsoft/windows-rs#2476 (comment)
Ideally, Win32 APIs that return a sentinel on failure would be annotated as such, so that the associated projection can implicitly handle these as error conditions.
Examples of such APIs: ExpandEnvironmentStringsW (returns 0 on failure) or ResumeThread (returns -1) or GlobalLock (returns NULL).
The text was updated successfully, but these errors were encountered:
This is a follow-up to microsoft/windows-rs#2476 (comment)
Ideally, Win32 APIs that return a sentinel on failure would be annotated as such, so that the associated projection can implicitly handle these as error conditions.
Examples of such APIs: ExpandEnvironmentStringsW (returns 0 on failure) or ResumeThread (returns -1) or GlobalLock (returns NULL).
The text was updated successfully, but these errors were encountered: