cmdSend.cpp 229 B

123456789101112
  1. #include "Win32.h"
  2. #include "ID.h"
  3. #include "Function.h"
  4. //Send
  5. bool SendCommand(const char* command)
  6. {
  7. DWORD written;
  8. if (WriteFile(UIw_key, command, strlen(command), &written, NULL) != 0)
  9. return true;
  10. else return false;
  11. }