Home
last modified time | relevance | path

Searched refs:hres (Results 1 – 1 of 1) sorted by relevance

/aoo41x/main/sfx2/source/appl/
H A Dshutdowniconw32.cxx860 HRESULT hres; in CreateShortcut() local
865 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 18 milliseconds