https://kotlinlang.org logo
Title
g

Giorgi

05/11/2023, 12:35 PM
Hi. Need help with windows native code. I have this line
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?