summaryrefslogtreecommitdiffstats
path: root/private/ole32/oleui/creg.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/ole32/oleui/creg.h
downloadNT4.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.h51
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;
+};