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.

64 lines
1.6 KiB

  1. // MSSANic.idl : IDL source for MSSANic.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (MSSANic.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(F073520E-123D-4181-96DE-55F545E26C1E),
  10. dual,
  11. helpstring("IMediaState Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface IMediaState : IDispatch
  15. {
  16. [id(1), helpstring("method IsConnected")]
  17. HRESULT IsConnected(BSTR bstrGUID, [out, retval] VARIANT_BOOL *pbRet);
  18. };
  19. [
  20. object,
  21. uuid(3B8B189A-9E7C-4581-A641-A6197C5AFE44),
  22. dual,
  23. helpstring("INicName Interface"),
  24. pointer_default(unique)
  25. ]
  26. interface INicName : IDispatch
  27. {
  28. [id(1), helpstring("method Get User Friendly Name")] HRESULT Get([in] BSTR bstrPnpDeviceID, [out,retval] BSTR* pbstrFriendlyName);
  29. [id(2), helpstring("method Set")] HRESULT Set([in] BSTR PnpDeviceID, BSTR bstrName);
  30. };
  31. [
  32. uuid(A5E433E0-ACD5-4254-86AD-77415968F9D1),
  33. version(1.0),
  34. helpstring("MSSANic 1.0 Type Library")
  35. ]
  36. library MSSANICLib
  37. {
  38. importlib("stdole32.tlb");
  39. importlib("stdole2.tlb");
  40. [
  41. uuid(6E6188A2-AAFC-4024-9EEC-484B35B4230B),
  42. helpstring("NicName Class")
  43. ]
  44. coclass NicName
  45. {
  46. [default] interface INicName;
  47. };
  48. [
  49. uuid(E1C7C840-B951-4403-BD7C-5E80A855255B),
  50. helpstring("MediaState Class")
  51. ]
  52. coclass MediaState
  53. {
  54. interface IMediaState;
  55. };
  56. };