2
0

WinDevice.h 710 B

12345678910111213141516171819202122232425
  1. #ifndef WINDEVICE_H
  2. #define WINDEVICE_H
  3. #include <types.h>
  4. #include <windows.h>
  5. #define INSTANCEID_PREFIX_CHAR TEXT('@') // character used to prefix instance ID's
  6. #define CLASS_PREFIX_CHAR TEXT('=') // character used to prefix class name
  7. #define WILD_CHAR TEXT('*') // wild character
  8. #define QUOTE_PREFIX_CHAR TEXT('\'') // prefix character to ignore wild characters
  9. #define SPLIT_COMMAND_SEP TEXT(":=") // whole word, indicates end of id's
  10. int WinDevice_Enable(int argc,TCHAR* argv[]);
  11. int WinDevice_Disable(int argc,TCHAR* argv[]);
  12. //
  13. // exit codes
  14. //
  15. #define EXIT_OK (0)
  16. #define EXIT_REBOOT (1)
  17. #define EXIT_FAIL (2)
  18. #define EXIT_USAGE (3)
  19. #endif //WINDEVICE_H_