1 // MIDL_INTERFACE includes 'class' in its definition but is not tokenised as such 2 // A pretty common pattern would be nice to have proper formatting. 3 4 EXTERN_C const IID IID_IFileDialogEvents; 5 6 MIDL_INTERFACE("973510db-7d7f-452b-8975-74a85828d354") 7 IFileDialogEvents : public IUnknown 8 { 9 public: 10 virtual HRESULT STDMETHODCALLTYPE OnStuff( 11 /* [in] */ __RPC__in_opt IFileDialog *pfd, 12 /* [in] */ __RPC__in_opt IShellItem *psi, 13 /* [out] */ __RPC__out FDE_SHAREVIOLATION_RESPONSE *pGoodResponse, 14 /* [out] */ __RPC__out FDE_OVERWRITE_RESPONSE *pBadResponse) = 0; 15 }; 16