| LEADTOOLS Media Foundation Help > LEADTOOLS Media Foundation Features > Media Foundation Function References > IltmfProcessors Interface > IltmfProcessors::RegisterExternalProcessor |
#include "ltmf.h"
|
C Syntax |
HRESULT IltmfProcessors_RegisterExternalProcessor ( pProcessors, ClassID, Register ) |
|
C++ Syntax |
HRESULT RegisterExternalProcessor ( ClassID, Register ) |
|
IltmfProcessors * pProcessors ; |
/* pointer to an interface */ |
|
BSTR ClassID ; |
/* string */ |
|
VARIANT_BOOL Register ; |
/* bool */ |
Adds a processor to the collection.
|
Parameter |
Description |
|
|
ClassID |
Character string that contains the class id of the external processor to register / unregister. |
|
|
Register |
A boolean value indicating whether to register or unregister the external processor. |
|
|
|
Values |
|
|
|
VARIANT_TRUE |
|
|
|
VARIANT_FALSE |
|
Returns
|
S_OK |
The function was successful. |
|
<> S_OK |
An error occurred. Refer to the Error Codes or the HRESULT error codes in the MediaFoundation documentation. |
Required DLLs and Libraries
|
LTMF For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application . |
See Also
|
Elements: |
|
|
Topics: |
|
|
|
Example
For an example, refer to RegisteringExternalProcessors ltmfProcessors for C++ .