2025-04-27 07:49:33 -04:00

25 lines
727 B
C

// Copyright (c) 2000-2001 Microsoft Corporation, All Rights Reserved
#pragma once
//
// Registry.h
// - Helper functions registering and unregistering a component.
//
// This function will register a component in the Registry.
// The component calls this function from its DllRegisterServer function.
HRESULT RegisterServer(
HMODULE hModule,
const CLSID& clsid,
const char* szFriendlyName,
const char* szVerIndProgID,
const char* szProgID) ;
// This function will unregister a component. Components
// call this function from their DllUnregisterServer function.
HRESULT UnregisterServer(
const CLSID& clsid,
const char* szVerIndProgID,
const char* szProgID) ;