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.
37 lines
1.2 KiB
37 lines
1.2 KiB
/****************************************************************************
|
|
*
|
|
* REGISTRY.h
|
|
*
|
|
* Microsoft Confidential
|
|
* Copyright (c) Microsoft Corporation 1992-1997
|
|
* All rights reserved
|
|
*
|
|
* The code comes almost verbatim from Chapter 7 of Dale Rogerson's
|
|
* "Inside COM", and thus is minimally commented.
|
|
*
|
|
* 4/24/97 jmazner Created
|
|
*
|
|
***************************************************************************/
|
|
|
|
#ifndef __Registry_H__
|
|
#define __Registry_H__
|
|
//
|
|
// 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 TCHAR* szFriendlyName,
|
|
const TCHAR* szVerIndProgID,
|
|
const TCHAR* szProgID) ;
|
|
|
|
// This function will unregister a component. Components
|
|
// call this function from their DllUnregisterServer function.
|
|
HRESULT UnregisterServer(const CLSID& clsid,
|
|
const TCHAR* szVerIndProgID,
|
|
const TCHAR* szProgID) ;
|
|
|
|
#endif
|