Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

55 lines
1.2 KiB

/*++
Copyright (C) 2000-2001 Microsoft Corporation
Module Name:
Abstract:
History:
--*/
//***************************************************************************
//
// DYNASTY.H
//
// raymcc 24-Apr-00 Created
//
//***************************************************************************
#ifndef _DYNASTY_H_
#define _DYNASTY_H_
class CDynasty
{
private:
CDynasty();
CDynasty(IWbemClassObject* pClassObj);
public:
LPWSTR m_wszClassName;
IWbemClassObject* m_pClassObj; // AddRef'ed, Released
CFlexArray m_Children; // Child classes
LPWSTR m_wszKeyScope;
BOOL m_bKeyed;
BOOL m_bDynamic;
BOOL m_bAbstract;
BOOL m_bAmendment;
~CDynasty();
BOOL IsKeyed() {return m_bKeyed;}
BOOL IsDynamic() {return m_bDynamic;}
BOOL IsAbstract() {return m_bAbstract;}
BOOL IsAmendment() {return m_bAbstract;}
LPCWSTR GetKeyScope() { return m_wszKeyScope; }
void AddChild(CDynasty* pChild);
void SetKeyScope(LPCWSTR wszKeyScope);
static CDynasty * Create(IWbemClassObject * pObj);
};
#endif