WinDevice.h 967 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. This software is subject to the license described in the License.txt file
  3. included with this software distribution. You may not use this file except
  4. in compliance with this license.
  5. Copyright (c) Dynastream Innovations Inc. 2016
  6. All rights reserved.
  7. */
  8. #ifndef WINDEVICE_H
  9. #define WINDEVICE_H
  10. #include <types.h>
  11. #include <windows.h>
  12. #define INSTANCEID_PREFIX_CHAR TEXT('@') // character used to prefix instance ID's
  13. #define CLASS_PREFIX_CHAR TEXT('=') // character used to prefix class name
  14. #define WILD_CHAR TEXT('*') // wild character
  15. #define QUOTE_PREFIX_CHAR TEXT('\'') // prefix character to ignore wild characters
  16. #define SPLIT_COMMAND_SEP TEXT(":=") // whole word, indicates end of id's
  17. int WinDevice_Enable(int argc,TCHAR* argv[]);
  18. int WinDevice_Disable(int argc,TCHAR* argv[]);
  19. //
  20. // exit codes
  21. //
  22. #define EXIT_OK (0)
  23. #define EXIT_REBOOT (1)
  24. #define EXIT_FAIL (2)
  25. #define EXIT_USAGE (3)
  26. #endif //WINDEVICE_H_