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.

99 lines
3.4 KiB

  1. // LocalUIControls.idl : IDL source for LocalUIControls.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (LocalUIControls.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. #include "olectl.h"
  8. [
  9. object,
  10. uuid(C24458A9-509E-4131-A93E-C78BFF54BD2B),
  11. dual,
  12. helpstring("IStaticIp Interface"),
  13. pointer_default(unique)
  14. ]
  15. interface IStaticIp : IDispatch
  16. {
  17. [propget, id(1), helpstring("property IpAddress")] HRESULT IpAddress([out, retval] BSTR *pVal);
  18. [propput, id(1), helpstring("property IpAddress")] HRESULT IpAddress([in] BSTR newVal);
  19. [propget, id(2), helpstring("property SubnetMask")] HRESULT SubnetMask([out, retval] BSTR *pVal);
  20. [propput, id(2), helpstring("property SubnetMask")] HRESULT SubnetMask([in] BSTR newVal);
  21. [propget, id(3), helpstring("property Gateway")] HRESULT Gateway([out, retval] BSTR *pVal);
  22. [propput, id(3), helpstring("property Gateway")] HRESULT Gateway([in] BSTR newVal);
  23. };
  24. [
  25. uuid(02EFCFF0-2896-40CE-8D27-7ECD0609A31B),
  26. version(1.0),
  27. helpstring("LocalUIControls 1.0 Type Library")
  28. ]
  29. library LOCALUICONTROLSLib
  30. {
  31. importlib("stdole32.tlb");
  32. importlib("stdole2.tlb");
  33. [
  34. uuid(F48D0E7B-721F-4996-A9F6-F5FB87C318CA),
  35. helpstring("_IStaticIpEvents Interface")
  36. ]
  37. dispinterface _IStaticIpEvents
  38. {
  39. properties:
  40. methods:
  41. [id(1), helpstring("method DataEntered")] HRESULT StaticIpEntered();
  42. [id(2), helpstring("method OperationCanceled")] HRESULT OperationCanceled();
  43. [id(3), helpstring("method KeyPressed")] HRESULT KeyPressed();
  44. };
  45. [
  46. object,
  47. uuid(8B797D5B-1D11-424C-8413-1627113DF116),
  48. dual,
  49. helpstring("Server Appliance local display data entry interface"),
  50. pointer_default(unique)
  51. ]
  52. interface ISADataEntryCtrl : IDispatch
  53. {
  54. [propget, id(1), helpstring("property TextValue")] HRESULT TextValue([out, retval] BSTR *pVal);
  55. [propput, id(1), helpstring("property TextValue")] HRESULT TextValue([in] BSTR newVal);
  56. [propput, id(2), helpstring("property MaxSize")] HRESULT MaxSize([in] LONG lMaxSize);
  57. [propput, id(3), helpstring("property TextCharSet")] HRESULT TextCharSet([in] BSTR newVal);
  58. };
  59. [
  60. uuid(D8A69FA0-25FE-4B9C-BBCE-81D6EBE2FDC0),
  61. helpstring("StaticIp Class")
  62. ]
  63. coclass StaticIp
  64. {
  65. [default] interface IStaticIp;
  66. [default, source] dispinterface _IStaticIpEvents;
  67. };
  68. [
  69. uuid(1E37389E-0B60-49F6-A057-B69EAB39074B),
  70. helpstring("Server Appliance local display data entry control events")
  71. ]
  72. dispinterface _ISADataEntryCtrlEvents
  73. {
  74. properties:
  75. methods:
  76. [id(1), helpstring("method HostNameEntered")] HRESULT DataEntered();
  77. [id(2), helpstring("method OperationCanceled")] HRESULT OperationCanceled();
  78. [id(3), helpstring("method KeyPressed")] HRESULT KeyPressed();
  79. };
  80. [
  81. uuid(538D1B58-8D5A-47C5-9867-4B6230A94EAC),
  82. helpstring("Server Appliance local display data entry control")
  83. ]
  84. coclass SADataEntryCtrl
  85. {
  86. [default] interface ISADataEntryCtrl;
  87. [default, source] dispinterface _ISADataEntryCtrlEvents;
  88. };
  89. };