mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 13:38:19 +00:00
don't use invalid options in the DSOP_INIT_INFO structure of the computer selection dialog
svn path=/trunk/; revision=18247
This commit is contained in:
parent
9e960ba331
commit
b9430af2fd
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue