Add project files
Add FFI definitions for service functions
Use more explicit pointer decl
Fix RegisterServiceCtrlHandler def
Use RegisterServiceCtrlHandlerEx to enable extended control codes
Add some class-ish stuff