reactos/dll/win32/shell32/stubs.cpp
Katayama Hirofumi MZ a882ec7a02 [SHELL32][EXPLORER] Update system-wide environment variables (#663)
- Implement shell32 RegenerateUserEnvironment() function and use it.
- CShellBrowser and CDesktopBrowser implements WM_SETTINGCHANGE actions.

CORE-1459, CORE-14397
2018-07-08 16:32:42 +02:00

1354 lines
24 KiB
C++

/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: shell32.dll
* FILE: dll/win32/shell32/stubs.c
* PURPOSE: shell32.dll stubs
* PROGRAMMER: Dmitry Chapyshev (dmitry@reactos.org)
* NOTES: If you implement a function, remove it from this file
* UPDATE HISTORY:
* 03/02/2009 Created
*/
#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(shell);
/*
* Unimplemented
*/
EXTERN_C LPWSTR
WINAPI
ShortSizeFormatW(LONGLONG llNumber)
{
FIXME("ShortSizeFormatW() stub\n");
return NULL;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHFindComputer(LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2)
{
FIXME("SHFindComputer() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHLimitInputEdit(HWND hWnd, IShellFolder *psf)
{
FIXME("SHLimitInputEdit() stub\n");
return S_FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHLimitInputCombo(HWND hWnd, LPVOID lpUnknown)
{
FIXME("SHLimitInputCombo() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
PathIsEqualOrSubFolder(LPWSTR lpFolder, LPWSTR lpSubFolder)
{
FIXME("PathIsEqualOrSubFolder() stub\n");
return FALSE;
}
EXTERN_C HRESULT
WINAPI
SHGetUnreadMailCountW(HKEY hKeyUser,
LPCWSTR pszMailAddress,
DWORD *pdwCount,
FILETIME *pFileTime,
LPWSTR pszShellExecuteCommand,
int cchShellExecuteCommand)
{
FIXME("SHGetUnreadMailCountW() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHSetUnreadMailCountW(LPCWSTR pszMailAddress,
DWORD dwCount,
LPCWSTR pszShellExecuteCommand)
{
FIXME("SHSetUnreadMailCountW() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHEnumerateUnreadMailAccountsW(HKEY user,
DWORD idx,
LPWSTR mailaddress,
INT mailaddresslen)
{
FIXME("SHEnumerateUnreadMailAccountsW(%p %d %p %d) stub\n",
user, idx, mailaddress, mailaddresslen);
return E_NOTIMPL;
}
/*
* Unimplemented
*/
EXTERN_C VOID
WINAPI
CheckDiskSpace(VOID)
{
FIXME("CheckDiskSpace() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C VOID
WINAPI
SHReValidateDarwinCache(VOID)
{
FIXME("SHReValidateDarwinCache() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
CopyStreamUI(IStream *pSrc, IStream *pDst, IProgressDialog *pProgDlg)
{
FIXME("CopyStreamUI() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C FILEDESCRIPTOR*
WINAPI
GetFileDescriptor(FILEGROUPDESCRIPTOR *pFileGroupDesc, BOOL bUnicode, INT iIndex, LPWSTR lpName)
{
FIXME("GetFileDescriptor() stub\n");
return NULL;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHIsTempDisplayMode(VOID)
{
FIXME("SHIsTempDisplayMode() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
MakeShellURLFromPathW(LPCWSTR lpPath, LPWSTR lpUrl, INT cchMax)
{
FIXME("MakeShellURLFromPathW() stub\n");
lpUrl = NULL;
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
MakeShellURLFromPathA(LPCSTR lpPath, LPSTR lpUrl, INT cchMax)
{
FIXME("MakeShellURLFromPathA() stub\n");
lpUrl = NULL;
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHParseDarwinIDFromCacheW(LPCWSTR lpUnknown1, LPWSTR lpUnknown2)
{
FIXME("SHParseDarwinIDFromCacheW() stub\n");
lpUnknown2 = NULL;
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHMultiFileProperties(IDataObject *pDataObject, DWORD dwFlags)
{
FIXME("SHMultiFileProperties() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHCreatePropertyBag(REFIID refIId, LPVOID *lpUnknown)
{
/* Call SHCreatePropertyBagOnMemory() from shlwapi.dll */
FIXME("SHCreatePropertyBag() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHCopyMonikerToTemp(IMoniker *pMoniker, LPCWSTR lpInput, LPWSTR lpOutput, INT cchMax)
{
/* Unimplemented in XP SP3 */
TRACE("SHCopyMonikerToTemp() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C HLOCAL
WINAPI
CheckWinIniForAssocs(VOID)
{
FIXME("CheckWinIniForAssocs() stub\n");
return NULL;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHGetSetFolderCustomSettingsW(LPSHFOLDERCUSTOMSETTINGSW pfcs,
LPCWSTR pszPath,
DWORD dwReadWrite)
{
FIXME("SHGetSetFolderCustomSettingsW() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHGetSetFolderCustomSettingsA(LPSHFOLDERCUSTOMSETTINGSA pfcs,
LPCSTR pszPath,
DWORD dwReadWrite)
{
FIXME("SHGetSetFolderCustomSettingsA() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHOpenPropSheetA(LPCSTR lpCaption,
HKEY hKeys[],
UINT uCount,
const CLSID *pClsID,
IDataObject *pDataObject,
IShellBrowser *pShellBrowser,
LPCSTR lpStartPage)
{
FIXME("SHOpenPropSheetA() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHOpenPropSheetW(LPCWSTR lpCaption,
HKEY hKeys[],
UINT uCount,
const CLSID *pClsID,
IDataObject *pDataObject,
IShellBrowser *pShellBrowser,
LPCWSTR lpStartPage)
{
FIXME("SHOpenPropSheetW() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C VOID
WINAPI
CDefFolderMenu_MergeMenu(HINSTANCE hInstance,
UINT uMainMerge,
UINT uPopupMerge,
LPQCMINFO lpQcmInfo)
{
FIXME("CDefFolderMenu_MergeMenu() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
CDefFolderMenu_Create(LPITEMIDLIST pidlFolder,
HWND hwnd,
UINT uidl,
PCUITEMID_CHILD_ARRAY *apidl,
IShellFolder *psf,
LPFNDFMCALLBACK lpfn,
HKEY hProgID,
HKEY hBaseProgID,
IContextMenu **ppcm)
{
FIXME("CDefFolderMenu_Create() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHChangeRegistrationReceive(LPVOID lpUnknown1, DWORD dwUnknown2)
{
FIXME("SHChangeRegistrationReceive() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C VOID
WINAPI
SHWaitOp_Operate(LPVOID lpUnknown1, DWORD dwUnknown2)
{
FIXME("SHWaitOp_Operate() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C VOID
WINAPI
SHChangeNotifyReceive(LONG lUnknown, UINT uUnknown, LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2)
{
FIXME("SHChangeNotifyReceive() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C INT
WINAPI
RealDriveTypeFlags(INT iDrive, BOOL bUnknown)
{
FIXME("RealDriveTypeFlags() stub\n");
return 1;
}
/*
* Unimplemented
*/
EXTERN_C LPWSTR
WINAPI
StrRStrW(LPWSTR lpSrc, LPWSTR lpLast, LPWSTR lpSearch)
{
FIXME("StrRStrW() stub\n");
return NULL;
}
/*
* Unimplemented
*/
EXTERN_C LPWSTR
WINAPI
StrRStrA(LPSTR lpSrc, LPSTR lpLast, LPSTR lpSearch)
{
FIXME("StrRStrA() stub\n");
return NULL;
}
/*
* Unimplemented
*/
EXTERN_C LONG
WINAPI
ShellHookProc(INT iCode, WPARAM wParam, LPARAM lParam)
{
/* Unimplemented in WinXP SP3 */
TRACE("ShellHookProc() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C VOID
WINAPI
ShellExec_RunDLL(HWND hwnd, HINSTANCE hInstance, LPWSTR pszCmdLine, int nCmdShow)
{
FIXME("ShellExec_RunDLL() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C VOID
WINAPI
ShellExec_RunDLLA(HWND hwnd, HINSTANCE hInstance, LPSTR pszCmdLine, int nCmdShow)
{
FIXME("ShellExec_RunDLLA() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C VOID
WINAPI
ShellExec_RunDLLW(HWND hwnd, HINSTANCE hInstance, LPWSTR pszCmdLine, int nCmdShow)
{
FIXME("ShellExec_RunDLLW() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SheShortenPathW(LPWSTR lpPath, BOOL bShorten)
{
FIXME("SheShortenPathW() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SheShortenPathA(LPSTR lpPath, BOOL bShorten)
{
FIXME("SheShortenPathA() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C INT
WINAPI
SheSetCurDrive(INT iIndex)
{
FIXME("SheSetCurDrive() stub\n");
return 1;
}
/*
* Unimplemented
*/
EXTERN_C LPWSTR
WINAPI
SheRemoveQuotesW(LPWSTR lpInput)
{
FIXME("SheRemoveQuotesW() stub\n");
return NULL;
}
/*
* Unimplemented
*/
EXTERN_C LPSTR
WINAPI
SheRemoveQuotesA(LPSTR lpInput)
{
FIXME("SheRemoveQuotesA() stub\n");
return NULL;
}
/*
* Unimplemented
*/
EXTERN_C INT
WINAPI
SheGetPathOffsetW(LPWSTR lpPath)
{
FIXME("SheGetPathOffsetW() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SheGetDirExW(LPWSTR lpDrive,
LPDWORD lpCurDirLen,
LPWSTR lpCurDir)
{
FIXME("SheGetDirExW() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C INT
WINAPI
SheGetCurDrive(VOID)
{
FIXME("SheGetCurDrive() stub\n");
return 1;
}
/*
* Unimplemented
*/
EXTERN_C INT
WINAPI
SheFullPathW(LPWSTR lpFullName, DWORD dwPathSize, LPWSTR lpBuffer)
{
FIXME("SheFullPathW() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C INT
WINAPI
SheFullPathA(LPSTR lpFullName, DWORD dwPathSize, LPSTR lpBuffer)
{
FIXME("SheFullPathA() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SheConvertPathW(LPWSTR lpCmd, LPWSTR lpFileName, UINT uCmdLen)
{
FIXME("SheConvertPathW() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C INT
WINAPI
SheChangeDirExW(LPWSTR lpDir)
{
FIXME("SheChangeDirExW() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C INT
WINAPI
SheChangeDirExA(LPSTR lpDir)
{
FIXME("SheChangeDirExA() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHInvokePrinterCommandW(HWND hwnd,
UINT uAction,
LPCWSTR lpBuf1,
LPCWSTR lpBuf2,
BOOL fModal)
{
FIXME("SHInvokePrinterCommandW() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHInvokePrinterCommandA(HWND hwnd,
UINT uAction,
LPCSTR lpBuf1,
LPCSTR lpBuf2,
BOOL fModal)
{
FIXME("SHInvokePrinterCommandA() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHCreateProcessAsUserW(PSHCREATEPROCESSINFOW pscpi)
{
FIXME("SHCreateProcessAsUserW() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHChangeNotifySuspendResume(BOOL bSuspend,
LPITEMIDLIST pidl,
BOOL bRecursive,
DWORD dwReserved)
{
FIXME("SHChangeNotifySuspendResume() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C HINSTANCE
WINAPI
RealShellExecuteExA(HWND hwnd,
LPCSTR lpOperation,
LPCSTR lpFile,
LPCSTR lpParameters,
LPCSTR lpDirectory,
LPSTR lpReturn,
LPCSTR lpTitle,
LPSTR lpReserved,
WORD nShowCmd,
HANDLE *lpProcess,
DWORD dwFlags)
{
FIXME("RealShellExecuteExA() stub\n");
return NULL;
}
/*
* Unimplemented
*/
EXTERN_C HINSTANCE
WINAPI
RealShellExecuteExW(HWND hwnd,
LPCWSTR lpOperation,
LPCWSTR lpFile,
LPCWSTR lpParameters,
LPCWSTR lpDirectory,
LPWSTR lpReturn,
LPCWSTR lpTitle,
LPWSTR lpReserved,
WORD nShowCmd,
HANDLE *lpProcess,
DWORD dwFlags)
{
FIXME("RealShellExecuteExW() stub\n");
return NULL;
}
/*
* Implemented
*/
EXTERN_C HINSTANCE
WINAPI
RealShellExecuteA(HWND hwnd,
LPCSTR lpOperation,
LPCSTR lpFile,
LPCSTR lpParameters,
LPCSTR lpDirectory,
LPSTR lpReturn,
LPCSTR lpTitle,
LPSTR lpReserved,
WORD nShowCmd,
HANDLE *lpProcess)
{
return RealShellExecuteExA(hwnd,
lpOperation,
lpFile,
lpParameters,
lpDirectory,
lpReturn,
lpTitle,
lpReserved,
nShowCmd,
lpProcess,
0);
}
/*
* Implemented
*/
EXTERN_C HINSTANCE
WINAPI
RealShellExecuteW(HWND hwnd,
LPCWSTR lpOperation,
LPCWSTR lpFile,
LPCWSTR lpParameters,
LPCWSTR lpDirectory,
LPWSTR lpReturn,
LPCWSTR lpTitle,
LPWSTR lpReserved,
WORD nShowCmd,
HANDLE *lpProcess)
{
return RealShellExecuteExW(hwnd,
lpOperation,
lpFile,
lpParameters,
lpDirectory,
lpReturn,
lpTitle,
lpReserved,
nShowCmd,
lpProcess,
0);
}
/*
* Unimplemented
*/
EXTERN_C VOID
WINAPI
PrintersGetCommand_RunDLL(HWND hwnd, HINSTANCE hInstance, LPWSTR pszCmdLine, int nCmdShow)
{
FIXME("PrintersGetCommand_RunDLL() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C VOID
WINAPI
PrintersGetCommand_RunDLLA(HWND hwnd, HINSTANCE hInstance, LPSTR pszCmdLine, int nCmdShow)
{
FIXME("PrintersGetCommand_RunDLLA() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C VOID
WINAPI
PrintersGetCommand_RunDLLW(HWND hwnd, HINSTANCE hInstance, LPWSTR pszCmdLine, int nCmdShow)
{
FIXME("PrintersGetCommand_RunDLLW() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C IShellFolderViewCB*
WINAPI
SHGetShellFolderViewCB(HWND hwnd)
{
FIXME("SHGetShellFolderViewCB() stub\n");
return NULL;
}
/*
* Unimplemented
*/
EXTERN_C INT
WINAPI
SHLookupIconIndexA(LPCSTR lpName, INT iIndex, UINT uFlags)
{
FIXME("SHLookupIconIndexA() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C INT
WINAPI
SHLookupIconIndexW(LPCWSTR lpName, INT iIndex, UINT uFlags)
{
FIXME("SHLookupIconIndexW() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C HANDLE
WINAPI
PifMgr_OpenProperties(LPCWSTR lpAppPath, LPCWSTR lpPifPath, UINT hInfIndex, UINT options)
{
FIXME("PifMgr_OpenProperties() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C INT
WINAPI
PifMgr_GetProperties(HANDLE hHandle, LPCSTR lpName, LPVOID lpUnknown, INT iUnknown, UINT uUnknown)
{
FIXME("PifMgr_GetProperties() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C INT
WINAPI
PifMgr_SetProperties(HANDLE hHandle, LPCSTR lpName, LPCVOID lpUnknown, INT iUnknown, UINT uUnknown)
{
FIXME("PifMgr_SetProperties() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHStartNetConnectionDialogA(HWND hwnd,
LPCSTR pszRemoteName,
DWORD dwType)
{
FIXME("SHStartNetConnectionDialogA() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHStartNetConnectionDialogW(HWND hwnd,
LPCWSTR pszRemoteName,
DWORD dwType)
{
FIXME("SHStartNetConnectionDialogW() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C HANDLE
WINAPI
PifMgr_CloseProperties(HANDLE hHandle, UINT uUnknown)
{
FIXME("PifMgr_CloseProperties() stub\n");
return NULL;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
DAD_DragEnterEx2(HWND hwndTarget,
POINT ptStart,
IDataObject *pdtObject)
{
FIXME("DAD_DragEnterEx2() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
IsSuspendAllowed(VOID)
{
FIXME("IsSuspendAllowed() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C UINT
WINAPI
SHGetNetResource(LPVOID lpUnknown1, UINT iIndex, LPVOID lpUnknown2, UINT cchMax)
{
FIXME("SHGetNetResource() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
DragQueryInfo(HDROP hDrop, DRAGINFO *pDragInfo)
{
FIXME("DragQueryInfo() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C LPVOID
WINAPI
DDECreatePostNotify(LPVOID lpUnknown)
{
FIXME("DDECreatePostNotify() stub\n");
return NULL;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHIsBadInterfacePtr(LPVOID pv, UINT ucb)
{
FIXME("SHIsBadInterfacePtr() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
Activate_RunDLL(DWORD dwProcessId, LPVOID lpUnused1, LPVOID lpUnused2, LPVOID lpUnused3)
{
FIXME("Activate_RunDLL() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C VOID
WINAPI
AppCompat_RunDLLW(HWND hwnd, HINSTANCE hInstance, LPWSTR pszCmdLine, int nCmdShow)
{
FIXME("AppCompat_RunDLLW() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C VOID
WINAPI
Control_RunDLLAsUserW(HWND hwnd, HINSTANCE hInstance, LPWSTR pszCmdLine, int nCmdShow)
{
FIXME("Control_RunDLLAsUserW() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C UINT
WINAPI
DragQueryFileAorW(HDROP hDrop, UINT iIndex, LPWSTR lpFile, UINT ucb, BOOL bUnicode, BOOL bShorten)
{
FIXME("DragQueryFileAorW() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C DWORD
WINAPI
SHNetConnectionDialog(HWND hwndOwner,
LPCWSTR lpstrRemoteName,
DWORD dwType)
{
FIXME("SHNetConnectionDialog() stub\n");
return ERROR_INVALID_PARAMETER;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
DAD_SetDragImageFromListView(HWND hwnd, POINT pt)
{
FIXME("DAD_SetDragImageFromListView() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C void
WINAPI
SHHandleDiskFull(HWND hwndOwner, UINT uDrive)
{
FIXME("SHHandleDiskFull() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
ILGetPseudoNameW(LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2, LPWSTR szStr, INT iUnknown)
{
/* Unimplemented in WinXP SP3 */
TRACE("ILGetPseudoNameW() stub\n");
*szStr = 0;
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C VOID
WINAPI
SHGlobalDefect(DWORD dwUnknown)
{
/* Unimplemented in WinXP SP3 */
TRACE("SHGlobalDefect() stub\n");
}
/*
* Unimplemented
*/
EXTERN_C LPITEMIDLIST
WINAPI
Printers_GetPidl(LPCITEMIDLIST pidl, LPCWSTR lpName, DWORD dwUnknown1, DWORD dwUnknown2)
{
FIXME("Printers_GetPidl() stub\n");
return NULL;
}
/*
* Unimplemented
*/
EXTERN_C INT
WINAPI
Int64ToString(LONGLONG llInt64,
LPWSTR lpOut,
UINT uSize,
BOOL bUseFormat,
NUMBERFMT *pNumberFormat,
DWORD dwNumberFlags)
{
FIXME("Int64ToString() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C INT
WINAPI
LargeIntegerToString(LARGE_INTEGER *pLargeInt,
LPWSTR lpOut,
UINT uSize,
BOOL bUseFormat,
NUMBERFMT *pNumberFormat,
DWORD dwNumberFlags)
{
FIXME("LargeIntegerToString() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C LONG
WINAPI
Printers_AddPrinterPropPages(LPVOID lpUnknown1, LPVOID lpUnknown2)
{
FIXME("Printers_AddPrinterPropPages() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C WORD
WINAPI
ExtractIconResInfoA(HANDLE hHandle,
LPSTR lpFile,
WORD wIndex,
LPWORD lpSize,
LPHANDLE lpIcon)
{
FIXME("ExtractIconResInfoA() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C WORD
WINAPI
ExtractIconResInfoW(HANDLE hHandle,
LPWSTR lpFile,
WORD wIndex,
LPWORD lpSize,
LPHANDLE lpIcon)
{
FIXME("ExtractIconResInfoW() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C DWORD
WINAPI
ExtractVersionResource16W(LPWSTR lpName, LPHANDLE lpHandle)
{
FIXME("ExtractVersionResource16W() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C BOOL*
WINAPI
FindExeDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
FIXME("FindExeDlgProc() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C HANDLE
WINAPI
InternalExtractIconListW(HANDLE hHandle,
LPWSTR lpFileName,
LPINT lpCount)
{
FIXME("InternalExtractIconListW() stub\n");
return NULL;
}
/*
* Unimplemented
*/
EXTERN_C HANDLE
WINAPI
InternalExtractIconListA(HANDLE hHandle,
LPSTR lpFileName,
LPINT lpCount)
{
FIXME("InternalExtractIconListA() stub\n");
return NULL;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
FirstUserLogon(LPWSTR lpUnknown1, LPWSTR lpUnknown2)
{
FIXME("FirstUserLogon() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHSetFolderPathA(int csidl,
HANDLE hToken,
DWORD dwFlags,
LPCSTR pszPath)
{
FIXME("SHSetFolderPathA() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHSetFolderPathW(int csidl,
HANDLE hToken,
DWORD dwFlags,
LPCWSTR pszPath)
{
FIXME("SHSetFolderPathW() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHGetUserPicturePathW(LPCWSTR lpPath, int csidl, LPVOID lpUnknown)
{
FIXME("SHGetUserPicturePathW() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHSetUserPicturePathW(LPCWSTR lpPath, int csidl, LPVOID lpUnknown)
{
FIXME("SHGetUserPicturePathA() stub\n");
return E_FAIL;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHOpenEffectiveToken(LPVOID Token)
{
FIXME("SHOpenEffectiveToken() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHTestTokenPrivilegeW(HANDLE hToken, LPDWORD ReturnLength)
{
FIXME("SHTestTokenPrivilegeW() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHShouldShowWizards(LPVOID lpUnknown)
{
FIXME("SHShouldShowWizards() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
PathIsSlowW(LPCWSTR pszFile, DWORD dwFileAttr)
{
FIXME("PathIsSlowW() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
PathIsSlowA(LPCSTR pszFile, DWORD dwFileAttr)
{
FIXME("PathIsSlowA() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C DWORD
WINAPI
SHGetUserDisplayName(LPWSTR lpName, PULONG puSize)
{
FIXME("SHGetUserDisplayName() stub\n");
wcscpy(lpName, L"UserName");
return ERROR_SUCCESS;
}
/*
* Unimplemented
*/
EXTERN_C DWORD
WINAPI
SHGetProcessDword(DWORD dwUnknown1, DWORD dwUnknown2)
{
/* Unimplemented in WinXP SP3 */
TRACE("SHGetProcessDword() stub\n");
return 0;
}
/*
* Unimplemented
*/
EXTERN_C BOOL
WINAPI
SHTestTokenMembership(HANDLE TokenHandle, ULONG SidToCheck)
{
FIXME("SHTestTokenMembership() stub\n");
return FALSE;
}
/*
* Unimplemented
*/
EXTERN_C LPVOID
WINAPI
SHGetUserSessionId(HANDLE hHandle)
{
FIXME("SHGetUserSessionId() stub\n");
return NULL;
}
EXTERN_C
DWORD WINAPI CheckStagingArea(VOID)
{
/* Called by native explorer */
return 0;
}
EXTERN_C
DWORD WINAPI SHGetComputerDisplayNameW(DWORD param1, DWORD param2, DWORD param3, DWORD param4)
{
FIXME("SHGetComputerDisplayNameW() stub\n");
return E_FAIL;
}