Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
15e578df
Commit
15e578df
authored
Nov 02, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Nov 02, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub implementation for MsiGetFileHashA/W.
parent
dded8fb7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
2 deletions
+31
-2
msi.c
dlls/msi/msi.c
+20
-0
msi.spec
dlls/msi/msi.spec
+2
-2
msi.h
include/msi.h
+9
-0
No files found.
dlls/msi/msi.c
View file @
15e578df
...
@@ -1988,3 +1988,23 @@ UINT WINAPI MsiEnumPatchesW( LPCWSTR szProduct, DWORD iPatchIndex,
...
@@ -1988,3 +1988,23 @@ UINT WINAPI MsiEnumPatchesW( LPCWSTR szProduct, DWORD iPatchIndex,
iPatchIndex
,
lpPatchBuf
,
lpTransformsBuf
,
pcchTransformsBuf
);
iPatchIndex
,
lpPatchBuf
,
lpTransformsBuf
,
pcchTransformsBuf
);
return
ERROR_NO_MORE_ITEMS
;
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
;
}
dlls/msi/msi.spec
View file @
15e578df
...
@@ -211,8 +211,8 @@
...
@@ -211,8 +211,8 @@
215 stub MsiIsProductElevatedW
215 stub MsiIsProductElevatedW
216 stdcall MsiGetShortcutTargetA(str ptr ptr ptr)
216 stdcall MsiGetShortcutTargetA(str ptr ptr ptr)
217 stdcall MsiGetShortcutTargetW(wstr ptr ptr ptr)
217 stdcall MsiGetShortcutTargetW(wstr ptr ptr ptr)
218 st
ub MsiGetFileHashA
218 st
dcall MsiGetFileHashA(str long ptr)
219 st
ub MsiGetFileHashW
219 st
dcall MsiGetFileHashW(wstr long ptr)
220 stub MsiEnumComponentCostsA
220 stub MsiEnumComponentCostsA
221 stub MsiEnumComponentCostsW
221 stub MsiEnumComponentCostsW
222 stdcall MsiCreateAndVerifyInstallerDirectory(long)
222 stdcall MsiCreateAndVerifyInstallerDirectory(long)
...
...
include/msi.h
View file @
15e578df
...
@@ -183,6 +183,11 @@ typedef enum tagMSICODE
...
@@ -183,6 +183,11 @@ typedef enum tagMSICODE
MSICODE_PATCH
=
0x40000000L
MSICODE_PATCH
=
0x40000000L
}
MSICODE
;
}
MSICODE
;
typedef
struct
_MSIFILEHASHINFO
{
ULONG
dwFileHashInfoSize
;
ULONG
dwData
[
4
];
}
MSIFILEHASHINFO
,
*
PMSIFILEHASHINFO
;
#define MAX_FEATURE_CHARS 38
#define MAX_FEATURE_CHARS 38
/* Strings defined in msi.h */
/* Strings defined in msi.h */
...
@@ -531,6 +536,10 @@ UINT WINAPI MsiEnumPatchesA(LPCSTR, DWORD, LPSTR, LPSTR, DWORD*);
...
@@ -531,6 +536,10 @@ UINT WINAPI MsiEnumPatchesA(LPCSTR, DWORD, LPSTR, LPSTR, DWORD*);
UINT
WINAPI
MsiEnumPatchesW
(
LPCWSTR
,
DWORD
,
LPWSTR
,
LPWSTR
,
DWORD
*
);
UINT
WINAPI
MsiEnumPatchesW
(
LPCWSTR
,
DWORD
,
LPWSTR
,
LPWSTR
,
DWORD
*
);
#define MsiEnumPatches WINELIB_NAME_AW(MsiEnumPatches)
#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 */
/* Non Unicode */
UINT
WINAPI
MsiCloseHandle
(
MSIHANDLE
);
UINT
WINAPI
MsiCloseHandle
(
MSIHANDLE
);
UINT
WINAPI
MsiCloseAllHandles
(
void
);
UINT
WINAPI
MsiCloseAllHandles
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment