diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/ole32/oleui/creg.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
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; +}; |