From b9430af2fdbd1b98305f3de5b1599784aecc33d1 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Mon, 3 Oct 2005 14:42:34 +0000 Subject: [PATCH] don't use invalid options in the DSOP_INIT_INFO structure of the computer selection dialog svn path=/trunk/; revision=18247 --- reactos/subsys/system/regedit/framewnd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/system/regedit/framewnd.c b/reactos/subsys/system/regedit/framewnd.c index c9a89ae0048..201bee07ea6 100644 --- a/reactos/subsys/system/regedit/framewnd.c +++ b/reactos/subsys/system/regedit/framewnd.c @@ -570,7 +570,7 @@ InitializeRemoteRegistryPicker(OUT IDsObjectPicker **pDsObjectPicker) if (SUCCEEDED(hRet)) { DSOP_INIT_INFO InitInfo; - DSOP_SCOPE_INIT_INFO Scopes[] = + static DSOP_SCOPE_INIT_INFO Scopes[] = { { sizeof(DSOP_SCOPE_INIT_INFO), @@ -597,7 +597,7 @@ InitializeRemoteRegistryPicker(OUT IDsObjectPicker **pDsObjectPicker) InitInfo.pwzTargetComputer = NULL; InitInfo.cDsScopeInfos = sizeof(Scopes) / sizeof(Scopes[0]); InitInfo.aDsScopeInfos = Scopes; - InitInfo.flOptions = DSOP_SCOPE_TYPE_TARGET_COMPUTER; + InitInfo.flOptions = 0; InitInfo.cAttributesToFetch = 0; InitInfo.apwzAttributeNames = NULL;