registry.cpp File Reference

#include <QString>
#include <objbase.h>
#include <assert.h>
#include "Registry.h"
#include <QMessageBox>

Go to the source code of this file.

Functions

BOOL setKeyAndValue (const char *pszPath, const char *szSubkey, const char *szValue)
void GUIDtochar (const GUID &guid, char *szGUID, int length)
BOOL SubkeyExists (const char *pszPath, const char *szSubkey)
LONG recursiveDeleteKey (HKEY hKeyParent, const char *szKeyChild)
HRESULT RegisterServer (HMODULE hModule, const CLSID &clsid, const char *szFriendlyName, const char *szVerIndProgID, const char *szProgID, const GUID &libid)
LONG UnregisterServer (const CLSID &clsid, const char *szVerIndProgID, const char *szProgID)

Variables

const int GUID_STRING_SIZE = 39


Function Documentation

void GUIDtochar ( const GUID &  guid,
char *  szGUID,
int  length 
)

Definition at line 243 of file registry.cpp.

LONG recursiveDeleteKey ( HKEY  hKeyParent,
const char *  szKeyChild 
)

Definition at line 264 of file registry.cpp.

HRESULT RegisterServer ( HMODULE  hModule,
const CLSID clsid,
const char *  szFriendlyName,
const char *  szVerIndProgID,
const char *  szProgID,
const GUID &  libid 
)

Definition at line 75 of file registry.cpp.

BOOL setKeyAndValue ( const char *  pszPath,
const char *  szSubkey,
const char *  szValue 
)

Definition at line 362 of file registry.cpp.

BOOL SubkeyExists ( const char *  pszPath,
const char *  szSubkey 
)

Definition at line 317 of file registry.cpp.

LONG UnregisterServer ( const CLSID clsid,
const char *  szVerIndProgID,
const char *  szProgID 
)

Definition at line 187 of file registry.cpp.


Variable Documentation

const int GUID_STRING_SIZE = 39

Definition at line 61 of file registry.cpp.





~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
 
Commence Database User Support Group Forum
http://newsgroup.showoff-db.org/
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC
mark@lorimarksolutions.com