registry.hxx (ed2f6d3b) | registry.hxx (30acf5e8) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 35 unchanged lines hidden (view full) --- 44bool SetRegistryKey(HKEY RootKey, const char* KeyName, const char* ValueName, const char* Value); 45 46/** Deletes the specified registry key and all of its subkeys 47 Returns true on success 48*/ 49bool DeleteRegistryKey(HKEY RootKey, const char* KeyName); 50 51/** May be used to determine if the specified registry key has subkeys | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 35 unchanged lines hidden (view full) --- 44bool SetRegistryKey(HKEY RootKey, const char* KeyName, const char* ValueName, const char* Value); 45 46/** Deletes the specified registry key and all of its subkeys 47 Returns true on success 48*/ 49bool DeleteRegistryKey(HKEY RootKey, const char* KeyName); 50 51/** May be used to determine if the specified registry key has subkeys |
52 The function returns true on success else if an error occures false | 52 The function returns true on success else if an error occurs false |
53*/ 54bool HasSubkeysRegistryKey(HKEY RootKey, const char* KeyName, bool& bResult); 55 56/** Converts a GUID to its string representation 57*/ 58std::string ClsidToString(const CLSID& clsid); 59 60/** Get the content of a specific key. 61*/ 62bool QueryRegistryKey(HKEY RootKey, const char* KeyName, const char* ValueName, char *pszData, DWORD dwBufLen); 63 64 65#endif | 53*/ 54bool HasSubkeysRegistryKey(HKEY RootKey, const char* KeyName, bool& bResult); 55 56/** Converts a GUID to its string representation 57*/ 58std::string ClsidToString(const CLSID& clsid); 59 60/** Get the content of a specific key. 61*/ 62bool QueryRegistryKey(HKEY RootKey, const char* KeyName, const char* ValueName, char *pszData, DWORD dwBufLen); 63 64 65#endif |