| 1 | /*
|
|---|
| 2 | * Regster/Unregister servers. (for internal use)
|
|---|
| 3 | *
|
|---|
| 4 | * hidenori@a2.ctktv.ne.jp
|
|---|
| 5 | */
|
|---|
| 6 |
|
|---|
| 7 | #ifndef QUARTZ_REGSVR_H
|
|---|
| 8 | #define QUARTZ_REGSVR_H
|
|---|
| 9 |
|
|---|
| 10 | extern const WCHAR QUARTZ_wszREG_SZ[];
|
|---|
| 11 | extern const WCHAR QUARTZ_wszInprocServer32[];
|
|---|
| 12 | extern const WCHAR QUARTZ_wszThreadingModel[];
|
|---|
| 13 | extern const WCHAR QUARTZ_wszBoth[];
|
|---|
| 14 | extern const WCHAR QUARTZ_wszCLSID[];
|
|---|
| 15 | extern const WCHAR QUARTZ_wszFilterData[];
|
|---|
| 16 | extern const WCHAR QUARTZ_wszFriendlyName[];
|
|---|
| 17 | extern const WCHAR QUARTZ_wszInstance[];
|
|---|
| 18 | extern const WCHAR QUARTZ_wszMerit[];
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 | HRESULT QUARTZ_CreateCLSIDPath(
|
|---|
| 22 | WCHAR* pwszBuf, DWORD dwBufLen,
|
|---|
| 23 | const CLSID* pclsid,
|
|---|
| 24 | LPCWSTR lpszPathFromCLSID );
|
|---|
| 25 |
|
|---|
| 26 | HRESULT QUARTZ_OpenCLSIDKey(
|
|---|
| 27 | HKEY* phkey, /* [OUT] hKey */
|
|---|
| 28 | REGSAM rsAccess, /* [IN] access */
|
|---|
| 29 | BOOL fCreate, /* TRUE = RegCreateKey, FALSE = RegOpenKey */
|
|---|
| 30 | const CLSID* pclsid, /* CLSID */
|
|---|
| 31 | LPCWSTR lpszPathFromCLSID ); /* related path from CLSID */
|
|---|
| 32 |
|
|---|
| 33 | HRESULT QUARTZ_RegisterAMovieDLLServer(
|
|---|
| 34 | const CLSID* pclsid, /* [IN] CLSID */
|
|---|
| 35 | LPCWSTR lpFriendlyName, /* [IN] Friendly name */
|
|---|
| 36 | LPCWSTR lpNameOfDLL, /* [IN] name of the registered DLL */
|
|---|
| 37 | BOOL fRegister ); /* [IN] TRUE = register, FALSE = unregister */
|
|---|
| 38 |
|
|---|
| 39 | HRESULT QUARTZ_RegisterCategory(
|
|---|
| 40 | const CLSID* pguidFilterCategory, /* [IN] Category */
|
|---|
| 41 | LPCWSTR lpFriendlyName, /* [IN] friendly name */
|
|---|
| 42 | DWORD dwMerit, /* [IN] merit */
|
|---|
| 43 | BOOL fRegister ); /* [IN] TRUE = register, FALSE = unregister */
|
|---|
| 44 |
|
|---|
| 45 | HRESULT QUARTZ_RegisterAMovieFilter(
|
|---|
| 46 | const CLSID* pguidFilterCategory, /* [IN] Category */
|
|---|
| 47 | const CLSID* pclsid, /* [IN] CLSID of this filter */
|
|---|
| 48 | const BYTE* pbFilterData, /* [IN] filter data(no spec) */
|
|---|
| 49 | DWORD cbFilterData, /* [IN] size of the filter data */
|
|---|
| 50 | LPCWSTR lpFriendlyName, /* [IN] friendly name */
|
|---|
| 51 | LPCWSTR lpInstance, /* [IN] instance */
|
|---|
| 52 | BOOL fRegister ); /* [IN] TRUE = register, FALSE = unregister */
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 | #endif /* QUARTZ_REGSVR_H */
|
|---|