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
I think they should be included, as they are listed on official docs.
It seems that the generated code defines the type of the return value of the GetCurrentPackageFullName function as WIN32_ERROR, so that it may return a value that does not exist in the enumeration.
BTW, GetCurrentPackageFullName does return an Error Code as long, according to Microsoft's documentation. But the Error Code should be uint (as GetLastError returns DWORD). I don't think there's anything we can do about this, since it's Microsoft's fault, and this doesn't seem to cause any problems, the type conversion happens automatically.
Actual behavior
The generated WIN32_ERROR enum is missing some error codes.
Expected behavior
An enum containing complete enumerated Win32 Error Codes.
Repro steps
For example, trying to determine whether the program is packaged:
NativeMethods.txt
content:But it seems that there isn't APPMODEL_ERROR_NO_PACKAGE (15700) in WIN32_ERROR:
Context
0.2.63-beta
net6.0-windows10.0.22621.0
The text was updated successfully, but these errors were encountered: