Windows Portable Devices

The Windows Portable Devices API is to talking to media devices what DirectX is to gaming. It is an attempt to make a secure, standard method of communicating with devices ranging from Media Players to cameras to temperature sensors...

There are things I like about it and things I really, really don't like. For an MP3 player manufacturer one big reason to use this API instead of making the device work like a USB drive is DRM.

But, it looks at this point like DRM (Digital Rights Management) for music files is a dying beast. The recording industry seems to be accepting the fact that their customers HATE DRM. There are now several ways to LEGALLY purchase songs in unencumbered MP3 format. Arguably the only people inconvenienced by DRM were the legal users. The pirates never had a problem circumventing the so called protection.

What does this mean to you (and me)? Well, when I work with my son's Transcend player (which could never play DRM music), it looks just like a USB drive. Easy, peasy. When I work with my Creative Zen or my daughter's Creative Zen V, I have to use the Windows Portable Devices API.

The lack of a .Net version of the API is a bummer, but not insurmountable. You get to take a fun and exciting trip through the world of ILDASM and ILASM, then you get to read the C++ examples and do a bit of mental gymnastics, but you can get there.

So far I have gotten as far as enumerating the connected devices, getting their friendly names, descriptions and manufacturer info. Next I'll be diving into how to get the file info and move files around. Not as straightforward as working with the file system, but always remember, "No matter where you go, there you are."

Here are some links that are helpful with working with the Windows Portable Devices API.

API documentation in MSDN

http://msdn.microsoft.com/en-us/library/ms740786(VS.85).aspx

Windows Portable Device Team Blog

http://blogs.msdn.com/wpdblog/

The team put up an example of using the API to talk to a temperature sensor using c#:

http://blogs.msdn.com/wpdblog/archive/2007/11/26/creating-a-temperature-sensor-gadget-for-windows-sidebar.aspx

Darene Lewis' Blog

http://blogs.msdn.com/dimeby8/default.aspx

I'm not really sure exactly who Drene is, but I'm guessing Microsoft Employee based on the blog address...

In any event there is much good info here regarding the Windows Portable Device API and how to use it with .Net.

Posted on 5/24/2008 2:25:21 PM by jeffa

Permalink | Comments (10) | Post RSSRSS comment feed |

Categories: .Net

Tags:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Comments

December 18. 2008 00:14

thanks for sharing your info..i really like this blog

Busby SEO Test us

December 27. 2008 02:53

good news for new devices

Busby SEO Test Pinay us

March 7. 2009 07:04

i want to try it, can help me

Urban Net Zone us

March 16. 2009 00:16

Thank you for the work you have put into your nice blog. We will bookmark to your blog because it is very informational. We love the site and will come back to see your new posts.

Stop Foreclosure us

March 16. 2009 00:17

I am not new to blogging and really appreciate your blog. There is much original content that peaks my interest. I am going to bookmark your site and keep checking you out.

Loan Modification us

March 16. 2009 00:18

Awesome site. Very informative and nice design. I really like your posts and your style.

Foreclosure Help us

March 16. 2009 00:18

Very creative, one of the nicer sites I have seen today. Keep up the great work.

Short Sale Training us

March 19. 2009 06:19

I really like the work that has gone into making the site. I will be sure to tell all all of my blog buddies about your site

Loan Modification us

April 22. 2009 01:22

Windows Portable Devices?great idea just keep it up.i like your article

My Little Blog us

May 27. 2009 07:48

I was just thinking about Windows Portable Devices and you've really helped out. Thanks!

Loan Modification Service us

Add comment


 

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

July 4. 2009 01:04