Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
894 B

  1. //--- options.h
  2. int SaveRegPath(PUNICODE_STRING RegistryPath);
  3. int MakeRegPath(CHAR *optionstr);
  4. int write_device_options(PSERIAL_DEVICE_EXTENSION ext);
  5. int read_device_options(PSERIAL_DEVICE_EXTENSION ext);
  6. int read_driver_options(void);
  7. int SetOptionStr(char *option_str);
  8. #if 0
  9. int reg_get_str(IN WCHAR *RegPath,
  10. int reg_location,
  11. const char *str_id,
  12. char *dest,
  13. int max_dest_len);
  14. int reg_get_dword(IN WCHAR *RegPath,
  15. const char *str_id,
  16. ULONG *dest);
  17. int reg_set_dword(IN WCHAR *RegPath,
  18. const char *str_id,
  19. ULONG val);
  20. #endif
  21. int write_port_name(PSERIAL_DEVICE_EXTENSION dev_ext, int port_index);
  22. int write_dev_mac(PSERIAL_DEVICE_EXTENSION dev_ext);