Created
September 22, 2020 05:07
-
-
Save timsneath/16a8efa936f47d5f44d8f64960839719 to your computer and use it in GitHub Desktop.
IFileDialog.h (extract)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "windows.h" | |
| #include "Shobjidl.h" | |
| // vtable_start 4 | |
| MIDL_INTERFACE("42f85136-db7e-439c-85f1-e4075d135fc8") | |
| IFileDialog : public IModalWindow | |
| { | |
| public: | |
| virtual HRESULT STDMETHODCALLTYPE SetFileTypes( | |
| /* [in] */ UINT cFileTypes, | |
| /* [size_is][in] */ __RPC__in_ecount_full(cFileTypes) const COMDLG_FILTERSPEC *rgFilterSpec) = 0; | |
| virtual HRESULT STDMETHODCALLTYPE SetFileTypeIndex( | |
| /* [in] */ UINT iFileType) = 0; | |
| virtual HRESULT STDMETHODCALLTYPE GetFileTypeIndex( | |
| /* [out] */ __RPC__out UINT *piFileType) = 0; | |
| virtual HRESULT STDMETHODCALLTYPE Advise( | |
| /* [in] */ __RPC__in_opt IFileDialogEvents *pfde, | |
| /* [out] */ __RPC__out DWORD *pdwCookie) = 0; | |
| // ... | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment