diff options
Diffstat (limited to '')
-rw-r--r-- | private/ole32/oleui/creg.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/private/ole32/oleui/creg.h b/private/ole32/oleui/creg.h new file mode 100644 index 000000000..99b02a94d --- /dev/null +++ b/private/ole32/oleui/creg.h @@ -0,0 +1,51 @@ +//+--------------------------------------------------------------------- +// +// Microsoft Windows +// Copyright (C) Microsoft Corporation, 1993 - 1994. +// +// File: creg.h +// +// Contents: Defines class CRegistry to wrap registry access +// +// Classes: +// +// Methods: +// +// History: 23-Apr-96 BruceMa Created. +// +//---------------------------------------------------------------------- + +typedef enum {_LOCALSERVER, LOCALSERVER, _LOCALSERVER32, LOCALSERVER32, + LOCALSERVICE, REMOTESERVER} SRVTYPE; + + +// Wraps registry access + +class CRegistry +{ + public: + + CRegistry(void); + + ~CRegistry(void); + + BOOL Init(void); + + BOOL InitGetItem(void); + + SItem *GetNextItem(void); + + SItem *GetItem(DWORD dwItem); + + SItem *FindItem(TCHAR *szItem); + + SItem *FindAppid(TCHAR *szAppid); + + void AppendIndex(SItem *pItem, DWORD dwIndex); + + DWORD GetNumItems(void); + + private: + + CStrings m_applications; +}; |