Commit cc405b15 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

shell32: Implement "My Network Places" shell folder.

parent 2cb3f982
...@@ -38,6 +38,7 @@ C_SRCS = \ ...@@ -38,6 +38,7 @@ C_SRCS = \
shfldr_desktop.c \ shfldr_desktop.c \
shfldr_fs.c \ shfldr_fs.c \
shfldr_mycomp.c \ shfldr_mycomp.c \
shfldr_netplaces.c \
shfldr_unixfs.c \ shfldr_unixfs.c \
shlexec.c \ shlexec.c \
shlfileop.c \ shlfileop.c \
......
...@@ -1429,6 +1429,12 @@ LPITEMIDLIST _ILCreateBitBucket(void) ...@@ -1429,6 +1429,12 @@ LPITEMIDLIST _ILCreateBitBucket(void)
return _ILCreateGuid(PT_GUID, &CLSID_RecycleBin); return _ILCreateGuid(PT_GUID, &CLSID_RecycleBin);
} }
LPITEMIDLIST _ILCreateNetHood(void)
{
TRACE("()\n");
return _ILCreateGuid(PT_GUID, &CLSID_NetworkPlaces);
}
LPITEMIDLIST _ILCreateGuid(PIDLTYPE type, REFIID guid) LPITEMIDLIST _ILCreateGuid(PIDLTYPE type, REFIID guid)
{ {
LPITEMIDLIST pidlOut; LPITEMIDLIST pidlOut;
......
...@@ -252,6 +252,7 @@ LPITEMIDLIST _ILCreateIExplore (void); ...@@ -252,6 +252,7 @@ LPITEMIDLIST _ILCreateIExplore (void);
LPITEMIDLIST _ILCreateControlPanel (void); LPITEMIDLIST _ILCreateControlPanel (void);
LPITEMIDLIST _ILCreatePrinters (void); LPITEMIDLIST _ILCreatePrinters (void);
LPITEMIDLIST _ILCreateNetwork (void); LPITEMIDLIST _ILCreateNetwork (void);
LPITEMIDLIST _ILCreateNetHood (void);
LPITEMIDLIST _ILCreateBitBucket (void); LPITEMIDLIST _ILCreateBitBucket (void);
LPITEMIDLIST _ILCreateDrive (LPCWSTR); LPITEMIDLIST _ILCreateDrive (LPCWSTR);
......
...@@ -90,6 +90,7 @@ HRESULT WINAPI IShellLink_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID ...@@ -90,6 +90,7 @@ HRESULT WINAPI IShellLink_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID
HRESULT WINAPI IShellLink_ConstructFromFile(IUnknown * pUnkOuter, REFIID riid, LPCITEMIDLIST pidl, LPVOID * ppv); HRESULT WINAPI IShellLink_ConstructFromFile(IUnknown * pUnkOuter, REFIID riid, LPCITEMIDLIST pidl, LPVOID * ppv);
HRESULT WINAPI ISF_Desktop_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv); HRESULT WINAPI ISF_Desktop_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
HRESULT WINAPI ISF_MyComputer_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv); HRESULT WINAPI ISF_MyComputer_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
HRESULT WINAPI ISF_NetworkPlaces_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
HRESULT WINAPI IDropTargetHelper_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv); HRESULT WINAPI IDropTargetHelper_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
HRESULT WINAPI IFileSystemBindData_Constructor(const WIN32_FIND_DATAW *pfd, LPBC *ppV); HRESULT WINAPI IFileSystemBindData_Constructor(const WIN32_FIND_DATAW *pfd, LPBC *ppV);
HRESULT WINAPI IControlPanel_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv); HRESULT WINAPI IControlPanel_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
......
...@@ -64,6 +64,7 @@ static const struct { ...@@ -64,6 +64,7 @@ static const struct {
} InterfaceTable[] = { } InterfaceTable[] = {
{&CLSID_ShellFSFolder, &IFSFolder_Constructor}, {&CLSID_ShellFSFolder, &IFSFolder_Constructor},
{&CLSID_MyComputer, &ISF_MyComputer_Constructor}, {&CLSID_MyComputer, &ISF_MyComputer_Constructor},
{&CLSID_NetworkPlaces, &ISF_NetworkPlaces_Constructor},
{&CLSID_ShellDesktop, &ISF_Desktop_Constructor}, {&CLSID_ShellDesktop, &ISF_Desktop_Constructor},
{&CLSID_ShellLink, &IShellLink_Constructor}, {&CLSID_ShellLink, &IShellLink_Constructor},
{&CLSID_DragDropHelper, &IDropTargetHelper_Constructor}, {&CLSID_DragDropHelper, &IDropTargetHelper_Constructor},
......
...@@ -94,6 +94,10 @@ IDI_SHELL_CONFIRM_DELETE ICON delete.ico ...@@ -94,6 +94,10 @@ IDI_SHELL_CONFIRM_DELETE ICON delete.ico
/* @makedep: mydocs.ico */ /* @makedep: mydocs.ico */
IDI_SHELL_MY_DOCUMENTS ICON mydocs.ico IDI_SHELL_MY_DOCUMENTS ICON mydocs.ico
/* FIXME: Following resource is not yet added */
/* @makedep: mydocs.ico */
IDI_SHELL_MY_NETWORK_PLACES ICON mydocs.ico
/* @makedep: searching.avi */ /* @makedep: searching.avi */
IDR_AVI_SEARCHING AVI searching.avi IDR_AVI_SEARCHING AVI searching.avi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment