Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9e30f775
Commit
9e30f775
authored
Dec 23, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Add some traces.
parent
489f82e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
msi.c
dlls/msi/msi.c
+6
-2
registry.c
dlls/msi/registry.c
+3
-2
No files found.
dlls/msi/msi.c
View file @
9e30f775
...
...
@@ -1942,6 +1942,7 @@ UINT WINAPI MsiQueryComponentStateW(LPCWSTR szProductCode,
*
pdwState
=
INSTALLSTATE_LOCAL
;
}
TRACE
(
"-> %d
\n
"
,
*
pdwState
);
return
ERROR_SUCCESS
;
}
...
...
@@ -2018,6 +2019,7 @@ done:
RegCloseKey
(
prodkey
);
RegCloseKey
(
userdata
);
TRACE
(
"-> %d
\n
"
,
state
);
return
state
;
}
...
...
@@ -2725,7 +2727,7 @@ INSTALLSTATE WINAPI MsiQueryFeatureStateW(LPCWSTR szProduct, LPCWSTR szFeature)
else
r
=
INSTALLSTATE_LOCAL
;
TRACE
(
"
%s %s -> %d
\n
"
,
debugstr_w
(
szProduct
),
debugstr_w
(
szFeature
)
,
r
);
TRACE
(
"
-> %d
\n
"
,
r
);
return
r
;
}
...
...
@@ -3666,8 +3668,10 @@ UINT WINAPI MsiGetFileHashW( LPCWSTR szFilePath, DWORD dwOptions,
handle
=
CreateFileW
(
szFilePath
,
GENERIC_READ
,
FILE_SHARE_READ
|
FILE_SHARE_DELETE
,
NULL
,
OPEN_EXISTING
,
0
,
NULL
);
if
(
handle
==
INVALID_HANDLE_VALUE
)
{
WARN
(
"can't open file %u
\n
"
,
GetLastError
());
return
ERROR_FILE_NOT_FOUND
;
}
length
=
GetFileSize
(
handle
,
NULL
);
mapping
=
CreateFileMappingW
(
handle
,
NULL
,
PAGE_READONLY
,
0
,
0
,
NULL
);
...
...
dlls/msi/registry.c
View file @
9e30f775
...
...
@@ -1549,10 +1549,11 @@ UINT WINAPI MsiEnumClientsW(LPCWSTR szComponent, DWORD index, LPWSTR szProduct)
sz
=
SQUISH_GUID_SIZE
;
r
=
RegEnumValueW
(
hkeyComp
,
index
,
szValName
,
&
sz
,
NULL
,
NULL
,
NULL
,
NULL
);
if
(
r
==
ERROR_SUCCESS
)
{
unsquash_guid
(
szValName
,
szProduct
);
TRACE
(
"-> %s
\n
"
,
debugstr_w
(
szProduct
));
}
RegCloseKey
(
hkeyComp
);
return
r
;
}
...
...
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