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.

83 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. faxcli.idl
  5. Abstract:
  6. Contains the remoted fax service apis.
  7. Author:
  8. Wesley Witt (wesw) 15-Nov-1996
  9. Environment:
  10. User-mode - Win32 - MIDL
  11. --*/
  12. //
  13. // Interface Attributes
  14. //
  15. [
  16. uuid(6099fc12-3eff-11d0-abd0-00c04fd91a4e),
  17. version(3.0),
  18. pointer_default(unique)
  19. ]
  20. //
  21. // Interface Keyword
  22. //
  23. interface faxclient
  24. //
  25. // Interface Body
  26. //
  27. {
  28. import "imports.idl"; // import all the include files
  29. #include "FaxRpcLimit.h"
  30. //
  31. // Context handles
  32. //
  33. typedef [context_handle] HANDLE RPC_FAX_HANDLE;
  34. typedef [ref] RPC_FAX_HANDLE *PRPC_FAX_HANDLE;
  35. //
  36. // functions
  37. //
  38. error_status_t
  39. FAX_OpenConnection(
  40. [in] handle_t hBinding,
  41. [in] ULONG64 Context,
  42. [out] PRPC_FAX_HANDLE FaxHandle
  43. );
  44. error_status_t
  45. FAX_ClientEventQueue(
  46. [in] RPC_FAX_HANDLE FaxPortHandle,
  47. [in] FAX_EVENT FaxEvent
  48. );
  49. error_status_t
  50. FAX_CloseConnection(
  51. [in,out] PRPC_FAX_HANDLE FaxHandle
  52. );
  53. error_status_t
  54. FAX_ClientEventQueueEx(
  55. [in, ref] RPC_FAX_HANDLE hClientContext,
  56. [in, ref, size_is(dwDataSize)] const LPBYTE lpbData,
  57. [in, range(0,RPC_COPY_BUFFER_SIZE)] DWORD dwDataSize
  58. );
  59. }