Searched refs:hres (Results 1 – 1 of 1) sorted by relevance
860 HRESULT hres; in CreateShortcut() local865 hres = CoCreateInstance( clsid_ShellLink, NULL, CLSCTX_INPROC_SERVER, in CreateShortcut()867 if( FAILED(hres) ) in CreateShortcut()868 hres = SHCoCreateInstance( NULL, clsid_ShellLink, NULL, clsid_IShellLink, (void**)&psl ); in CreateShortcut()870 if( SUCCEEDED(hres) ) in CreateShortcut()880 hres = psl->QueryInterface( clsid_IPersistFile, (void**)&ppf ); in CreateShortcut()882 if( SUCCEEDED(hres) ) in CreateShortcut()884 hres = ppf->Save( reinterpret_cast<LPCOLESTR>(rAbsShortcut.getStr()), TRUE ); in CreateShortcut()
Completed in 13 milliseconds