Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
883 B

//+--------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996 - 1999
//
// File: regd.h
//
// Contents: Helper functions registering and unregistering a component.
//
// History: July-97 xtan created
//
//---------------------------------------------------------------------------
#ifndef __Regd_H__
#define __Regd_H__
// This function will register a component in the Registry.
HRESULT
RegisterDcomServer(
const CLSID& clsid,
const WCHAR *szFriendlyName,
const WCHAR *szVerIndProgID,
const WCHAR *szProgID);
// This function will unregister a component
HRESULT
UnregisterDcomServer(
const CLSID& clsid,
const WCHAR *szVerIndProgID,
const WCHAR *szProgID);
HRESULT
RegisterDcomApp(
const CLSID& clsid);
VOID
UnregisterDcomApp(VOID);
#endif