Would http://msdn.microsoft.com/en-us/library/kxydatf9.aspx work for you?