Windows Media Format SDK banner art
PreviousNext

Acquiring Certificates and Libraries

The Windows Media Format SDK certificate is a library file (WMStub.lib) that must be linked to your application before you can use the SDK. It is provided separately from the SDK. To obtain a certificate, see the Windows Media page at the Microsoft Web site.

To use the library with the sample applications, add the library to the lib directory where you installed the Windows Media Format SDK. The sample applications automatically look for WMStub.lib in that directory. To use the library in your own application, link WMStub.lib to your application.

To use the digital rights management (DRM) functionality of the Windows Media Format SDK in your application, you must acquire a different certificate library from Microsoft. This library is named WMStubDRM.lib, and must be used in exactly the same manner as WMStub.lib. To use this library with the sample projects, you must modify the project settings to link WMStubDRM.lib instead of WMStub.lib, and for your own application, you must link to WMStubDRM.lib. If you are linking WMStubDRM.lib, do not link WMStub.lib; only one of the two libraries can be linked into an application. To obtain a DRM-enabled library, see the Windows Media page at the Microsoft Web site.

To use Windows Media Device Manager, you must get a Windows Media Device Manager certificate, with which you receive an .h file and a .cpp file. Certificates obtained for earlier releases or unreleased verisons of Windows Media Device Manager are not compatible with the new certificates. The samples provided with Windows Media Device Manager also require a certificate to run.

You can obtain a Windows Media Device Manager certificate by providing contact information on the Windows Media Format SDK Registration page at the Microsoft Web site.

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.