Nikolay Sivov (@nsivov) commented about dlls/combase/roapi.c:
+struct restricted_error_info +{
- IRestrictedErrorInfo IRestrictedErrorInfo_iface;
 - IErrorInfo IErrorInfo_iface;
 - BSTR description;
 - BSTR restricted_description;
 - HRESULT code;
 - LONG ref;
 +};
+static inline struct restricted_error_info *impl_from_IRestrictedErrorInfo(IRestrictedErrorInfo *iface) +{
- return CONTAINING_RECORD(iface, struct restricted_error_info, IRestrictedErrorInfo_iface);
 +}
+static HRESULT WINAPI restricted_error_info_QueryInterface(IRestrictedErrorInfo *iface, const GUID *iid, void **out)
Normally we use REFIID, or const IID* in most places.