1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 #ifndef _REGISTRY_H_ 6 #define _REGISTRY_H_ 7 8 #include <objbase.h> 9 10 // This function will register a component in the Registry. 11 12 HRESULT RegisterServer(const CLSID& clsid, const WCHAR* szFriendlyName, 13 const WCHAR* szVerIndProgID, const WCHAR* szProgID); 14 15 // This function will unregister a component. 16 17 HRESULT UnregisterServer(const CLSID& clsid, const WCHAR* szVerIndProgID, 18 const WCHAR* szProgID); 19 20 #endif 21