Zebediah Figura (@zfigura) commented about include/hrtfapoapi.idl:
+typedef struct HrtfDistanceDecay +{
- HrtfDistanceDecayType type;
- float maxGain;
- float minGain;
- float unityGainDistance;
- float cutoffDistance;
+} HrtfDistanceDecay;
+typedef struct HrtfApoInit +{
- HrtfDistanceDecay *distanceDecay;
- HrtfDirectivity *directivity;
+} HrtfApoInit;
+cpp_quote("STDAPI CreateHrtfApo(const HrtfApoInit *init, IXAPO **xapo);")
You can declare this directly in the IDL.