Stub implementation for MsiGetFileHashA/W.

This commit is contained in:
Mike McCormack 2005-11-02 10:56:54 +00:00 committed by Alexandre Julliard
parent dded8fb7a8
commit 15e578dfbc
3 changed files with 31 additions and 2 deletions

View File

@ -1988,3 +1988,23 @@ UINT WINAPI MsiEnumPatchesW( LPCWSTR szProduct, DWORD iPatchIndex,
iPatchIndex, lpPatchBuf, lpTransformsBuf, pcchTransformsBuf);
return ERROR_NO_MORE_ITEMS;
}
/***********************************************************************
* MsiGetFileHashW [MSI.@]
*/
UINT WINAPI MsiGetFileHashW( LPCWSTR szFilePath, DWORD dwOptions,
PMSIFILEHASHINFO pHash )
{
FIXME("%s %08lx %p\n", debugstr_w(szFilePath), dwOptions, pHash );
return ERROR_CALL_NOT_IMPLEMENTED;
}
/***********************************************************************
* MsiGetFileHashA [MSI.@]
*/
UINT WINAPI MsiGetFileHashA( LPCSTR szFilePath, DWORD dwOptions,
PMSIFILEHASHINFO pHash )
{
FIXME("%s %08lx %p\n", debugstr_a(szFilePath), dwOptions, pHash );
return ERROR_CALL_NOT_IMPLEMENTED;
}

View File

@ -211,8 +211,8 @@
215 stub MsiIsProductElevatedW
216 stdcall MsiGetShortcutTargetA(str ptr ptr ptr)
217 stdcall MsiGetShortcutTargetW(wstr ptr ptr ptr)
218 stub MsiGetFileHashA
219 stub MsiGetFileHashW
218 stdcall MsiGetFileHashA(str long ptr)
219 stdcall MsiGetFileHashW(wstr long ptr)
220 stub MsiEnumComponentCostsA
221 stub MsiEnumComponentCostsW
222 stdcall MsiCreateAndVerifyInstallerDirectory(long)

View File

@ -183,6 +183,11 @@ typedef enum tagMSICODE
MSICODE_PATCH = 0x40000000L
} MSICODE;
typedef struct _MSIFILEHASHINFO {
ULONG dwFileHashInfoSize;
ULONG dwData[4];
} MSIFILEHASHINFO, *PMSIFILEHASHINFO;
#define MAX_FEATURE_CHARS 38
/* Strings defined in msi.h */
@ -531,6 +536,10 @@ UINT WINAPI MsiEnumPatchesA(LPCSTR, DWORD, LPSTR, LPSTR, DWORD*);
UINT WINAPI MsiEnumPatchesW(LPCWSTR, DWORD, LPWSTR, LPWSTR, DWORD*);
#define MsiEnumPatches WINELIB_NAME_AW(MsiEnumPatches)
UINT WINAPI MsiGetFileHashA(LPCSTR, DWORD, PMSIFILEHASHINFO);
UINT WINAPI MsiGetFileHashW(LPCWSTR, DWORD, PMSIFILEHASHINFO);
#define MsiGetFileHash WINELIB_NAME_AW(MsiGetFileHash)
/* Non Unicode */
UINT WINAPI MsiCloseHandle(MSIHANDLE);
UINT WINAPI MsiCloseAllHandles(void);