Re: [GD-General] Windows Media Player
Brought to you by:
vexxed72
From: Mike W. <mi...@ge...> - 2003-12-17 22:50:30
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 there is a windowsmedia programming list available from discuss.microsoft.com that has WiMP guru's on it. might suggest you try there mike w www.gekidodesigns.com scoubidou944 wrote: | hi, | | writing an application for multimedia presentation, I must (too long to | explain why ;p) use Windows Media Player 9 (not Media Classic Player) to | play video files. | But I have one problem : getting play list. | | First method : | Get HWND of WMPlayer | Use Spy++ Visual Tool to get HWND so we have : | WMP | WMPAppHost "WMPAppHost" | WMPPlaylist "" | ATL:SysListView32 "Current Playlist" | SysHeader32 | Using FindWindowEx() I get an HWD on 'ATL:SysListView32' | hCurrentWnd = // Windows Media Player handke | hWndAppHost = FindWindowEx (hCurrentWnd, NULL, "WMPAppHost", NULL); | hWndPlayList = FindWindowEx (hWndAppHost, NULL, "WMPPlaylist", | NULL); | hCurrentList = FindWindowEx (hWndPlayList, NULL, | "ATL:SysListView32", NULL); | But using : | u32ItemCount = ListView_GetItemCount (hCurrentList); | return always 0 :( | | Does ListView_GetItemCount() limited to Current process ? or does it | work only on standard object but non ATL ? | | Second Method : | Getting system file access coming from WMP to get file added but a bit | wild isn't it LOL ? | | Thirs method : | Rerieve WMP file history.... not a good way too. | | Havin' an idea ? | | Thx | | Vincent. | | | ------------------------------------------------------- | This SF.net email is sponsored by: IBM Linux Tutorials. | Become an expert in LINUX or just sharpen your skills. Sign up for IBM's | Free Linux Tutorials. Learn everything from the bash shell to sys admin. | Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click | _______________________________________________ | Gamedevlists-general mailing list | Gam...@li... | https://lists.sourceforge.net/lists/listinfo/gamedevlists-general | Archives: | http://sourceforge.net/mailarchive/forum.php?forum_id=557 | | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows 2000) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9/6r/ayxbsNU2vhwRAkPXAJ0emxlD0ZJred1cIhal2JNPtE0RKwCgr9So nPCQU7eBrbSjBoTiiZNvXLg= =/oRn -----END PGP SIGNATURE----- |