Microsoft KB Archive/921142

= The MediaProperty(&quot;Duration&quot;) method always returns a value of 00:00:00 in the Windows XP Media Center Edition 2005 SDK =

Article ID: 921142

Article Last Modified on 11/22/2007

-

APPLIES TO


 * Microsoft Windows XP Media Center Edition 2005 Software Development Kit

-



SYMPTOMS
In the Microsoft Windows XP Media Center Edition 2005 SDK, when you use the Windows.external.MediaCenter.Experience.MediaProperty(&quot;Duration&quot;) method to retrieve the duration value of a video, the method always returns a value of 00:00:00.



WORKAROUND
To work around this problem, use a Microsoft Windows Media Player object to load a video and read the duration value.



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



MORE INFORMATION
For more information about the Windows XP Media Center Edition SDK, visit the following Microsoft Developer Network (MSDN Web site:

http://msdn2.microsoft.com/en-us/library/ms818424.aspx

Keywords: kbtshoot kbprb KB921142

-

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

© Microsoft Corporation. All rights reserved.