00001 #pragma once
00002 #include <shlwapi.h>
00003
00004
00005
00006
00007 #include <string>
00008 using namespace std;
00009 class OGG_DEMUX2_API RegWrap
00010 {
00011 public:
00012 RegWrap(void);
00013 ~RegWrap(void);
00014
00015 static LONG addKeyVal(HKEY inHive, string inKeyName, string inValueName, string inValue);
00016 static bool valueExists(HKEY inHive, string inKeyName, string inValueName);
00017 static string findNextEmptyMediaPlayerDesc();
00018 static bool addMediaPlayerDesc(string inDesc, string inExts);
00019 static bool removeKeyVal(HKEY inHive, string inKeyName, string inValueName);
00020 static bool removeMediaDesc();
00021 static bool deleteKeyRecurse(HKEY inHive, string inKeyName, string inSubKeyToDelete);
00022 };