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.
 
 
 
 
 
 

56 lines
1.0 KiB

/*++
Copyright (C) 1999-2001 Microsoft Corporation
Module Name:
PERFNDB.H
Abstract:
History:
--*/
#ifndef __PERFNDB_H__
#define __PERFNDB_H__
#include <wbemcomn.h>
#include "adapelem.h"
#include "ntreg.h"
class CPerfNameDb: public CAdapElement
{
public:
CPerfNameDb(HKEY hKey);
~CPerfNameDb();
HRESULT Init(HKEY hKey);
BOOL IsOk(void){ return m_fOk; };
HRESULT GetDisplayName( DWORD dwIndex, WString& wstrDisplayName );
HRESULT GetDisplayName( DWORD dwIndex, LPCWSTR* ppwcsDisplayName );
HRESULT GetHelpName( DWORD dwIndex, WString& wstrHelpName );
HRESULT GetHelpName( DWORD dwIndex, LPCWSTR* ppwcsHelpName );
//VOID Dump();
static DWORD GetSystemReservedHigh(){return s_SystemReservedHigh; };
private:
// these are the MultiSz Pointers
WCHAR * m_pMultiCounter;
WCHAR * m_pMultiHelp;
// these are the "indexed" pointers
WCHAR ** m_pCounter;
WCHAR ** m_pHelp;
DWORD m_Size;
static DWORD s_SystemReservedHigh;
//
BOOL m_fOk;
};
#endif