Windows Media Format SDK Functions

The Windows Media Format SDK includes functions for creating objects, and helper functions to simplify some procedures.

This SDK supports the following functions for initial creation of objects. If an object is not listed below, you must create it using an interface from another object. For more information, see Objects.

Function Description
WMCheckURLExtension Examines the file name extension in the URL or file name that is passed in as an argument
WMCheckURLScheme Examines a network protocol and compares it to an internal list of supported schemes
WMCreateBackupRestorer Creates a backup restorer object.
WMCreateCertificate Wraps the user's certificates into an object.
WMCreateDeviceRegistration Creates a device registration object.
WMCreateDRMTranscryptor Creates a DRM transcryptor object.
WMCreateEditor Creates a metadata editor object.
WMCreateIndexer Creates an indexer object.
WMCreateLicenseRevocationAgent Creates a license revocation agent object.
WMCreateProfileManager Creates a profile manager object.
WMCreateReader Creates a reader object.
WMCreateSecureChannel Creates an object that implements IWMSecureChannel.
WMCreateSecureChannel_Certified Creates an object that implements IWMSecureChannel.
WMCreateSecureChannel_Certified_DES Creates an object that implements IWMSecureChannel..
WMCreateSecureChannel_DES Creates an object that implements IWMSecureChannel.
WMCreateSyncReader Creates a synchronous reader object.
WMCreateWriter Creates a writer object.
WMCreateWriterFileSink Creates a writer file sink object.
WMCreateWriterNetworkSink Creates a writer network sink object.
WMCreateWriterPushSink Creates a writer push sink object.
WMIsAvailableOffline Verifies that an ASF file can be played from a cached copy.
WMIsContentProtected Checks a file for DRM-protected content.
WMValidateData Verifies that data from the beginning of a file is consistent with the header section of a file type that is supported by the Windows Media Format SDK.

 

The following functions provide convenient shortcuts for analyzing files.

Function Description
WMCheckURLExtension Tries to determine whether a file is readable by the objects of the Windows Media Format SDK, based on the file name extension.
WMCheckURLScheme Determines whether a network protocol is supported by the objects of the Windows Media Format SDK.
WMIsAvailableOffline Determines whether a file is available for playback offline.
WMIsContentProtected Checks a file for DRM-protected content.
WMValidateData Tries to determine whether a file is readable by the objects of the Windows Media Format SDK by analyzing data at the beginning of the file.

 

Objects

Programming Reference