mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 07:05:42 +00:00
[SETUPAPI]
- fix a mix up, caught by Mark svn path=/trunk/; revision=73670
This commit is contained in:
parent
49f2678311
commit
747a21c72e
1 changed files with 4 additions and 4 deletions
|
@ -166,10 +166,10 @@ SETUP_CreateDevicesListFromEnumerator(
|
|||
if (rc != ERROR_SUCCESS)
|
||||
goto cleanup;
|
||||
|
||||
if (FAILED(StringCbCopyW(InstancePath, _countof(InstancePath), Enumerator)) ||
|
||||
FAILED(StringCbCatW(InstancePath, _countof(InstancePath), BackSlash)) ||
|
||||
FAILED(StringCbCatW(InstancePath, _countof(InstancePath), KeyBuffer)) ||
|
||||
FAILED(StringCbCatW(InstancePath, _countof(InstancePath), BackSlash)))
|
||||
if (FAILED(StringCchCopyW(InstancePath, _countof(InstancePath), Enumerator)) ||
|
||||
FAILED(StringCchCatW(InstancePath, _countof(InstancePath), BackSlash)) ||
|
||||
FAILED(StringCchCatW(InstancePath, _countof(InstancePath), KeyBuffer)) ||
|
||||
FAILED(StringCchCatW(InstancePath, _countof(InstancePath), BackSlash)))
|
||||
{
|
||||
rc = ERROR_GEN_FAILURE;
|
||||
goto cleanup;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue