Source code of Windows XP (NT5)
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.

123 lines
3.8 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: irrecv.idl
  8. //
  9. //--------------------------------------------------------------------------
  10. [
  11. uuid(0c821d64-a3fc-11d1-bb7a-0080c75e4ec1),
  12. version(1.0),
  13. endpoint("ncalrpc:[Infrared Transfer Status]")
  14. ]
  15. interface IrNotifications
  16. {
  17. import "irtypes.idl";
  18. void PopupUI ([in] handle_t Binding);
  19. void InitiateFileTransfer ([in] handle_t Binding,
  20. [in] unsigned long lSize,
  21. [in, size_is(lSize)] wchar_t lpszFilesList[*]);
  22. void DisplaySettings([in] handle_t Binding);
  23. void
  24. UpdateSendProgress(
  25. [in] handle_t RpcBinding,
  26. [in] COOKIE Cookie,
  27. [in, string] wchar_t CurrentFile[],
  28. [in] __int64 BytesInTransfer,
  29. [in] __int64 BytesTransferred,
  30. [out] error_status_t * pStatus
  31. );
  32. void
  33. OneSendFileFailed(
  34. [in] handle_t RpcBinding,
  35. [in] COOKIE Cookie,
  36. [in, string] wchar_t FileName[],
  37. [in] error_status_t ErrorCode,
  38. [in] enum FAILURE_LOCATION Location,
  39. [out] error_status_t * pStatus
  40. );
  41. void
  42. SendComplete(
  43. [in] handle_t RpcBinding,
  44. [in] COOKIE Cookie,
  45. [in] __int64 BytesTransferred,
  46. [out] error_status_t * pStatus
  47. );
  48. //
  49. // The next three functions relate to received files.
  50. //
  51. //
  52. // A new connection has been made to this machine.
  53. //
  54. error_status_t
  55. ReceiveInProgress(
  56. [in] handle_t RpcBinding,
  57. [in, string] wchar_t MachineName[],
  58. [out] COOKIE * pCookie,
  59. [in] boolean fSuppressRecvConf
  60. );
  61. //
  62. // A new file or directory is being sent; ask for confirmation.
  63. //
  64. error_status_t
  65. GetPermission(
  66. [in] handle_t RpcBinding,
  67. [in] COOKIE Cookie,
  68. [in, string] wchar_t FileName[],
  69. [in] boolean fDirectory
  70. );
  71. //
  72. // The connection is closed.
  73. //
  74. error_status_t
  75. ReceiveFinished(
  76. [in] handle_t RpcBinding,
  77. [in] COOKIE Cookie,
  78. [in] unsigned long Status
  79. );
  80. //
  81. // Sends a list of all visible devices.
  82. //
  83. void
  84. DeviceInRange(
  85. [in] handle_t RpcBinding,
  86. [in] POBEX_DEVICE_LIST device,
  87. [out] error_status_t * pStatus
  88. );
  89. //
  90. // No devices are visible.
  91. //
  92. void
  93. NoDeviceInRange(
  94. [in] handle_t RpcBinding,
  95. [out] error_status_t * pStatus
  96. );
  97. error_status_t
  98. ShutdownUi(
  99. [in] handle_t RpcBinding
  100. );
  101. error_status_t
  102. ShutdownRequested(
  103. [in] handle_t RpcBinding,
  104. [out] boolean * pAnswer
  105. );
  106. }