[ACLAYER] Use the return of StringCbPrintfW instead of ignoring it. CID 1363460-63...
authorMark Jansen <mark.jansen@reactos.org>
Wed, 13 Jul 2016 18:10:37 +0000 (18:10 +0000)
committerMark Jansen <mark.jansen@reactos.org>
Wed, 13 Jul 2016 18:10:37 +0000 (18:10 +0000)
svn path=/trunk/; revision=71932

reactos/dll/appcompat/shims/layer/versionlie.inl

index 99970be..1da8433 100644 (file)
@@ -52,7 +52,7 @@ BOOL WINAPI SHIM_OBJ_NAME(Notify)(DWORD fdwReason)
             "Service Pack %u", VERSION_INFO.wServicePackMajor);
         if (FAILED(hr))
             return FALSE;
-        StringCbPrintfW(VERSION_INFO.szCSDVersionW, sizeof(VERSION_INFO.szCSDVersionW),
+        hr = StringCbPrintfW(VERSION_INFO.szCSDVersionW, sizeof(VERSION_INFO.szCSDVersionW),
             szServicePack, VERSION_INFO.wServicePackMajor);
         if (FAILED(hr))
             return FALSE;