IltmmProcessors::RegisterExternalProcessor
#include "ltmm.h"
C Syntax |
HRESULT IltmmProcessors_RegisterExternalProcessor ( pProcessors, ClassID, Register ) |
C++ Syntax |
HRESULT RegisterExternalProcessor ( ClassID, Register ) |
IltmmProcessors * 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 DirectShow documentation. |
Required DLLs and Libraries
LTMM 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 ltmmProcessors for C .
For an example, refer to RegisteringExternalProcessors ltmmProcessors for C++ .