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.

129 lines
4.8 KiB

  1. /*++
  2. Copyright (c) 1991 - 2001 Microsoft Corporation
  3. Module Name:
  4. ### ### #### ##### ## ## #### ##### ##
  5. ## # ### ## # ## ## ### ### ## ## ## ##
  6. ### ## ## ## ## ## ######## ## ## ## ##
  7. ### ## ## ## ## ## # ### ## ## ## ## ##
  8. ### ####### ## ## ## # # ## ## ## ## ##
  9. # ## ## ## ## # ## ## # ## ## ## ## ## ##
  10. ### ## ## #### ##### # ## ## #### ##### #####
  11. Abstract:
  12. This module contains all the IDL code for the
  13. server appliance COM interfaces.
  14. Author:
  15. Wesley Witt (wesw) 1-Oct-2001
  16. Environment:
  17. User mode only.
  18. Notes:
  19. --*/
  20. import "oaidl.idl";
  21. import "ocidl.idl";
  22. [
  23. object,
  24. uuid(38362A9B-B73B-46D2-BB7A-51A50AC6C571),
  25. dual,
  26. helpstring("ISaNvram Interface"),
  27. pointer_default(unique)
  28. ]
  29. interface ISaNvram : IDispatch
  30. {
  31. [propget, id(1), helpstring("property InterfaceVersion")] HRESULT InterfaceVersion([out, retval] long *pVal);
  32. [propget, id(2), helpstring("property BootCounter")] HRESULT BootCounter([in] long Number, [out, retval] long *pVal);
  33. [propput, id(2), helpstring("property BootCounter")] HRESULT BootCounter([in] long Number, [in] long newVal);
  34. [propget, id(4), helpstring("property Size")] HRESULT Size([out, retval] long *pVal);
  35. [propget, id(5), helpstring("property DataSlot")] HRESULT DataSlot([in] long Number, [out, retval] long *pVal);
  36. [propput, id(5), helpstring("property DataSlot")] HRESULT DataSlot([in] long Number, [in] long newVal);
  37. [propget, id(6), helpstring("property DeviceId")] HRESULT DeviceId([in] long Number, [out, retval] long *pVal);
  38. [propput, id(6), helpstring("property DeviceId")] HRESULT DeviceId([in] long Number, [in] long newVal);
  39. };
  40. [
  41. object,
  42. uuid(17797AF6-E4AA-46EC-B9C5-C5B391FE1921),
  43. dual,
  44. helpstring("ISaDisplay Interface"),
  45. pointer_default(unique)
  46. ]
  47. interface ISaDisplay : IDispatch
  48. {
  49. [propget, id(1), helpstring("property InterfaceVersion")] HRESULT InterfaceVersion([out, retval] long *pVal);
  50. [propget, id(2), helpstring("property DisplayType")] HRESULT DisplayType([out, retval] long *pVal);
  51. [propget, id(3), helpstring("property CharacterSet")] HRESULT CharacterSet([out, retval] long *pVal);
  52. [propget, id(4), helpstring("property DisplayHeight")] HRESULT DisplayHeight([out, retval] long *pVal);
  53. [propget, id(5), helpstring("property DisplayWidth")] HRESULT DisplayWidth([out, retval] long *pVal);
  54. [id(6), helpstring("method ShowMessage")] HRESULT ShowMessage(long MsgCode, long Width, long Height, unsigned char *Bits);
  55. [id(7), helpstring("method ShowMessageFromFile")] HRESULT ShowMessageFromFile(long MsgCode,BSTR BitmapFileName);
  56. [id(8), helpstring("method ClearDisplay")] HRESULT ClearDisplay();
  57. [id(9), helpstring("method StoreBitmap")] HRESULT StoreBitmap(long MessageId,long Width,long Height,unsigned char *Bits);
  58. [id(10), helpstring("method Lock")] HRESULT Lock();
  59. [id(11), helpstring("method UnLock")] HRESULT UnLock();
  60. [id(12), helpstring("method ReloadRegistryBitmaps")] HRESULT ReloadRegistryBitmaps();
  61. [id(13), helpstring("method ShowRegistryBitmap")] HRESULT ShowRegistryBitmap(long MessageId);
  62. };
  63. [
  64. object,
  65. uuid(A6B88613-2668-44EF-A418-109B062301E4),
  66. dual,
  67. helpstring("ISaKeypad Interface"),
  68. pointer_default(unique)
  69. ]
  70. interface ISaKeypad : IDispatch
  71. {
  72. typedef enum _SAKEY
  73. {
  74. SAKEY_UP = 1,
  75. SAKEY_DOWN,
  76. SAKEY_LEFT,
  77. SAKEY_RIGHT,
  78. SAKEY_ESCAPE,
  79. SAKEY_RETURN
  80. } SAKEY;
  81. [propget, id(1), helpstring("property InterfaceVersion")] HRESULT InterfaceVersion([out, retval] long *pVal);
  82. [propget, id(2), helpstring("property Key")] HRESULT Key([out, retval] SAKEY *pVal);
  83. };
  84. [
  85. uuid(8A7A3655-2F52-4D78-9C6E-2BC98F822EAB),
  86. version(1.0),
  87. helpstring("SaCom 1.0 Type Library")
  88. ]
  89. library SACOMLib
  90. {
  91. importlib("stdole32.tlb");
  92. importlib("stdole2.tlb");
  93. [
  94. uuid(1CB8F970-7742-4B1C-8037-66D0CEA2AB57),
  95. helpstring("SaNvram Class")
  96. ]
  97. coclass SaNvram
  98. {
  99. [default] interface ISaNvram;
  100. };
  101. [
  102. uuid(750CE1C2-4BE7-44D7-97BD-164F6CF0D373),
  103. helpstring("SaDisplay Class")
  104. ]
  105. coclass SaDisplay
  106. {
  107. [default] interface ISaDisplay;
  108. };
  109. [
  110. uuid(59BAE4E1-3604-489A-A601-AC9558A5173D),
  111. helpstring("SaKeypad Class")
  112. ]
  113. coclass SaKeypad
  114. {
  115. [default] interface ISaKeypad;
  116. };
  117. };