Just use MM apis. 15 minutes to do it (or 2 by copying SDK samples..)