HKCR,"CLSID\{5F5295E0-429F-1069-A2E2-08002B30309D}\InProcServer32","",0x00000000,"shell32.dll"
HKCR,"CLSID\{5F5295E0-429F-1069-A2E2-08002B30309D}\InProcServer32","ThreadingModel",0x00000000,"Apartment"
-; New Object Service
-HKCR,"CLSID\{D969A300-E7FF-11d0-A93B-00A0C90F2719}","",0x00000000,"ReactOS New Object Service"
-HKCR,"CLSID\{D969A300-E7FF-11d0-A93B-00A0C90F2719}\InProcServer32","",0x00000000,"shell32.dll"
-HKCR,"CLSID\{D969A300-E7FF-11d0-A93B-00A0C90F2719}\InProcServer32","ThreadingModel",0x00000000,"Apartment"
-
; Rich Text Files
HKCR,".rtf","",0x00000000,"rtffile"
HKCR,".rtf\shellnew","",0x00000000,""
HKCR,"CLSID\{1F4DE370-D627-11D1-BA4F-00A0C91EEDBA}\InProcServer32","ThreadingModel",0x00000000,"Apartment"
HKCR,"CLSID\{1F4DE370-D627-11D1-BA4F-00A0C91EEDBA}\ShellFolder","Attributes",0x00010001,0x20180000
-HKCR,"CLSID\{4657278A-411B-11d2-839A-00C04FD918D0}","",0x00000000,"Shell Drag and Drop helper"
-HKCR,"CLSID\{4657278A-411B-11d2-839A-00C04FD918D0}\InProcServer32","",0x00020000,"%SystemRoot%\system32\shell32.dll"
-HKCR,"CLSID\{4657278A-411B-11d2-839A-00C04FD918D0}\InProcServer32","ThreadingModel",0x00000000,"Apartment"
-
-HKCR,"CLSID\{4622AD11-FF23-11D0-8D34-00A0C90F2719}","",0x00000000,"Shell Start Menu"
-HKCR,"CLSID\{4622AD11-FF23-11D0-8D34-00A0C90F2719}\InProcServer32","",0x00020000,"%SystemRoot%\system32\shell32.dll"
-HKCR,"CLSID\{4622AD11-FF23-11D0-8D34-00A0C90F2719}\InProcServer32","ThreadingModel",0x00000000,"Apartment"
-
-; Folder Options CPL
-HKCR,"CLSID\{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF}","",0x00000000,"Folder Options"
-HKCR,"CLSID\{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF}","LocalizedString",0x00020000,"@%SystemRoot%\system32\shell32.dll,-150"
-HKCR,"CLSID\{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF}\InProcServer32","",0x00000000,"shell32.dll"
-HKCR,"CLSID\{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF}\InProcServer32","ThreadingModel",0x00000000,"Apartment"
-HKCR,"CLSID\{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF}\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-210"
-HKCR,"CLSID\{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF}\shell\Open\command","",0x00000000,"rundll32.exe shell32.dll,Options_RunDLL 0"
-HKCR,"CLSID\{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF}\shell\RunAs\command","",0x00000000,"rundll32.exe shell32.dll,Options_RunDLL 0"
-HKCR,"CLSID\{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF}\ShellFolder","Attributes",0x00010001,0x00000000
-
; Open With shell extension
HKCR,"SystemFileAssociations","",0x00000000,""
HKCR,"Applications","",0x00000000,""
return dest;
}
-ShellLink::ShellLink()
+CShellLink::CShellLink()
{
pPidl = NULL;
wHotKey = 0;
iIdOpen = -1;
}
-ShellLink::~ShellLink()
+CShellLink::~CShellLink()
{
TRACE("-- destroying IShellLink(%p)\n", this);
ILFree(pPidl);
}
-HRESULT WINAPI ShellLink::GetClassID(CLSID *pclsid )
+HRESULT WINAPI CShellLink::GetClassID(CLSID *pclsid )
{
TRACE("%p %p\n", this, pclsid);
return S_OK;
}
-HRESULT WINAPI ShellLink::IsDirty()
+HRESULT WINAPI CShellLink::IsDirty()
{
TRACE("(%p)\n",this);
return S_FALSE;
}
-HRESULT WINAPI ShellLink::Load(LPCOLESTR pszFileName, DWORD dwMode)
+HRESULT WINAPI CShellLink::Load(LPCOLESTR pszFileName, DWORD dwMode)
{
HRESULT r;
CComPtr<IStream> stm;
return ret;
}
-HRESULT WINAPI ShellLink::Save(LPCOLESTR pszFileName, BOOL fRemember)
+HRESULT WINAPI CShellLink::Save(LPCOLESTR pszFileName, BOOL fRemember)
{
HRESULT r;
CComPtr<IStream> stm;
return r;
}
-HRESULT WINAPI ShellLink::SaveCompleted(LPCOLESTR pszFileName)
+HRESULT WINAPI CShellLink::SaveCompleted(LPCOLESTR pszFileName)
{
FIXME("(%p)->(%s)\n", this, debugstr_w(pszFileName));
return NOERROR;
}
-HRESULT WINAPI ShellLink::GetCurFile(LPOLESTR *ppszFileName)
+HRESULT WINAPI CShellLink::GetCurFile(LPOLESTR *ppszFileName)
{
*ppszFileName = NULL;
return S_OK;
}
-static BOOL Stream_LoadVolume( LOCAL_VOLUME_INFO *vol, ShellLink::volume_info *volume )
+static BOOL Stream_LoadVolume( LOCAL_VOLUME_INFO *vol, CShellLink::volume_info *volume )
{
const int label_sz = sizeof volume->label/sizeof volume->label[0];
LPSTR label;
}
static HRESULT Stream_LoadLocation( IStream *stm,
- ShellLink::volume_info *volume, LPWSTR *path )
+ CShellLink::volume_info *volume, LPWSTR *path )
{
char *p = NULL;
LOCATION_INFO *loc;
/************************************************************************
* IPersistStream_Load (IPersistStream)
*/
-HRESULT WINAPI ShellLink::Load(IStream *stm)
+HRESULT WINAPI CShellLink::Load(IStream *stm)
{
LINK_HEADER hdr;
ULONG dwBytesRead;
* Figure out how Windows deals with unicode paths here.
*/
static HRESULT Stream_WriteLocationInfo( IStream* stm, LPCWSTR path,
- ShellLink::volume_info *volume )
+ CShellLink::volume_info *volume )
{
DWORD total_size, path_size, volume_info_size, label_size, final_path_size;
LOCAL_VOLUME_INFO *vol;
*
* FIXME: makes assumptions about byte order
*/
-HRESULT WINAPI ShellLink::Save(IStream *stm, BOOL fClearDirty)
+HRESULT WINAPI CShellLink::Save(IStream *stm, BOOL fClearDirty)
{
LINK_HEADER header;
ULONG count;
/************************************************************************
* IPersistStream_GetSizeMax (IPersistStream)
*/
-HRESULT WINAPI ShellLink::GetSizeMax(ULARGE_INTEGER *pcbSize)
+HRESULT WINAPI CShellLink::GetSizeMax(ULARGE_INTEGER *pcbSize)
{
TRACE("(%p)\n", this);
return S_OK;
}
-HRESULT WINAPI ShellLink::GetPath(LPSTR pszFile, INT cchMaxPath, WIN32_FIND_DATAA *pfd, DWORD fFlags)
+HRESULT WINAPI CShellLink::GetPath(LPSTR pszFile, INT cchMaxPath, WIN32_FIND_DATAA *pfd, DWORD fFlags)
{
TRACE("(%p)->(pfile=%p len=%u find_data=%p flags=%u)(%s)\n",
this, pszFile, cchMaxPath, pfd, fFlags, debugstr_w(sPath));
return S_OK;
}
-HRESULT WINAPI ShellLink::GetIDList(LPITEMIDLIST * ppidl)
+HRESULT WINAPI CShellLink::GetIDList(LPITEMIDLIST * ppidl)
{
TRACE("(%p)->(ppidl=%p)\n",this, ppidl);
return S_OK;
}
-HRESULT WINAPI ShellLink::SetIDList(LPCITEMIDLIST pidl)
+HRESULT WINAPI CShellLink::SetIDList(LPCITEMIDLIST pidl)
{
TRACE("(%p)->(pidl=%p)\n",this, pidl);
return S_OK;
}
-HRESULT WINAPI ShellLink::GetDescription(LPSTR pszName,INT cchMaxName)
+HRESULT WINAPI CShellLink::GetDescription(LPSTR pszName,INT cchMaxName)
{
TRACE("(%p)->(%p len=%u)\n",this, pszName, cchMaxName);
return S_OK;
}
-HRESULT WINAPI ShellLink::SetDescription(LPCSTR pszName)
+HRESULT WINAPI CShellLink::SetDescription(LPCSTR pszName)
{
TRACE("(%p)->(pName=%s)\n", this, pszName);
return S_OK;
}
-HRESULT WINAPI ShellLink::GetWorkingDirectory(LPSTR pszDir,INT cchMaxPath)
+HRESULT WINAPI CShellLink::GetWorkingDirectory(LPSTR pszDir,INT cchMaxPath)
{
TRACE("(%p)->(%p len=%u)\n", this, pszDir, cchMaxPath);
return S_OK;
}
-HRESULT WINAPI ShellLink::SetWorkingDirectory(LPCSTR pszDir)
+HRESULT WINAPI CShellLink::SetWorkingDirectory(LPCSTR pszDir)
{
TRACE("(%p)->(dir=%s)\n",this, pszDir);
return S_OK;
}
-HRESULT WINAPI ShellLink::GetArguments(LPSTR pszArgs,INT cchMaxPath)
+HRESULT WINAPI CShellLink::GetArguments(LPSTR pszArgs,INT cchMaxPath)
{
TRACE("(%p)->(%p len=%u)\n", this, pszArgs, cchMaxPath);
return S_OK;
}
-HRESULT WINAPI ShellLink::SetArguments(LPCSTR pszArgs)
+HRESULT WINAPI CShellLink::SetArguments(LPCSTR pszArgs)
{
TRACE("(%p)->(args=%s)\n",this, pszArgs);
return S_OK;
}
-HRESULT WINAPI ShellLink::GetHotkey(WORD *pwHotkey)
+HRESULT WINAPI CShellLink::GetHotkey(WORD *pwHotkey)
{
TRACE("(%p)->(%p)(0x%08x)\n",this, pwHotkey, wHotKey);
return S_OK;
}
-HRESULT WINAPI ShellLink::SetHotkey(WORD wHotkey)
+HRESULT WINAPI CShellLink::SetHotkey(WORD wHotkey)
{
TRACE("(%p)->(hotkey=%x)\n",this, wHotkey);
return S_OK;
}
-HRESULT WINAPI ShellLink::GetShowCmd(INT *piShowCmd)
+HRESULT WINAPI CShellLink::GetShowCmd(INT *piShowCmd)
{
TRACE("(%p)->(%p)\n",this, piShowCmd);
*piShowCmd = iShowCmd;
return S_OK;
}
-HRESULT WINAPI ShellLink::SetShowCmd(INT iShowCmd)
+HRESULT WINAPI CShellLink::SetShowCmd(INT iShowCmd)
{
TRACE("(%p) %d\n",this, iShowCmd);
return hr;
}
-HRESULT WINAPI ShellLink::GetIconLocation(LPSTR pszIconPath,INT cchIconPath,INT *piIcon)
+HRESULT WINAPI CShellLink::GetIconLocation(LPSTR pszIconPath,INT cchIconPath,INT *piIcon)
{
TRACE("(%p)->(%p len=%u iicon=%p)\n", this, pszIconPath, cchIconPath, piIcon);
return S_OK;
}
-HRESULT WINAPI ShellLink::SetIconLocation(LPCSTR pszIconPath,INT iIcon)
+HRESULT WINAPI CShellLink::SetIconLocation(LPCSTR pszIconPath,INT iIcon)
{
TRACE("(%p)->(path=%s iicon=%u)\n",this, pszIconPath, iIcon);
return S_OK;
}
-HRESULT WINAPI ShellLink::SetRelativePath(LPCSTR pszPathRel, DWORD dwReserved)
+HRESULT WINAPI CShellLink::SetRelativePath(LPCSTR pszPathRel, DWORD dwReserved)
{
TRACE("(%p)->(path=%s %x)\n",this, pszPathRel, dwReserved);
return ShellLink_UpdatePath(sPathRel, sPath, sWorkDir, &sPath);
}
-HRESULT WINAPI ShellLink::Resolve(HWND hwnd, DWORD fFlags)
+HRESULT WINAPI CShellLink::Resolve(HWND hwnd, DWORD fFlags)
{
HRESULT hr = S_OK;
BOOL bSuccess;
return hr;
}
-HRESULT WINAPI ShellLink::SetPath(LPCSTR pszFile)
+HRESULT WINAPI CShellLink::SetPath(LPCSTR pszFile)
{
HRESULT r;
LPWSTR str;
return r;
}
-HRESULT WINAPI ShellLink::GetPath(LPWSTR pszFile,INT cchMaxPath, WIN32_FIND_DATAW *pfd, DWORD fFlags)
+HRESULT WINAPI CShellLink::GetPath(LPWSTR pszFile,INT cchMaxPath, WIN32_FIND_DATAW *pfd, DWORD fFlags)
{
TRACE("(%p)->(pfile=%p len=%u find_data=%p flags=%u)(%s)\n",
this, pszFile, cchMaxPath, pfd, fFlags, debugstr_w(sPath));
return S_OK;
}
-HRESULT WINAPI ShellLink::GetDescription(LPWSTR pszName,INT cchMaxName)
+HRESULT WINAPI CShellLink::GetDescription(LPWSTR pszName,INT cchMaxName)
{
TRACE("(%p)->(%p len=%u)\n",this, pszName, cchMaxName);
return S_OK;
}
-HRESULT WINAPI ShellLink::SetDescription(LPCWSTR pszName)
+HRESULT WINAPI CShellLink::SetDescription(LPCWSTR pszName)
{
TRACE("(%p)->(desc=%s)\n",this, debugstr_w(pszName));
return S_OK;
}
-HRESULT WINAPI ShellLink::GetWorkingDirectory(LPWSTR pszDir,INT cchMaxPath)
+HRESULT WINAPI CShellLink::GetWorkingDirectory(LPWSTR pszDir,INT cchMaxPath)
{
TRACE("(%p)->(%p len %u)\n", this, pszDir, cchMaxPath);
return S_OK;
}
-HRESULT WINAPI ShellLink::SetWorkingDirectory(LPCWSTR pszDir)
+HRESULT WINAPI CShellLink::SetWorkingDirectory(LPCWSTR pszDir)
{
TRACE("(%p)->(dir=%s)\n",this, debugstr_w(pszDir));
return S_OK;
}
-HRESULT WINAPI ShellLink::GetArguments(LPWSTR pszArgs,INT cchMaxPath)
+HRESULT WINAPI CShellLink::GetArguments(LPWSTR pszArgs,INT cchMaxPath)
{
TRACE("(%p)->(%p len=%u)\n", this, pszArgs, cchMaxPath);
return NOERROR;
}
-HRESULT WINAPI ShellLink::SetArguments(LPCWSTR pszArgs)
+HRESULT WINAPI CShellLink::SetArguments(LPCWSTR pszArgs)
{
TRACE("(%p)->(args=%s)\n",this, debugstr_w(pszArgs));
return hr;
}
-HRESULT WINAPI ShellLink::GetIconLocation(LPWSTR pszIconPath,INT cchIconPath,INT *piIcon)
+HRESULT WINAPI CShellLink::GetIconLocation(LPWSTR pszIconPath,INT cchIconPath,INT *piIcon)
{
TRACE("(%p)->(%p len=%u iicon=%p)\n", this, pszIconPath, cchIconPath, piIcon);
return S_OK;
}
-HRESULT WINAPI ShellLink::SetIconLocation(LPCWSTR pszIconPath,INT iIcon)
+HRESULT WINAPI CShellLink::SetIconLocation(LPCWSTR pszIconPath,INT iIcon)
{
TRACE("(%p)->(path=%s iicon=%u)\n",this, debugstr_w(pszIconPath), iIcon);
return S_OK;
}
-HRESULT WINAPI ShellLink::SetRelativePath(LPCWSTR pszPathRel, DWORD dwReserved)
+HRESULT WINAPI CShellLink::SetRelativePath(LPCWSTR pszPathRel, DWORD dwReserved)
{
TRACE("(%p)->(path=%s %x)\n",this, debugstr_w(pszPathRel), dwReserved);
return ShellLink_UpdatePath(sPathRel, sPath, sWorkDir, &sPath);
}
-LPWSTR ShellLink::ShellLink_GetAdvertisedArg(LPCWSTR str)
+LPWSTR CShellLink::ShellLink_GetAdvertisedArg(LPCWSTR str)
{
LPWSTR ret;
LPCWSTR p;
return ret;
}
-HRESULT ShellLink::ShellLink_SetAdvertiseInfo(LPCWSTR str)
+HRESULT CShellLink::ShellLink_SetAdvertiseInfo(LPCWSTR str)
{
LPCWSTR szComponent = NULL, szProduct = NULL, p;
WCHAR szGuid[39];
return S_OK;
}
-static BOOL ShellLink_GetVolumeInfo(LPCWSTR path, ShellLink::volume_info *volume)
+static BOOL ShellLink_GetVolumeInfo(LPCWSTR path, CShellLink::volume_info *volume)
{
const int label_sz = sizeof volume->label/sizeof volume->label[0];
WCHAR drive[4] = { path[0], ':', '\\', 0 };
return r;
}
-HRESULT WINAPI ShellLink::SetPath(LPCWSTR pszFile)
+HRESULT WINAPI CShellLink::SetPath(LPCWSTR pszFile)
{
WCHAR buffer[MAX_PATH];
LPWSTR fname, unquoted = NULL;
return hr;
}
-HRESULT WINAPI ShellLink::AddDataBlock(void* pDataBlock )
+HRESULT WINAPI CShellLink::AddDataBlock(void* pDataBlock )
{
FIXME("\n");
return E_NOTIMPL;
}
-HRESULT WINAPI ShellLink::CopyDataBlock(DWORD dwSig, void** ppDataBlock )
+HRESULT WINAPI CShellLink::CopyDataBlock(DWORD dwSig, void** ppDataBlock )
{
LPVOID block = NULL;
HRESULT r = E_FAIL;
return r;
}
-HRESULT WINAPI ShellLink::RemoveDataBlock(DWORD dwSig )
+HRESULT WINAPI CShellLink::RemoveDataBlock(DWORD dwSig )
{
FIXME("\n");
return E_NOTIMPL;
}
-HRESULT WINAPI ShellLink::GetFlags(DWORD* pdwFlags )
+HRESULT WINAPI CShellLink::GetFlags(DWORD* pdwFlags )
{
DWORD flags = 0;
return S_OK;
}
-HRESULT WINAPI ShellLink::SetFlags(DWORD dwFlags )
+HRESULT WINAPI CShellLink::SetFlags(DWORD dwFlags )
{
FIXME("\n");
return E_NOTIMPL;
}
/**************************************************************************
- * ShellLink implementation of IShellExtInit::Initialize()
+ * CShellLink implementation of IShellExtInit::Initialize()
*
* Loads the shelllink from the dataobject the shell is pointing to.
*/
-HRESULT WINAPI ShellLink::Initialize(LPCITEMIDLIST pidlFolder, IDataObject *pdtobj, HKEY hkeyProgID )
+HRESULT WINAPI CShellLink::Initialize(LPCITEMIDLIST pidlFolder, IDataObject *pdtobj, HKEY hkeyProgID )
{
FORMATETC format;
STGMEDIUM stgm;
return r;
}
-HRESULT WINAPI ShellLink::QueryContextMenu(HMENU hmenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT uFlags)
+HRESULT WINAPI CShellLink::QueryContextMenu(HMENU hmenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT uFlags)
{
WCHAR szOpen[20];
MENUITEMINFOW mii;
return path;
}
-HRESULT WINAPI ShellLink::InvokeCommand(LPCMINVOKECOMMANDINFO lpici)
+HRESULT WINAPI CShellLink::InvokeCommand(LPCMINVOKECOMMANDINFO lpici)
{
static const WCHAR szOpen[] = { 'o','p','e','n',0 };
static const WCHAR szCplOpen[] = { 'c','p','l','o','p','e','n',0 };
return r;
}
-HRESULT WINAPI ShellLink::GetCommandString(UINT_PTR idCmd, UINT uType, UINT* pwReserved, LPSTR pszName, UINT cchMax)
+HRESULT WINAPI CShellLink::GetCommandString(UINT_PTR idCmd, UINT uType, UINT* pwReserved, LPSTR pszName, UINT cchMax)
{
FIXME("%p %lu %u %p %p %u\n", this, idCmd, uType, pwReserved, pszName, cchMax );
* dialog proc of the shortcut property dialog
*/
-INT_PTR CALLBACK ShellLink::SH_ShellLinkDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK CShellLink::SH_ShellLinkDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
LPPROPSHEETPAGEW ppsp;
LPPSHNOTIFY lppsn;
- ShellLink *pThis;
+ CShellLink *pThis;
HWND hDlgCtrl;
WCHAR szBuffer[MAX_PATH];
WCHAR * ptr;
int IconIndex;
INT_PTR result;
- pThis = (ShellLink *)GetWindowLongPtr(hwndDlg, DWLP_USER);
+ pThis = (CShellLink *)GetWindowLongPtr(hwndDlg, DWLP_USER);
switch(uMsg)
{
TRACE("ShellLink_DlgProc (WM_INITDIALOG hwnd %p lParam %p ppsplParam %x)\n",hwndDlg, lParam, ppsp->lParam);
- pThis = (ShellLink *)ppsp->lParam;
+ pThis = (CShellLink *)ppsp->lParam;
SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)pThis);
TRACE("sArgs: %S sComponent: %S sDescription: %S sIcoPath: %S sPath: %S sPathRel: %S sProduct: %S sWorkDir: %S\n", pThis->sArgs, pThis->sComponent, pThis->sDescription,
* ShellLink_IShellPropSheetExt interface
*/
-HRESULT WINAPI ShellLink::AddPages(LPFNADDPROPSHEETPAGE pfnAddPage, LPARAM lParam)
+HRESULT WINAPI CShellLink::AddPages(LPFNADDPROPSHEETPAGE pfnAddPage, LPARAM lParam)
{
HPROPSHEETPAGE hPage;
BOOL bRet;
return E_FAIL;
}
-HRESULT WINAPI ShellLink::ReplacePage(UINT uPageID, LPFNADDPROPSHEETPAGE pfnReplacePage, LPARAM lParam)
+HRESULT WINAPI CShellLink::ReplacePage(UINT uPageID, LPFNADDPROPSHEETPAGE pfnReplacePage, LPARAM lParam)
{
TRACE("(%p) (uPageID %u, pfnReplacePage %p lParam %p\n", this, uPageID, pfnReplacePage, lParam);
return E_NOTIMPL;
}
-HRESULT WINAPI ShellLink::SetSite(IUnknown *punk)
+HRESULT WINAPI CShellLink::SetSite(IUnknown *punk)
{
TRACE("%p %p\n", this, punk);
return S_OK;
}
-HRESULT WINAPI ShellLink::GetSite(REFIID iid, void ** ppvSite)
+HRESULT WINAPI CShellLink::GetSite(REFIID iid, void ** ppvSite)
{
TRACE("%p %s %p\n", this, debugstr_guid(&iid), ppvSite );
{
CComPtr<IUnknown> psl;
- HRESULT hr = ShellLink::_CreatorClass::CreateInstance(NULL, riid, (void**)&psl);
+ HRESULT hr = CShellLink::_CreatorClass::CreateInstance(NULL, riid, (void**)&psl);
if (SUCCEEDED(hr))
{