MIDL 3.0 Declare Costant

Rebeka Fox 106 Reputation points
2022-08-17T22:41:01.47+00:00

Is there some secret way to declare a constant in MIDL 3.0? I get that there are no aliases, but there's no way to declare a constant? I can put a #define in the idl, but the compiler seems to ignore it.

Universal Windows Platform (UWP)
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,523 questions
{count} votes