Merge branch 'master' into d3d12

This commit is contained in:
Triang3l
2018-08-25 23:26:32 +03:00
2 changed files with 11 additions and 5 deletions

View File

@@ -36,11 +36,9 @@ class CDialogEventHandler : public IFileDialogEvents,
IFACEMETHODIMP QueryInterface(REFIID riid, void** ppv) {
static const QITAB qit[] = {
{&__uuidof(IFileDialogEvents),
static_cast<int>(
OFFSETOFCLASS(IFileDialogEvents, CDialogEventHandler))},
OFFSETOFCLASS(IFileDialogEvents, CDialogEventHandler)},
{&__uuidof(IFileDialogControlEvents),
static_cast<int>(
OFFSETOFCLASS(IFileDialogControlEvents, CDialogEventHandler))},
OFFSETOFCLASS(IFileDialogControlEvents, CDialogEventHandler)},
{0},
};
return QISearch(this, qit, riid, ppv);