I am writing a windows WPF desktop application in C# 2010 that will be calling a windows api. The user will enter some information, hit the submit button, and the windows api will be called.
My question is would you show me code on how to call the windows api, tell the windows api what you are looking for, and return any optional values obtained from the windows api?