ShortcutResolver::Resolve(const unsigned short* in, char* out)
ShortcutResolver::Resolve(const WCHAR* in, char* out)
ShortcutResolver::Resolve(const unsigned short* in, char* out){    nsAutoLock lock(mLock);        // see if we can Load the path.    HRESULT hres = mPersistFile->Load(in, STGM_READ);         if (FAILED(hres))         return NS_ERROR_FAILURE;    // Resolve the link.     hres = mShellLink->Resolve(nsnull, SLR_NO_UI );         if (FAILED(hres))         return NS_ERROR_FAILURE;    WIN32_FIND_DATA wfd;     // Get the path to the link target.     hres = mShellLink->GetPath( out, MAX_PATH, &wfd, SLGP_UNCPRIORITY );     if (FAILED(hres))         return NS_ERROR_FAILURE;    return NS_OK;}