| 1 | /* BoCA - BonkEnc Component Architecture |
| 2 | * Copyright (C) 2007-2022 Robert Kausch <[email protected]> |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License as |
| 6 | * published by the Free Software Foundation, either version 2 of |
| 7 | * the License, or (at your option) any later version. |
| 8 | * |
| 9 | * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR |
| 10 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
| 11 | * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ |
| 12 | |
| 13 | #include <smooth.h> |
| 14 | |
| 15 | #include <wmsdk/wmsdk.h> |
| 16 | |
| 17 | using namespace smooth; |
| 18 | using namespace smooth::System; |
| 19 | |
| 20 | extern DynamicLoader *wmvcoredll; |
| 21 | |
| 22 | Bool LoadWMVCoreDLL(); |
| 23 | Void FreeWMVCoreDLL(); |
| 24 | |
| 25 | typedef HRESULT (STDMETHODCALLTYPE *WMCREATEREADER) (IUnknown *, DWORD, IWMReader **); |
| 26 | |
| 27 | extern WMCREATEREADER ex_WMCreateReader; |