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

@markbenvenuto @corymintz
Wouldn't it be better for directoryName to be a string instead of uint16, and let this wrapper do the UTF8 -> UTF16.