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
409d3f62
Commit
409d3f62
authored
Jan 27, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
Jan 27, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MsiGetProperty does not return any error on missing properties.
parent
52bf5023
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
package.c
dlls/msi/package.c
+10
-0
No files found.
dlls/msi/package.c
View file @
409d3f62
...
...
@@ -844,6 +844,11 @@ UINT WINAPI MsiGetPropertyA(MSIHANDLE hInstall, LPCSTR szName, LPSTR szValueBuf,
return
ERROR_INVALID_HANDLE
;
ret
=
MSI_GetPropertyA
(
package
,
szName
,
szValueBuf
,
pchValueBuf
);
msiobj_release
(
&
package
->
hdr
);
/* MsiGetProperty does not return error codes on missing properties */
if
(
ret
!=
ERROR_MORE_DATA
)
return
ERROR_SUCCESS
;
else
return
ret
;
}
...
...
@@ -866,5 +871,10 @@ UINT WINAPI MsiGetPropertyW(MSIHANDLE hInstall, LPCWSTR szName,
return
ERROR_INVALID_HANDLE
;
ret
=
MSI_GetPropertyW
(
package
,
szName
,
szValueBuf
,
pchValueBuf
);
msiobj_release
(
&
package
->
hdr
);
/* MsiGetProperty does not return error codes on missing properties */
if
(
ret
!=
ERROR_MORE_DATA
)
return
ERROR_SUCCESS
;
else
return
ret
;
}
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