IltmmPlay::put_WMCertificate

#include "ltmm.h"

C Syntax

HRESULT IltmmPlay__get_WMCertificate(pPlay, newVal)

C++ Syntax

HRESULT get_WMCertificate(newVal)

 

IltmmPlay *pPlay;

/* pointer to an interface */

IUnknown *newVal;

/* window media certificate */

Assigns a Window Media Certificate to the object.

Parameter

Description

pPlay

Pointer to an IltmmPlay interface.

newVal

Pointer to a Window 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

This function exists for future compatibility with the Windows Media Licensing. Currently, there are no additional licensing requirements to playback Windows Media file formats.

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.

Platforms

Win32, x64, Mobile

See Also

Elements:

IltmmPlay::get_WMCertificate

Topics:

Multimedia Function Group

Example

For a C example, refer to Adding Windows Media Support to the ltmmPlay Object for C.

For a C++ example, refer to Adding Windows Media Support to the ltmmPlay Object for C++.