mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:37:12 +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)
|
if (rc != ERROR_SUCCESS)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
if (FAILED(StringCbCopyW(InstancePath, _countof(InstancePath), Enumerator)) ||
|
if (FAILED(StringCchCopyW(InstancePath, _countof(InstancePath), Enumerator)) ||
|
||||||
FAILED(StringCbCatW(InstancePath, _countof(InstancePath), BackSlash)) ||
|
FAILED(StringCchCatW(InstancePath, _countof(InstancePath), BackSlash)) ||
|
||||||
FAILED(StringCbCatW(InstancePath, _countof(InstancePath), KeyBuffer)) ||
|
FAILED(StringCchCatW(InstancePath, _countof(InstancePath), KeyBuffer)) ||
|
||||||
FAILED(StringCbCatW(InstancePath, _countof(InstancePath), BackSlash)))
|
FAILED(StringCchCatW(InstancePath, _countof(InstancePath), BackSlash)))
|
||||||
{
|
{
|
||||||
rc = ERROR_GEN_FAILURE;
|
rc = ERROR_GEN_FAILURE;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue