Microsoft KB Archive/893027

= BUG: You may receive an error message when you try to transfer content that is protected by Windows Media DRM to certain mobile devices by using Windows Media Device Manager =

Article ID: 893027

Article Last Modified on 1/28/2005

-

APPLIES TO


 * Windows Media Format 9.5 Software Development Kit x64 Edition

-





SYMPTOMS
You try to transfer content that is protected by Microsoft Windows Media digital rights management (DRM) to certain mobile devices by using Microsoft Windows Media Device Manager. When you call the IWMDMStorageControl3::Insert3 method, you may receive the following error message:

0x80070057 - One or more arguments are invalid (E_INVALIDARG)



CAUSE
This problem is caused by a bug in the device API set that causes the device to return an error when you try to transfer content.



WORKAROUND
To work around this problem, modify the WMDMApp sample application in the Microsoft Windows Media Format 9.5 Software Development Kit (SDK) to successfully transfer content. To do this, follow these steps:
 * 1) In the CDevFiles::SendFilesToDevice function, create an IWMDMMetaData object by calling the IWMDMStorage3::CreateEmptyMetadataObject method.
 * 2) Pass the IWMDMMetaData object as the pMetaData parameter to the IWMDMStorageControl3::Insert3 method without modifying the object. Do not add any properties to it.

Note Passing NULL to the Insert3 method will not work.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Additional query words: Callisto WMDM Janus WMDRM

Keywords: kbbug KB893027

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.