diff options
author | Rahul Kumar <rahku@microsoft.com> | 2015-09-25 14:03:54 -0700 |
---|---|---|
committer | Matt Ellis <matell@microsoft.com> | 2015-09-25 17:24:02 -0700 |
commit | 6ac3cef4e3b82b3b9fbbce50a4a762e576464634 (patch) | |
tree | e4740ff710922047a7359b0927274988ef14c052 /src/utilcode/util.cpp | |
parent | f0c1382fd5c65e44585b84a4bf3dd8ec86d73c6c (diff) | |
download | coreclr-6ac3cef4e3b82b3b9fbbce50a4a762e576464634.tar.gz coreclr-6ac3cef4e3b82b3b9fbbce50a4a762e576464634.tar.bz2 coreclr-6ac3cef4e3b82b3b9fbbce50a4a762e576464634.zip |
Fix for 134453: fix prefast warnings
[tfs-changeset: 1529946]
Diffstat (limited to 'src/utilcode/util.cpp')
-rw-r--r-- | src/utilcode/util.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utilcode/util.cpp b/src/utilcode/util.cpp index e7d6a620ff..062cf61d95 100644 --- a/src/utilcode/util.cpp +++ b/src/utilcode/util.cpp @@ -3783,6 +3783,7 @@ namespace Com { namespace __imp { + __success(return == S_OK) static HRESULT FindSubKeyDefaultValueForCLSID(REFCLSID rclsid, LPCWSTR wszSubKeyName, SString & ssValue) { @@ -3803,6 +3804,7 @@ namespace Com return Clr::Util::Reg::ReadStringValue(HKEY_CLASSES_ROOT, ssKeyName.GetUnicode(), NULL, ssValue); } + __success(return == S_OK) static HRESULT FindSubKeyDefaultValueForCLSID(REFCLSID rclsid, LPCWSTR wszSubKeyName, __deref_out __deref_out_z LPWSTR* pwszValue) { |