Hi. Need help with windows native code. I have thi...
# multiplatform
g
Hi. Need help with windows native code. I have this line
Copy code
IFileOpenDialog *pFileOpen;
       hResult = CoCreateInstance(CLSID_FileOpenDialog, 
                                   NULL,
                                   CLSCTX_INPROC_SERVER,
                                   IID_PPV_ARGS(&pFileOpen));
How do I pass last 2 arguments to CoCreateInstance function?
IID_PPV_ARGS
replaces itself with 2 other arguments
__mingw_uuidof<__typeof(**(&pFileOpen))>(), IID_PPV_ARGS_Helper(&pFileOpen)
, but
__mingw_uuidof
and
IID_PPV_ARGS_Helper
are not autocompleted by Intellij. How can I create them?