MIDL 3.0 Declare Costant

Rebeka Fox 106 Reputation points

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,410 questions
{count} votes