windows-nt/Source/XPSP1/NT/multimedia/directx/dsound/dsdmo/oledll.h
2020-09-26 16:20:57 +08:00

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