IltmmCapture::put_WMCertificate
#include "ltmm.h"
C Syntax |
HRESULT IltmmCapture__put_WMCertificate(pCapture, newVal) |
C++ Syntax |
HRESULT put_WMCertificate(newVal) |
IltmmCapture *pCapture; |
/* pointer to an interface */ |
IUnknown *newVal; |
/* windows media certificate */ |
Assigns a Windows Media Certificate to the object.
Parameter |
Description |
pCapture |
Pointer to an IltmmCapture interface. |
newVal |
Pointer to a Windows Media Certificate interface pointer. |
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. |
Comments
You do not need to use this function on computers with Windows Media Format 9.5 components or later. If you install the Windows Media 9.5 redistributable or you have Windows Media Player 9 or later installed, you do not need to use Windows Media Certificates. For more information, please go to Windows Media Support.
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: |
IltmmCapture::get_WMCertificate, IltmmCapture::put_TargetFormat |
Topics: |
Example
For a C example, refer to Writing Windows Media Files for C.
For a C++ example, refer to Writing Windows Media Files for C++.