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.

69 lines
1.1 KiB

  1. #ifndef __IRCOMM_TDI__
  2. #define __IRCOMM_TDI__
  3. #include <af_irda.h>
  4. #include <irdatdi.h>
  5. NTSTATUS
  6. IrdaDiscoverDevices(
  7. PDEVICELIST pDevList,
  8. PULONG pDevListLen
  9. );
  10. NTSTATUS
  11. IrdaIASStringQuery(
  12. ULONG DeviceID,
  13. PSTR ClassName,
  14. PSTR AttributeName,
  15. PWSTR *ReturnString
  16. );
  17. NTSTATUS
  18. IrdaIASIntegerQuery(
  19. ULONG DeviceID,
  20. PSTR ClassName,
  21. PSTR AttributeName,
  22. LONG *ReturnValue
  23. );
  24. NTSTATUS
  25. IrdaIASStringSet(
  26. HANDLE AddressHandle,
  27. PSTR ClassName,
  28. PSTR AttributeName,
  29. PSTR StringToSet
  30. );
  31. NTSTATUS
  32. IrdaIASOctetSet(
  33. PFILE_OBJECT FileObject,
  34. PSTR ClassName,
  35. PSTR AttributeName,
  36. PUCHAR Value,
  37. ULONG ValueLength
  38. );
  39. VOID
  40. IrdaLazyDiscoverDevices(
  41. HANDLE ControlHandle,
  42. HANDLE Event,
  43. PIO_STATUS_BLOCK Iosb,
  44. PDEVICELIST pDevList,
  45. ULONG DevListLen
  46. );
  47. NTSTATUS
  48. IrdaOpenControlChannel(
  49. HANDLE *ControlHandle
  50. );
  51. #endif