Click here to get back home

critical.How to get position of video from WMP10 with APP made by

 HomeNewsGroups | Search

microsoft.public.smartphone.developer - Developing software for MS Smartphone? This is your group! 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
critical.How to get position of video from WMP10 with APP made by poco2 12-18-2008
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

[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.

Similar ThreadsPosted
Customized video renderer to rotate the video 90 degrees July 8, 2007, 1:08 pm
scriptCommand with WMP10 March 13, 2006, 9:08 am
can not play .asf with WMP10 on window mobile 5 December 6, 2005, 2:42 pm
How to play a-law/u-law file in WinMobile 6.1 and WMP10.3? December 1, 2008, 9:32 pm
smartphone + Win Srv 2003 + WMP10 + AS = No device has been detect April 5, 2006, 5:07 am
DMO found by WMP10 on laptop but not smartphone emulator (wm6 skd) April 25, 2007, 1:14 am
Get GPS position March 26, 2006, 5:43 pm
Scroll position in dialog August 4, 2005, 1:47 pm
Cursor Position in Textbox September 19, 2005, 9:22 am
GetAsyncKeyState and stylus tap position October 14, 2008, 10:42 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy