|
Posted by poco2 on December 18, 2008, 4:57 am
Please log in for more thread options
Hi, all.
I just try to build up an APP with VC++.
This APP moves on Windows Mobile 6 and controls preinstalled Windows Media
Player 10 Mobile.
And this APP needs 2 functions at any cost.
1)The function to "get" current position of video(.wmv) as time.
2)The function to "set" current position of video(.wmv) as time.
I tried to find function from MSDN, but I can not do it. I accept an
alternatives(ex. use Direct Show etc..).
ESP I have not mastered the usage of Windows Media Player 10 SDK, if 2
functions is included in WMP10SDK, please teach me how to use WMP10SDK.
[Something to do]
Above-described 1) and 2).
Concretely speaking, I need functions as "controls object" written in MSDN
in VC++ code.
a)Player.controls.currentPosition
http://msdn.microsoft.com/en-us/library/bb262198(VS.85).aspx
b)Player.controls.currentPositionString
http://msdn.microsoft.com/en-us/library/bb262199(VS.85).aspx
[Something I tried]
To substantialize 2), I set starttime-tag in metafile(asx) like below. But
video started from the head.
ex)
show/hide quoted text
<ASX version="3.0">
<Entry>
<StartTime Value = "0:30.0" />
<ref HREF="test.wmv"/>
</Entry>
</ASX>
[Target]
Windows Mobile 6.1 Professional
(preinstalled) Windows Media Player 10 Mobile
[Development environment]
Windows XP
[Installed software]
Visual Studio 2008 Professional Edition
Windows Mobile 6 Professional SDK
Windows Mobile 6 SDK Refresh
Windows Mobile 6 Localized Emulator Images
Windows Media Player 10 SDK <--- How to use this?
[Development language]
VC++
[Content]
Windows Media Video(.wmv)
Thank you for your kindness and support.
|
<Entry>
<StartTime Value = "0:30.0" />
<ref HREF="test.wmv"/>
</Entry>
</ASX>