71 lines
1.5 KiB
C
71 lines
1.5 KiB
C
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Copyright (c) 1999 Microsoft Corporation
|
||
|
//
|
||
|
// Module Name:
|
||
|
// dnsdomanidomaincontainment.h
|
||
|
//
|
||
|
// Implementation File:
|
||
|
// dnsdomanidomaincontainment.cpp
|
||
|
//
|
||
|
// Description:
|
||
|
// Definition of the CDnsDomainDomainContainment class.
|
||
|
//
|
||
|
// Author:
|
||
|
// Henry Wang (Henrywa) March 8, 2000
|
||
|
//
|
||
|
// Notes:
|
||
|
//
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
#pragma once
|
||
|
|
||
|
#include "dnsbase.h"
|
||
|
class CObjPath;
|
||
|
class CDnsRpcNode;
|
||
|
|
||
|
|
||
|
class CDnsDomainDomainContainment : CDnsBase
|
||
|
{
|
||
|
public:
|
||
|
CDnsDomainDomainContainment();
|
||
|
CDnsDomainDomainContainment(
|
||
|
const WCHAR*,
|
||
|
CWbemServices*
|
||
|
);
|
||
|
~CDnsDomainDomainContainment();
|
||
|
SCODE EnumInstance(
|
||
|
long lFlags,
|
||
|
IWbemContext * pCtx,
|
||
|
IWbemObjectSink * pHandler);
|
||
|
SCODE GetObject(
|
||
|
CObjPath & ObjectPath,
|
||
|
long lFlags,
|
||
|
IWbemContext * pCtx,
|
||
|
IWbemObjectSink * pHandler
|
||
|
);
|
||
|
|
||
|
SCODE ExecuteMethod(
|
||
|
CObjPath & objPath,
|
||
|
WCHAR * wzMethodName,
|
||
|
long lFlag,
|
||
|
IWbemClassObject * pInArgs,
|
||
|
IWbemObjectSink * pHandler
|
||
|
) ;
|
||
|
static SCODE InstanceFilter(
|
||
|
CDomainNode & ParentDomain,
|
||
|
PVOID pFilter,
|
||
|
CDnsRpcNode * pNode,
|
||
|
IWbemClassObject * pClass,
|
||
|
CWbemInstanceMgr & InstMgr
|
||
|
);
|
||
|
static CDnsBase* CreateThis(
|
||
|
const WCHAR * wszName,
|
||
|
CWbemServices * pNamespace,
|
||
|
const char * szType
|
||
|
);
|
||
|
|
||
|
|
||
|
|
||
|
};
|
||
|
|