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.

124 lines
3.9 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. #if 0
  24. void
  25. UpdateSendProgress(
  26. [in] handle_t RpcBinding,
  27. [in] COOKIE Cookie,
  28. [in, string] wchar_t CurrentFile[],
  29. [in] __int64 BytesInTransfer,
  30. [in] __int64 BytesTransferred,
  31. [out] error_status_t * pStatus
  32. );
  33. void
  34. OneSendFileFailed(
  35. [in] handle_t RpcBinding,
  36. [in] COOKIE Cookie,
  37. [in, string] wchar_t FileName[],
  38. [in] error_status_t ErrorCode,
  39. [in] enum FAILURE_LOCATION Location,
  40. [out] error_status_t * pStatus
  41. );
  42. void
  43. SendComplete(
  44. [in] handle_t RpcBinding,
  45. [in] COOKIE Cookie,
  46. [in] __int64 BytesTransferred,
  47. [out] error_status_t * pStatus
  48. );
  49. //
  50. // The next three functions relate to received files.
  51. //
  52. //
  53. // A new connection has been made to this machine.
  54. //
  55. error_status_t
  56. ReceiveInProgress(
  57. [in] handle_t RpcBinding,
  58. [in, string] wchar_t MachineName[],
  59. [out] COOKIE * pCookie,
  60. [in] boolean fSuppressRecvConf
  61. );
  62. //
  63. // A new file or directory is being sent; ask for confirmation.
  64. //
  65. error_status_t
  66. GetPermission(
  67. [in] handle_t RpcBinding,
  68. [in] COOKIE Cookie,
  69. [in, string] wchar_t FileName[],
  70. [in] boolean fDirectory
  71. );
  72. //
  73. // The connection is closed.
  74. //
  75. error_status_t
  76. ReceiveFinished(
  77. [in] handle_t RpcBinding,
  78. [in] COOKIE Cookie,
  79. [in] unsigned long Status
  80. );
  81. //
  82. // Sends a list of all visible devices.
  83. //
  84. void
  85. DeviceInRange(
  86. [in] handle_t RpcBinding,
  87. [in] POBEX_DEVICE_LIST device,
  88. [out] error_status_t * pStatus
  89. );
  90. //
  91. // No devices are visible.
  92. //
  93. void
  94. NoDeviceInRange(
  95. [in] handle_t RpcBinding,
  96. [out] error_status_t * pStatus
  97. );
  98. error_status_t
  99. ShutdownUi(
  100. [in] handle_t RpcBinding
  101. );
  102. error_status_t
  103. ShutdownRequested(
  104. [in] handle_t RpcBinding,
  105. [out] boolean * pAnswer
  106. );
  107. #endif
  108. }