mirror of
https://github.com/reactos/reactos.git
synced 2024-07-10 22:55:05 +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
|
@ -570,7 +570,7 @@ InitializeRemoteRegistryPicker(OUT IDsObjectPicker **pDsObjectPicker)
|
||||||
if (SUCCEEDED(hRet))
|
if (SUCCEEDED(hRet))
|
||||||
{
|
{
|
||||||
DSOP_INIT_INFO InitInfo;
|
DSOP_INIT_INFO InitInfo;
|
||||||
DSOP_SCOPE_INIT_INFO Scopes[] =
|
static DSOP_SCOPE_INIT_INFO Scopes[] =
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
sizeof(DSOP_SCOPE_INIT_INFO),
|
sizeof(DSOP_SCOPE_INIT_INFO),
|
||||||
|
@ -597,7 +597,7 @@ InitializeRemoteRegistryPicker(OUT IDsObjectPicker **pDsObjectPicker)
|
||||||
InitInfo.pwzTargetComputer = NULL;
|
InitInfo.pwzTargetComputer = NULL;
|
||||||
InitInfo.cDsScopeInfos = sizeof(Scopes) / sizeof(Scopes[0]);
|
InitInfo.cDsScopeInfos = sizeof(Scopes) / sizeof(Scopes[0]);
|
||||||
InitInfo.aDsScopeInfos = Scopes;
|
InitInfo.aDsScopeInfos = Scopes;
|
||||||
InitInfo.flOptions = DSOP_SCOPE_TYPE_TARGET_COMPUTER;
|
InitInfo.flOptions = 0;
|
||||||
InitInfo.cAttributesToFetch = 0;
|
InitInfo.cAttributesToFetch = 0;
|
||||||
InitInfo.apwzAttributeNames = NULL;
|
InitInfo.apwzAttributeNames = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue