40 lines
786 B
C
40 lines
786 B
C
//
|
|
// OleDLL.h
|
|
//
|
|
// Copyright (c) 1997-1999 Microsoft Corporation
|
|
//
|
|
// @doc INTERNAL
|
|
//
|
|
//
|
|
#ifndef _OLEDLL_
|
|
#define _OLEDLL_
|
|
|
|
STDAPI
|
|
RegisterServer(HMODULE hModule,
|
|
const CLSID &clsid,
|
|
const TCHAR *szFriendlyName,
|
|
const TCHAR *szVerIndProgID,
|
|
const TCHAR *szProgID);
|
|
|
|
STDAPI
|
|
UnregisterServer(const CLSID &clsid,
|
|
const TCHAR *szFriendlyName,
|
|
const TCHAR *szVerIndProgID,
|
|
const TCHAR *szProgID);
|
|
|
|
BOOL
|
|
GetCLSIDRegValue(const CLSID &clsid,
|
|
const TCHAR *szKey,
|
|
LPVOID pValue,
|
|
LPDWORD pcbValue);
|
|
|
|
HRESULT CLSIDToStr(const CLSID &clsid,
|
|
TCHAR *szStr,
|
|
int cbStr);
|
|
|
|
HRESULT StrToCLSID(TCHAR *szStr,
|
|
CLSID &clsid,
|
|
int cbStr);
|
|
|
|
#endif
|