2001-08-28 19:25:39 +02:00
|
|
|
/*
|
|
|
|
* Regster/Unregister servers. (for internal use)
|
|
|
|
*
|
|
|
|
* hidenori@a2.ctktv.ne.jp
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QUARTZ_REGSVR_H
|
|
|
|
#define QUARTZ_REGSVR_H
|
|
|
|
|
2001-10-28 22:16:00 +01:00
|
|
|
extern const WCHAR QUARTZ_wszREG_SZ[7];
|
2001-09-07 21:46:49 +02:00
|
|
|
extern const WCHAR QUARTZ_wszInprocServer32[];
|
|
|
|
extern const WCHAR QUARTZ_wszThreadingModel[];
|
|
|
|
extern const WCHAR QUARTZ_wszBoth[];
|
|
|
|
extern const WCHAR QUARTZ_wszCLSID[];
|
|
|
|
extern const WCHAR QUARTZ_wszFilterData[];
|
|
|
|
extern const WCHAR QUARTZ_wszFriendlyName[];
|
|
|
|
extern const WCHAR QUARTZ_wszInstance[];
|
|
|
|
extern const WCHAR QUARTZ_wszMerit[];
|
2001-10-28 22:16:00 +01:00
|
|
|
extern const WCHAR QUARTZ_wszMediaType[];
|
|
|
|
extern const WCHAR QUARTZ_wszSubType[];
|
|
|
|
extern const WCHAR QUARTZ_wszExtensions[];
|
|
|
|
extern const WCHAR QUARTZ_wszSourceFilter[];
|
2001-08-28 19:25:39 +02:00
|
|
|
|
|
|
|
|
2001-10-28 22:16:00 +01:00
|
|
|
void QUARTZ_CatPathSepW( WCHAR* pBuf );
|
|
|
|
void QUARTZ_GUIDtoString( WCHAR* pBuf, const GUID* pguid );
|
|
|
|
|
2001-09-07 21:46:49 +02:00
|
|
|
HRESULT QUARTZ_CreateCLSIDPath(
|
|
|
|
WCHAR* pwszBuf, DWORD dwBufLen,
|
2001-08-28 19:25:39 +02:00
|
|
|
const CLSID* pclsid,
|
2001-09-07 21:46:49 +02:00
|
|
|
LPCWSTR lpszPathFromCLSID );
|
|
|
|
|
|
|
|
HRESULT QUARTZ_OpenCLSIDKey(
|
|
|
|
HKEY* phkey, /* [OUT] hKey */
|
|
|
|
REGSAM rsAccess, /* [IN] access */
|
|
|
|
BOOL fCreate, /* TRUE = RegCreateKey, FALSE = RegOpenKey */
|
|
|
|
const CLSID* pclsid, /* CLSID */
|
|
|
|
LPCWSTR lpszPathFromCLSID ); /* related path from CLSID */
|
|
|
|
|
|
|
|
HRESULT QUARTZ_RegisterAMovieDLLServer(
|
|
|
|
const CLSID* pclsid, /* [IN] CLSID */
|
|
|
|
LPCWSTR lpFriendlyName, /* [IN] Friendly name */
|
|
|
|
LPCWSTR lpNameOfDLL, /* [IN] name of the registered DLL */
|
|
|
|
BOOL fRegister ); /* [IN] TRUE = register, FALSE = unregister */
|
|
|
|
|
|
|
|
HRESULT QUARTZ_RegisterCategory(
|
|
|
|
const CLSID* pguidFilterCategory, /* [IN] Category */
|
|
|
|
LPCWSTR lpFriendlyName, /* [IN] friendly name */
|
|
|
|
DWORD dwMerit, /* [IN] merit */
|
|
|
|
BOOL fRegister ); /* [IN] TRUE = register, FALSE = unregister */
|
|
|
|
|
|
|
|
HRESULT QUARTZ_RegisterAMovieFilter(
|
|
|
|
const CLSID* pguidFilterCategory, /* [IN] Category */
|
|
|
|
const CLSID* pclsid, /* [IN] CLSID of this filter */
|
|
|
|
const BYTE* pbFilterData, /* [IN] filter data(no spec) */
|
|
|
|
DWORD cbFilterData, /* [IN] size of the filter data */
|
|
|
|
LPCWSTR lpFriendlyName, /* [IN] friendly name */
|
|
|
|
LPCWSTR lpInstance, /* [IN] instance */
|
|
|
|
BOOL fRegister ); /* [IN] TRUE = register, FALSE = unregister */
|
2001-08-28 19:25:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* QUARTZ_REGSVR_H */
|