CM-1582 (Mark/Cory) Implement Win32 API bindings needed to support MMS Automation Agent

@markbenvenuto @corymintz