mirror of https://github.com/tongzx/nt5src
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.
39 lines
786 B
39 lines
786 B
//
|
|
// 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
|