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