include: Add some API prototypes to appropriate header files, fix some prototypes.
diff --git a/dlls/mpr/wnet.c b/dlls/mpr/wnet.c index 79ddd22..8999b74 100644 --- a/dlls/mpr/wnet.c +++ b/dlls/mpr/wnet.c
@@ -1489,7 +1489,7 @@ /***************************************************************** * WNetRestoreConnectionA [MPR.@] */ -DWORD WINAPI WNetRestoreConnectionA( HWND hwndOwner, LPSTR lpszDevice ) +DWORD WINAPI WNetRestoreConnectionA( HWND hwndOwner, LPCSTR lpszDevice ) { FIXME( "(%p, %s), stub\n", hwndOwner, debugstr_a(lpszDevice) ); @@ -1500,7 +1500,7 @@ /***************************************************************** * WNetRestoreConnectionW [MPR.@] */ -DWORD WINAPI WNetRestoreConnectionW( HWND hwndOwner, LPWSTR lpszDevice ) +DWORD WINAPI WNetRestoreConnectionW( HWND hwndOwner, LPCWSTR lpszDevice ) { FIXME( "(%p, %s), stub\n", hwndOwner, debugstr_w(lpszDevice) );
diff --git a/dlls/shell32/shellord.c b/dlls/shell32/shellord.c index 4719c77..f2f72dc 100644 --- a/dlls/shell32/shellord.c +++ b/dlls/shell32/shellord.c
@@ -1063,7 +1063,7 @@ * NOTES * gets the interface pointer of the explorer and a reference */ -HRESULT WINAPI SHGetInstanceExplorer (LPUNKNOWN * lpUnknown) +HRESULT WINAPI SHGetInstanceExplorer (IUnknown **lpUnknown) { TRACE("%p\n", lpUnknown); *lpUnknown = SHELL32_IExplorerInterface;
diff --git a/include/shlobj.h b/include/shlobj.h index d92e4cb..84d7845 100644 --- a/include/shlobj.h +++ b/include/shlobj.h
@@ -52,6 +52,7 @@ DWORD WINAPI SHFormatDrive(HWND,UINT,UINT,UINT); void WINAPI SHFree(LPVOID); BOOL WINAPI GetFileNameFromBrowse(HWND,LPSTR,DWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR); +HRESULT WINAPI SHGetInstanceExplorer(IUnknown**); BOOL WINAPI SHGetPathFromIDListA(LPCITEMIDLIST,LPSTR); BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST,LPWSTR); #define SHGetPathFromIDList WINELIB_NAME_AW(SHGetPathFromIDList)
diff --git a/include/winnetwk.h b/include/winnetwk.h index 4b6a27f..e0b8ab8 100644 --- a/include/winnetwk.h +++ b/include/winnetwk.h
@@ -142,6 +142,12 @@ DWORD WINAPI WNetGetConnectionA(LPCSTR,LPSTR,LPDWORD); DWORD WINAPI WNetGetConnectionW(LPCWSTR,LPWSTR,LPDWORD); #define WNetGetConnection WINELIB_NAME_AW(WNetGetConnection) +DWORD WINAPI WNetGetLastErrorA(LPDWORD,LPSTR,DWORD,LPSTR,DWORD); +DWORD WINAPI WNetGetLastErrorW(LPDWORD,LPWSTR,DWORD,LPWSTR,DWORD); +#define WNetGetLastError WINELIB_NAME_AW(WNetGetLastError) +DWORD WINAPI WNetRestoreConnectionA(HWND,LPCSTR); +DWORD WINAPI WNetRestoreConnectionW(HWND,LPCWSTR); +#define WNetRestoreConnection WINELIB_NAME_AW(WNetRestoreConnection) DWORD WINAPI WNetUseConnectionA(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD,LPSTR,LPDWORD,LPDWORD); DWORD WINAPI WNetUseConnectionW(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPDWORD,LPDWORD); #define WNetUseConnection WINELIB_NAME_AW(WNetUseConnection)