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.

80 lines
1.8 KiB

  1. /*****************************************************************************
  2. *
  3. * Copyright (c) 1995 Microsoft Corporation
  4. *
  5. * File: irlmp.h
  6. *
  7. * Description: IRLMP Protocol and control block definitions
  8. *
  9. * Author: mbert
  10. *
  11. * Date: 4/15/95
  12. *
  13. */
  14. #define IRLMP_MAX_USER_DATA_LEN 53
  15. // IrLMP Entry Points
  16. VOID
  17. IrlmpInitialize();
  18. VOID
  19. IrlmpOpenLink(
  20. OUT PNTSTATUS Status,
  21. IN PIRDA_LINK_CB pIrdaLinkCb,
  22. IN UCHAR *pDeviceName,
  23. IN int DeviceNameLen,
  24. IN UCHAR CharSet);
  25. VOID
  26. IrlmpCloseLink(
  27. IN PIRDA_LINK_CB pIrdaLinkCb);
  28. UINT
  29. IrlmpUp(
  30. PIRDA_LINK_CB pIrdaLinkCb, PIRDA_MSG pIMsg);
  31. UINT
  32. IrlmpDown(
  33. PVOID IrlmpContext, PIRDA_MSG pIrdaMsg);
  34. VOID
  35. IrlmpDeleteInstance(
  36. PVOID Context);
  37. VOID
  38. IrlmpGetPnpContext(
  39. PVOID IrlmpContext,
  40. PVOID *pPnpContext);
  41. #if DBG
  42. void IRLMP_PrintState();
  43. #endif
  44. // IAS
  45. #define IAS_ASCII_CHAR_SET 0
  46. // IAS Attribute value types
  47. #define IAS_ATTRIB_VAL_MISSING 0
  48. #define IAS_ATTRIB_VAL_INTEGER 1
  49. #define IAS_ATTRIB_VAL_BINARY 2
  50. #define IAS_ATTRIB_VAL_STRING 3
  51. // IAS Operation codes
  52. #define IAS_OPCODE_GET_VALUE_BY_CLASS 4 // The only one I do
  53. extern const CHAR IasClassName_Device[];
  54. extern const CHAR IasAttribName_DeviceName[];
  55. extern const CHAR IasAttribName_IrLMPSupport[];
  56. extern const CHAR IasAttribName_TTPLsapSel[];
  57. extern const CHAR IasAttribName_IrLMPLsapSel[];
  58. extern const CHAR IasAttribName_IrLMPLsapSel2[];
  59. extern const UCHAR IasClassNameLen_Device;
  60. extern const UCHAR IasAttribNameLen_DeviceName;
  61. extern const UCHAR IasAttribNameLen_IRLMPSupport;
  62. extern const UCHAR IasAttribNameLen_TTPLsapSel;
  63. extern const UCHAR IasAttribNameLen_IrLMPLsapSel;