#include "CCTChar.h"
#include <list>
Go to the source code of this file.
Namespaces | |
namespace | CCPrintRegistry |
Functions to handle reading/writing to the printer registry settings. | |
Typedefs | |
typedef std::list< std::tstring > | STRLIST |
List of strings. | |
Functions | |
DWORD | CCPrintRegistry::GetRegistryDWORD (HANDLE hPrinter, LPCTSTR lpSetting, DWORD dwDefault) |
Reads DWORD data from the printer's registry settings. | |
int | CCPrintRegistry::GetRegistryInt (HANDLE hPrinter, LPCTSTR lpSetting, int nDefault) |
Reads interger data from the printer's registry settings. | |
std::tstring | CCPrintRegistry::GetRegistryString (HANDLE hPrinter, LPCTSTR lpSetting, LPCTSTR lpDefault) |
Reads string data from the printer's registry settings. | |
bool | CCPrintRegistry::GetRegistryBool (HANDLE hPrinter, LPCTSTR lpSetting, bool bDefault) |
Reads boolean data from the printer's registry settings. | |
bool | CCPrintRegistry::SetRegistryDWORD (HANDLE hPrinter, LPCTSTR lpSetting, DWORD dwValue) |
Writes DWORD data to the printer's registry settings. | |
bool | CCPrintRegistry::SetRegistryInt (HANDLE hPrinter, LPCTSTR lpSetting, int nValue) |
Writes integer data to the printer's registry settings. | |
bool | CCPrintRegistry::SetRegistryBool (HANDLE hPrinter, LPCTSTR lpSetting, bool bValue) |
Writes boolean data to the printer's registry settings. | |
bool | CCPrintRegistry::SetRegistryString (HANDLE hPrinter, LPCTSTR lpSetting, const std::tstring &sValue) |
Writes string data to the printer's registry settings. | |
bool | CCPrintRegistry::EraseRegistryValue (HANDLE hPrinter, LPCTSTR lpSetting) |
Deletes a data value from the printer's registry settings. | |
bool | CCPrintRegistry::EnumRegistryValues (HANDLE hPrinter, STRLIST &lValues, LPCTSTR lpPrefix=NULL) |
Get list of value names of a key (optionally, only those that have a specific prefix). |
Definition in file CCPrintRegistry.h.