Even though it should be const, the actual header declares it as non-const: ``` WINBASEAPI BOOL APIENTRY AddConsoleAliasA( _In_ LPSTR Source, _In_ LPSTR Target, _In_ LPSTR ExeName ); WINBASEAPI BOOL APIENTRY AddConsoleAliasW( _In_ LPWSTR Source, _In_ LPWSTR Target, _In_ LPWSTR ExeName ); ``` --- #### Document Details ⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.* * ID: 9b601bad-18cc-9ad4-562f-3cba0b8b7159 * Version Independent ID: 29c2a1b8-a8fb-99aa-9ce0-7ad14ae5c338 * Content: [AddConsoleAlias function - Windows Console](https://learn.microsoft.com/en-us/windows/console/addconsolealias?f1url=%3FappId%3DDev16IDEF1%26l%3DEN-US%26k%3Dk(CONSOLEAPI3%252FAddConsoleAlias)%3Bk(AddConsoleAlias)%3Bk(DevLang-C%252B%252B)%3Bk(TargetOS-Windows)%26rd%3Dtrue) * Content Source: [docs/addconsolealias.md](https://github.com/Microsoft/Console-Docs/blob/main/docs/addconsolealias.md) * Product: **windows** * Technology: **windows-console** * GitHub Login: @miniksa * Microsoft Alias: **miniksa**
Even though it should be const, the actual header declares it as non-const:
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.