I'm creating a desktop C++/WinRT project, and I'd like to declare a runtime class, using MIDL 3.0, that accepts certain Win32 types as method parameters. For example, structs like PROPERTYKEY
.
This isn't possible, however, as those aren't MIDL 3.0-compatible types, and from what I understand, they can't be packaged up as objects using box_value
either.
I've gone through the documentation and searched at length, but I can't seem to locate a solution. Any help is appreciated.